diff --git a/stage0/src/Lean/Elab/PreDefinition/Eqns.lean b/stage0/src/Lean/Elab/PreDefinition/Eqns.lean index b25b2655ab..541ce766fb 100644 --- a/stage0/src/Lean/Elab/PreDefinition/Eqns.lean +++ b/stage0/src/Lean/Elab/PreDefinition/Eqns.lean @@ -101,7 +101,7 @@ private def lhsDependsOn (type : Expr) (fvarId : FVarId) : MetaM Bool := /-- Try to close goal using `rfl` with smart unfolding turned off. -/ def tryURefl (mvarId : MVarId) : MetaM Bool := withOptions (smartUnfolding.set · false) do - try applyRefl mvarId; return true catch _ => return false + try mvarId.applyRefl; return true catch _ => return false /-- Eliminate `namedPatterns` from equation, and trivial hypotheses. @@ -300,7 +300,7 @@ def whnfReducibleLHS? (mvarId : MVarId) : MetaM (Option MVarId) := mvarId.withCo return none def tryContradiction (mvarId : MVarId) : MetaM Bool := do - try contradiction mvarId { genDiseq := true }; return true catch _ => return false + mvarId.contradictionCore { genDiseq := true } structure UnfoldEqnExtState where map : Std.PHashMap Name Name := {} diff --git a/stage0/src/Lean/Elab/PreDefinition/WF/PackDomain.lean b/stage0/src/Lean/Elab/PreDefinition/WF/PackDomain.lean index 9ae2fe5e7e..4289ffb3d4 100644 --- a/stage0/src/Lean/Elab/PreDefinition/WF/PackDomain.lean +++ b/stage0/src/Lean/Elab/PreDefinition/WF/PackDomain.lean @@ -45,7 +45,7 @@ private partial def mkPSigmaCasesOn (y : Expr) (codomain : Expr) (xs : Array Exp if ys.size < xs.size - 1 then let xDecl ← xs[ys.size]!.fvarId!.getDecl let xDecl' ← xs[ys.size + 1]!.fvarId!.getDecl - let #[s] ← cases mvarId y #[{ varNames := [xDecl.userName, xDecl'.userName] }] | unreachable! + let #[s] ← mvarId.cases y #[{ varNames := [xDecl.userName, xDecl'.userName] }] | unreachable! go s.mvarId s.fields[1]!.fvarId! (ys.push s.fields[0]!) else let ys := ys.push (mkFVar y) diff --git a/stage0/src/Lean/Elab/PreDefinition/WF/PackMutual.lean b/stage0/src/Lean/Elab/PreDefinition/WF/PackMutual.lean index 723b885e89..d748b70fbb 100644 --- a/stage0/src/Lean/Elab/PreDefinition/WF/PackMutual.lean +++ b/stage0/src/Lean/Elab/PreDefinition/WF/PackMutual.lean @@ -81,7 +81,7 @@ private partial def packValues (x : Expr) (codomain : Expr) (preDefValues : Arra #[{ varNames := [varNames[i]!] }, { varNames := [varNames[i+1]!] }] else #[{ varNames := [varNames[i]!] }] - let #[s₁, s₂] ← cases mvarId x (givenNames := givenNames) | unreachable! + let #[s₁, s₂] ← mvarId.cases x (givenNames := givenNames) | unreachable! s₁.mvarId.assign (mkApp preDefValues[i]! s₁.fields[0]!).headBeta go s₂.mvarId s₂.fields[0]!.fvarId! (i+1) else diff --git a/stage0/src/Lean/Elab/PreDefinition/WF/Rel.lean b/stage0/src/Lean/Elab/PreDefinition/WF/Rel.lean index a8e41a55b7..d998d6b398 100644 --- a/stage0/src/Lean/Elab/PreDefinition/WF/Rel.lean +++ b/stage0/src/Lean/Elab/PreDefinition/WF/Rel.lean @@ -23,7 +23,7 @@ private def getRefFromElems (elems : Array TerminationByElement) : Syntax := Id. private partial def unpackMutual (preDefs : Array PreDefinition) (mvarId : MVarId) (fvarId : FVarId) : TermElabM (Array (FVarId × MVarId)) := do let rec go (i : Nat) (mvarId : MVarId) (fvarId : FVarId) (result : Array (FVarId × MVarId)) : TermElabM (Array (FVarId × MVarId)) := do if i < preDefs.size - 1 then - let #[s₁, s₂] ← cases mvarId fvarId | unreachable! + let #[s₁, s₂] ← mvarId.cases fvarId | unreachable! go (i + 1) s₂.mvarId s₂.fields[0]!.fvarId! (result.push (s₁.fields[0]!.fvarId!, s₁.mvarId)) else return result.push (fvarId, mvarId) @@ -47,7 +47,7 @@ private partial def unpackUnary (preDef : PreDefinition) (prefixSize : Nat) (mva let rec go (i : Nat) (mvarId : MVarId) (fvarId : FVarId) : TermElabM MVarId := do trace[Elab.definition.wf] "i: {i}, varNames: {varNames}, goal: {mvarId}" if i < numPackedArgs - 1 then - let #[s] ← cases mvarId fvarId #[{ varNames := [varNames[prefixSize + i]!] }] | unreachable! + let #[s] ← mvarId.cases fvarId #[{ varNames := [varNames[prefixSize + i]!] }] | unreachable! go (i+1) s.mvarId s.fields[1]!.fvarId! else mvarId.rename fvarId varNames.back diff --git a/stage0/src/Lean/Elab/Syntax.lean b/stage0/src/Lean/Elab/Syntax.lean index bf5c64a6e8..520a659c7f 100644 --- a/stage0/src/Lean/Elab/Syntax.lean +++ b/stage0/src/Lean/Elab/Syntax.lean @@ -53,6 +53,12 @@ def ensureUnaryOutput (x : Term × Nat) : Term := @[inline] private def withNestedParser (x : ToParserDescr) : ToParserDescr := do withReader (fun ctx => { ctx with leftRec := false, first := false }) x +/-- (Try to) a term info for the category `catName` at `ref`. -/ +def addCategoryInfo (ref : Syntax) (catName : Name) : TermElabM Unit := do + let declName := ``Lean.Parser.Category ++ catName + if (← getEnv).contains declName then + addTermInfo' ref (Lean.mkConst declName) + def checkLeftRec (stx : Syntax) : ToParserDescrM Bool := do let ctx ← read unless ctx.first && stx.getKind == ``Lean.Parser.Syntax.cat do @@ -60,6 +66,7 @@ def checkLeftRec (stx : Syntax) : ToParserDescrM Bool := do let cat := stx[0].getId.eraseMacroScopes unless cat == ctx.catName do return false + addCategoryInfo stx cat let prec? ← liftMacroM <| expandOptPrecedence stx[1] unless ctx.leftRec do throwErrorAt stx[3] "invalid occurrence of '{cat}', parser algorithm does not allow this form of left recursion" @@ -87,12 +94,6 @@ def resolveParserName [Monad m] [MonadInfoTree m] [MonadResolveName m] [MonadEnv | _ => none catch _ => return [] -/-- (Try to) a term info for the category `catName` at `ref`. -/ -def addCategoryInfo (ref : Syntax) (catName : Name) : TermElabM Unit := do - let declName := ``Lean.Parser.Category ++ catName - if (← getEnv).contains declName then - addTermInfo' ref (Lean.mkConst declName) - open TSyntax.Compat in /-- Given a `stx` of category `syntax`, return a `(newStx, lhsPrec?)`, diff --git a/stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean b/stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean index 32be40204f..46f7556064 100644 --- a/stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean +++ b/stage0/src/Lean/Elab/Tactic/BuiltinTactic.lean @@ -166,10 +166,11 @@ partial def evalChoiceAux (tactics : Array Syntax) (i : Nat) : TacticM Unit := @[builtinTactic unknown] def evalUnknown : Tactic := fun stx => do addCompletionInfo <| CompletionInfo.tactic stx (← getGoals) -@[builtinTactic failIfSuccess] def evalFailIfSuccess : Tactic := fun stx => do - let tactic := stx[1] - if (← try evalTactic tactic; pure true catch _ => pure false) then - throwError "tactic succeeded" +@[builtinTactic failIfSuccess] def evalFailIfSuccess : Tactic := fun stx => + Term.withoutErrToSorry <| withoutRecover do + let tactic := stx[1] + if (← try evalTactic tactic; pure true catch _ => pure false) then + throwError "tactic succeeded" @[builtinTactic traceState] def evalTraceState : Tactic := fun _ => do let gs ← getUnsolvedGoals @@ -184,7 +185,7 @@ partial def evalChoiceAux (tactics : Array Syntax) (i : Nat) : TacticM Unit := liftMetaTactic fun mvarId => do mvarId.assumption; pure [] @[builtinTactic Lean.Parser.Tactic.contradiction] def evalContradiction : Tactic := fun _ => - liftMetaTactic fun mvarId => do Meta.contradiction mvarId; pure [] + liftMetaTactic fun mvarId => do mvarId.contradiction; pure [] @[builtinTactic Lean.Parser.Tactic.refl] def evalRefl : Tactic := fun _ => liftMetaTactic fun mvarId => do mvarId.refl; pure [] diff --git a/stage0/src/Lean/Elab/Tactic/Conv/Basic.lean b/stage0/src/Lean/Elab/Tactic/Conv/Basic.lean index 5f5eacf5eb..dbd39fbced 100644 --- a/stage0/src/Lean/Elab/Tactic/Conv/Basic.lean +++ b/stage0/src/Lean/Elab/Tactic/Conv/Basic.lean @@ -38,7 +38,7 @@ def convert (lhs : Expr) (conv : TacticM Unit) : TacticM (Expr × Expr) := do conv for mvarId in (← getGoals) do try - applyRefl mvarId + mvarId.applyRefl catch _ => pure () pruneSolvedGoals diff --git a/stage0/src/Lean/Elab/Tactic/Conv/Congr.lean b/stage0/src/Lean/Elab/Tactic/Conv/Congr.lean index a716224bb7..2ecb68e12d 100644 --- a/stage0/src/Lean/Elab/Tactic/Conv/Congr.lean +++ b/stage0/src/Lean/Elab/Tactic/Conv/Congr.lean @@ -80,7 +80,7 @@ private def selectIdx (tacticName : String) (mvarIds : List (Option MVarId)) (i | none => pure () | some mvarId => if i != j then - applyRefl mvarId + mvarId.applyRefl match mvarIds.get ⟨i, h⟩ with | none => throwError "cannot select argument with forward dependencies" | some mvarId => replaceMainGoal [mvarId] diff --git a/stage0/src/Lean/Elab/Tactic/Conv/Pattern.lean b/stage0/src/Lean/Elab/Tactic/Conv/Pattern.lean index e117813956..f54b1dd8bd 100644 --- a/stage0/src/Lean/Elab/Tactic/Conv/Pattern.lean +++ b/stage0/src/Lean/Elab/Tactic/Conv/Pattern.lean @@ -67,7 +67,7 @@ private def findPattern? (pattern : AbstractMVarsResult) (e : Expr) : MetaM (Opt | none => throwError "'pattern' conv tactic failed, pattern was not found{indentExpr patternA.expr}" | some (mvarId', result) => updateLhs result.expr (← result.getProof) - applyRefl (← getMainGoal) + (← getMainGoal).applyRefl replaceMainGoal [mvarId'] | _ => throwUnsupportedSyntax diff --git a/stage0/src/Lean/Elab/Tactic/Generalize.lean b/stage0/src/Lean/Elab/Tactic/Generalize.lean index 9d8bb924a1..1d96484a1f 100644 --- a/stage0/src/Lean/Elab/Tactic/Generalize.lean +++ b/stage0/src/Lean/Elab/Tactic/Generalize.lean @@ -18,7 +18,7 @@ open Meta let expr ← elabTerm arg[1] none return { hName?, expr, xName? := arg[3].getId : GeneralizeArg } liftMetaTactic fun mvarId => do - let (_, mvarId) ← generalize mvarId args + let (_, mvarId) ← mvarId.generalize args return [mvarId] end Lean.Elab.Tactic diff --git a/stage0/src/Lean/Elab/Tactic/Induction.lean b/stage0/src/Lean/Elab/Tactic/Induction.lean index 160d140771..249c338cdf 100644 --- a/stage0/src/Lean/Elab/Tactic/Induction.lean +++ b/stage0/src/Lean/Elab/Tactic/Induction.lean @@ -492,7 +492,7 @@ private def shouldGeneralizeTarget (e : Expr) : MetaM Bool := do private def generalizeTargets (exprs : Array Expr) : TacticM (Array Expr) := do if (← withMainContext <| exprs.anyM (shouldGeneralizeTarget ·)) then liftMetaTacticAux fun mvarId => do - let (fvarIds, mvarId) ← generalize mvarId (exprs.map fun expr => { expr }) + let (fvarIds, mvarId) ← mvarId.generalize (exprs.map fun expr => { expr }) return (fvarIds.map mkFVar, [mvarId]) else return exprs @@ -543,7 +543,7 @@ def elabCasesTargets (targets : Array Syntax) : TacticM (Array Expr) := if (← withMainContext <| args.anyM fun arg => shouldGeneralizeTarget arg.expr <||> pure arg.hName?.isSome) then liftMetaTacticAux fun mvarId => do let argsToGeneralize ← args.filterM fun arg => shouldGeneralizeTarget arg.expr <||> pure arg.hName?.isSome - let (fvarIdsNew, mvarId) ← generalize mvarId argsToGeneralize + let (fvarIdsNew, mvarId) ← mvarId.generalize argsToGeneralize let mut result := #[] let mut j := 0 for arg in args do diff --git a/stage0/src/Lean/Elab/Tactic/Match.lean b/stage0/src/Lean/Elab/Tactic/Match.lean index e415a973e9..7157741023 100644 --- a/stage0/src/Lean/Elab/Tactic/Match.lean +++ b/stage0/src/Lean/Elab/Tactic/Match.lean @@ -51,9 +51,9 @@ private def mkAuxiliaryMatchTerm (parentTag : Name) (matchTac : Syntax) : MacroM @[builtinTactic Lean.Parser.Tactic.match] def evalMatch : Tactic := fun stx => do let tag ← getMainTag - let (matchTerm, cases) ← liftMacroM <| mkAuxiliaryMatchTerm tag stx + let (matchTerm, casesStx) ← liftMacroM <| mkAuxiliaryMatchTerm tag stx let refineMatchTerm ← `(tactic| refine no_implicit_lambda% $matchTerm) - let stxNew := mkNullNode (#[refineMatchTerm] ++ cases) + let stxNew := mkNullNode (#[refineMatchTerm] ++ casesStx) withMacroExpansion stx stxNew <| evalTactic stxNew end Lean.Elab.Tactic diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index a9d398e536..92251ed478 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -425,12 +425,15 @@ def withAuxDecl (shortDeclName : Name) (type : Expr) (declName : Name) (k : Expr withReader (fun ctx => { ctx with auxDeclToFullName := ctx.auxDeclToFullName.insert x.fvarId! declName }) do k x +def withoutErrToSorryImp (x : TermElabM α) : TermElabM α := + withReader (fun ctx => { ctx with errToSorry := false }) x + /-- Execute `x` without converting errors (i.e., exceptions) to `sorry` applications. Recall that when `errToSorry = true`, the method `elabTerm` catches exceptions and convert them into `sorry` applications. -/ -def withoutErrToSorry (x : TermElabM α) : TermElabM α := - withReader (fun ctx => { ctx with errToSorry := false }) x +def withoutErrToSorry [MonadFunctorT TermElabM m] : m α → m α := + monadMap (m := TermElabM) withoutErrToSorryImp /-- For testing `TermElabM` methods. The #eval command will sign the error. -/ def throwErrorIfErrors : TermElabM Unit := do diff --git a/stage0/src/Lean/Meta/Basic.lean b/stage0/src/Lean/Meta/Basic.lean index 5e757f045c..2adf577b84 100644 --- a/stage0/src/Lean/Meta/Basic.lean +++ b/stage0/src/Lean/Meta/Basic.lean @@ -235,8 +235,7 @@ structure Cache where synthInstance : SynthInstanceCache := {} whnfDefault : WhnfCache := {} -- cache for closed terms and `TransparencyMode.default` whnfAll : WhnfCache := {} -- cache for closed terms and `TransparencyMode.all` - defEqDefault : DefEqCache := {} - defEqAll : DefEqCache := {} + defEq : DefEqCache := {} deriving Inhabited /-- @@ -335,8 +334,7 @@ protected def saveState : MetaM SavedState := /-- Restore backtrackable parts of the state. -/ def SavedState.restore (b : SavedState) : MetaM Unit := do Core.restore b.core - setMCtx b.meta.mctx -- Recall that `setMCtx` propagate `usedAssignment` - modify fun s => { s with zetaFVarIds := b.meta.zetaFVarIds, postponed := b.meta.postponed } + modify fun s => { s with mctx := b.meta.mctx, zetaFVarIds := b.meta.zetaFVarIds, postponed := b.meta.postponed } instance : MonadBacktrack SavedState MetaM where saveState := Meta.saveState @@ -383,7 +381,10 @@ variable [MonadControlT MetaM n] [Monad n] modify fun ⟨mctx, cache, zetaFVarIds, postponed⟩ => ⟨mctx, f cache, zetaFVarIds, postponed⟩ @[inline] def modifyInferTypeCache (f : InferTypeCache → InferTypeCache) : MetaM Unit := - modifyCache fun ⟨ic, c1, c2, c3, c4, c5, c6⟩ => ⟨f ic, c1, c2, c3, c4, c5, c6⟩ + modifyCache fun ⟨ic, c1, c2, c3, c4, c5⟩ => ⟨f ic, c1, c2, c3, c4, c5⟩ + +@[inline] def modifyDefEqCache (f : DefEqCache → DefEqCache) : MetaM Unit := + modifyCache fun ⟨c1, c2, c3, c4, c5, defeq⟩ => ⟨c1, c2, c3, c4, c5, f defeq⟩ def getLocalInstances : MetaM LocalInstances := return (← read).localInstances @@ -1326,8 +1327,7 @@ private def withNewMCtxDepthImp (x : MetaM α) : MetaM α := do try x finally - setMCtx saved.mctx -- Recall that `setMCtx` propagate `usedAssignment` - modify fun s => { s with postponed := saved.postponed } + modify fun s => { s with mctx := saved.mctx, postponed := saved.postponed } /-- Save cache and `MetavarContext`, bump the `MetavarContext` depth, execute `x`, @@ -1625,6 +1625,16 @@ partial def processPostponed (mayPostpone : Bool := true) (exceptionOnFailure := -/ @[specialize] def checkpointDefEq (x : MetaM Bool) (mayPostpone : Bool := true) : MetaM Bool := do let s ← saveState + /- + It is not safe to use the `isDefEq` cache between different `isDefEq` calls. + Reason: different configuration settings, and result depends on the state of the `MetavarContext` + We have tried in the past to track when the result was independent of the `MetavarContext` state + but it was not effective. It is more important to cache aggressively inside of a single `isDefEq` + call because some of the heuristics create many similar subproblems. + See issue #1102 for an example that triggers an exponential blowup if we don't use this more + aggresive form of caching. + -/ + modifyDefEqCache fun _ => {} let postponed ← getResetPostponed try if (← x) then diff --git a/stage0/src/Lean/Meta/Check.lean b/stage0/src/Lean/Meta/Check.lean index df2f925819..47582e0850 100644 --- a/stage0/src/Lean/Meta/Check.lean +++ b/stage0/src/Lean/Meta/Check.lean @@ -183,10 +183,16 @@ where ensureType b check b +/-- +Throw an exception if `e` is not type correct. +-/ def check (e : Expr) : MetaM Unit := traceCtx `Meta.check do withTransparency TransparencyMode.all $ checkAux e +/-- +Return true if `e` is type correct. +-/ def isTypeCorrect (e : Expr) : MetaM Bool := do try check e diff --git a/stage0/src/Lean/Meta/ExprDefEq.lean b/stage0/src/Lean/Meta/ExprDefEq.lean index 546dec1ad8..0cae504bf7 100644 --- a/stage0/src/Lean/Meta/ExprDefEq.lean +++ b/stage0/src/Lean/Meta/ExprDefEq.lean @@ -1689,47 +1689,16 @@ private def isExprDefEqExpensive (t : Expr) (s : Expr) : MetaM Bool := do if (← isDefEqUnitLike t s) then return true else isDefEqOnFailure t s -/-- - We only check DefEq cache if - - using default and all transparency modes, and - - smart unfolding is enabled, and - - proof irrelevance, eta for structures, and `zetaNonDep` are enabled --/ -private def skipDefEqCache : MetaM Bool := do - match (← getConfig).transparency with - | .reducible => return true - | .instances => return true - | _ => - unless smartUnfolding.get (← getOptions) do - return true - let cfg ← getConfig - return !(cfg.proofIrrelevance && cfg.etaStruct matches .all && cfg.zetaNonDep) - private def mkCacheKey (t : Expr) (s : Expr) : Expr × Expr := if Expr.quickLt t s then (t, s) else (s, t) private def getCachedResult (key : Expr × Expr) : MetaM LBool := do - let cache ← match (← getConfig).transparency with - | TransparencyMode.default => pure (← get).cache.defEqDefault - | TransparencyMode.all => pure (← get).cache.defEqAll - | _ => return .undef - match cache.find? key with + match (← get).cache.defEq.find? key with | some val => return val.toLBool | none => return .undef private def cacheResult (key : Expr × Expr) (result : Bool) : MetaM Unit := do - match (← getConfig).transparency with - | TransparencyMode.default => modify fun s => { s with cache.defEqDefault := s.cache.defEqDefault.insert key result } - | TransparencyMode.all => modify fun s => { s with cache.defEqAll := s.cache.defEqAll.insert key result } - | _ => pure () - -private abbrev withResetUsedAssignment (k : MetaM α) : MetaM α := do - let usedAssignment := (← getMCtx).usedAssignment - modifyMCtx fun mctx => { mctx with usedAssignment := false } - try - k - finally - modifyMCtx fun mctx => { mctx with usedAssignment := usedAssignment || mctx.usedAssignment } + modifyDefEqCache fun c => c.insert key result @[export lean_is_expr_def_eq] partial def isExprDefEqAuxImpl (t : Expr) (s : Expr) : MetaM Bool := withIncRecDepth do @@ -1743,8 +1712,6 @@ partial def isExprDefEqAuxImpl (t : Expr) (s : Expr) : MetaM Bool := withIncRecD let s' ← whnfCore s (deltaAtProj := false) if t != t' || s != s' then isExprDefEqAuxImpl t' s' - else if (← skipDefEqCache) then - isExprDefEqExpensive t s else /- TODO: check whether the following `instantiateMVar`s are expensive or not in practice. @@ -1766,14 +1733,11 @@ partial def isExprDefEqAuxImpl (t : Expr) (s : Expr) : MetaM Bool := withIncRecD trace[Meta.isDefEq.cache] "cache hit 'false' for {t} =?= {s}" return false | .undef => - withResetUsedAssignment do - let result ← isExprDefEqExpensive t s - if numPostponed == (← getNumPostponed) && !(← getMCtx).usedAssignment then - -- It is only safe to cache the result if the mvars assignments have not been accessed/used, - -- and universe level variables have not been postponed. - trace[Meta.isDefEq.cache] "cache {result} for {t} =?= {s}" - cacheResult k result - return result + let result ← isExprDefEqExpensive t s + if numPostponed == (← getNumPostponed) then + trace[Meta.isDefEq.cache] "cache {result} for {t} =?= {s}" + cacheResult k result + return result builtin_initialize registerTraceClass `Meta.isDefEq diff --git a/stage0/src/Lean/Meta/Injective.lean b/stage0/src/Lean/Meta/Injective.lean index 23a77e096c..cd254812bc 100644 --- a/stage0/src/Lean/Meta/Injective.lean +++ b/stage0/src/Lean/Meta/Injective.lean @@ -123,9 +123,9 @@ private def mkInjectiveEqTheoremValue (ctorName : Name) (targetType : Expr) : Me let (h, mvarId₁) ← mvarId₁.intro1 let (_, mvarId₂) ← mvarId₂.intro1 solveEqOfCtorEq ctorName mvarId₁ h - let mvarId₂ ← casesAnd mvarId₂ - if let some mvarId₂ ← substEqs mvarId₂ then - applyRefl mvarId₂ (injTheoremFailureHeader ctorName) + let mvarId₂ ← mvarId₂.casesAnd + if let some mvarId₂ ← mvarId₂.substEqs then + mvarId₂.applyRefl (injTheoremFailureHeader ctorName) mkLambdaFVars xs mvar private def mkInjectiveEqTheorem (ctorVal : ConstructorVal) : MetaM Unit := do diff --git a/stage0/src/Lean/Meta/KAbstract.lean b/stage0/src/Lean/Meta/KAbstract.lean index 206183517f..aed457f853 100644 --- a/stage0/src/Lean/Meta/KAbstract.lean +++ b/stage0/src/Lean/Meta/KAbstract.lean @@ -9,7 +9,12 @@ import Lean.Meta.Basic namespace Lean.Meta -def kabstract (e : Expr) (p : Expr) (occs : Occurrences := Occurrences.all) : MetaM Expr := do +/-- +Abstract occurrences of `p` in `e`. We detect subterms equivalent to `p` using key-matching. +That is, only perform `isDefEq` tests when the head symbol of substerm is equivalent to head symbol of `p`. +By default, all occurrences are abstracted, but this behavior can be controlled using the `occs` parameter. +-/ +def kabstract (e : Expr) (p : Expr) (occs : Occurrences := .all) : MetaM Expr := do let e ← instantiateMVars e if p.isFVar && occs == Occurrences.all then return e.abstract #[p] -- Easy case @@ -19,13 +24,13 @@ def kabstract (e : Expr) (p : Expr) (occs : Occurrences := Occurrences.all) : Me let rec visit (e : Expr) (offset : Nat) : StateRefT Nat MetaM Expr := do let visitChildren : Unit → StateRefT Nat MetaM Expr := fun _ => do match e with - | Expr.app f a => return e.updateApp! (← visit f offset) (← visit a offset) - | Expr.mdata _ b => return e.updateMData! (← visit b offset) - | Expr.proj _ _ b => return e.updateProj! (← visit b offset) - | Expr.letE _ t v b _ => return e.updateLet! (← visit t offset) (← visit v offset) (← visit b (offset+1)) - | Expr.lam _ d b _ => return e.updateLambdaE! (← visit d offset) (← visit b (offset+1)) - | Expr.forallE _ d b _ => return e.updateForallE! (← visit d offset) (← visit b (offset+1)) - | e => return e + | .app f a => return e.updateApp! (← visit f offset) (← visit a offset) + | .mdata _ b => return e.updateMData! (← visit b offset) + | .proj _ _ b => return e.updateProj! (← visit b offset) + | .letE _ t v b _ => return e.updateLet! (← visit t offset) (← visit v offset) (← visit b (offset+1)) + | .lam _ d b _ => return e.updateLambdaE! (← visit d offset) (← visit b (offset+1)) + | .forallE _ d b _ => return e.updateForallE! (← visit d offset) (← visit b (offset+1)) + | e => return e if e.hasLooseBVars then visitChildren () else if e.toHeadIndex != pHeadIdx || e.headNumArgs != pNumArgs then diff --git a/stage0/src/Lean/Meta/KExprMap.lean b/stage0/src/Lean/Meta/KExprMap.lean index 770e723274..7c37abd29b 100644 --- a/stage0/src/Lean/Meta/KExprMap.lean +++ b/stage0/src/Lean/Meta/KExprMap.lean @@ -18,6 +18,7 @@ structure KExprMap (α : Type) where map : Std.PHashMap HeadIndex (Std.AssocList Expr α) := {} deriving Inhabited +/-- Return `some v` if there is an entry `e ↦ v` in `m`. -/ def KExprMap.find? (m : KExprMap α) (e : Expr) : MetaM (Option α) := do match m.map.find? e.toHeadIndex with | none => return none @@ -36,6 +37,7 @@ private def updateList (ps : Std.AssocList Expr α) (e : Expr) (v : α) : MetaM else return Std.AssocList.cons e' v' (← updateList ps e v) +/-- Insert `e ↦ v` into `m` -/ def KExprMap.insert (m : KExprMap α) (e : Expr) (v : α) : MetaM (KExprMap α) := let k := e.toHeadIndex match m.map.find? k with diff --git a/stage0/src/Lean/Meta/Match/Match.lean b/stage0/src/Lean/Meta/Match/Match.lean index f069c892bd..a511a6541c 100644 --- a/stage0/src/Lean/Meta/Match/Match.lean +++ b/stage0/src/Lean/Meta/Match/Match.lean @@ -171,7 +171,7 @@ private def processLeaf (p : Problem) : StateRefT State MetaM Unit := do match p.alts with | [] => /- TODO: allow users to configure which tactic is used to close leaves. -/ - unless (← contradictionCore p.mvarId {}) do + unless (← p.mvarId.contradictionCore {}) do trace[Meta.Match.match] "missing alternative" p.mvarId.admit modify fun s => { s with counterExamples := p.examples :: s.counterExamples } @@ -449,7 +449,7 @@ private def processConstructor (p : Problem) : MetaM (Array Problem) := do let subgoals? ← commitWhenSome? do let subgoals ← try - cases p.mvarId x.fvarId! + p.mvarId.cases x.fvarId! catch ex => if p.alts.isEmpty then /- If we have no alternatives and dependent pattern matching fails, then a "missing cases" error is bettern than a "stuck" error message. -/ diff --git a/stage0/src/Lean/Meta/Match/MatchEqs.lean b/stage0/src/Lean/Meta/Match/MatchEqs.lean index 4841c04bfe..c98dd73c51 100644 --- a/stage0/src/Lean/Meta/Match/MatchEqs.lean +++ b/stage0/src/Lean/Meta/Match/MatchEqs.lean @@ -20,7 +20,7 @@ partial def casesOnStuckLHS (mvarId : MVarId) : MetaM (Array MVarId) := do let target ← mvarId.getType if let some (_, lhs, _) ← matchEq? target then if let some fvarId ← findFVar? lhs then - return (← cases mvarId fvarId).map fun s => s.mvarId + return (← mvarId.cases fvarId).map fun s => s.mvarId throwError "'casesOnStuckLHS' failed" where findFVar? (e : Expr) : MetaM (Option FVarId) := do @@ -177,7 +177,7 @@ private def isDone : M Bool := /-- Customized `contradiction` tactic for `simpH?` -/ private def contradiction (mvarId : MVarId) : MetaM Bool := - contradictionCore mvarId { genDiseq := false, emptyType := false } + mvarId.contradictionCore { genDiseq := false, emptyType := false } /-- Auxiliary tactic that tries to replace as many variables as possible and then apply `contradiction`. @@ -300,9 +300,9 @@ where let mvarId' ← mvarId.modifyTargetEqLHS whnfCore let mvarId := mvarId' let subgoals ← - (do applyRefl mvarId; return #[]) + (do mvarId.applyRefl; return #[]) <|> - (do contradiction mvarId { genDiseq := true }; return #[]) + (do mvarId.contradiction { genDiseq := true }; return #[]) <|> (casesOnStuckLHS mvarId) <|> @@ -572,7 +572,7 @@ where | InjectionAnyResult.failed => let mvarId' ← substVars mvarId if mvarId' == mvarId then - if (← contradictionCore mvarId {}) then + if (← mvarId.contradictionCore {}) then return () throwError "failed to generate splitter for match auxiliary declaration '{matchDeclName}', unsolved subgoal:\n{MessageData.ofGoal mvarId}" else diff --git a/stage0/src/Lean/Meta/Tactic/AC/Main.lean b/stage0/src/Lean/Meta/Tactic/AC/Main.lean index 1cf47cea12..7bc1972097 100644 --- a/stage0/src/Lean/Meta/Tactic/AC/Main.lean +++ b/stage0/src/Lean/Meta/Tactic/AC/Main.lean @@ -147,7 +147,7 @@ def rewriteUnnormalized (mvarId : MVarId) : MetaM Unit := do let tgt ← mvarId.getType let res ← Simp.main tgt simpCtx (methods := { post }) let newGoal ← applySimpResultToTarget mvarId tgt res - applyRefl newGoal + newGoal.applyRefl where post (e : Expr) : SimpM Simp.Step := do let ctx ← read diff --git a/stage0/src/Lean/Meta/Tactic/Acyclic.lean b/stage0/src/Lean/Meta/Tactic/Acyclic.lean index b3ea587042..58de1b70ce 100644 --- a/stage0/src/Lean/Meta/Tactic/Acyclic.lean +++ b/stage0/src/Lean/Meta/Tactic/Acyclic.lean @@ -6,7 +6,8 @@ Authors: Leonardo de Moura import Lean.Meta.MatchUtil import Lean.Meta.Tactic.Simp.Main -namespace Lean.Meta +namespace Lean.MVarId +open Meta private def isTarget (lhs rhs : Expr) : MetaM Bool := do if !lhs.isFVar || !lhs.occurs rhs then @@ -52,4 +53,4 @@ where builtin_initialize registerTraceClass `Meta.Tactic.acyclic -end Lean.Meta +end Lean.MVarId diff --git a/stage0/src/Lean/Meta/Tactic/Apply.lean b/stage0/src/Lean/Meta/Tactic/Apply.lean index 96560c788d..e205ec00bc 100644 --- a/stage0/src/Lean/Meta/Tactic/Apply.lean +++ b/stage0/src/Lean/Meta/Tactic/Apply.lean @@ -154,12 +154,12 @@ abbrev _root_.Lean.MVarId.splitAnd (mvarId : MVarId) : MetaM (List MVarId) := def splitAnd (mvarId : MVarId) : MetaM (List MVarId) := mvarId.splitAnd -def applyRefl (mvarId : MVarId) (msg : MessageData := "refl failed") : MetaM Unit := +def _root_.Lean.MVarId.applyRefl (mvarId : MVarId) (msg : MessageData := "refl failed") : MetaM Unit := mvarId.withContext do let some [] ← observing? do mvarId.apply (mkConst ``Eq.refl [← mkFreshLevelMVar]) | throwTacticEx `refl mvarId msg -def exfalso (mvarId : MVarId) : MetaM MVarId := +def _root_.Lean.MVarId.exfalso (mvarId : MVarId) : MetaM MVarId := mvarId.withContext do mvarId.checkNotAssigned `exfalso let target ← instantiateMVars (← mvarId.getType) diff --git a/stage0/src/Lean/Meta/Tactic/Cases.lean b/stage0/src/Lean/Meta/Tactic/Cases.lean index f5cfc1e81e..cb26df8f10 100644 --- a/stage0/src/Lean/Meta/Tactic/Cases.lean +++ b/stage0/src/Lean/Meta/Tactic/Cases.lean @@ -204,7 +204,7 @@ partial def unifyEqs? (numEqs : Nat) (mvarId : MVarId) (subst : FVarSubst) (case return some (mvarId, subst) else let (eqFVarId, mvarId) ← mvarId.intro1 - if let some { mvarId, subst, numNewEqs } ← unifyEq? mvarId eqFVarId subst acyclic caseName? then + if let some { mvarId, subst, numNewEqs } ← unifyEq? mvarId eqFVarId subst MVarId.acyclic caseName? then unifyEqs? (numEqs - 1 + numNewEqs) mvarId subst caseName? else return none @@ -254,46 +254,67 @@ def cases (mvarId : MVarId) (majorFVarId : FVarId) (givenNames : Array AltVarNam end Cases +/-- +Apply `casesOn` using the free variable `majorFVarId` as the major premise (aka discriminant). +`giveNames` contains user-facing names for each alternative. +-/ +def _root_.Lean.MVarId.cases (mvarId : MVarId) (majorFVarId : FVarId) (givenNames : Array AltVarNames := #[]) : MetaM (Array CasesSubgoal) := + Cases.cases mvarId majorFVarId givenNames + +@[deprecated MVarId.cases] def cases (mvarId : MVarId) (majorFVarId : FVarId) (givenNames : Array AltVarNames := #[]) : MetaM (Array CasesSubgoal) := Cases.cases mvarId majorFVarId givenNames -def casesRec (mvarId : MVarId) (p : LocalDecl → MetaM Bool) : MetaM (List MVarId) := +/-- +Keep applying `cases` on any hypothesis that satisfies `p`. +-/ +def _root_.Lean.MVarId.casesRec (mvarId : MVarId) (p : LocalDecl → MetaM Bool) : MetaM (List MVarId) := saturate mvarId fun mvarId => mvarId.withContext do for localDecl in (← getLCtx) do if (← p localDecl) then let r? ← observing? do - let r ← cases mvarId localDecl.fvarId + let r ← mvarId.cases localDecl.fvarId return r.toList.map (·.mvarId) if r?.isSome then return r? return none -def casesAnd (mvarId : MVarId) : MetaM MVarId := do - let mvarIds ← casesRec mvarId fun localDecl => return (← instantiateMVars localDecl.type).isAppOfArity ``And 2 +/-- +Applies `cases` (recursively) to any hypothesis of the form `h : p ∧ q`. +-/ +def _root_.Lean.MVarId.casesAnd (mvarId : MVarId) : MetaM MVarId := do + let mvarIds ← mvarId.casesRec fun localDecl => return (← instantiateMVars localDecl.type).isAppOfArity ``And 2 exactlyOne mvarIds -def substEqs (mvarId : MVarId) : MetaM (Option MVarId) := do - let mvarIds ← casesRec mvarId fun localDecl => do +/-- +Applies `cases` to any hypothesis of the form `h : r = s`. +-/ +def _root_.Lean.MVarId.substEqs (mvarId : MVarId) : MetaM (Option MVarId) := do + let mvarIds ← mvarId.casesRec fun localDecl => do let type ← instantiateMVars localDecl.type return type.isEq || type.isHEq ensureAtMostOne mvarIds +/-- Auxiliary structure for storing `byCases` tactic result. -/ structure ByCasesSubgoal where mvarId : MVarId fvarId : FVarId -def byCases (mvarId : MVarId) (p : Expr) (hName : Name := `h) : MetaM (ByCasesSubgoal × ByCasesSubgoal) := do - let mvarId ← mvarId.assert `hByCases (mkOr p (mkNot p)) (mkEM p) - let (fvarId, mvarId) ← mvarId.intro1 - let #[s₁, s₂] ← cases mvarId fvarId #[{ varNames := [hName] }, { varNames := [hName] }] | - throwError "'byCases' tactic failed, unexpected number of subgoals" - return ((← toByCasesSubgoal s₁), (← toByCasesSubgoal s₂)) -where - toByCasesSubgoal (s : CasesSubgoal) : MetaM ByCasesSubgoal := do +private def toByCasesSubgoal (s : CasesSubgoal) : MetaM ByCasesSubgoal := do let #[Expr.fvar fvarId ..] ← pure s.fields | throwError "'byCases' tactic failed, unexpected new hypothesis" return { mvarId := s.mvarId, fvarId } +/-- +Split the goal in two subgoals: one containing the hypothesis `h : p` and another containing `h : ¬ p`. +-/ +def _root_.Lean.MVarId.byCases (mvarId : MVarId) (p : Expr) (hName : Name := `h) : MetaM (ByCasesSubgoal × ByCasesSubgoal) := do + let mvarId ← mvarId.assert `hByCases (mkOr p (mkNot p)) (mkEM p) + let (fvarId, mvarId) ← mvarId.intro1 + let #[s₁, s₂] ← mvarId.cases fvarId #[{ varNames := [hName] }, { varNames := [hName] }] | + throwError "'byCases' tactic failed, unexpected number of subgoals" + return ((← toByCasesSubgoal s₁), (← toByCasesSubgoal s₂)) + builtin_initialize registerTraceClass `Meta.Tactic.cases end Lean.Meta diff --git a/stage0/src/Lean/Meta/Tactic/Contradiction.lean b/stage0/src/Lean/Meta/Tactic/Contradiction.lean index 2740e6c7cb..cd01f8c991 100644 --- a/stage0/src/Lean/Meta/Tactic/Contradiction.lean +++ b/stage0/src/Lean/Meta/Tactic/Contradiction.lean @@ -57,7 +57,7 @@ partial def elim (mvarId : MVarId) (fvarId : FVarId) : M Bool := do modify (· - 1) -- We only consider inductives with no constructors and indexed families commitWhen do - let subgoals ← try cases mvarId fvarId catch ex => trace[Meta.Tactic.contradiction] "{ex.toMessageData}"; return false + let subgoals ← try mvarId.cases fvarId catch ex => trace[Meta.Tactic.contradiction] "{ex.toMessageData}"; return false trace[Meta.Tactic.contradiction] "elimEmptyInductive, number subgoals: {subgoals.size}" for subgoal in subgoals do -- If one of the fields is uninhabited, then we are done @@ -79,7 +79,7 @@ private def elimEmptyInductive (mvarId : MVarId) (fvarId : FVarId) (fuel : Nat) mvarId.withContext do if (← isElimEmptyInductiveCandidate fvarId) then commitWhen do - ElimEmptyInductive.elim (← exfalso mvarId) fvarId |>.run' fuel + ElimEmptyInductive.elim (← mvarId.exfalso) fvarId |>.run' fuel else return false @@ -145,7 +145,11 @@ private def processGenDiseq (mvarId : MVarId) (localDecl : LocalDecl) : MetaM Bo else return false -def contradictionCore (mvarId : MVarId) (config : Contradiction.Config) : MetaM Bool := do +/-- +Return `true` if goal `mvarId` has contradictory hypotheses. +See `MVarId.contradiction` for the list of tests performed by this method. +-/ +def _root_.Lean.MVarId.contradictionCore (mvarId : MVarId) (config : Contradiction.Config) : MetaM Bool := do mvarId.withContext do mvarId.checkNotAssigned `contradiction if (← nestedFalseElim mvarId) then @@ -206,10 +210,25 @@ def contradictionCore (mvarId : MVarId) (config : Contradiction.Config) : MetaM return true return false -def contradiction (mvarId : MVarId) (config : Contradiction.Config := {}) : MetaM Unit := - unless (← contradictionCore mvarId config) do +/-- +Try to close the goal using "contradictions" such as +- Contradictory hypotheses `h₁ : p` and `h₂ : ¬ p`. +- Contradictory disequality `h : x ≠ x`. +- Contradictory equality between different constructors, e.g., `h : List.nil = List.cons x xs`. +- Empty inductive types, e.g., `x : Fin 0`. +- Decidable propositions that evaluate to false, i.e., a hypothesis `h : p` s.t. `decide p` reduces to `false`. + This is only tried if `Config.useDecide = true`. + +Throw exception if goal failed to be closed. +-/ +def _root_.Lean.MVarId.contradiction (mvarId : MVarId) (config : Contradiction.Config := {}) : MetaM Unit := + unless (← mvarId.contradictionCore config) do throwTacticEx `contradiction mvarId "" +@[deprecated MVarId.contradiction] +def contradiction (mvarId : MVarId) (config : Contradiction.Config := {}) : MetaM Unit := + mvarId.contradiction config + builtin_initialize registerTraceClass `Meta.Tactic.contradiction end Lean.Meta diff --git a/stage0/src/Lean/Meta/Tactic/Generalize.lean b/stage0/src/Lean/Meta/Tactic/Generalize.lean index f293f3be63..2483524dc8 100644 --- a/stage0/src/Lean/Meta/Tactic/Generalize.lean +++ b/stage0/src/Lean/Meta/Tactic/Generalize.lean @@ -16,10 +16,11 @@ structure GeneralizeArg where hName? : Option Name := none deriving Inhabited -partial def generalize - (mvarId : MVarId) (args : Array GeneralizeArg) - -- (pred : (parent? : Option Expr) → (e : Expr) → MetaM Bool := fun _ _ => return true) - : MetaM (Array FVarId × MVarId) := +/-- +Telescopic `generalize` tactic. It can simultaneously generalize many terms. +It uses `kabstract` to occurrences of the terms that need to be generalized. +-/ +private partial def generalizeCore (mvarId : MVarId) (args : Array GeneralizeArg) : MetaM (Array FVarId × MVarId) := mvarId.withContext do mvarId.checkNotAssigned `generalize let tag ← mvarId.getTag @@ -67,4 +68,15 @@ partial def generalize mvarId.assign (mkAppN (mkAppN mvarNew es) rfls.toArray) mvarNew.mvarId!.introNP (args.size + rfls.length) +/-- +Telescopic `generalize` tactic. It can simultaneously generalize many terms. +It uses `kabstract` to occurrences of the terms that need to be generalized. +-/ +def _root_.Lean.MVarId.generalize (mvarId : MVarId) (args : Array GeneralizeArg) : MetaM (Array FVarId × MVarId) := + generalizeCore mvarId args + +@[deprecated MVarId.generalize] +def generalize (mvarId : MVarId) (args : Array GeneralizeArg) : MetaM (Array FVarId × MVarId) := + generalizeCore mvarId args + end Lean.Meta diff --git a/stage0/src/Lean/Meta/Tactic/SplitIf.lean b/stage0/src/Lean/Meta/Tactic/SplitIf.lean index d7dda76ed1..7e655355af 100644 --- a/stage0/src/Lean/Meta/Tactic/SplitIf.lean +++ b/stage0/src/Lean/Meta/Tactic/SplitIf.lean @@ -72,7 +72,7 @@ def splitIfAt? (mvarId : MVarId) (e : Expr) (hName? : Option Name) : MetaM (Opti | none => mkFreshUserName `h | some hName => pure hName trace[Meta.Tactic.splitIf] "splitting on {cond}" - return some (← byCases mvarId cond hName) + return some (← mvarId.byCases cond hName) else return none diff --git a/stage0/src/Lean/MetavarContext.lean b/stage0/src/Lean/MetavarContext.lean index e26a4e2ab0..ddc864afde 100644 --- a/stage0/src/Lean/MetavarContext.lean +++ b/stage0/src/Lean/MetavarContext.lean @@ -280,7 +280,6 @@ structure MetavarContext where lAssignment : PersistentHashMap LMVarId Level := {} eAssignment : PersistentHashMap MVarId Expr := {} dAssignment : PersistentHashMap MVarId DelayedMetavarAssignment := {} - usedAssignment : Bool := false class MonadMCtx (m : Type → Type) where getMCtx : m MetavarContext @@ -292,32 +291,20 @@ instance (m n) [MonadLift m n] [MonadMCtx m] : MonadMCtx n where getMCtx := liftM (getMCtx : m _) modifyMCtx := fun f => liftM (modifyMCtx f : m _) -def markUsedAssignment [MonadMCtx m] : m Unit := - modifyMCtx fun mctx => { mctx with usedAssignment := true } +abbrev setMCtx [MonadMCtx m] (mctx : MetavarContext) : m Unit := + modifyMCtx fun _ => mctx -abbrev setMCtx [MonadMCtx m] (mctx' : MetavarContext) : m Unit := - modifyMCtx fun mctx => { mctx' with usedAssignment := mctx'.usedAssignment || mctx.usedAssignment } - -abbrev getLevelMVarAssignment? [Monad m] [MonadMCtx m] (mvarId : LMVarId) : m (Option Level) := do - let result? := (← getMCtx).lAssignment.find? mvarId - if result?.isSome then - markUsedAssignment - return result? +abbrev getLevelMVarAssignment? [Monad m] [MonadMCtx m] (mvarId : LMVarId) : m (Option Level) := + return (← getMCtx).lAssignment.find? mvarId def MetavarContext.getExprAssignmentCore? (m : MetavarContext) (mvarId : MVarId) : Option Expr := m.eAssignment.find? mvarId -def getExprMVarAssignment? [Monad m] [MonadMCtx m] (mvarId : MVarId) : m (Option Expr) := do - let result? := (← getMCtx).getExprAssignmentCore? mvarId - if result?.isSome then - markUsedAssignment - return result? +def getExprMVarAssignment? [Monad m] [MonadMCtx m] (mvarId : MVarId) : m (Option Expr) := + return (← getMCtx).getExprAssignmentCore? mvarId -def getDelayedMVarAssignment? [Monad m] [MonadMCtx m] (mvarId : MVarId) : m (Option DelayedMetavarAssignment) := do - let result? := (← getMCtx).dAssignment.find? mvarId - if result?.isSome then - markUsedAssignment - return result? +def getDelayedMVarAssignment? [Monad m] [MonadMCtx m] (mvarId : MVarId) : m (Option DelayedMetavarAssignment) := + return (← getMCtx).dAssignment.find? mvarId /-- Given a sequence of delayed assignments ``` @@ -332,21 +319,18 @@ partial def getDelayedMVarRoot [Monad m] [MonadMCtx m] (mvarId : MVarId) : m MVa | some d => getDelayedMVarRoot d.mvarIdPending | none => return mvarId -def isLevelMVarAssigned [Monad m] [MonadMCtx m] (mvarId : LMVarId) : m Bool := do - markUsedAssignment +def isLevelMVarAssigned [Monad m] [MonadMCtx m] (mvarId : LMVarId) : m Bool := return (← getMCtx).lAssignment.contains mvarId /-- Return `true` if the give metavariable is already assigned. -/ -def _root_.Lean.MVarId.isAssigned [Monad m] [MonadMCtx m] (mvarId : MVarId) : m Bool := do - markUsedAssignment +def _root_.Lean.MVarId.isAssigned [Monad m] [MonadMCtx m] (mvarId : MVarId) : m Bool := return (← getMCtx).eAssignment.contains mvarId @[deprecated MVarId.isAssigned] def isExprMVarAssigned [Monad m] [MonadMCtx m] (mvarId : MVarId) : m Bool := do mvarId.isAssigned -def _root_.Lean.MVarId.isDelayedAssigned [Monad m] [MonadMCtx m] (mvarId : MVarId) : m Bool := do - markUsedAssignment +def _root_.Lean.MVarId.isDelayedAssigned [Monad m] [MonadMCtx m] (mvarId : MVarId) : m Bool := return (← getMCtx).dAssignment.contains mvarId @[deprecated MVarId.isDelayedAssigned] @@ -354,7 +338,6 @@ def isMVarDelayedAssigned [Monad m] [MonadMCtx m] (mvarId : MVarId) : m Bool := mvarId.isDelayedAssigned def isLevelMVarAssignable [Monad m] [MonadMCtx m] (mvarId : LMVarId) : m Bool := do - markUsedAssignment let mctx ← getMCtx match mctx.lDepth.find? mvarId with | some d => return d == mctx.depth @@ -366,7 +349,6 @@ def MetavarContext.getDecl (mctx : MetavarContext) (mvarId : MVarId) : MetavarDe | none => panic! "unknown metavariable" def _root_.Lean.MVarId.isAssignable [Monad m] [MonadMCtx m] (mvarId : MVarId) : m Bool := do - markUsedAssignment let mctx ← getMCtx let decl := mctx.getDecl mvarId return decl.depth == mctx.depth @@ -430,7 +412,7 @@ def hasAssignableMVar [Monad m] [MonadMCtx m] : Expr → m Bool This is a low-level API, and it is safer to use `isLevelDefEq (mkLevelMVar mvarId) u`. -/ def assignLevelMVar [MonadMCtx m] (mvarId : LMVarId) (val : Level) : m Unit := - modifyMCtx fun m => { m with lAssignment := m.lAssignment.insert mvarId val, usedAssignment := true } + modifyMCtx fun m => { m with lAssignment := m.lAssignment.insert mvarId val } /-- Add `mvarId := x` to the metavariable assignment. @@ -439,14 +421,14 @@ a cycle is being introduced, or whether the expression has the right type. This is a low-level API, and it is safer to use `isDefEq (mkMVar mvarId) x`. -/ def _root_.Lean.MVarId.assign [MonadMCtx m] (mvarId : MVarId) (val : Expr) : m Unit := - modifyMCtx fun m => { m with eAssignment := m.eAssignment.insert mvarId val, usedAssignment := true } + modifyMCtx fun m => { m with eAssignment := m.eAssignment.insert mvarId val } @[deprecated MVarId.assign] def assignExprMVar [MonadMCtx m] (mvarId : MVarId) (val : Expr) : m Unit := mvarId.assign val def assignDelayedMVar [MonadMCtx m] (mvarId : MVarId) (fvars : Array Expr) (mvarIdPending : MVarId) : m Unit := - modifyMCtx fun m => { m with dAssignment := m.dAssignment.insert mvarId { fvars, mvarIdPending }, usedAssignment := true } + modifyMCtx fun m => { m with dAssignment := m.dAssignment.insert mvarId { fvars, mvarIdPending } } /-- Notes on artificial eta-expanded terms due to metavariables. diff --git a/stage0/stdlib/Lean/Compiler/ExternAttr.c b/stage0/stdlib/Lean/Compiler/ExternAttr.c index b8121eab15..9aee2f4236 100644 --- a/stage0/stdlib/Lean/Compiler/ExternAttr.c +++ b/stage0/stdlib/Lean/Compiler/ExternAttr.c @@ -1999,23 +1999,21 @@ return x_3; static lean_object* _init_l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstArity___closed__13() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstArity___closed__10; x_3 = l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstArity___closed__11; x_4 = l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstArity___closed__12; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstArity___closed__14() { @@ -2104,14 +2102,13 @@ x_1 = l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstArity___closed_ x_2 = l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstArity___closed__16; x_3 = l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstArity___closed__17; x_4 = l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstArity___closed__20; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/CoreM.c b/stage0/stdlib/Lean/CoreM.c index 921ae2f9e8..b81aa33507 100644 --- a/stage0/stdlib/Lean/CoreM.c +++ b/stage0/stdlib/Lean/CoreM.c @@ -1543,23 +1543,21 @@ return x_3; static lean_object* _init_l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1___closed__1; x_3 = l_Lean_Core_State_infoState___default___closed__1; x_4 = l_Lean_Core_Cache_instLevelType___default___closed__3; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1___closed__3() { diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index d7898b0e65..116fd38e44 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -97,7 +97,6 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Elab LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__39(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__3___closed__2; lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLVal(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -355,6 +354,7 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__13(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_consume_type_annotations(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getBindingName(lean_object*); +lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__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*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__51___closed__3; @@ -415,7 +415,6 @@ lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processInstImplicitArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNamedPattern_declRange___closed__1; static lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -576,7 +575,6 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___clos LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult_hasLocalInstaceWithOutParams___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__8___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*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabIdent_declRange___closed__3; -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabProj___closed__3; lean_object* l_Lean_Expr_consumeMData(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_findMethod_x3f(lean_object*, lean_object*, lean_object*); @@ -712,7 +710,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs uint8_t l_Lean_Expr_hasMVar(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAppArgs___closed__18; -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__3; lean_object* l_Lean_Syntax_getArgs(lean_object*); @@ -794,7 +791,6 @@ lean_object* l_Lean_Elab_Term_universeConstraintsCheckpoint___rarg(lean_object*, LEAN_EXPORT lean_object* l_Lean_getRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice___closed__1; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1___boxed(lean_object*, lean_object*); @@ -934,7 +930,6 @@ lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_ob static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__2___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabAppArgs_synthesizeAppInstMVars___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAppArgs___closed__13; -lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5___boxed(lean_object**); LEAN_EXPORT lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1002,6 +997,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn__ lean_object* l_Lean_Expr_constName_x21(lean_object*); lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwLValError(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextArgHole___boxed(lean_object*); lean_object* l_Lean_Elab_Term_getMVarErrorInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -7502,252 +7498,51 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_st_ref_take(x_1, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_8, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -uint8_t x_14; lean_object* x_15; uint8_t x_16; -x_14 = 1; -lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_14); -x_15 = lean_st_ref_set(x_1, x_8, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_9, 0); -x_23 = lean_ctor_get(x_9, 1); -x_24 = lean_ctor_get(x_9, 2); -x_25 = lean_ctor_get(x_9, 3); -x_26 = lean_ctor_get(x_9, 4); -x_27 = lean_ctor_get(x_9, 5); -x_28 = lean_ctor_get(x_9, 6); -x_29 = lean_ctor_get(x_9, 7); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_9); -x_30 = 1; -x_31 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_23); -lean_ctor_set(x_31, 2, x_24); -lean_ctor_set(x_31, 3, x_25); -lean_ctor_set(x_31, 4, x_26); -lean_ctor_set(x_31, 5, x_27); -lean_ctor_set(x_31, 6, x_28); -lean_ctor_set(x_31, 7, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_30); -lean_ctor_set(x_8, 0, x_31); -x_32 = lean_st_ref_set(x_1, x_8, x_10); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; -} else { - lean_dec_ref(x_32); - x_34 = lean_box(0); -} -x_35 = lean_box(0); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -} -else -{ -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; uint8_t 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_37 = lean_ctor_get(x_8, 1); -x_38 = lean_ctor_get(x_8, 2); -x_39 = lean_ctor_get(x_8, 3); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_8); -x_40 = lean_ctor_get(x_9, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_9, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_9, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_9, 3); -lean_inc(x_43); -x_44 = lean_ctor_get(x_9, 4); -lean_inc(x_44); -x_45 = lean_ctor_get(x_9, 5); -lean_inc(x_45); -x_46 = lean_ctor_get(x_9, 6); -lean_inc(x_46); -x_47 = lean_ctor_get(x_9, 7); -lean_inc(x_47); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - lean_ctor_release(x_9, 6); - lean_ctor_release(x_9, 7); - x_48 = x_9; -} else { - lean_dec_ref(x_9); - x_48 = lean_box(0); -} -x_49 = 1; -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 8, 1); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_40); -lean_ctor_set(x_50, 1, x_41); -lean_ctor_set(x_50, 2, x_42); -lean_ctor_set(x_50, 3, x_43); -lean_ctor_set(x_50, 4, x_44); -lean_ctor_set(x_50, 5, x_45); -lean_ctor_set(x_50, 6, x_46); -lean_ctor_set(x_50, 7, x_47); -lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_49); -x_51 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_37); -lean_ctor_set(x_51, 2, x_38); -lean_ctor_set(x_51, 3, x_39); -x_52 = lean_st_ref_set(x_1, x_51, x_10); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3___rarg___boxed), 4, 0); -return x_6; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_11 = l_Lean_markUsedAssignment___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3___rarg(x_7, x_8, x_9, x_10); +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_st_ref_get(x_9, x_10); x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); lean_dec(x_11); -x_13 = lean_st_ref_get(x_9, x_12); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_st_ref_get(x_7, x_14); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +x_13 = lean_st_ref_get(x_7, x_12); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_ctor_get(x_18, 6); -lean_inc(x_19); -lean_dec(x_18); -x_20 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_19, x_1); -x_21 = lean_box(x_20); -lean_ctor_set(x_15, 0, x_21); -return x_15; +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 6); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_17, x_1); +x_19 = lean_box(x_18); +lean_ctor_set(x_13, 0, x_19); +return x_13; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_22 = lean_ctor_get(x_15, 0); -x_23 = lean_ctor_get(x_15, 1); -lean_inc(x_23); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_20 = lean_ctor_get(x_13, 0); +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_13); +x_22 = lean_ctor_get(x_20, 0); lean_inc(x_22); -lean_dec(x_15); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); +lean_dec(x_20); +x_23 = lean_ctor_get(x_22, 6); +lean_inc(x_23); lean_dec(x_22); -x_25 = lean_ctor_get(x_24, 6); -lean_inc(x_25); -lean_dec(x_24); -x_26 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_25, x_1); -x_27 = lean_box(x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_23); -return x_28; +x_24 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_23, x_1); +x_25 = lean_box(x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_21); +return x_26; } } } @@ -8659,30 +8454,6 @@ lean_dec(x_3); return x_18; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_markUsedAssignment___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_markUsedAssignment___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { @@ -9189,7 +8960,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -9917,7 +9688,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -10645,7 +10416,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -11373,7 +11144,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -12101,7 +11872,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -12829,7 +12600,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -13131,7 +12902,7 @@ _start: { if (lean_obj_tag(x_1) == 0) { -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_117; lean_object* x_118; uint8_t x_119; +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; uint8_t x_21; x_12 = lean_ctor_get(x_1, 3); lean_inc(x_12); lean_dec(x_1); @@ -13148,235 +12919,170 @@ lean_dec(x_15); x_18 = lean_ctor_get(x_16, 0); lean_inc(x_18); lean_dec(x_16); -x_117 = l_Lean_localDeclDependsOn___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2___closed__1; -x_118 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_18); -x_119 = l_Lean_Expr_hasFVar(x_12); -if (x_119 == 0) +x_19 = l_Lean_localDeclDependsOn___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2___closed__1; +lean_inc(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_18); +x_21 = l_Lean_Expr_hasFVar(x_12); +if (x_21 == 0) { -uint8_t x_120; -x_120 = l_Lean_Expr_hasMVar(x_12); -if (x_120 == 0) +uint8_t x_22; +x_22 = l_Lean_Expr_hasMVar(x_12); +if (x_22 == 0) { -uint8_t x_121; -lean_dec(x_12); -x_121 = 0; -x_19 = x_121; -x_20 = x_118; -goto block_116; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; -x_122 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__3(x_2, x_12, x_118); -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 = lean_unbox(x_123); -lean_dec(x_123); -x_19 = x_125; -x_20 = x_124; -goto block_116; -} -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; -x_126 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__11(x_2, x_12, x_118); -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 1); -lean_inc(x_128); -lean_dec(x_126); -x_129 = lean_unbox(x_127); -lean_dec(x_127); -x_19 = x_129; -x_20 = x_128; -goto block_116; -} -block_116: -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_dec(x_20); -x_22 = lean_st_ref_get(x_10, x_17); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_st_ref_take(x_8, x_23); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get_uint8(x_21, sizeof(void*)*8); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_12); +x_23 = lean_st_ref_get(x_10, x_17); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_st_ref_take(x_8, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -lean_dec(x_24); -x_29 = lean_ctor_get(x_21, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -x_31 = lean_ctor_get(x_21, 2); -lean_inc(x_31); -x_32 = lean_ctor_get(x_21, 3); -lean_inc(x_32); -x_33 = lean_ctor_get(x_21, 4); -lean_inc(x_33); -x_34 = lean_ctor_get(x_21, 5); -lean_inc(x_34); -x_35 = lean_ctor_get(x_21, 6); +lean_dec(x_25); +x_28 = !lean_is_exclusive(x_26); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = lean_ctor_get(x_26, 0); +lean_dec(x_29); +lean_ctor_set(x_26, 0, x_18); +x_30 = lean_st_ref_set(x_8, x_26, x_27); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +lean_dec(x_32); +x_33 = 0; +x_34 = lean_box(x_33); +lean_ctor_set(x_30, 0, x_34); +return x_30; +} +else +{ +lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_30, 1); lean_inc(x_35); -x_36 = lean_ctor_get(x_21, 7); -lean_inc(x_36); -lean_dec(x_21); -x_37 = !lean_is_exclusive(x_25); -if (x_37 == 0) +lean_dec(x_30); +x_36 = 0; +x_37 = lean_box(x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +return x_38; +} +} +else { -lean_object* x_38; uint8_t x_39; -x_38 = lean_ctor_get(x_25, 0); -lean_dec(x_38); -x_39 = !lean_is_exclusive(x_27); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_40 = lean_ctor_get(x_27, 7); -lean_dec(x_40); -x_41 = lean_ctor_get(x_27, 6); -lean_dec(x_41); -x_42 = lean_ctor_get(x_27, 5); -lean_dec(x_42); -x_43 = lean_ctor_get(x_27, 4); -lean_dec(x_43); -x_44 = lean_ctor_get(x_27, 3); -lean_dec(x_44); -x_45 = lean_ctor_get(x_27, 2); -lean_dec(x_45); -x_46 = lean_ctor_get(x_27, 1); -lean_dec(x_46); -x_47 = lean_ctor_get(x_27, 0); -lean_dec(x_47); -lean_ctor_set(x_27, 7, x_36); -lean_ctor_set(x_27, 6, x_35); -lean_ctor_set(x_27, 5, x_34); -lean_ctor_set(x_27, 4, x_33); -lean_ctor_set(x_27, 3, x_32); -lean_ctor_set(x_27, 2, x_31); -lean_ctor_set(x_27, 1, x_30); -lean_ctor_set(x_27, 0, x_29); -x_48 = lean_st_ref_set(x_8, x_25, x_28); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_48, 0); -lean_dec(x_50); -x_51 = lean_box(x_19); -lean_ctor_set(x_48, 0, x_51); +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; +x_39 = lean_ctor_get(x_26, 1); +x_40 = lean_ctor_get(x_26, 2); +x_41 = lean_ctor_get(x_26, 3); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_26); +x_42 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_42, 0, x_18); +lean_ctor_set(x_42, 1, x_39); +lean_ctor_set(x_42, 2, x_40); +lean_ctor_set(x_42, 3, x_41); +x_43 = lean_st_ref_set(x_8, x_42, x_27); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_45 = x_43; +} else { + lean_dec_ref(x_43); + x_45 = lean_box(0); +} +x_46 = 0; +x_47 = lean_box(x_46); +if (lean_is_scalar(x_45)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_45; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_44); return x_48; } +} else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_48, 1); +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; uint8_t x_58; +lean_dec(x_18); +x_49 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__3(x_2, x_12, x_20); +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_ctor_get(x_50, 1); lean_inc(x_52); -lean_dec(x_48); -x_53 = lean_box(x_19); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -return x_54; -} +lean_dec(x_50); +x_53 = lean_st_ref_get(x_10, x_17); +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_st_ref_take(x_8, x_54); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = !lean_is_exclusive(x_56); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_59 = lean_ctor_get(x_56, 0); +lean_dec(x_59); +lean_ctor_set(x_56, 0, x_52); +x_60 = lean_st_ref_set(x_8, x_56, x_57); +x_61 = !lean_is_exclusive(x_60); +if (x_61 == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_60, 0); +lean_dec(x_62); +lean_ctor_set(x_60, 0, x_51); +return x_60; } else { -uint8_t 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; -x_55 = lean_ctor_get_uint8(x_27, sizeof(void*)*8); -lean_dec(x_27); -x_56 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_56, 0, x_29); -lean_ctor_set(x_56, 1, x_30); -lean_ctor_set(x_56, 2, x_31); -lean_ctor_set(x_56, 3, x_32); -lean_ctor_set(x_56, 4, x_33); -lean_ctor_set(x_56, 5, x_34); -lean_ctor_set(x_56, 6, x_35); -lean_ctor_set(x_56, 7, x_36); -lean_ctor_set_uint8(x_56, sizeof(void*)*8, x_55); -lean_ctor_set(x_25, 0, x_56); -x_57 = lean_st_ref_set(x_8, x_25, x_28); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_59 = x_57; -} else { - lean_dec_ref(x_57); - x_59 = lean_box(0); -} -x_60 = lean_box(x_19); -if (lean_is_scalar(x_59)) { - x_61 = lean_alloc_ctor(0, 2, 0); -} else { - x_61 = x_59; -} -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_58); -return x_61; -} -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; 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_25, 1); -x_63 = lean_ctor_get(x_25, 2); -x_64 = lean_ctor_get(x_25, 3); -lean_inc(x_64); +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_60, 1); lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_25); -x_65 = lean_ctor_get_uint8(x_27, sizeof(void*)*8); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - lean_ctor_release(x_27, 2); - lean_ctor_release(x_27, 3); - lean_ctor_release(x_27, 4); - lean_ctor_release(x_27, 5); - lean_ctor_release(x_27, 6); - lean_ctor_release(x_27, 7); - x_66 = x_27; -} else { - lean_dec_ref(x_27); - x_66 = lean_box(0); +lean_dec(x_60); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_51); +lean_ctor_set(x_64, 1, x_63); +return x_64; } -if (lean_is_scalar(x_66)) { - x_67 = lean_alloc_ctor(0, 8, 1); -} else { - x_67 = x_66; } -lean_ctor_set(x_67, 0, x_29); -lean_ctor_set(x_67, 1, x_30); -lean_ctor_set(x_67, 2, x_31); -lean_ctor_set(x_67, 3, x_32); -lean_ctor_set(x_67, 4, x_33); -lean_ctor_set(x_67, 5, x_34); -lean_ctor_set(x_67, 6, x_35); -lean_ctor_set(x_67, 7, x_36); -lean_ctor_set_uint8(x_67, sizeof(void*)*8, x_65); +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_65 = lean_ctor_get(x_56, 1); +x_66 = lean_ctor_get(x_56, 2); +x_67 = lean_ctor_get(x_56, 3); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_56); x_68 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_62); -lean_ctor_set(x_68, 2, x_63); -lean_ctor_set(x_68, 3, x_64); -x_69 = lean_st_ref_set(x_8, x_68, x_28); +lean_ctor_set(x_68, 0, x_52); +lean_ctor_set(x_68, 1, x_65); +lean_ctor_set(x_68, 2, x_66); +lean_ctor_set(x_68, 3, x_67); +x_69 = lean_st_ref_set(x_8, x_68, x_57); x_70 = lean_ctor_get(x_69, 1); lean_inc(x_70); if (lean_is_exclusive(x_69)) { @@ -13387,668 +13093,317 @@ if (lean_is_exclusive(x_69)) { lean_dec_ref(x_69); x_71 = lean_box(0); } -x_72 = lean_box(x_19); if (lean_is_scalar(x_71)) { - x_73 = lean_alloc_ctor(0, 2, 0); + x_72 = lean_alloc_ctor(0, 2, 0); } else { - x_73 = x_71; + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_51); +lean_ctor_set(x_72, 1, x_70); +return x_72; } -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_70); -return x_73; } } else { -lean_object* x_74; uint8_t x_75; -x_74 = lean_ctor_get(x_24, 1); +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; uint8_t x_82; +lean_dec(x_18); +x_73 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__11(x_2, x_12, x_20); +x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); -lean_dec(x_24); -x_75 = !lean_is_exclusive(x_21); -if (x_75 == 0) -{ -uint8_t x_76; -x_76 = !lean_is_exclusive(x_25); -if (x_76 == 0) -{ -lean_object* x_77; uint8_t x_78; lean_object* x_79; uint8_t x_80; -x_77 = lean_ctor_get(x_25, 0); +x_75 = lean_ctor_get(x_73, 0); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_st_ref_get(x_10, x_17); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); lean_dec(x_77); -x_78 = 1; -lean_ctor_set_uint8(x_21, sizeof(void*)*8, x_78); -lean_ctor_set(x_25, 0, x_21); -x_79 = lean_st_ref_set(x_8, x_25, x_74); -x_80 = !lean_is_exclusive(x_79); -if (x_80 == 0) -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_79, 0); -lean_dec(x_81); -x_82 = lean_box(x_19); -lean_ctor_set(x_79, 0, x_82); -return x_79; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_79, 1); -lean_inc(x_83); +x_79 = lean_st_ref_take(x_8, x_78); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); lean_dec(x_79); -x_84 = lean_box(x_19); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -return x_85; -} +x_82 = !lean_is_exclusive(x_80); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_83 = lean_ctor_get(x_80, 0); +lean_dec(x_83); +lean_ctor_set(x_80, 0, x_76); +x_84 = lean_st_ref_set(x_8, x_80, x_81); +x_85 = !lean_is_exclusive(x_84); +if (x_85 == 0) +{ +lean_object* x_86; +x_86 = lean_ctor_get(x_84, 0); +lean_dec(x_86); +lean_ctor_set(x_84, 0, x_75); +return x_84; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t 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; -x_86 = lean_ctor_get(x_25, 1); -x_87 = lean_ctor_get(x_25, 2); -x_88 = lean_ctor_get(x_25, 3); -lean_inc(x_88); +lean_object* x_87; lean_object* x_88; +x_87 = lean_ctor_get(x_84, 1); lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_25); -x_89 = 1; -lean_ctor_set_uint8(x_21, sizeof(void*)*8, x_89); -x_90 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_90, 0, x_21); -lean_ctor_set(x_90, 1, x_86); -lean_ctor_set(x_90, 2, x_87); -lean_ctor_set(x_90, 3, x_88); -x_91 = lean_st_ref_set(x_8, x_90, x_74); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - x_93 = x_91; -} else { - lean_dec_ref(x_91); - x_93 = lean_box(0); -} -x_94 = lean_box(x_19); -if (lean_is_scalar(x_93)) { - x_95 = lean_alloc_ctor(0, 2, 0); -} else { - x_95 = x_93; -} -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_92); -return x_95; +lean_dec(x_84); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_75); +lean_ctor_set(x_88, 1, x_87); +return x_88; } } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t 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_96 = lean_ctor_get(x_21, 0); -x_97 = lean_ctor_get(x_21, 1); -x_98 = lean_ctor_get(x_21, 2); -x_99 = lean_ctor_get(x_21, 3); -x_100 = lean_ctor_get(x_21, 4); -x_101 = lean_ctor_get(x_21, 5); -x_102 = lean_ctor_get(x_21, 6); -x_103 = lean_ctor_get(x_21, 7); -lean_inc(x_103); -lean_inc(x_102); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); +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_89 = lean_ctor_get(x_80, 1); +x_90 = lean_ctor_get(x_80, 2); +x_91 = lean_ctor_get(x_80, 3); +lean_inc(x_91); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_80); +x_92 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_92, 0, x_76); +lean_ctor_set(x_92, 1, x_89); +lean_ctor_set(x_92, 2, x_90); +lean_ctor_set(x_92, 3, x_91); +x_93 = lean_st_ref_set(x_8, x_92, x_81); +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_95 = x_93; +} else { + lean_dec_ref(x_93); + x_95 = lean_box(0); +} +if (lean_is_scalar(x_95)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_95; +} +lean_ctor_set(x_96, 0, x_75); +lean_ctor_set(x_96, 1, x_94); +return x_96; +} +} +} +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; lean_object* x_103; lean_object* x_104; uint8_t x_105; lean_object* x_106; uint8_t x_132; lean_object* x_133; lean_object* x_146; lean_object* x_147; uint8_t x_148; +x_97 = lean_ctor_get(x_1, 3); lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_21); -x_104 = lean_ctor_get(x_25, 1); +x_98 = lean_ctor_get(x_1, 4); +lean_inc(x_98); +lean_dec(x_1); +x_99 = lean_st_ref_get(x_10, x_11); +x_100 = lean_ctor_get(x_99, 1); +lean_inc(x_100); +lean_dec(x_99); +x_101 = lean_st_ref_get(x_8, x_100); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +x_104 = lean_ctor_get(x_102, 0); lean_inc(x_104); -x_105 = lean_ctor_get(x_25, 2); -lean_inc(x_105); -x_106 = lean_ctor_get(x_25, 3); -lean_inc(x_106); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - lean_ctor_release(x_25, 2); - lean_ctor_release(x_25, 3); - x_107 = x_25; -} else { - lean_dec_ref(x_25); - x_107 = lean_box(0); +lean_dec(x_102); +x_146 = l_Lean_localDeclDependsOn___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2___closed__1; +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_104); +x_148 = l_Lean_Expr_hasFVar(x_97); +if (x_148 == 0) +{ +uint8_t x_149; +x_149 = l_Lean_Expr_hasMVar(x_97); +if (x_149 == 0) +{ +uint8_t x_150; +lean_dec(x_97); +x_150 = 0; +x_132 = x_150; +x_133 = x_147; +goto block_145; } -x_108 = 1; -x_109 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_109, 0, x_96); -lean_ctor_set(x_109, 1, x_97); -lean_ctor_set(x_109, 2, x_98); -lean_ctor_set(x_109, 3, x_99); -lean_ctor_set(x_109, 4, x_100); -lean_ctor_set(x_109, 5, x_101); -lean_ctor_set(x_109, 6, x_102); -lean_ctor_set(x_109, 7, x_103); -lean_ctor_set_uint8(x_109, sizeof(void*)*8, x_108); -if (lean_is_scalar(x_107)) { - x_110 = lean_alloc_ctor(0, 4, 0); -} else { - x_110 = x_107; +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_151 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__35(x_2, x_97, x_147); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); +x_154 = lean_unbox(x_152); +lean_dec(x_152); +x_132 = x_154; +x_133 = x_153; +goto block_145; } -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_104); -lean_ctor_set(x_110, 2, x_105); -lean_ctor_set(x_110, 3, x_106); -x_111 = lean_st_ref_set(x_8, x_110, x_74); -x_112 = lean_ctor_get(x_111, 1); +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; +x_155 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__43(x_2, x_97, x_147); +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); +lean_dec(x_155); +x_158 = lean_unbox(x_156); +lean_dec(x_156); +x_132 = x_158; +x_133 = x_157; +goto block_145; +} +block_131: +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +lean_dec(x_106); +x_108 = lean_st_ref_get(x_10, x_103); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); +lean_dec(x_108); +x_110 = lean_st_ref_take(x_8, x_109); +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); lean_inc(x_112); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_113 = x_111; -} else { - lean_dec_ref(x_111); - x_113 = lean_box(0); -} -x_114 = lean_box(x_19); -if (lean_is_scalar(x_113)) { - x_115 = lean_alloc_ctor(0, 2, 0); -} else { - x_115 = x_113; -} -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_112); +lean_dec(x_110); +x_113 = !lean_is_exclusive(x_111); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_114 = lean_ctor_get(x_111, 0); +lean_dec(x_114); +lean_ctor_set(x_111, 0, x_107); +x_115 = lean_st_ref_set(x_8, x_111, x_112); +x_116 = !lean_is_exclusive(x_115); +if (x_116 == 0) +{ +lean_object* x_117; lean_object* x_118; +x_117 = lean_ctor_get(x_115, 0); +lean_dec(x_117); +x_118 = lean_box(x_105); +lean_ctor_set(x_115, 0, x_118); return x_115; } -} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_115, 1); +lean_inc(x_119); +lean_dec(x_115); +x_120 = lean_box(x_105); +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_119); +return x_121; } } else { -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; uint8_t x_138; lean_object* x_139; uint8_t x_236; lean_object* x_237; lean_object* x_250; lean_object* x_251; uint8_t x_252; -x_130 = lean_ctor_get(x_1, 3); -lean_inc(x_130); -x_131 = lean_ctor_get(x_1, 4); -lean_inc(x_131); -lean_dec(x_1); -x_132 = lean_st_ref_get(x_10, x_11); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -lean_dec(x_132); -x_134 = lean_st_ref_get(x_8, x_133); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = lean_ctor_get(x_135, 0); -lean_inc(x_137); -lean_dec(x_135); -x_250 = l_Lean_localDeclDependsOn___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2___closed__1; -x_251 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_251, 0, x_250); -lean_ctor_set(x_251, 1, x_137); -x_252 = l_Lean_Expr_hasFVar(x_130); -if (x_252 == 0) +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; +x_122 = lean_ctor_get(x_111, 1); +x_123 = lean_ctor_get(x_111, 2); +x_124 = lean_ctor_get(x_111, 3); +lean_inc(x_124); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_111); +x_125 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_125, 0, x_107); +lean_ctor_set(x_125, 1, x_122); +lean_ctor_set(x_125, 2, x_123); +lean_ctor_set(x_125, 3, x_124); +x_126 = lean_st_ref_set(x_8, x_125, x_112); +x_127 = lean_ctor_get(x_126, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_128 = x_126; +} else { + lean_dec_ref(x_126); + x_128 = lean_box(0); +} +x_129 = lean_box(x_105); +if (lean_is_scalar(x_128)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_128; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_127); +return x_130; +} +} +block_145: { -uint8_t x_253; -x_253 = l_Lean_Expr_hasMVar(x_130); -if (x_253 == 0) +if (x_132 == 0) { -uint8_t x_254; -lean_dec(x_130); -x_254 = 0; -x_236 = x_254; -x_237 = x_251; -goto block_249; +uint8_t x_134; +x_134 = l_Lean_Expr_hasFVar(x_98); +if (x_134 == 0) +{ +uint8_t x_135; +x_135 = l_Lean_Expr_hasMVar(x_98); +if (x_135 == 0) +{ +uint8_t x_136; +lean_dec(x_98); +x_136 = 0; +x_105 = x_136; +x_106 = x_133; +goto block_131; } else { -lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; -x_255 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__35(x_2, x_130, x_251); -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_255, 1); -lean_inc(x_257); -lean_dec(x_255); -x_258 = lean_unbox(x_256); -lean_dec(x_256); -x_236 = x_258; -x_237 = x_257; -goto block_249; +lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; +x_137 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__19(x_2, x_98, x_133); +x_138 = lean_ctor_get(x_137, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_137, 1); +lean_inc(x_139); +lean_dec(x_137); +x_140 = lean_unbox(x_138); +lean_dec(x_138); +x_105 = x_140; +x_106 = x_139; +goto block_131; } } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; -x_259 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__43(x_2, x_130, x_251); -x_260 = lean_ctor_get(x_259, 0); -lean_inc(x_260); -x_261 = lean_ctor_get(x_259, 1); -lean_inc(x_261); -lean_dec(x_259); -x_262 = lean_unbox(x_260); -lean_dec(x_260); -x_236 = x_262; -x_237 = x_261; -goto block_249; -} -block_235: -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; -x_140 = lean_ctor_get(x_139, 1); -lean_inc(x_140); -lean_dec(x_139); -x_141 = lean_st_ref_get(x_10, x_136); -x_142 = lean_ctor_get(x_141, 1); +lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_141 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__27(x_2, x_98, x_133); +x_142 = lean_ctor_get(x_141, 0); lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); lean_dec(x_141); -x_143 = lean_st_ref_take(x_8, x_142); -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_ctor_get_uint8(x_140, sizeof(void*)*8); -if (x_145 == 0) -{ -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; uint8_t x_156; -x_146 = lean_ctor_get(x_144, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_143, 1); -lean_inc(x_147); -lean_dec(x_143); -x_148 = lean_ctor_get(x_140, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_140, 1); -lean_inc(x_149); -x_150 = lean_ctor_get(x_140, 2); -lean_inc(x_150); -x_151 = lean_ctor_get(x_140, 3); -lean_inc(x_151); -x_152 = lean_ctor_get(x_140, 4); -lean_inc(x_152); -x_153 = lean_ctor_get(x_140, 5); -lean_inc(x_153); -x_154 = lean_ctor_get(x_140, 6); -lean_inc(x_154); -x_155 = lean_ctor_get(x_140, 7); -lean_inc(x_155); -lean_dec(x_140); -x_156 = !lean_is_exclusive(x_144); -if (x_156 == 0) -{ -lean_object* x_157; uint8_t x_158; -x_157 = lean_ctor_get(x_144, 0); -lean_dec(x_157); -x_158 = !lean_is_exclusive(x_146); -if (x_158 == 0) -{ -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; uint8_t x_168; -x_159 = lean_ctor_get(x_146, 7); -lean_dec(x_159); -x_160 = lean_ctor_get(x_146, 6); -lean_dec(x_160); -x_161 = lean_ctor_get(x_146, 5); -lean_dec(x_161); -x_162 = lean_ctor_get(x_146, 4); -lean_dec(x_162); -x_163 = lean_ctor_get(x_146, 3); -lean_dec(x_163); -x_164 = lean_ctor_get(x_146, 2); -lean_dec(x_164); -x_165 = lean_ctor_get(x_146, 1); -lean_dec(x_165); -x_166 = lean_ctor_get(x_146, 0); -lean_dec(x_166); -lean_ctor_set(x_146, 7, x_155); -lean_ctor_set(x_146, 6, x_154); -lean_ctor_set(x_146, 5, x_153); -lean_ctor_set(x_146, 4, x_152); -lean_ctor_set(x_146, 3, x_151); -lean_ctor_set(x_146, 2, x_150); -lean_ctor_set(x_146, 1, x_149); -lean_ctor_set(x_146, 0, x_148); -x_167 = lean_st_ref_set(x_8, x_144, x_147); -x_168 = !lean_is_exclusive(x_167); -if (x_168 == 0) -{ -lean_object* x_169; lean_object* x_170; -x_169 = lean_ctor_get(x_167, 0); -lean_dec(x_169); -x_170 = lean_box(x_138); -lean_ctor_set(x_167, 0, x_170); -return x_167; -} -else -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_171 = lean_ctor_get(x_167, 1); -lean_inc(x_171); -lean_dec(x_167); -x_172 = lean_box(x_138); -x_173 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_173, 0, x_172); -lean_ctor_set(x_173, 1, x_171); -return x_173; +x_144 = lean_unbox(x_142); +lean_dec(x_142); +x_105 = x_144; +x_106 = x_143; +goto block_131; } } else { -uint8_t 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; -x_174 = lean_ctor_get_uint8(x_146, sizeof(void*)*8); -lean_dec(x_146); -x_175 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_175, 0, x_148); -lean_ctor_set(x_175, 1, x_149); -lean_ctor_set(x_175, 2, x_150); -lean_ctor_set(x_175, 3, x_151); -lean_ctor_set(x_175, 4, x_152); -lean_ctor_set(x_175, 5, x_153); -lean_ctor_set(x_175, 6, x_154); -lean_ctor_set(x_175, 7, x_155); -lean_ctor_set_uint8(x_175, sizeof(void*)*8, x_174); -lean_ctor_set(x_144, 0, x_175); -x_176 = lean_st_ref_set(x_8, x_144, x_147); -x_177 = lean_ctor_get(x_176, 1); -lean_inc(x_177); -if (lean_is_exclusive(x_176)) { - lean_ctor_release(x_176, 0); - lean_ctor_release(x_176, 1); - x_178 = x_176; -} else { - lean_dec_ref(x_176); - x_178 = lean_box(0); -} -x_179 = lean_box(x_138); -if (lean_is_scalar(x_178)) { - x_180 = lean_alloc_ctor(0, 2, 0); -} else { - x_180 = x_178; -} -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_177); -return x_180; -} -} -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t 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; -x_181 = lean_ctor_get(x_144, 1); -x_182 = lean_ctor_get(x_144, 2); -x_183 = lean_ctor_get(x_144, 3); -lean_inc(x_183); -lean_inc(x_182); -lean_inc(x_181); -lean_dec(x_144); -x_184 = lean_ctor_get_uint8(x_146, sizeof(void*)*8); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - lean_ctor_release(x_146, 2); - lean_ctor_release(x_146, 3); - lean_ctor_release(x_146, 4); - lean_ctor_release(x_146, 5); - lean_ctor_release(x_146, 6); - lean_ctor_release(x_146, 7); - x_185 = x_146; -} else { - lean_dec_ref(x_146); - x_185 = lean_box(0); -} -if (lean_is_scalar(x_185)) { - x_186 = lean_alloc_ctor(0, 8, 1); -} else { - x_186 = x_185; -} -lean_ctor_set(x_186, 0, x_148); -lean_ctor_set(x_186, 1, x_149); -lean_ctor_set(x_186, 2, x_150); -lean_ctor_set(x_186, 3, x_151); -lean_ctor_set(x_186, 4, x_152); -lean_ctor_set(x_186, 5, x_153); -lean_ctor_set(x_186, 6, x_154); -lean_ctor_set(x_186, 7, x_155); -lean_ctor_set_uint8(x_186, sizeof(void*)*8, x_184); -x_187 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_181); -lean_ctor_set(x_187, 2, x_182); -lean_ctor_set(x_187, 3, x_183); -x_188 = lean_st_ref_set(x_8, x_187, x_147); -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_190 = x_188; -} else { - lean_dec_ref(x_188); - x_190 = lean_box(0); -} -x_191 = lean_box(x_138); -if (lean_is_scalar(x_190)) { - x_192 = lean_alloc_ctor(0, 2, 0); -} else { - x_192 = x_190; -} -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_189); -return x_192; -} -} -else -{ -lean_object* x_193; uint8_t x_194; -x_193 = lean_ctor_get(x_143, 1); -lean_inc(x_193); -lean_dec(x_143); -x_194 = !lean_is_exclusive(x_140); -if (x_194 == 0) -{ -uint8_t x_195; -x_195 = !lean_is_exclusive(x_144); -if (x_195 == 0) -{ -lean_object* x_196; uint8_t x_197; lean_object* x_198; uint8_t x_199; -x_196 = lean_ctor_get(x_144, 0); -lean_dec(x_196); -x_197 = 1; -lean_ctor_set_uint8(x_140, sizeof(void*)*8, x_197); -lean_ctor_set(x_144, 0, x_140); -x_198 = lean_st_ref_set(x_8, x_144, x_193); -x_199 = !lean_is_exclusive(x_198); -if (x_199 == 0) -{ -lean_object* x_200; lean_object* x_201; -x_200 = lean_ctor_get(x_198, 0); -lean_dec(x_200); -x_201 = lean_box(x_138); -lean_ctor_set(x_198, 0, x_201); -return x_198; -} -else -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_202 = lean_ctor_get(x_198, 1); -lean_inc(x_202); -lean_dec(x_198); -x_203 = lean_box(x_138); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_202); -return x_204; -} -} -else -{ -lean_object* x_205; 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; -x_205 = lean_ctor_get(x_144, 1); -x_206 = lean_ctor_get(x_144, 2); -x_207 = lean_ctor_get(x_144, 3); -lean_inc(x_207); -lean_inc(x_206); -lean_inc(x_205); -lean_dec(x_144); -x_208 = 1; -lean_ctor_set_uint8(x_140, sizeof(void*)*8, x_208); -x_209 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_209, 0, x_140); -lean_ctor_set(x_209, 1, x_205); -lean_ctor_set(x_209, 2, x_206); -lean_ctor_set(x_209, 3, x_207); -x_210 = lean_st_ref_set(x_8, x_209, x_193); -x_211 = lean_ctor_get(x_210, 1); -lean_inc(x_211); -if (lean_is_exclusive(x_210)) { - lean_ctor_release(x_210, 0); - lean_ctor_release(x_210, 1); - x_212 = x_210; -} else { - lean_dec_ref(x_210); - x_212 = lean_box(0); -} -x_213 = lean_box(x_138); -if (lean_is_scalar(x_212)) { - x_214 = lean_alloc_ctor(0, 2, 0); -} else { - x_214 = x_212; -} -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_211); -return x_214; -} -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_215 = lean_ctor_get(x_140, 0); -x_216 = lean_ctor_get(x_140, 1); -x_217 = lean_ctor_get(x_140, 2); -x_218 = lean_ctor_get(x_140, 3); -x_219 = lean_ctor_get(x_140, 4); -x_220 = lean_ctor_get(x_140, 5); -x_221 = lean_ctor_get(x_140, 6); -x_222 = lean_ctor_get(x_140, 7); -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_inc(x_216); -lean_inc(x_215); -lean_dec(x_140); -x_223 = lean_ctor_get(x_144, 1); -lean_inc(x_223); -x_224 = lean_ctor_get(x_144, 2); -lean_inc(x_224); -x_225 = lean_ctor_get(x_144, 3); -lean_inc(x_225); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - lean_ctor_release(x_144, 2); - lean_ctor_release(x_144, 3); - x_226 = x_144; -} else { - lean_dec_ref(x_144); - x_226 = lean_box(0); -} -x_227 = 1; -x_228 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_228, 0, x_215); -lean_ctor_set(x_228, 1, x_216); -lean_ctor_set(x_228, 2, x_217); -lean_ctor_set(x_228, 3, x_218); -lean_ctor_set(x_228, 4, x_219); -lean_ctor_set(x_228, 5, x_220); -lean_ctor_set(x_228, 6, x_221); -lean_ctor_set(x_228, 7, x_222); -lean_ctor_set_uint8(x_228, sizeof(void*)*8, x_227); -if (lean_is_scalar(x_226)) { - x_229 = lean_alloc_ctor(0, 4, 0); -} else { - x_229 = x_226; -} -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_223); -lean_ctor_set(x_229, 2, x_224); -lean_ctor_set(x_229, 3, x_225); -x_230 = lean_st_ref_set(x_8, x_229, x_193); -x_231 = lean_ctor_get(x_230, 1); -lean_inc(x_231); -if (lean_is_exclusive(x_230)) { - lean_ctor_release(x_230, 0); - lean_ctor_release(x_230, 1); - x_232 = x_230; -} else { - lean_dec_ref(x_230); - x_232 = lean_box(0); -} -x_233 = lean_box(x_138); -if (lean_is_scalar(x_232)) { - x_234 = lean_alloc_ctor(0, 2, 0); -} else { - x_234 = x_232; -} -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_231); -return x_234; -} -} -} -block_249: -{ -if (x_236 == 0) -{ -uint8_t x_238; -x_238 = l_Lean_Expr_hasFVar(x_131); -if (x_238 == 0) -{ -uint8_t x_239; -x_239 = l_Lean_Expr_hasMVar(x_131); -if (x_239 == 0) -{ -uint8_t x_240; -lean_dec(x_131); -x_240 = 0; -x_138 = x_240; -x_139 = x_237; -goto block_235; -} -else -{ -lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; -x_241 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__19(x_2, x_131, x_237); -x_242 = lean_ctor_get(x_241, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_241, 1); -lean_inc(x_243); -lean_dec(x_241); -x_244 = lean_unbox(x_242); -lean_dec(x_242); -x_138 = x_244; -x_139 = x_243; -goto block_235; -} -} -else -{ -lean_object* x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; -x_245 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__27(x_2, x_131, x_237); -x_246 = lean_ctor_get(x_245, 0); -lean_inc(x_246); -x_247 = lean_ctor_get(x_245, 1); -lean_inc(x_247); -lean_dec(x_245); -x_248 = lean_unbox(x_246); -lean_dec(x_246); -x_138 = x_248; -x_139 = x_247; -goto block_235; -} -} -else -{ -lean_dec(x_131); -x_138 = x_236; -x_139 = x_237; -goto block_235; +lean_dec(x_98); +x_105 = x_132; +x_106 = x_133; +goto block_131; } } } @@ -24214,7 +23569,7 @@ lean_dec(x_23); lean_dec(x_3); lean_dec(x_1); x_29 = l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__5___closed__2; -x_30 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_30 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -28711,7 +28066,7 @@ x_52 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda x_53 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_53, 0, x_51); lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_53, x_10, x_11, x_12, x_13, x_14, x_15, x_39); +x_54 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_53, x_10, x_11, x_12, x_13, x_14, x_15, x_39); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -29459,7 +28814,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_17 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___closed__2; -x_18 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_18 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -30723,7 +30078,7 @@ x_108 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_108, 0, x_106); lean_ctor_set(x_108, 1, x_107); lean_inc(x_5); -x_109 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_108, x_5, x_6, x_7, x_8, x_9, x_10, x_97); +x_109 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_108, x_5, x_6, x_7, x_8, x_9, x_10, x_97); x_110 = lean_ctor_get(x_109, 0); lean_inc(x_110); x_111 = lean_ctor_get(x_109, 1); diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 05a59877f9..26c9b18a4c 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -628,7 +628,6 @@ lean_object* l_Lean_Elab_Term_universeConstraintsCheckpoint___rarg(lean_object*, lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__41; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange___closed__2; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun___closed__3; @@ -758,6 +757,7 @@ static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1952_ static lean_object* l___regBuiltin_Lean_Elab_Term_elabForall___closed__3; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun_declRange___closed__5; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__3; static lean_object* l_Lean_Elab_Term_elabLetDeclCore___lambda__2___closed__1; static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__4; @@ -6606,7 +6606,7 @@ x_21 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_checkLocalInstanceParamet x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_23 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_11); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -6726,7 +6726,7 @@ x_11 = lean_ctor_get(x_7, 5); x_12 = l_Lean_replaceRef(x_1, x_11); lean_dec(x_11); lean_ctor_set(x_7, 5, x_12); -x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); return x_13; } @@ -6770,7 +6770,7 @@ lean_ctor_set(x_26, 7, x_21); lean_ctor_set(x_26, 8, x_22); lean_ctor_set(x_26, 9, x_23); lean_ctor_set(x_26, 10, x_24); -x_27 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_2, x_3, x_4, x_5, x_6, x_26, x_8, x_9); +x_27 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_3, x_4, x_5, x_6, x_26, x_8, x_9); lean_dec(x_26); return x_27; } @@ -26775,7 +26775,7 @@ x_35 = lean_ctor_get(x_32, 1); lean_inc(x_35); lean_dec(x_32); x_36 = l_Lean_Elab_Term_elabLetDeclAux___lambda__3___closed__2; -x_37 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_36, x_7, x_8, x_9, x_10, x_11, x_12, x_35); +x_37 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_36, x_7, x_8, x_9, x_10, x_11, x_12, x_35); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -28385,7 +28385,7 @@ lean_dec(x_16); lean_dec(x_2); lean_dec(x_1); x_46 = l_Lean_Elab_Term_elabLetDeclCore___closed__6; -x_47 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_46, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_47 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_46, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 1d12301002..5a698af2cc 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -617,7 +617,6 @@ static lean_object* l_Lean_Elab_Term_expandAssert___closed__5; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabSubst___lambda__6(lean_object*, lean_object*, lean_object*, 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_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandHave___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -799,6 +798,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabSorry___closed__5; static lean_object* l_Lean_Elab_Term_expandShow___closed__14; static lean_object* l_Lean_Elab_Term_expandAssert___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro___closed__1; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSubst___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandHave___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor___closed__1; @@ -2586,7 +2586,7 @@ x_79 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__16; x_80 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_80, 0, x_78); lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_80, x_3, x_4, x_5, x_6, x_7, x_8, x_57); +x_81 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_80, x_3, x_4, x_5, x_6, x_7, x_8, x_57); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -19111,7 +19111,7 @@ x_81 = lean_ctor_get(x_78, 1); lean_inc(x_81); lean_dec(x_78); x_82 = l_Lean_Elab_Term_elabSubst___lambda__8___closed__2; -x_83 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_82, x_3, x_4, x_5, x_6, x_7, x_8, x_81); +x_83 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_82, x_3, x_4, x_5, x_6, x_7, x_8, x_81); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -19415,7 +19415,7 @@ x_138 = l_Lean_Elab_Term_elabSubst___closed__15; x_139 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_139, 0, x_137); lean_ctor_set(x_139, 1, x_138); -x_140 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_139, x_3, x_4, x_5, x_6, x_7, x_8, x_125); +x_140 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_139, x_3, x_4, x_5, x_6, x_7, x_8, x_125); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); diff --git a/stage0/stdlib/Lean/Elab/BuiltinTerm.c b/stage0/stdlib/Lean/Elab/BuiltinTerm.c index 22c5e3dc15..3780034cdf 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinTerm.c +++ b/stage0/stdlib/Lean/Elab/BuiltinTerm.c @@ -372,7 +372,6 @@ uint8_t l_Lean_Expr_hasExprMVar(lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName_docString___closed__1; lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabNoImplicitLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabWithAnnotateTerm_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -440,6 +439,7 @@ LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___sp static lean_object* l_Lean_Elab_Term_elabCharLit___closed__2; lean_object* lean_expr_dbg_to_string(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__18(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetMVar_declRange___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabLetMVar(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__36(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -651,7 +651,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType_declRan lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion_declRange___closed__1; static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__22___lambda__1___closed__3; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPipeCompletion___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -664,7 +663,6 @@ static lean_object* l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__22___lambda__1___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole_declRange___closed__3; -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Elab_Term_elabSyntheticHole___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetMVar_declRange___closed__6; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetMVar___closed__3; @@ -694,6 +692,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_el static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit_declRange___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__31___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*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption_declRange___closed__5; +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -738,7 +737,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen_declRange(lean_o static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda_declRange___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic_docString(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__20(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Elab_Term_elabSyntheticHole___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRawNatLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -815,6 +813,7 @@ lean_object* lean_uint32_to_nat(uint32_t); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen_declRange___closed__1; lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__4; @@ -2581,16 +2580,6 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Elab_Term_elabSyntheticHole___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_1); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Elab_Term_elabSyntheticHole___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -2603,140 +2592,79 @@ x_11 = lean_st_ref_get(x_5, x_10); x_12 = !lean_is_exclusive(x_11); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); lean_dec(x_13); -x_16 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_15, x_1); -if (lean_obj_tag(x_16) == 0) -{ -lean_ctor_set(x_11, 0, x_16); +x_15 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_14, x_1); +lean_ctor_set(x_11, 0, x_15); return x_11; } else { -lean_object* x_17; uint8_t x_18; -lean_free_object(x_11); -x_17 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(x_5, x_6, x_7, x_14); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -lean_ctor_set(x_17, 0, x_16); -return x_17; -} -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_16); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_11, 0); -x_23 = lean_ctor_get(x_11, 1); -lean_inc(x_23); -lean_inc(x_22); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_11, 0); +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_inc(x_16); lean_dec(x_11); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_24, x_1); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_23); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(x_5, x_6, x_7, x_23); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - x_29 = x_27; -} else { - lean_dec_ref(x_27); - x_29 = lean_box(0); -} -if (lean_is_scalar(x_29)) { - x_30 = lean_alloc_ctor(0, 2, 0); -} else { - x_30 = x_29; -} -lean_ctor_set(x_30, 0, x_25); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_18, x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_17); +return x_20; } } } LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned___at_Lean_Elab_Term_elabSyntheticHole___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_9 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(x_5, x_6, x_7, x_8); +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_st_ref_get(x_7, x_8); x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = lean_st_ref_get(x_7, x_10); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_st_ref_get(x_5, x_12); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +x_11 = lean_st_ref_get(x_5, x_10); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 7); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(x_17, x_1); -x_19 = lean_box(x_18); -lean_ctor_set(x_13, 0, x_19); -return x_13; +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_ctor_get(x_14, 7); +lean_inc(x_15); +lean_dec(x_14); +x_16 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(x_15, x_1); +x_17 = lean_box(x_16); +lean_ctor_set(x_11, 0, x_17); +return x_11; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; -x_20 = lean_ctor_get(x_13, 0); -x_21 = lean_ctor_get(x_13, 1); -lean_inc(x_21); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_11, 0); +x_19 = lean_ctor_get(x_11, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_11); +x_20 = lean_ctor_get(x_18, 0); lean_inc(x_20); -lean_dec(x_13); -x_22 = lean_ctor_get(x_20, 0); -lean_inc(x_22); +lean_dec(x_18); +x_21 = lean_ctor_get(x_20, 7); +lean_inc(x_21); lean_dec(x_20); -x_23 = lean_ctor_get(x_22, 7); -lean_inc(x_23); -lean_dec(x_22); -x_24 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(x_23, x_1); -x_25 = lean_box(x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_21); -return x_26; +x_22 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(x_21, x_1); +x_23 = lean_box(x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_19); +return x_24; } } } @@ -4343,21 +4271,6 @@ return x_170; } } } -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Elab_Term_elabSyntheticHole___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_getExprMVarAssignment_x3f___at_Lean_Elab_Term_elabSyntheticHole___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Elab_Term_elabSyntheticHole___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: { @@ -7120,6 +7033,16 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor(lean_object* x_1, 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: { @@ -7217,6 +7140,21 @@ return x_27; } } } +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor___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: { @@ -9018,7 +8956,7 @@ x_14 = l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_getMVarFromUserName__ x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_16 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_16; } } @@ -11203,14 +11141,13 @@ x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2___closed__ x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2___closed__7; x_3 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2___closed__8; x_4 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2___closed__11; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -16671,7 +16608,7 @@ lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_dec(x_2); lean_dec(x_1); x_16 = l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Term_elabSetOption___spec__3___closed__2; -x_17 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +x_17 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_13); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index e4bf3a357b..7b6754cb38 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -2043,23 +2043,21 @@ return x_3; static lean_object* _init_l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1; x_3 = l_Lean_Elab_Command_State_infoState___default___closed__3; x_4 = l_Lean_Elab_Command_instInhabitedState___closed__2; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__3() { @@ -19327,14 +19325,13 @@ x_1 = l_Lean_Elab_Command_liftTermElabM___rarg___closed__1; x_2 = l_Lean_Elab_Command_liftTermElabM___rarg___closed__3; x_3 = l_Lean_Elab_Command_liftTermElabM___rarg___closed__4; x_4 = l_Lean_Elab_Command_liftTermElabM___rarg___closed__7; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/Elab/ComputedFields.c b/stage0/stdlib/Lean/Elab/ComputedFields.c index 594a4d9395..b8449014e1 100644 --- a/stage0/stdlib/Lean/Elab/ComputedFields.c +++ b/stage0/stdlib/Lean/Elab/ComputedFields.c @@ -4080,14 +4080,13 @@ x_1 = l_Lean_setEnv___at_Lean_Elab_ComputedFields_mkImplType___spec__6___closed_ x_2 = l_Lean_setEnv___at_Lean_Elab_ComputedFields_mkImplType___spec__6___closed__7; x_3 = l_Lean_setEnv___at_Lean_Elab_ComputedFields_mkImplType___spec__6___closed__8; x_4 = l_Lean_setEnv___at_Lean_Elab_ComputedFields_mkImplType___spec__6___closed__11; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/Elab/DefView.c b/stage0/stdlib/Lean/Elab/DefView.c index edca66cc24..6dddfa5246 100644 --- a/stage0/stdlib/Lean/Elab/DefView.c +++ b/stage0/stdlib/Lean/Elab/DefView.c @@ -18,7 +18,6 @@ static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_21 lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfOpaque___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -26,6 +25,7 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__1___closed__1; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5___rarg(lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); @@ -33,12 +33,17 @@ uint8_t l_Lean_Expr_isProp(lean_object*); static lean_object* l_Lean_Elab_Command_mkInstanceName___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_15____boxed(lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__13; static lean_object* l_Lean_Elab_Command_mkDefViewOfOpaque___closed__3; +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__1; +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfInstance___spec__11(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); @@ -59,19 +64,22 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfDef(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_DefKind_isExample(uint8_t); lean_object* l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__8; extern lean_object* l_Lean_levelZero; LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfOpaque___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__2; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__10; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_DefKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfExample(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefView___closed__2; static lean_object* l_Lean_Elab_Command_isDefLike___closed__4; +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__1; static lean_object* l_Lean_Elab_Command_isDefLike___closed__8; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__7; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -80,18 +88,19 @@ lean_object* l_Lean_Elab_mkFreshInstanceName(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_isDefLike___closed__11; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__16; static lean_object* l_Lean_Elab_instBEqDefKind___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__3; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forEachExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__2; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfInstance___spec__11___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__5; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_isDefLike___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_DefKind_noConfusion___rarg___lambda__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_isDefLike___closed__1; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); @@ -104,6 +113,7 @@ uint8_t l_Char_isLower(uint32_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_isDefLike___boxed(lean_object*); lean_object* l_Nat_repr(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg(lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_instInhabitedDefKind; LEAN_EXPORT lean_object* l_Lean_Elab_DefKind_isTheorem___boxed(lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__12; @@ -129,9 +139,9 @@ static lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkDefViewOfInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConst(lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Command_isDefLike(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkFreshInstanceName___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfOpaque___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isForall(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -140,6 +150,7 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__6; size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkFreshInstanceName(lean_object*); +lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -149,16 +160,17 @@ lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*); static lean_object* l_Lean_Elab_DefKind_noConfusion___rarg___closed__1; static lean_object* l_Lean_Elab_Command_mkDefViewOfOpaque___closed__4; uint8_t l_Lean_Expr_isType(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_DefKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfExample___closed__3; lean_object* lean_environment_main_module(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfOpaque___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_DefKind_noConfusion___rarg___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkDefViewOfInstance___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -167,18 +179,13 @@ lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkInstanceName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkFreshInstanceName___boxed(lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_2170_(lean_object*); static lean_object* l_Lean_Elab_Command_mkInstanceName___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__2; static lean_object* l_Lean_Elab_Command_isDefLike___closed__6; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__1___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg(lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfExample___closed__2; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandDeclSig(lean_object*); @@ -192,12 +199,11 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Comma lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__2___closed__1; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__9; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandOptNamedPrio___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_2170____closed__4; lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__17; lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_isDefLike___closed__3; @@ -206,7 +212,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_instBEqDefKind; static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_2170____closed__2; extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; static lean_object* l_Lean_Elab_Command_mkDefViewOfOpaque___lambda__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_isDefLike___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_DefKind_isExample___boxed(lean_object*); lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lean_object*); @@ -214,17 +219,13 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__15; static lean_object* l_Lean_Elab_Command_mkDefViewOfOpaque___lambda__2___closed__1; static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__18; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_DefKind_noConfusion(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__2; static lean_object* l_Lean_Elab_Command_mkDefView___closed__1; lean_object* l_Lean_Core_resetMessageLog(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__10___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfOpaque___closed__6; lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); @@ -242,7 +243,7 @@ static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_isDefLike___closed__7; LEAN_EXPORT uint8_t l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_15_(uint8_t, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_Command_mkInstanceName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isSort(lean_object*); lean_object* l_Lean_Elab_mkUnusedBaseName(lean_object*, lean_object*, lean_object*); @@ -898,7 +899,15 @@ lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_Command_mkInstanceName___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -952,7 +961,7 @@ return x_20; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -972,7 +981,7 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_3, 6); lean_dec(x_11); lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__3(x_2, x_3, x_4, x_8); +x_12 = l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__4(x_2, x_3, x_4, x_8); lean_dec(x_4); return x_12; } @@ -1003,13 +1012,13 @@ lean_ctor_set(x_20, 4, x_17); lean_ctor_set(x_20, 5, x_18); lean_ctor_set(x_20, 6, x_9); lean_ctor_set(x_20, 7, x_19); -x_21 = l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__3(x_2, x_20, x_4, x_8); +x_21 = l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__4(x_2, x_20, x_4, x_8); lean_dec(x_4); return x_21; } } } -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__1() { +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -1019,21 +1028,21 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__2() { +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__1; +x_1 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__2; +x_5 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__2; x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_1); lean_ctor_set(x_6, 1, x_5); @@ -1043,7 +1052,7 @@ lean_ctor_set(x_7, 1, x_4); return x_7; } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__1() { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__1() { _start: { lean_object* x_1; @@ -1051,38 +1060,38 @@ x_1 = l_Lean_Elab_unsupportedSyntaxExceptionId; return x_1; } } -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__2() { +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__1; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__1; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__2; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__2; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg), 1, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg), 1, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; @@ -1251,7 +1260,7 @@ return x_41; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__2(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; lean_object* x_7; @@ -1263,7 +1272,7 @@ lean_ctor_set(x_7, 1, x_4); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -1274,7 +1283,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -1285,7 +1294,7 @@ lean_ctor_set(x_8, 1, x_6); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 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; @@ -1317,23 +1326,23 @@ x_16 = lean_ctor_get(x_14, 3); lean_inc(x_16); lean_dec(x_14); lean_inc(x_8); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__1___boxed), 4, 1); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__1___boxed), 4, 1); lean_closure_set(x_17, 0, x_8); lean_inc(x_12); x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed), 3, 1); lean_closure_set(x_18, 0, x_12); lean_inc(x_8); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__2___boxed), 4, 1); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__2___boxed), 4, 1); lean_closure_set(x_19, 0, x_8); lean_inc(x_16); lean_inc(x_12); lean_inc(x_8); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__3___boxed), 6, 3); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__3___boxed), 6, 3); lean_closure_set(x_20, 0, x_8); lean_closure_set(x_20, 1, x_12); lean_closure_set(x_20, 2, x_16); lean_inc(x_8); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__4___boxed), 6, 3); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__4___boxed), 6, 3); lean_closure_set(x_21, 0, x_8); lean_closure_set(x_21, 1, x_12); lean_closure_set(x_21, 2, x_16); @@ -1527,14 +1536,14 @@ x_82 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_82, 0, x_79); x_83 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_83, 0, x_82); -x_84 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__2(x_78, x_83, x_2, x_3, x_36); +x_84 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__3(x_78, x_83, x_2, x_3, x_36); return x_84; } else { lean_object* x_85; lean_dec(x_79); -x_85 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4(x_78, x_2, x_3, x_36); +x_85 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5(x_78, x_2, x_3, x_36); lean_dec(x_3); lean_dec(x_2); return x_85; @@ -1545,7 +1554,7 @@ else lean_object* x_86; lean_dec(x_3); lean_dec(x_2); -x_86 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg(x_36); +x_86 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg(x_36); return x_86; } } @@ -2000,7 +2009,7 @@ _start: lean_object* x_10; lean_object* x_11; x_10 = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkInstanceName___lambda__2), 8, 1); lean_closure_set(x_10, 0, x_1); -x_11 = l_Lean_Elab_Term_withoutErrToSorry___rarg(x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } @@ -2253,7 +2262,7 @@ x_25 = l_Lean_Name_str___override(x_24, x_23); x_26 = lean_alloc_closure((void*)(l_Lean_Elab_mkUnusedBaseName), 3, 1); lean_closure_set(x_26, 0, x_25); lean_inc(x_4); -x_27 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1(x_26, x_3, x_4, x_21); +x_27 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2(x_26, x_3, x_4, x_21); if (lean_obj_tag(x_27) == 0) { lean_dec(x_7); @@ -2292,68 +2301,68 @@ return x_35; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwError___at_Lean_Elab_Command_mkInstanceName___spec__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___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_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5(x_1, x_2); +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__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_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__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_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); return x_7; } @@ -2515,7 +2524,7 @@ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkDefV _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__2; +x_5 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__2; x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_1); lean_ctor_set(x_6, 1, x_5); @@ -2529,7 +2538,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Comma _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__2; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__2; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -2576,23 +2585,23 @@ x_16 = lean_ctor_get(x_14, 3); lean_inc(x_16); lean_dec(x_14); lean_inc(x_8); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__1___boxed), 4, 1); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__1___boxed), 4, 1); lean_closure_set(x_17, 0, x_8); lean_inc(x_12); x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed), 3, 1); lean_closure_set(x_18, 0, x_12); lean_inc(x_8); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__2___boxed), 4, 1); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__2___boxed), 4, 1); lean_closure_set(x_19, 0, x_8); lean_inc(x_16); lean_inc(x_12); lean_inc(x_8); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__3___boxed), 6, 3); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__3___boxed), 6, 3); lean_closure_set(x_20, 0, x_8); lean_closure_set(x_20, 1, x_12); lean_closure_set(x_20, 2, x_16); lean_inc(x_8); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__4___boxed), 6, 3); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__4___boxed), 6, 3); lean_closure_set(x_21, 0, x_8); lean_closure_set(x_21, 1, x_12); lean_closure_set(x_21, 2, x_16); @@ -2925,7 +2934,7 @@ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkDefV _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__2; +x_5 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__2; x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_1); lean_ctor_set(x_6, 1, x_5); @@ -2939,7 +2948,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Comma _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__2; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__2; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -2986,23 +2995,23 @@ x_16 = lean_ctor_get(x_14, 3); lean_inc(x_16); lean_dec(x_14); lean_inc(x_8); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__1___boxed), 4, 1); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__1___boxed), 4, 1); lean_closure_set(x_17, 0, x_8); lean_inc(x_12); x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed), 3, 1); lean_closure_set(x_18, 0, x_12); lean_inc(x_8); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__2___boxed), 4, 1); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__2___boxed), 4, 1); lean_closure_set(x_19, 0, x_8); lean_inc(x_16); lean_inc(x_12); lean_inc(x_8); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__3___boxed), 6, 3); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__3___boxed), 6, 3); lean_closure_set(x_20, 0, x_8); lean_closure_set(x_20, 1, x_12); lean_closure_set(x_20, 2, x_16); lean_inc(x_8); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__1___lambda__4___boxed), 6, 3); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_mkInstanceName___spec__2___lambda__4___boxed), 6, 3); lean_closure_set(x_21, 0, x_8); lean_closure_set(x_21, 1, x_12); lean_closure_set(x_21, 2, x_16); @@ -4575,14 +4584,14 @@ l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__5 = _init_l_Lean_Elab_Command_mk lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__5); l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__6 = _init_l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__6(); lean_mark_persistent(l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__6); -l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__1(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__1); -l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__2(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__4___closed__2); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__1); -l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__2 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__2(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__5___rarg___closed__2); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__1(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__1); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__2(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkInstanceName___spec__5___closed__2); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__1); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__2 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___closed__2); l_Lean_Elab_Command_mkInstanceName___lambda__1___closed__1 = _init_l_Lean_Elab_Command_mkInstanceName___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_mkInstanceName___lambda__1___closed__1); l_Lean_Elab_Command_mkInstanceName___lambda__1___closed__2 = _init_l_Lean_Elab_Command_mkInstanceName___lambda__1___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Deriving/Basic.c b/stage0/stdlib/Lean/Elab/Deriving/Basic.c index f90bd75ebf..e1906304bd 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Basic.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Basic.c @@ -20,7 +20,6 @@ size_t lean_usize_add(size_t, size_t); static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_elabDeriving___spec__10___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); static lean_object* l_Lean_Elab_defaultHandler___closed__4; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_elabDeriving_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_registerBuiltinDerivingHandlerWithArgs___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -130,6 +129,7 @@ static lean_object* l_Lean_Elab_elabDeriving___closed__6; lean_object* l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_elabDeriving___spec__12___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_elabDeriving___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); @@ -1401,7 +1401,7 @@ x_24 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_24, 0, x_23); x_25 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_25, 0, x_24); -x_26 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__2(x_1, x_25, x_2, x_3, x_7); +x_26 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__3(x_1, x_25, x_2, x_3, x_7); return x_26; } else @@ -1472,7 +1472,7 @@ x_51 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_51, 0, x_50); x_52 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_52, 0, x_51); -x_53 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__2(x_1, x_52, x_2, x_3, x_34); +x_53 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__3(x_1, x_52, x_2, x_3, x_34); return x_53; } } diff --git a/stage0/stdlib/Lean/Elab/Deriving/Repr.c b/stage0/stdlib/Lean/Elab/Deriving/Repr.c index ae98bfdec1..3430ef8a9a 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Repr.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Repr.c @@ -249,7 +249,6 @@ static lean_object* l_Lean_Elab_Deriving_Repr_mkReprHeader___closed__24; static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__7; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForInduct_mkAlts___spec__2___closed__7; static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___lambda__2___closed__13; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; @@ -308,6 +307,7 @@ static lean_object* l_Lean_Elab_Deriving_Repr_mkMutualBlock___closed__2; static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__16; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Deriving_Repr_0__Lean_Elab_Deriving_Repr_mkReprInstanceCmds___closed__4; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_Repr_mkBodyForStruct___spec__3___lambda__1___closed__3; static lean_object* l_Lean_Elab_Deriving_Repr_mkAuxFunction___lambda__1___closed__8; static lean_object* l_Lean_Elab_Deriving_Repr_mkBodyForStruct___lambda__2___closed__4; @@ -2769,7 +2769,7 @@ lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_dec(x_27); lean_dec(x_3); x_32 = l_Lean_Elab_Deriving_Repr_mkBodyForStruct___lambda__2___closed__18; -x_33 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +x_33 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_32, x_6, x_7, x_8, x_9, x_10, x_11, x_19); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index 9f9ec2ef38..120da897d3 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -1077,7 +1077,6 @@ static lean_object* l_Lean_Elab_Term_Do_mkFreshJP___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__27; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_pullExitPointsAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_attachJP___boxed(lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclHasBinders___boxed(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple___spec__1(lean_object*); @@ -1328,6 +1327,7 @@ static lean_object* l_Lean_Elab_Term_Do_hasBreakContinueReturn___closed__1; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_mkReassignCore___spec__1(lean_object*, lean_object*, size_t, size_t); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___closed__1; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__12; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getPatternsVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_Do_mkJmp___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__5; @@ -12272,7 +12272,7 @@ lean_ctor_set(x_22, 7, x_17); lean_ctor_set(x_22, 8, x_18); lean_ctor_set(x_22, 9, x_19); lean_ctor_set(x_22, 10, x_20); -x_23 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_2, x_3, x_4, x_5, x_6, x_22, x_8, x_9); +x_23 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_3, x_4, x_5, x_6, x_22, x_8, x_9); lean_dec(x_22); return x_23; } @@ -12614,6 +12614,7 @@ x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); x_14 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_13); +lean_dec(x_10); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); @@ -12657,6 +12658,7 @@ x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); x_14 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_13); +lean_dec(x_10); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index 75c4089e34..65f279cd0b 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -15,7 +15,6 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__4; lean_object* l_Lean_Elab_ContextInfo_save___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -161,7 +160,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fi static lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__5; static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__3; @@ -344,7 +342,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inducti LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__7___boxed__const__1; LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -394,7 +391,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInd lean_object* l_Lean_replaceRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_simpLevelMax_x27(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__2; @@ -496,14 +492,12 @@ lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__23; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceArrowBinderNames(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__13; static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__1(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__21; LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -534,7 +528,6 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0_ lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___closed__2; lean_object* l_Lean_Expr_bvar___override(lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___lambda__3___closed__6; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_shouldInferResultUniverse___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -574,6 +567,7 @@ static lean_object* l_Lean_Elab_Command_accLevelAtCtor___closed__2; LEAN_EXPORT lean_object* l_Lean_mkIBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__6(lean_object*, 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_Elab_DerivingClassView_applyHandlers(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -609,9 +603,9 @@ size_t lean_ptr_addr(lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__3___closed__1; lean_object* lean_mk_below(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__6___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withExplicitToImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); @@ -736,7 +730,6 @@ lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object* LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__7___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__8___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__9___closed__3; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__19; @@ -746,7 +739,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__1(lean lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Level_max___override(lean_object*, lean_object*); @@ -918,6 +910,7 @@ static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__6___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedCtorView___closed__1; size_t lean_usize_of_nat(lean_object*); lean_object* lean_mk_binduction_on(lean_object*, lean_object*); @@ -5291,7 +5284,7 @@ _start: { if (lean_obj_tag(x_1) == 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; uint8_t x_16; lean_object* x_17; lean_object* x_114; lean_object* x_115; uint8_t x_116; +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; x_9 = lean_ctor_get(x_1, 3); lean_inc(x_9); lean_dec(x_1); @@ -5308,237 +5301,172 @@ lean_dec(x_12); x_15 = lean_ctor_get(x_13, 0); lean_inc(x_15); lean_dec(x_13); -x_114 = l_Lean_localDeclDependsOnPred___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__2___closed__1; -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_15); -x_116 = l_Lean_Expr_hasFVar(x_9); -if (x_116 == 0) +x_16 = l_Lean_localDeclDependsOnPred___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__2___closed__1; +lean_inc(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_15); +x_18 = l_Lean_Expr_hasFVar(x_9); +if (x_18 == 0) { -uint8_t x_117; -x_117 = l_Lean_Expr_hasMVar(x_9); -if (x_117 == 0) +uint8_t x_19; +x_19 = l_Lean_Expr_hasMVar(x_9); +if (x_19 == 0) { -uint8_t x_118; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_dec(x_17); lean_dec(x_9); lean_dec(x_3); lean_dec(x_2); -x_118 = 0; -x_16 = x_118; -x_17 = x_115; -goto block_113; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_119 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_9, x_115); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_unbox(x_120); -lean_dec(x_120); -x_16 = x_122; -x_17 = x_121; -goto block_113; -} -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; -x_123 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_9, x_115); -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 = lean_unbox(x_124); -lean_dec(x_124); -x_16 = x_126; -x_17 = x_125; -goto block_113; -} -block_113: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_st_ref_get(x_7, x_14); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_st_ref_take(x_5, x_20); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get_uint8(x_18, sizeof(void*)*8); -if (x_23 == 0) -{ -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; uint8_t x_34; -x_24 = lean_ctor_get(x_22, 0); +x_20 = lean_st_ref_get(x_7, x_14); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_st_ref_take(x_5, x_21); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -lean_dec(x_21); -x_26 = lean_ctor_get(x_18, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_18, 1); -lean_inc(x_27); -x_28 = lean_ctor_get(x_18, 2); -lean_inc(x_28); -x_29 = lean_ctor_get(x_18, 3); -lean_inc(x_29); -x_30 = lean_ctor_get(x_18, 4); -lean_inc(x_30); -x_31 = lean_ctor_get(x_18, 5); -lean_inc(x_31); -x_32 = lean_ctor_get(x_18, 6); +lean_dec(x_22); +x_25 = !lean_is_exclusive(x_23); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_23, 0); +lean_dec(x_26); +lean_ctor_set(x_23, 0, x_15); +x_27 = lean_st_ref_set(x_5, x_23, x_24); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +x_30 = 0; +x_31 = lean_box(x_30); +lean_ctor_set(x_27, 0, x_31); +return x_27; +} +else +{ +lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_27, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_18, 7); -lean_inc(x_33); -lean_dec(x_18); -x_34 = !lean_is_exclusive(x_22); -if (x_34 == 0) +lean_dec(x_27); +x_33 = 0; +x_34 = lean_box(x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +} +else { -lean_object* x_35; uint8_t x_36; -x_35 = lean_ctor_get(x_22, 0); -lean_dec(x_35); -x_36 = !lean_is_exclusive(x_24); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_37 = lean_ctor_get(x_24, 7); -lean_dec(x_37); -x_38 = lean_ctor_get(x_24, 6); -lean_dec(x_38); -x_39 = lean_ctor_get(x_24, 5); -lean_dec(x_39); -x_40 = lean_ctor_get(x_24, 4); -lean_dec(x_40); -x_41 = lean_ctor_get(x_24, 3); -lean_dec(x_41); -x_42 = lean_ctor_get(x_24, 2); -lean_dec(x_42); -x_43 = lean_ctor_get(x_24, 1); -lean_dec(x_43); -x_44 = lean_ctor_get(x_24, 0); -lean_dec(x_44); -lean_ctor_set(x_24, 7, x_33); -lean_ctor_set(x_24, 6, x_32); -lean_ctor_set(x_24, 5, x_31); -lean_ctor_set(x_24, 4, x_30); -lean_ctor_set(x_24, 3, x_29); -lean_ctor_set(x_24, 2, x_28); -lean_ctor_set(x_24, 1, x_27); -lean_ctor_set(x_24, 0, x_26); -x_45 = lean_st_ref_set(x_5, x_22, x_25); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -x_48 = lean_box(x_16); -lean_ctor_set(x_45, 0, x_48); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; +x_36 = lean_ctor_get(x_23, 1); +x_37 = lean_ctor_get(x_23, 2); +x_38 = lean_ctor_get(x_23, 3); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_23); +x_39 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_39, 0, x_15); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_37); +lean_ctor_set(x_39, 3, x_38); +x_40 = lean_st_ref_set(x_5, x_39, x_24); +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_42 = x_40; +} else { + lean_dec_ref(x_40); + x_42 = lean_box(0); +} +x_43 = 0; +x_44 = lean_box(x_43); +if (lean_is_scalar(x_42)) { + x_45 = lean_alloc_ctor(0, 2, 0); +} else { + x_45 = x_42; +} +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_41); return x_45; } +} else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_45, 1); +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; uint8_t x_55; +lean_dec(x_15); +x_46 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_9, x_17); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 0); +lean_inc(x_48); +lean_dec(x_46); +x_49 = lean_ctor_get(x_47, 1); lean_inc(x_49); -lean_dec(x_45); -x_50 = lean_box(x_16); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -return x_51; -} +lean_dec(x_47); +x_50 = lean_st_ref_get(x_7, x_14); +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +lean_dec(x_50); +x_52 = lean_st_ref_take(x_5, x_51); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = !lean_is_exclusive(x_53); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_56 = lean_ctor_get(x_53, 0); +lean_dec(x_56); +lean_ctor_set(x_53, 0, x_49); +x_57 = lean_st_ref_set(x_5, x_53, x_54); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) +{ +lean_object* x_59; +x_59 = lean_ctor_get(x_57, 0); +lean_dec(x_59); +lean_ctor_set(x_57, 0, x_48); +return x_57; } else { -uint8_t 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_52 = lean_ctor_get_uint8(x_24, sizeof(void*)*8); -lean_dec(x_24); -x_53 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_53, 0, x_26); -lean_ctor_set(x_53, 1, x_27); -lean_ctor_set(x_53, 2, x_28); -lean_ctor_set(x_53, 3, x_29); -lean_ctor_set(x_53, 4, x_30); -lean_ctor_set(x_53, 5, x_31); -lean_ctor_set(x_53, 6, x_32); -lean_ctor_set(x_53, 7, x_33); -lean_ctor_set_uint8(x_53, sizeof(void*)*8, x_52); -lean_ctor_set(x_22, 0, x_53); -x_54 = lean_st_ref_set(x_5, x_22, x_25); -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - x_56 = x_54; -} else { - lean_dec_ref(x_54); - x_56 = lean_box(0); -} -x_57 = lean_box(x_16); -if (lean_is_scalar(x_56)) { - x_58 = lean_alloc_ctor(0, 2, 0); -} else { - x_58 = x_56; -} -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_55); -return x_58; -} -} -else -{ -lean_object* x_59; lean_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; -x_59 = lean_ctor_get(x_22, 1); -x_60 = lean_ctor_get(x_22, 2); -x_61 = lean_ctor_get(x_22, 3); -lean_inc(x_61); +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_57, 1); lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_22); -x_62 = lean_ctor_get_uint8(x_24, sizeof(void*)*8); -if (lean_is_exclusive(x_24)) { - lean_ctor_release(x_24, 0); - lean_ctor_release(x_24, 1); - lean_ctor_release(x_24, 2); - lean_ctor_release(x_24, 3); - lean_ctor_release(x_24, 4); - lean_ctor_release(x_24, 5); - lean_ctor_release(x_24, 6); - lean_ctor_release(x_24, 7); - x_63 = x_24; -} else { - lean_dec_ref(x_24); - x_63 = lean_box(0); +lean_dec(x_57); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_48); +lean_ctor_set(x_61, 1, x_60); +return x_61; } -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(0, 8, 1); -} else { - x_64 = x_63; } -lean_ctor_set(x_64, 0, x_26); -lean_ctor_set(x_64, 1, x_27); -lean_ctor_set(x_64, 2, x_28); -lean_ctor_set(x_64, 3, x_29); -lean_ctor_set(x_64, 4, x_30); -lean_ctor_set(x_64, 5, x_31); -lean_ctor_set(x_64, 6, x_32); -lean_ctor_set(x_64, 7, x_33); -lean_ctor_set_uint8(x_64, sizeof(void*)*8, x_62); +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_62 = lean_ctor_get(x_53, 1); +x_63 = lean_ctor_get(x_53, 2); +x_64 = lean_ctor_get(x_53, 3); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_53); x_65 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_59); -lean_ctor_set(x_65, 2, x_60); -lean_ctor_set(x_65, 3, x_61); -x_66 = lean_st_ref_set(x_5, x_65, x_25); +lean_ctor_set(x_65, 0, x_49); +lean_ctor_set(x_65, 1, x_62); +lean_ctor_set(x_65, 2, x_63); +lean_ctor_set(x_65, 3, x_64); +x_66 = lean_st_ref_set(x_5, x_65, x_54); x_67 = lean_ctor_get(x_66, 1); lean_inc(x_67); if (lean_is_exclusive(x_66)) { @@ -5549,676 +5477,325 @@ if (lean_is_exclusive(x_66)) { lean_dec_ref(x_66); x_68 = lean_box(0); } -x_69 = lean_box(x_16); if (lean_is_scalar(x_68)) { - x_70 = lean_alloc_ctor(0, 2, 0); + x_69 = lean_alloc_ctor(0, 2, 0); } else { - x_70 = x_68; + x_69 = x_68; +} +lean_ctor_set(x_69, 0, x_48); +lean_ctor_set(x_69, 1, x_67); +return x_69; } -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_67); -return x_70; } } else { -lean_object* x_71; uint8_t x_72; -x_71 = lean_ctor_get(x_21, 1); +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; uint8_t x_79; +lean_dec(x_15); +x_70 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_9, x_17); +x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); -lean_dec(x_21); -x_72 = !lean_is_exclusive(x_18); -if (x_72 == 0) -{ -uint8_t x_73; -x_73 = !lean_is_exclusive(x_22); -if (x_73 == 0) -{ -lean_object* x_74; uint8_t x_75; lean_object* x_76; uint8_t x_77; -x_74 = lean_ctor_get(x_22, 0); +x_72 = lean_ctor_get(x_70, 0); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_st_ref_get(x_7, x_14); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); lean_dec(x_74); -x_75 = 1; -lean_ctor_set_uint8(x_18, sizeof(void*)*8, x_75); -lean_ctor_set(x_22, 0, x_18); -x_76 = lean_st_ref_set(x_5, x_22, x_71); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_76, 0); -lean_dec(x_78); -x_79 = lean_box(x_16); -lean_ctor_set(x_76, 0, x_79); -return x_76; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_76, 1); -lean_inc(x_80); +x_76 = lean_st_ref_take(x_5, x_75); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); lean_dec(x_76); -x_81 = lean_box(x_16); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -return x_82; -} +x_79 = !lean_is_exclusive(x_77); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_80 = lean_ctor_get(x_77, 0); +lean_dec(x_80); +lean_ctor_set(x_77, 0, x_73); +x_81 = lean_st_ref_set(x_5, x_77, x_78); +x_82 = !lean_is_exclusive(x_81); +if (x_82 == 0) +{ +lean_object* x_83; +x_83 = lean_ctor_get(x_81, 0); +lean_dec(x_83); +lean_ctor_set(x_81, 0, x_72); +return x_81; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_83 = lean_ctor_get(x_22, 1); -x_84 = lean_ctor_get(x_22, 2); -x_85 = lean_ctor_get(x_22, 3); -lean_inc(x_85); +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_81, 1); lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_22); -x_86 = 1; -lean_ctor_set_uint8(x_18, sizeof(void*)*8, x_86); -x_87 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_87, 0, x_18); -lean_ctor_set(x_87, 1, x_83); -lean_ctor_set(x_87, 2, x_84); -lean_ctor_set(x_87, 3, x_85); -x_88 = lean_st_ref_set(x_5, x_87, x_71); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_90 = x_88; -} else { - lean_dec_ref(x_88); - x_90 = lean_box(0); -} -x_91 = lean_box(x_16); -if (lean_is_scalar(x_90)) { - x_92 = lean_alloc_ctor(0, 2, 0); -} else { - x_92 = x_90; -} -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_89); -return x_92; +lean_dec(x_81); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_72); +lean_ctor_set(x_85, 1, x_84); +return x_85; } } else { -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; 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; -x_93 = lean_ctor_get(x_18, 0); -x_94 = lean_ctor_get(x_18, 1); -x_95 = lean_ctor_get(x_18, 2); -x_96 = lean_ctor_get(x_18, 3); -x_97 = lean_ctor_get(x_18, 4); -x_98 = lean_ctor_get(x_18, 5); -x_99 = lean_ctor_get(x_18, 6); -x_100 = lean_ctor_get(x_18, 7); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_86 = lean_ctor_get(x_77, 1); +x_87 = lean_ctor_get(x_77, 2); +x_88 = lean_ctor_get(x_77, 3); +lean_inc(x_88); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_77); +x_89 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_89, 0, x_73); +lean_ctor_set(x_89, 1, x_86); +lean_ctor_set(x_89, 2, x_87); +lean_ctor_set(x_89, 3, x_88); +x_90 = lean_st_ref_set(x_5, x_89, x_78); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_92 = x_90; +} else { + lean_dec_ref(x_90); + x_92 = lean_box(0); +} +if (lean_is_scalar(x_92)) { + x_93 = lean_alloc_ctor(0, 2, 0); +} else { + x_93 = x_92; +} +lean_ctor_set(x_93, 0, x_72); +lean_ctor_set(x_93, 1, x_91); +return x_93; +} +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; uint8_t x_129; lean_object* x_130; lean_object* x_143; lean_object* x_144; uint8_t x_145; +x_94 = lean_ctor_get(x_1, 3); lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_18); -x_101 = lean_ctor_get(x_22, 1); +x_95 = lean_ctor_get(x_1, 4); +lean_inc(x_95); +lean_dec(x_1); +x_96 = lean_st_ref_get(x_7, x_8); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +lean_dec(x_96); +x_98 = lean_st_ref_get(x_5, x_97); +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = lean_ctor_get(x_99, 0); lean_inc(x_101); -x_102 = lean_ctor_get(x_22, 2); -lean_inc(x_102); -x_103 = lean_ctor_get(x_22, 3); -lean_inc(x_103); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - lean_ctor_release(x_22, 2); - lean_ctor_release(x_22, 3); - x_104 = x_22; -} else { - lean_dec_ref(x_22); - x_104 = lean_box(0); +lean_dec(x_99); +x_143 = l_Lean_localDeclDependsOnPred___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__2___closed__1; +x_144 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_101); +x_145 = l_Lean_Expr_hasFVar(x_94); +if (x_145 == 0) +{ +uint8_t x_146; +x_146 = l_Lean_Expr_hasMVar(x_94); +if (x_146 == 0) +{ +uint8_t x_147; +lean_dec(x_94); +x_147 = 0; +x_129 = x_147; +x_130 = x_144; +goto block_142; } -x_105 = 1; -x_106 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_106, 0, x_93); -lean_ctor_set(x_106, 1, x_94); -lean_ctor_set(x_106, 2, x_95); -lean_ctor_set(x_106, 3, x_96); -lean_ctor_set(x_106, 4, x_97); -lean_ctor_set(x_106, 5, x_98); -lean_ctor_set(x_106, 6, x_99); -lean_ctor_set(x_106, 7, x_100); -lean_ctor_set_uint8(x_106, sizeof(void*)*8, x_105); -if (lean_is_scalar(x_104)) { - x_107 = lean_alloc_ctor(0, 4, 0); -} else { - x_107 = x_104; +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +lean_inc(x_3); +lean_inc(x_2); +x_148 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_94, x_144); +x_149 = lean_ctor_get(x_148, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_148, 1); +lean_inc(x_150); +lean_dec(x_148); +x_151 = lean_unbox(x_149); +lean_dec(x_149); +x_129 = x_151; +x_130 = x_150; +goto block_142; } -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_101); -lean_ctor_set(x_107, 2, x_102); -lean_ctor_set(x_107, 3, x_103); -x_108 = lean_st_ref_set(x_5, x_107, x_71); -x_109 = lean_ctor_get(x_108, 1); +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_inc(x_3); +lean_inc(x_2); +x_152 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_94, x_144); +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +lean_dec(x_152); +x_155 = lean_unbox(x_153); +lean_dec(x_153); +x_129 = x_155; +x_130 = x_154; +goto block_142; +} +block_128: +{ +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; +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +lean_dec(x_103); +x_105 = lean_st_ref_get(x_7, x_100); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +lean_dec(x_105); +x_107 = lean_st_ref_take(x_5, x_106); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_107, 1); lean_inc(x_109); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - x_110 = x_108; -} else { - lean_dec_ref(x_108); - x_110 = lean_box(0); -} -x_111 = lean_box(x_16); -if (lean_is_scalar(x_110)) { - x_112 = lean_alloc_ctor(0, 2, 0); -} else { - x_112 = x_110; -} -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_109); +lean_dec(x_107); +x_110 = !lean_is_exclusive(x_108); +if (x_110 == 0) +{ +lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_111 = lean_ctor_get(x_108, 0); +lean_dec(x_111); +lean_ctor_set(x_108, 0, x_104); +x_112 = lean_st_ref_set(x_5, x_108, x_109); +x_113 = !lean_is_exclusive(x_112); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; +x_114 = lean_ctor_get(x_112, 0); +lean_dec(x_114); +x_115 = lean_box(x_102); +lean_ctor_set(x_112, 0, x_115); return x_112; } -} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_112, 1); +lean_inc(x_116); +lean_dec(x_112); +x_117 = lean_box(x_102); +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_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; lean_object* x_136; uint8_t x_233; lean_object* x_234; lean_object* x_247; lean_object* x_248; uint8_t x_249; -x_127 = lean_ctor_get(x_1, 3); -lean_inc(x_127); -x_128 = lean_ctor_get(x_1, 4); -lean_inc(x_128); -lean_dec(x_1); -x_129 = lean_st_ref_get(x_7, x_8); -x_130 = lean_ctor_get(x_129, 1); -lean_inc(x_130); -lean_dec(x_129); -x_131 = lean_st_ref_get(x_5, x_130); -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); -lean_inc(x_133); -lean_dec(x_131); -x_134 = lean_ctor_get(x_132, 0); -lean_inc(x_134); -lean_dec(x_132); -x_247 = l_Lean_localDeclDependsOnPred___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__2___closed__1; -x_248 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_248, 0, x_247); -lean_ctor_set(x_248, 1, x_134); -x_249 = l_Lean_Expr_hasFVar(x_127); -if (x_249 == 0) +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_119 = lean_ctor_get(x_108, 1); +x_120 = lean_ctor_get(x_108, 2); +x_121 = lean_ctor_get(x_108, 3); +lean_inc(x_121); +lean_inc(x_120); +lean_inc(x_119); +lean_dec(x_108); +x_122 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_122, 0, x_104); +lean_ctor_set(x_122, 1, x_119); +lean_ctor_set(x_122, 2, x_120); +lean_ctor_set(x_122, 3, x_121); +x_123 = lean_st_ref_set(x_5, x_122, x_109); +x_124 = lean_ctor_get(x_123, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_125 = x_123; +} else { + lean_dec_ref(x_123); + x_125 = lean_box(0); +} +x_126 = lean_box(x_102); +if (lean_is_scalar(x_125)) { + x_127 = lean_alloc_ctor(0, 2, 0); +} else { + x_127 = x_125; +} +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_124); +return x_127; +} +} +block_142: { -uint8_t x_250; -x_250 = l_Lean_Expr_hasMVar(x_127); -if (x_250 == 0) +if (x_129 == 0) { -uint8_t x_251; -lean_dec(x_127); -x_251 = 0; -x_233 = x_251; -x_234 = x_248; -goto block_246; +uint8_t x_131; +x_131 = l_Lean_Expr_hasFVar(x_95); +if (x_131 == 0) +{ +uint8_t x_132; +x_132 = l_Lean_Expr_hasMVar(x_95); +if (x_132 == 0) +{ +uint8_t x_133; +lean_dec(x_95); +lean_dec(x_3); +lean_dec(x_2); +x_133 = 0; +x_102 = x_133; +x_103 = x_130; +goto block_128; } else { -lean_object* x_252; lean_object* x_253; lean_object* x_254; uint8_t x_255; -lean_inc(x_3); -lean_inc(x_2); -x_252 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_127, x_248); -x_253 = lean_ctor_get(x_252, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_252, 1); -lean_inc(x_254); -lean_dec(x_252); -x_255 = lean_unbox(x_253); -lean_dec(x_253); -x_233 = x_255; -x_234 = x_254; -goto block_246; +lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +x_134 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_95, x_130); +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec(x_134); +x_137 = lean_unbox(x_135); +lean_dec(x_135); +x_102 = x_137; +x_103 = x_136; +goto block_128; } } else { -lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; -lean_inc(x_3); -lean_inc(x_2); -x_256 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_127, x_248); -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 = lean_unbox(x_257); -lean_dec(x_257); -x_233 = x_259; -x_234 = x_258; -goto block_246; -} -block_232: -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; -x_137 = lean_ctor_get(x_136, 1); -lean_inc(x_137); -lean_dec(x_136); -x_138 = lean_st_ref_get(x_7, x_133); -x_139 = lean_ctor_get(x_138, 1); +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +x_138 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_95, x_130); +x_139 = lean_ctor_get(x_138, 0); lean_inc(x_139); +x_140 = lean_ctor_get(x_138, 1); +lean_inc(x_140); lean_dec(x_138); -x_140 = lean_st_ref_take(x_5, x_139); -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get_uint8(x_137, sizeof(void*)*8); -if (x_142 == 0) -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; -x_143 = lean_ctor_get(x_141, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_140, 1); -lean_inc(x_144); -lean_dec(x_140); -x_145 = lean_ctor_get(x_137, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_137, 1); -lean_inc(x_146); -x_147 = lean_ctor_get(x_137, 2); -lean_inc(x_147); -x_148 = lean_ctor_get(x_137, 3); -lean_inc(x_148); -x_149 = lean_ctor_get(x_137, 4); -lean_inc(x_149); -x_150 = lean_ctor_get(x_137, 5); -lean_inc(x_150); -x_151 = lean_ctor_get(x_137, 6); -lean_inc(x_151); -x_152 = lean_ctor_get(x_137, 7); -lean_inc(x_152); -lean_dec(x_137); -x_153 = !lean_is_exclusive(x_141); -if (x_153 == 0) -{ -lean_object* x_154; uint8_t x_155; -x_154 = lean_ctor_get(x_141, 0); -lean_dec(x_154); -x_155 = !lean_is_exclusive(x_143); -if (x_155 == 0) -{ -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; uint8_t x_165; -x_156 = lean_ctor_get(x_143, 7); -lean_dec(x_156); -x_157 = lean_ctor_get(x_143, 6); -lean_dec(x_157); -x_158 = lean_ctor_get(x_143, 5); -lean_dec(x_158); -x_159 = lean_ctor_get(x_143, 4); -lean_dec(x_159); -x_160 = lean_ctor_get(x_143, 3); -lean_dec(x_160); -x_161 = lean_ctor_get(x_143, 2); -lean_dec(x_161); -x_162 = lean_ctor_get(x_143, 1); -lean_dec(x_162); -x_163 = lean_ctor_get(x_143, 0); -lean_dec(x_163); -lean_ctor_set(x_143, 7, x_152); -lean_ctor_set(x_143, 6, x_151); -lean_ctor_set(x_143, 5, x_150); -lean_ctor_set(x_143, 4, x_149); -lean_ctor_set(x_143, 3, x_148); -lean_ctor_set(x_143, 2, x_147); -lean_ctor_set(x_143, 1, x_146); -lean_ctor_set(x_143, 0, x_145); -x_164 = lean_st_ref_set(x_5, x_141, x_144); -x_165 = !lean_is_exclusive(x_164); -if (x_165 == 0) -{ -lean_object* x_166; lean_object* x_167; -x_166 = lean_ctor_get(x_164, 0); -lean_dec(x_166); -x_167 = lean_box(x_135); -lean_ctor_set(x_164, 0, x_167); -return x_164; -} -else -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_168 = lean_ctor_get(x_164, 1); -lean_inc(x_168); -lean_dec(x_164); -x_169 = lean_box(x_135); -x_170 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_168); -return x_170; +x_141 = lean_unbox(x_139); +lean_dec(x_139); +x_102 = x_141; +x_103 = x_140; +goto block_128; } } else { -uint8_t 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; -x_171 = lean_ctor_get_uint8(x_143, sizeof(void*)*8); -lean_dec(x_143); -x_172 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_172, 0, x_145); -lean_ctor_set(x_172, 1, x_146); -lean_ctor_set(x_172, 2, x_147); -lean_ctor_set(x_172, 3, x_148); -lean_ctor_set(x_172, 4, x_149); -lean_ctor_set(x_172, 5, x_150); -lean_ctor_set(x_172, 6, x_151); -lean_ctor_set(x_172, 7, x_152); -lean_ctor_set_uint8(x_172, sizeof(void*)*8, x_171); -lean_ctor_set(x_141, 0, x_172); -x_173 = lean_st_ref_set(x_5, x_141, x_144); -x_174 = lean_ctor_get(x_173, 1); -lean_inc(x_174); -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_173); - x_175 = lean_box(0); -} -x_176 = lean_box(x_135); -if (lean_is_scalar(x_175)) { - x_177 = lean_alloc_ctor(0, 2, 0); -} else { - x_177 = x_175; -} -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_174); -return x_177; -} -} -else -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_178 = lean_ctor_get(x_141, 1); -x_179 = lean_ctor_get(x_141, 2); -x_180 = lean_ctor_get(x_141, 3); -lean_inc(x_180); -lean_inc(x_179); -lean_inc(x_178); -lean_dec(x_141); -x_181 = lean_ctor_get_uint8(x_143, sizeof(void*)*8); -if (lean_is_exclusive(x_143)) { - lean_ctor_release(x_143, 0); - lean_ctor_release(x_143, 1); - lean_ctor_release(x_143, 2); - lean_ctor_release(x_143, 3); - lean_ctor_release(x_143, 4); - lean_ctor_release(x_143, 5); - lean_ctor_release(x_143, 6); - lean_ctor_release(x_143, 7); - x_182 = x_143; -} else { - lean_dec_ref(x_143); - x_182 = lean_box(0); -} -if (lean_is_scalar(x_182)) { - x_183 = lean_alloc_ctor(0, 8, 1); -} else { - x_183 = x_182; -} -lean_ctor_set(x_183, 0, x_145); -lean_ctor_set(x_183, 1, x_146); -lean_ctor_set(x_183, 2, x_147); -lean_ctor_set(x_183, 3, x_148); -lean_ctor_set(x_183, 4, x_149); -lean_ctor_set(x_183, 5, x_150); -lean_ctor_set(x_183, 6, x_151); -lean_ctor_set(x_183, 7, x_152); -lean_ctor_set_uint8(x_183, sizeof(void*)*8, x_181); -x_184 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_184, 0, x_183); -lean_ctor_set(x_184, 1, x_178); -lean_ctor_set(x_184, 2, x_179); -lean_ctor_set(x_184, 3, x_180); -x_185 = lean_st_ref_set(x_5, x_184, x_144); -x_186 = lean_ctor_get(x_185, 1); -lean_inc(x_186); -if (lean_is_exclusive(x_185)) { - lean_ctor_release(x_185, 0); - lean_ctor_release(x_185, 1); - x_187 = x_185; -} else { - lean_dec_ref(x_185); - x_187 = lean_box(0); -} -x_188 = lean_box(x_135); -if (lean_is_scalar(x_187)) { - x_189 = lean_alloc_ctor(0, 2, 0); -} else { - x_189 = x_187; -} -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_186); -return x_189; -} -} -else -{ -lean_object* x_190; uint8_t x_191; -x_190 = lean_ctor_get(x_140, 1); -lean_inc(x_190); -lean_dec(x_140); -x_191 = !lean_is_exclusive(x_137); -if (x_191 == 0) -{ -uint8_t x_192; -x_192 = !lean_is_exclusive(x_141); -if (x_192 == 0) -{ -lean_object* x_193; uint8_t x_194; lean_object* x_195; uint8_t x_196; -x_193 = lean_ctor_get(x_141, 0); -lean_dec(x_193); -x_194 = 1; -lean_ctor_set_uint8(x_137, sizeof(void*)*8, x_194); -lean_ctor_set(x_141, 0, x_137); -x_195 = lean_st_ref_set(x_5, x_141, x_190); -x_196 = !lean_is_exclusive(x_195); -if (x_196 == 0) -{ -lean_object* x_197; lean_object* x_198; -x_197 = lean_ctor_get(x_195, 0); -lean_dec(x_197); -x_198 = lean_box(x_135); -lean_ctor_set(x_195, 0, x_198); -return x_195; -} -else -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_199 = lean_ctor_get(x_195, 1); -lean_inc(x_199); -lean_dec(x_195); -x_200 = lean_box(x_135); -x_201 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_199); -return x_201; -} -} -else -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t 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; -x_202 = lean_ctor_get(x_141, 1); -x_203 = lean_ctor_get(x_141, 2); -x_204 = lean_ctor_get(x_141, 3); -lean_inc(x_204); -lean_inc(x_203); -lean_inc(x_202); -lean_dec(x_141); -x_205 = 1; -lean_ctor_set_uint8(x_137, sizeof(void*)*8, x_205); -x_206 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_206, 0, x_137); -lean_ctor_set(x_206, 1, x_202); -lean_ctor_set(x_206, 2, x_203); -lean_ctor_set(x_206, 3, x_204); -x_207 = lean_st_ref_set(x_5, x_206, x_190); -x_208 = lean_ctor_get(x_207, 1); -lean_inc(x_208); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - x_209 = x_207; -} else { - lean_dec_ref(x_207); - x_209 = lean_box(0); -} -x_210 = lean_box(x_135); -if (lean_is_scalar(x_209)) { - x_211 = lean_alloc_ctor(0, 2, 0); -} else { - x_211 = x_209; -} -lean_ctor_set(x_211, 0, x_210); -lean_ctor_set(x_211, 1, x_208); -return x_211; -} -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t 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; -x_212 = lean_ctor_get(x_137, 0); -x_213 = lean_ctor_get(x_137, 1); -x_214 = lean_ctor_get(x_137, 2); -x_215 = lean_ctor_get(x_137, 3); -x_216 = lean_ctor_get(x_137, 4); -x_217 = lean_ctor_get(x_137, 5); -x_218 = lean_ctor_get(x_137, 6); -x_219 = lean_ctor_get(x_137, 7); -lean_inc(x_219); -lean_inc(x_218); -lean_inc(x_217); -lean_inc(x_216); -lean_inc(x_215); -lean_inc(x_214); -lean_inc(x_213); -lean_inc(x_212); -lean_dec(x_137); -x_220 = lean_ctor_get(x_141, 1); -lean_inc(x_220); -x_221 = lean_ctor_get(x_141, 2); -lean_inc(x_221); -x_222 = lean_ctor_get(x_141, 3); -lean_inc(x_222); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - lean_ctor_release(x_141, 2); - lean_ctor_release(x_141, 3); - x_223 = x_141; -} else { - lean_dec_ref(x_141); - x_223 = lean_box(0); -} -x_224 = 1; -x_225 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_225, 0, x_212); -lean_ctor_set(x_225, 1, x_213); -lean_ctor_set(x_225, 2, x_214); -lean_ctor_set(x_225, 3, x_215); -lean_ctor_set(x_225, 4, x_216); -lean_ctor_set(x_225, 5, x_217); -lean_ctor_set(x_225, 6, x_218); -lean_ctor_set(x_225, 7, x_219); -lean_ctor_set_uint8(x_225, sizeof(void*)*8, x_224); -if (lean_is_scalar(x_223)) { - x_226 = lean_alloc_ctor(0, 4, 0); -} else { - x_226 = x_223; -} -lean_ctor_set(x_226, 0, x_225); -lean_ctor_set(x_226, 1, x_220); -lean_ctor_set(x_226, 2, x_221); -lean_ctor_set(x_226, 3, x_222); -x_227 = lean_st_ref_set(x_5, x_226, x_190); -x_228 = lean_ctor_get(x_227, 1); -lean_inc(x_228); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_229 = x_227; -} else { - lean_dec_ref(x_227); - x_229 = lean_box(0); -} -x_230 = lean_box(x_135); -if (lean_is_scalar(x_229)) { - x_231 = lean_alloc_ctor(0, 2, 0); -} else { - x_231 = x_229; -} -lean_ctor_set(x_231, 0, x_230); -lean_ctor_set(x_231, 1, x_228); -return x_231; -} -} -} -block_246: -{ -if (x_233 == 0) -{ -uint8_t x_235; -x_235 = l_Lean_Expr_hasFVar(x_128); -if (x_235 == 0) -{ -uint8_t x_236; -x_236 = l_Lean_Expr_hasMVar(x_128); -if (x_236 == 0) -{ -uint8_t x_237; -lean_dec(x_128); +lean_dec(x_95); lean_dec(x_3); lean_dec(x_2); -x_237 = 0; -x_135 = x_237; -x_136 = x_234; -goto block_232; -} -else -{ -lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; -x_238 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_128, x_234); -x_239 = lean_ctor_get(x_238, 0); -lean_inc(x_239); -x_240 = lean_ctor_get(x_238, 1); -lean_inc(x_240); -lean_dec(x_238); -x_241 = lean_unbox(x_239); -lean_dec(x_239); -x_135 = x_241; -x_136 = x_240; -goto block_232; -} -} -else -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; -x_242 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_128, x_234); -x_243 = lean_ctor_get(x_242, 0); -lean_inc(x_243); -x_244 = lean_ctor_get(x_242, 1); -lean_inc(x_244); -lean_dec(x_242); -x_245 = lean_unbox(x_243); -lean_dec(x_243); -x_135 = x_245; -x_136 = x_244; -goto block_232; -} -} -else -{ -lean_dec(x_128); -lean_dec(x_3); -lean_dec(x_2); -x_135 = x_233; -x_136 = x_234; -goto block_232; +x_102 = x_129; +x_103 = x_130; +goto block_128; } } } @@ -8122,7 +7699,7 @@ x_17 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lamb x_18 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +x_19 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_13); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -8230,7 +7807,7 @@ x_16 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lamb x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_18 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -8511,7 +8088,7 @@ lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); x_17 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___closed__2; -x_18 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_18 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -10116,48 +9693,45 @@ lean_dec(x_17); x_18 = !lean_is_exclusive(x_14); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; uint8_t x_23; +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; x_19 = lean_ctor_get(x_14, 5); x_20 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_19, x_1, x_2); -x_21 = 1; lean_ctor_set(x_14, 5, x_20); -lean_ctor_set_uint8(x_14, sizeof(void*)*8, x_21); -x_22 = lean_st_ref_set(x_6, x_13, x_15); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +x_21 = lean_st_ref_set(x_6, x_13, x_15); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -x_25 = lean_box(0); -lean_ctor_set(x_22, 0, x_25); -return x_22; +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +x_24 = lean_box(0); +lean_ctor_set(x_21, 0, x_24); +return x_21; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); -lean_dec(x_22); -x_27 = lean_box(0); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -return x_28; +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_dec(x_21); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; } } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_29 = lean_ctor_get(x_14, 0); -x_30 = lean_ctor_get(x_14, 1); -x_31 = lean_ctor_get(x_14, 2); -x_32 = lean_ctor_get(x_14, 3); -x_33 = lean_ctor_get(x_14, 4); -x_34 = lean_ctor_get(x_14, 5); -x_35 = lean_ctor_get(x_14, 6); -x_36 = lean_ctor_get(x_14, 7); -lean_inc(x_36); +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; lean_object* x_42; +x_28 = lean_ctor_get(x_14, 0); +x_29 = lean_ctor_get(x_14, 1); +x_30 = lean_ctor_get(x_14, 2); +x_31 = lean_ctor_get(x_14, 3); +x_32 = lean_ctor_get(x_14, 4); +x_33 = lean_ctor_get(x_14, 5); +x_34 = lean_ctor_get(x_14, 6); +x_35 = lean_ctor_get(x_14, 7); lean_inc(x_35); lean_inc(x_34); lean_inc(x_33); @@ -10165,68 +9739,67 @@ lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); +lean_inc(x_28); lean_dec(x_14); -x_37 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_34, x_1, x_2); -x_38 = 1; -x_39 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_39, 0, x_29); -lean_ctor_set(x_39, 1, x_30); -lean_ctor_set(x_39, 2, x_31); -lean_ctor_set(x_39, 3, x_32); -lean_ctor_set(x_39, 4, x_33); -lean_ctor_set(x_39, 5, x_37); -lean_ctor_set(x_39, 6, x_35); -lean_ctor_set(x_39, 7, x_36); -lean_ctor_set_uint8(x_39, sizeof(void*)*8, x_38); -lean_ctor_set(x_13, 0, x_39); -x_40 = lean_st_ref_set(x_6, x_13, x_15); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); +x_36 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_33, x_1, x_2); +x_37 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_37, 0, x_28); +lean_ctor_set(x_37, 1, x_29); +lean_ctor_set(x_37, 2, x_30); +lean_ctor_set(x_37, 3, x_31); +lean_ctor_set(x_37, 4, x_32); +lean_ctor_set(x_37, 5, x_36); +lean_ctor_set(x_37, 6, x_34); +lean_ctor_set(x_37, 7, x_35); +lean_ctor_set(x_13, 0, x_37); +x_38 = lean_st_ref_set(x_6, x_13, x_15); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_40 = x_38; +} else { + lean_dec_ref(x_38); + x_40 = lean_box(0); +} +x_41 = lean_box(0); +if (lean_is_scalar(x_40)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { x_42 = x_40; -} else { - lean_dec_ref(x_40); - x_42 = lean_box(0); } -x_43 = lean_box(0); -if (lean_is_scalar(x_42)) { - x_44 = lean_alloc_ctor(0, 2, 0); -} else { - x_44 = x_42; -} -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_41); -return x_44; +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_39); +return x_42; } } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t 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; -x_45 = lean_ctor_get(x_13, 1); -x_46 = lean_ctor_get(x_13, 2); -x_47 = lean_ctor_get(x_13, 3); -lean_inc(x_47); -lean_inc(x_46); +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; lean_object* x_61; lean_object* x_62; +x_43 = lean_ctor_get(x_13, 1); +x_44 = lean_ctor_get(x_13, 2); +x_45 = lean_ctor_get(x_13, 3); lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_13); -x_48 = lean_ctor_get(x_14, 0); +x_46 = lean_ctor_get(x_14, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_14, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_14, 2); lean_inc(x_48); -x_49 = lean_ctor_get(x_14, 1); +x_49 = lean_ctor_get(x_14, 3); lean_inc(x_49); -x_50 = lean_ctor_get(x_14, 2); +x_50 = lean_ctor_get(x_14, 4); lean_inc(x_50); -x_51 = lean_ctor_get(x_14, 3); +x_51 = lean_ctor_get(x_14, 5); lean_inc(x_51); -x_52 = lean_ctor_get(x_14, 4); +x_52 = lean_ctor_get(x_14, 6); lean_inc(x_52); -x_53 = lean_ctor_get(x_14, 5); +x_53 = lean_ctor_get(x_14, 7); lean_inc(x_53); -x_54 = lean_ctor_get(x_14, 6); -lean_inc(x_54); -x_55 = lean_ctor_get(x_14, 7); -lean_inc(x_55); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); @@ -10236,52 +9809,50 @@ if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 5); lean_ctor_release(x_14, 6); lean_ctor_release(x_14, 7); - x_56 = x_14; + x_54 = x_14; } else { lean_dec_ref(x_14); - x_56 = lean_box(0); + x_54 = lean_box(0); } -x_57 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_53, x_1, x_2); -x_58 = 1; -if (lean_is_scalar(x_56)) { - x_59 = lean_alloc_ctor(0, 8, 1); +x_55 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_51, x_1, x_2); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 8, 0); } else { - x_59 = x_56; + x_56 = x_54; } -lean_ctor_set(x_59, 0, x_48); -lean_ctor_set(x_59, 1, x_49); -lean_ctor_set(x_59, 2, x_50); -lean_ctor_set(x_59, 3, x_51); -lean_ctor_set(x_59, 4, x_52); -lean_ctor_set(x_59, 5, x_57); -lean_ctor_set(x_59, 6, x_54); -lean_ctor_set(x_59, 7, x_55); -lean_ctor_set_uint8(x_59, sizeof(void*)*8, x_58); -x_60 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_45); -lean_ctor_set(x_60, 2, x_46); -lean_ctor_set(x_60, 3, x_47); -x_61 = lean_st_ref_set(x_6, x_60, x_15); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_63 = x_61; +lean_ctor_set(x_56, 0, x_46); +lean_ctor_set(x_56, 1, x_47); +lean_ctor_set(x_56, 2, x_48); +lean_ctor_set(x_56, 3, x_49); +lean_ctor_set(x_56, 4, x_50); +lean_ctor_set(x_56, 5, x_55); +lean_ctor_set(x_56, 6, x_52); +lean_ctor_set(x_56, 7, x_53); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_43); +lean_ctor_set(x_57, 2, x_44); +lean_ctor_set(x_57, 3, x_45); +x_58 = lean_st_ref_set(x_6, x_57, x_15); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_60 = x_58; } else { - lean_dec_ref(x_61); - x_63 = lean_box(0); + lean_dec_ref(x_58); + x_60 = lean_box(0); } -x_64 = lean_box(0); -if (lean_is_scalar(x_63)) { - x_65 = lean_alloc_ctor(0, 2, 0); +x_61 = lean_box(0); +if (lean_is_scalar(x_60)) { + x_62 = lean_alloc_ctor(0, 2, 0); } else { - x_65 = x_63; + x_62 = x_60; } -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_62); -return x_65; +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +return x_62; } } } @@ -10583,114 +10154,165 @@ return x_86; } case 5: { -lean_object* x_87; lean_object* x_88; lean_object* x_89; 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_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; x_87 = lean_ctor_get(x_1, 0); lean_inc(x_87); -x_103 = lean_st_ref_get(x_7, x_8); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -lean_dec(x_103); -x_105 = lean_st_ref_get(x_5, x_104); -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = lean_ctor_get(x_106, 0); -lean_inc(x_108); -lean_dec(x_106); -x_109 = lean_ctor_get(x_108, 5); -lean_inc(x_109); -lean_dec(x_108); +x_88 = lean_st_ref_get(x_7, x_8); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +lean_dec(x_88); +x_90 = lean_st_ref_get(x_5, x_89); +x_91 = !lean_is_exclusive(x_90); +if (x_91 == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_92 = lean_ctor_get(x_90, 0); +x_93 = lean_ctor_get(x_90, 1); +x_94 = lean_ctor_get(x_92, 0); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_ctor_get(x_94, 5); +lean_inc(x_95); +lean_dec(x_94); lean_inc(x_87); -x_110 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_109, x_87); -if (lean_obj_tag(x_110) == 0) +x_96 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_95, x_87); +if (lean_obj_tag(x_96) == 0) { -x_88 = x_110; -x_89 = x_107; -goto block_102; -} -else -{ -lean_object* x_111; lean_object* x_112; -x_111 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(x_5, x_6, x_7, x_107); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -lean_dec(x_111); -x_88 = x_110; -x_89 = x_112; -goto block_102; -} -block_102: -{ -if (lean_obj_tag(x_88) == 0) -{ -lean_object* x_90; lean_dec(x_87); -x_90 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_90, 0, x_1); -lean_ctor_set(x_90, 1, x_89); return x_90; } else { -lean_object* x_91; uint8_t x_92; +lean_object* x_97; uint8_t x_98; lean_dec(x_1); -x_91 = lean_ctor_get(x_88, 0); -lean_inc(x_91); -lean_dec(x_88); -x_92 = l_Lean_Level_hasMVar(x_91); -if (x_92 == 0) -{ -lean_object* x_93; -lean_dec(x_87); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_89); -return x_93; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_94 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_91, x_2, x_3, x_4, x_5, x_6, x_7, x_89); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -lean_inc(x_95); -x_97 = l_Lean_assignLevelMVar___at_Lean_Elab_Command_shouldInferResultUniverse___spec__2(x_87, x_95, x_2, x_3, x_4, x_5, x_6, x_7, x_96); -x_98 = !lean_is_exclusive(x_97); +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +lean_dec(x_96); +x_98 = l_Lean_Level_hasMVar(x_97); if (x_98 == 0) { -lean_object* x_99; -x_99 = lean_ctor_get(x_97, 0); -lean_dec(x_99); -lean_ctor_set(x_97, 0, x_95); -return x_97; +lean_dec(x_87); +lean_ctor_set(x_90, 0, x_97); +return x_90; } else { -lean_object* x_100; lean_object* x_101; -x_100 = lean_ctor_get(x_97, 1); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; +lean_free_object(x_90); +x_99 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_97, x_2, x_3, x_4, x_5, x_6, x_7, x_93); +x_100 = lean_ctor_get(x_99, 0); lean_inc(x_100); -lean_dec(x_97); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_95); -lean_ctor_set(x_101, 1, x_100); -return x_101; +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +lean_inc(x_100); +x_102 = l_Lean_assignLevelMVar___at_Lean_Elab_Command_shouldInferResultUniverse___spec__2(x_87, x_100, x_2, x_3, x_4, x_5, x_6, x_7, x_101); +x_103 = !lean_is_exclusive(x_102); +if (x_103 == 0) +{ +lean_object* x_104; +x_104 = lean_ctor_get(x_102, 0); +lean_dec(x_104); +lean_ctor_set(x_102, 0, x_100); +return x_102; } +else +{ +lean_object* x_105; lean_object* x_106; +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +lean_dec(x_102); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_100); +lean_ctor_set(x_106, 1, x_105); +return x_106; +} +} +} +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_107 = lean_ctor_get(x_90, 0); +x_108 = lean_ctor_get(x_90, 1); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_90); +x_109 = lean_ctor_get(x_107, 0); +lean_inc(x_109); +lean_dec(x_107); +x_110 = lean_ctor_get(x_109, 5); +lean_inc(x_110); +lean_dec(x_109); +lean_inc(x_87); +x_111 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_110, x_87); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; +lean_dec(x_87); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_1); +lean_ctor_set(x_112, 1, x_108); +return x_112; +} +else +{ +lean_object* x_113; uint8_t x_114; +lean_dec(x_1); +x_113 = lean_ctor_get(x_111, 0); +lean_inc(x_113); +lean_dec(x_111); +x_114 = l_Lean_Level_hasMVar(x_113); +if (x_114 == 0) +{ +lean_object* x_115; +lean_dec(x_87); +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_108); +return x_115; +} +else +{ +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; +x_116 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(x_113, x_2, x_3, x_4, x_5, x_6, x_7, x_108); +x_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +lean_inc(x_117); +x_119 = l_Lean_assignLevelMVar___at_Lean_Elab_Command_shouldInferResultUniverse___spec__2(x_87, x_117, x_2, x_3, x_4, x_5, x_6, x_7, x_118); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_121 = x_119; +} else { + lean_dec_ref(x_119); + x_121 = lean_box(0); +} +if (lean_is_scalar(x_121)) { + x_122 = lean_alloc_ctor(0, 2, 0); +} else { + x_122 = x_121; +} +lean_ctor_set(x_122, 0, x_117); +lean_ctor_set(x_122, 1, x_120); +return x_122; } } } } default: { -lean_object* x_113; -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_1); -lean_ctor_set(x_113, 1, x_8); -return x_113; +lean_object* x_123; +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_1); +lean_ctor_set(x_123, 1, x_8); +return x_123; } } } @@ -12039,48 +11661,45 @@ lean_dec(x_18); x_19 = !lean_is_exclusive(x_15); if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; uint8_t x_24; +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; x_20 = lean_ctor_get(x_15, 5); x_21 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_20, x_1, x_2); -x_22 = 1; lean_ctor_set(x_15, 5, x_21); -lean_ctor_set_uint8(x_15, sizeof(void*)*8, x_22); -x_23 = lean_st_ref_set(x_7, x_14, x_16); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +x_22 = lean_st_ref_set(x_7, x_14, x_16); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -x_26 = lean_box(0); -lean_ctor_set(x_23, 0, x_26); -return x_23; +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_24); +x_25 = lean_box(0); +lean_ctor_set(x_22, 0, x_25); +return x_22; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_23, 1); -lean_inc(x_27); -lean_dec(x_23); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -return x_29; +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_dec(x_22); +x_27 = lean_box(0); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; } } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_30 = lean_ctor_get(x_15, 0); -x_31 = lean_ctor_get(x_15, 1); -x_32 = lean_ctor_get(x_15, 2); -x_33 = lean_ctor_get(x_15, 3); -x_34 = lean_ctor_get(x_15, 4); -x_35 = lean_ctor_get(x_15, 5); -x_36 = lean_ctor_get(x_15, 6); -x_37 = lean_ctor_get(x_15, 7); -lean_inc(x_37); +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; lean_object* x_43; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); +x_31 = lean_ctor_get(x_15, 2); +x_32 = lean_ctor_get(x_15, 3); +x_33 = lean_ctor_get(x_15, 4); +x_34 = lean_ctor_get(x_15, 5); +x_35 = lean_ctor_get(x_15, 6); +x_36 = lean_ctor_get(x_15, 7); lean_inc(x_36); lean_inc(x_35); lean_inc(x_34); @@ -12088,68 +11707,67 @@ lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); +lean_inc(x_29); lean_dec(x_15); -x_38 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_35, x_1, x_2); -x_39 = 1; -x_40 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_40, 0, x_30); -lean_ctor_set(x_40, 1, x_31); -lean_ctor_set(x_40, 2, x_32); -lean_ctor_set(x_40, 3, x_33); -lean_ctor_set(x_40, 4, x_34); -lean_ctor_set(x_40, 5, x_38); -lean_ctor_set(x_40, 6, x_36); -lean_ctor_set(x_40, 7, x_37); -lean_ctor_set_uint8(x_40, sizeof(void*)*8, x_39); -lean_ctor_set(x_14, 0, x_40); -x_41 = lean_st_ref_set(x_7, x_14, x_16); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); +x_37 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_34, x_1, x_2); +x_38 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_38, 0, x_29); +lean_ctor_set(x_38, 1, x_30); +lean_ctor_set(x_38, 2, x_31); +lean_ctor_set(x_38, 3, x_32); +lean_ctor_set(x_38, 4, x_33); +lean_ctor_set(x_38, 5, x_37); +lean_ctor_set(x_38, 6, x_35); +lean_ctor_set(x_38, 7, x_36); +lean_ctor_set(x_14, 0, x_38); +x_39 = lean_st_ref_set(x_7, x_14, x_16); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_41 = x_39; +} else { + lean_dec_ref(x_39); + x_41 = lean_box(0); +} +x_42 = lean_box(0); +if (lean_is_scalar(x_41)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { x_43 = x_41; -} else { - lean_dec_ref(x_41); - x_43 = lean_box(0); } -x_44 = lean_box(0); -if (lean_is_scalar(x_43)) { - x_45 = lean_alloc_ctor(0, 2, 0); -} else { - x_45 = x_43; -} -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_42); -return x_45; +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_40); +return x_43; } } 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; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t 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_46 = lean_ctor_get(x_14, 1); -x_47 = lean_ctor_get(x_14, 2); -x_48 = lean_ctor_get(x_14, 3); -lean_inc(x_48); -lean_inc(x_47); +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; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_44 = lean_ctor_get(x_14, 1); +x_45 = lean_ctor_get(x_14, 2); +x_46 = lean_ctor_get(x_14, 3); lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); lean_dec(x_14); -x_49 = lean_ctor_get(x_15, 0); +x_47 = lean_ctor_get(x_15, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_15, 1); +lean_inc(x_48); +x_49 = lean_ctor_get(x_15, 2); lean_inc(x_49); -x_50 = lean_ctor_get(x_15, 1); +x_50 = lean_ctor_get(x_15, 3); lean_inc(x_50); -x_51 = lean_ctor_get(x_15, 2); +x_51 = lean_ctor_get(x_15, 4); lean_inc(x_51); -x_52 = lean_ctor_get(x_15, 3); +x_52 = lean_ctor_get(x_15, 5); lean_inc(x_52); -x_53 = lean_ctor_get(x_15, 4); +x_53 = lean_ctor_get(x_15, 6); lean_inc(x_53); -x_54 = lean_ctor_get(x_15, 5); +x_54 = lean_ctor_get(x_15, 7); lean_inc(x_54); -x_55 = lean_ctor_get(x_15, 6); -lean_inc(x_55); -x_56 = lean_ctor_get(x_15, 7); -lean_inc(x_56); if (lean_is_exclusive(x_15)) { lean_ctor_release(x_15, 0); lean_ctor_release(x_15, 1); @@ -12159,262 +11777,53 @@ if (lean_is_exclusive(x_15)) { lean_ctor_release(x_15, 5); lean_ctor_release(x_15, 6); lean_ctor_release(x_15, 7); - x_57 = x_15; + x_55 = x_15; } else { lean_dec_ref(x_15); - x_57 = lean_box(0); + x_55 = lean_box(0); } -x_58 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_54, x_1, x_2); -x_59 = 1; -if (lean_is_scalar(x_57)) { - x_60 = lean_alloc_ctor(0, 8, 1); +x_56 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_52, x_1, x_2); +if (lean_is_scalar(x_55)) { + x_57 = lean_alloc_ctor(0, 8, 0); } else { - x_60 = x_57; + x_57 = x_55; } -lean_ctor_set(x_60, 0, x_49); -lean_ctor_set(x_60, 1, x_50); -lean_ctor_set(x_60, 2, x_51); -lean_ctor_set(x_60, 3, x_52); -lean_ctor_set(x_60, 4, x_53); -lean_ctor_set(x_60, 5, x_58); -lean_ctor_set(x_60, 6, x_55); -lean_ctor_set(x_60, 7, x_56); -lean_ctor_set_uint8(x_60, sizeof(void*)*8, x_59); -x_61 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_46); -lean_ctor_set(x_61, 2, x_47); -lean_ctor_set(x_61, 3, x_48); -x_62 = lean_st_ref_set(x_7, x_61, x_16); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_64 = x_62; +lean_ctor_set(x_57, 0, x_47); +lean_ctor_set(x_57, 1, x_48); +lean_ctor_set(x_57, 2, x_49); +lean_ctor_set(x_57, 3, x_50); +lean_ctor_set(x_57, 4, x_51); +lean_ctor_set(x_57, 5, x_56); +lean_ctor_set(x_57, 6, x_53); +lean_ctor_set(x_57, 7, x_54); +x_58 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_44); +lean_ctor_set(x_58, 2, x_45); +lean_ctor_set(x_58, 3, x_46); +x_59 = lean_st_ref_set(x_7, x_58, x_16); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_61 = x_59; } else { - lean_dec_ref(x_62); - x_64 = lean_box(0); + lean_dec_ref(x_59); + x_61 = lean_box(0); } -x_65 = lean_box(0); -if (lean_is_scalar(x_64)) { - x_66 = lean_alloc_ctor(0, 2, 0); +x_62 = lean_box(0); +if (lean_is_scalar(x_61)) { + x_63 = lean_alloc_ctor(0, 2, 0); } else { - x_66 = x_64; + x_63 = x_61; } -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_63); -return x_66; +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_60); +return x_63; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_st_ref_take(x_1, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_8, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -uint8_t x_14; lean_object* x_15; uint8_t x_16; -x_14 = 1; -lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_14); -x_15 = lean_st_ref_set(x_1, x_8, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_9, 0); -x_23 = lean_ctor_get(x_9, 1); -x_24 = lean_ctor_get(x_9, 2); -x_25 = lean_ctor_get(x_9, 3); -x_26 = lean_ctor_get(x_9, 4); -x_27 = lean_ctor_get(x_9, 5); -x_28 = lean_ctor_get(x_9, 6); -x_29 = lean_ctor_get(x_9, 7); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_9); -x_30 = 1; -x_31 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_23); -lean_ctor_set(x_31, 2, x_24); -lean_ctor_set(x_31, 3, x_25); -lean_ctor_set(x_31, 4, x_26); -lean_ctor_set(x_31, 5, x_27); -lean_ctor_set(x_31, 6, x_28); -lean_ctor_set(x_31, 7, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_30); -lean_ctor_set(x_8, 0, x_31); -x_32 = lean_st_ref_set(x_1, x_8, x_10); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; -} else { - lean_dec_ref(x_32); - x_34 = lean_box(0); -} -x_35 = lean_box(0); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -} -else -{ -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; uint8_t 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_37 = lean_ctor_get(x_8, 1); -x_38 = lean_ctor_get(x_8, 2); -x_39 = lean_ctor_get(x_8, 3); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_8); -x_40 = lean_ctor_get(x_9, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_9, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_9, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_9, 3); -lean_inc(x_43); -x_44 = lean_ctor_get(x_9, 4); -lean_inc(x_44); -x_45 = lean_ctor_get(x_9, 5); -lean_inc(x_45); -x_46 = lean_ctor_get(x_9, 6); -lean_inc(x_46); -x_47 = lean_ctor_get(x_9, 7); -lean_inc(x_47); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - lean_ctor_release(x_9, 6); - lean_ctor_release(x_9, 7); - x_48 = x_9; -} else { - lean_dec_ref(x_9); - x_48 = lean_box(0); -} -x_49 = 1; -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 8, 1); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_40); -lean_ctor_set(x_50, 1, x_41); -lean_ctor_set(x_50, 2, x_42); -lean_ctor_set(x_50, 3, x_43); -lean_ctor_set(x_50, 4, x_44); -lean_ctor_set(x_50, 5, x_45); -lean_ctor_set(x_50, 6, x_46); -lean_ctor_set(x_50, 7, x_47); -lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_49); -x_51 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_37); -lean_ctor_set(x_51, 2, x_38); -lean_ctor_set(x_51, 3, x_39); -x_52 = lean_st_ref_set(x_1, x_51, x_10); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___spec__3___rarg___boxed), 4, 0); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_1); -lean_ctor_set(x_11, 1, x_10); -return x_11; -} -} LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -12713,119 +12122,170 @@ return x_87; } case 5: { -lean_object* x_88; lean_object* x_89; lean_object* x_90; 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_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; x_88 = lean_ctor_get(x_1, 0); lean_inc(x_88); -x_104 = lean_st_ref_get(x_8, x_9); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); -lean_dec(x_104); -x_106 = lean_st_ref_get(x_6, x_105); -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_106, 1); -lean_inc(x_108); -lean_dec(x_106); -x_109 = lean_ctor_get(x_107, 0); -lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_ctor_get(x_109, 5); -lean_inc(x_110); -lean_dec(x_109); +x_89 = lean_st_ref_get(x_8, x_9); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +x_91 = lean_st_ref_get(x_6, x_90); +x_92 = !lean_is_exclusive(x_91); +if (x_92 == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_93 = lean_ctor_get(x_91, 0); +x_94 = lean_ctor_get(x_91, 1); +x_95 = lean_ctor_get(x_93, 0); +lean_inc(x_95); +lean_dec(x_93); +x_96 = lean_ctor_get(x_95, 5); +lean_inc(x_96); +lean_dec(x_95); lean_inc(x_88); -x_111 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_110, x_88); -if (lean_obj_tag(x_111) == 0) +x_97 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_96, x_88); +if (lean_obj_tag(x_97) == 0) { -x_89 = x_111; -x_90 = x_108; -goto block_103; -} -else -{ -lean_object* x_112; lean_object* x_113; -x_112 = l_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___spec__3___rarg(x_6, x_7, x_8, x_108); -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -lean_dec(x_112); -x_89 = x_111; -x_90 = x_113; -goto block_103; -} -block_103: -{ -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_91; lean_dec(x_88); -x_91 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_91, 0, x_1); -lean_ctor_set(x_91, 1, x_90); return x_91; } else { -lean_object* x_92; uint8_t x_93; +lean_object* x_98; uint8_t x_99; lean_dec(x_1); -x_92 = lean_ctor_get(x_89, 0); -lean_inc(x_92); -lean_dec(x_89); -x_93 = l_Lean_Level_hasMVar(x_92); -if (x_93 == 0) -{ -lean_object* x_94; -lean_dec(x_88); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_90); -return x_94; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; -x_95 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_92, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_90); -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); -lean_inc(x_96); -x_98 = l_Lean_assignLevelMVar___at_Lean_Elab_Command_accLevelAtCtor___spec__2(x_88, x_96, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_97); -x_99 = !lean_is_exclusive(x_98); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +lean_dec(x_97); +x_99 = l_Lean_Level_hasMVar(x_98); if (x_99 == 0) { -lean_object* x_100; -x_100 = lean_ctor_get(x_98, 0); -lean_dec(x_100); -lean_ctor_set(x_98, 0, x_96); -return x_98; +lean_dec(x_88); +lean_ctor_set(x_91, 0, x_98); +return x_91; } else { -lean_object* x_101; lean_object* x_102; -x_101 = lean_ctor_get(x_98, 1); +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; +lean_free_object(x_91); +x_100 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_98, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_94); +x_101 = lean_ctor_get(x_100, 0); lean_inc(x_101); -lean_dec(x_98); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_96); -lean_ctor_set(x_102, 1, x_101); -return x_102; +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +lean_inc(x_101); +x_103 = l_Lean_assignLevelMVar___at_Lean_Elab_Command_accLevelAtCtor___spec__2(x_88, x_101, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_102); +x_104 = !lean_is_exclusive(x_103); +if (x_104 == 0) +{ +lean_object* x_105; +x_105 = lean_ctor_get(x_103, 0); +lean_dec(x_105); +lean_ctor_set(x_103, 0, x_101); +return x_103; } +else +{ +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); +lean_dec(x_103); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_101); +lean_ctor_set(x_107, 1, x_106); +return x_107; +} +} +} +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_108 = lean_ctor_get(x_91, 0); +x_109 = lean_ctor_get(x_91, 1); +lean_inc(x_109); +lean_inc(x_108); +lean_dec(x_91); +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +lean_dec(x_108); +x_111 = lean_ctor_get(x_110, 5); +lean_inc(x_111); +lean_dec(x_110); +lean_inc(x_88); +x_112 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_111, x_88); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; +lean_dec(x_88); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_1); +lean_ctor_set(x_113, 1, x_109); +return x_113; +} +else +{ +lean_object* x_114; uint8_t x_115; +lean_dec(x_1); +x_114 = lean_ctor_get(x_112, 0); +lean_inc(x_114); +lean_dec(x_112); +x_115 = l_Lean_Level_hasMVar(x_114); +if (x_115 == 0) +{ +lean_object* x_116; +lean_dec(x_88); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_109); +return x_116; +} +else +{ +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; +x_117 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1(x_114, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_109); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +lean_inc(x_118); +x_120 = l_Lean_assignLevelMVar___at_Lean_Elab_Command_accLevelAtCtor___spec__2(x_88, x_118, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_119); +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_122 = x_120; +} else { + lean_dec_ref(x_120); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(0, 2, 0); +} else { + x_123 = x_122; +} +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_121); +return x_123; } } } } default: { -lean_object* x_114; -x_114 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_114, 0, x_1); -lean_ctor_set(x_114, 1, x_9); -return x_114; +lean_object* x_124; +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_1); +lean_ctor_set(x_124, 1, x_9); +return x_124; } } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -12868,7 +12328,7 @@ _start: { lean_object* x_11; lean_dec(x_2); -x_11 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__4(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -13440,45 +12900,6 @@ lean_dec(x_3); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___spec__3___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___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_Lean_markUsedAssignment___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_1, x_2, x_3, x_4); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_Elab_Command_accLevelAtCtor___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -13494,11 +12915,11 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_throwError___at_Lean_Elab_Command_accLevelAtCtor___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -15834,7 +15255,7 @@ x_21 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lamb x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_23 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -20456,14 +19877,13 @@ x_1 = l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkA x_2 = l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__5; x_3 = l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__6; x_4 = l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___closed__9; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -30384,7 +29804,7 @@ x_19 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_19, 0, x_18); x_20 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_20, 0, x_19); -x_21 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_21 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); diff --git a/stage0/stdlib/Lean/Elab/InfoTree/Main.c b/stage0/stdlib/Lean/Elab/InfoTree/Main.c index f7a0b6372c..cf14b8c9cb 100644 --- a/stage0/stdlib/Lean/Elab/InfoTree/Main.c +++ b/stage0/stdlib/Lean/Elab/InfoTree/Main.c @@ -1870,14 +1870,13 @@ x_1 = l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__4; x_2 = l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__6; x_3 = l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__7; x_4 = l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__10; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/Elab/InfoTree/Types.c b/stage0/stdlib/Lean/Elab/InfoTree/Types.c index d6057c9bc4..3d378a5552 100644 --- a/stage0/stdlib/Lean/Elab/InfoTree/Types.c +++ b/stage0/stdlib/Lean/Elab/InfoTree/Types.c @@ -139,23 +139,21 @@ return x_3; static lean_object* _init_l_Lean_Elab_ContextInfo_mctx___default___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Elab_ContextInfo_mctx___default___closed__3; x_3 = l_Lean_Elab_ContextInfo_mctx___default___closed__4; x_4 = l_Lean_Elab_ContextInfo_mctx___default___closed__5; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Elab_ContextInfo_mctx___default() { @@ -290,23 +288,21 @@ return x_3; static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Elab_ContextInfo_mctx___default___closed__3; x_3 = l_Lean_Elab_ContextInfo_mctx___default___closed__4; x_4 = l_Lean_Elab_ContextInfo_mctx___default___closed__5; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Elab_instInhabitedContextInfo___closed__10() { diff --git a/stage0/stdlib/Lean/Elab/LetRec.c b/stage0/stdlib/Lean/Elab/LetRec.c index c6bea4c8cb..8aeba8d8f0 100644 --- a/stage0/stdlib/Lean/Elab/LetRec.c +++ b/stage0/stdlib/Lean/Elab/LetRec.c @@ -225,7 +225,6 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Le LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__12___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__12___lambda__3___closed__4; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__12___lambda__1___closed__7; @@ -273,6 +272,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetRec___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__13___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__12___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__6___closed__6; @@ -824,14 +824,13 @@ x_1 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_T x_2 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__6___closed__8; x_3 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__6___closed__9; x_4 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__6___closed__12; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -2297,7 +2296,7 @@ x_20 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mk x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +x_22 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_14); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index 077c796d91..22d1ec95c0 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -140,6 +140,7 @@ LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lea static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__21; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__11(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternElabConfig___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withDepElimPatterns(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); @@ -213,7 +214,6 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3 LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_containsFVar___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__2; -lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_main___spec__5(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__6(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -361,6 +361,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Elab_Match_0_ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___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_StateRefT_x27_lift(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__5; +lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -492,6 +493,7 @@ lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Offset_0__Lean_Met lean_object* l_Lean_Syntax_getId(lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_applyRefMap___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternElabConfig___spec__1(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_GeneralizeResult_refined___default; @@ -623,6 +625,7 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMa static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch___closed__3; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedTypeAndDiscrs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -848,7 +851,6 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main___spec__4___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__9(lean_object*, lean_object*, 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_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5___rarg___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -920,7 +922,6 @@ lean_object* l_Lean_Meta_eraseInaccessibleAnnotations___lambda__1___boxed(lean_o LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch_docString(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_Elab_Term_collectUnassignedMVars_go___spec__1(lean_object*, lean_object*); @@ -975,7 +976,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatte LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_isExplicitPatternVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_normalize___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_Context_explicitPatternVars___default; LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withoutAuxDiscrs___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1041,6 +1041,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0 LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__9___boxed(lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getPatternsVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible_declRange___closed__7; LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__13___boxed(lean_object*, lean_object*); @@ -1084,6 +1085,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_precheckMatch___lambda__3(lean_object* LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_checkCompatibleApps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, 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_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(lean_object*, lean_object*); lean_object* l_runST___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -14980,6 +14982,22 @@ x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_e return x_11; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternElabConfig___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternElabConfig___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternElabConfig___spec__1___rarg), 8, 0); +return x_2; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternElabConfig___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -15049,7 +15067,7 @@ _start: lean_object* x_9; lean_object* x_10; x_9 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternElabConfig___rarg___lambda__1), 8, 1); lean_closure_set(x_9, 0, x_1); -x_10 = l_Lean_Elab_Term_withoutErrToSorry___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } @@ -22555,7 +22573,7 @@ x_125 = lean_ctor_get(x_122, 1); x_126 = lean_ctor_get(x_124, 1); lean_inc(x_126); lean_dec(x_124); -x_127 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_126, x_111); +x_127 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_126, x_111); lean_dec(x_126); if (lean_obj_tag(x_127) == 0) { @@ -22696,7 +22714,7 @@ lean_dec(x_122); x_169 = lean_ctor_get(x_167, 1); lean_inc(x_169); lean_dec(x_167); -x_170 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_169, x_111); +x_170 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_169, x_111); lean_dec(x_169); if (lean_obj_tag(x_170) == 0) { @@ -22887,7 +22905,7 @@ if (lean_is_exclusive(x_219)) { x_223 = lean_ctor_get(x_220, 1); lean_inc(x_223); lean_dec(x_220); -x_224 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_223, x_111); +x_224 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_223, x_111); lean_dec(x_223); if (lean_obj_tag(x_224) == 0) { @@ -28584,7 +28602,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -29312,7 +29330,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -29612,7 +29630,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; 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_114; lean_object* x_115; uint8_t x_116; +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; x_10 = lean_st_ref_get(x_8, x_9); x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); @@ -29626,235 +29644,170 @@ lean_dec(x_12); x_15 = lean_ctor_get(x_13, 0); lean_inc(x_15); lean_dec(x_13); -x_114 = l_Lean_exprDependsOn___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__1___closed__1; -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_15); -x_116 = l_Lean_Expr_hasFVar(x_1); -if (x_116 == 0) +x_16 = l_Lean_exprDependsOn___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__1___closed__1; +lean_inc(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_15); +x_18 = l_Lean_Expr_hasFVar(x_1); +if (x_18 == 0) { -uint8_t x_117; -x_117 = l_Lean_Expr_hasMVar(x_1); -if (x_117 == 0) +uint8_t x_19; +x_19 = l_Lean_Expr_hasMVar(x_1); +if (x_19 == 0) { -uint8_t x_118; -lean_dec(x_1); -x_118 = 0; -x_16 = x_118; -x_17 = x_115; -goto block_113; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_119 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__2(x_2, x_1, x_115); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_unbox(x_120); -lean_dec(x_120); -x_16 = x_122; -x_17 = x_121; -goto block_113; -} -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; -x_123 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__10(x_2, x_1, x_115); -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 = lean_unbox(x_124); -lean_dec(x_124); -x_16 = x_126; -x_17 = x_125; -goto block_113; -} -block_113: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_dec(x_17); -x_19 = lean_st_ref_get(x_8, x_14); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_st_ref_take(x_6, x_20); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get_uint8(x_18, sizeof(void*)*8); -if (x_23 == 0) -{ -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; uint8_t x_34; -x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_1); +x_20 = lean_st_ref_get(x_8, x_14); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_st_ref_take(x_6, x_21); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -lean_dec(x_21); -x_26 = lean_ctor_get(x_18, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_18, 1); -lean_inc(x_27); -x_28 = lean_ctor_get(x_18, 2); -lean_inc(x_28); -x_29 = lean_ctor_get(x_18, 3); -lean_inc(x_29); -x_30 = lean_ctor_get(x_18, 4); -lean_inc(x_30); -x_31 = lean_ctor_get(x_18, 5); -lean_inc(x_31); -x_32 = lean_ctor_get(x_18, 6); +lean_dec(x_22); +x_25 = !lean_is_exclusive(x_23); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_23, 0); +lean_dec(x_26); +lean_ctor_set(x_23, 0, x_15); +x_27 = lean_st_ref_set(x_6, x_23, x_24); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +x_30 = 0; +x_31 = lean_box(x_30); +lean_ctor_set(x_27, 0, x_31); +return x_27; +} +else +{ +lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_27, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_18, 7); -lean_inc(x_33); -lean_dec(x_18); -x_34 = !lean_is_exclusive(x_22); -if (x_34 == 0) +lean_dec(x_27); +x_33 = 0; +x_34 = lean_box(x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +} +else { -lean_object* x_35; uint8_t x_36; -x_35 = lean_ctor_get(x_22, 0); -lean_dec(x_35); -x_36 = !lean_is_exclusive(x_24); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_37 = lean_ctor_get(x_24, 7); -lean_dec(x_37); -x_38 = lean_ctor_get(x_24, 6); -lean_dec(x_38); -x_39 = lean_ctor_get(x_24, 5); -lean_dec(x_39); -x_40 = lean_ctor_get(x_24, 4); -lean_dec(x_40); -x_41 = lean_ctor_get(x_24, 3); -lean_dec(x_41); -x_42 = lean_ctor_get(x_24, 2); -lean_dec(x_42); -x_43 = lean_ctor_get(x_24, 1); -lean_dec(x_43); -x_44 = lean_ctor_get(x_24, 0); -lean_dec(x_44); -lean_ctor_set(x_24, 7, x_33); -lean_ctor_set(x_24, 6, x_32); -lean_ctor_set(x_24, 5, x_31); -lean_ctor_set(x_24, 4, x_30); -lean_ctor_set(x_24, 3, x_29); -lean_ctor_set(x_24, 2, x_28); -lean_ctor_set(x_24, 1, x_27); -lean_ctor_set(x_24, 0, x_26); -x_45 = lean_st_ref_set(x_6, x_22, x_25); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -x_48 = lean_box(x_16); -lean_ctor_set(x_45, 0, x_48); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; +x_36 = lean_ctor_get(x_23, 1); +x_37 = lean_ctor_get(x_23, 2); +x_38 = lean_ctor_get(x_23, 3); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_23); +x_39 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_39, 0, x_15); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_37); +lean_ctor_set(x_39, 3, x_38); +x_40 = lean_st_ref_set(x_6, x_39, x_24); +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_42 = x_40; +} else { + lean_dec_ref(x_40); + x_42 = lean_box(0); +} +x_43 = 0; +x_44 = lean_box(x_43); +if (lean_is_scalar(x_42)) { + x_45 = lean_alloc_ctor(0, 2, 0); +} else { + x_45 = x_42; +} +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_41); return x_45; } +} else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_45, 1); +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; uint8_t x_55; +lean_dec(x_15); +x_46 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__2(x_2, x_1, x_17); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 0); +lean_inc(x_48); +lean_dec(x_46); +x_49 = lean_ctor_get(x_47, 1); lean_inc(x_49); -lean_dec(x_45); -x_50 = lean_box(x_16); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -return x_51; -} +lean_dec(x_47); +x_50 = lean_st_ref_get(x_8, x_14); +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +lean_dec(x_50); +x_52 = lean_st_ref_take(x_6, x_51); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = !lean_is_exclusive(x_53); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_56 = lean_ctor_get(x_53, 0); +lean_dec(x_56); +lean_ctor_set(x_53, 0, x_49); +x_57 = lean_st_ref_set(x_6, x_53, x_54); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) +{ +lean_object* x_59; +x_59 = lean_ctor_get(x_57, 0); +lean_dec(x_59); +lean_ctor_set(x_57, 0, x_48); +return x_57; } else { -uint8_t 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_52 = lean_ctor_get_uint8(x_24, sizeof(void*)*8); -lean_dec(x_24); -x_53 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_53, 0, x_26); -lean_ctor_set(x_53, 1, x_27); -lean_ctor_set(x_53, 2, x_28); -lean_ctor_set(x_53, 3, x_29); -lean_ctor_set(x_53, 4, x_30); -lean_ctor_set(x_53, 5, x_31); -lean_ctor_set(x_53, 6, x_32); -lean_ctor_set(x_53, 7, x_33); -lean_ctor_set_uint8(x_53, sizeof(void*)*8, x_52); -lean_ctor_set(x_22, 0, x_53); -x_54 = lean_st_ref_set(x_6, x_22, x_25); -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - x_56 = x_54; -} else { - lean_dec_ref(x_54); - x_56 = lean_box(0); -} -x_57 = lean_box(x_16); -if (lean_is_scalar(x_56)) { - x_58 = lean_alloc_ctor(0, 2, 0); -} else { - x_58 = x_56; -} -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_55); -return x_58; -} -} -else -{ -lean_object* x_59; lean_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; -x_59 = lean_ctor_get(x_22, 1); -x_60 = lean_ctor_get(x_22, 2); -x_61 = lean_ctor_get(x_22, 3); -lean_inc(x_61); +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_57, 1); lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_22); -x_62 = lean_ctor_get_uint8(x_24, sizeof(void*)*8); -if (lean_is_exclusive(x_24)) { - lean_ctor_release(x_24, 0); - lean_ctor_release(x_24, 1); - lean_ctor_release(x_24, 2); - lean_ctor_release(x_24, 3); - lean_ctor_release(x_24, 4); - lean_ctor_release(x_24, 5); - lean_ctor_release(x_24, 6); - lean_ctor_release(x_24, 7); - x_63 = x_24; -} else { - lean_dec_ref(x_24); - x_63 = lean_box(0); +lean_dec(x_57); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_48); +lean_ctor_set(x_61, 1, x_60); +return x_61; } -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(0, 8, 1); -} else { - x_64 = x_63; } -lean_ctor_set(x_64, 0, x_26); -lean_ctor_set(x_64, 1, x_27); -lean_ctor_set(x_64, 2, x_28); -lean_ctor_set(x_64, 3, x_29); -lean_ctor_set(x_64, 4, x_30); -lean_ctor_set(x_64, 5, x_31); -lean_ctor_set(x_64, 6, x_32); -lean_ctor_set(x_64, 7, x_33); -lean_ctor_set_uint8(x_64, sizeof(void*)*8, x_62); +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_62 = lean_ctor_get(x_53, 1); +x_63 = lean_ctor_get(x_53, 2); +x_64 = lean_ctor_get(x_53, 3); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_53); x_65 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_59); -lean_ctor_set(x_65, 2, x_60); -lean_ctor_set(x_65, 3, x_61); -x_66 = lean_st_ref_set(x_6, x_65, x_25); +lean_ctor_set(x_65, 0, x_49); +lean_ctor_set(x_65, 1, x_62); +lean_ctor_set(x_65, 2, x_63); +lean_ctor_set(x_65, 3, x_64); +x_66 = lean_st_ref_set(x_6, x_65, x_54); x_67 = lean_ctor_get(x_66, 1); lean_inc(x_67); if (lean_is_exclusive(x_66)) { @@ -29865,176 +29818,103 @@ if (lean_is_exclusive(x_66)) { lean_dec_ref(x_66); x_68 = lean_box(0); } -x_69 = lean_box(x_16); if (lean_is_scalar(x_68)) { - x_70 = lean_alloc_ctor(0, 2, 0); + x_69 = lean_alloc_ctor(0, 2, 0); } else { - x_70 = x_68; + x_69 = x_68; +} +lean_ctor_set(x_69, 0, x_48); +lean_ctor_set(x_69, 1, x_67); +return x_69; } -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_67); -return x_70; } } else { -lean_object* x_71; uint8_t x_72; -x_71 = lean_ctor_get(x_21, 1); +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; uint8_t x_79; +lean_dec(x_15); +x_70 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__10(x_2, x_1, x_17); +x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); -lean_dec(x_21); -x_72 = !lean_is_exclusive(x_18); -if (x_72 == 0) -{ -uint8_t x_73; -x_73 = !lean_is_exclusive(x_22); -if (x_73 == 0) -{ -lean_object* x_74; uint8_t x_75; lean_object* x_76; uint8_t x_77; -x_74 = lean_ctor_get(x_22, 0); +x_72 = lean_ctor_get(x_70, 0); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_st_ref_get(x_8, x_14); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); lean_dec(x_74); -x_75 = 1; -lean_ctor_set_uint8(x_18, sizeof(void*)*8, x_75); -lean_ctor_set(x_22, 0, x_18); -x_76 = lean_st_ref_set(x_6, x_22, x_71); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_76, 0); -lean_dec(x_78); -x_79 = lean_box(x_16); -lean_ctor_set(x_76, 0, x_79); -return x_76; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_76, 1); -lean_inc(x_80); +x_76 = lean_st_ref_take(x_6, x_75); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); lean_dec(x_76); -x_81 = lean_box(x_16); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -return x_82; -} +x_79 = !lean_is_exclusive(x_77); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_80 = lean_ctor_get(x_77, 0); +lean_dec(x_80); +lean_ctor_set(x_77, 0, x_73); +x_81 = lean_st_ref_set(x_6, x_77, x_78); +x_82 = !lean_is_exclusive(x_81); +if (x_82 == 0) +{ +lean_object* x_83; +x_83 = lean_ctor_get(x_81, 0); +lean_dec(x_83); +lean_ctor_set(x_81, 0, x_72); +return x_81; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_83 = lean_ctor_get(x_22, 1); -x_84 = lean_ctor_get(x_22, 2); -x_85 = lean_ctor_get(x_22, 3); -lean_inc(x_85); +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_81, 1); lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_22); -x_86 = 1; -lean_ctor_set_uint8(x_18, sizeof(void*)*8, x_86); -x_87 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_87, 0, x_18); -lean_ctor_set(x_87, 1, x_83); -lean_ctor_set(x_87, 2, x_84); -lean_ctor_set(x_87, 3, x_85); -x_88 = lean_st_ref_set(x_6, x_87, x_71); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_90 = x_88; -} else { - lean_dec_ref(x_88); - x_90 = lean_box(0); -} -x_91 = lean_box(x_16); -if (lean_is_scalar(x_90)) { - x_92 = lean_alloc_ctor(0, 2, 0); -} else { - x_92 = x_90; -} -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_89); -return x_92; +lean_dec(x_81); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_72); +lean_ctor_set(x_85, 1, x_84); +return x_85; } } else { -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; 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; -x_93 = lean_ctor_get(x_18, 0); -x_94 = lean_ctor_get(x_18, 1); -x_95 = lean_ctor_get(x_18, 2); -x_96 = lean_ctor_get(x_18, 3); -x_97 = lean_ctor_get(x_18, 4); -x_98 = lean_ctor_get(x_18, 5); -x_99 = lean_ctor_get(x_18, 6); -x_100 = lean_ctor_get(x_18, 7); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_18); -x_101 = lean_ctor_get(x_22, 1); -lean_inc(x_101); -x_102 = lean_ctor_get(x_22, 2); -lean_inc(x_102); -x_103 = lean_ctor_get(x_22, 3); -lean_inc(x_103); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - lean_ctor_release(x_22, 2); - lean_ctor_release(x_22, 3); - x_104 = x_22; +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_86 = lean_ctor_get(x_77, 1); +x_87 = lean_ctor_get(x_77, 2); +x_88 = lean_ctor_get(x_77, 3); +lean_inc(x_88); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_77); +x_89 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_89, 0, x_73); +lean_ctor_set(x_89, 1, x_86); +lean_ctor_set(x_89, 2, x_87); +lean_ctor_set(x_89, 3, x_88); +x_90 = lean_st_ref_set(x_6, x_89, x_78); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_92 = x_90; } else { - lean_dec_ref(x_22); - x_104 = lean_box(0); + lean_dec_ref(x_90); + x_92 = lean_box(0); } -x_105 = 1; -x_106 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_106, 0, x_93); -lean_ctor_set(x_106, 1, x_94); -lean_ctor_set(x_106, 2, x_95); -lean_ctor_set(x_106, 3, x_96); -lean_ctor_set(x_106, 4, x_97); -lean_ctor_set(x_106, 5, x_98); -lean_ctor_set(x_106, 6, x_99); -lean_ctor_set(x_106, 7, x_100); -lean_ctor_set_uint8(x_106, sizeof(void*)*8, x_105); -if (lean_is_scalar(x_104)) { - x_107 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_92)) { + x_93 = lean_alloc_ctor(0, 2, 0); } else { - x_107 = x_104; -} -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_101); -lean_ctor_set(x_107, 2, x_102); -lean_ctor_set(x_107, 3, x_103); -x_108 = lean_st_ref_set(x_6, x_107, x_71); -x_109 = lean_ctor_get(x_108, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - x_110 = x_108; -} else { - lean_dec_ref(x_108); - x_110 = lean_box(0); -} -x_111 = lean_box(x_16); -if (lean_is_scalar(x_110)) { - x_112 = lean_alloc_ctor(0, 2, 0); -} else { - x_112 = x_110; -} -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_109); -return x_112; + x_93 = x_92; } +lean_ctor_set(x_93, 0, x_72); +lean_ctor_set(x_93, 1, x_91); +return x_93; } } } @@ -32974,7 +32854,7 @@ x_38 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term x_39 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_39, 0, x_37); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_39, x_10, x_11, x_12, x_13, x_14, x_15, x_35); +x_40 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_39, x_10, x_11, x_12, x_13, x_14, x_15, x_35); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -33130,7 +33010,7 @@ x_73 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term x_74 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_74, 0, x_72); lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_74, x_10, x_11, x_12, x_13, x_14, x_15, x_70); +x_75 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_74, x_10, x_11, x_12, x_13, x_14, x_15, x_70); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -42710,7 +42590,7 @@ lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_dec(x_13); lean_dec(x_1); x_19 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___closed__2; -x_20 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_20 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -43300,7 +43180,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); x_19 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2___closed__2; -x_20 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_19, x_1, x_2, x_3, x_4, x_11, x_12, x_16); +x_20 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_19, x_1, x_2, x_3, x_4, x_11, x_12, x_16); lean_dec(x_12); lean_dec(x_11); lean_dec(x_4); diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index f9f0ef7ed0..f6bbb61426 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -45,7 +45,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualD lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Lean_CollectMVars_visit(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Term_checkForHiddenUnivLevels_visit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -579,6 +578,7 @@ lean_object* l_Lean_Expr_bvar___override(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Std_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_resetZetaFVarIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -789,7 +789,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_ClosureState_newLetDecls static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___closed__4; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__8___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__9(lean_object*, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -973,6 +972,7 @@ static lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualD LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_checkForHiddenUnivLevels_visit___spec__4___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Std_RBNode_insert___at_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns___spec__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_checkForHiddenUnivLevels___spec__2___closed__1; @@ -1231,7 +1231,7 @@ block_18: lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_dec(x_11); x_12 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__2___closed__2; -x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -1328,7 +1328,7 @@ block_17: lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_dec(x_10); x_11 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___closed__2; -x_12 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -1533,7 +1533,7 @@ block_17: lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_dec(x_10); x_11 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___closed__2; -x_12 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -1748,7 +1748,7 @@ if (x_20 == 0) lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_dec(x_16); x_21 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__2; -x_22 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_22 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -1988,7 +1988,7 @@ else { lean_object* x_18; lean_object* x_19; uint8_t x_20; x_18 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3___closed__2; -x_19 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_19 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2062,7 +2062,7 @@ else { lean_object* x_18; lean_object* x_19; uint8_t x_20; x_18 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__4___closed__2; -x_19 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_19 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2136,7 +2136,7 @@ else { lean_object* x_18; lean_object* x_19; uint8_t x_20; x_18 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__5___closed__2; -x_19 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_19 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2211,7 +2211,7 @@ else { lean_object* x_19; lean_object* x_20; uint8_t x_21; x_19 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__6___closed__2; -x_20 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_20 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2286,7 +2286,7 @@ else { lean_object* x_19; lean_object* x_20; uint8_t x_21; x_19 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__7___closed__2; -x_20 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_20 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2360,7 +2360,7 @@ else { lean_object* x_18; lean_object* x_19; uint8_t x_20; x_18 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___closed__2; -x_19 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_19 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -3611,14 +3611,13 @@ x_1 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Ela x_2 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___closed__8; x_3 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___closed__9; x_4 = l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___closed__12; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -34691,7 +34690,7 @@ x_14 = l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabMutualDef_processDeri x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_16 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_16; } } @@ -38160,7 +38159,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_9); x_26 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__3; -x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__2(x_16, x_26, x_2, x_3, x_17); +x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkInstanceName___spec__3(x_16, x_26, x_2, x_3, x_17); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) { diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c b/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c index aa70ca46aa..00fe74fb01 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c @@ -3297,14 +3297,13 @@ x_1 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___lamb x_2 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___lambda__4___closed__9; x_3 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___lambda__4___closed__10; x_4 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___lambda__4___closed__13; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c index 4d25f54184..0990c0306a 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c @@ -43,6 +43,7 @@ static lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__2; uint8_t l_Lean_Expr_isMData(lean_object*); extern lean_object* l_Lean_Meta_tactic_hygienic; lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5421____closed__1; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__22(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__19(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); @@ -50,13 +51,11 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___s lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539____closed__1; lean_object* l_Lean_Meta_isMatcherAppCore_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Eqns_mkUnfoldProof___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkConstWithFreshMVarLevels(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_whnfReducibleLHS_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539____closed__2; static lean_object* l_Lean_Elab_Eqns_simpEqnType_collect___lambda__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_whnfAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -210,7 +209,6 @@ LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentA static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___spec__1___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_simpIf_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__2(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -226,11 +224,12 @@ lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_obje LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_splitMatch_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_isIrrelevant___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___spec__1___at_Lean_Elab_Eqns_simpEqnType___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_replaceFVar(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5466_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5421_(lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__2___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_pushDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -272,6 +271,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_UnfoldEqnExtState_map___default; static lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__3; lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Std_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494____closed__1; extern lean_object* l_Lean_Expr_instHashableExpr; static lean_object* l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__6; static lean_object* l_Lean_Elab_Eqns_deltaLHS___lambda__2___closed__4; @@ -288,6 +288,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnus uint8_t l_Std_HashSetImp_contains___at_Lean_CollectMVars_visit___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_splitMatch_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); +lean_object* l_Lean_MVarId_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_simpEqnType_collect___lambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_getUnfoldFor_x3f___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_apply(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -305,7 +306,6 @@ static lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_go___lambda__1___closed__2; static lean_object* l_Lean_Elab_Eqns_deltaLHS___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_contradiction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__1; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); @@ -462,6 +462,7 @@ lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__3___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__7; +lean_object* l_Lean_MVarId_contradictionCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__24(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); @@ -508,7 +509,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDe lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__3___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5466____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_unfoldEqnExt; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__29(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -948,6 +948,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -1043,6 +1044,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_33 = !lean_is_exclusive(x_32); if (x_33 == 0) { @@ -1170,6 +1172,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_47 = !lean_is_exclusive(x_46); if (x_47 == 0) { @@ -1222,6 +1225,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_56 = !lean_is_exclusive(x_55); if (x_56 == 0) { @@ -1260,6 +1264,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_63 = !lean_is_exclusive(x_62); if (x_63 == 0) { @@ -1293,6 +1298,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -2954,7 +2960,7 @@ x_10 = 0; x_11 = l_Lean_Option_set___at_Lean_Meta_withPPInaccessibleNamesImp___spec__2(x_8, x_9, x_10); lean_ctor_set(x_4, 2, x_11); x_12 = l_Lean_Elab_Eqns_tryURefl___closed__3; -x_13 = l_Lean_Meta_applyRefl(x_1, x_12, x_2, x_3, x_4, x_5, x_6); +x_13 = l_Lean_MVarId_applyRefl(x_1, x_12, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_13) == 0) { uint8_t x_14; @@ -3053,7 +3059,7 @@ lean_ctor_set(x_42, 8, x_36); lean_ctor_set(x_42, 9, x_37); lean_ctor_set(x_42, 10, x_38); x_43 = l_Lean_Elab_Eqns_tryURefl___closed__3; -x_44 = l_Lean_Meta_applyRefl(x_1, x_43, x_2, x_3, x_42, x_5, x_6); +x_44 = l_Lean_MVarId_applyRefl(x_1, x_43, x_2, x_3, x_42, x_5, x_6); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; @@ -21047,65 +21053,9 @@ _start: { lean_object* x_7; lean_object* x_8; x_7 = l_Lean_Elab_Eqns_tryContradiction___closed__1; -x_8 = l_Lean_Meta_contradiction(x_1, x_7, x_2, x_3, x_4, x_5, 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; uint8_t x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_8, 0); -lean_dec(x_10); -x_11 = 1; -x_12 = lean_box(x_11); -lean_ctor_set(x_8, 0, x_12); +x_8 = l_Lean_MVarId_contradictionCore(x_1, x_7, x_2, x_3, x_4, x_5, x_6); return x_8; } -else -{ -lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_8, 1); -lean_inc(x_13); -lean_dec(x_8); -x_14 = 1; -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_13); -return x_16; -} -} -else -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_8); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_8, 0); -lean_dec(x_18); -x_19 = 0; -x_20 = lean_box(x_19); -lean_ctor_set_tag(x_8, 0); -lean_ctor_set(x_8, 0, x_20); -return x_8; -} -else -{ -lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_8, 1); -lean_inc(x_21); -lean_dec(x_8); -x_22 = 0; -x_23 = lean_box(x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_21); -return x_24; -} -} -} } static lean_object* _init_l_Lean_Elab_Eqns_UnfoldEqnExtState_map___default___closed__1() { _start: @@ -21135,7 +21085,7 @@ x_1 = l_Lean_Elab_Eqns_UnfoldEqnExtState_map___default___closed__1; return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5466____closed__1() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5421____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -21145,11 +21095,11 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5466_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5421_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5466____closed__1; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5421____closed__1; x_3 = l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(x_2, x_1); return x_3; } @@ -21293,7 +21243,7 @@ return x_18; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_object* x_9; lean_dec(x_3); lean_inc(x_7); lean_inc(x_6); @@ -21301,6 +21251,9 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); x_9 = l_Lean_Elab_Eqns_tryContradiction(x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; uint8_t x_11; x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_unbox(x_10); @@ -21352,6 +21305,35 @@ return x_20; } } } +else +{ +uint8_t x_21; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_9); +if (x_21 == 0) +{ +return x_9; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_9, 0); +x_23 = lean_ctor_get(x_9, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_9); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} } LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_go___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: @@ -23550,14 +23532,13 @@ x_1 = l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__3; x_2 = l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__5; x_3 = l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__6; x_4 = l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__9; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -24322,7 +24303,7 @@ x_8 = l_Std_PersistentHashMap_insertAux___at_Lean_Elab_Eqns_getUnfoldFor_x3f___s return x_8; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539____closed__1() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494____closed__1() { _start: { lean_object* x_1; @@ -24330,21 +24311,21 @@ x_1 = lean_mk_string_from_bytes("unfoldEqn", 9); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539____closed__2() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__4; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539____closed__1; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539____closed__2; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -24587,9 +24568,9 @@ l_Lean_Elab_Eqns_UnfoldEqnExtState_map___default = _init_l_Lean_Elab_Eqns_Unfold lean_mark_persistent(l_Lean_Elab_Eqns_UnfoldEqnExtState_map___default); l_Lean_Elab_Eqns_instInhabitedUnfoldEqnExtState = _init_l_Lean_Elab_Eqns_instInhabitedUnfoldEqnExtState(); lean_mark_persistent(l_Lean_Elab_Eqns_instInhabitedUnfoldEqnExtState); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5466____closed__1 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5466____closed__1(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5466____closed__1); -if (builtin) {res = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5466_(lean_io_mk_world()); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5421____closed__1 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5421____closed__1(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5421____closed__1); +if (builtin) {res = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_5421_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Eqns_unfoldEqnExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Eqns_unfoldEqnExt); @@ -24640,11 +24621,11 @@ l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__9 = _init_l_Lean_Elab_Eqns_getUnfold lean_mark_persistent(l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__9); l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__10 = _init_l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__10(); lean_mark_persistent(l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__10); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539____closed__1 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539____closed__1(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539____closed__1); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539____closed__2 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539____closed__2(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539____closed__2); -res = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6539_(lean_io_mk_world()); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494____closed__1 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494____closed__1(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494____closed__1); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494____closed__2 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494____closed__2(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494____closed__2); +res = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6494_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c index 5542ff4ec7..deebd12547 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c @@ -6985,432 +6985,178 @@ goto block_19; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_33 = x_30; -} else { - lean_dec_ref(x_30); - x_33 = lean_box(0); -} -x_69 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_23, x_5, x_6, x_7, x_8, x_32); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_71 = lean_st_ref_get(x_8, x_70); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_st_ref_take(x_6, x_72); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get_uint8(x_29, sizeof(void*)*8); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_76 = lean_ctor_get(x_74, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_73, 1); -lean_inc(x_77); -lean_dec(x_73); -x_78 = lean_ctor_get(x_29, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_29, 1); -lean_inc(x_79); -x_80 = lean_ctor_get(x_29, 2); -lean_inc(x_80); -x_81 = lean_ctor_get(x_29, 3); -lean_inc(x_81); -x_82 = lean_ctor_get(x_29, 4); -lean_inc(x_82); -x_83 = lean_ctor_get(x_29, 5); -lean_inc(x_83); -x_84 = lean_ctor_get(x_29, 6); -lean_inc(x_84); -x_85 = lean_ctor_get(x_29, 7); -lean_inc(x_85); -lean_dec(x_29); -x_86 = !lean_is_exclusive(x_74); -if (x_86 == 0) -{ -lean_object* x_87; uint8_t x_88; -x_87 = lean_ctor_get(x_74, 0); -lean_dec(x_87); -x_88 = !lean_is_exclusive(x_76); -if (x_88 == 0) -{ -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; -x_89 = lean_ctor_get(x_76, 7); -lean_dec(x_89); -x_90 = lean_ctor_get(x_76, 6); -lean_dec(x_90); -x_91 = lean_ctor_get(x_76, 5); -lean_dec(x_91); -x_92 = lean_ctor_get(x_76, 4); -lean_dec(x_92); -x_93 = lean_ctor_get(x_76, 3); -lean_dec(x_93); -x_94 = lean_ctor_get(x_76, 2); -lean_dec(x_94); -x_95 = lean_ctor_get(x_76, 1); -lean_dec(x_95); -x_96 = lean_ctor_get(x_76, 0); -lean_dec(x_96); -lean_ctor_set(x_76, 7, x_85); -lean_ctor_set(x_76, 6, x_84); -lean_ctor_set(x_76, 5, x_83); -lean_ctor_set(x_76, 4, x_82); -lean_ctor_set(x_76, 3, x_81); -lean_ctor_set(x_76, 2, x_80); -lean_ctor_set(x_76, 1, x_79); -lean_ctor_set(x_76, 0, x_78); -x_97 = lean_st_ref_set(x_6, x_74, x_77); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_34 = x_98; -goto block_68; -} -else -{ -uint8_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_99 = lean_ctor_get_uint8(x_76, sizeof(void*)*8); -lean_dec(x_76); -x_100 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_100, 0, x_78); -lean_ctor_set(x_100, 1, x_79); -lean_ctor_set(x_100, 2, x_80); -lean_ctor_set(x_100, 3, x_81); -lean_ctor_set(x_100, 4, x_82); -lean_ctor_set(x_100, 5, x_83); -lean_ctor_set(x_100, 6, x_84); -lean_ctor_set(x_100, 7, x_85); -lean_ctor_set_uint8(x_100, sizeof(void*)*8, x_99); -lean_ctor_set(x_74, 0, x_100); -x_101 = lean_st_ref_set(x_6, x_74, x_77); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_34 = x_102; -goto block_68; -} -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_103 = lean_ctor_get(x_74, 1); -x_104 = lean_ctor_get(x_74, 2); -x_105 = lean_ctor_get(x_74, 3); -lean_inc(x_105); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_74); -x_106 = lean_ctor_get_uint8(x_76, sizeof(void*)*8); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - lean_ctor_release(x_76, 2); - lean_ctor_release(x_76, 3); - lean_ctor_release(x_76, 4); - lean_ctor_release(x_76, 5); - lean_ctor_release(x_76, 6); - lean_ctor_release(x_76, 7); - x_107 = x_76; -} else { - lean_dec_ref(x_76); - x_107 = lean_box(0); -} -if (lean_is_scalar(x_107)) { - x_108 = lean_alloc_ctor(0, 8, 1); -} else { - x_108 = x_107; -} -lean_ctor_set(x_108, 0, x_78); -lean_ctor_set(x_108, 1, x_79); -lean_ctor_set(x_108, 2, x_80); -lean_ctor_set(x_108, 3, x_81); -lean_ctor_set(x_108, 4, x_82); -lean_ctor_set(x_108, 5, x_83); -lean_ctor_set(x_108, 6, x_84); -lean_ctor_set(x_108, 7, x_85); -lean_ctor_set_uint8(x_108, sizeof(void*)*8, x_106); -x_109 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_103); -lean_ctor_set(x_109, 2, x_104); -lean_ctor_set(x_109, 3, x_105); -x_110 = lean_st_ref_set(x_6, x_109, x_77); -x_111 = lean_ctor_get(x_110, 1); -lean_inc(x_111); -lean_dec(x_110); -x_34 = x_111; -goto block_68; -} -} -else -{ -lean_object* x_112; uint8_t x_113; -x_112 = lean_ctor_get(x_73, 1); -lean_inc(x_112); -lean_dec(x_73); -x_113 = !lean_is_exclusive(x_29); -if (x_113 == 0) -{ -uint8_t x_114; -x_114 = !lean_is_exclusive(x_74); -if (x_114 == 0) -{ -lean_object* x_115; uint8_t x_116; lean_object* x_117; lean_object* x_118; -x_115 = lean_ctor_get(x_74, 0); -lean_dec(x_115); -x_116 = 1; -lean_ctor_set_uint8(x_29, sizeof(void*)*8, x_116); -lean_ctor_set(x_74, 0, x_29); -x_117 = lean_st_ref_set(x_6, x_74, x_112); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec(x_117); -x_34 = x_118; -goto block_68; -} -else -{ -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; -x_119 = lean_ctor_get(x_74, 1); -x_120 = lean_ctor_get(x_74, 2); -x_121 = lean_ctor_get(x_74, 3); -lean_inc(x_121); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_74); -x_122 = 1; -lean_ctor_set_uint8(x_29, sizeof(void*)*8, x_122); -x_123 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_123, 0, x_29); -lean_ctor_set(x_123, 1, x_119); -lean_ctor_set(x_123, 2, x_120); -lean_ctor_set(x_123, 3, x_121); -x_124 = lean_st_ref_set(x_6, x_123, x_112); -x_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -lean_dec(x_124); -x_34 = x_125; -goto block_68; -} -} -else -{ -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; lean_object* x_137; uint8_t x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_126 = lean_ctor_get(x_29, 0); -x_127 = lean_ctor_get(x_29, 1); -x_128 = lean_ctor_get(x_29, 2); -x_129 = lean_ctor_get(x_29, 3); -x_130 = lean_ctor_get(x_29, 4); -x_131 = lean_ctor_get(x_29, 5); -x_132 = lean_ctor_get(x_29, 6); -x_133 = lean_ctor_get(x_29, 7); -lean_inc(x_133); -lean_inc(x_132); -lean_inc(x_131); -lean_inc(x_130); -lean_inc(x_129); -lean_inc(x_128); -lean_inc(x_127); -lean_inc(x_126); -lean_dec(x_29); -x_134 = lean_ctor_get(x_74, 1); -lean_inc(x_134); -x_135 = lean_ctor_get(x_74, 2); -lean_inc(x_135); -x_136 = lean_ctor_get(x_74, 3); -lean_inc(x_136); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - lean_ctor_release(x_74, 2); - lean_ctor_release(x_74, 3); - x_137 = x_74; -} else { - lean_dec_ref(x_74); - x_137 = lean_box(0); -} -x_138 = 1; -x_139 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_139, 0, x_126); -lean_ctor_set(x_139, 1, x_127); -lean_ctor_set(x_139, 2, x_128); -lean_ctor_set(x_139, 3, x_129); -lean_ctor_set(x_139, 4, x_130); -lean_ctor_set(x_139, 5, x_131); -lean_ctor_set(x_139, 6, x_132); -lean_ctor_set(x_139, 7, x_133); -lean_ctor_set_uint8(x_139, sizeof(void*)*8, x_138); -if (lean_is_scalar(x_137)) { - x_140 = lean_alloc_ctor(0, 4, 0); -} else { - x_140 = x_137; -} -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_134); -lean_ctor_set(x_140, 2, x_135); -lean_ctor_set(x_140, 3, x_136); -x_141 = lean_st_ref_set(x_6, x_140, x_112); -x_142 = lean_ctor_get(x_141, 1); -lean_inc(x_142); -lean_dec(x_141); -x_34 = x_142; -goto block_68; -} -} -block_68: -{ -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_30); +x_33 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_23, x_5, x_6, x_7, x_8, x_32); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); lean_dec(x_33); -x_35 = lean_ctor_get(x_31, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_31, 1); +x_35 = lean_st_ref_get(x_8, x_34); +x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); -lean_dec(x_31); -lean_inc(x_4); -x_37 = l_Lean_Elab_wfRecursion(x_1, x_4, x_4, x_2, x_3, x_5, x_6, x_7, x_8, x_34); -if (lean_obj_tag(x_37) == 0) -{ -lean_dec(x_36); lean_dec(x_35); -x_10 = x_37; -goto block_19; -} -else -{ -lean_object* x_38; +x_37 = lean_st_ref_take(x_6, x_36); x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); -if (lean_obj_tag(x_38) == 0) -{ -uint8_t x_39; -x_39 = !lean_is_exclusive(x_37); -if (x_39 == 0) -{ -lean_object* x_40; uint8_t x_41; -x_40 = lean_ctor_get(x_37, 0); -lean_dec(x_40); -x_41 = !lean_is_exclusive(x_38); -if (x_41 == 0) -{ -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_42 = lean_ctor_get(x_38, 1); -x_43 = lean_ctor_get(x_38, 0); -lean_dec(x_43); -x_44 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__22___lambda__1___closed__3; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_36); -lean_ctor_set(x_45, 1, x_44); -x_46 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_42); -lean_ctor_set(x_38, 1, x_47); -lean_ctor_set(x_38, 0, x_35); -x_10 = x_37; -goto block_19; -} -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; -x_48 = lean_ctor_get(x_38, 1); -lean_inc(x_48); -lean_dec(x_38); -x_49 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__22___lambda__1___closed__3; -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_36); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_48); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_35); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_37, 0, x_53); -x_10 = x_37; -goto block_19; -} -} -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; -x_54 = lean_ctor_get(x_37, 1); -lean_inc(x_54); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); lean_dec(x_37); -x_55 = lean_ctor_get(x_38, 1); -lean_inc(x_55); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - x_56 = x_38; -} else { - lean_dec_ref(x_38); - x_56 = lean_box(0); +x_40 = !lean_is_exclusive(x_38); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_38, 0); +lean_dec(x_41); +lean_ctor_set(x_38, 0, x_29); +x_42 = lean_st_ref_set(x_6, x_38, x_39); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_44 = lean_ctor_get(x_31, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_31, 1); +lean_inc(x_45); +lean_dec(x_31); +lean_inc(x_4); +x_46 = l_Lean_Elab_wfRecursion(x_1, x_4, x_4, x_2, x_3, x_5, x_6, x_7, x_8, x_43); +if (lean_obj_tag(x_46) == 0) +{ +lean_dec(x_45); +lean_dec(x_44); +x_10 = x_46; +goto block_19; } -x_57 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__22___lambda__1___closed__3; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_36); -lean_ctor_set(x_58, 1, x_57); +else +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +if (lean_obj_tag(x_47) == 0) +{ +uint8_t x_48; +x_48 = !lean_is_exclusive(x_46); +if (x_48 == 0) +{ +lean_object* x_49; uint8_t x_50; +x_49 = lean_ctor_get(x_46, 0); +lean_dec(x_49); +x_50 = !lean_is_exclusive(x_47); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_51 = lean_ctor_get(x_47, 1); +x_52 = lean_ctor_get(x_47, 0); +lean_dec(x_52); +x_53 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__22___lambda__1___closed__3; +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_45); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_51); +lean_ctor_set(x_47, 1, x_56); +lean_ctor_set(x_47, 0, x_44); +x_10 = x_46; +goto block_19; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_57 = lean_ctor_get(x_47, 1); +lean_inc(x_57); +lean_dec(x_47); +x_58 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__22___lambda__1___closed__3; x_59 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); +lean_ctor_set(x_59, 0, x_45); +lean_ctor_set(x_59, 1, x_58); x_60 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_55); -if (lean_is_scalar(x_56)) { - x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 1, x_58); +x_61 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_57); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_44); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set(x_46, 0, x_62); +x_10 = x_46; +goto block_19; +} +} +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; +x_63 = lean_ctor_get(x_46, 1); +lean_inc(x_63); +lean_dec(x_46); +x_64 = lean_ctor_get(x_47, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_65 = x_47; } else { - x_61 = x_56; + lean_dec_ref(x_47); + x_65 = lean_box(0); } -lean_ctor_set(x_61, 0, x_35); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_54); -x_10 = x_62; +x_66 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__22___lambda__1___closed__3; +x_67 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_67, 0, x_45); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +x_69 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_64); +if (lean_is_scalar(x_65)) { + x_70 = lean_alloc_ctor(0, 2, 0); +} else { + x_70 = x_65; +} +lean_ctor_set(x_70, 0, x_44); +lean_ctor_set(x_70, 1, x_69); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_63); +x_10 = x_71; goto block_19; } } else { -uint8_t x_63; -lean_dec(x_36); -lean_dec(x_35); -x_63 = !lean_is_exclusive(x_37); -if (x_63 == 0) +uint8_t x_72; +lean_dec(x_45); +lean_dec(x_44); +x_72 = !lean_is_exclusive(x_46); +if (x_72 == 0) { -lean_object* x_64; -x_64 = lean_ctor_get(x_37, 0); -lean_dec(x_64); -x_10 = x_37; +lean_object* x_73; +x_73 = lean_ctor_get(x_46, 0); +lean_dec(x_73); +x_10 = x_46; goto block_19; } else { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_37, 1); -lean_inc(x_65); -lean_dec(x_37); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_38); -lean_ctor_set(x_66, 1, x_65); -x_10 = x_66; +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_46, 1); +lean_inc(x_74); +lean_dec(x_46); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_47); +lean_ctor_set(x_75, 1, x_74); +x_10 = x_75; goto block_19; } } @@ -7418,7 +7164,7 @@ goto block_19; } else { -lean_object* x_67; +uint8_t x_76; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -7427,14 +7173,179 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -if (lean_is_scalar(x_33)) { - x_67 = lean_alloc_ctor(1, 2, 0); -} else { - x_67 = x_33; +x_76 = !lean_is_exclusive(x_42); +if (x_76 == 0) +{ +lean_object* x_77; +x_77 = lean_ctor_get(x_42, 0); +lean_dec(x_77); +lean_ctor_set_tag(x_42, 1); +lean_ctor_set(x_42, 0, x_31); +x_10 = x_42; +goto block_19; } -lean_ctor_set(x_67, 0, x_31); -lean_ctor_set(x_67, 1, x_34); -x_10 = x_67; +else +{ +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_42, 1); +lean_inc(x_78); +lean_dec(x_42); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_31); +lean_ctor_set(x_79, 1, x_78); +x_10 = x_79; +goto block_19; +} +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_80 = lean_ctor_get(x_38, 1); +x_81 = lean_ctor_get(x_38, 2); +x_82 = lean_ctor_get(x_38, 3); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_38); +x_83 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_83, 0, x_29); +lean_ctor_set(x_83, 1, x_80); +lean_ctor_set(x_83, 2, x_81); +lean_ctor_set(x_83, 3, x_82); +x_84 = lean_st_ref_set(x_6, x_83, x_39); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +lean_dec(x_84); +x_86 = lean_ctor_get(x_31, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_31, 1); +lean_inc(x_87); +lean_dec(x_31); +lean_inc(x_4); +x_88 = l_Lean_Elab_wfRecursion(x_1, x_4, x_4, x_2, x_3, x_5, x_6, x_7, x_8, x_85); +if (lean_obj_tag(x_88) == 0) +{ +lean_dec(x_87); +lean_dec(x_86); +x_10 = x_88; +goto block_19; +} +else +{ +lean_object* x_89; +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +if (lean_obj_tag(x_89) == 0) +{ +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_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_91 = x_88; +} else { + lean_dec_ref(x_88); + x_91 = lean_box(0); +} +x_92 = lean_ctor_get(x_89, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_93 = x_89; +} else { + lean_dec_ref(x_89); + x_93 = lean_box(0); +} +x_94 = l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__22___lambda__1___closed__3; +x_95 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_95, 0, x_87); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_92); +if (lean_is_scalar(x_93)) { + x_98 = lean_alloc_ctor(0, 2, 0); +} else { + x_98 = x_93; +} +lean_ctor_set(x_98, 0, x_86); +lean_ctor_set(x_98, 1, x_97); +if (lean_is_scalar(x_91)) { + x_99 = lean_alloc_ctor(1, 2, 0); +} else { + x_99 = x_91; +} +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_90); +x_10 = x_99; +goto block_19; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +lean_dec(x_87); +lean_dec(x_86); +x_100 = lean_ctor_get(x_88, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_101 = x_88; +} else { + lean_dec_ref(x_88); + x_101 = lean_box(0); +} +if (lean_is_scalar(x_101)) { + x_102 = lean_alloc_ctor(1, 2, 0); +} else { + x_102 = x_101; +} +lean_ctor_set(x_102, 0, x_89); +lean_ctor_set(x_102, 1, x_100); +x_10 = x_102; +goto block_19; +} +} +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_103 = lean_ctor_get(x_84, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_104 = x_84; +} else { + lean_dec_ref(x_84); + x_104 = lean_box(0); +} +if (lean_is_scalar(x_104)) { + x_105 = lean_alloc_ctor(1, 2, 0); +} else { + x_105 = x_104; + lean_ctor_set_tag(x_105, 1); +} +lean_ctor_set(x_105, 0, x_31); +lean_ctor_set(x_105, 1, x_103); +x_10 = x_105; goto block_19; } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c index f3476cd26c..c8c8b3f30f 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c @@ -1049,6 +1049,7 @@ x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); x_35 = l_Lean_Meta_SavedState_restore(x_27, x_6, x_7, x_8, x_9, x_34); +lean_dec(x_27); x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); lean_dec(x_35); @@ -1108,6 +1109,7 @@ x_46 = lean_ctor_get(x_30, 1); lean_inc(x_46); lean_dec(x_30); x_47 = l_Lean_Meta_SavedState_restore(x_27, x_6, x_7, x_8, x_9, x_46); +lean_dec(x_27); x_48 = lean_ctor_get(x_47, 1); lean_inc(x_48); lean_dec(x_47); @@ -1215,6 +1217,7 @@ x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); lean_dec(x_67); x_69 = l_Lean_Meta_SavedState_restore(x_61, x_6, x_7, x_8, x_9, x_68); +lean_dec(x_61); x_70 = lean_ctor_get(x_69, 1); lean_inc(x_70); lean_dec(x_69); @@ -1274,6 +1277,7 @@ x_80 = lean_ctor_get(x_64, 1); lean_inc(x_80); lean_dec(x_64); x_81 = l_Lean_Meta_SavedState_restore(x_61, x_6, x_7, x_8, x_9, x_80); +lean_dec(x_61); x_82 = lean_ctor_get(x_81, 1); lean_inc(x_82); lean_dec(x_81); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c index e288f78d82..b5845cfd83 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c @@ -512,7 +512,7 @@ x_11 = lean_unbox(x_10); lean_dec(x_10); if (x_11 == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_9, 1); lean_inc(x_12); lean_dec(x_9); @@ -522,6 +522,9 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); x_13 = l_Lean_Elab_Eqns_tryContradiction(x_1, x_4, x_5, x_6, x_7, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; uint8_t x_15; x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_unbox(x_14); @@ -1138,27 +1141,56 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_133 = !lean_is_exclusive(x_9); +x_133 = !lean_is_exclusive(x_13); if (x_133 == 0) { -lean_object* x_134; lean_object* x_135; -x_134 = lean_ctor_get(x_9, 0); -lean_dec(x_134); -x_135 = lean_box(0); -lean_ctor_set(x_9, 0, x_135); +return x_13; +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_13, 0); +x_135 = lean_ctor_get(x_13, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_13); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +} +} +else +{ +uint8_t x_137; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_137 = !lean_is_exclusive(x_9); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; +x_138 = lean_ctor_get(x_9, 0); +lean_dec(x_138); +x_139 = lean_box(0); +lean_ctor_set(x_9, 0, x_139); return x_9; } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_9, 1); -lean_inc(x_136); +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_9, 1); +lean_inc(x_140); lean_dec(x_9); -x_137 = lean_box(0); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_136); -return x_138; +x_141 = lean_box(0); +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_140); +return x_142; } } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c index 8ef22ed218..383772b523 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c @@ -93,6 +93,7 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinitio uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_findRecArg(lean_object*); +lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Meta_forEachExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_go___rarg___closed__7; @@ -220,7 +221,6 @@ lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_ob static lean_object* l_Lean_Elab_Structural_findRecArg_go___rarg___lambda__3___closed__6; extern lean_object* l_Lean_brecOnSuffix; lean_object* l_Lean_Expr_getAppFn(lean_object*); -lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_go___rarg___closed__4; static lean_object* l_Lean_Elab_Structural_findRecArg_go___rarg___lambda__1___closed__2; @@ -830,7 +830,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -1558,7 +1558,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -1858,7 +1858,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_112; lean_object* x_113; uint8_t x_114; +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; x_8 = lean_st_ref_get(x_6, x_7); x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); @@ -1872,235 +1872,170 @@ lean_dec(x_10); x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); lean_dec(x_11); -x_112 = l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__1; -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_13); -x_114 = l_Lean_Expr_hasFVar(x_1); -if (x_114 == 0) +x_14 = l_Lean_exprDependsOn___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___closed__1; +lean_inc(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_Expr_hasFVar(x_1); +if (x_16 == 0) { -uint8_t x_115; -x_115 = l_Lean_Expr_hasMVar(x_1); -if (x_115 == 0) +uint8_t x_17; +x_17 = l_Lean_Expr_hasMVar(x_1); +if (x_17 == 0) { -uint8_t x_116; -lean_dec(x_1); -x_116 = 0; -x_14 = x_116; -x_15 = x_113; -goto block_111; -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_117 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_2, x_1, x_113); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = lean_unbox(x_118); -lean_dec(x_118); -x_14 = x_120; -x_15 = x_119; -goto block_111; -} -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_121 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_2, x_1, x_113); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = lean_unbox(x_122); -lean_dec(x_122); -x_14 = x_124; -x_15 = x_123; -goto block_111; -} -block_111: -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_dec(x_15); -x_17 = lean_st_ref_get(x_6, x_12); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_st_ref_take(x_4, x_18); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get_uint8(x_16, sizeof(void*)*8); -if (x_21 == 0) -{ -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; uint8_t x_32; -x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_1); +x_18 = lean_st_ref_get(x_6, x_12); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_st_ref_take(x_4, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); -x_23 = lean_ctor_get(x_19, 1); -lean_inc(x_23); -lean_dec(x_19); -x_24 = lean_ctor_get(x_16, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_16, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_16, 2); -lean_inc(x_26); -x_27 = lean_ctor_get(x_16, 3); -lean_inc(x_27); -x_28 = lean_ctor_get(x_16, 4); -lean_inc(x_28); -x_29 = lean_ctor_get(x_16, 5); -lean_inc(x_29); -x_30 = lean_ctor_get(x_16, 6); +lean_dec(x_20); +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_21, 0); +lean_dec(x_24); +lean_ctor_set(x_21, 0, x_13); +x_25 = lean_st_ref_set(x_4, x_21, x_22); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +x_28 = 0; +x_29 = lean_box(x_28); +lean_ctor_set(x_25, 0, x_29); +return x_25; +} +else +{ +lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_25, 1); lean_inc(x_30); -x_31 = lean_ctor_get(x_16, 7); -lean_inc(x_31); -lean_dec(x_16); -x_32 = !lean_is_exclusive(x_20); -if (x_32 == 0) +lean_dec(x_25); +x_31 = 0; +x_32 = lean_box(x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +} +else { -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_20, 0); -lean_dec(x_33); -x_34 = !lean_is_exclusive(x_22); -if (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; lean_object* x_43; uint8_t x_44; -x_35 = lean_ctor_get(x_22, 7); -lean_dec(x_35); -x_36 = lean_ctor_get(x_22, 6); -lean_dec(x_36); -x_37 = lean_ctor_get(x_22, 5); -lean_dec(x_37); -x_38 = lean_ctor_get(x_22, 4); -lean_dec(x_38); -x_39 = lean_ctor_get(x_22, 3); -lean_dec(x_39); -x_40 = lean_ctor_get(x_22, 2); -lean_dec(x_40); -x_41 = lean_ctor_get(x_22, 1); -lean_dec(x_41); -x_42 = lean_ctor_get(x_22, 0); -lean_dec(x_42); -lean_ctor_set(x_22, 7, x_31); -lean_ctor_set(x_22, 6, x_30); -lean_ctor_set(x_22, 5, x_29); -lean_ctor_set(x_22, 4, x_28); -lean_ctor_set(x_22, 3, x_27); -lean_ctor_set(x_22, 2, x_26); -lean_ctor_set(x_22, 1, x_25); -lean_ctor_set(x_22, 0, x_24); -x_43 = lean_st_ref_set(x_4, x_20, x_23); -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_43, 0); -lean_dec(x_45); -x_46 = lean_box(x_14); -lean_ctor_set(x_43, 0, x_46); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; +x_34 = lean_ctor_get(x_21, 1); +x_35 = lean_ctor_get(x_21, 2); +x_36 = lean_ctor_get(x_21, 3); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_21); +x_37 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_37, 0, x_13); +lean_ctor_set(x_37, 1, x_34); +lean_ctor_set(x_37, 2, x_35); +lean_ctor_set(x_37, 3, x_36); +x_38 = lean_st_ref_set(x_4, x_37, x_22); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_40 = x_38; +} else { + lean_dec_ref(x_38); + x_40 = lean_box(0); +} +x_41 = 0; +x_42 = lean_box(x_41); +if (lean_is_scalar(x_40)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_40; +} +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_39); return x_43; } +} else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_43, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_dec(x_13); +x_44 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2(x_2, x_1, x_15); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); -lean_dec(x_43); -x_48 = lean_box(x_14); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -return x_49; -} +lean_dec(x_45); +x_48 = lean_st_ref_get(x_6, x_12); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_st_ref_take(x_4, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = !lean_is_exclusive(x_51); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_54 = lean_ctor_get(x_51, 0); +lean_dec(x_54); +lean_ctor_set(x_51, 0, x_47); +x_55 = lean_st_ref_set(x_4, x_51, x_52); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +lean_ctor_set(x_55, 0, x_46); +return x_55; } else { -uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_50 = lean_ctor_get_uint8(x_22, sizeof(void*)*8); -lean_dec(x_22); -x_51 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_51, 0, x_24); -lean_ctor_set(x_51, 1, x_25); -lean_ctor_set(x_51, 2, x_26); -lean_ctor_set(x_51, 3, x_27); -lean_ctor_set(x_51, 4, x_28); -lean_ctor_set(x_51, 5, x_29); -lean_ctor_set(x_51, 6, x_30); -lean_ctor_set(x_51, 7, x_31); -lean_ctor_set_uint8(x_51, sizeof(void*)*8, x_50); -lean_ctor_set(x_20, 0, x_51); -x_52 = lean_st_ref_set(x_4, x_20, x_23); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(x_14); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -else -{ -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_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_57 = lean_ctor_get(x_20, 1); -x_58 = lean_ctor_get(x_20, 2); -x_59 = lean_ctor_get(x_20, 3); -lean_inc(x_59); +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_55, 1); lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_20); -x_60 = lean_ctor_get_uint8(x_22, sizeof(void*)*8); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - lean_ctor_release(x_22, 2); - lean_ctor_release(x_22, 3); - lean_ctor_release(x_22, 4); - lean_ctor_release(x_22, 5); - lean_ctor_release(x_22, 6); - lean_ctor_release(x_22, 7); - x_61 = x_22; -} else { - lean_dec_ref(x_22); - x_61 = lean_box(0); +lean_dec(x_55); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_46); +lean_ctor_set(x_59, 1, x_58); +return x_59; } -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(0, 8, 1); -} else { - x_62 = x_61; } -lean_ctor_set(x_62, 0, x_24); -lean_ctor_set(x_62, 1, x_25); -lean_ctor_set(x_62, 2, x_26); -lean_ctor_set(x_62, 3, x_27); -lean_ctor_set(x_62, 4, x_28); -lean_ctor_set(x_62, 5, x_29); -lean_ctor_set(x_62, 6, x_30); -lean_ctor_set(x_62, 7, x_31); -lean_ctor_set_uint8(x_62, sizeof(void*)*8, x_60); +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_60 = lean_ctor_get(x_51, 1); +x_61 = lean_ctor_get(x_51, 2); +x_62 = lean_ctor_get(x_51, 3); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_51); x_63 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_57); -lean_ctor_set(x_63, 2, x_58); -lean_ctor_set(x_63, 3, x_59); -x_64 = lean_st_ref_set(x_4, x_63, x_23); +lean_ctor_set(x_63, 0, x_47); +lean_ctor_set(x_63, 1, x_60); +lean_ctor_set(x_63, 2, x_61); +lean_ctor_set(x_63, 3, x_62); +x_64 = lean_st_ref_set(x_4, x_63, x_52); x_65 = lean_ctor_get(x_64, 1); lean_inc(x_65); if (lean_is_exclusive(x_64)) { @@ -2111,176 +2046,103 @@ if (lean_is_exclusive(x_64)) { lean_dec_ref(x_64); x_66 = lean_box(0); } -x_67 = lean_box(x_14); if (lean_is_scalar(x_66)) { - x_68 = lean_alloc_ctor(0, 2, 0); + x_67 = lean_alloc_ctor(0, 2, 0); } else { - x_68 = x_66; + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_46); +lean_ctor_set(x_67, 1, x_65); +return x_67; } -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_65); -return x_68; } } else { -lean_object* x_69; uint8_t x_70; -x_69 = lean_ctor_get(x_19, 1); +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; uint8_t x_77; +lean_dec(x_13); +x_68 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__10(x_2, x_1, x_15); +x_69 = lean_ctor_get(x_68, 1); lean_inc(x_69); -lean_dec(x_19); -x_70 = !lean_is_exclusive(x_16); -if (x_70 == 0) -{ -uint8_t x_71; -x_71 = !lean_is_exclusive(x_20); -if (x_71 == 0) -{ -lean_object* x_72; uint8_t x_73; lean_object* x_74; uint8_t x_75; -x_72 = lean_ctor_get(x_20, 0); +x_70 = lean_ctor_get(x_68, 0); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_st_ref_get(x_6, x_12); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); lean_dec(x_72); -x_73 = 1; -lean_ctor_set_uint8(x_16, sizeof(void*)*8, x_73); -lean_ctor_set(x_20, 0, x_16); -x_74 = lean_st_ref_set(x_4, x_20, x_69); -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_74, 0); -lean_dec(x_76); -x_77 = lean_box(x_14); -lean_ctor_set(x_74, 0, x_77); -return x_74; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_74, 1); -lean_inc(x_78); +x_74 = lean_st_ref_take(x_4, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); lean_dec(x_74); -x_79 = lean_box(x_14); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -return x_80; -} +x_77 = !lean_is_exclusive(x_75); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_78 = lean_ctor_get(x_75, 0); +lean_dec(x_78); +lean_ctor_set(x_75, 0, x_71); +x_79 = lean_st_ref_set(x_4, x_75, x_76); +x_80 = !lean_is_exclusive(x_79); +if (x_80 == 0) +{ +lean_object* x_81; +x_81 = lean_ctor_get(x_79, 0); +lean_dec(x_81); +lean_ctor_set(x_79, 0, x_70); +return x_79; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t 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; -x_81 = lean_ctor_get(x_20, 1); -x_82 = lean_ctor_get(x_20, 2); -x_83 = lean_ctor_get(x_20, 3); -lean_inc(x_83); +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_79, 1); lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_20); -x_84 = 1; -lean_ctor_set_uint8(x_16, sizeof(void*)*8, x_84); -x_85 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_85, 0, x_16); -lean_ctor_set(x_85, 1, x_81); -lean_ctor_set(x_85, 2, x_82); -lean_ctor_set(x_85, 3, x_83); -x_86 = lean_st_ref_set(x_4, x_85, x_69); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_88 = x_86; -} else { - lean_dec_ref(x_86); - x_88 = lean_box(0); -} -x_89 = lean_box(x_14); -if (lean_is_scalar(x_88)) { - x_90 = lean_alloc_ctor(0, 2, 0); -} else { - x_90 = x_88; -} -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_87); -return x_90; +lean_dec(x_79); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_70); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t 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; -x_91 = lean_ctor_get(x_16, 0); -x_92 = lean_ctor_get(x_16, 1); -x_93 = lean_ctor_get(x_16, 2); -x_94 = lean_ctor_get(x_16, 3); -x_95 = lean_ctor_get(x_16, 4); -x_96 = lean_ctor_get(x_16, 5); -x_97 = lean_ctor_get(x_16, 6); -x_98 = lean_ctor_get(x_16, 7); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_16); -x_99 = lean_ctor_get(x_20, 1); -lean_inc(x_99); -x_100 = lean_ctor_get(x_20, 2); -lean_inc(x_100); -x_101 = lean_ctor_get(x_20, 3); -lean_inc(x_101); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - lean_ctor_release(x_20, 2); - lean_ctor_release(x_20, 3); - x_102 = x_20; +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_84 = lean_ctor_get(x_75, 1); +x_85 = lean_ctor_get(x_75, 2); +x_86 = lean_ctor_get(x_75, 3); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_75); +x_87 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_87, 0, x_71); +lean_ctor_set(x_87, 1, x_84); +lean_ctor_set(x_87, 2, x_85); +lean_ctor_set(x_87, 3, x_86); +x_88 = lean_st_ref_set(x_4, x_87, x_76); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_90 = x_88; } else { - lean_dec_ref(x_20); - x_102 = lean_box(0); + lean_dec_ref(x_88); + x_90 = lean_box(0); } -x_103 = 1; -x_104 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_104, 0, x_91); -lean_ctor_set(x_104, 1, x_92); -lean_ctor_set(x_104, 2, x_93); -lean_ctor_set(x_104, 3, x_94); -lean_ctor_set(x_104, 4, x_95); -lean_ctor_set(x_104, 5, x_96); -lean_ctor_set(x_104, 6, x_97); -lean_ctor_set(x_104, 7, x_98); -lean_ctor_set_uint8(x_104, sizeof(void*)*8, x_103); -if (lean_is_scalar(x_102)) { - x_105 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(0, 2, 0); } else { - x_105 = x_102; -} -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_99); -lean_ctor_set(x_105, 2, x_100); -lean_ctor_set(x_105, 3, x_101); -x_106 = lean_st_ref_set(x_4, x_105, x_69); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_108 = x_106; -} else { - lean_dec_ref(x_106); - x_108 = lean_box(0); -} -x_109 = lean_box(x_14); -if (lean_is_scalar(x_108)) { - x_110 = lean_alloc_ctor(0, 2, 0); -} else { - x_110 = x_108; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -return x_110; + x_91 = x_90; } +lean_ctor_set(x_91, 0, x_70); +lean_ctor_set(x_91, 1, x_89); +return x_91; } } } @@ -3575,439 +3437,185 @@ goto block_23; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); 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_77 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_27, x_4, x_5, x_6, x_7, x_36); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_79 = lean_st_ref_get(x_7, x_78); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_81 = lean_st_ref_take(x_5, x_80); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get_uint8(x_33, sizeof(void*)*8); -if (x_83 == 0) -{ -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; uint8_t x_94; -x_84 = lean_ctor_get(x_82, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_81, 1); -lean_inc(x_85); -lean_dec(x_81); -x_86 = lean_ctor_get(x_33, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_33, 1); -lean_inc(x_87); -x_88 = lean_ctor_get(x_33, 2); -lean_inc(x_88); -x_89 = lean_ctor_get(x_33, 3); -lean_inc(x_89); -x_90 = lean_ctor_get(x_33, 4); -lean_inc(x_90); -x_91 = lean_ctor_get(x_33, 5); -lean_inc(x_91); -x_92 = lean_ctor_get(x_33, 6); -lean_inc(x_92); -x_93 = lean_ctor_get(x_33, 7); -lean_inc(x_93); -lean_dec(x_33); -x_94 = !lean_is_exclusive(x_82); -if (x_94 == 0) -{ -lean_object* x_95; uint8_t x_96; -x_95 = lean_ctor_get(x_82, 0); -lean_dec(x_95); -x_96 = !lean_is_exclusive(x_84); -if (x_96 == 0) -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_97 = lean_ctor_get(x_84, 7); -lean_dec(x_97); -x_98 = lean_ctor_get(x_84, 6); -lean_dec(x_98); -x_99 = lean_ctor_get(x_84, 5); -lean_dec(x_99); -x_100 = lean_ctor_get(x_84, 4); -lean_dec(x_100); -x_101 = lean_ctor_get(x_84, 3); -lean_dec(x_101); -x_102 = lean_ctor_get(x_84, 2); -lean_dec(x_102); -x_103 = lean_ctor_get(x_84, 1); -lean_dec(x_103); -x_104 = lean_ctor_get(x_84, 0); -lean_dec(x_104); -lean_ctor_set(x_84, 7, x_93); -lean_ctor_set(x_84, 6, x_92); -lean_ctor_set(x_84, 5, x_91); -lean_ctor_set(x_84, 4, x_90); -lean_ctor_set(x_84, 3, x_89); -lean_ctor_set(x_84, 2, x_88); -lean_ctor_set(x_84, 1, x_87); -lean_ctor_set(x_84, 0, x_86); -x_105 = lean_st_ref_set(x_5, x_82, x_85); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -lean_dec(x_105); -x_38 = x_106; -goto block_76; -} -else -{ -uint8_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get_uint8(x_84, sizeof(void*)*8); -lean_dec(x_84); -x_108 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_108, 0, x_86); -lean_ctor_set(x_108, 1, x_87); -lean_ctor_set(x_108, 2, x_88); -lean_ctor_set(x_108, 3, x_89); -lean_ctor_set(x_108, 4, x_90); -lean_ctor_set(x_108, 5, x_91); -lean_ctor_set(x_108, 6, x_92); -lean_ctor_set(x_108, 7, x_93); -lean_ctor_set_uint8(x_108, sizeof(void*)*8, x_107); -lean_ctor_set(x_82, 0, x_108); -x_109 = lean_st_ref_set(x_5, x_82, x_85); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -lean_dec(x_109); -x_38 = x_110; -goto block_76; -} -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_111 = lean_ctor_get(x_82, 1); -x_112 = lean_ctor_get(x_82, 2); -x_113 = lean_ctor_get(x_82, 3); -lean_inc(x_113); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_82); -x_114 = lean_ctor_get_uint8(x_84, sizeof(void*)*8); -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); - lean_ctor_release(x_84, 6); - lean_ctor_release(x_84, 7); - x_115 = x_84; -} else { - lean_dec_ref(x_84); - x_115 = lean_box(0); -} -if (lean_is_scalar(x_115)) { - x_116 = lean_alloc_ctor(0, 8, 1); -} else { - x_116 = x_115; -} -lean_ctor_set(x_116, 0, x_86); -lean_ctor_set(x_116, 1, x_87); -lean_ctor_set(x_116, 2, x_88); -lean_ctor_set(x_116, 3, x_89); -lean_ctor_set(x_116, 4, x_90); -lean_ctor_set(x_116, 5, x_91); -lean_ctor_set(x_116, 6, x_92); -lean_ctor_set(x_116, 7, x_93); -lean_ctor_set_uint8(x_116, sizeof(void*)*8, x_114); -x_117 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_111); -lean_ctor_set(x_117, 2, x_112); -lean_ctor_set(x_117, 3, x_113); -x_118 = lean_st_ref_set(x_5, x_117, x_85); -x_119 = lean_ctor_get(x_118, 1); -lean_inc(x_119); -lean_dec(x_118); -x_38 = x_119; -goto block_76; -} -} -else -{ -lean_object* x_120; uint8_t x_121; -x_120 = lean_ctor_get(x_81, 1); -lean_inc(x_120); -lean_dec(x_81); -x_121 = !lean_is_exclusive(x_33); -if (x_121 == 0) -{ -uint8_t x_122; -x_122 = !lean_is_exclusive(x_82); -if (x_122 == 0) -{ -lean_object* x_123; uint8_t x_124; lean_object* x_125; lean_object* x_126; -x_123 = lean_ctor_get(x_82, 0); -lean_dec(x_123); -x_124 = 1; -lean_ctor_set_uint8(x_33, sizeof(void*)*8, x_124); -lean_ctor_set(x_82, 0, x_33); -x_125 = lean_st_ref_set(x_5, x_82, x_120); -x_126 = lean_ctor_get(x_125, 1); -lean_inc(x_126); -lean_dec(x_125); -x_38 = x_126; -goto block_76; -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_127 = lean_ctor_get(x_82, 1); -x_128 = lean_ctor_get(x_82, 2); -x_129 = lean_ctor_get(x_82, 3); -lean_inc(x_129); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_82); -x_130 = 1; -lean_ctor_set_uint8(x_33, sizeof(void*)*8, x_130); -x_131 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_131, 0, x_33); -lean_ctor_set(x_131, 1, x_127); -lean_ctor_set(x_131, 2, x_128); -lean_ctor_set(x_131, 3, x_129); -x_132 = lean_st_ref_set(x_5, x_131, x_120); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -lean_dec(x_132); -x_38 = x_133; -goto block_76; -} -} -else -{ -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; uint8_t x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_134 = lean_ctor_get(x_33, 0); -x_135 = lean_ctor_get(x_33, 1); -x_136 = lean_ctor_get(x_33, 2); -x_137 = lean_ctor_get(x_33, 3); -x_138 = lean_ctor_get(x_33, 4); -x_139 = lean_ctor_get(x_33, 5); -x_140 = lean_ctor_get(x_33, 6); -x_141 = lean_ctor_get(x_33, 7); -lean_inc(x_141); -lean_inc(x_140); -lean_inc(x_139); -lean_inc(x_138); -lean_inc(x_137); -lean_inc(x_136); -lean_inc(x_135); -lean_inc(x_134); -lean_dec(x_33); -x_142 = lean_ctor_get(x_82, 1); -lean_inc(x_142); -x_143 = lean_ctor_get(x_82, 2); -lean_inc(x_143); -x_144 = lean_ctor_get(x_82, 3); -lean_inc(x_144); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - lean_ctor_release(x_82, 2); - lean_ctor_release(x_82, 3); - x_145 = x_82; -} else { - lean_dec_ref(x_82); - x_145 = lean_box(0); -} -x_146 = 1; -x_147 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_147, 0, x_134); -lean_ctor_set(x_147, 1, x_135); -lean_ctor_set(x_147, 2, x_136); -lean_ctor_set(x_147, 3, x_137); -lean_ctor_set(x_147, 4, x_138); -lean_ctor_set(x_147, 5, x_139); -lean_ctor_set(x_147, 6, x_140); -lean_ctor_set(x_147, 7, x_141); -lean_ctor_set_uint8(x_147, sizeof(void*)*8, x_146); -if (lean_is_scalar(x_145)) { - x_148 = lean_alloc_ctor(0, 4, 0); -} else { - x_148 = x_145; -} -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_142); -lean_ctor_set(x_148, 2, x_143); -lean_ctor_set(x_148, 3, x_144); -x_149 = lean_st_ref_set(x_5, x_148, x_120); -x_150 = lean_ctor_get(x_149, 1); -lean_inc(x_150); -lean_dec(x_149); -x_38 = x_150; -goto block_76; -} -} -block_76: +lean_dec(x_34); +x_37 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_27, x_4, x_5, x_6, x_7, x_36); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_st_ref_get(x_7, x_38); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_st_ref_take(x_5, x_40); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = !lean_is_exclusive(x_42); +if (x_44 == 0) { +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_42, 0); +lean_dec(x_45); +lean_ctor_set(x_42, 0, x_33); +x_46 = lean_st_ref_set(x_5, x_42, x_43); if (lean_obj_tag(x_35) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -lean_dec(x_37); -x_39 = lean_ctor_get(x_35, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_35, 1); -lean_inc(x_40); -lean_dec(x_35); -x_41 = lean_st_ref_get(x_7, x_38); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_st_ref_set(x_3, x_12, x_42); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); -x_45 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_44); -if (lean_obj_tag(x_45) == 0) -{ -lean_dec(x_40); -lean_dec(x_39); -x_14 = x_45; -goto block_23; -} -else -{ -lean_object* x_46; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -if (lean_obj_tag(x_46) == 0) -{ -uint8_t x_47; -x_47 = !lean_is_exclusive(x_45); -if (x_47 == 0) -{ -lean_object* x_48; uint8_t x_49; -x_48 = lean_ctor_get(x_45, 0); -lean_dec(x_48); -x_49 = !lean_is_exclusive(x_46); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_50 = lean_ctor_get(x_46, 1); -x_51 = lean_ctor_get(x_46, 0); -lean_dec(x_51); -x_52 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg___closed__1; -x_53 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_53, 0, x_40); -lean_ctor_set(x_53, 1, x_52); -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_50); -lean_ctor_set(x_46, 1, x_55); -lean_ctor_set(x_46, 0, x_39); -x_14 = x_45; -goto block_23; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_56 = lean_ctor_get(x_46, 1); -lean_inc(x_56); +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; +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); lean_dec(x_46); -x_57 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg___closed__1; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_40); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_56); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_39); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_45, 0, x_61); -x_14 = x_45; +x_48 = lean_ctor_get(x_35, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_35, 1); +lean_inc(x_49); +lean_dec(x_35); +x_50 = lean_st_ref_get(x_7, x_47); +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +lean_dec(x_50); +x_52 = lean_st_ref_set(x_3, x_12, x_51); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_53); +if (lean_obj_tag(x_54) == 0) +{ +lean_dec(x_49); +lean_dec(x_48); +x_14 = x_54; goto block_23; } -} 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; -x_62 = lean_ctor_get(x_45, 1); -lean_inc(x_62); -lean_dec(x_45); -x_63 = lean_ctor_get(x_46, 1); -lean_inc(x_63); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_64 = x_46; -} else { - lean_dec_ref(x_46); - x_64 = lean_box(0); +lean_object* x_55; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +if (lean_obj_tag(x_55) == 0) +{ +uint8_t x_56; +x_56 = !lean_is_exclusive(x_54); +if (x_56 == 0) +{ +lean_object* x_57; uint8_t x_58; +x_57 = lean_ctor_get(x_54, 0); +lean_dec(x_57); +x_58 = !lean_is_exclusive(x_55); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_59 = lean_ctor_get(x_55, 1); +x_60 = lean_ctor_get(x_55, 0); +lean_dec(x_60); +x_61 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg___closed__1; +x_62 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_62, 0, x_49); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_59); +lean_ctor_set(x_55, 1, x_64); +lean_ctor_set(x_55, 0, x_48); +x_14 = x_54; +goto block_23; } -x_65 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg___closed__1; -x_66 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_66, 0, x_40); -lean_ctor_set(x_66, 1, x_65); +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_65 = lean_ctor_get(x_55, 1); +lean_inc(x_65); +lean_dec(x_55); +x_66 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg___closed__1; x_67 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); +lean_ctor_set(x_67, 0, x_49); +lean_ctor_set(x_67, 1, x_66); x_68 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_63); -if (lean_is_scalar(x_64)) { - x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 1, x_66); +x_69 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_65); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_48); +lean_ctor_set(x_70, 1, x_69); +lean_ctor_set(x_54, 0, x_70); +x_14 = x_54; +goto block_23; +} +} +else +{ +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_71 = lean_ctor_get(x_54, 1); +lean_inc(x_71); +lean_dec(x_54); +x_72 = lean_ctor_get(x_55, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_73 = x_55; } else { - x_69 = x_64; + lean_dec_ref(x_55); + x_73 = lean_box(0); } -lean_ctor_set(x_69, 0, x_39); -lean_ctor_set(x_69, 1, x_68); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_62); -x_14 = x_70; +x_74 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg___closed__1; +x_75 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_75, 0, x_49); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_72); +if (lean_is_scalar(x_73)) { + x_78 = lean_alloc_ctor(0, 2, 0); +} else { + x_78 = x_73; +} +lean_ctor_set(x_78, 0, x_48); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_71); +x_14 = x_79; goto block_23; } } else { -uint8_t x_71; -lean_dec(x_40); -lean_dec(x_39); -x_71 = !lean_is_exclusive(x_45); -if (x_71 == 0) +uint8_t x_80; +lean_dec(x_49); +lean_dec(x_48); +x_80 = !lean_is_exclusive(x_54); +if (x_80 == 0) { -lean_object* x_72; -x_72 = lean_ctor_get(x_45, 0); -lean_dec(x_72); -x_14 = x_45; +lean_object* x_81; +x_81 = lean_ctor_get(x_54, 0); +lean_dec(x_81); +x_14 = x_54; goto block_23; } else { -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_45, 1); -lean_inc(x_73); -lean_dec(x_45); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_46); -lean_ctor_set(x_74, 1, x_73); -x_14 = x_74; +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_54, 1); +lean_inc(x_82); +lean_dec(x_54); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_55); +lean_ctor_set(x_83, 1, x_82); +x_14 = x_83; goto block_23; } } @@ -4015,7 +3623,7 @@ goto block_23; } else { -lean_object* x_75; +uint8_t x_84; lean_dec(x_12); lean_dec(x_7); lean_dec(x_6); @@ -4023,14 +3631,185 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -if (lean_is_scalar(x_37)) { - x_75 = lean_alloc_ctor(1, 2, 0); -} else { - x_75 = x_37; +x_84 = !lean_is_exclusive(x_46); +if (x_84 == 0) +{ +lean_object* x_85; +x_85 = lean_ctor_get(x_46, 0); +lean_dec(x_85); +lean_ctor_set_tag(x_46, 1); +lean_ctor_set(x_46, 0, x_35); +x_14 = x_46; +goto block_23; } -lean_ctor_set(x_75, 0, x_35); -lean_ctor_set(x_75, 1, x_38); -x_14 = x_75; +else +{ +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_46, 1); +lean_inc(x_86); +lean_dec(x_46); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_35); +lean_ctor_set(x_87, 1, x_86); +x_14 = x_87; +goto block_23; +} +} +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_88 = lean_ctor_get(x_42, 1); +x_89 = lean_ctor_get(x_42, 2); +x_90 = lean_ctor_get(x_42, 3); +lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_42); +x_91 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_91, 0, x_33); +lean_ctor_set(x_91, 1, x_88); +lean_ctor_set(x_91, 2, x_89); +lean_ctor_set(x_91, 3, x_90); +x_92 = lean_st_ref_set(x_5, x_91, x_43); +if (lean_obj_tag(x_35) == 0) +{ +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_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +lean_dec(x_92); +x_94 = lean_ctor_get(x_35, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_35, 1); +lean_inc(x_95); +lean_dec(x_35); +x_96 = lean_st_ref_get(x_7, x_93); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +lean_dec(x_96); +x_98 = lean_st_ref_set(x_3, x_12, x_97); +x_99 = lean_ctor_get(x_98, 1); +lean_inc(x_99); +lean_dec(x_98); +x_100 = lean_apply_6(x_2, x_3, x_4, x_5, x_6, x_7, x_99); +if (lean_obj_tag(x_100) == 0) +{ +lean_dec(x_95); +lean_dec(x_94); +x_14 = x_100; +goto block_23; +} +else +{ +lean_object* x_101; +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +if (lean_obj_tag(x_101) == 0) +{ +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_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_103 = x_100; +} else { + lean_dec_ref(x_100); + x_103 = lean_box(0); +} +x_104 = lean_ctor_get(x_101, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_105 = x_101; +} else { + lean_dec_ref(x_101); + x_105 = lean_box(0); +} +x_106 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg___closed__1; +x_107 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_107, 0, x_95); +lean_ctor_set(x_107, 1, x_106); +x_108 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_106); +x_109 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_104); +if (lean_is_scalar(x_105)) { + x_110 = lean_alloc_ctor(0, 2, 0); +} else { + x_110 = x_105; +} +lean_ctor_set(x_110, 0, x_94); +lean_ctor_set(x_110, 1, x_109); +if (lean_is_scalar(x_103)) { + x_111 = lean_alloc_ctor(1, 2, 0); +} else { + x_111 = x_103; +} +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_102); +x_14 = x_111; +goto block_23; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +lean_dec(x_95); +lean_dec(x_94); +x_112 = lean_ctor_get(x_100, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_113 = x_100; +} else { + lean_dec_ref(x_100); + x_113 = lean_box(0); +} +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(1, 2, 0); +} else { + x_114 = x_113; +} +lean_ctor_set(x_114, 0, x_101); +lean_ctor_set(x_114, 1, x_112); +x_14 = x_114; +goto block_23; +} +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_115 = lean_ctor_get(x_92, 1); +lean_inc(x_115); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + lean_ctor_release(x_92, 1); + x_116 = x_92; +} else { + lean_dec_ref(x_92); + x_116 = lean_box(0); +} +if (lean_is_scalar(x_116)) { + x_117 = lean_alloc_ctor(1, 2, 0); +} else { + x_117 = x_116; + lean_ctor_set_tag(x_117, 1); +} +lean_ctor_set(x_117, 0, x_35); +lean_ctor_set(x_117, 1, x_115); +x_14 = x_117; goto block_23; } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c index a71a2091fc..55358956fc 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c @@ -1360,14 +1360,13 @@ x_1 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Le x_2 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimRecursion___spec__2___closed__7; x_3 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimRecursion___spec__2___closed__8; x_4 = l_Lean_setEnv___at___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimRecursion___spec__2___closed__11; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c index 8a75686400..607cd9a1e0 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c @@ -5137,7 +5137,7 @@ x_14 = lean_unbox(x_13); lean_dec(x_13); if (x_14 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_object* x_15; lean_object* x_16; x_15 = lean_ctor_get(x_12, 1); lean_inc(x_15); lean_dec(x_12); @@ -5147,6 +5147,9 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_1); x_16 = l_Lean_Elab_Eqns_tryContradiction(x_1, x_7, x_8, x_9, x_10, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; uint8_t x_18; x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_unbox(x_17); @@ -5810,27 +5813,59 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_136 = !lean_is_exclusive(x_12); +x_136 = !lean_is_exclusive(x_16); if (x_136 == 0) { -lean_object* x_137; lean_object* x_138; -x_137 = lean_ctor_get(x_12, 0); -lean_dec(x_137); -x_138 = lean_box(0); -lean_ctor_set(x_12, 0, x_138); +return x_16; +} +else +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_ctor_get(x_16, 0); +x_138 = lean_ctor_get(x_16, 1); +lean_inc(x_138); +lean_inc(x_137); +lean_dec(x_16); +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 +{ +uint8_t x_140; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_140 = !lean_is_exclusive(x_12); +if (x_140 == 0) +{ +lean_object* x_141; lean_object* x_142; +x_141 = lean_ctor_get(x_12, 0); +lean_dec(x_141); +x_142 = lean_box(0); +lean_ctor_set(x_12, 0, x_142); return x_12; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_12, 1); -lean_inc(x_139); +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_12, 1); +lean_inc(x_143); lean_dec(x_12); -x_140 = lean_box(0); -x_141 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_139); -return x_141; +x_144 = lean_box(0); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_143); +return x_145; } } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c index 4945c82bf2..4ea57a1b66 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c @@ -515,7 +515,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___closed__2; x_2 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___closed__3; x_3 = lean_unsigned_to_nat(26u); -x_4 = lean_unsigned_to_nat(44u); +x_4 = lean_unsigned_to_nat(45u); x_5 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -4341,48 +4341,45 @@ lean_dec(x_17); x_18 = !lean_is_exclusive(x_14); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; uint8_t x_23; +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; x_19 = lean_ctor_get(x_14, 6); x_20 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_19, x_1, x_2); -x_21 = 1; lean_ctor_set(x_14, 6, x_20); -lean_ctor_set_uint8(x_14, sizeof(void*)*8, x_21); -x_22 = lean_st_ref_set(x_6, x_13, x_15); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +x_21 = lean_st_ref_set(x_6, x_13, x_15); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -x_25 = lean_box(0); -lean_ctor_set(x_22, 0, x_25); -return x_22; +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +x_24 = lean_box(0); +lean_ctor_set(x_21, 0, x_24); +return x_21; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); -lean_dec(x_22); -x_27 = lean_box(0); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -return x_28; +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_dec(x_21); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; } } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_29 = lean_ctor_get(x_14, 0); -x_30 = lean_ctor_get(x_14, 1); -x_31 = lean_ctor_get(x_14, 2); -x_32 = lean_ctor_get(x_14, 3); -x_33 = lean_ctor_get(x_14, 4); -x_34 = lean_ctor_get(x_14, 5); -x_35 = lean_ctor_get(x_14, 6); -x_36 = lean_ctor_get(x_14, 7); -lean_inc(x_36); +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; lean_object* x_42; +x_28 = lean_ctor_get(x_14, 0); +x_29 = lean_ctor_get(x_14, 1); +x_30 = lean_ctor_get(x_14, 2); +x_31 = lean_ctor_get(x_14, 3); +x_32 = lean_ctor_get(x_14, 4); +x_33 = lean_ctor_get(x_14, 5); +x_34 = lean_ctor_get(x_14, 6); +x_35 = lean_ctor_get(x_14, 7); lean_inc(x_35); lean_inc(x_34); lean_inc(x_33); @@ -4390,68 +4387,67 @@ lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); +lean_inc(x_28); lean_dec(x_14); -x_37 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_35, x_1, x_2); -x_38 = 1; -x_39 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_39, 0, x_29); -lean_ctor_set(x_39, 1, x_30); -lean_ctor_set(x_39, 2, x_31); -lean_ctor_set(x_39, 3, x_32); -lean_ctor_set(x_39, 4, x_33); -lean_ctor_set(x_39, 5, x_34); -lean_ctor_set(x_39, 6, x_37); -lean_ctor_set(x_39, 7, x_36); -lean_ctor_set_uint8(x_39, sizeof(void*)*8, x_38); -lean_ctor_set(x_13, 0, x_39); -x_40 = lean_st_ref_set(x_6, x_13, x_15); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); +x_36 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_34, x_1, x_2); +x_37 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_37, 0, x_28); +lean_ctor_set(x_37, 1, x_29); +lean_ctor_set(x_37, 2, x_30); +lean_ctor_set(x_37, 3, x_31); +lean_ctor_set(x_37, 4, x_32); +lean_ctor_set(x_37, 5, x_33); +lean_ctor_set(x_37, 6, x_36); +lean_ctor_set(x_37, 7, x_35); +lean_ctor_set(x_13, 0, x_37); +x_38 = lean_st_ref_set(x_6, x_13, x_15); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_40 = x_38; +} else { + lean_dec_ref(x_38); + x_40 = lean_box(0); +} +x_41 = lean_box(0); +if (lean_is_scalar(x_40)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { x_42 = x_40; -} else { - lean_dec_ref(x_40); - x_42 = lean_box(0); } -x_43 = lean_box(0); -if (lean_is_scalar(x_42)) { - x_44 = lean_alloc_ctor(0, 2, 0); -} else { - x_44 = x_42; -} -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_41); -return x_44; +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_39); +return x_42; } } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t 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; -x_45 = lean_ctor_get(x_13, 1); -x_46 = lean_ctor_get(x_13, 2); -x_47 = lean_ctor_get(x_13, 3); -lean_inc(x_47); -lean_inc(x_46); +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; lean_object* x_61; lean_object* x_62; +x_43 = lean_ctor_get(x_13, 1); +x_44 = lean_ctor_get(x_13, 2); +x_45 = lean_ctor_get(x_13, 3); lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_13); -x_48 = lean_ctor_get(x_14, 0); +x_46 = lean_ctor_get(x_14, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_14, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_14, 2); lean_inc(x_48); -x_49 = lean_ctor_get(x_14, 1); +x_49 = lean_ctor_get(x_14, 3); lean_inc(x_49); -x_50 = lean_ctor_get(x_14, 2); +x_50 = lean_ctor_get(x_14, 4); lean_inc(x_50); -x_51 = lean_ctor_get(x_14, 3); +x_51 = lean_ctor_get(x_14, 5); lean_inc(x_51); -x_52 = lean_ctor_get(x_14, 4); +x_52 = lean_ctor_get(x_14, 6); lean_inc(x_52); -x_53 = lean_ctor_get(x_14, 5); +x_53 = lean_ctor_get(x_14, 7); lean_inc(x_53); -x_54 = lean_ctor_get(x_14, 6); -lean_inc(x_54); -x_55 = lean_ctor_get(x_14, 7); -lean_inc(x_55); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); @@ -4461,52 +4457,50 @@ if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 5); lean_ctor_release(x_14, 6); lean_ctor_release(x_14, 7); - x_56 = x_14; + x_54 = x_14; } else { lean_dec_ref(x_14); - x_56 = lean_box(0); + x_54 = lean_box(0); } -x_57 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_54, x_1, x_2); -x_58 = 1; -if (lean_is_scalar(x_56)) { - x_59 = lean_alloc_ctor(0, 8, 1); +x_55 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_52, x_1, x_2); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 8, 0); } else { - x_59 = x_56; + x_56 = x_54; } -lean_ctor_set(x_59, 0, x_48); -lean_ctor_set(x_59, 1, x_49); -lean_ctor_set(x_59, 2, x_50); -lean_ctor_set(x_59, 3, x_51); -lean_ctor_set(x_59, 4, x_52); -lean_ctor_set(x_59, 5, x_53); -lean_ctor_set(x_59, 6, x_57); -lean_ctor_set(x_59, 7, x_55); -lean_ctor_set_uint8(x_59, sizeof(void*)*8, x_58); -x_60 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_45); -lean_ctor_set(x_60, 2, x_46); -lean_ctor_set(x_60, 3, x_47); -x_61 = lean_st_ref_set(x_6, x_60, x_15); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_63 = x_61; +lean_ctor_set(x_56, 0, x_46); +lean_ctor_set(x_56, 1, x_47); +lean_ctor_set(x_56, 2, x_48); +lean_ctor_set(x_56, 3, x_49); +lean_ctor_set(x_56, 4, x_50); +lean_ctor_set(x_56, 5, x_51); +lean_ctor_set(x_56, 6, x_55); +lean_ctor_set(x_56, 7, x_53); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_43); +lean_ctor_set(x_57, 2, x_44); +lean_ctor_set(x_57, 3, x_45); +x_58 = lean_st_ref_set(x_6, x_57, x_15); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_60 = x_58; } else { - lean_dec_ref(x_61); - x_63 = lean_box(0); + lean_dec_ref(x_58); + x_60 = lean_box(0); } -x_64 = lean_box(0); -if (lean_is_scalar(x_63)) { - x_65 = lean_alloc_ctor(0, 2, 0); +x_61 = lean_box(0); +if (lean_is_scalar(x_60)) { + x_62 = lean_alloc_ctor(0, 2, 0); } else { - x_65 = x_63; + x_62 = x_60; } -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_62); -return x_65; +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +return x_62; } } } diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index 4b4bd7852e..04e2402898 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -990,7 +990,6 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5000____closed__3; static lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__26___closed__2; LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5006____closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1208,6 +1207,7 @@ static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__20; static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__22; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__17; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_4994____closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__27___closed__38; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__27___closed__21; @@ -5263,7 +5263,7 @@ x_11 = lean_ctor_get(x_7, 5); x_12 = l_Lean_replaceRef(x_1, x_11); lean_dec(x_11); lean_ctor_set(x_7, 5, x_12); -x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_7); return x_13; } @@ -5307,7 +5307,7 @@ lean_ctor_set(x_26, 7, x_21); lean_ctor_set(x_26, 8, x_22); lean_ctor_set(x_26, 9, x_23); lean_ctor_set(x_26, 10, x_24); -x_27 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_2, x_3, x_4, x_5, x_6, x_26, x_8, x_9); +x_27 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_2, x_3, x_4, x_5, x_6, x_26, x_8, x_9); lean_dec(x_26); return x_27; } @@ -14042,7 +14042,7 @@ x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_ x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_16 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_16; } } diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index 3af7830e6c..47cefcb5b7 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -16,7 +16,6 @@ extern "C" { lean_object* l_List_reverse___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnexpectedExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___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_EXPORT lean_object* l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f___spec__2___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -72,7 +71,6 @@ lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, le static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___lambda__1___closed__11; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___closed__1; LEAN_EXPORT lean_object* l_List_findSomeM_x3f___at_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f___spec__3___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___closed__2; LEAN_EXPORT uint8_t l_Lean_Elab_Term_StructInst_Struct_allDefault(lean_object*); @@ -123,6 +121,7 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_expand lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_markDefaultMissing(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__1(lean_object*, lean_object*); @@ -136,7 +135,6 @@ uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__20; lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___closed__1; -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__10; lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -147,7 +145,6 @@ static lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___cl lean_object* l_Lean_MVarId_assign___at_Lean_Elab_Term_exprToSyntax___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_instToStringFieldStruct___closed__1; -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_annotation_x3f(lean_object*, lean_object*); @@ -192,7 +189,6 @@ LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst_declRange(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeAppInstMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType(lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -250,7 +246,7 @@ LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Lean_Elab_Term_StructInst_for LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Term_StructInst_DefaultFields_getHierarchyDepth___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isSimpleField_x3f(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___closed__1; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSources_go___lambda__1___closed__10; static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__7; @@ -642,7 +638,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_Stru static lean_object* l_List_mapTRAux___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__2___closed__2; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSources_go___lambda__1___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -675,7 +670,6 @@ static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructIns LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSources_go___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValue_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -695,6 +689,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst_decl static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__11; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__16; +static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__1; static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___lambda__3___closed__1; lean_object* l_Lean_Meta_getStructureName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__11; @@ -730,7 +725,6 @@ static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructIns lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_synthesizeInst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8___closed__1; LEAN_EXPORT lean_object* l_List_findSomeM_x3f___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__3; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__3; @@ -783,12 +777,14 @@ static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructIns LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_Field_toSyntax(lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__2; static lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__4; lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields___spec__3___closed__8; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSourcesWithSyntax___closed__3; static lean_object* l_panic___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__2___closed__1; @@ -5952,7 +5948,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_17 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__2; -x_18 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_18 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -6385,7 +6381,7 @@ x_44 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyO x_45 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_45, 0, x_43); lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_38); +x_46 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_38); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6447,7 +6443,7 @@ x_58 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyO x_59 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_59, 0, x_57); lean_ctor_set(x_59, 1, x_58); -x_60 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_59, x_3, x_4, x_5, x_6, x_7, x_8, x_52); +x_60 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_59, x_3, x_4, x_5, x_6, x_7, x_8, x_52); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -22262,7 +22258,7 @@ x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); if (lean_obj_tag(x_42) == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; x_43 = lean_ctor_get(x_41, 1); lean_inc(x_43); lean_dec(x_41); @@ -22273,221 +22269,238 @@ lean_dec(x_44); x_46 = lean_st_ref_take(x_11, x_45); x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); -x_48 = lean_ctor_get_uint8(x_40, sizeof(void*)*8); -if (x_48 == 0) -{ -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; uint8_t x_59; -x_49 = lean_ctor_get(x_47, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_46, 1); -lean_inc(x_50); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); lean_dec(x_46); -x_51 = lean_ctor_get(x_40, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_40, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_40, 2); -lean_inc(x_53); -x_54 = lean_ctor_get(x_40, 3); -lean_inc(x_54); -x_55 = lean_ctor_get(x_40, 4); -lean_inc(x_55); -x_56 = lean_ctor_get(x_40, 5); -lean_inc(x_56); -x_57 = lean_ctor_get(x_40, 6); -lean_inc(x_57); -x_58 = lean_ctor_get(x_40, 7); -lean_inc(x_58); -lean_dec(x_40); -x_59 = !lean_is_exclusive(x_47); -if (x_59 == 0) +x_49 = !lean_is_exclusive(x_47); +if (x_49 == 0) { -lean_object* x_60; uint8_t x_61; -x_60 = lean_ctor_get(x_47, 0); -lean_dec(x_60); -x_61 = !lean_is_exclusive(x_49); -if (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; 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_62 = lean_ctor_get(x_49, 7); -lean_dec(x_62); -x_63 = lean_ctor_get(x_49, 6); -lean_dec(x_63); -x_64 = lean_ctor_get(x_49, 5); -lean_dec(x_64); -x_65 = lean_ctor_get(x_49, 4); -lean_dec(x_65); -x_66 = lean_ctor_get(x_49, 3); -lean_dec(x_66); -x_67 = lean_ctor_get(x_49, 2); -lean_dec(x_67); -x_68 = lean_ctor_get(x_49, 1); -lean_dec(x_68); -x_69 = lean_ctor_get(x_49, 0); -lean_dec(x_69); -lean_ctor_set(x_49, 7, x_58); -lean_ctor_set(x_49, 6, x_57); -lean_ctor_set(x_49, 5, x_56); -lean_ctor_set(x_49, 4, x_55); -lean_ctor_set(x_49, 3, x_54); -lean_ctor_set(x_49, 2, x_53); -lean_ctor_set(x_49, 1, x_52); -lean_ctor_set(x_49, 0, x_51); -x_70 = lean_st_ref_set(x_11, x_47, x_50); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_unsigned_to_nat(1u); -x_73 = lean_nat_add(x_6, x_72); -lean_dec(x_6); -x_74 = lean_nat_add(x_7, x_72); -lean_dec(x_7); -x_6 = x_73; -x_7 = x_74; -x_14 = x_71; -goto _start; -} -else -{ -uint8_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_76 = lean_ctor_get_uint8(x_49, sizeof(void*)*8); -lean_dec(x_49); -x_77 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_77, 0, x_51); -lean_ctor_set(x_77, 1, x_52); -lean_ctor_set(x_77, 2, x_53); -lean_ctor_set(x_77, 3, x_54); -lean_ctor_set(x_77, 4, x_55); -lean_ctor_set(x_77, 5, x_56); -lean_ctor_set(x_77, 6, x_57); -lean_ctor_set(x_77, 7, x_58); -lean_ctor_set_uint8(x_77, sizeof(void*)*8, x_76); -lean_ctor_set(x_47, 0, x_77); -x_78 = lean_st_ref_set(x_11, x_47, x_50); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_80 = lean_unsigned_to_nat(1u); -x_81 = lean_nat_add(x_6, x_80); -lean_dec(x_6); -x_82 = lean_nat_add(x_7, x_80); -lean_dec(x_7); -x_6 = x_81; -x_7 = x_82; -x_14 = x_79; -goto _start; -} -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t 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; -x_84 = lean_ctor_get(x_47, 1); -x_85 = lean_ctor_get(x_47, 2); -x_86 = lean_ctor_get(x_47, 3); -lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_47); -x_87 = lean_ctor_get_uint8(x_49, sizeof(void*)*8); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - lean_ctor_release(x_49, 2); - lean_ctor_release(x_49, 3); - lean_ctor_release(x_49, 4); - lean_ctor_release(x_49, 5); - lean_ctor_release(x_49, 6); - lean_ctor_release(x_49, 7); - x_88 = x_49; -} else { - lean_dec_ref(x_49); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(0, 8, 1); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_51); -lean_ctor_set(x_89, 1, x_52); -lean_ctor_set(x_89, 2, x_53); -lean_ctor_set(x_89, 3, x_54); -lean_ctor_set(x_89, 4, x_55); -lean_ctor_set(x_89, 5, x_56); -lean_ctor_set(x_89, 6, x_57); -lean_ctor_set(x_89, 7, x_58); -lean_ctor_set_uint8(x_89, sizeof(void*)*8, x_87); -x_90 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_84); -lean_ctor_set(x_90, 2, x_85); -lean_ctor_set(x_90, 3, x_86); -x_91 = lean_st_ref_set(x_11, x_90, x_50); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); -x_93 = lean_unsigned_to_nat(1u); -x_94 = lean_nat_add(x_6, x_93); -lean_dec(x_6); -x_95 = lean_nat_add(x_7, x_93); -lean_dec(x_7); -x_6 = x_94; -x_7 = x_95; -x_14 = x_92; -goto _start; -} -} -else -{ -lean_object* x_97; uint8_t x_98; -x_97 = lean_ctor_get(x_46, 1); -lean_inc(x_97); -lean_dec(x_46); -x_98 = !lean_is_exclusive(x_40); -if (x_98 == 0) -{ -uint8_t x_99; -x_99 = !lean_is_exclusive(x_47); -if (x_99 == 0) -{ -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; -x_100 = lean_ctor_get(x_47, 0); -lean_dec(x_100); -x_101 = 1; -lean_ctor_set_uint8(x_40, sizeof(void*)*8, x_101); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_50 = lean_ctor_get(x_47, 0); +lean_dec(x_50); lean_ctor_set(x_47, 0, x_40); -x_102 = lean_st_ref_set(x_11, x_47, x_97); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -lean_dec(x_102); -x_104 = lean_unsigned_to_nat(1u); -x_105 = lean_nat_add(x_6, x_104); +x_51 = lean_st_ref_set(x_11, x_47, x_48); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_unsigned_to_nat(1u); +x_54 = lean_nat_add(x_6, x_53); lean_dec(x_6); -x_106 = lean_nat_add(x_7, x_104); +x_55 = lean_nat_add(x_7, x_53); lean_dec(x_7); -x_6 = x_105; -x_7 = x_106; -x_14 = x_103; +x_6 = x_54; +x_7 = x_55; +x_14 = x_52; goto _start; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t 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; -x_108 = lean_ctor_get(x_47, 1); -x_109 = lean_ctor_get(x_47, 2); -x_110 = lean_ctor_get(x_47, 3); +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; +x_57 = lean_ctor_get(x_47, 1); +x_58 = lean_ctor_get(x_47, 2); +x_59 = lean_ctor_get(x_47, 3); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_47); +x_60 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_60, 0, x_40); +lean_ctor_set(x_60, 1, x_57); +lean_ctor_set(x_60, 2, x_58); +lean_ctor_set(x_60, 3, x_59); +x_61 = lean_st_ref_set(x_11, x_60, x_48); +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = lean_unsigned_to_nat(1u); +x_64 = lean_nat_add(x_6, x_63); +lean_dec(x_6); +x_65 = lean_nat_add(x_7, x_63); +lean_dec(x_7); +x_6 = x_64; +x_7 = x_65; +x_14 = x_62; +goto _start; +} +} +else +{ +lean_object* x_67; uint8_t x_68; +x_67 = lean_ctor_get(x_41, 1); +lean_inc(x_67); +lean_dec(x_41); +x_68 = !lean_is_exclusive(x_42); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_42, 0); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_2); +x_70 = l_Lean_Elab_Term_StructInst_DefaultFields_reduce(x_2, x_69, x_10, x_11, x_12, x_13, x_67); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop___closed__1; +lean_inc(x_71); +x_74 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_73, x_71); +if (lean_obj_tag(x_74) == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_40); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_inc(x_5); +x_75 = l_Lean_Elab_Term_getMVarDecl(x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_72); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_ctor_get(x_76, 2); +lean_inc(x_78); +lean_dec(x_76); +lean_ctor_set(x_42, 0, x_78); +x_79 = lean_box(0); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_80 = l_Lean_Elab_Term_ensureHasType(x_42, x_71, x_79, x_8, x_9, x_10, x_11, x_12, x_13, x_77); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec(x_80); +x_83 = l_Lean_MVarId_assign___at_Lean_Elab_Term_exprToSyntax___spec__2(x_5, x_81, x_8, x_9, x_10, x_11, x_12, x_13, x_82); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_84 = !lean_is_exclusive(x_83); +if (x_84 == 0) +{ +lean_object* x_85; uint8_t x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_83, 0); +lean_dec(x_85); +x_86 = 1; +x_87 = lean_box(x_86); +lean_ctor_set(x_83, 0, x_87); +return x_83; +} +else +{ +lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; +x_88 = lean_ctor_get(x_83, 1); +lean_inc(x_88); +lean_dec(x_83); +x_89 = 1; +x_90 = lean_box(x_89); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_88); +return x_91; +} +} +else +{ +uint8_t x_92; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +x_92 = !lean_is_exclusive(x_80); +if (x_92 == 0) +{ +return x_80; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_80, 0); +x_94 = lean_ctor_get(x_80, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_80); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +return x_95; +} +} +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +lean_dec(x_74); +lean_dec(x_71); +lean_free_object(x_42); +x_96 = lean_st_ref_get(x_13, x_72); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +lean_dec(x_96); +x_98 = lean_st_ref_take(x_11, x_97); +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = !lean_is_exclusive(x_99); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_102 = lean_ctor_get(x_99, 0); +lean_dec(x_102); +lean_ctor_set(x_99, 0, x_40); +x_103 = lean_st_ref_set(x_11, x_99, x_100); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +lean_dec(x_103); +x_105 = lean_unsigned_to_nat(1u); +x_106 = lean_nat_add(x_6, x_105); +lean_dec(x_6); +x_107 = lean_nat_add(x_7, x_105); +lean_dec(x_7); +x_6 = x_106; +x_7 = x_107; +x_14 = x_104; +goto _start; +} +else +{ +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; +x_109 = lean_ctor_get(x_99, 1); +x_110 = lean_ctor_get(x_99, 2); +x_111 = lean_ctor_get(x_99, 3); +lean_inc(x_111); lean_inc(x_110); lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_47); -x_111 = 1; -lean_ctor_set_uint8(x_40, sizeof(void*)*8, x_111); +lean_dec(x_99); x_112 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_112, 0, x_40); -lean_ctor_set(x_112, 1, x_108); -lean_ctor_set(x_112, 2, x_109); -lean_ctor_set(x_112, 3, x_110); -x_113 = lean_st_ref_set(x_11, x_112, x_97); +lean_ctor_set(x_112, 1, x_109); +lean_ctor_set(x_112, 2, x_110); +lean_ctor_set(x_112, 3, x_111); +x_113 = lean_st_ref_set(x_11, x_112, x_100); x_114 = lean_ctor_get(x_113, 1); lean_inc(x_114); lean_dec(x_113); @@ -22502,644 +22515,133 @@ x_14 = x_114; goto _start; } } +} 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_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t 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; -x_119 = lean_ctor_get(x_40, 0); -x_120 = lean_ctor_get(x_40, 1); -x_121 = lean_ctor_get(x_40, 2); -x_122 = lean_ctor_get(x_40, 3); -x_123 = lean_ctor_get(x_40, 4); -x_124 = lean_ctor_get(x_40, 5); -x_125 = lean_ctor_get(x_40, 6); -x_126 = lean_ctor_get(x_40, 7); -lean_inc(x_126); -lean_inc(x_125); -lean_inc(x_124); -lean_inc(x_123); -lean_inc(x_122); +uint8_t x_119; +lean_free_object(x_42); +lean_dec(x_40); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_119 = !lean_is_exclusive(x_70); +if (x_119 == 0) +{ +return x_70; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_70, 0); +x_121 = lean_ctor_get(x_70, 1); lean_inc(x_121); lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_40); -x_127 = lean_ctor_get(x_47, 1); -lean_inc(x_127); -x_128 = lean_ctor_get(x_47, 2); -lean_inc(x_128); -x_129 = lean_ctor_get(x_47, 3); -lean_inc(x_129); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - lean_ctor_release(x_47, 1); - lean_ctor_release(x_47, 2); - lean_ctor_release(x_47, 3); - x_130 = x_47; -} else { - lean_dec_ref(x_47); - x_130 = lean_box(0); -} -x_131 = 1; -x_132 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_132, 0, x_119); -lean_ctor_set(x_132, 1, x_120); -lean_ctor_set(x_132, 2, x_121); -lean_ctor_set(x_132, 3, x_122); -lean_ctor_set(x_132, 4, x_123); -lean_ctor_set(x_132, 5, x_124); -lean_ctor_set(x_132, 6, x_125); -lean_ctor_set(x_132, 7, x_126); -lean_ctor_set_uint8(x_132, sizeof(void*)*8, x_131); -if (lean_is_scalar(x_130)) { - x_133 = lean_alloc_ctor(0, 4, 0); -} else { - x_133 = x_130; -} -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_127); -lean_ctor_set(x_133, 2, x_128); -lean_ctor_set(x_133, 3, x_129); -x_134 = lean_st_ref_set(x_11, x_133, x_97); -x_135 = lean_ctor_get(x_134, 1); -lean_inc(x_135); -lean_dec(x_134); -x_136 = lean_unsigned_to_nat(1u); -x_137 = lean_nat_add(x_6, x_136); -lean_dec(x_6); -x_138 = lean_nat_add(x_7, x_136); -lean_dec(x_7); -x_6 = x_137; -x_7 = x_138; -x_14 = x_135; -goto _start; +lean_dec(x_70); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +return x_122; } } } else { -lean_object* x_140; uint8_t x_141; -x_140 = lean_ctor_get(x_41, 1); -lean_inc(x_140); -lean_dec(x_41); -x_141 = !lean_is_exclusive(x_42); -if (x_141 == 0) -{ -lean_object* x_142; lean_object* x_143; -x_142 = lean_ctor_get(x_42, 0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_2); -x_143 = l_Lean_Elab_Term_StructInst_DefaultFields_reduce(x_2, x_142, x_10, x_11, x_12, x_13, x_140); -if (lean_obj_tag(x_143) == 0) -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -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_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop___closed__1; -lean_inc(x_144); -x_147 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_146, x_144); -if (lean_obj_tag(x_147) == 0) -{ -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_dec(x_40); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -lean_inc(x_5); -x_148 = l_Lean_Elab_Term_getMVarDecl(x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_145); -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); -lean_inc(x_150); -lean_dec(x_148); -x_151 = lean_ctor_get(x_149, 2); -lean_inc(x_151); -lean_dec(x_149); -lean_ctor_set(x_42, 0, x_151); -x_152 = lean_box(0); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_153 = l_Lean_Elab_Term_ensureHasType(x_42, x_144, x_152, x_8, x_9, x_10, x_11, x_12, x_13, x_150); -if (lean_obj_tag(x_153) == 0) -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_153, 1); -lean_inc(x_155); -lean_dec(x_153); -x_156 = l_Lean_MVarId_assign___at_Lean_Elab_Term_exprToSyntax___spec__2(x_5, x_154, x_8, x_9, x_10, x_11, x_12, x_13, x_155); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_157 = !lean_is_exclusive(x_156); -if (x_157 == 0) -{ -lean_object* x_158; uint8_t x_159; lean_object* x_160; -x_158 = lean_ctor_get(x_156, 0); -lean_dec(x_158); -x_159 = 1; -x_160 = lean_box(x_159); -lean_ctor_set(x_156, 0, x_160); -return x_156; -} -else -{ -lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; -x_161 = lean_ctor_get(x_156, 1); -lean_inc(x_161); -lean_dec(x_156); -x_162 = 1; -x_163 = lean_box(x_162); -x_164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_161); -return x_164; -} -} -else -{ -uint8_t x_165; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -x_165 = !lean_is_exclusive(x_153); -if (x_165 == 0) -{ -return x_153; -} -else -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_166 = lean_ctor_get(x_153, 0); -x_167 = lean_ctor_get(x_153, 1); -lean_inc(x_167); -lean_inc(x_166); -lean_dec(x_153); -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_166); -lean_ctor_set(x_168, 1, x_167); -return x_168; -} -} -} -else -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -lean_dec(x_147); -lean_dec(x_144); -lean_free_object(x_42); -x_169 = lean_st_ref_get(x_13, x_145); -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -lean_dec(x_169); -x_171 = lean_st_ref_take(x_11, x_170); -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -x_173 = lean_ctor_get_uint8(x_40, sizeof(void*)*8); -if (x_173 == 0) -{ -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; uint8_t x_184; -x_174 = lean_ctor_get(x_172, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_171, 1); -lean_inc(x_175); -lean_dec(x_171); -x_176 = lean_ctor_get(x_40, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_40, 1); -lean_inc(x_177); -x_178 = lean_ctor_get(x_40, 2); -lean_inc(x_178); -x_179 = lean_ctor_get(x_40, 3); -lean_inc(x_179); -x_180 = lean_ctor_get(x_40, 4); -lean_inc(x_180); -x_181 = lean_ctor_get(x_40, 5); -lean_inc(x_181); -x_182 = lean_ctor_get(x_40, 6); -lean_inc(x_182); -x_183 = lean_ctor_get(x_40, 7); -lean_inc(x_183); -lean_dec(x_40); -x_184 = !lean_is_exclusive(x_172); -if (x_184 == 0) -{ -lean_object* x_185; uint8_t x_186; -x_185 = lean_ctor_get(x_172, 0); -lean_dec(x_185); -x_186 = !lean_is_exclusive(x_174); -if (x_186 == 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_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; -x_187 = lean_ctor_get(x_174, 7); -lean_dec(x_187); -x_188 = lean_ctor_get(x_174, 6); -lean_dec(x_188); -x_189 = lean_ctor_get(x_174, 5); -lean_dec(x_189); -x_190 = lean_ctor_get(x_174, 4); -lean_dec(x_190); -x_191 = lean_ctor_get(x_174, 3); -lean_dec(x_191); -x_192 = lean_ctor_get(x_174, 2); -lean_dec(x_192); -x_193 = lean_ctor_get(x_174, 1); -lean_dec(x_193); -x_194 = lean_ctor_get(x_174, 0); -lean_dec(x_194); -lean_ctor_set(x_174, 7, x_183); -lean_ctor_set(x_174, 6, x_182); -lean_ctor_set(x_174, 5, x_181); -lean_ctor_set(x_174, 4, x_180); -lean_ctor_set(x_174, 3, x_179); -lean_ctor_set(x_174, 2, x_178); -lean_ctor_set(x_174, 1, x_177); -lean_ctor_set(x_174, 0, x_176); -x_195 = lean_st_ref_set(x_11, x_172, x_175); -x_196 = lean_ctor_get(x_195, 1); -lean_inc(x_196); -lean_dec(x_195); -x_197 = lean_unsigned_to_nat(1u); -x_198 = lean_nat_add(x_6, x_197); -lean_dec(x_6); -x_199 = lean_nat_add(x_7, x_197); -lean_dec(x_7); -x_6 = x_198; -x_7 = x_199; -x_14 = x_196; -goto _start; -} -else -{ -uint8_t 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_201 = lean_ctor_get_uint8(x_174, sizeof(void*)*8); -lean_dec(x_174); -x_202 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_202, 0, x_176); -lean_ctor_set(x_202, 1, x_177); -lean_ctor_set(x_202, 2, x_178); -lean_ctor_set(x_202, 3, x_179); -lean_ctor_set(x_202, 4, x_180); -lean_ctor_set(x_202, 5, x_181); -lean_ctor_set(x_202, 6, x_182); -lean_ctor_set(x_202, 7, x_183); -lean_ctor_set_uint8(x_202, sizeof(void*)*8, x_201); -lean_ctor_set(x_172, 0, x_202); -x_203 = lean_st_ref_set(x_11, x_172, x_175); -x_204 = lean_ctor_get(x_203, 1); -lean_inc(x_204); -lean_dec(x_203); -x_205 = lean_unsigned_to_nat(1u); -x_206 = lean_nat_add(x_6, x_205); -lean_dec(x_6); -x_207 = lean_nat_add(x_7, x_205); -lean_dec(x_7); -x_6 = x_206; -x_7 = x_207; -x_14 = x_204; -goto _start; -} -} -else -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t 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_209 = lean_ctor_get(x_172, 1); -x_210 = lean_ctor_get(x_172, 2); -x_211 = lean_ctor_get(x_172, 3); -lean_inc(x_211); -lean_inc(x_210); -lean_inc(x_209); -lean_dec(x_172); -x_212 = lean_ctor_get_uint8(x_174, sizeof(void*)*8); -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); - lean_ctor_release(x_174, 6); - lean_ctor_release(x_174, 7); - x_213 = x_174; -} else { - lean_dec_ref(x_174); - x_213 = lean_box(0); -} -if (lean_is_scalar(x_213)) { - x_214 = lean_alloc_ctor(0, 8, 1); -} else { - x_214 = x_213; -} -lean_ctor_set(x_214, 0, x_176); -lean_ctor_set(x_214, 1, x_177); -lean_ctor_set(x_214, 2, x_178); -lean_ctor_set(x_214, 3, x_179); -lean_ctor_set(x_214, 4, x_180); -lean_ctor_set(x_214, 5, x_181); -lean_ctor_set(x_214, 6, x_182); -lean_ctor_set(x_214, 7, x_183); -lean_ctor_set_uint8(x_214, sizeof(void*)*8, x_212); -x_215 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_209); -lean_ctor_set(x_215, 2, x_210); -lean_ctor_set(x_215, 3, x_211); -x_216 = lean_st_ref_set(x_11, x_215, x_175); -x_217 = lean_ctor_get(x_216, 1); -lean_inc(x_217); -lean_dec(x_216); -x_218 = lean_unsigned_to_nat(1u); -x_219 = lean_nat_add(x_6, x_218); -lean_dec(x_6); -x_220 = lean_nat_add(x_7, x_218); -lean_dec(x_7); -x_6 = x_219; -x_7 = x_220; -x_14 = x_217; -goto _start; -} -} -else -{ -lean_object* x_222; uint8_t x_223; -x_222 = lean_ctor_get(x_171, 1); -lean_inc(x_222); -lean_dec(x_171); -x_223 = !lean_is_exclusive(x_40); -if (x_223 == 0) -{ -uint8_t x_224; -x_224 = !lean_is_exclusive(x_172); -if (x_224 == 0) -{ -lean_object* x_225; uint8_t x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; -x_225 = lean_ctor_get(x_172, 0); -lean_dec(x_225); -x_226 = 1; -lean_ctor_set_uint8(x_40, sizeof(void*)*8, x_226); -lean_ctor_set(x_172, 0, x_40); -x_227 = lean_st_ref_set(x_11, x_172, x_222); -x_228 = lean_ctor_get(x_227, 1); -lean_inc(x_228); -lean_dec(x_227); -x_229 = lean_unsigned_to_nat(1u); -x_230 = lean_nat_add(x_6, x_229); -lean_dec(x_6); -x_231 = lean_nat_add(x_7, x_229); -lean_dec(x_7); -x_6 = x_230; -x_7 = x_231; -x_14 = x_228; -goto _start; -} -else -{ -lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t 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; -x_233 = lean_ctor_get(x_172, 1); -x_234 = lean_ctor_get(x_172, 2); -x_235 = lean_ctor_get(x_172, 3); -lean_inc(x_235); -lean_inc(x_234); -lean_inc(x_233); -lean_dec(x_172); -x_236 = 1; -lean_ctor_set_uint8(x_40, sizeof(void*)*8, x_236); -x_237 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_237, 0, x_40); -lean_ctor_set(x_237, 1, x_233); -lean_ctor_set(x_237, 2, x_234); -lean_ctor_set(x_237, 3, x_235); -x_238 = lean_st_ref_set(x_11, x_237, x_222); -x_239 = lean_ctor_get(x_238, 1); -lean_inc(x_239); -lean_dec(x_238); -x_240 = lean_unsigned_to_nat(1u); -x_241 = lean_nat_add(x_6, x_240); -lean_dec(x_6); -x_242 = lean_nat_add(x_7, x_240); -lean_dec(x_7); -x_6 = x_241; -x_7 = x_242; -x_14 = x_239; -goto _start; -} -} -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; lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t 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; -x_244 = lean_ctor_get(x_40, 0); -x_245 = lean_ctor_get(x_40, 1); -x_246 = lean_ctor_get(x_40, 2); -x_247 = lean_ctor_get(x_40, 3); -x_248 = lean_ctor_get(x_40, 4); -x_249 = lean_ctor_get(x_40, 5); -x_250 = lean_ctor_get(x_40, 6); -x_251 = lean_ctor_get(x_40, 7); -lean_inc(x_251); -lean_inc(x_250); -lean_inc(x_249); -lean_inc(x_248); -lean_inc(x_247); -lean_inc(x_246); -lean_inc(x_245); -lean_inc(x_244); -lean_dec(x_40); -x_252 = lean_ctor_get(x_172, 1); -lean_inc(x_252); -x_253 = lean_ctor_get(x_172, 2); -lean_inc(x_253); -x_254 = lean_ctor_get(x_172, 3); -lean_inc(x_254); -if (lean_is_exclusive(x_172)) { - lean_ctor_release(x_172, 0); - lean_ctor_release(x_172, 1); - lean_ctor_release(x_172, 2); - lean_ctor_release(x_172, 3); - x_255 = x_172; -} else { - lean_dec_ref(x_172); - x_255 = lean_box(0); -} -x_256 = 1; -x_257 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_257, 0, x_244); -lean_ctor_set(x_257, 1, x_245); -lean_ctor_set(x_257, 2, x_246); -lean_ctor_set(x_257, 3, x_247); -lean_ctor_set(x_257, 4, x_248); -lean_ctor_set(x_257, 5, x_249); -lean_ctor_set(x_257, 6, x_250); -lean_ctor_set(x_257, 7, x_251); -lean_ctor_set_uint8(x_257, sizeof(void*)*8, x_256); -if (lean_is_scalar(x_255)) { - x_258 = lean_alloc_ctor(0, 4, 0); -} else { - x_258 = x_255; -} -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_252); -lean_ctor_set(x_258, 2, x_253); -lean_ctor_set(x_258, 3, x_254); -x_259 = lean_st_ref_set(x_11, x_258, x_222); -x_260 = lean_ctor_get(x_259, 1); -lean_inc(x_260); -lean_dec(x_259); -x_261 = lean_unsigned_to_nat(1u); -x_262 = lean_nat_add(x_6, x_261); -lean_dec(x_6); -x_263 = lean_nat_add(x_7, x_261); -lean_dec(x_7); -x_6 = x_262; -x_7 = x_263; -x_14 = x_260; -goto _start; -} -} -} -} -else -{ -uint8_t x_265; -lean_free_object(x_42); -lean_dec(x_40); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_265 = !lean_is_exclusive(x_143); -if (x_265 == 0) -{ -return x_143; -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_266 = lean_ctor_get(x_143, 0); -x_267 = lean_ctor_get(x_143, 1); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_143); -x_268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_268, 0, x_266); -lean_ctor_set(x_268, 1, x_267); -return x_268; -} -} -} -else -{ -lean_object* x_269; lean_object* x_270; -x_269 = lean_ctor_get(x_42, 0); -lean_inc(x_269); +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_42, 0); +lean_inc(x_123); lean_dec(x_42); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_2); -x_270 = l_Lean_Elab_Term_StructInst_DefaultFields_reduce(x_2, x_269, x_10, x_11, x_12, x_13, x_140); -if (lean_obj_tag(x_270) == 0) +x_124 = l_Lean_Elab_Term_StructInst_DefaultFields_reduce(x_2, x_123, x_10, x_11, x_12, x_13, x_67); +if (lean_obj_tag(x_124) == 0) { -lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_271 = lean_ctor_get(x_270, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_270, 1); -lean_inc(x_272); -lean_dec(x_270); -x_273 = l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop___closed__1; -lean_inc(x_271); -x_274 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_273, x_271); -if (lean_obj_tag(x_274) == 0) +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +lean_dec(x_124); +x_127 = l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault_loop___closed__1; +lean_inc(x_125); +x_128 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_127, x_125); +if (lean_obj_tag(x_128) == 0) { -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_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_dec(x_40); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); lean_inc(x_5); -x_275 = l_Lean_Elab_Term_getMVarDecl(x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_272); -x_276 = lean_ctor_get(x_275, 0); -lean_inc(x_276); -x_277 = lean_ctor_get(x_275, 1); -lean_inc(x_277); -lean_dec(x_275); -x_278 = lean_ctor_get(x_276, 2); -lean_inc(x_278); -lean_dec(x_276); -x_279 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_279, 0, x_278); -x_280 = lean_box(0); +x_129 = l_Lean_Elab_Term_getMVarDecl(x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_126); +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_129, 1); +lean_inc(x_131); +lean_dec(x_129); +x_132 = lean_ctor_get(x_130, 2); +lean_inc(x_132); +lean_dec(x_130); +x_133 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_133, 0, x_132); +x_134 = lean_box(0); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_281 = l_Lean_Elab_Term_ensureHasType(x_279, x_271, x_280, x_8, x_9, x_10, x_11, x_12, x_13, x_277); -if (lean_obj_tag(x_281) == 0) +x_135 = l_Lean_Elab_Term_ensureHasType(x_133, x_125, x_134, x_8, x_9, x_10, x_11, x_12, x_13, x_131); +if (lean_obj_tag(x_135) == 0) { -lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; lean_object* x_288; lean_object* x_289; -x_282 = lean_ctor_get(x_281, 0); -lean_inc(x_282); -x_283 = lean_ctor_get(x_281, 1); -lean_inc(x_283); -lean_dec(x_281); -x_284 = l_Lean_MVarId_assign___at_Lean_Elab_Term_exprToSyntax___spec__2(x_5, x_282, x_8, x_9, x_10, x_11, x_12, x_13, x_283); +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; lean_object* x_142; lean_object* x_143; +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_138 = l_Lean_MVarId_assign___at_Lean_Elab_Term_exprToSyntax___spec__2(x_5, x_136, x_8, x_9, x_10, x_11, x_12, x_13, x_137); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_285 = lean_ctor_get(x_284, 1); -lean_inc(x_285); -if (lean_is_exclusive(x_284)) { - lean_ctor_release(x_284, 0); - lean_ctor_release(x_284, 1); - x_286 = x_284; +x_139 = lean_ctor_get(x_138, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + x_140 = x_138; } else { - lean_dec_ref(x_284); - x_286 = lean_box(0); + lean_dec_ref(x_138); + x_140 = lean_box(0); } -x_287 = 1; -x_288 = lean_box(x_287); -if (lean_is_scalar(x_286)) { - x_289 = lean_alloc_ctor(0, 2, 0); +x_141 = 1; +x_142 = lean_box(x_141); +if (lean_is_scalar(x_140)) { + x_143 = lean_alloc_ctor(0, 2, 0); } else { - x_289 = x_286; + x_143 = x_140; } -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_285); -return x_289; +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_139); +return x_143; } else { -lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -23147,229 +22649,86 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_5); -x_290 = lean_ctor_get(x_281, 0); -lean_inc(x_290); -x_291 = lean_ctor_get(x_281, 1); -lean_inc(x_291); -if (lean_is_exclusive(x_281)) { - lean_ctor_release(x_281, 0); - lean_ctor_release(x_281, 1); - x_292 = x_281; +x_144 = lean_ctor_get(x_135, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_135, 1); +lean_inc(x_145); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_146 = x_135; } else { - lean_dec_ref(x_281); - x_292 = lean_box(0); + lean_dec_ref(x_135); + x_146 = lean_box(0); } -if (lean_is_scalar(x_292)) { - x_293 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_146)) { + x_147 = lean_alloc_ctor(1, 2, 0); } else { - x_293 = x_292; + x_147 = x_146; } -lean_ctor_set(x_293, 0, x_290); -lean_ctor_set(x_293, 1, x_291); -return x_293; +lean_ctor_set(x_147, 0, x_144); +lean_ctor_set(x_147, 1, x_145); +return x_147; } } else { -lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; -lean_dec(x_274); -lean_dec(x_271); -x_294 = lean_st_ref_get(x_13, x_272); -x_295 = lean_ctor_get(x_294, 1); -lean_inc(x_295); -lean_dec(x_294); -x_296 = lean_st_ref_take(x_11, x_295); -x_297 = lean_ctor_get(x_296, 0); -lean_inc(x_297); -x_298 = lean_ctor_get_uint8(x_40, sizeof(void*)*8); -if (x_298 == 0) -{ -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; lean_object* x_310; lean_object* x_311; lean_object* x_312; uint8_t 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; -x_299 = lean_ctor_get(x_297, 0); -lean_inc(x_299); -x_300 = lean_ctor_get(x_296, 1); -lean_inc(x_300); -lean_dec(x_296); -x_301 = lean_ctor_get(x_40, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_40, 1); -lean_inc(x_302); -x_303 = lean_ctor_get(x_40, 2); -lean_inc(x_303); -x_304 = lean_ctor_get(x_40, 3); -lean_inc(x_304); -x_305 = lean_ctor_get(x_40, 4); -lean_inc(x_305); -x_306 = lean_ctor_get(x_40, 5); -lean_inc(x_306); -x_307 = lean_ctor_get(x_40, 6); -lean_inc(x_307); -x_308 = lean_ctor_get(x_40, 7); -lean_inc(x_308); -lean_dec(x_40); -x_309 = lean_ctor_get(x_297, 1); -lean_inc(x_309); -x_310 = lean_ctor_get(x_297, 2); -lean_inc(x_310); -x_311 = lean_ctor_get(x_297, 3); -lean_inc(x_311); -if (lean_is_exclusive(x_297)) { - lean_ctor_release(x_297, 0); - lean_ctor_release(x_297, 1); - lean_ctor_release(x_297, 2); - lean_ctor_release(x_297, 3); - x_312 = x_297; +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +lean_dec(x_128); +lean_dec(x_125); +x_148 = lean_st_ref_get(x_13, x_126); +x_149 = lean_ctor_get(x_148, 1); +lean_inc(x_149); +lean_dec(x_148); +x_150 = lean_st_ref_take(x_11, x_149); +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 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +x_154 = lean_ctor_get(x_151, 2); +lean_inc(x_154); +x_155 = lean_ctor_get(x_151, 3); +lean_inc(x_155); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + lean_ctor_release(x_151, 2); + lean_ctor_release(x_151, 3); + x_156 = x_151; } else { - lean_dec_ref(x_297); - x_312 = lean_box(0); + lean_dec_ref(x_151); + x_156 = lean_box(0); } -x_313 = lean_ctor_get_uint8(x_299, sizeof(void*)*8); -if (lean_is_exclusive(x_299)) { - lean_ctor_release(x_299, 0); - lean_ctor_release(x_299, 1); - lean_ctor_release(x_299, 2); - lean_ctor_release(x_299, 3); - lean_ctor_release(x_299, 4); - lean_ctor_release(x_299, 5); - lean_ctor_release(x_299, 6); - lean_ctor_release(x_299, 7); - x_314 = x_299; +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(0, 4, 0); } else { - lean_dec_ref(x_299); - x_314 = lean_box(0); + x_157 = x_156; } -if (lean_is_scalar(x_314)) { - x_315 = lean_alloc_ctor(0, 8, 1); -} else { - x_315 = x_314; -} -lean_ctor_set(x_315, 0, x_301); -lean_ctor_set(x_315, 1, x_302); -lean_ctor_set(x_315, 2, x_303); -lean_ctor_set(x_315, 3, x_304); -lean_ctor_set(x_315, 4, x_305); -lean_ctor_set(x_315, 5, x_306); -lean_ctor_set(x_315, 6, x_307); -lean_ctor_set(x_315, 7, x_308); -lean_ctor_set_uint8(x_315, sizeof(void*)*8, x_313); -if (lean_is_scalar(x_312)) { - x_316 = lean_alloc_ctor(0, 4, 0); -} else { - x_316 = x_312; -} -lean_ctor_set(x_316, 0, x_315); -lean_ctor_set(x_316, 1, x_309); -lean_ctor_set(x_316, 2, x_310); -lean_ctor_set(x_316, 3, x_311); -x_317 = lean_st_ref_set(x_11, x_316, x_300); -x_318 = lean_ctor_get(x_317, 1); -lean_inc(x_318); -lean_dec(x_317); -x_319 = lean_unsigned_to_nat(1u); -x_320 = lean_nat_add(x_6, x_319); +lean_ctor_set(x_157, 0, x_40); +lean_ctor_set(x_157, 1, x_153); +lean_ctor_set(x_157, 2, x_154); +lean_ctor_set(x_157, 3, x_155); +x_158 = lean_st_ref_set(x_11, x_157, x_152); +x_159 = lean_ctor_get(x_158, 1); +lean_inc(x_159); +lean_dec(x_158); +x_160 = lean_unsigned_to_nat(1u); +x_161 = lean_nat_add(x_6, x_160); lean_dec(x_6); -x_321 = lean_nat_add(x_7, x_319); +x_162 = lean_nat_add(x_7, x_160); lean_dec(x_7); -x_6 = x_320; -x_7 = x_321; -x_14 = x_318; -goto _start; -} -else -{ -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_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; uint8_t 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; -x_323 = lean_ctor_get(x_296, 1); -lean_inc(x_323); -lean_dec(x_296); -x_324 = lean_ctor_get(x_40, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_40, 1); -lean_inc(x_325); -x_326 = lean_ctor_get(x_40, 2); -lean_inc(x_326); -x_327 = lean_ctor_get(x_40, 3); -lean_inc(x_327); -x_328 = lean_ctor_get(x_40, 4); -lean_inc(x_328); -x_329 = lean_ctor_get(x_40, 5); -lean_inc(x_329); -x_330 = lean_ctor_get(x_40, 6); -lean_inc(x_330); -x_331 = lean_ctor_get(x_40, 7); -lean_inc(x_331); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - lean_ctor_release(x_40, 2); - lean_ctor_release(x_40, 3); - lean_ctor_release(x_40, 4); - lean_ctor_release(x_40, 5); - lean_ctor_release(x_40, 6); - lean_ctor_release(x_40, 7); - x_332 = x_40; -} else { - lean_dec_ref(x_40); - x_332 = lean_box(0); -} -x_333 = lean_ctor_get(x_297, 1); -lean_inc(x_333); -x_334 = lean_ctor_get(x_297, 2); -lean_inc(x_334); -x_335 = lean_ctor_get(x_297, 3); -lean_inc(x_335); -if (lean_is_exclusive(x_297)) { - lean_ctor_release(x_297, 0); - lean_ctor_release(x_297, 1); - lean_ctor_release(x_297, 2); - lean_ctor_release(x_297, 3); - x_336 = x_297; -} else { - lean_dec_ref(x_297); - x_336 = lean_box(0); -} -x_337 = 1; -if (lean_is_scalar(x_332)) { - x_338 = lean_alloc_ctor(0, 8, 1); -} else { - x_338 = x_332; -} -lean_ctor_set(x_338, 0, x_324); -lean_ctor_set(x_338, 1, x_325); -lean_ctor_set(x_338, 2, x_326); -lean_ctor_set(x_338, 3, x_327); -lean_ctor_set(x_338, 4, x_328); -lean_ctor_set(x_338, 5, x_329); -lean_ctor_set(x_338, 6, x_330); -lean_ctor_set(x_338, 7, x_331); -lean_ctor_set_uint8(x_338, sizeof(void*)*8, x_337); -if (lean_is_scalar(x_336)) { - x_339 = lean_alloc_ctor(0, 4, 0); -} else { - x_339 = x_336; -} -lean_ctor_set(x_339, 0, x_338); -lean_ctor_set(x_339, 1, x_333); -lean_ctor_set(x_339, 2, x_334); -lean_ctor_set(x_339, 3, x_335); -x_340 = lean_st_ref_set(x_11, x_339, x_323); -x_341 = lean_ctor_get(x_340, 1); -lean_inc(x_341); -lean_dec(x_340); -x_342 = lean_unsigned_to_nat(1u); -x_343 = lean_nat_add(x_6, x_342); -lean_dec(x_6); -x_344 = lean_nat_add(x_7, x_342); -lean_dec(x_7); -x_6 = x_343; -x_7 = x_344; -x_14 = x_341; +x_6 = x_161; +x_7 = x_162; +x_14 = x_159; goto _start; } } -} else { -lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_dec(x_40); lean_dec(x_13); lean_dec(x_12); @@ -23382,33 +22741,33 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_346 = lean_ctor_get(x_270, 0); -lean_inc(x_346); -x_347 = lean_ctor_get(x_270, 1); -lean_inc(x_347); -if (lean_is_exclusive(x_270)) { - lean_ctor_release(x_270, 0); - lean_ctor_release(x_270, 1); - x_348 = x_270; +x_164 = lean_ctor_get(x_124, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_124, 1); +lean_inc(x_165); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_166 = x_124; } else { - lean_dec_ref(x_270); - x_348 = lean_box(0); + lean_dec_ref(x_124); + x_166 = lean_box(0); } -if (lean_is_scalar(x_348)) { - x_349 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_166)) { + x_167 = lean_alloc_ctor(1, 2, 0); } else { - x_349 = x_348; + x_167 = x_166; } -lean_ctor_set(x_349, 0, x_346); -lean_ctor_set(x_349, 1, x_347); -return x_349; +lean_ctor_set(x_167, 0, x_164); +lean_ctor_set(x_167, 1, x_165); +return x_167; } } } } else { -uint8_t x_350; +uint8_t x_168; lean_dec(x_40); lean_dec(x_13); lean_dec(x_12); @@ -23421,29 +22780,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_350 = !lean_is_exclusive(x_41); -if (x_350 == 0) +x_168 = !lean_is_exclusive(x_41); +if (x_168 == 0) { return x_41; } else { -lean_object* x_351; lean_object* x_352; lean_object* x_353; -x_351 = lean_ctor_get(x_41, 0); -x_352 = lean_ctor_get(x_41, 1); -lean_inc(x_352); -lean_inc(x_351); +lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_41, 0); +x_170 = lean_ctor_get(x_41, 1); +lean_inc(x_170); +lean_inc(x_169); lean_dec(x_41); -x_353 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_353, 0, x_351); -lean_ctor_set(x_353, 1, x_352); -return x_353; +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_169); +lean_ctor_set(x_171, 1, x_170); +return x_171; } } } else { -uint8_t x_354; +uint8_t x_172; lean_dec(x_21); lean_dec(x_13); lean_dec(x_12); @@ -23456,23 +22815,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_354 = !lean_is_exclusive(x_32); -if (x_354 == 0) +x_172 = !lean_is_exclusive(x_32); +if (x_172 == 0) { return x_32; } else { -lean_object* x_355; lean_object* x_356; lean_object* x_357; -x_355 = lean_ctor_get(x_32, 0); -x_356 = lean_ctor_get(x_32, 1); -lean_inc(x_356); -lean_inc(x_355); +lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_173 = lean_ctor_get(x_32, 0); +x_174 = lean_ctor_get(x_32, 1); +lean_inc(x_174); +lean_inc(x_173); lean_dec(x_32); -x_357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_357, 0, x_355); -lean_ctor_set(x_357, 1, x_356); -return x_357; +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +return x_175; } } } @@ -23480,7 +22839,7 @@ return x_357; } else { -uint8_t x_358; lean_object* x_359; lean_object* x_360; +uint8_t x_176; lean_object* x_177; lean_object* x_178; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -23492,12 +22851,12 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_358 = 0; -x_359 = lean_box(x_358); -x_360 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_360, 0, x_359); -lean_ctor_set(x_360, 1, x_14); -return x_360; +x_176 = 0; +x_177 = lean_box(x_176); +x_178 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_14); +return x_178; } } } @@ -23579,256 +22938,55 @@ x_13 = lean_apply_9(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_st_ref_take(x_1, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_8, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -uint8_t x_14; lean_object* x_15; uint8_t x_16; -x_14 = 1; -lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_14); -x_15 = lean_st_ref_set(x_1, x_8, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_9, 0); -x_23 = lean_ctor_get(x_9, 1); -x_24 = lean_ctor_get(x_9, 2); -x_25 = lean_ctor_get(x_9, 3); -x_26 = lean_ctor_get(x_9, 4); -x_27 = lean_ctor_get(x_9, 5); -x_28 = lean_ctor_get(x_9, 6); -x_29 = lean_ctor_get(x_9, 7); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_9); -x_30 = 1; -x_31 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_23); -lean_ctor_set(x_31, 2, x_24); -lean_ctor_set(x_31, 3, x_25); -lean_ctor_set(x_31, 4, x_26); -lean_ctor_set(x_31, 5, x_27); -lean_ctor_set(x_31, 6, x_28); -lean_ctor_set(x_31, 7, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_30); -lean_ctor_set(x_8, 0, x_31); -x_32 = lean_st_ref_set(x_1, x_8, x_10); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; -} else { - lean_dec_ref(x_32); - x_34 = lean_box(0); -} -x_35 = lean_box(0); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -} -else -{ -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; uint8_t 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_37 = lean_ctor_get(x_8, 1); -x_38 = lean_ctor_get(x_8, 2); -x_39 = lean_ctor_get(x_8, 3); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_8); -x_40 = lean_ctor_get(x_9, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_9, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_9, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_9, 3); -lean_inc(x_43); -x_44 = lean_ctor_get(x_9, 4); -lean_inc(x_44); -x_45 = lean_ctor_get(x_9, 5); -lean_inc(x_45); -x_46 = lean_ctor_get(x_9, 6); -lean_inc(x_46); -x_47 = lean_ctor_get(x_9, 7); -lean_inc(x_47); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - lean_ctor_release(x_9, 6); - lean_ctor_release(x_9, 7); - x_48 = x_9; -} else { - lean_dec_ref(x_9); - x_48 = lean_box(0); -} -x_49 = 1; -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 8, 1); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_40); -lean_ctor_set(x_50, 1, x_41); -lean_ctor_set(x_50, 2, x_42); -lean_ctor_set(x_50, 3, x_43); -lean_ctor_set(x_50, 4, x_44); -lean_ctor_set(x_50, 5, x_45); -lean_ctor_set(x_50, 6, x_46); -lean_ctor_set(x_50, 7, x_47); -lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_49); -x_51 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_37); -lean_ctor_set(x_51, 2, x_38); -lean_ctor_set(x_51, 3, x_39); -x_52 = lean_st_ref_set(x_1, x_51, x_10); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___rarg___boxed), 4, 0); -return x_6; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_11 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___rarg(x_7, x_8, x_9, x_10); +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_st_ref_get(x_9, x_10); x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); lean_dec(x_11); -x_13 = lean_st_ref_get(x_9, x_12); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_st_ref_get(x_7, x_14); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +x_13 = lean_st_ref_get(x_7, x_12); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_ctor_get(x_18, 6); -lean_inc(x_19); -lean_dec(x_18); -x_20 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_19, x_1); -x_21 = lean_box(x_20); -lean_ctor_set(x_15, 0, x_21); -return x_15; +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 6); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_17, x_1); +x_19 = lean_box(x_18); +lean_ctor_set(x_13, 0, x_19); +return x_13; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_22 = lean_ctor_get(x_15, 0); -x_23 = lean_ctor_get(x_15, 1); -lean_inc(x_23); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_20 = lean_ctor_get(x_13, 0); +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_13); +x_22 = lean_ctor_get(x_20, 0); lean_inc(x_22); -lean_dec(x_15); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); +lean_dec(x_20); +x_23 = lean_ctor_get(x_22, 6); +lean_inc(x_23); lean_dec(x_22); -x_25 = lean_ctor_get(x_24, 6); -lean_inc(x_25); -lean_dec(x_24); -x_26 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_25, x_1); -x_27 = lean_box(x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_23); -return x_28; +x_24 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_23, x_1); +x_25 = lean_box(x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_21); +return x_26; } } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__1() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__1() { _start: { lean_object* x_1; @@ -23836,12 +22994,12 @@ x_1 = lean_mk_string_from_bytes("Lean.Elab.Term.StructInst.DefaultFields.step", return x_1; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__2() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__3___closed__1; -x_2 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__1; +x_2 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__1; x_3 = lean_unsigned_to_nat(840u); x_4 = lean_unsigned_to_nat(25u); x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___spec__3___closed__3; @@ -23849,7 +23007,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__3() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -23859,7 +23017,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_1) == 0) @@ -23911,7 +23069,7 @@ lean_object* x_23; lean_object* x_24; x_23 = lean_ctor_get(x_22, 1); lean_inc(x_23); lean_dec(x_22); -x_24 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__3; +x_24 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__3; x_15 = x_24; x_16 = x_23; goto block_19; @@ -23958,7 +23116,7 @@ if (lean_obj_tag(x_29) == 0) { lean_object* x_30; lean_object* x_31; lean_dec(x_13); -x_30 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__2; +x_30 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__2; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -23974,7 +23132,7 @@ lean_object* x_32; lean_object* x_33; x_32 = lean_ctor_get(x_31, 1); lean_inc(x_32); lean_dec(x_31); -x_33 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__3; +x_33 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__3; x_15 = x_33; x_16 = x_32; goto block_19; @@ -24023,7 +23181,7 @@ if (lean_obj_tag(x_39) == 0) { lean_object* x_40; lean_dec(x_13); -x_40 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__3; +x_40 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__3; x_15 = x_40; x_16 = x_11; goto block_19; @@ -24121,7 +23279,7 @@ lean_object* x_69; lean_object* x_70; x_69 = lean_ctor_get(x_66, 1); lean_inc(x_69); lean_dec(x_66); -x_70 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__3; +x_70 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__3; x_15 = x_70; x_16 = x_69; goto block_19; @@ -24146,7 +23304,7 @@ x_78 = lean_st_ref_set(x_4, x_77, x_75); x_79 = lean_ctor_get(x_78, 1); lean_inc(x_79); lean_dec(x_78); -x_80 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__3; +x_80 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__3; x_15 = x_80; x_16 = x_79; goto block_19; @@ -24192,7 +23350,7 @@ lean_dec(x_13); x_85 = lean_ctor_get(x_43, 1); lean_inc(x_85); lean_dec(x_43); -x_86 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__3; +x_86 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__3; x_15 = x_86; x_16 = x_85; goto block_19; @@ -24203,7 +23361,7 @@ else lean_object* x_87; lean_dec(x_41); lean_dec(x_13); -x_87 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__3; +x_87 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__3; x_15 = x_87; x_16 = x_11; goto block_19; @@ -24249,7 +23407,7 @@ x_17 = lean_ctor_get(x_2, 0); x_18 = lean_array_push(x_17, x_1); lean_ctor_set(x_2, 0, x_18); x_19 = lean_box(0); -x_20 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4(x_15, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +x_20 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3(x_15, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); if (lean_obj_tag(x_20) == 0) { uint8_t x_21; @@ -24313,7 +23471,7 @@ lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_30); lean_ctor_set(x_33, 2, x_31); x_34 = lean_box(0); -x_35 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4(x_15, x_34, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +x_35 = l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3(x_15, x_34, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); if (lean_obj_tag(x_35) == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; @@ -24399,30 +23557,6 @@ return x_48; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { @@ -28062,12 +27196,12 @@ l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___closed__2 lean_mark_persistent(l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___closed__2); l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___closed__3 = _init_l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___closed__3(); lean_mark_persistent(l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___closed__3); -l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__1(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__1); -l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__2 = _init_l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__2(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__2); -l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__3 = _init_l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__3(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__4___closed__3); +l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__1(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__1); +l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__2 = _init_l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__2(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__2); +l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__3 = _init_l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__3(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__3___closed__3); l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__2___closed__1 = _init_l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__2___closed__1(); lean_mark_persistent(l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__2___closed__1); l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__2___closed__2 = _init_l_panic___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___spec__2___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index e62f4a89e6..d83e155e9f 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -779,7 +779,6 @@ lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyDefaultValue_x3f_go_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___closed__2; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_getOptDerivingClasses___at_Lean_Elab_Command_elabStructure___spec__2___lambda__2___closed__1; @@ -961,6 +960,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_co LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getFieldType___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_logWarning___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); @@ -3105,7 +3105,7 @@ x_20 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Comm x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_14); +x_22 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_14); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4481,7 +4481,7 @@ else { lean_object* x_13; lean_object* x_14; uint8_t x_15; x_13 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__2___closed__2; -x_14 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -4537,7 +4537,7 @@ else { lean_object* x_13; lean_object* x_14; uint8_t x_15; x_13 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___lambda__3___closed__2; -x_14 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -4597,7 +4597,7 @@ else { lean_object* x_12; lean_object* x_13; uint8_t x_14; x_12 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__16___closed__2; -x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4802,7 +4802,7 @@ lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_dec(x_3); lean_dec(x_1); x_19 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__2; -x_20 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_20 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -4959,7 +4959,7 @@ lean_dec(x_22); lean_dec(x_3); lean_dec(x_2); x_38 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__2; -x_39 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_31); +x_39 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_31); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5148,7 +5148,7 @@ lean_dec(x_22); lean_dec(x_3); lean_dec(x_2); x_76 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__2; -x_77 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_76, x_4, x_5, x_6, x_7, x_64, x_9, x_69); +x_77 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_76, x_4, x_5, x_6, x_7, x_64, x_9, x_69); lean_dec(x_9); lean_dec(x_64); lean_dec(x_7); @@ -5729,7 +5729,7 @@ else { lean_object* x_13; lean_object* x_14; uint8_t x_15; x_13 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__2___closed__2; -x_14 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -5785,7 +5785,7 @@ else { lean_object* x_13; lean_object* x_14; uint8_t x_15; x_13 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__3___closed__2; -x_14 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -5845,7 +5845,7 @@ else { lean_object* x_12; lean_object* x_13; uint8_t x_14; x_12 = l_Lean_Elab_Command_checkValidFieldModifier___closed__2; -x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_13 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -7466,7 +7466,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_21 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__4___closed__2; -x_22 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_22 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -7573,7 +7573,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_26 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__5___closed__2; -x_27 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_26, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +x_27 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_26, x_6, x_7, x_8, x_9, x_10, x_11, x_19); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -9450,7 +9450,7 @@ x_29 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_go_ x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_31 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -12767,7 +12767,7 @@ x_98 = l_Lean_getDocStringText___at___private_Lean_Elab_Structure_0__Lean_Elab_C x_99 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_99, 0, x_97); lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_99, x_10, x_11, x_12, x_13, x_14, x_15, x_87); +x_100 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_99, x_10, x_11, x_12, x_13, x_14, x_15, x_87); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -16864,7 +16864,7 @@ default: lean_object* x_96; uint8_t x_97; lean_dec(x_92); lean_dec(x_18); -x_96 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_91, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_96 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_91, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -17419,7 +17419,7 @@ default: lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_dec(x_196); lean_dec(x_18); -x_200 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_195, x_6, x_7, x_8, x_9, x_126, x_11, x_12); +x_200 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_195, x_6, x_7, x_8, x_9, x_126, x_11, x_12); lean_dec(x_11); lean_dec(x_126); lean_dec(x_9); @@ -22066,14 +22066,13 @@ x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___c x_2 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___closed__5; x_3 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___closed__6; x_4 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___closed__9; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -23017,7 +23016,7 @@ x_36 = l_Lean_getDocStringText___at___private_Lean_Elab_Structure_0__Lean_Elab_C x_37 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_20); +x_38 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_20); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index 86b5d63086..334cf84542 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -352,7 +352,6 @@ static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyn static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__5; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__12; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10403____closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_resolveSyntaxKind___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); @@ -360,7 +359,8 @@ static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyn lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); lean_object* l_String_capitalize(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ensureUnaryOutput(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10403_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10421_(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10421____closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__13; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__7; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1996,6 +1996,114 @@ return x_18; } } } +static lean_object* _init_l_Lean_Elab_Term_addCategoryInfo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Category", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_addCategoryInfo___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_addCategoryInfo___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_addCategoryInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = l_Lean_Elab_Term_addCategoryInfo___closed__2; +x_11 = l_Lean_Name_append(x_10, x_2); +x_12 = lean_st_ref_get(x_8, x_9); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_11); +x_17 = l_Lean_Environment_contains(x_16, x_11); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_18 = lean_box(0); +lean_ctor_set(x_12, 0, x_18); +return x_12; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; +lean_free_object(x_12); +x_19 = lean_box(0); +x_20 = l_Lean_Expr_const___override(x_11, x_19); +x_21 = lean_box(0); +x_22 = lean_box(0); +x_23 = 0; +x_24 = l_Lean_Elab_Term_addTermInfo_x27(x_1, x_20, x_21, x_21, x_22, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_12, 0); +x_26 = lean_ctor_get(x_12, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_12); +x_27 = lean_ctor_get(x_25, 0); +lean_inc(x_27); +lean_dec(x_25); +lean_inc(x_11); +x_28 = l_Lean_Environment_contains(x_27, x_11); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_26); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; +x_31 = lean_box(0); +x_32 = l_Lean_Expr_const___override(x_11, x_31); +x_33 = lean_box(0); +x_34 = lean_box(0); +x_35 = 0; +x_36 = l_Lean_Elab_Term_addTermInfo_x27(x_1, x_32, x_33, x_33, x_34, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_26); +return x_36; +} +} +} +} LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_checkLeftRec___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { @@ -3250,12 +3358,27 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_14; lean_dec(x_4); -x_14 = lean_unsigned_to_nat(1u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandOptPrecedence___boxed), 3, 1); -lean_closure_set(x_16, 0, x_15); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_2); +lean_inc(x_1); +x_14 = l_Lean_Elab_Term_addCategoryInfo(x_1, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +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 = l_Lean_Syntax_getArg(x_1, x_16); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandOptPrecedence___boxed), 3, 1); +lean_closure_set(x_18, 0, x_17); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -3264,63 +3387,63 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_17 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1(x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_17) == 0) +x_19 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_checkLeftRec___spec__1(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_15); +if (lean_obj_tag(x_19) == 0) { -uint8_t x_18; -x_18 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 1); -lean_dec(x_2); -if (x_18 == 0) +uint8_t x_20; +x_20 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 1); +lean_dec(x_3); +if (x_20 == 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; uint8_t x_28; -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_unsigned_to_nat(3u); -x_21 = l_Lean_Syntax_getArg(x_1, 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; uint8_t x_30; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_unsigned_to_nat(3u); +x_23 = l_Lean_Syntax_getArg(x_1, x_22); lean_dec(x_1); -x_22 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_22, 0, x_3); -x_23 = l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__2; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__4; +x_24 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_24, 0, x_2); +x_25 = l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__2; x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__9(x_21, x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__4; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__9(x_23, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -return x_27; +return x_29; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -x_30 = lean_ctor_get(x_27, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_27); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_3); -lean_dec(x_1); -x_32 = lean_ctor_get(x_17, 0); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_29, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_17, 1); -lean_inc(x_33); -lean_dec(x_17); -x_34 = lean_box(0); -x_35 = l_Lean_Elab_Term_checkLeftRec___lambda__1(x_32, x_34, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_33); +lean_inc(x_31); +lean_dec(x_29); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_2); +lean_dec(x_1); +x_34 = lean_ctor_get(x_19, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_19, 1); +lean_inc(x_35); +lean_dec(x_19); +x_36 = lean_box(0); +x_37 = l_Lean_Elab_Term_checkLeftRec___lambda__1(x_34, x_36, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_35); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -3329,12 +3452,12 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_35; +return x_37; } } else { -uint8_t x_36; +uint8_t x_38; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -3346,23 +3469,57 @@ lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_36 = !lean_is_exclusive(x_17); -if (x_36 == 0) +x_38 = !lean_is_exclusive(x_19); +if (x_38 == 0) { -return x_17; +return x_19; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_17, 0); -x_38 = lean_ctor_get(x_17, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_17); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_19, 0); +x_40 = lean_ctor_get(x_19, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_19); +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 +{ +uint8_t x_42; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_42 = !lean_is_exclusive(x_14); +if (x_42 == 0) +{ +return x_14; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_14, 0); +x_44 = lean_ctor_get(x_14, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_14); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } @@ -3406,7 +3563,7 @@ else { lean_object* x_22; lean_object* x_23; x_22 = lean_box(0); -x_23 = l_Lean_Elab_Term_checkLeftRec___lambda__2(x_1, x_2, x_16, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_23 = l_Lean_Elab_Term_checkLeftRec___lambda__2(x_1, x_16, x_2, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_23; } } @@ -4316,114 +4473,6 @@ lean_dec(x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_addCategoryInfo___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Category", 8); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_addCategoryInfo___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_addCategoryInfo___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_addCategoryInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = l_Lean_Elab_Term_addCategoryInfo___closed__2; -x_11 = l_Lean_Name_append(x_10, x_2); -x_12 = lean_st_ref_get(x_8, x_9); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -x_16 = lean_ctor_get(x_14, 0); -lean_inc(x_16); -lean_dec(x_14); -lean_inc(x_11); -x_17 = l_Lean_Environment_contains(x_16, x_11); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_18 = lean_box(0); -lean_ctor_set(x_12, 0, x_18); -return x_12; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; -lean_free_object(x_12); -x_19 = lean_box(0); -x_20 = l_Lean_Expr_const___override(x_11, x_19); -x_21 = lean_box(0); -x_22 = lean_box(0); -x_23 = 0; -x_24 = l_Lean_Elab_Term_addTermInfo_x27(x_1, x_20, x_21, x_21, x_22, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -return x_24; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_25 = lean_ctor_get(x_12, 0); -x_26 = lean_ctor_get(x_12, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_12); -x_27 = lean_ctor_get(x_25, 0); -lean_inc(x_27); -lean_dec(x_25); -lean_inc(x_11); -x_28 = l_Lean_Environment_contains(x_27, x_11); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_29 = lean_box(0); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_26); -return x_30; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; -x_31 = lean_box(0); -x_32 = l_Lean_Expr_const___override(x_11, x_31); -x_33 = lean_box(0); -x_34 = lean_box(0); -x_35 = 0; -x_36 = l_Lean_Elab_Term_addTermInfo_x27(x_1, x_32, x_33, x_33, x_34, x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -return x_36; -} -} -} -} LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__1___rarg(lean_object* x_1) { _start: { @@ -8442,7 +8491,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; x_1 = l_Lean_Elab_Term_toParserDescr_processAlias___closed__1; x_2 = l_Lean_Elab_Term_toParserDescr_processAlias___closed__2; -x_3 = lean_unsigned_to_nat(176u); +x_3 = lean_unsigned_to_nat(177u); x_4 = lean_unsigned_to_nat(21u); x_5 = l_Lean_Elab_Term_toParserDescr_processAlias___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -15274,7 +15323,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(263u); +x_1 = lean_unsigned_to_nat(264u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15286,7 +15335,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(278u); +x_1 = lean_unsigned_to_nat(279u); x_2 = lean_unsigned_to_nat(17u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15314,7 +15363,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(263u); +x_1 = lean_unsigned_to_nat(264u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15326,7 +15375,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(263u); +x_1 = lean_unsigned_to_nat(264u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19265,7 +19314,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSyntax_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(336u); +x_1 = lean_unsigned_to_nat(337u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19277,7 +19326,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSyntax_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(367u); +x_1 = lean_unsigned_to_nat(368u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19305,7 +19354,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSyntax_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(336u); +x_1 = lean_unsigned_to_nat(337u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19317,7 +19366,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSyntax_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(336u); +x_1 = lean_unsigned_to_nat(337u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20468,7 +20517,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(369u); +x_1 = lean_unsigned_to_nat(370u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20480,7 +20529,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(375u); +x_1 = lean_unsigned_to_nat(376u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20508,7 +20557,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(369u); +x_1 = lean_unsigned_to_nat(370u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20520,7 +20569,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(369u); +x_1 = lean_unsigned_to_nat(370u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21678,7 +21727,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10403____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10421____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -21688,11 +21737,11 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10403_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10421_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10403____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10421____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -21832,6 +21881,10 @@ l_Lean_Elab_Term_ensureUnaryOutput___lambda__1___closed__17 = _init_l_Lean_Elab_ lean_mark_persistent(l_Lean_Elab_Term_ensureUnaryOutput___lambda__1___closed__17); l_Lean_Elab_Term_ensureUnaryOutput___closed__1 = _init_l_Lean_Elab_Term_ensureUnaryOutput___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_ensureUnaryOutput___closed__1); +l_Lean_Elab_Term_addCategoryInfo___closed__1 = _init_l_Lean_Elab_Term_addCategoryInfo___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_addCategoryInfo___closed__1); +l_Lean_Elab_Term_addCategoryInfo___closed__2 = _init_l_Lean_Elab_Term_addCategoryInfo___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_addCategoryInfo___closed__2); l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1(); lean_mark_persistent(l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1); l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__2 = _init_l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__2(); @@ -21872,10 +21925,6 @@ l_List_filterMap___at_Lean_Elab_Term_resolveParserName___spec__1___closed__1 = _ lean_mark_persistent(l_List_filterMap___at_Lean_Elab_Term_resolveParserName___spec__1___closed__1); l_List_filterMap___at_Lean_Elab_Term_resolveParserName___spec__1___closed__2 = _init_l_List_filterMap___at_Lean_Elab_Term_resolveParserName___spec__1___closed__2(); lean_mark_persistent(l_List_filterMap___at_Lean_Elab_Term_resolveParserName___spec__1___closed__2); -l_Lean_Elab_Term_addCategoryInfo___closed__1 = _init_l_Lean_Elab_Term_addCategoryInfo___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_addCategoryInfo___closed__1); -l_Lean_Elab_Term_addCategoryInfo___closed__2 = _init_l_Lean_Elab_Term_addCategoryInfo___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_addCategoryInfo___closed__2); l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__1 = _init_l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__1); l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__2 = _init_l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__2(); @@ -22514,9 +22563,9 @@ l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5 = _init_l_ lean_mark_persistent(l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5); l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6 = _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6(); lean_mark_persistent(l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10403____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10403____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10403____closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10403_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10421____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10421____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10421____closed__1); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10421_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/SyntheticMVars.c b/stage0/stdlib/Lean/Elab/SyntheticMVars.c index e8c347fff9..362230ce16 100644 --- a/stage0/stdlib/Lean/Elab/SyntheticMVars.c +++ b/stage0/stdlib/Lean/Elab/SyntheticMVars.c @@ -30,6 +30,7 @@ lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); static lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Elab_Term_runTactic___spec__5___closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSomeUsingDefaultPrio(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__2; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__7; static lean_object* l_Std_RBNode_forIn_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefault___spec__2___closed__3; @@ -52,6 +53,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_ LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_processPostponedUniverseContraints___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___closed__11; LEAN_EXPORT lean_object* l_Std_HashSetImp_contains___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkConstWithFreshMVarLevels(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -73,7 +75,6 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefaultInstance___lambda__2___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_Elab_Term_runTactic___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_assign___at_Lean_Elab_Term_exprToSyntax___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_instantiateLCtxMVars___at_Lean_Elab_Term_runTactic___spec__2___closed__6; @@ -221,7 +222,6 @@ static lean_object* l_Lean_instantiateLCtxMVars___at_Lean_Elab_Term_runTactic___ LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_runTactic___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__13___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___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* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefaultInstance___lambda__2___closed__7; @@ -267,6 +267,7 @@ static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synth LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_del___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_markAsResolved___spec__2___boxed(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -290,7 +291,6 @@ lean_object* l_panic___at_Lean_Expr_bindingInfo_x21___spec__1(lean_object*); extern lean_object* l_Lean_Meta_instInhabitedDefaultInstances; LEAN_EXPORT lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_synthesizeSyntheticMVars_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1; lean_object* l_Lean_Elab_Term_withoutPostponing___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Std_RBNode_erase___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_markAsResolved___spec__1(lean_object*, lean_object*); @@ -303,7 +303,6 @@ extern lean_object* l_Lean_Elab_instInhabitedInfoTree; lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSomeUsingDefaultPrio_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_traceAtCmdPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_postponeExceptionId; static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___lambda__2___closed__3; @@ -329,7 +328,6 @@ LEAN_EXPORT lean_object* l_Lean_occursCheck___at___private_Lean_Elab_SyntheticMV LEAN_EXPORT lean_object* l_Lean_Meta_getDefaultInstancesPriorities___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefaultPrio_synthesizeUsingDefault___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_SyntheticMVars___hyg_6359____closed__1; lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -353,10 +351,10 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_runTactic___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withSynthesize___rarg(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_runPendingTacticsAt___spec__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_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_reportStuckSyntheticMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterAuxM___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeSyntheticMVarsStep___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_getSomeSynthethicMVarsRef___closed__1; @@ -577,7 +575,113 @@ x_12 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumeElabTerm(x_1 return x_12; } } -static lean_object* _init_l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1() { +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_st_ref_get(x_6, x_11); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +x_16 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_15, x_1); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_2); +lean_ctor_set(x_12, 0, x_18); +return x_12; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_12); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_21, x_1); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_2); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_20); +return x_25; +} +} +} +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_st_ref_get(x_6, x_11); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get(x_15, 7); +lean_inc(x_16); +lean_dec(x_15); +x_17 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_16, x_1); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_2); +lean_ctor_set(x_12, 0, x_19); +return x_12; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_20 = lean_ctor_get(x_12, 0); +x_21 = lean_ctor_get(x_12, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_12); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_22, 7); +lean_inc(x_23); +lean_dec(x_22); +x_24 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_23, x_1); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_2); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_21); +return x_27; +} +} +} +static lean_object* _init_l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -587,346 +691,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_9 = lean_st_ref_get(x_7, x_8); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_st_ref_take(x_5, x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_dec(x_11); -x_15 = !lean_is_exclusive(x_12); -if (x_15 == 0) -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_ctor_get(x_12, 0); -lean_dec(x_16); -x_17 = !lean_is_exclusive(x_13); -if (x_17 == 0) -{ -uint8_t x_18; lean_object* x_19; uint8_t x_20; -x_18 = 1; -lean_ctor_set_uint8(x_13, sizeof(void*)*8, x_18); -x_19 = lean_st_ref_set(x_5, x_12, x_14); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -x_22 = l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1; -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_1); -lean_ctor_set(x_19, 0, x_23); -return x_19; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = lean_ctor_get(x_19, 1); -lean_inc(x_24); -lean_dec(x_19); -x_25 = l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1; -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_1); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_24); -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; lean_object* x_34; lean_object* x_35; uint8_t 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_28 = lean_ctor_get(x_13, 0); -x_29 = lean_ctor_get(x_13, 1); -x_30 = lean_ctor_get(x_13, 2); -x_31 = lean_ctor_get(x_13, 3); -x_32 = lean_ctor_get(x_13, 4); -x_33 = lean_ctor_get(x_13, 5); -x_34 = lean_ctor_get(x_13, 6); -x_35 = lean_ctor_get(x_13, 7); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_13); -x_36 = 1; -x_37 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_37, 0, x_28); -lean_ctor_set(x_37, 1, x_29); -lean_ctor_set(x_37, 2, x_30); -lean_ctor_set(x_37, 3, x_31); -lean_ctor_set(x_37, 4, x_32); -lean_ctor_set(x_37, 5, x_33); -lean_ctor_set(x_37, 6, x_34); -lean_ctor_set(x_37, 7, x_35); -lean_ctor_set_uint8(x_37, sizeof(void*)*8, x_36); -lean_ctor_set(x_12, 0, x_37); -x_38 = lean_st_ref_set(x_5, x_12, x_14); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - x_40 = x_38; -} else { - lean_dec_ref(x_38); - x_40 = lean_box(0); -} -x_41 = l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1; -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_1); -if (lean_is_scalar(x_40)) { - x_43 = lean_alloc_ctor(0, 2, 0); -} else { - x_43 = x_40; -} -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_39); -return x_43; -} -} -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; lean_object* x_54; lean_object* x_55; uint8_t 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; -x_44 = lean_ctor_get(x_12, 1); -x_45 = lean_ctor_get(x_12, 2); -x_46 = lean_ctor_get(x_12, 3); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_12); -x_47 = lean_ctor_get(x_13, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_13, 1); -lean_inc(x_48); -x_49 = lean_ctor_get(x_13, 2); -lean_inc(x_49); -x_50 = lean_ctor_get(x_13, 3); -lean_inc(x_50); -x_51 = lean_ctor_get(x_13, 4); -lean_inc(x_51); -x_52 = lean_ctor_get(x_13, 5); -lean_inc(x_52); -x_53 = lean_ctor_get(x_13, 6); -lean_inc(x_53); -x_54 = lean_ctor_get(x_13, 7); -lean_inc(x_54); -if (lean_is_exclusive(x_13)) { - lean_ctor_release(x_13, 0); - lean_ctor_release(x_13, 1); - lean_ctor_release(x_13, 2); - lean_ctor_release(x_13, 3); - lean_ctor_release(x_13, 4); - lean_ctor_release(x_13, 5); - lean_ctor_release(x_13, 6); - lean_ctor_release(x_13, 7); - x_55 = x_13; -} else { - lean_dec_ref(x_13); - x_55 = lean_box(0); -} -x_56 = 1; -if (lean_is_scalar(x_55)) { - x_57 = lean_alloc_ctor(0, 8, 1); -} else { - x_57 = x_55; -} -lean_ctor_set(x_57, 0, x_47); -lean_ctor_set(x_57, 1, x_48); -lean_ctor_set(x_57, 2, x_49); -lean_ctor_set(x_57, 3, x_50); -lean_ctor_set(x_57, 4, x_51); -lean_ctor_set(x_57, 5, x_52); -lean_ctor_set(x_57, 6, x_53); -lean_ctor_set(x_57, 7, x_54); -lean_ctor_set_uint8(x_57, sizeof(void*)*8, x_56); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_44); -lean_ctor_set(x_58, 2, x_45); -lean_ctor_set(x_58, 3, x_46); -x_59 = lean_st_ref_set(x_5, x_58, x_14); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; -} else { - lean_dec_ref(x_59); - x_61 = lean_box(0); -} -x_62 = l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1; -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_1); -if (lean_is_scalar(x_61)) { - x_64 = lean_alloc_ctor(0, 2, 0); -} else { - x_64 = x_61; -} -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_60); -return x_64; -} -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_1); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_3); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_10); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -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_10 = lean_st_ref_get(x_8, x_9); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_st_ref_get(x_6, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -x_16 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_15, x_1); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_box(0); -x_18 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4___lambda__1(x_16, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_19 = l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -lean_dec(x_20); -x_24 = lean_ctor_get(x_21, 0); -lean_inc(x_24); -lean_dec(x_21); -x_25 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4___lambda__1(x_16, x_24, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_22); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_24); -return x_25; -} -} -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = lean_st_ref_get(x_8, x_9); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_st_ref_get(x_6, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_ctor_get(x_15, 7); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_16, x_1); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_box(0); -x_19 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4___lambda__1(x_17, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_20 = l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -lean_dec(x_20); -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_dec(x_21); -x_25 = lean_ctor_get(x_22, 0); -lean_inc(x_25); -lean_dec(x_22); -x_26 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4___lambda__1(x_17, x_25, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_23); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_25); -return x_26; -} -} -} -static lean_object* _init_l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__1() { +static lean_object* _init_l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -944,12 +709,6 @@ x_11 = lean_name_eq(x_1, x_2); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); x_12 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_13 = lean_ctor_get(x_12, 0); @@ -968,13 +727,7 @@ lean_dec(x_12); x_17 = lean_ctor_get(x_13, 1); lean_inc(x_17); lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_18 = l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__6(x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +x_18 = l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5(x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_19, 0); @@ -985,12 +738,6 @@ lean_dec(x_20); if (lean_obj_tag(x_21) == 0) { uint8_t x_22; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); x_22 = !lean_is_exclusive(x_18); if (x_22 == 0) { @@ -1003,7 +750,7 @@ if (x_24 == 0) lean_object* x_25; lean_object* x_26; x_25 = lean_ctor_get(x_19, 0); lean_dec(x_25); -x_26 = l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1; +x_26 = l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__1; lean_ctor_set(x_19, 0, x_26); return x_18; } @@ -1013,7 +760,7 @@ lean_object* x_27; lean_object* x_28; lean_object* x_29; x_27 = lean_ctor_get(x_19, 1); lean_inc(x_27); lean_dec(x_19); -x_28 = l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1; +x_28 = l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__1; x_29 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); @@ -1037,7 +784,7 @@ if (lean_is_exclusive(x_19)) { lean_dec_ref(x_19); x_32 = lean_box(0); } -x_33 = l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1; +x_33 = l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__1; if (lean_is_scalar(x_32)) { x_34 = lean_alloc_ctor(0, 2, 0); } else { @@ -1092,14 +839,8 @@ return x_44; else { lean_object* x_45; lean_object* x_46; lean_object* x_47; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); -x_45 = l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__1; +x_45 = l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__2; x_46 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_3); @@ -1118,14 +859,8 @@ x_11 = l_Lean_Expr_hasExprMVar(x_2); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); -x_12 = l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1; +x_12 = l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__1; x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_3); @@ -1163,12 +898,6 @@ lean_inc(x_19); x_20 = lean_ctor_get(x_2, 1); lean_inc(x_20); lean_dec(x_2); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); x_21 = l_Lean_occursCheck_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__2(x_1, x_19, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); @@ -1178,12 +907,6 @@ if (lean_obj_tag(x_23) == 0) { uint8_t x_24; lean_dec(x_20); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); x_24 = !lean_is_exclusive(x_21); if (x_24 == 0) { @@ -1309,12 +1032,6 @@ lean_inc(x_47); x_48 = lean_ctor_get(x_2, 2); lean_inc(x_48); lean_dec(x_2); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); x_49 = l_Lean_occursCheck_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__2(x_1, x_47, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); @@ -1324,12 +1041,6 @@ if (lean_obj_tag(x_51) == 0) { uint8_t x_52; lean_dec(x_48); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); x_52 = !lean_is_exclusive(x_49); if (x_52 == 0) { @@ -1455,12 +1166,6 @@ lean_inc(x_75); x_76 = lean_ctor_get(x_2, 2); lean_inc(x_76); lean_dec(x_2); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); x_77 = l_Lean_occursCheck_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__2(x_1, x_75, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_78 = lean_ctor_get(x_77, 0); lean_inc(x_78); @@ -1470,12 +1175,6 @@ if (lean_obj_tag(x_79) == 0) { uint8_t x_80; lean_dec(x_76); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); x_80 = !lean_is_exclusive(x_77); if (x_80 == 0) { @@ -1603,12 +1302,6 @@ lean_inc(x_104); x_105 = lean_ctor_get(x_2, 3); lean_inc(x_105); lean_dec(x_2); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); x_106 = l_Lean_occursCheck_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__2(x_1, x_103, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_107 = lean_ctor_get(x_106, 0); lean_inc(x_107); @@ -1619,12 +1312,6 @@ if (lean_obj_tag(x_108) == 0) uint8_t x_109; lean_dec(x_105); lean_dec(x_104); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); x_109 = !lean_is_exclusive(x_106); if (x_109 == 0) { @@ -1736,12 +1423,6 @@ lean_dec(x_106); x_130 = lean_ctor_get(x_107, 1); lean_inc(x_130); lean_dec(x_107); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); x_131 = l_Lean_occursCheck_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__2(x_1, x_104, x_130, x_4, x_5, x_6, x_7, x_8, x_9, x_129); x_132 = lean_ctor_get(x_131, 0); lean_inc(x_132); @@ -1751,12 +1432,6 @@ if (lean_obj_tag(x_133) == 0) { uint8_t x_134; lean_dec(x_105); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); x_134 = !lean_is_exclusive(x_131); if (x_134 == 0) { @@ -1898,14 +1573,8 @@ goto _start; default: { lean_object* x_161; lean_object* x_162; lean_object* x_163; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); -x_161 = l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1; +x_161 = l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__1; x_162 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_162, 0, x_161); lean_ctor_set(x_162, 1, x_16); @@ -1919,14 +1588,8 @@ return x_163; else { lean_object* x_164; lean_object* x_165; lean_object* x_166; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); -x_164 = l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1; +x_164 = l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__1; x_165 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_165, 0, x_164); lean_ctor_set(x_165, 1, x_3); @@ -1955,12 +1618,6 @@ x_10 = l_Lean_Expr_hasExprMVar(x_2); if (x_10 == 0) { uint8_t x_11; lean_object* x_12; lean_object* x_13; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); x_11 = 1; x_12 = lean_box(x_11); @@ -2162,12 +1819,6 @@ lean_inc(x_43); x_44 = lean_ctor_get(x_42, 1); lean_inc(x_44); lean_dec(x_42); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); lean_inc(x_43); x_45 = l_Lean_occursCheck___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__1(x_1, x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_44); x_46 = lean_ctor_get(x_45, 0); @@ -2392,12 +2043,6 @@ lean_inc(x_266); x_267 = lean_ctor_get(x_265, 1); lean_inc(x_267); lean_dec(x_265); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); lean_inc(x_266); x_268 = l_Lean_occursCheck___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__1(x_1, x_266, x_4, x_5, x_6, x_7, x_8, x_9, x_267); x_269 = lean_ctor_get(x_268, 0); @@ -3414,33 +3059,32 @@ return x_31; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; -x_9 = l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); +lean_object* x_10; +x_10 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -return x_11; +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; } } LEAN_EXPORT lean_object* l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -3448,6 +3092,12 @@ _start: { lean_object* x_11; x_11 = l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); return x_11; } @@ -3457,6 +3107,12 @@ _start: { lean_object* x_11; x_11 = l_Lean_occursCheck_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); return x_11; } @@ -3466,6 +3122,12 @@ _start: { lean_object* x_10; x_10 = l_Lean_occursCheck___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); return x_10; } @@ -3873,12 +3535,6 @@ lean_inc(x_54); x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); lean_dec(x_53); -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_inc(x_54); x_56 = l_Lean_occursCheck___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__1(x_8, x_54, x_10, x_11, x_12, x_13, x_14, x_15, x_55); x_57 = lean_ctor_get(x_56, 0); @@ -4183,12 +3839,6 @@ lean_dec(x_1); x_32 = lean_ctor_get(x_26, 1); lean_inc(x_32); lean_dec(x_26); -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_inc(x_4); x_33 = l_Lean_occursCheck___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__1(x_8, x_4, x_10, x_11, x_12, x_13, x_14, x_15, x_32); x_34 = lean_ctor_get(x_33, 0); @@ -4383,12 +4033,6 @@ lean_dec(x_1); x_80 = lean_ctor_get(x_74, 1); lean_inc(x_80); lean_dec(x_74); -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_inc(x_4); x_81 = l_Lean_occursCheck___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__1(x_8, x_4, x_10, x_11, x_12, x_13, x_14, x_15, x_80); x_82 = lean_ctor_get(x_81, 0); @@ -16754,7 +16398,7 @@ return x_42; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; x_43 = lean_ctor_get(x_29, 0); x_44 = lean_ctor_get(x_29, 1); x_45 = lean_ctor_get(x_29, 2); @@ -16763,7 +16407,6 @@ x_47 = lean_ctor_get(x_29, 4); x_48 = lean_ctor_get(x_29, 5); x_49 = lean_ctor_get(x_29, 6); x_50 = lean_ctor_get(x_29, 7); -x_51 = lean_ctor_get_uint8(x_29, sizeof(void*)*8); lean_inc(x_50); lean_inc(x_49); lean_inc(x_48); @@ -16775,68 +16418,66 @@ lean_inc(x_43); lean_dec(x_29); lean_ctor_set(x_15, 2, x_23); lean_ctor_set(x_15, 1, x_20); -x_52 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_46, x_1, x_15); -x_53 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_53, 0, x_43); -lean_ctor_set(x_53, 1, x_44); -lean_ctor_set(x_53, 2, x_45); -lean_ctor_set(x_53, 3, x_52); -lean_ctor_set(x_53, 4, x_47); -lean_ctor_set(x_53, 5, x_48); -lean_ctor_set(x_53, 6, x_49); -lean_ctor_set(x_53, 7, x_50); -lean_ctor_set_uint8(x_53, sizeof(void*)*8, x_51); -lean_ctor_set(x_28, 0, x_53); -x_54 = lean_st_ref_set(x_5, x_28, x_30); +x_51 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_46, x_1, x_15); +x_52 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_52, 0, x_43); +lean_ctor_set(x_52, 1, x_44); +lean_ctor_set(x_52, 2, x_45); +lean_ctor_set(x_52, 3, x_51); +lean_ctor_set(x_52, 4, x_47); +lean_ctor_set(x_52, 5, x_48); +lean_ctor_set(x_52, 6, x_49); +lean_ctor_set(x_52, 7, x_50); +lean_ctor_set(x_28, 0, x_52); +x_53 = lean_st_ref_set(x_5, x_28, x_30); lean_dec(x_5); -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - x_56 = x_54; +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + x_55 = x_53; } else { - lean_dec_ref(x_54); - x_56 = lean_box(0); + lean_dec_ref(x_53); + x_55 = lean_box(0); } -x_57 = lean_box(0); -if (lean_is_scalar(x_56)) { - x_58 = lean_alloc_ctor(0, 2, 0); +x_56 = lean_box(0); +if (lean_is_scalar(x_55)) { + x_57 = lean_alloc_ctor(0, 2, 0); } else { - x_58 = x_56; + x_57 = x_55; } -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_55); -return x_58; +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_54); +return x_57; } } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_59 = lean_ctor_get(x_28, 1); -x_60 = lean_ctor_get(x_28, 2); -x_61 = lean_ctor_get(x_28, 3); -lean_inc(x_61); +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_58 = lean_ctor_get(x_28, 1); +x_59 = lean_ctor_get(x_28, 2); +x_60 = lean_ctor_get(x_28, 3); lean_inc(x_60); lean_inc(x_59); +lean_inc(x_58); lean_dec(x_28); -x_62 = lean_ctor_get(x_29, 0); +x_61 = lean_ctor_get(x_29, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_29, 1); lean_inc(x_62); -x_63 = lean_ctor_get(x_29, 1); +x_63 = lean_ctor_get(x_29, 2); lean_inc(x_63); -x_64 = lean_ctor_get(x_29, 2); +x_64 = lean_ctor_get(x_29, 3); lean_inc(x_64); -x_65 = lean_ctor_get(x_29, 3); +x_65 = lean_ctor_get(x_29, 4); lean_inc(x_65); -x_66 = lean_ctor_get(x_29, 4); +x_66 = lean_ctor_get(x_29, 5); lean_inc(x_66); -x_67 = lean_ctor_get(x_29, 5); +x_67 = lean_ctor_get(x_29, 6); lean_inc(x_67); -x_68 = lean_ctor_get(x_29, 6); +x_68 = lean_ctor_get(x_29, 7); lean_inc(x_68); -x_69 = lean_ctor_get(x_29, 7); -lean_inc(x_69); -x_70 = lean_ctor_get_uint8(x_29, sizeof(void*)*8); if (lean_is_exclusive(x_29)) { lean_ctor_release(x_29, 0); lean_ctor_release(x_29, 1); @@ -16846,74 +16487,73 @@ if (lean_is_exclusive(x_29)) { lean_ctor_release(x_29, 5); lean_ctor_release(x_29, 6); lean_ctor_release(x_29, 7); - x_71 = x_29; + x_69 = x_29; } else { lean_dec_ref(x_29); - x_71 = lean_box(0); + x_69 = lean_box(0); } lean_ctor_set(x_15, 2, x_23); lean_ctor_set(x_15, 1, x_20); -x_72 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_65, x_1, x_15); -if (lean_is_scalar(x_71)) { - x_73 = lean_alloc_ctor(0, 8, 1); +x_70 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_64, x_1, x_15); +if (lean_is_scalar(x_69)) { + x_71 = lean_alloc_ctor(0, 8, 0); } else { - x_73 = x_71; + x_71 = x_69; } -lean_ctor_set(x_73, 0, x_62); -lean_ctor_set(x_73, 1, x_63); -lean_ctor_set(x_73, 2, x_64); -lean_ctor_set(x_73, 3, x_72); -lean_ctor_set(x_73, 4, x_66); -lean_ctor_set(x_73, 5, x_67); -lean_ctor_set(x_73, 6, x_68); -lean_ctor_set(x_73, 7, x_69); -lean_ctor_set_uint8(x_73, sizeof(void*)*8, x_70); -x_74 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_59); -lean_ctor_set(x_74, 2, x_60); -lean_ctor_set(x_74, 3, x_61); -x_75 = lean_st_ref_set(x_5, x_74, x_30); +lean_ctor_set(x_71, 0, x_61); +lean_ctor_set(x_71, 1, x_62); +lean_ctor_set(x_71, 2, x_63); +lean_ctor_set(x_71, 3, x_70); +lean_ctor_set(x_71, 4, x_65); +lean_ctor_set(x_71, 5, x_66); +lean_ctor_set(x_71, 6, x_67); +lean_ctor_set(x_71, 7, x_68); +x_72 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_58); +lean_ctor_set(x_72, 2, x_59); +lean_ctor_set(x_72, 3, x_60); +x_73 = lean_st_ref_set(x_5, x_72, x_30); lean_dec(x_5); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_75 = x_73; +} else { + lean_dec_ref(x_73); + x_75 = lean_box(0); +} +x_76 = lean_box(0); +if (lean_is_scalar(x_75)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { x_77 = x_75; -} else { - lean_dec_ref(x_75); - x_77 = lean_box(0); } -x_78 = lean_box(0); -if (lean_is_scalar(x_77)) { - x_79 = lean_alloc_ctor(0, 2, 0); -} else { - x_79 = x_77; -} -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_76); -return x_79; +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_74); +return x_77; } } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t 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; 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; uint8_t 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; -x_80 = lean_ctor_get(x_15, 0); -x_81 = lean_ctor_get(x_15, 1); -x_82 = lean_ctor_get(x_15, 2); -x_83 = lean_ctor_get(x_15, 3); -x_84 = lean_ctor_get(x_15, 4); -x_85 = lean_ctor_get_uint8(x_15, sizeof(void*)*7); -x_86 = lean_ctor_get(x_15, 5); -x_87 = lean_ctor_get(x_15, 6); -lean_inc(x_87); -lean_inc(x_86); +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; 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; 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_78 = lean_ctor_get(x_15, 0); +x_79 = lean_ctor_get(x_15, 1); +x_80 = lean_ctor_get(x_15, 2); +x_81 = lean_ctor_get(x_15, 3); +x_82 = lean_ctor_get(x_15, 4); +x_83 = lean_ctor_get_uint8(x_15, sizeof(void*)*7); +x_84 = lean_ctor_get(x_15, 5); +x_85 = lean_ctor_get(x_15, 6); +lean_inc(x_85); 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_inc(x_78); lean_dec(x_15); lean_inc(x_7); lean_inc(x_6); @@ -16921,136 +16561,134 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_88 = l_Lean_instantiateLCtxMVars___at_Lean_Elab_Term_runTactic___spec__2(x_81, x_2, x_3, x_4, x_5, x_6, x_7, x_13); -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_82, x_2, x_3, x_4, x_5, x_6, x_7, x_90); +x_86 = l_Lean_instantiateLCtxMVars___at_Lean_Elab_Term_runTactic___spec__2(x_79, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_88); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_st_ref_get(x_7, x_93); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_st_ref_get(x_7, x_91); lean_dec(x_7); -x_95 = lean_ctor_get(x_94, 1); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +lean_dec(x_92); +x_94 = lean_st_ref_take(x_5, x_93); +x_95 = lean_ctor_get(x_94, 0); lean_inc(x_95); -lean_dec(x_94); -x_96 = lean_st_ref_take(x_5, x_95); -x_97 = lean_ctor_get(x_96, 0); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_94, 1); lean_inc(x_97); -x_98 = lean_ctor_get(x_97, 0); +lean_dec(x_94); +x_98 = lean_ctor_get(x_95, 1); lean_inc(x_98); -x_99 = lean_ctor_get(x_96, 1); +x_99 = lean_ctor_get(x_95, 2); lean_inc(x_99); -lean_dec(x_96); -x_100 = lean_ctor_get(x_97, 1); +x_100 = lean_ctor_get(x_95, 3); lean_inc(x_100); -x_101 = lean_ctor_get(x_97, 2); -lean_inc(x_101); -x_102 = lean_ctor_get(x_97, 3); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + lean_ctor_release(x_95, 2); + lean_ctor_release(x_95, 3); + x_101 = x_95; +} else { + lean_dec_ref(x_95); + x_101 = lean_box(0); +} +x_102 = lean_ctor_get(x_96, 0); lean_inc(x_102); -if (lean_is_exclusive(x_97)) { - lean_ctor_release(x_97, 0); - lean_ctor_release(x_97, 1); - lean_ctor_release(x_97, 2); - lean_ctor_release(x_97, 3); - x_103 = x_97; -} else { - lean_dec_ref(x_97); - x_103 = lean_box(0); -} -x_104 = lean_ctor_get(x_98, 0); +x_103 = lean_ctor_get(x_96, 1); +lean_inc(x_103); +x_104 = lean_ctor_get(x_96, 2); lean_inc(x_104); -x_105 = lean_ctor_get(x_98, 1); +x_105 = lean_ctor_get(x_96, 3); lean_inc(x_105); -x_106 = lean_ctor_get(x_98, 2); +x_106 = lean_ctor_get(x_96, 4); lean_inc(x_106); -x_107 = lean_ctor_get(x_98, 3); +x_107 = lean_ctor_get(x_96, 5); lean_inc(x_107); -x_108 = lean_ctor_get(x_98, 4); +x_108 = lean_ctor_get(x_96, 6); lean_inc(x_108); -x_109 = lean_ctor_get(x_98, 5); +x_109 = lean_ctor_get(x_96, 7); lean_inc(x_109); -x_110 = lean_ctor_get(x_98, 6); -lean_inc(x_110); -x_111 = lean_ctor_get(x_98, 7); -lean_inc(x_111); -x_112 = lean_ctor_get_uint8(x_98, sizeof(void*)*8); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - lean_ctor_release(x_98, 2); - lean_ctor_release(x_98, 3); - lean_ctor_release(x_98, 4); - lean_ctor_release(x_98, 5); - lean_ctor_release(x_98, 6); - lean_ctor_release(x_98, 7); - x_113 = x_98; +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + lean_ctor_release(x_96, 2); + lean_ctor_release(x_96, 3); + lean_ctor_release(x_96, 4); + lean_ctor_release(x_96, 5); + lean_ctor_release(x_96, 6); + lean_ctor_release(x_96, 7); + x_110 = x_96; } else { - lean_dec_ref(x_98); - x_113 = lean_box(0); + lean_dec_ref(x_96); + x_110 = lean_box(0); } -x_114 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_114, 0, x_80); -lean_ctor_set(x_114, 1, x_89); -lean_ctor_set(x_114, 2, x_92); -lean_ctor_set(x_114, 3, x_83); -lean_ctor_set(x_114, 4, x_84); -lean_ctor_set(x_114, 5, x_86); -lean_ctor_set(x_114, 6, x_87); -lean_ctor_set_uint8(x_114, sizeof(void*)*7, x_85); -x_115 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_107, x_1, x_114); -if (lean_is_scalar(x_113)) { - x_116 = lean_alloc_ctor(0, 8, 1); +x_111 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_111, 0, x_78); +lean_ctor_set(x_111, 1, x_87); +lean_ctor_set(x_111, 2, x_90); +lean_ctor_set(x_111, 3, x_81); +lean_ctor_set(x_111, 4, x_82); +lean_ctor_set(x_111, 5, x_84); +lean_ctor_set(x_111, 6, x_85); +lean_ctor_set_uint8(x_111, sizeof(void*)*7, x_83); +x_112 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_105, x_1, x_111); +if (lean_is_scalar(x_110)) { + x_113 = lean_alloc_ctor(0, 8, 0); } else { - x_116 = x_113; + x_113 = x_110; } -lean_ctor_set(x_116, 0, x_104); -lean_ctor_set(x_116, 1, x_105); -lean_ctor_set(x_116, 2, x_106); -lean_ctor_set(x_116, 3, x_115); -lean_ctor_set(x_116, 4, x_108); -lean_ctor_set(x_116, 5, x_109); -lean_ctor_set(x_116, 6, x_110); -lean_ctor_set(x_116, 7, x_111); -lean_ctor_set_uint8(x_116, sizeof(void*)*8, x_112); -if (lean_is_scalar(x_103)) { - x_117 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_113, 0, x_102); +lean_ctor_set(x_113, 1, x_103); +lean_ctor_set(x_113, 2, x_104); +lean_ctor_set(x_113, 3, x_112); +lean_ctor_set(x_113, 4, x_106); +lean_ctor_set(x_113, 5, x_107); +lean_ctor_set(x_113, 6, x_108); +lean_ctor_set(x_113, 7, x_109); +if (lean_is_scalar(x_101)) { + x_114 = lean_alloc_ctor(0, 4, 0); } else { - x_117 = x_103; + x_114 = x_101; } -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_100); -lean_ctor_set(x_117, 2, x_101); -lean_ctor_set(x_117, 3, x_102); -x_118 = lean_st_ref_set(x_5, x_117, x_99); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_98); +lean_ctor_set(x_114, 2, x_99); +lean_ctor_set(x_114, 3, x_100); +x_115 = lean_st_ref_set(x_5, x_114, x_97); lean_dec(x_5); -x_119 = lean_ctor_get(x_118, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_120 = x_118; +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_117 = x_115; } else { - lean_dec_ref(x_118); - x_120 = lean_box(0); + lean_dec_ref(x_115); + x_117 = lean_box(0); } -x_121 = lean_box(0); -if (lean_is_scalar(x_120)) { - x_122 = lean_alloc_ctor(0, 2, 0); +x_118 = lean_box(0); +if (lean_is_scalar(x_117)) { + x_119 = lean_alloc_ctor(0, 2, 0); } else { - x_122 = x_120; + x_119 = x_117; } -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_119); -return x_122; +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_116); +return x_119; } } } @@ -20459,10 +20097,10 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Tactic_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1 = _init_l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1(); -lean_mark_persistent(l_Lean_markUsedAssignment___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__5___closed__1); l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__1 = _init_l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__1(); lean_mark_persistent(l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__1); +l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__2 = _init_l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__2(); +lean_mark_persistent(l_Lean_occursCheck_visitMVar___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__3___closed__2); l_Lean_occursCheck___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__1___closed__1 = _init_l_Lean_occursCheck___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__1___closed__1(); lean_mark_persistent(l_Lean_occursCheck___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___spec__1___closed__1); l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___lambda__2___closed__1 = _init_l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_resumePostponed___lambda__2___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index 24ae2409e9..bca42db26f 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -80,7 +80,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval(lean_object*, static lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_run___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Tactic_getMainTarget___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -156,6 +155,7 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_closeMainGoal___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_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_eval(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_focus___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo___elambda__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*); @@ -173,7 +173,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkTacticInfo___boxed(lean_object*, l LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_orElse___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withTacticInfoContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_log___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_focusAndDone___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_Expr_hasExprMVar(lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); @@ -199,7 +198,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_w lean_object* l_Lean_Syntax_getId(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_eval___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_saveTacticInfoForToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_TacticM_runCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -225,7 +223,6 @@ lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instAlternativeMetaM; lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -243,6 +240,7 @@ LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_handle LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_TacticM_runCore(lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -320,7 +318,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals(lean_object*, lean_ lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__4___closed__4; lean_object* l_Lean_instantiateMVarsCore(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__13; @@ -330,7 +327,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___lambda__1__ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_instAlternativeTacticM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -1282,256 +1278,55 @@ lean_dec(x_2); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_st_ref_take(x_1, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_8, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -uint8_t x_14; lean_object* x_15; uint8_t x_16; -x_14 = 1; -lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_14); -x_15 = lean_st_ref_set(x_1, x_8, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_9, 0); -x_23 = lean_ctor_get(x_9, 1); -x_24 = lean_ctor_get(x_9, 2); -x_25 = lean_ctor_get(x_9, 3); -x_26 = lean_ctor_get(x_9, 4); -x_27 = lean_ctor_get(x_9, 5); -x_28 = lean_ctor_get(x_9, 6); -x_29 = lean_ctor_get(x_9, 7); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_9); -x_30 = 1; -x_31 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_23); -lean_ctor_set(x_31, 2, x_24); -lean_ctor_set(x_31, 3, x_25); -lean_ctor_set(x_31, 4, x_26); -lean_ctor_set(x_31, 5, x_27); -lean_ctor_set(x_31, 6, x_28); -lean_ctor_set(x_31, 7, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_30); -lean_ctor_set(x_8, 0, x_31); -x_32 = lean_st_ref_set(x_1, x_8, x_10); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; -} else { - lean_dec_ref(x_32); - x_34 = lean_box(0); -} -x_35 = lean_box(0); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -} -else -{ -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; uint8_t 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_37 = lean_ctor_get(x_8, 1); -x_38 = lean_ctor_get(x_8, 2); -x_39 = lean_ctor_get(x_8, 3); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_8); -x_40 = lean_ctor_get(x_9, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_9, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_9, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_9, 3); -lean_inc(x_43); -x_44 = lean_ctor_get(x_9, 4); -lean_inc(x_44); -x_45 = lean_ctor_get(x_9, 5); -lean_inc(x_45); -x_46 = lean_ctor_get(x_9, 6); -lean_inc(x_46); -x_47 = lean_ctor_get(x_9, 7); -lean_inc(x_47); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - lean_ctor_release(x_9, 6); - lean_ctor_release(x_9, 7); - x_48 = x_9; -} else { - lean_dec_ref(x_9); - x_48 = lean_box(0); -} -x_49 = 1; -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 8, 1); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_40); -lean_ctor_set(x_50, 1, x_41); -lean_ctor_set(x_50, 2, x_42); -lean_ctor_set(x_50, 3, x_43); -lean_ctor_set(x_50, 4, x_44); -lean_ctor_set(x_50, 5, x_45); -lean_ctor_set(x_50, 6, x_46); -lean_ctor_set(x_50, 7, x_47); -lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_49); -x_51 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_37); -lean_ctor_set(x_51, 2, x_38); -lean_ctor_set(x_51, 3, x_39); -x_52 = lean_st_ref_set(x_1, x_51, x_10); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___rarg___boxed), 4, 0); -return x_6; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_11 = l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___rarg(x_7, x_8, x_9, x_10); +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_st_ref_get(x_9, x_10); x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); lean_dec(x_11); -x_13 = lean_st_ref_get(x_9, x_12); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_st_ref_get(x_7, x_14); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +x_13 = lean_st_ref_get(x_7, x_12); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_ctor_get(x_18, 6); -lean_inc(x_19); -lean_dec(x_18); -x_20 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_19, x_1); -x_21 = lean_box(x_20); -lean_ctor_set(x_15, 0, x_21); -return x_15; +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 6); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_17, x_1); +x_19 = lean_box(x_18); +lean_ctor_set(x_13, 0, x_19); +return x_13; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_22 = lean_ctor_get(x_15, 0); -x_23 = lean_ctor_get(x_15, 1); -lean_inc(x_23); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_20 = lean_ctor_get(x_13, 0); +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_13); +x_22 = lean_ctor_get(x_20, 0); lean_inc(x_22); -lean_dec(x_15); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); +lean_dec(x_20); +x_23 = lean_ctor_get(x_22, 6); +lean_inc(x_23); lean_dec(x_22); -x_25 = lean_ctor_get(x_24, 6); -lean_inc(x_25); -lean_dec(x_24); -x_26 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_25, x_1); -x_27 = lean_box(x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_23); -return x_28; +x_24 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_23, x_1); +x_25 = lean_box(x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_21); +return x_26; } } } -LEAN_EXPORT lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1641,7 +1436,7 @@ x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); x_13 = lean_box(0); -x_14 = l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__3(x_11, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_14 = l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2(x_11, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); @@ -1652,30 +1447,6 @@ x_18 = l_Lean_Elab_Tactic_setGoals(x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, return x_18; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_markUsedAssignment___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { @@ -1692,11 +1463,11 @@ lean_dec(x_2); return x_11; } } -LEAN_EXPORT lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -12466,48 +12237,45 @@ lean_dec(x_19); x_20 = !lean_is_exclusive(x_16); if (x_20 == 0) { -lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; uint8_t x_25; +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; x_21 = lean_ctor_get(x_16, 6); x_22 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_21, x_1, x_2); -x_23 = 1; lean_ctor_set(x_16, 6, x_22); -lean_ctor_set_uint8(x_16, sizeof(void*)*8, x_23); -x_24 = lean_st_ref_set(x_8, x_15, x_17); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) +x_23 = lean_st_ref_set(x_8, x_15, x_17); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -x_27 = lean_box(0); -lean_ctor_set(x_24, 0, x_27); -return x_24; +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_23, 0); +lean_dec(x_25); +x_26 = lean_box(0); +lean_ctor_set(x_23, 0, x_26); +return x_23; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -lean_dec(x_24); -x_29 = lean_box(0); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_23, 1); +lean_inc(x_27); +lean_dec(x_23); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +return x_29; } } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_31 = lean_ctor_get(x_16, 0); -x_32 = lean_ctor_get(x_16, 1); -x_33 = lean_ctor_get(x_16, 2); -x_34 = lean_ctor_get(x_16, 3); -x_35 = lean_ctor_get(x_16, 4); -x_36 = lean_ctor_get(x_16, 5); -x_37 = lean_ctor_get(x_16, 6); -x_38 = lean_ctor_get(x_16, 7); -lean_inc(x_38); +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; lean_object* x_43; lean_object* x_44; +x_30 = lean_ctor_get(x_16, 0); +x_31 = lean_ctor_get(x_16, 1); +x_32 = lean_ctor_get(x_16, 2); +x_33 = lean_ctor_get(x_16, 3); +x_34 = lean_ctor_get(x_16, 4); +x_35 = lean_ctor_get(x_16, 5); +x_36 = lean_ctor_get(x_16, 6); +x_37 = lean_ctor_get(x_16, 7); lean_inc(x_37); lean_inc(x_36); lean_inc(x_35); @@ -12515,68 +12283,67 @@ lean_inc(x_34); lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); +lean_inc(x_30); lean_dec(x_16); -x_39 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_37, x_1, x_2); -x_40 = 1; -x_41 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_41, 0, x_31); -lean_ctor_set(x_41, 1, x_32); -lean_ctor_set(x_41, 2, x_33); -lean_ctor_set(x_41, 3, x_34); -lean_ctor_set(x_41, 4, x_35); -lean_ctor_set(x_41, 5, x_36); -lean_ctor_set(x_41, 6, x_39); -lean_ctor_set(x_41, 7, x_38); -lean_ctor_set_uint8(x_41, sizeof(void*)*8, x_40); -lean_ctor_set(x_15, 0, x_41); -x_42 = lean_st_ref_set(x_8, x_15, x_17); -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); +x_38 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_36, x_1, x_2); +x_39 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_39, 0, x_30); +lean_ctor_set(x_39, 1, x_31); +lean_ctor_set(x_39, 2, x_32); +lean_ctor_set(x_39, 3, x_33); +lean_ctor_set(x_39, 4, x_34); +lean_ctor_set(x_39, 5, x_35); +lean_ctor_set(x_39, 6, x_38); +lean_ctor_set(x_39, 7, x_37); +lean_ctor_set(x_15, 0, x_39); +x_40 = lean_st_ref_set(x_8, x_15, x_17); +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_42 = x_40; +} else { + lean_dec_ref(x_40); + x_42 = lean_box(0); +} +x_43 = lean_box(0); +if (lean_is_scalar(x_42)) { + x_44 = lean_alloc_ctor(0, 2, 0); +} else { x_44 = x_42; -} else { - lean_dec_ref(x_42); - x_44 = lean_box(0); } -x_45 = lean_box(0); -if (lean_is_scalar(x_44)) { - x_46 = lean_alloc_ctor(0, 2, 0); -} else { - x_46 = x_44; -} -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_43); -return x_46; +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_41); +return x_44; } } 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; 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_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_47 = lean_ctor_get(x_15, 1); -x_48 = lean_ctor_get(x_15, 2); -x_49 = lean_ctor_get(x_15, 3); -lean_inc(x_49); -lean_inc(x_48); +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; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_45 = lean_ctor_get(x_15, 1); +x_46 = lean_ctor_get(x_15, 2); +x_47 = lean_ctor_get(x_15, 3); lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); lean_dec(x_15); -x_50 = lean_ctor_get(x_16, 0); +x_48 = lean_ctor_get(x_16, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_16, 1); +lean_inc(x_49); +x_50 = lean_ctor_get(x_16, 2); lean_inc(x_50); -x_51 = lean_ctor_get(x_16, 1); +x_51 = lean_ctor_get(x_16, 3); lean_inc(x_51); -x_52 = lean_ctor_get(x_16, 2); +x_52 = lean_ctor_get(x_16, 4); lean_inc(x_52); -x_53 = lean_ctor_get(x_16, 3); +x_53 = lean_ctor_get(x_16, 5); lean_inc(x_53); -x_54 = lean_ctor_get(x_16, 4); +x_54 = lean_ctor_get(x_16, 6); lean_inc(x_54); -x_55 = lean_ctor_get(x_16, 5); +x_55 = lean_ctor_get(x_16, 7); lean_inc(x_55); -x_56 = lean_ctor_get(x_16, 6); -lean_inc(x_56); -x_57 = lean_ctor_get(x_16, 7); -lean_inc(x_57); if (lean_is_exclusive(x_16)) { lean_ctor_release(x_16, 0); lean_ctor_release(x_16, 1); @@ -12586,52 +12353,50 @@ if (lean_is_exclusive(x_16)) { lean_ctor_release(x_16, 5); lean_ctor_release(x_16, 6); lean_ctor_release(x_16, 7); - x_58 = x_16; + x_56 = x_16; } else { lean_dec_ref(x_16); - x_58 = lean_box(0); + x_56 = lean_box(0); } -x_59 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_56, x_1, x_2); -x_60 = 1; -if (lean_is_scalar(x_58)) { - x_61 = lean_alloc_ctor(0, 8, 1); +x_57 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_54, x_1, x_2); +if (lean_is_scalar(x_56)) { + x_58 = lean_alloc_ctor(0, 8, 0); } else { - x_61 = x_58; + x_58 = x_56; } -lean_ctor_set(x_61, 0, x_50); -lean_ctor_set(x_61, 1, x_51); -lean_ctor_set(x_61, 2, x_52); -lean_ctor_set(x_61, 3, x_53); -lean_ctor_set(x_61, 4, x_54); -lean_ctor_set(x_61, 5, x_55); -lean_ctor_set(x_61, 6, x_59); -lean_ctor_set(x_61, 7, x_57); -lean_ctor_set_uint8(x_61, sizeof(void*)*8, x_60); -x_62 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_47); -lean_ctor_set(x_62, 2, x_48); -lean_ctor_set(x_62, 3, x_49); -x_63 = lean_st_ref_set(x_8, x_62, x_17); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_65 = x_63; +lean_ctor_set(x_58, 0, x_48); +lean_ctor_set(x_58, 1, x_49); +lean_ctor_set(x_58, 2, x_50); +lean_ctor_set(x_58, 3, x_51); +lean_ctor_set(x_58, 4, x_52); +lean_ctor_set(x_58, 5, x_53); +lean_ctor_set(x_58, 6, x_57); +lean_ctor_set(x_58, 7, x_55); +x_59 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_45); +lean_ctor_set(x_59, 2, x_46); +lean_ctor_set(x_59, 3, x_47); +x_60 = lean_st_ref_set(x_8, x_59, x_17); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_62 = x_60; } else { - lean_dec_ref(x_63); - x_65 = lean_box(0); + lean_dec_ref(x_60); + x_62 = lean_box(0); } -x_66 = lean_box(0); -if (lean_is_scalar(x_65)) { - x_67 = lean_alloc_ctor(0, 2, 0); +x_63 = lean_box(0); +if (lean_is_scalar(x_62)) { + x_64 = lean_alloc_ctor(0, 2, 0); } else { - x_67 = x_65; + x_64 = x_62; } -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_64); -return x_67; +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_61); +return x_64; } } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c index 922625c8a1..eda121f148 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c @@ -103,11 +103,13 @@ lean_object* lean_array_uget(lean_object*, size_t); lean_object* lean_io_error_to_string(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_renameInaccessibles___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*); +static lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__2; static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__25___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalChoiceAux___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_Array_append___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange___closed__1; +static lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__1; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__13; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace___closed__1; lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstCore___spec__2(lean_object*, lean_object*); @@ -638,7 +640,6 @@ lean_object* l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1 LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_elabOpenOnly___at_Lean_Elab_Tactic_evalOpen___spec__21(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_FileMap_toPosition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_renameInaccessibles___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_contradiction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); @@ -668,7 +669,6 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals_declRange___closed__1; static lean_object* l_Lean_Elab_Tactic_evalAnyGoals___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__5; -static lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__4; @@ -706,11 +706,13 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___clo extern lean_object* l_Lean_NameSet_empty; extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5; +lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange___closed__3; lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState___closed__6; static lean_object* l_Lean_Elab_Tactic_evalSubstVars___rarg___closed__1; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2; LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Tactic_renameInaccessibles___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange___closed__7; @@ -733,6 +735,7 @@ lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForToken___spec_ lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRevert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFocus(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MVarId_contradiction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalWithAnnotateState___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -767,7 +770,6 @@ lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_addCheckpoints_push___closed__11; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSleep(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__1; @@ -775,7 +777,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalContradiction(lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1(lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); -static lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRotateRight___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Tactic_evalOpen___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -897,6 +898,7 @@ static lean_object* l_Lean_Elab_Tactic_evalWithAnnotateState___closed__7; lean_object* l_Array_ofSubarray___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented_declRange___closed__1; static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__25___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_Tactic_evalFailIfSuccess___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_renameInaccessibles___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalChoiceAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__22___closed__4; @@ -4515,14 +4517,13 @@ x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__7; x_3 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__8; x_4 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__11; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -13485,7 +13486,16 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1() { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_Tactic_evalFailIfSuccess___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_apply_2(x_1, x_2, x_3); +x_12 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -13493,27 +13503,25 @@ x_1 = lean_mk_string_from_bytes("tactic succeeded", 16); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2() { +static lean_object* _init_l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; +x_1 = l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; 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_18 = lean_unsigned_to_nat(1u); -x_19 = l_Lean_Syntax_getArg(x_1, x_18); -x_20 = l_Lean_Elab_Tactic_saveState___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -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); +uint8_t x_11; lean_object* x_12; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = l_Lean_Elab_Tactic_saveState___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +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); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -13522,38 +13530,38 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_23 = l_Lean_Elab_Tactic_evalTactic(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -if (lean_obj_tag(x_23) == 0) +x_21 = l_Lean_Elab_Tactic_evalTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_24; uint8_t x_25; +lean_object* x_22; uint8_t x_23; +lean_dec(x_19); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); lean_dec(x_21); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = 1; -x_11 = x_25; -x_12 = x_24; +x_23 = 1; +x_11 = x_23; +x_12 = x_22; goto block_17; } else { -lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -x_27 = 0; +lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = 0; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_28 = l_Lean_Elab_Tactic_SavedState_restore(x_21, x_27, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26); -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec(x_28); -x_11 = x_27; -x_12 = x_29; +x_26 = l_Lean_Elab_Tactic_SavedState_restore(x_19, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_24); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_11 = x_25; +x_12 = x_27; goto block_17; } block_17: @@ -13578,7 +13586,7 @@ return x_14; else { lean_object* x_15; lean_object* x_16; -x_15 = l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2; +x_15 = l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__2; x_16 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); lean_dec(x_9); lean_dec(x_8); @@ -13593,13 +13601,19 @@ return x_16; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_evalFailIfSuccess(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +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 = l_Lean_Syntax_getArg(x_1, x_11); lean_dec(x_1); -return x_11; +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1), 10, 1); +lean_closure_set(x_13, 0, x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withoutRecover___rarg), 10, 1); +lean_closure_set(x_14, 0, x_13); +x_15 = l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_Tactic_evalFailIfSuccess___spec__1(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_15; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1() { @@ -13642,7 +13656,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___cl _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalFailIfSuccess___boxed), 10, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalFailIfSuccess), 10, 0); return x_1; } } @@ -13674,8 +13688,8 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(172u); -x_2 = lean_unsigned_to_nat(33u); +x_1 = lean_unsigned_to_nat(173u); +x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -13689,7 +13703,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_declRange___closed__1; x_2 = lean_unsigned_to_nat(31u); x_3 = l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_declRange___closed__2; -x_4 = lean_unsigned_to_nat(33u); +x_4 = lean_unsigned_to_nat(35u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -14175,7 +14189,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(174u); +x_1 = lean_unsigned_to_nat(175u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14187,7 +14201,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(176u); +x_1 = lean_unsigned_to_nat(177u); x_2 = lean_unsigned_to_nat(60u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14215,7 +14229,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(174u); +x_1 = lean_unsigned_to_nat(175u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14227,7 +14241,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(174u); +x_1 = lean_unsigned_to_nat(175u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14486,7 +14500,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(178u); +x_1 = lean_unsigned_to_nat(179u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14498,7 +14512,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(181u); +x_1 = lean_unsigned_to_nat(182u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14526,7 +14540,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(178u); +x_1 = lean_unsigned_to_nat(179u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14538,7 +14552,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(178u); +x_1 = lean_unsigned_to_nat(179u); x_2 = lean_unsigned_to_nat(50u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14824,7 +14838,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(183u); +x_1 = lean_unsigned_to_nat(184u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14836,7 +14850,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(184u); +x_1 = lean_unsigned_to_nat(185u); x_2 = lean_unsigned_to_nat(60u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14864,7 +14878,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(183u); +x_1 = lean_unsigned_to_nat(184u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14876,7 +14890,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(183u); +x_1 = lean_unsigned_to_nat(184u); x_2 = lean_unsigned_to_nat(65u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14963,7 +14977,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_14 = l_Lean_Meta_contradiction(x_11, x_13, x_5, x_6, x_7, x_8, x_12); +x_14 = l_Lean_MVarId_contradiction(x_11, x_13, x_5, x_6, x_7, x_8, x_12); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -15178,7 +15192,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(186u); +x_1 = lean_unsigned_to_nat(187u); x_2 = lean_unsigned_to_nat(50u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15190,8 +15204,8 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(187u); -x_2 = lean_unsigned_to_nat(68u); +x_1 = lean_unsigned_to_nat(188u); +x_2 = lean_unsigned_to_nat(63u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -15205,7 +15219,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l___regBuiltin_Lean_Elab_Tactic_evalContradiction_declRange___closed__1; x_2 = lean_unsigned_to_nat(50u); x_3 = l___regBuiltin_Lean_Elab_Tactic_evalContradiction_declRange___closed__2; -x_4 = lean_unsigned_to_nat(68u); +x_4 = lean_unsigned_to_nat(63u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -15218,7 +15232,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(186u); +x_1 = lean_unsigned_to_nat(187u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15230,7 +15244,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalContradiction_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(186u); +x_1 = lean_unsigned_to_nat(187u); x_2 = lean_unsigned_to_nat(71u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15516,7 +15530,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(189u); +x_1 = lean_unsigned_to_nat(190u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15528,7 +15542,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(190u); +x_1 = lean_unsigned_to_nat(191u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15556,7 +15570,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(189u); +x_1 = lean_unsigned_to_nat(190u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -15568,7 +15582,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(189u); +x_1 = lean_unsigned_to_nat(190u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16741,7 +16755,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(192u); +x_1 = lean_unsigned_to_nat(193u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16753,7 +16767,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(207u); +x_1 = lean_unsigned_to_nat(208u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16781,7 +16795,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(192u); +x_1 = lean_unsigned_to_nat(193u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -16793,7 +16807,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(192u); +x_1 = lean_unsigned_to_nat(193u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17044,7 +17058,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(209u); +x_1 = lean_unsigned_to_nat(210u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17056,7 +17070,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(212u); +x_1 = lean_unsigned_to_nat(213u); x_2 = lean_unsigned_to_nat(52u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17084,7 +17098,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(209u); +x_1 = lean_unsigned_to_nat(210u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17096,7 +17110,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(209u); +x_1 = lean_unsigned_to_nat(210u); x_2 = lean_unsigned_to_nat(65u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17957,7 +17971,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(214u); +x_1 = lean_unsigned_to_nat(215u); x_2 = lean_unsigned_to_nat(26u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17969,7 +17983,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(226u); +x_1 = lean_unsigned_to_nat(227u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17997,7 +18011,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(214u); +x_1 = lean_unsigned_to_nat(215u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18009,7 +18023,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(214u); +x_1 = lean_unsigned_to_nat(215u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18300,7 +18314,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(228u); +x_1 = lean_unsigned_to_nat(229u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18312,7 +18326,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(233u); +x_1 = lean_unsigned_to_nat(234u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18340,7 +18354,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(228u); +x_1 = lean_unsigned_to_nat(229u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18352,7 +18366,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(228u); +x_1 = lean_unsigned_to_nat(229u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18850,7 +18864,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(235u); +x_1 = lean_unsigned_to_nat(236u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18862,7 +18876,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(244u); +x_1 = lean_unsigned_to_nat(245u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18890,7 +18904,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(235u); +x_1 = lean_unsigned_to_nat(236u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -18902,7 +18916,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalClear_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(235u); +x_1 = lean_unsigned_to_nat(236u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19376,7 +19390,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(253u); +x_1 = lean_unsigned_to_nat(254u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19388,7 +19402,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(256u); +x_1 = lean_unsigned_to_nat(257u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19416,7 +19430,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(253u); +x_1 = lean_unsigned_to_nat(254u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19428,7 +19442,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(253u); +x_1 = lean_unsigned_to_nat(254u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19719,7 +19733,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(258u); +x_1 = lean_unsigned_to_nat(259u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19731,7 +19745,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(259u); +x_1 = lean_unsigned_to_nat(260u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19759,7 +19773,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(258u); +x_1 = lean_unsigned_to_nat(259u); x_2 = lean_unsigned_to_nat(50u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19771,7 +19785,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(258u); +x_1 = lean_unsigned_to_nat(259u); x_2 = lean_unsigned_to_nat(63u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25307,7 +25321,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(316u); +x_1 = lean_unsigned_to_nat(317u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25319,7 +25333,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(325u); +x_1 = lean_unsigned_to_nat(326u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25347,7 +25361,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(316u); +x_1 = lean_unsigned_to_nat(317u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25359,7 +25373,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(316u); +x_1 = lean_unsigned_to_nat(317u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25840,7 +25854,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(327u); +x_1 = lean_unsigned_to_nat(328u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25852,7 +25866,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(338u); +x_1 = lean_unsigned_to_nat(339u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25880,7 +25894,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(327u); +x_1 = lean_unsigned_to_nat(328u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25892,7 +25906,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(327u); +x_1 = lean_unsigned_to_nat(328u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26134,7 +26148,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessible _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(340u); +x_1 = lean_unsigned_to_nat(341u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26146,7 +26160,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessible _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(342u); +x_1 = lean_unsigned_to_nat(343u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26174,7 +26188,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessible _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(340u); +x_1 = lean_unsigned_to_nat(341u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26186,7 +26200,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessible _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(340u); +x_1 = lean_unsigned_to_nat(341u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26593,7 +26607,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(344u); +x_1 = lean_unsigned_to_nat(345u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26605,7 +26619,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(353u); +x_1 = lean_unsigned_to_nat(354u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26633,7 +26647,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(344u); +x_1 = lean_unsigned_to_nat(345u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26645,7 +26659,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(344u); +x_1 = lean_unsigned_to_nat(345u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26943,7 +26957,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(355u); +x_1 = lean_unsigned_to_nat(356u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26955,7 +26969,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(361u); +x_1 = lean_unsigned_to_nat(362u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26983,7 +26997,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(355u); +x_1 = lean_unsigned_to_nat(356u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -26995,7 +27009,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(355u); +x_1 = lean_unsigned_to_nat(356u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27181,7 +27195,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(363u); +x_1 = lean_unsigned_to_nat(364u); x_2 = lean_unsigned_to_nat(26u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27193,7 +27207,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(366u); +x_1 = lean_unsigned_to_nat(367u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27221,7 +27235,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(363u); +x_1 = lean_unsigned_to_nat(364u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27233,7 +27247,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(363u); +x_1 = lean_unsigned_to_nat(364u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27452,7 +27466,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSleep_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(368u); +x_1 = lean_unsigned_to_nat(369u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27464,7 +27478,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSleep_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(371u); +x_1 = lean_unsigned_to_nat(372u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27492,7 +27506,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSleep_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(368u); +x_1 = lean_unsigned_to_nat(369u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -27504,7 +27518,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSleep_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(368u); +x_1 = lean_unsigned_to_nat(369u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -28263,10 +28277,10 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange___clo res = l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1 = _init_l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalFailIfSuccess___closed__1); -l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2 = _init_l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2); +l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__1); +l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__2); l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1); l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Calc.c b/stage0/stdlib/Lean/Elab/Tactic/Calc.c index d56ad7bc6c..08611612a1 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Calc.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Calc.c @@ -31,11 +31,13 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCalc___closed__5; static lean_object* l_Lean_Elab_Tactic_evalCalc___lambda__2___closed__10; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabCalcSteps___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCalc(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCalc___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCalc_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCalc_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCalc___closed__8; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabCalcSteps___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCalc___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCalc___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCalc___closed__4; @@ -51,7 +53,6 @@ extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalCalc___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabCalcSteps_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabCalcSteps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCalc___closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabCalcSteps_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalCalc___lambda__2___closed__8; @@ -74,7 +75,6 @@ lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_obje lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalCalc___lambda__2___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCalc_declRange(lean_object*); -lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalCalc___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -82,6 +82,7 @@ lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_objec static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCalc___closed__10; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCalc(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCalc_declRange___closed__4; +lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_Tactic_elabTerm___spec__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_mkAppB(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalCalc___lambda__2___closed__6; @@ -200,6 +201,14 @@ lean_dec(x_1); return x_9; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabCalcSteps___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_elabCalcSteps_go(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabCalcSteps(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { @@ -208,27 +217,30 @@ x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; -x_12 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabCalcSteps_go___boxed), 8, 1); +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabCalcSteps___lambda__1___boxed), 10, 1); lean_closure_set(x_12, 0, x_1); -x_13 = l_Lean_Elab_Term_withoutErrToSorry___rarg(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_Tactic_elabTerm___spec__1(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } else { lean_object* x_14; +lean_dec(x_3); +lean_dec(x_2); x_14 = l_Lean_Elab_Tactic_elabCalcSteps_go(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_14; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabCalcSteps___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabCalcSteps___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_Tactic_elabCalcSteps(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_Tactic_elabCalcSteps___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); return x_11; } } @@ -377,6 +389,8 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); x_11 = l_Lean_Elab_Tactic_elabCalcSteps(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c index 4146c67e31..10c84f9c6b 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c @@ -142,7 +142,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___ static lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed_declRange(lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); -lean_object* l_Lean_Meta_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_declRange___closed__6; lean_object* l___private_Lean_Meta_Tactic_Replace_0__Lean_Meta_replaceLocalDeclCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq_declRange___closed__7; @@ -203,6 +202,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta___closed__1; static lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__3; lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MVarId_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRange___closed__4; @@ -748,7 +748,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_19 = l_Lean_Meta_applyRefl(x_13, x_18, x_7, x_8, x_9, x_10, x_17); +x_19 = l_Lean_MVarId_applyRefl(x_13, x_18, x_7, x_8, x_9, x_10, x_17); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Change.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Change.c index a29968cb36..3db95a715c 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Change.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Change.c @@ -301,6 +301,8 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); x_31 = l_Lean_Elab_Tactic_elabTermEnsuringType(x_15, x_29, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28); if (lean_obj_tag(x_31) == 0) { diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c index 343f8c3e32..615665fd95 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c @@ -120,7 +120,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs_declRange___clo static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalArg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); -lean_object* l_Lean_Meta_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_selectIdx___lambda__1___closed__4; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__10; @@ -157,6 +156,7 @@ lean_object* l_Lean_Elab_Tactic_Conv_markAsConvGoal(lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_extLetBodyCongr_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_extLetBodyCongr_x3f___lambda__3___closed__3; +lean_object* l_Lean_MVarId_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_congrImplies___closed__3; lean_object* l_Lean_MVarId_apply(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3246,7 +3246,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_30 = l_Lean_Meta_applyRefl(x_27, x_29, x_8, x_9, x_10, x_11, x_12); +x_30 = l_Lean_MVarId_applyRefl(x_27, x_29, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; @@ -3326,7 +3326,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_44 = l_Lean_Meta_applyRefl(x_41, x_43, x_8, x_9, x_10, x_11, x_12); +x_44 = l_Lean_MVarId_applyRefl(x_41, x_43, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c index 3169d92035..d143e8a6cf 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c @@ -49,7 +49,6 @@ lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalPattern___lambda__3(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_Simp_neutralConfig; lean_object* l_Lean_Meta_abstractMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); @@ -63,14 +62,17 @@ lean_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_obj LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Pattern_0__Lean_Elab_Tactic_Conv_findPattern_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_matchPattern_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MVarId_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_toHeadIndex(lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_getLhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; +lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Pattern_0__Lean_Elab_Tactic_Conv_findPattern_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Pattern_0__Lean_Elab_Tactic_Conv_findPattern_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_Tactic_Conv_evalPattern___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_evalPattern___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalPattern___closed__2; uint8_t l___private_Lean_HeadIndex_0__Lean_beqHeadIndex____x40_Lean_HeadIndex___hyg_66_(lean_object*, lean_object*); @@ -93,7 +95,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Pattern_0__Lean_Elab_ static lean_object* l_Lean_Elab_Tactic_Conv_evalPattern___lambda__3___closed__6; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Conv_updateLhs(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_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalPattern(lean_object*); lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalPattern_declRange___closed__4; @@ -1466,6 +1467,14 @@ lean_dec(x_2); return x_10; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_Tactic_Conv_evalPattern___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalPattern___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -1531,7 +1540,7 @@ x_11 = lean_ctor_get(x_7, 5); x_12 = l_Lean_replaceRef(x_1, x_11); lean_dec(x_11); lean_ctor_set(x_7, 5, x_12); -x_13 = l_Lean_Elab_Term_withoutErrToSorry___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_13; } else @@ -1574,7 +1583,7 @@ lean_ctor_set(x_26, 7, x_21); lean_ctor_set(x_26, 8, x_22); lean_ctor_set(x_26, 9, x_23); lean_ctor_set(x_26, 10, x_24); -x_27 = l_Lean_Elab_Term_withoutErrToSorry___rarg(x_2, x_3, x_4, x_5, x_6, x_26, x_8, x_9); +x_27 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_2, x_3, x_4, x_5, x_6, x_26, x_8, x_9); return x_27; } } @@ -1826,7 +1835,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_58 = l_Lean_Meta_applyRefl(x_55, x_57, x_6, x_7, x_8, x_9, x_56); +x_58 = l_Lean_MVarId_applyRefl(x_55, x_57, x_6, x_7, x_8, x_9, x_56); if (lean_obj_tag(x_58) == 0) { lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Rewrite.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Rewrite.c index f454ece0fa..849d68c867 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Rewrite.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Rewrite.c @@ -72,6 +72,8 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); x_15 = l_Lean_Elab_Tactic_elabTerm(x_1, x_2, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_15) == 0) { diff --git a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c index 6bd34df8f3..3d3f8ab959 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c +++ b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c @@ -135,6 +135,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSpecialize_declRange___c lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_getFVarId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTerm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Tactic_evalRename___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact_declRange___closed__7; @@ -160,7 +161,6 @@ static lean_object* l_Lean_Elab_Tactic_evalDecide___rarg___lambda__2___closed__2 static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___closed__1; lean_object* l_Lean_Expr_mvar___override(lean_object*); static lean_object* l_Lean_Elab_Tactic_evalSpecialize___closed__2; -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarsNoDelayed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalRename___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide___closed__4; @@ -254,10 +254,10 @@ size_t lean_usize_of_nat(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declRange___closed__7; extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRename___closed__3; +lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalConstructor_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalWithUnfoldingAll(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_preprocessPropToDecide___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalExact___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_x27___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducible_declRange___closed__2; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); @@ -282,6 +282,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstance static lean_object* l_Lean_Elab_Tactic_evalRefine___closed__1; static lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_logUnassignedAndAbort___spec__1___rarg___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducible_declRange___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTerm___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getFVarIds___boxed__const__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducible_declRange___closed__3; @@ -339,7 +340,6 @@ static lean_object* l_Lean_Elab_Tactic_evalSpecialize___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalApply_declRange___closed__7; static lean_object* l_Lean_Elab_Tactic_evalExact___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances_declRange___closed__5; -lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalApply___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRefine_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -373,7 +373,6 @@ static lean_object* l_Lean_Elab_Tactic_evalApply___closed__1; lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalExact_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange___closed__4; static lean_object* l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_preprocessPropToDecide___closed__3; @@ -415,6 +414,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTermWithHoles___boxed(lean_objec LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_logUnassignedAndAbort(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_declRange___closed__3; static lean_object* l_Lean_Elab_Tactic_getFVarId___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_Tactic_elabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_withCollectingNewGoalsFrom___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDecide___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalApply_declRange(lean_object*); @@ -439,6 +439,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalExact(lean_object*, lean_object* static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefine_x27_declRange___closed__7; static lean_object* l_Lean_Elab_Tactic_refineCore___lambda__4___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___lambda__1___closed__5; static lean_object* l_Lean_Elab_Tactic_evalConstructor___rarg___closed__1; LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_refineCore___lambda__3(lean_object*, lean_object*); @@ -724,6 +725,23 @@ x_12 = l_Lean_Elab_Tactic_elabTerm_go(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_Tactic_elabTerm___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_apply_2(x_1, x_2, x_3); +x_12 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTerm___lambda__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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_Tactic_elabTerm_go(x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_13; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTerm(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -733,21 +751,35 @@ if (x_13 == 0) { lean_object* x_14; lean_object* x_15; lean_object* x_16; x_14 = lean_box(x_3); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabTerm_go___boxed), 10, 3); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabTerm___lambda__1___boxed), 12, 3); lean_closure_set(x_15, 0, x_1); lean_closure_set(x_15, 1, x_2); lean_closure_set(x_15, 2, x_14); -x_16 = l_Lean_Elab_Term_withoutErrToSorry___rarg(x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_16 = l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_Tactic_elabTerm___spec__1(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_16; } else { lean_object* x_17; +lean_dec(x_5); +lean_dec(x_4); x_17 = l_Lean_Elab_Tactic_elabTerm_go(x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_17; } } } +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTerm___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_3); +lean_dec(x_3); +x_14 = l_Lean_Elab_Tactic_elabTerm___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_5); +lean_dec(x_4); +return x_14; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTerm___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -755,8 +787,6 @@ uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_3); lean_dec(x_3); x_14 = l_Lean_Elab_Tactic_elabTerm(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); return x_14; } } @@ -1202,8 +1232,6 @@ uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_3); lean_dec(x_3); x_14 = l_Lean_Elab_Tactic_elabTermEnsuringType(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); return x_14; } } @@ -1741,6 +1769,8 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); x_21 = l_Lean_Elab_Tactic_elabTermEnsuringType(x_1, x_19, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); if (lean_obj_tag(x_21) == 0) { @@ -1766,6 +1796,8 @@ x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); x_30 = l_Lean_Elab_Tactic_logUnassignedAndAbort(x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29); +lean_dec(x_4); +lean_dec(x_3); if (lean_obj_tag(x_30) == 0) { uint8_t x_31; @@ -1824,6 +1856,8 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); x_39 = !lean_is_exclusive(x_21); if (x_39 == 0) { @@ -1945,7 +1979,7 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_obje x_14 = lean_unsigned_to_nat(1u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); lean_dec(x_1); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalExact___lambda__1___boxed), 11, 1); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalExact___lambda__1), 11, 1); lean_closure_set(x_16, 0, x_15); x_17 = 0; x_18 = l_Lean_Elab_Tactic_closeMainGoalUsing(x_16, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); @@ -1969,16 +2003,6 @@ lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalExact___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Tactic_evalExact___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalExact___closed__1() { _start: { @@ -7175,6 +7199,8 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); x_14 = l_Lean_Elab_Tactic_elabTerm(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_14) == 0) { @@ -8682,6 +8708,8 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); x_13 = l_Lean_Elab_Tactic_elabTerm(x_1, x_2, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_13) == 0) { @@ -8728,6 +8756,7 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_25; } @@ -8741,6 +8770,7 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_26 = !lean_is_exclusive(x_17); if (x_26 == 0) @@ -8780,6 +8810,7 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_32 = !lean_is_exclusive(x_17); if (x_32 == 0) @@ -8810,6 +8841,7 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_36 = !lean_is_exclusive(x_13); if (x_36 == 0) @@ -8836,7 +8868,7 @@ LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_eval _start: { 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_12 = lean_alloc_closure((void*)(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___boxed), 11, 2); +x_12 = lean_alloc_closure((void*)(l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1), 11, 2); lean_closure_set(x_12, 0, x_1); lean_closure_set(x_12, 1, x_2); x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withoutRecover___rarg), 10, 1); @@ -9245,15 +9277,6 @@ lean_dec(x_4); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8___at_Lean_Elab_Tactic_evalRename___spec__9___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -return x_12; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRename___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -9476,7 +9499,7 @@ x_14 = l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRename___spec__8__ x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_16 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) { diff --git a/stage0/stdlib/Lean/Elab/Tactic/Generalize.c b/stage0/stdlib/Lean/Elab/Tactic/Generalize.c index 71e0fae10c..dc3f2f3edf 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Generalize.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Generalize.c @@ -31,7 +31,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalGeneralize_declRang LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalGeneralize___spec__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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalGeneralize___closed__10; lean_object* l_Lean_Syntax_getId(lean_object*); -lean_object* l_Lean_Meta_generalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGeneralize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -50,6 +49,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGeneralize___lambda__1(lean_obje static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalGeneralize___closed__13; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalGeneralize_declRange___closed__3; lean_object* l_Lean_Elab_Tactic_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalGeneralize___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalGeneralize___closed__9; @@ -78,6 +78,8 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_3); lean_ctor_set(x_14, 1, x_12); @@ -101,6 +103,8 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); x_24 = l_Lean_Elab_Tactic_elabTerm(x_21, x_22, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (x_19 == 0) { @@ -149,6 +153,8 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); x_39 = !lean_is_exclusive(x_24); if (x_39 == 0) { @@ -210,6 +216,8 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); x_54 = !lean_is_exclusive(x_24); if (x_54 == 0) { @@ -258,7 +266,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_14 = l_Lean_Meta_generalize(x_12, x_1, x_6, x_7, x_8, x_9, x_13); +x_14 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore(x_12, x_1, x_6, x_7, x_8, x_9, x_13); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; @@ -398,6 +406,8 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalGeneralize___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { @@ -483,8 +493,6 @@ lean_dec(x_1); x_14 = lean_unbox_usize(x_2); lean_dec(x_2); x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalGeneralize___spec__1(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); return x_15; } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Induction.c b/stage0/stdlib/Lean/Elab/Tactic/Induction.c index b5a604500b..f34461b4b5 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Induction.c @@ -41,7 +41,7 @@ lean_object* lean_erase_macro_scopes(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalInduction___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9066_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9064_(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalInduction_checkTargets___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCases_declRange___closed__6; @@ -59,7 +59,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalInduction_checkTargets___boxed(l LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterTRAux___at_Lean_resolveGlobalConstCore___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_ElimApp_evalAlts_applyPreTac___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction_declRange___closed__6; @@ -225,7 +224,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_ lean_object* l_Lean_Expr_mvar___override(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_generalizeTargets___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Meta_getMVarsNoDelayed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9066____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabCasesTargets___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -234,6 +232,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCases___closed__5; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__2___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCases_declRange___closed__3; lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9064____closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_focus___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__8___closed__2; @@ -314,7 +313,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_ lean_object* lean_format_pretty(lean_object*, lean_object*); lean_object* l_Lean_Elab_admitGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__5___lambda__2___closed__1; -lean_object* l_Lean_Meta_generalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction_declRange___closed__3; @@ -332,7 +330,6 @@ lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_ElimApp_State_alts___default; lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBTree_toArray___at_Lean_Meta_getFVarsToGeneralize___spec__1(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_generalize___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getInductiveValFromMajor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getFType(lean_object*); @@ -485,6 +482,7 @@ extern lean_object* l_Lean_instInhabitedName; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getAltNumFields___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_isHoleRHS___closed__9; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); @@ -528,6 +526,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalIndu lean_object* l_Lean_Meta_generalizeTargetsEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConst___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__3___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_checkAltNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_elabCasesTargets___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction_declRange___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getUserGeneralizingFVarIds___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*); @@ -1181,6 +1180,8 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); x_21 = l_Lean_Elab_Tactic_elabTermEnsuringType(x_1, x_19, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); if (lean_obj_tag(x_21) == 0) { @@ -1218,6 +1219,8 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); x_33 = !lean_is_exclusive(x_32); if (x_33 == 0) { @@ -1249,6 +1252,8 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_37 = !lean_is_exclusive(x_21); if (x_37 == 0) @@ -1279,6 +1284,8 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_41 = !lean_is_exclusive(x_15); @@ -1362,6 +1369,8 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); x_64 = l_Lean_Elab_Tactic_elabTermEnsuringType(x_1, x_62, x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_57, x_10, x_60); if (lean_obj_tag(x_64) == 0) { @@ -1399,6 +1408,8 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); x_76 = lean_ctor_get(x_75, 1); lean_inc(x_76); if (lean_is_exclusive(x_75)) { @@ -1428,6 +1439,8 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_79 = lean_ctor_get(x_64, 0); lean_inc(x_79); @@ -1460,6 +1473,8 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_83 = lean_ctor_get(x_58, 0); @@ -1575,7 +1590,7 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_dec(x_2); lean_inc(x_1); lean_inc(x_14); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAlt___lambda__2___boxed), 11, 2); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAlt___lambda__2), 11, 2); lean_closure_set(x_22, 0, x_14); lean_closure_set(x_22, 1, x_1); x_23 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalAlt___lambda__3), 12, 3); @@ -1587,16 +1602,6 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalAlt___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Tactic_evalAlt___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_4); -lean_dec(x_3); -return x_12; -} -} static lean_object* _init_l_Lean_Elab_Tactic_ElimApp_State_argPos___default() { _start: { @@ -4742,6 +4747,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -4776,6 +4782,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -4843,6 +4850,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -4878,6 +4886,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_27 = !lean_is_exclusive(x_26); if (x_27 == 0) { @@ -4912,6 +4921,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_35 = !lean_is_exclusive(x_34); if (x_35 == 0) { @@ -4948,6 +4958,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_42 = !lean_is_exclusive(x_41); if (x_42 == 0) { @@ -16857,7 +16868,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_18 = l_Lean_Meta_generalize(x_12, x_17, x_6, x_7, x_8, x_9, x_13); +x_18 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore(x_12, x_17, x_6, x_7, x_8, x_9, x_13); 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; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; @@ -17514,6 +17525,8 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_3); lean_ctor_set(x_14, 1, x_12); @@ -17533,6 +17546,8 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); x_20 = l_Lean_Elab_Tactic_elabTerm(x_15, x_18, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_20) == 0) { @@ -17560,6 +17575,8 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); x_27 = !lean_is_exclusive(x_20); if (x_27 == 0) { @@ -18734,8 +18751,6 @@ lean_dec(x_1); x_14 = lean_unbox_usize(x_2); lean_dec(x_2); x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalInduction___spec__1(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); return x_15; } } @@ -19055,6 +19070,8 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_3); lean_ctor_set(x_14, 1, x_12); @@ -19079,6 +19096,8 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); x_24 = l_Lean_Elab_Tactic_elabTerm(x_21, x_22, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (x_19 == 0) { @@ -19119,6 +19138,8 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); x_35 = !lean_is_exclusive(x_24); if (x_35 == 0) { @@ -19172,6 +19193,8 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); x_46 = !lean_is_exclusive(x_24); if (x_46 == 0) { @@ -19723,7 +19746,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_18 = l_Lean_Meta_generalize(x_14, x_16, x_8, x_9, x_10, x_11, x_17); +x_18 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore(x_14, x_16, x_8, x_9, x_10, x_11, x_17); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; lean_object* x_24; lean_object* x_25; @@ -19912,6 +19935,8 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabCasesTargets___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { @@ -19995,7 +20020,7 @@ x_22 = lean_ctor_get(x_18, 0); lean_dec(x_22); x_23 = lean_usize_of_nat(x_16); lean_dec(x_16); -x_24 = l_Array_mapMUnsafe_map___at_Lean_Meta_generalize___spec__1(x_23, x_2, x_14); +x_24 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__1(x_23, x_2, x_14); lean_ctor_set(x_18, 0, x_24); return x_18; } @@ -20007,7 +20032,7 @@ lean_inc(x_25); lean_dec(x_18); x_26 = lean_usize_of_nat(x_16); lean_dec(x_16); -x_27 = l_Array_mapMUnsafe_map___at_Lean_Meta_generalize___spec__1(x_26, x_2, x_14); +x_27 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__1(x_26, x_2, x_14); x_28 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_25); @@ -20130,8 +20155,6 @@ lean_dec(x_1); x_14 = lean_unbox_usize(x_2); lean_dec(x_2); x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabCasesTargets___spec__1(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_5); -lean_dec(x_4); return x_15; } } @@ -21262,7 +21285,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9066____closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9064____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -21272,11 +21295,11 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9066_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9064_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9066____closed__1; +x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9064____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -21669,9 +21692,9 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalCases_declRange___close res = l___regBuiltin_Lean_Elab_Tactic_evalCases_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9066____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9066____closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9066____closed__1); -res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9066_(lean_io_mk_world()); +l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9064____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9064____closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9064____closed__1); +res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Induction___hyg_9064_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Meta.c b/stage0/stdlib/Lean/Elab/Tactic/Meta.c index 5aed96e49f..aed368621a 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Meta.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Meta.c @@ -1036,7 +1036,7 @@ 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; lean_object* x_48; uint8_t 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_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; x_41 = lean_ctor_get(x_27, 0); x_42 = lean_ctor_get(x_27, 1); x_43 = lean_ctor_get(x_27, 2); @@ -1045,7 +1045,6 @@ x_45 = lean_ctor_get(x_27, 4); x_46 = lean_ctor_get(x_27, 5); x_47 = lean_ctor_get(x_27, 6); x_48 = lean_ctor_get(x_27, 7); -x_49 = lean_ctor_get_uint8(x_27, sizeof(void*)*8); lean_inc(x_48); lean_inc(x_47); lean_inc(x_46); @@ -1057,68 +1056,66 @@ lean_inc(x_41); lean_dec(x_27); lean_ctor_set(x_13, 2, x_21); lean_ctor_set(x_13, 1, x_18); -x_50 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_44, x_1, x_13); -x_51 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_51, 0, x_41); -lean_ctor_set(x_51, 1, x_42); -lean_ctor_set(x_51, 2, x_43); -lean_ctor_set(x_51, 3, x_50); -lean_ctor_set(x_51, 4, x_45); -lean_ctor_set(x_51, 5, x_46); -lean_ctor_set(x_51, 6, x_47); -lean_ctor_set(x_51, 7, x_48); -lean_ctor_set_uint8(x_51, sizeof(void*)*8, x_49); -lean_ctor_set(x_26, 0, x_51); -x_52 = lean_st_ref_set(x_3, x_26, x_28); +x_49 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_44, x_1, x_13); +x_50 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_50, 0, x_41); +lean_ctor_set(x_50, 1, x_42); +lean_ctor_set(x_50, 2, x_43); +lean_ctor_set(x_50, 3, x_49); +lean_ctor_set(x_50, 4, x_45); +lean_ctor_set(x_50, 5, x_46); +lean_ctor_set(x_50, 6, x_47); +lean_ctor_set(x_50, 7, x_48); +lean_ctor_set(x_26, 0, x_50); +x_51 = lean_st_ref_set(x_3, x_26, x_28); lean_dec(x_3); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_53 = x_51; } else { - lean_dec_ref(x_52); - x_54 = lean_box(0); + lean_dec_ref(x_51); + x_53 = lean_box(0); } -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); +x_54 = lean_box(0); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 2, 0); } else { - x_56 = x_54; + x_55 = x_53; } -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +return x_55; } } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_57 = lean_ctor_get(x_26, 1); -x_58 = lean_ctor_get(x_26, 2); -x_59 = lean_ctor_get(x_26, 3); -lean_inc(x_59); +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; 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; +x_56 = lean_ctor_get(x_26, 1); +x_57 = lean_ctor_get(x_26, 2); +x_58 = lean_ctor_get(x_26, 3); lean_inc(x_58); lean_inc(x_57); +lean_inc(x_56); lean_dec(x_26); -x_60 = lean_ctor_get(x_27, 0); +x_59 = lean_ctor_get(x_27, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_27, 1); lean_inc(x_60); -x_61 = lean_ctor_get(x_27, 1); +x_61 = lean_ctor_get(x_27, 2); lean_inc(x_61); -x_62 = lean_ctor_get(x_27, 2); +x_62 = lean_ctor_get(x_27, 3); lean_inc(x_62); -x_63 = lean_ctor_get(x_27, 3); +x_63 = lean_ctor_get(x_27, 4); lean_inc(x_63); -x_64 = lean_ctor_get(x_27, 4); +x_64 = lean_ctor_get(x_27, 5); lean_inc(x_64); -x_65 = lean_ctor_get(x_27, 5); +x_65 = lean_ctor_get(x_27, 6); lean_inc(x_65); -x_66 = lean_ctor_get(x_27, 6); +x_66 = lean_ctor_get(x_27, 7); lean_inc(x_66); -x_67 = lean_ctor_get(x_27, 7); -lean_inc(x_67); -x_68 = lean_ctor_get_uint8(x_27, sizeof(void*)*8); if (lean_is_exclusive(x_27)) { lean_ctor_release(x_27, 0); lean_ctor_release(x_27, 1); @@ -1128,207 +1125,204 @@ if (lean_is_exclusive(x_27)) { lean_ctor_release(x_27, 5); lean_ctor_release(x_27, 6); lean_ctor_release(x_27, 7); - x_69 = x_27; + x_67 = x_27; } else { lean_dec_ref(x_27); - x_69 = lean_box(0); + x_67 = lean_box(0); } lean_ctor_set(x_13, 2, x_21); lean_ctor_set(x_13, 1, x_18); -x_70 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_63, x_1, x_13); -if (lean_is_scalar(x_69)) { - x_71 = lean_alloc_ctor(0, 8, 1); +x_68 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_62, x_1, x_13); +if (lean_is_scalar(x_67)) { + x_69 = lean_alloc_ctor(0, 8, 0); } else { - x_71 = x_69; + x_69 = x_67; } -lean_ctor_set(x_71, 0, x_60); -lean_ctor_set(x_71, 1, x_61); -lean_ctor_set(x_71, 2, x_62); -lean_ctor_set(x_71, 3, x_70); -lean_ctor_set(x_71, 4, x_64); -lean_ctor_set(x_71, 5, x_65); -lean_ctor_set(x_71, 6, x_66); -lean_ctor_set(x_71, 7, x_67); -lean_ctor_set_uint8(x_71, sizeof(void*)*8, x_68); -x_72 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_57); -lean_ctor_set(x_72, 2, x_58); -lean_ctor_set(x_72, 3, x_59); -x_73 = lean_st_ref_set(x_3, x_72, x_28); +lean_ctor_set(x_69, 0, x_59); +lean_ctor_set(x_69, 1, x_60); +lean_ctor_set(x_69, 2, x_61); +lean_ctor_set(x_69, 3, x_68); +lean_ctor_set(x_69, 4, x_63); +lean_ctor_set(x_69, 5, x_64); +lean_ctor_set(x_69, 6, x_65); +lean_ctor_set(x_69, 7, x_66); +x_70 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_56); +lean_ctor_set(x_70, 2, x_57); +lean_ctor_set(x_70, 3, x_58); +x_71 = lean_st_ref_set(x_3, x_70, x_28); lean_dec(x_3); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_73 = x_71; +} else { + lean_dec_ref(x_71); + x_73 = lean_box(0); +} +x_74 = lean_box(0); +if (lean_is_scalar(x_73)) { + x_75 = lean_alloc_ctor(0, 2, 0); +} else { x_75 = x_73; -} else { - lean_dec_ref(x_73); - x_75 = lean_box(0); } -x_76 = lean_box(0); -if (lean_is_scalar(x_75)) { - x_77 = lean_alloc_ctor(0, 2, 0); -} else { - x_77 = x_75; -} -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_74); -return x_77; +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_72); +return x_75; } } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; 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; 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_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; -x_78 = lean_ctor_get(x_13, 0); -x_79 = lean_ctor_get(x_13, 1); -x_80 = lean_ctor_get(x_13, 2); -x_81 = lean_ctor_get(x_13, 3); -x_82 = lean_ctor_get(x_13, 4); -x_83 = lean_ctor_get_uint8(x_13, sizeof(void*)*7); -x_84 = lean_ctor_get(x_13, 5); -x_85 = lean_ctor_get(x_13, 6); -lean_inc(x_85); -lean_inc(x_84); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t 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; 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; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_76 = lean_ctor_get(x_13, 0); +x_77 = lean_ctor_get(x_13, 1); +x_78 = lean_ctor_get(x_13, 2); +x_79 = lean_ctor_get(x_13, 3); +x_80 = lean_ctor_get(x_13, 4); +x_81 = lean_ctor_get_uint8(x_13, sizeof(void*)*7); +x_82 = lean_ctor_get(x_13, 5); +x_83 = lean_ctor_get(x_13, 6); +lean_inc(x_83); lean_inc(x_82); -lean_inc(x_81); lean_inc(x_80); lean_inc(x_79); lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); lean_dec(x_13); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_86 = l_Lean_instantiateLCtxMVars___at_Lean_Elab_runTactic___spec__2(x_79, x_2, x_3, x_4, x_5, x_11); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_80, x_2, x_3, x_4, x_5, x_88); +x_84 = l_Lean_instantiateLCtxMVars___at_Lean_Elab_runTactic___spec__2(x_77, x_2, x_3, x_4, x_5, x_11); +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 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_78, x_2, x_3, x_4, x_5, x_86); lean_dec(x_4); lean_dec(x_2); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = lean_st_ref_get(x_5, x_91); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = lean_st_ref_get(x_5, x_89); lean_dec(x_5); -x_93 = lean_ctor_get(x_92, 1); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +lean_dec(x_90); +x_92 = lean_st_ref_take(x_3, x_91); +x_93 = lean_ctor_get(x_92, 0); lean_inc(x_93); -lean_dec(x_92); -x_94 = lean_st_ref_take(x_3, x_93); -x_95 = lean_ctor_get(x_94, 0); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_92, 1); lean_inc(x_95); -x_96 = lean_ctor_get(x_95, 0); +lean_dec(x_92); +x_96 = lean_ctor_get(x_93, 1); lean_inc(x_96); -x_97 = lean_ctor_get(x_94, 1); +x_97 = lean_ctor_get(x_93, 2); lean_inc(x_97); -lean_dec(x_94); -x_98 = lean_ctor_get(x_95, 1); +x_98 = lean_ctor_get(x_93, 3); lean_inc(x_98); -x_99 = lean_ctor_get(x_95, 2); -lean_inc(x_99); -x_100 = lean_ctor_get(x_95, 3); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + lean_ctor_release(x_93, 2); + lean_ctor_release(x_93, 3); + x_99 = x_93; +} else { + lean_dec_ref(x_93); + x_99 = lean_box(0); +} +x_100 = lean_ctor_get(x_94, 0); lean_inc(x_100); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - lean_ctor_release(x_95, 2); - lean_ctor_release(x_95, 3); - x_101 = x_95; -} else { - lean_dec_ref(x_95); - x_101 = lean_box(0); -} -x_102 = lean_ctor_get(x_96, 0); +x_101 = lean_ctor_get(x_94, 1); +lean_inc(x_101); +x_102 = lean_ctor_get(x_94, 2); lean_inc(x_102); -x_103 = lean_ctor_get(x_96, 1); +x_103 = lean_ctor_get(x_94, 3); lean_inc(x_103); -x_104 = lean_ctor_get(x_96, 2); +x_104 = lean_ctor_get(x_94, 4); lean_inc(x_104); -x_105 = lean_ctor_get(x_96, 3); +x_105 = lean_ctor_get(x_94, 5); lean_inc(x_105); -x_106 = lean_ctor_get(x_96, 4); +x_106 = lean_ctor_get(x_94, 6); lean_inc(x_106); -x_107 = lean_ctor_get(x_96, 5); +x_107 = lean_ctor_get(x_94, 7); lean_inc(x_107); -x_108 = lean_ctor_get(x_96, 6); -lean_inc(x_108); -x_109 = lean_ctor_get(x_96, 7); -lean_inc(x_109); -x_110 = lean_ctor_get_uint8(x_96, sizeof(void*)*8); -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - lean_ctor_release(x_96, 1); - lean_ctor_release(x_96, 2); - lean_ctor_release(x_96, 3); - lean_ctor_release(x_96, 4); - lean_ctor_release(x_96, 5); - lean_ctor_release(x_96, 6); - lean_ctor_release(x_96, 7); - x_111 = x_96; +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + lean_ctor_release(x_94, 2); + lean_ctor_release(x_94, 3); + lean_ctor_release(x_94, 4); + lean_ctor_release(x_94, 5); + lean_ctor_release(x_94, 6); + lean_ctor_release(x_94, 7); + x_108 = x_94; } else { - lean_dec_ref(x_96); - x_111 = lean_box(0); + lean_dec_ref(x_94); + x_108 = lean_box(0); } -x_112 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_112, 0, x_78); -lean_ctor_set(x_112, 1, x_87); -lean_ctor_set(x_112, 2, x_90); -lean_ctor_set(x_112, 3, x_81); -lean_ctor_set(x_112, 4, x_82); -lean_ctor_set(x_112, 5, x_84); -lean_ctor_set(x_112, 6, x_85); -lean_ctor_set_uint8(x_112, sizeof(void*)*7, x_83); -x_113 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_105, x_1, x_112); -if (lean_is_scalar(x_111)) { - x_114 = lean_alloc_ctor(0, 8, 1); +x_109 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_109, 0, x_76); +lean_ctor_set(x_109, 1, x_85); +lean_ctor_set(x_109, 2, x_88); +lean_ctor_set(x_109, 3, x_79); +lean_ctor_set(x_109, 4, x_80); +lean_ctor_set(x_109, 5, x_82); +lean_ctor_set(x_109, 6, x_83); +lean_ctor_set_uint8(x_109, sizeof(void*)*7, x_81); +x_110 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_103, x_1, x_109); +if (lean_is_scalar(x_108)) { + x_111 = lean_alloc_ctor(0, 8, 0); } else { - x_114 = x_111; + x_111 = x_108; } -lean_ctor_set(x_114, 0, x_102); -lean_ctor_set(x_114, 1, x_103); -lean_ctor_set(x_114, 2, x_104); -lean_ctor_set(x_114, 3, x_113); -lean_ctor_set(x_114, 4, x_106); -lean_ctor_set(x_114, 5, x_107); -lean_ctor_set(x_114, 6, x_108); -lean_ctor_set(x_114, 7, x_109); -lean_ctor_set_uint8(x_114, sizeof(void*)*8, x_110); -if (lean_is_scalar(x_101)) { - x_115 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_111, 0, x_100); +lean_ctor_set(x_111, 1, x_101); +lean_ctor_set(x_111, 2, x_102); +lean_ctor_set(x_111, 3, x_110); +lean_ctor_set(x_111, 4, x_104); +lean_ctor_set(x_111, 5, x_105); +lean_ctor_set(x_111, 6, x_106); +lean_ctor_set(x_111, 7, x_107); +if (lean_is_scalar(x_99)) { + x_112 = lean_alloc_ctor(0, 4, 0); } else { - x_115 = x_101; + x_112 = x_99; } -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_98); -lean_ctor_set(x_115, 2, x_99); -lean_ctor_set(x_115, 3, x_100); -x_116 = lean_st_ref_set(x_3, x_115, x_97); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_96); +lean_ctor_set(x_112, 2, x_97); +lean_ctor_set(x_112, 3, x_98); +x_113 = lean_st_ref_set(x_3, x_112, x_95); lean_dec(x_3); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_118 = x_116; +x_114 = lean_ctor_get(x_113, 1); +lean_inc(x_114); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + x_115 = x_113; } else { - lean_dec_ref(x_116); - x_118 = lean_box(0); + lean_dec_ref(x_113); + x_115 = lean_box(0); } -x_119 = lean_box(0); -if (lean_is_scalar(x_118)) { - x_120 = lean_alloc_ctor(0, 2, 0); +x_116 = lean_box(0); +if (lean_is_scalar(x_115)) { + x_117 = lean_alloc_ctor(0, 2, 0); } else { - x_120 = x_118; + x_117 = x_115; } -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_117); -return x_120; +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_114); +return x_117; } } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c index 08c28c70d2..00133fa816 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c @@ -250,6 +250,8 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); x_15 = l_Lean_Elab_Tactic_elabTerm(x_1, x_2, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_15) == 0) { @@ -597,6 +599,8 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); x_16 = l_Lean_Elab_Tactic_elabTerm(x_1, x_2, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_16) == 0) { diff --git a/stage0/stdlib/Lean/Elab/Tactic/Simp.c b/stage0/stdlib/Lean/Elab/Tactic/Simp.c index 2200153544..5858dda4a2 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Simp.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Simp.c @@ -231,6 +231,7 @@ lean_object* l_Lean_Syntax_getId(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabDSimpConfigCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_format_pretty(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpTheorem___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_simpLocation(lean_object*, lean_object*, 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_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); @@ -276,6 +277,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp_declRange___closed_ extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation___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_ConstantInfo_type(lean_object*); +lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_runTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabSimpArgs(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); @@ -364,7 +366,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSimp LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tacticToDischarge(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll_declRange___closed__3; LEAN_EXPORT lean_object* l_Std_PersistentArray_mapMAux___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation(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_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4368,6 +4369,14 @@ x_14 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTh return x_14; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpTheorem___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addSimpTheorem___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -4612,7 +4621,7 @@ x_11 = lean_ctor_get(x_7, 5); x_12 = l_Lean_replaceRef(x_1, x_11); lean_dec(x_11); lean_ctor_set(x_7, 5, x_12); -x_13 = l_Lean_Elab_Term_withoutErrToSorry___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_13; } else @@ -4655,7 +4664,7 @@ lean_ctor_set(x_26, 7, x_21); lean_ctor_set(x_26, 8, x_22); lean_ctor_set(x_26, 9, x_23); lean_ctor_set(x_26, 10, x_24); -x_27 = l_Lean_Elab_Term_withoutErrToSorry___rarg(x_2, x_3, x_4, x_5, x_6, x_26, x_8, x_9); +x_27 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_2, x_3, x_4, x_5, x_6, x_26, x_8, x_9); return x_27; } } diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index 25e4d370e3..028d607613 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -69,6 +69,7 @@ lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_addTermInfo_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp___boxed(lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_commitIfNoErrors_x3f(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_ins___at_Lean_Elab_Term_registerMVarErrorInfo___spec__2(lean_object*, lean_object*, lean_object*); @@ -110,6 +111,7 @@ lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, le static lean_object* l_Lean_Elab_Term_instInhabitedMVarErrorInfo___closed__1; LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__37___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__2(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680____closed__1; LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___closed__5; static lean_object* l_Lean_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__2; @@ -131,7 +133,6 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_findSomeRevM_x3f___at_Lean_Elab_T uint8_t l_Lean_Elab_isAbortExceptionId(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__28___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__2; -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkSaveInfoAnnotation___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_setLevelNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__8; @@ -244,7 +245,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___at_Lean_Elab_Term_wit lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveLocalName_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at_Lean_Elab_Term_ensureNoUnassignedMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkCoe___closed__1; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__36___boxed(lean_object*, lean_object*, lean_object*); @@ -314,7 +315,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAu static lean_object* l_Lean_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwMVarError___spec__1(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ensureType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); @@ -380,7 +380,6 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___l LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveLocalName_go(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___closed__2; LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__29___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___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*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__4___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -463,7 +462,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDecl LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__34___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__4; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__31___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -507,7 +505,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lea lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__3___closed__2; static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5; -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -533,6 +530,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBou LEAN_EXPORT lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Term_withMacroExpansion___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvar___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instInhabitedTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__11; lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_getParam_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -571,7 +569,6 @@ LEAN_EXPORT lean_object* l_Lean_log___at___private_Lean_Elab_Term_0__Lean_Elab_T lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkConst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at_Lean_Elab_Term_isLetRecAuxMVar___spec__3(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instHashableCacheKey; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instToStringLVal(lean_object*); @@ -609,6 +606,7 @@ static lean_object* l_Lean_Elab_Term_levelMVarToParam___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__49___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_get_x21___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkConst___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSyntheticSorryFor___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -635,13 +633,13 @@ uint8_t l_Lean_Expr_hasExprMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_levelMVarToParam___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__21; static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___spec__2___closed__4; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__4(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -698,9 +696,9 @@ lean_object* l_Lean_Core_getMessageLog___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__28(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_commitIfDidNotPostpone(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858_(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setElabConfig(lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__14; @@ -775,7 +773,6 @@ static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___sp LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__13; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -785,6 +782,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0_ static lean_object* l_Lean_Elab_Term_resolveName_process___closed__3; static lean_object* l_Lean_Elab_Term_instMonadTermElabM___closed__2; lean_object* l_Lean_Meta_getMVarsAtDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -843,6 +841,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_isMVarApp___boxed(lean_object*, lean_o LEAN_EXPORT uint8_t l_Lean_Elab_Term_Context_isNoncomputableSection___default; static lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_containsPendingMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_Context_implicitLambda___default; static lean_object* l_Lean_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1___closed__2; static lean_object* l_Lean_Elab_Term_resolveName_process___closed__1; @@ -864,6 +863,7 @@ lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_LVal_getRef(lean_object*); lean_object* l_Lean_Elab_expandDeclIdCore(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__46(lean_object*, lean_object*); @@ -879,6 +879,7 @@ LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Term_synthesize LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__2; static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__7; +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -887,6 +888,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImp LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__47___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isImplicit(uint8_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_dropTermParens___closed__2; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); @@ -894,7 +896,6 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceOptions(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_resolveName___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__44___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Cache_pre___default___closed__1; @@ -920,20 +921,19 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_ LEAN_EXPORT lean_object* l_Lean_Elab_Term_getDeclName_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__39___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instInhabitedCacheKey; LEAN_EXPORT lean_object* l_Lean_Elab_Term_levelMVarToParam_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveLocalName___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Term_expandDeclId___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_dropTermParens___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833____closed__2; static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__5; +static lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg___closed__1; uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutPostponing___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__27(lean_object*, lean_object*, lean_object*); @@ -971,6 +971,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits___boxed(lean_obj LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos___closed__2; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__2; static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__18; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___boxed(lean_object*); extern lean_object* l_Lean_instInhabitedTraceElem; @@ -990,7 +991,6 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFn static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__1; LEAN_EXPORT uint8_t l_Lean_Elab_Term_LVal_isFieldName(lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___closed__2; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655____closed__2; LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_setInfoState___at_Lean_Elab_Term_SavedState_restore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutSavingRecAppSyntax___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1051,6 +1051,7 @@ static lean_object* l_Lean_Elab_Term_Context_autoBoundImplicits___default___clos lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__3; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__4; static lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_resolveName_x27___closed__2; @@ -1111,12 +1112,10 @@ LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorIn LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__10___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_Context_macroStack___default; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_levelMVarToParam___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__20(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withSavedContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTypeMismatchError___closed__2; @@ -1142,7 +1141,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_universeConstraintsCheckpoint___rarg(l lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Elab_Term_addTermInfo___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_observing___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__26(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_isLetRecAuxMVar___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1168,6 +1166,7 @@ static lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg___closed__1; static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1___closed__5; lean_object* l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__9; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__2; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__18___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1184,7 +1183,6 @@ LEAN_EXPORT uint8_t l_Lean_Elab_Term_Context_ignoreTCFailures___default; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDeclId___spec__4___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_getLetRecsToLift___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1234,16 +1232,14 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___c LEAN_EXPORT lean_object* l_Lean_Elab_Term_ContainsPendingMVar_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutMacroStackAtErr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerMVarErrorInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_TermElabM_toIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655____closed__1; LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Elab_Term_collectUnassignedMVars_go___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_Elab_Term_expandDeclId___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_ContextInfo_save___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2(lean_object*); static lean_object* l_Lean_Elab_Term_resolveName___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_getMVarErrorInfo_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1281,13 +1277,13 @@ LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Elab_Term_addTermInfo___spec__ LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwErrorIfErrors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_isLetRecAuxMVar___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680_(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_mapM___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Term_exprToSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__5; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withoutModifyingStateWithInfoAndMessages___rarg(lean_object*, lean_object*, lean_object*); @@ -1317,7 +1313,6 @@ static lean_object* l_Lean_Elab_Term_instInhabitedLetRecToLift___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__11; -lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__2; uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); @@ -1327,7 +1322,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp(lean_object*); -static lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___closed__1; lean_object* l_Lean_Core_setMessageLog(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_saveNoFileMap___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___rarg___closed__1; static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__3___closed__3; @@ -1341,7 +1335,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_applyResult(lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveId_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__13; -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__52___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_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_isFreshInstanceName(lean_object*); @@ -1358,6 +1351,7 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_Elab_Term_addAutoB static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__9; static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__14; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorryImp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_withMacroExpansion___spec__2(lean_object*); lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); lean_object* l_panic___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__6(lean_object*); @@ -1391,16 +1385,17 @@ LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Elab_Term_addAutoBou LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerMVarErrorCustomInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___closed__4; LEAN_EXPORT lean_object* l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__1; static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__24; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__21(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__6; static lean_object* l_Lean_Elab_Term_resolveName___closed__1; static lean_object* l_Lean_Elab_Term_mkAuxName___closed__1; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_setLevelNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1___closed__1; static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__4; +static lean_object* l_Lean_Elab_Term_ContainsPendingMVar_visit___closed__1; static lean_object* l_Lean_Elab_Term_instToStringSyntheticMVarKind___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_isLocalIdent_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1423,6 +1418,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_go___lambda__1__ static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Elab_Term_resolveName_x27___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_getMVarErrorInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__1; @@ -1449,7 +1445,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___rarg___lambda__2(l LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDeclId___closed__2; -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_applyAttributesAt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1466,8 +1461,10 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__7; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___spec__2___closed__3; uint8_t l_Lean_isStructure(lean_object*, lean_object*); +lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_addTermInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_TermElabM_toIO(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_applyAttributes___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1477,7 +1474,7 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock__ lean_object* l_ReaderT_instAlternativeReaderT___rarg(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_addAutoBoundImplicits_go___lambda__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock___boxed(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__1; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__24(lean_object*, lean_object*, size_t, size_t); static lean_object* l_panic___at_Lean_Elab_Term_getFVarLocalDecl_x21___spec__1___closed__1; @@ -1491,11 +1488,11 @@ LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_wit static lean_object* l_Lean_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__4; static lean_object* l_Lean_Elab_ContextInfo_saveNoFileMap___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___rarg___closed__2; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__1; LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ContainsPendingMVar_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_Context_mayPostpone___default; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__33(lean_object*, lean_object*, size_t, size_t); @@ -2085,23 +2082,21 @@ return x_3; static lean_object* _init_l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__13; x_3 = l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__10; x_4 = l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__2; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__15() { @@ -2190,14 +2185,13 @@ x_1 = l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__15; x_2 = l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__17; x_3 = l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__18; x_4 = l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__21; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -3042,6 +3036,7 @@ lean_dec(x_15); x_18 = lean_ctor_get(x_1, 0); lean_inc(x_18); x_19 = l_Lean_Meta_SavedState_restore(x_18, x_5, x_6, x_7, x_8, x_16); +lean_dec(x_18); x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); lean_dec(x_19); @@ -11374,7 +11369,7 @@ x_13 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__3___rar return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -11437,14 +11432,47 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorryImp(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___rarg), 8, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorryImp___rarg), 8, 0); return x_2; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +static lean_object* _init_l_Lean_Elab_Term_withoutErrToSorry___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___rarg___lambda__1), 9, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Elab_Term_withoutErrToSorry___rarg___closed__1; +x_4 = lean_apply_3(x_1, lean_box(0), x_3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___rarg), 2, 0); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -12758,7 +12786,7 @@ lean_ctor_set(x_26, 2, x_24); x_27 = lean_apply_2(x_1, x_22, 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_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +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; uint8_t x_36; x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); @@ -12766,277 +12794,11 @@ lean_inc(x_29); lean_dec(x_27); x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); -x_61 = lean_st_ref_get(x_7, x_25); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_63 = lean_st_ref_take(x_5, x_62); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get_uint8(x_30, sizeof(void*)*8); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_63, 1); -lean_inc(x_67); -lean_dec(x_63); -x_68 = lean_ctor_get(x_30, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_30, 1); -lean_inc(x_69); -x_70 = lean_ctor_get(x_30, 2); -lean_inc(x_70); -x_71 = lean_ctor_get(x_30, 3); -lean_inc(x_71); -x_72 = lean_ctor_get(x_30, 4); -lean_inc(x_72); -x_73 = lean_ctor_get(x_30, 5); -lean_inc(x_73); -x_74 = lean_ctor_get(x_30, 6); -lean_inc(x_74); -x_75 = lean_ctor_get(x_30, 7); -lean_inc(x_75); -lean_dec(x_30); -x_76 = !lean_is_exclusive(x_64); -if (x_76 == 0) -{ -lean_object* x_77; uint8_t x_78; -x_77 = lean_ctor_get(x_64, 0); -lean_dec(x_77); -x_78 = !lean_is_exclusive(x_66); -if (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; -x_79 = lean_ctor_get(x_66, 7); -lean_dec(x_79); -x_80 = lean_ctor_get(x_66, 6); -lean_dec(x_80); -x_81 = lean_ctor_get(x_66, 5); -lean_dec(x_81); -x_82 = lean_ctor_get(x_66, 4); -lean_dec(x_82); -x_83 = lean_ctor_get(x_66, 3); -lean_dec(x_83); -x_84 = lean_ctor_get(x_66, 2); -lean_dec(x_84); -x_85 = lean_ctor_get(x_66, 1); -lean_dec(x_85); -x_86 = lean_ctor_get(x_66, 0); -lean_dec(x_86); -lean_ctor_set(x_66, 7, x_75); -lean_ctor_set(x_66, 6, x_74); -lean_ctor_set(x_66, 5, x_73); -lean_ctor_set(x_66, 4, x_72); -lean_ctor_set(x_66, 3, x_71); -lean_ctor_set(x_66, 2, x_70); -lean_ctor_set(x_66, 1, x_69); -lean_ctor_set(x_66, 0, x_68); -x_87 = lean_st_ref_set(x_5, x_64, x_67); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -lean_dec(x_87); -x_31 = x_88; -goto block_60; -} -else -{ -uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_89 = lean_ctor_get_uint8(x_66, sizeof(void*)*8); -lean_dec(x_66); -x_90 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_90, 0, x_68); -lean_ctor_set(x_90, 1, x_69); -lean_ctor_set(x_90, 2, x_70); -lean_ctor_set(x_90, 3, x_71); -lean_ctor_set(x_90, 4, x_72); -lean_ctor_set(x_90, 5, x_73); -lean_ctor_set(x_90, 6, x_74); -lean_ctor_set(x_90, 7, x_75); -lean_ctor_set_uint8(x_90, sizeof(void*)*8, x_89); -lean_ctor_set(x_64, 0, x_90); -x_91 = lean_st_ref_set(x_5, x_64, x_67); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); -x_31 = x_92; -goto block_60; -} -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_93 = lean_ctor_get(x_64, 1); -x_94 = lean_ctor_get(x_64, 2); -x_95 = lean_ctor_get(x_64, 3); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_64); -x_96 = lean_ctor_get_uint8(x_66, sizeof(void*)*8); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - lean_ctor_release(x_66, 2); - lean_ctor_release(x_66, 3); - lean_ctor_release(x_66, 4); - lean_ctor_release(x_66, 5); - lean_ctor_release(x_66, 6); - lean_ctor_release(x_66, 7); - x_97 = x_66; -} else { - lean_dec_ref(x_66); - x_97 = lean_box(0); -} -if (lean_is_scalar(x_97)) { - x_98 = lean_alloc_ctor(0, 8, 1); -} else { - x_98 = x_97; -} -lean_ctor_set(x_98, 0, x_68); -lean_ctor_set(x_98, 1, x_69); -lean_ctor_set(x_98, 2, x_70); -lean_ctor_set(x_98, 3, x_71); -lean_ctor_set(x_98, 4, x_72); -lean_ctor_set(x_98, 5, x_73); -lean_ctor_set(x_98, 6, x_74); -lean_ctor_set(x_98, 7, x_75); -lean_ctor_set_uint8(x_98, sizeof(void*)*8, x_96); -x_99 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_93); -lean_ctor_set(x_99, 2, x_94); -lean_ctor_set(x_99, 3, x_95); -x_100 = lean_st_ref_set(x_5, x_99, x_67); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -lean_dec(x_100); -x_31 = x_101; -goto block_60; -} -} -else -{ -lean_object* x_102; uint8_t x_103; -x_102 = lean_ctor_get(x_63, 1); -lean_inc(x_102); -lean_dec(x_63); -x_103 = !lean_is_exclusive(x_30); -if (x_103 == 0) -{ -uint8_t x_104; -x_104 = !lean_is_exclusive(x_64); -if (x_104 == 0) -{ -lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; -x_105 = lean_ctor_get(x_64, 0); -lean_dec(x_105); -x_106 = 1; -lean_ctor_set_uint8(x_30, sizeof(void*)*8, x_106); -lean_ctor_set(x_64, 0, x_30); -x_107 = lean_st_ref_set(x_5, x_64, x_102); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -lean_dec(x_107); -x_31 = x_108; -goto block_60; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_109 = lean_ctor_get(x_64, 1); -x_110 = lean_ctor_get(x_64, 2); -x_111 = lean_ctor_get(x_64, 3); -lean_inc(x_111); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_64); -x_112 = 1; -lean_ctor_set_uint8(x_30, sizeof(void*)*8, x_112); -x_113 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_113, 0, x_30); -lean_ctor_set(x_113, 1, x_109); -lean_ctor_set(x_113, 2, x_110); -lean_ctor_set(x_113, 3, x_111); -x_114 = lean_st_ref_set(x_5, x_113, x_102); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_31 = x_115; -goto block_60; -} -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_116 = lean_ctor_get(x_30, 0); -x_117 = lean_ctor_get(x_30, 1); -x_118 = lean_ctor_get(x_30, 2); -x_119 = lean_ctor_get(x_30, 3); -x_120 = lean_ctor_get(x_30, 4); -x_121 = lean_ctor_get(x_30, 5); -x_122 = lean_ctor_get(x_30, 6); -x_123 = lean_ctor_get(x_30, 7); -lean_inc(x_123); -lean_inc(x_122); -lean_inc(x_121); -lean_inc(x_120); -lean_inc(x_119); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_30); -x_124 = lean_ctor_get(x_64, 1); -lean_inc(x_124); -x_125 = lean_ctor_get(x_64, 2); -lean_inc(x_125); -x_126 = lean_ctor_get(x_64, 3); -lean_inc(x_126); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - lean_ctor_release(x_64, 2); - lean_ctor_release(x_64, 3); - x_127 = x_64; -} else { - lean_dec_ref(x_64); - x_127 = lean_box(0); -} -x_128 = 1; -x_129 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_129, 0, x_116); -lean_ctor_set(x_129, 1, x_117); -lean_ctor_set(x_129, 2, x_118); -lean_ctor_set(x_129, 3, x_119); -lean_ctor_set(x_129, 4, x_120); -lean_ctor_set(x_129, 5, x_121); -lean_ctor_set(x_129, 6, x_122); -lean_ctor_set(x_129, 7, x_123); -lean_ctor_set_uint8(x_129, sizeof(void*)*8, x_128); -if (lean_is_scalar(x_127)) { - x_130 = lean_alloc_ctor(0, 4, 0); -} else { - x_130 = x_127; -} -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_124); -lean_ctor_set(x_130, 2, x_125); -lean_ctor_set(x_130, 3, x_126); -x_131 = lean_st_ref_set(x_5, x_130, x_102); -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -lean_dec(x_131); -x_31 = x_132; -goto block_60; -} -} -block_60: -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_32 = lean_ctor_get(x_29, 0); +x_31 = lean_st_ref_get(x_7, x_25); +x_32 = lean_ctor_get(x_31, 1); lean_inc(x_32); -x_33 = lean_st_ref_take(x_7, x_31); +lean_dec(x_31); +x_33 = lean_st_ref_take(x_5, x_32); x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); x_35 = lean_ctor_get(x_33, 1); @@ -13045,114 +12807,224 @@ lean_dec(x_33); x_36 = !lean_is_exclusive(x_34); if (x_36 == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_37 = lean_ctor_get(x_34, 2); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_37 = lean_ctor_get(x_34, 0); lean_dec(x_37); -lean_ctor_set(x_34, 2, x_32); -x_38 = lean_st_ref_set(x_7, x_34, x_35); +lean_ctor_set(x_34, 0, x_30); +x_38 = lean_st_ref_set(x_5, x_34, x_35); x_39 = lean_ctor_get(x_38, 1); lean_inc(x_39); lean_dec(x_38); -x_40 = lean_ctor_get(x_29, 2); +x_40 = lean_ctor_get(x_29, 0); lean_inc(x_40); -lean_dec(x_29); -x_41 = l_Lean_Elab_Term_setLevelNames(x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_39); -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) -{ -lean_object* x_43; -x_43 = lean_ctor_get(x_41, 0); -lean_dec(x_43); -lean_ctor_set(x_41, 0, x_28); -return x_41; -} -else -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_41, 1); -lean_inc(x_44); +x_41 = lean_st_ref_take(x_7, x_39); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); lean_dec(x_41); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_28); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -else +x_44 = !lean_is_exclusive(x_42); +if (x_44 == 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; 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; -x_46 = lean_ctor_get(x_34, 0); -x_47 = lean_ctor_get(x_34, 1); -x_48 = lean_ctor_get(x_34, 3); -x_49 = lean_ctor_get(x_34, 4); -x_50 = lean_ctor_get(x_34, 5); -x_51 = lean_ctor_get(x_34, 6); -lean_inc(x_51); -lean_inc(x_50); -lean_inc(x_49); -lean_inc(x_48); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_45 = lean_ctor_get(x_42, 2); +lean_dec(x_45); +lean_ctor_set(x_42, 2, x_40); +x_46 = lean_st_ref_set(x_7, x_42, x_43); +x_47 = lean_ctor_get(x_46, 1); lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_34); -x_52 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_52, 0, x_46); -lean_ctor_set(x_52, 1, x_47); -lean_ctor_set(x_52, 2, x_32); -lean_ctor_set(x_52, 3, x_48); -lean_ctor_set(x_52, 4, x_49); -lean_ctor_set(x_52, 5, x_50); -lean_ctor_set(x_52, 6, x_51); -x_53 = lean_st_ref_set(x_7, x_52, x_35); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -lean_dec(x_53); -x_55 = lean_ctor_get(x_29, 2); -lean_inc(x_55); +lean_dec(x_46); +x_48 = lean_ctor_get(x_29, 2); +lean_inc(x_48); lean_dec(x_29); -x_56 = l_Lean_Elab_Term_setLevelNames(x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_54); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_58 = x_56; -} else { - lean_dec_ref(x_56); - x_58 = lean_box(0); -} -if (lean_is_scalar(x_58)) { - x_59 = lean_alloc_ctor(0, 2, 0); -} else { - x_59 = x_58; -} -lean_ctor_set(x_59, 0, x_28); -lean_ctor_set(x_59, 1, x_57); -return x_59; +x_49 = l_Lean_Elab_Term_setLevelNames(x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_47); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_28); +return x_49; } +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_28); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } else { -uint8_t x_133; -x_133 = !lean_is_exclusive(x_27); -if (x_133 == 0) +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; lean_object* x_67; +x_54 = lean_ctor_get(x_42, 0); +x_55 = lean_ctor_get(x_42, 1); +x_56 = lean_ctor_get(x_42, 3); +x_57 = lean_ctor_get(x_42, 4); +x_58 = lean_ctor_get(x_42, 5); +x_59 = lean_ctor_get(x_42, 6); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_42); +x_60 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_60, 0, x_54); +lean_ctor_set(x_60, 1, x_55); +lean_ctor_set(x_60, 2, x_40); +lean_ctor_set(x_60, 3, x_56); +lean_ctor_set(x_60, 4, x_57); +lean_ctor_set(x_60, 5, x_58); +lean_ctor_set(x_60, 6, x_59); +x_61 = lean_st_ref_set(x_7, x_60, x_43); +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = lean_ctor_get(x_29, 2); +lean_inc(x_63); +lean_dec(x_29); +x_64 = l_Lean_Elab_Term_setLevelNames(x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_62); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_66 = x_64; +} else { + lean_dec_ref(x_64); + x_66 = lean_box(0); +} +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_28); +lean_ctor_set(x_67, 1, x_65); +return x_67; +} +} +else { -lean_object* x_134; -x_134 = lean_ctor_get(x_27, 1); -lean_dec(x_134); +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; 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_68 = lean_ctor_get(x_34, 1); +x_69 = lean_ctor_get(x_34, 2); +x_70 = lean_ctor_get(x_34, 3); +lean_inc(x_70); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_34); +x_71 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_71, 0, x_30); +lean_ctor_set(x_71, 1, x_68); +lean_ctor_set(x_71, 2, x_69); +lean_ctor_set(x_71, 3, x_70); +x_72 = lean_st_ref_set(x_5, x_71, x_35); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = lean_ctor_get(x_29, 0); +lean_inc(x_74); +x_75 = lean_st_ref_take(x_7, x_73); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_ctor_get(x_76, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_76, 1); +lean_inc(x_79); +x_80 = lean_ctor_get(x_76, 3); +lean_inc(x_80); +x_81 = lean_ctor_get(x_76, 4); +lean_inc(x_81); +x_82 = lean_ctor_get(x_76, 5); +lean_inc(x_82); +x_83 = lean_ctor_get(x_76, 6); +lean_inc(x_83); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + lean_ctor_release(x_76, 2); + lean_ctor_release(x_76, 3); + lean_ctor_release(x_76, 4); + lean_ctor_release(x_76, 5); + lean_ctor_release(x_76, 6); + x_84 = x_76; +} else { + lean_dec_ref(x_76); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(0, 7, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_78); +lean_ctor_set(x_85, 1, x_79); +lean_ctor_set(x_85, 2, x_74); +lean_ctor_set(x_85, 3, x_80); +lean_ctor_set(x_85, 4, x_81); +lean_ctor_set(x_85, 5, x_82); +lean_ctor_set(x_85, 6, x_83); +x_86 = lean_st_ref_set(x_7, x_85, x_77); +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +lean_dec(x_86); +x_88 = lean_ctor_get(x_29, 2); +lean_inc(x_88); +lean_dec(x_29); +x_89 = l_Lean_Elab_Term_setLevelNames(x_88, x_2, x_3, x_4, x_5, x_6, x_7, x_87); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_91 = x_89; +} else { + lean_dec_ref(x_89); + x_91 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(0, 2, 0); +} else { + x_92 = x_91; +} +lean_ctor_set(x_92, 0, x_28); +lean_ctor_set(x_92, 1, x_90); +return x_92; +} +} +else +{ +uint8_t x_93; +x_93 = !lean_is_exclusive(x_27); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_27, 1); +lean_dec(x_94); lean_ctor_set(x_27, 1, x_25); return x_27; } else { -lean_object* x_135; lean_object* x_136; -x_135 = lean_ctor_get(x_27, 0); -lean_inc(x_135); +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_27, 0); +lean_inc(x_95); lean_dec(x_27); -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_25); -return x_136; +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_25); +return x_96; } } } @@ -20230,7 +20102,7 @@ x_27 = lean_ctor_get(x_21, 0); x_28 = lean_ctor_get(x_21, 1); x_29 = lean_ctor_get(x_16, 0); lean_inc(x_29); -x_30 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_24, x_29); +x_30 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_24, 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; uint8_t x_39; @@ -20359,7 +20231,7 @@ lean_inc(x_61); lean_dec(x_21); x_63 = lean_ctor_get(x_16, 0); lean_inc(x_63); -x_64 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_24, x_63); +x_64 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_24, x_63); 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; uint8_t x_73; @@ -20518,7 +20390,7 @@ if (lean_is_exclusive(x_21)) { } x_103 = lean_ctor_get(x_16, 0); lean_inc(x_103); -x_104 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_99, x_103); +x_104 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_99, x_103); if (lean_obj_tag(x_104) == 0) { 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; uint8_t x_113; @@ -20729,7 +20601,7 @@ x_26 = lean_ctor_get(x_20, 0); x_27 = lean_ctor_get(x_20, 1); x_28 = lean_ctor_get(x_15, 0); lean_inc(x_28); -x_29 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_23, x_28); +x_29 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_23, x_28); if (lean_obj_tag(x_29) == 0) { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; @@ -20858,7 +20730,7 @@ lean_inc(x_60); lean_dec(x_20); x_62 = lean_ctor_get(x_15, 0); lean_inc(x_62); -x_63 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_23, x_62); +x_63 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_23, x_62); if (lean_obj_tag(x_63) == 0) { 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; uint8_t x_72; @@ -21017,7 +20889,7 @@ if (lean_is_exclusive(x_20)) { } x_102 = lean_ctor_get(x_15, 0); lean_inc(x_102); -x_103 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_98, x_102); +x_103 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_98, x_102); if (lean_obj_tag(x_103) == 0) { 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; uint8_t x_112; @@ -21872,7 +21744,7 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; x_11 = l_Lean_Elab_Term_getLevelNames___rarg(x_5, x_6, x_7, x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); @@ -21898,416 +21770,93 @@ x_21 = l_Lean_Elab_Term_levelMVarToParam___closed__2; x_22 = l_Lean_MetavarContext_levelMVarToParam(x_19, x_20, x_3, x_1, x_21, x_2); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -x_24 = lean_st_ref_get(x_9, x_18); -x_25 = lean_ctor_get(x_24, 1); +x_24 = lean_ctor_get(x_22, 2); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 3); lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_st_ref_take(x_7, x_25); -x_27 = lean_ctor_get(x_26, 0); +lean_dec(x_22); +x_26 = lean_st_ref_get(x_9, x_18); +x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); -x_28 = lean_ctor_get_uint8(x_23, sizeof(void*)*8); -if (x_28 == 0) -{ -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; uint8_t x_39; -x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_26); +x_28 = lean_st_ref_take(x_7, x_27); +x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); -x_30 = lean_ctor_get(x_26, 1); +x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); -lean_dec(x_26); -x_31 = lean_ctor_get(x_23, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_23, 1); -lean_inc(x_32); -x_33 = lean_ctor_get(x_23, 2); -lean_inc(x_33); -x_34 = lean_ctor_get(x_23, 3); -lean_inc(x_34); -x_35 = lean_ctor_get(x_23, 4); -lean_inc(x_35); -x_36 = lean_ctor_get(x_23, 5); -lean_inc(x_36); -x_37 = lean_ctor_get(x_23, 6); +lean_dec(x_28); +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_32 = lean_ctor_get(x_29, 0); +lean_dec(x_32); +lean_ctor_set(x_29, 0, x_23); +x_33 = lean_st_ref_set(x_7, x_29, x_30); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_25); +lean_ctor_set(x_36, 1, x_24); +lean_ctor_set(x_33, 0, x_36); +return x_33; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_33, 1); lean_inc(x_37); -x_38 = lean_ctor_get(x_23, 7); -lean_inc(x_38); -lean_dec(x_23); -x_39 = !lean_is_exclusive(x_27); -if (x_39 == 0) -{ -lean_object* x_40; uint8_t x_41; -x_40 = lean_ctor_get(x_27, 0); -lean_dec(x_40); -x_41 = !lean_is_exclusive(x_29); -if (x_41 == 0) -{ -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; uint8_t x_51; -x_42 = lean_ctor_get(x_29, 7); -lean_dec(x_42); -x_43 = lean_ctor_get(x_29, 6); -lean_dec(x_43); -x_44 = lean_ctor_get(x_29, 5); -lean_dec(x_44); -x_45 = lean_ctor_get(x_29, 4); -lean_dec(x_45); -x_46 = lean_ctor_get(x_29, 3); -lean_dec(x_46); -x_47 = lean_ctor_get(x_29, 2); -lean_dec(x_47); -x_48 = lean_ctor_get(x_29, 1); -lean_dec(x_48); -x_49 = lean_ctor_get(x_29, 0); -lean_dec(x_49); -lean_ctor_set(x_29, 7, x_38); -lean_ctor_set(x_29, 6, x_37); -lean_ctor_set(x_29, 5, x_36); -lean_ctor_set(x_29, 4, x_35); -lean_ctor_set(x_29, 3, x_34); -lean_ctor_set(x_29, 2, x_33); -lean_ctor_set(x_29, 1, x_32); -lean_ctor_set(x_29, 0, x_31); -x_50 = lean_st_ref_set(x_7, x_27, x_30); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -x_53 = lean_ctor_get(x_22, 3); -lean_inc(x_53); -x_54 = lean_ctor_get(x_22, 2); -lean_inc(x_54); -lean_dec(x_22); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_50, 0, x_55); -return x_50; -} -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_50, 1); -lean_inc(x_56); -lean_dec(x_50); -x_57 = lean_ctor_get(x_22, 3); -lean_inc(x_57); -x_58 = lean_ctor_get(x_22, 2); -lean_inc(x_58); -lean_dec(x_22); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_56); -return x_60; +lean_dec(x_33); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_25); +lean_ctor_set(x_38, 1, x_24); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +return x_39; } } else { -uint8_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_61 = lean_ctor_get_uint8(x_29, sizeof(void*)*8); +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_40 = lean_ctor_get(x_29, 1); +x_41 = lean_ctor_get(x_29, 2); +x_42 = lean_ctor_get(x_29, 3); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); lean_dec(x_29); -x_62 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_62, 0, x_31); -lean_ctor_set(x_62, 1, x_32); -lean_ctor_set(x_62, 2, x_33); -lean_ctor_set(x_62, 3, x_34); -lean_ctor_set(x_62, 4, x_35); -lean_ctor_set(x_62, 5, x_36); -lean_ctor_set(x_62, 6, x_37); -lean_ctor_set(x_62, 7, x_38); -lean_ctor_set_uint8(x_62, sizeof(void*)*8, x_61); -lean_ctor_set(x_27, 0, x_62); -x_63 = lean_st_ref_set(x_7, x_27, x_30); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_65 = x_63; +x_43 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_43, 0, x_23); +lean_ctor_set(x_43, 1, x_40); +lean_ctor_set(x_43, 2, x_41); +lean_ctor_set(x_43, 3, x_42); +x_44 = lean_st_ref_set(x_7, x_43, x_30); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + x_46 = x_44; } else { - lean_dec_ref(x_63); - x_65 = lean_box(0); + lean_dec_ref(x_44); + x_46 = lean_box(0); } -x_66 = lean_ctor_get(x_22, 3); -lean_inc(x_66); -x_67 = lean_ctor_get(x_22, 2); -lean_inc(x_67); -lean_dec(x_22); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -if (lean_is_scalar(x_65)) { - x_69 = lean_alloc_ctor(0, 2, 0); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_25); +lean_ctor_set(x_47, 1, x_24); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); } else { - x_69 = x_65; -} -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_64); -return x_69; -} -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t 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_70 = lean_ctor_get(x_27, 1); -x_71 = lean_ctor_get(x_27, 2); -x_72 = lean_ctor_get(x_27, 3); -lean_inc(x_72); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_27); -x_73 = lean_ctor_get_uint8(x_29, sizeof(void*)*8); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - lean_ctor_release(x_29, 2); - lean_ctor_release(x_29, 3); - lean_ctor_release(x_29, 4); - lean_ctor_release(x_29, 5); - lean_ctor_release(x_29, 6); - lean_ctor_release(x_29, 7); - x_74 = x_29; -} else { - lean_dec_ref(x_29); - x_74 = lean_box(0); -} -if (lean_is_scalar(x_74)) { - x_75 = lean_alloc_ctor(0, 8, 1); -} else { - x_75 = x_74; -} -lean_ctor_set(x_75, 0, x_31); -lean_ctor_set(x_75, 1, x_32); -lean_ctor_set(x_75, 2, x_33); -lean_ctor_set(x_75, 3, x_34); -lean_ctor_set(x_75, 4, x_35); -lean_ctor_set(x_75, 5, x_36); -lean_ctor_set(x_75, 6, x_37); -lean_ctor_set(x_75, 7, x_38); -lean_ctor_set_uint8(x_75, sizeof(void*)*8, x_73); -x_76 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_70); -lean_ctor_set(x_76, 2, x_71); -lean_ctor_set(x_76, 3, x_72); -x_77 = lean_st_ref_set(x_7, x_76, x_30); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_79 = x_77; -} else { - lean_dec_ref(x_77); - x_79 = lean_box(0); -} -x_80 = lean_ctor_get(x_22, 3); -lean_inc(x_80); -x_81 = lean_ctor_get(x_22, 2); -lean_inc(x_81); -lean_dec(x_22); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -if (lean_is_scalar(x_79)) { - x_83 = lean_alloc_ctor(0, 2, 0); -} else { - x_83 = x_79; -} -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_78); -return x_83; -} -} -else -{ -lean_object* x_84; uint8_t x_85; -x_84 = lean_ctor_get(x_26, 1); -lean_inc(x_84); -lean_dec(x_26); -x_85 = !lean_is_exclusive(x_23); -if (x_85 == 0) -{ -uint8_t x_86; -x_86 = !lean_is_exclusive(x_27); -if (x_86 == 0) -{ -lean_object* x_87; uint8_t x_88; lean_object* x_89; uint8_t x_90; -x_87 = lean_ctor_get(x_27, 0); -lean_dec(x_87); -x_88 = 1; -lean_ctor_set_uint8(x_23, sizeof(void*)*8, x_88); -lean_ctor_set(x_27, 0, x_23); -x_89 = lean_st_ref_set(x_7, x_27, x_84); -x_90 = !lean_is_exclusive(x_89); -if (x_90 == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_91 = lean_ctor_get(x_89, 0); -lean_dec(x_91); -x_92 = lean_ctor_get(x_22, 3); -lean_inc(x_92); -x_93 = lean_ctor_get(x_22, 2); -lean_inc(x_93); -lean_dec(x_22); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -lean_ctor_set(x_89, 0, x_94); -return x_89; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_95 = lean_ctor_get(x_89, 1); -lean_inc(x_95); -lean_dec(x_89); -x_96 = lean_ctor_get(x_22, 3); -lean_inc(x_96); -x_97 = lean_ctor_get(x_22, 2); -lean_inc(x_97); -lean_dec(x_22); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, 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_95); -return x_99; -} -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t 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_100 = lean_ctor_get(x_27, 1); -x_101 = lean_ctor_get(x_27, 2); -x_102 = lean_ctor_get(x_27, 3); -lean_inc(x_102); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_27); -x_103 = 1; -lean_ctor_set_uint8(x_23, sizeof(void*)*8, x_103); -x_104 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_104, 0, x_23); -lean_ctor_set(x_104, 1, x_100); -lean_ctor_set(x_104, 2, x_101); -lean_ctor_set(x_104, 3, x_102); -x_105 = lean_st_ref_set(x_7, x_104, x_84); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - x_107 = x_105; -} else { - lean_dec_ref(x_105); - x_107 = lean_box(0); -} -x_108 = lean_ctor_get(x_22, 3); -lean_inc(x_108); -x_109 = lean_ctor_get(x_22, 2); -lean_inc(x_109); -lean_dec(x_22); -x_110 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -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); -return x_111; -} -} -else -{ -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; uint8_t 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_112 = lean_ctor_get(x_23, 0); -x_113 = lean_ctor_get(x_23, 1); -x_114 = lean_ctor_get(x_23, 2); -x_115 = lean_ctor_get(x_23, 3); -x_116 = lean_ctor_get(x_23, 4); -x_117 = lean_ctor_get(x_23, 5); -x_118 = lean_ctor_get(x_23, 6); -x_119 = lean_ctor_get(x_23, 7); -lean_inc(x_119); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_23); -x_120 = lean_ctor_get(x_27, 1); -lean_inc(x_120); -x_121 = lean_ctor_get(x_27, 2); -lean_inc(x_121); -x_122 = lean_ctor_get(x_27, 3); -lean_inc(x_122); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - lean_ctor_release(x_27, 2); - lean_ctor_release(x_27, 3); - x_123 = x_27; -} else { - lean_dec_ref(x_27); - x_123 = lean_box(0); -} -x_124 = 1; -x_125 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_125, 0, x_112); -lean_ctor_set(x_125, 1, x_113); -lean_ctor_set(x_125, 2, x_114); -lean_ctor_set(x_125, 3, x_115); -lean_ctor_set(x_125, 4, x_116); -lean_ctor_set(x_125, 5, x_117); -lean_ctor_set(x_125, 6, x_118); -lean_ctor_set(x_125, 7, x_119); -lean_ctor_set_uint8(x_125, sizeof(void*)*8, x_124); -if (lean_is_scalar(x_123)) { - x_126 = lean_alloc_ctor(0, 4, 0); -} else { - x_126 = x_123; -} -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_120); -lean_ctor_set(x_126, 2, x_121); -lean_ctor_set(x_126, 3, x_122); -x_127 = lean_st_ref_set(x_7, x_126, x_84); -x_128 = lean_ctor_get(x_127, 1); -lean_inc(x_128); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_129 = x_127; -} else { - lean_dec_ref(x_127); - x_129 = lean_box(0); -} -x_130 = lean_ctor_get(x_22, 3); -lean_inc(x_130); -x_131 = lean_ctor_get(x_22, 2); -lean_inc(x_131); -lean_dec(x_22); -x_132 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -if (lean_is_scalar(x_129)) { - x_133 = lean_alloc_ctor(0, 2, 0); -} else { - x_133 = x_129; -} -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_128); -return x_133; + x_48 = x_46; } +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; } } } @@ -24751,7 +24300,57 @@ return x_44; } } } -static lean_object* _init_l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___closed__1() { +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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; uint8_t x_13; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_st_ref_get(x_6, x_11); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get(x_15, 7); +lean_inc(x_16); +lean_dec(x_15); +x_17 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_16, x_1); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_12, 0, x_18); +return x_12; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_12); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_ctor_get(x_21, 7); +lean_inc(x_22); +lean_dec(x_21); +x_23 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_22, x_1); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_20); +return x_25; +} +} +} +static lean_object* _init_l_Lean_Elab_Term_ContainsPendingMVar_visit___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -24761,275 +24360,6 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_st_ref_take(x_1, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_8, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -uint8_t x_14; lean_object* x_15; uint8_t x_16; -x_14 = 1; -lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_14); -x_15 = lean_st_ref_set(x_1, x_8, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___closed__1; -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___closed__1; -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_9, 0); -x_23 = lean_ctor_get(x_9, 1); -x_24 = lean_ctor_get(x_9, 2); -x_25 = lean_ctor_get(x_9, 3); -x_26 = lean_ctor_get(x_9, 4); -x_27 = lean_ctor_get(x_9, 5); -x_28 = lean_ctor_get(x_9, 6); -x_29 = lean_ctor_get(x_9, 7); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_9); -x_30 = 1; -x_31 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_23); -lean_ctor_set(x_31, 2, x_24); -lean_ctor_set(x_31, 3, x_25); -lean_ctor_set(x_31, 4, x_26); -lean_ctor_set(x_31, 5, x_27); -lean_ctor_set(x_31, 6, x_28); -lean_ctor_set(x_31, 7, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_30); -lean_ctor_set(x_8, 0, x_31); -x_32 = lean_st_ref_set(x_1, x_8, x_10); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; -} else { - lean_dec_ref(x_32); - x_34 = lean_box(0); -} -x_35 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___closed__1; -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -} -else -{ -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; uint8_t 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_37 = lean_ctor_get(x_8, 1); -x_38 = lean_ctor_get(x_8, 2); -x_39 = lean_ctor_get(x_8, 3); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_8); -x_40 = lean_ctor_get(x_9, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_9, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_9, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_9, 3); -lean_inc(x_43); -x_44 = lean_ctor_get(x_9, 4); -lean_inc(x_44); -x_45 = lean_ctor_get(x_9, 5); -lean_inc(x_45); -x_46 = lean_ctor_get(x_9, 6); -lean_inc(x_46); -x_47 = lean_ctor_get(x_9, 7); -lean_inc(x_47); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - lean_ctor_release(x_9, 6); - lean_ctor_release(x_9, 7); - x_48 = x_9; -} else { - lean_dec_ref(x_9); - x_48 = lean_box(0); -} -x_49 = 1; -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 8, 1); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_40); -lean_ctor_set(x_50, 1, x_41); -lean_ctor_set(x_50, 2, x_42); -lean_ctor_set(x_50, 3, x_43); -lean_ctor_set(x_50, 4, x_44); -lean_ctor_set(x_50, 5, x_45); -lean_ctor_set(x_50, 6, x_46); -lean_ctor_set(x_50, 7, x_47); -lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_49); -x_51 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_37); -lean_ctor_set(x_51, 2, x_38); -lean_ctor_set(x_51, 3, x_39); -x_52 = lean_st_ref_set(x_1, x_51, x_10); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___closed__1; -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___boxed), 4, 0); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_1); -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; -} -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_10 = lean_st_ref_get(x_8, x_9); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_st_ref_get(x_6, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_ctor_get(x_15, 7); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_16, x_1); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_box(0); -x_19 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2___lambda__1(x_17, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg(x_6, x_7, x_8, x_14); -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_21, 0); -lean_inc(x_23); -lean_dec(x_21); -x_24 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2___lambda__1(x_17, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_23); -return x_24; -} -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Term_ContainsPendingMVar_visit(lean_object* x_1, 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: { @@ -25072,15 +24402,11 @@ if (lean_obj_tag(x_49) == 0) { lean_object* x_50; lean_object* x_51; lean_dec(x_49); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); x_50 = lean_ctor_get(x_48, 1); lean_inc(x_50); lean_dec(x_48); -x_51 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___closed__1; +x_51 = l_Lean_Elab_Term_ContainsPendingMVar_visit___closed__1; x_18 = x_51; x_19 = x_50; goto block_47; @@ -25094,8 +24420,6 @@ lean_dec(x_48); x_53 = lean_ctor_get(x_49, 4); lean_inc(x_53); lean_dec(x_49); -lean_inc(x_8); -lean_inc(x_2); x_54 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_53, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_52); if (lean_obj_tag(x_54) == 0) { @@ -25113,8 +24437,6 @@ else { uint8_t x_57; lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_57 = !lean_is_exclusive(x_54); if (x_57 == 0) @@ -25141,13 +24463,7 @@ else { uint8_t x_61; lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); x_61 = !lean_is_exclusive(x_48); if (x_61 == 0) @@ -25173,8 +24489,6 @@ block_47: if (lean_obj_tag(x_18) == 0) { lean_object* x_20; lean_object* x_21; -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_20 = lean_box(0); if (lean_is_scalar(x_15)) { @@ -25196,7 +24510,6 @@ if (x_22 == 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; uint8_t x_31; x_23 = lean_ctor_get(x_18, 0); x_24 = lean_st_ref_get(x_8, x_19); -lean_dec(x_8); x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); @@ -25209,7 +24522,6 @@ lean_dec(x_26); lean_inc(x_23); x_29 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_27, x_1, x_23); x_30 = lean_st_ref_set(x_2, x_29, x_28); -lean_dec(x_2); x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) { @@ -25238,7 +24550,6 @@ x_35 = lean_ctor_get(x_18, 0); lean_inc(x_35); lean_dec(x_18); x_36 = lean_st_ref_get(x_8, x_19); -lean_dec(x_8); x_37 = lean_ctor_get(x_36, 1); lean_inc(x_37); lean_dec(x_36); @@ -25251,7 +24562,6 @@ lean_dec(x_38); lean_inc(x_35); x_41 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_39, x_1, x_35); x_42 = lean_st_ref_set(x_2, x_41, x_40); -lean_dec(x_2); x_43 = lean_ctor_get(x_42, 1); lean_inc(x_43); if (lean_is_exclusive(x_42)) { @@ -25296,8 +24606,6 @@ if (x_100 == 0) { lean_object* x_101; lean_dec(x_65); -lean_inc(x_8); -lean_inc(x_2); x_101 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_99, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_98); if (lean_obj_tag(x_101) == 0) { @@ -25315,8 +24623,6 @@ else { uint8_t x_104; lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_104 = !lean_is_exclusive(x_101); if (x_104 == 0) @@ -25342,13 +24648,6 @@ else { lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_dec(x_99); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); x_108 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2(x_65, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_98); x_109 = lean_ctor_get(x_108, 0); lean_inc(x_109); @@ -25358,11 +24657,7 @@ lean_dec(x_109); if (lean_obj_tag(x_110) == 0) { lean_object* x_111; lean_object* x_112; -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); x_111 = lean_ctor_get(x_108, 1); lean_inc(x_111); lean_dec(x_108); @@ -25384,8 +24679,6 @@ x_115 = lean_ctor_get(x_114, 1); lean_inc(x_115); lean_dec(x_114); x_116 = l_Lean_Expr_mvar___override(x_115); -lean_inc(x_8); -lean_inc(x_2); x_117 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_116, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_113); if (lean_obj_tag(x_117) == 0) { @@ -25403,8 +24696,6 @@ else { uint8_t x_120; lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_120 = !lean_is_exclusive(x_117); if (x_120 == 0) @@ -25432,8 +24723,6 @@ block_95: if (lean_obj_tag(x_66) == 0) { lean_object* x_68; lean_object* x_69; -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_68 = lean_box(0); if (lean_is_scalar(x_15)) { @@ -25455,7 +24744,6 @@ if (x_70 == 0) 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; uint8_t x_79; x_71 = lean_ctor_get(x_66, 0); x_72 = lean_st_ref_get(x_8, x_67); -lean_dec(x_8); x_73 = lean_ctor_get(x_72, 1); lean_inc(x_73); lean_dec(x_72); @@ -25468,7 +24756,6 @@ lean_dec(x_74); lean_inc(x_71); x_77 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_75, x_1, x_71); x_78 = lean_st_ref_set(x_2, x_77, x_76); -lean_dec(x_2); x_79 = !lean_is_exclusive(x_78); if (x_79 == 0) { @@ -25497,7 +24784,6 @@ x_83 = lean_ctor_get(x_66, 0); lean_inc(x_83); lean_dec(x_66); x_84 = lean_st_ref_get(x_8, x_67); -lean_dec(x_8); x_85 = lean_ctor_get(x_84, 1); lean_inc(x_85); lean_dec(x_84); @@ -25510,7 +24796,6 @@ lean_dec(x_86); lean_inc(x_83); x_89 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_87, x_1, x_83); x_90 = lean_st_ref_set(x_2, x_89, x_88); -lean_dec(x_2); x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); if (lean_is_exclusive(x_90)) { @@ -25542,13 +24827,7 @@ x_124 = lean_ctor_get(x_1, 0); lean_inc(x_124); x_125 = lean_ctor_get(x_1, 1); lean_inc(x_125); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); x_156 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_124, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); if (lean_obj_tag(x_156) == 0) { @@ -25559,11 +24838,7 @@ if (lean_obj_tag(x_157) == 0) { lean_object* x_158; lean_object* x_159; lean_dec(x_125); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); x_158 = lean_ctor_get(x_156, 1); lean_inc(x_158); lean_dec(x_156); @@ -25579,8 +24854,6 @@ lean_dec(x_157); x_160 = lean_ctor_get(x_156, 1); lean_inc(x_160); lean_dec(x_156); -lean_inc(x_8); -lean_inc(x_2); x_161 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_125, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_160); if (lean_obj_tag(x_161) == 0) { @@ -25598,8 +24871,6 @@ else { uint8_t x_164; lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_164 = !lean_is_exclusive(x_161); if (x_164 == 0) @@ -25627,13 +24898,7 @@ else uint8_t x_168; lean_dec(x_125); lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); x_168 = !lean_is_exclusive(x_156); if (x_168 == 0) @@ -25659,8 +24924,6 @@ block_155: if (lean_obj_tag(x_126) == 0) { lean_object* x_128; lean_object* x_129; -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_128 = lean_box(0); if (lean_is_scalar(x_15)) { @@ -25682,7 +24945,6 @@ if (x_130 == 0) 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; uint8_t x_139; x_131 = lean_ctor_get(x_126, 0); x_132 = lean_st_ref_get(x_8, x_127); -lean_dec(x_8); x_133 = lean_ctor_get(x_132, 1); lean_inc(x_133); lean_dec(x_132); @@ -25695,7 +24957,6 @@ lean_dec(x_134); lean_inc(x_131); x_137 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_135, x_1, x_131); x_138 = lean_st_ref_set(x_2, x_137, x_136); -lean_dec(x_2); x_139 = !lean_is_exclusive(x_138); if (x_139 == 0) { @@ -25724,7 +24985,6 @@ x_143 = lean_ctor_get(x_126, 0); lean_inc(x_143); lean_dec(x_126); x_144 = lean_st_ref_get(x_8, x_127); -lean_dec(x_8); x_145 = lean_ctor_get(x_144, 1); lean_inc(x_145); lean_dec(x_144); @@ -25737,7 +24997,6 @@ lean_dec(x_146); lean_inc(x_143); x_149 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_147, x_1, x_143); x_150 = lean_st_ref_set(x_2, x_149, x_148); -lean_dec(x_2); x_151 = lean_ctor_get(x_150, 1); lean_inc(x_151); if (lean_is_exclusive(x_150)) { @@ -25769,13 +25028,7 @@ x_172 = lean_ctor_get(x_1, 1); lean_inc(x_172); x_173 = lean_ctor_get(x_1, 2); lean_inc(x_173); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); x_204 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_172, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); if (lean_obj_tag(x_204) == 0) { @@ -25786,11 +25039,7 @@ if (lean_obj_tag(x_205) == 0) { lean_object* x_206; lean_object* x_207; lean_dec(x_173); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); x_206 = lean_ctor_get(x_204, 1); lean_inc(x_206); lean_dec(x_204); @@ -25806,8 +25055,6 @@ lean_dec(x_205); x_208 = lean_ctor_get(x_204, 1); lean_inc(x_208); lean_dec(x_204); -lean_inc(x_8); -lean_inc(x_2); x_209 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_173, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_208); if (lean_obj_tag(x_209) == 0) { @@ -25825,8 +25072,6 @@ else { uint8_t x_212; lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_212 = !lean_is_exclusive(x_209); if (x_212 == 0) @@ -25854,13 +25099,7 @@ else uint8_t x_216; lean_dec(x_173); lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); x_216 = !lean_is_exclusive(x_204); if (x_216 == 0) @@ -25886,8 +25125,6 @@ block_203: if (lean_obj_tag(x_174) == 0) { lean_object* x_176; lean_object* x_177; -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_176 = lean_box(0); if (lean_is_scalar(x_15)) { @@ -25909,7 +25146,6 @@ if (x_178 == 0) 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; uint8_t x_187; x_179 = lean_ctor_get(x_174, 0); x_180 = lean_st_ref_get(x_8, x_175); -lean_dec(x_8); x_181 = lean_ctor_get(x_180, 1); lean_inc(x_181); lean_dec(x_180); @@ -25922,7 +25158,6 @@ lean_dec(x_182); lean_inc(x_179); x_185 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_183, x_1, x_179); x_186 = lean_st_ref_set(x_2, x_185, x_184); -lean_dec(x_2); x_187 = !lean_is_exclusive(x_186); if (x_187 == 0) { @@ -25951,7 +25186,6 @@ x_191 = lean_ctor_get(x_174, 0); lean_inc(x_191); lean_dec(x_174); x_192 = lean_st_ref_get(x_8, x_175); -lean_dec(x_8); x_193 = lean_ctor_get(x_192, 1); lean_inc(x_193); lean_dec(x_192); @@ -25964,7 +25198,6 @@ lean_dec(x_194); lean_inc(x_191); x_197 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_195, x_1, x_191); x_198 = lean_st_ref_set(x_2, x_197, x_196); -lean_dec(x_2); x_199 = lean_ctor_get(x_198, 1); lean_inc(x_199); if (lean_is_exclusive(x_198)) { @@ -25996,13 +25229,7 @@ x_220 = lean_ctor_get(x_1, 1); lean_inc(x_220); x_221 = lean_ctor_get(x_1, 2); lean_inc(x_221); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); x_252 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_220, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); if (lean_obj_tag(x_252) == 0) { @@ -26013,11 +25240,7 @@ if (lean_obj_tag(x_253) == 0) { lean_object* x_254; lean_object* x_255; lean_dec(x_221); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); x_254 = lean_ctor_get(x_252, 1); lean_inc(x_254); lean_dec(x_252); @@ -26033,8 +25256,6 @@ lean_dec(x_253); x_256 = lean_ctor_get(x_252, 1); lean_inc(x_256); lean_dec(x_252); -lean_inc(x_8); -lean_inc(x_2); x_257 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_221, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_256); if (lean_obj_tag(x_257) == 0) { @@ -26052,8 +25273,6 @@ else { uint8_t x_260; lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_260 = !lean_is_exclusive(x_257); if (x_260 == 0) @@ -26081,13 +25300,7 @@ else uint8_t x_264; lean_dec(x_221); lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); x_264 = !lean_is_exclusive(x_252); if (x_264 == 0) @@ -26113,8 +25326,6 @@ block_251: if (lean_obj_tag(x_222) == 0) { lean_object* x_224; lean_object* x_225; -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_224 = lean_box(0); if (lean_is_scalar(x_15)) { @@ -26136,7 +25347,6 @@ if (x_226 == 0) lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; x_227 = lean_ctor_get(x_222, 0); x_228 = lean_st_ref_get(x_8, x_223); -lean_dec(x_8); x_229 = lean_ctor_get(x_228, 1); lean_inc(x_229); lean_dec(x_228); @@ -26149,7 +25359,6 @@ lean_dec(x_230); lean_inc(x_227); x_233 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_231, x_1, x_227); x_234 = lean_st_ref_set(x_2, x_233, x_232); -lean_dec(x_2); x_235 = !lean_is_exclusive(x_234); if (x_235 == 0) { @@ -26178,7 +25387,6 @@ x_239 = lean_ctor_get(x_222, 0); lean_inc(x_239); lean_dec(x_222); x_240 = lean_st_ref_get(x_8, x_223); -lean_dec(x_8); x_241 = lean_ctor_get(x_240, 1); lean_inc(x_241); lean_dec(x_240); @@ -26191,7 +25399,6 @@ lean_dec(x_242); lean_inc(x_239); x_245 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_243, x_1, x_239); x_246 = lean_st_ref_set(x_2, x_245, x_244); -lean_dec(x_2); x_247 = lean_ctor_get(x_246, 1); lean_inc(x_247); if (lean_is_exclusive(x_246)) { @@ -26225,13 +25432,7 @@ x_269 = lean_ctor_get(x_1, 2); lean_inc(x_269); x_270 = lean_ctor_get(x_1, 3); lean_inc(x_270); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); x_301 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_268, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); if (lean_obj_tag(x_301) == 0) { @@ -26243,11 +25444,7 @@ if (lean_obj_tag(x_302) == 0) lean_object* x_303; lean_object* x_304; lean_dec(x_270); lean_dec(x_269); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); x_303 = lean_ctor_get(x_301, 1); lean_inc(x_303); lean_dec(x_301); @@ -26263,13 +25460,7 @@ lean_dec(x_302); x_305 = lean_ctor_get(x_301, 1); lean_inc(x_305); lean_dec(x_301); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); x_306 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_269, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_305); if (lean_obj_tag(x_306) == 0) { @@ -26280,11 +25471,7 @@ if (lean_obj_tag(x_307) == 0) { lean_object* x_308; lean_object* x_309; lean_dec(x_270); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); x_308 = lean_ctor_get(x_306, 1); lean_inc(x_308); lean_dec(x_306); @@ -26300,8 +25487,6 @@ lean_dec(x_307); x_310 = lean_ctor_get(x_306, 1); lean_inc(x_310); lean_dec(x_306); -lean_inc(x_8); -lean_inc(x_2); x_311 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_270, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_310); if (lean_obj_tag(x_311) == 0) { @@ -26319,8 +25504,6 @@ else { uint8_t x_314; lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_314 = !lean_is_exclusive(x_311); if (x_314 == 0) @@ -26348,13 +25531,7 @@ else uint8_t x_318; lean_dec(x_270); lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); x_318 = !lean_is_exclusive(x_306); if (x_318 == 0) @@ -26383,13 +25560,7 @@ uint8_t x_322; lean_dec(x_270); lean_dec(x_269); lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); x_322 = !lean_is_exclusive(x_301); if (x_322 == 0) @@ -26415,8 +25586,6 @@ block_300: if (lean_obj_tag(x_271) == 0) { lean_object* x_273; lean_object* x_274; -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_273 = lean_box(0); if (lean_is_scalar(x_15)) { @@ -26438,7 +25607,6 @@ if (x_275 == 0) 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; uint8_t x_284; x_276 = lean_ctor_get(x_271, 0); x_277 = lean_st_ref_get(x_8, x_272); -lean_dec(x_8); x_278 = lean_ctor_get(x_277, 1); lean_inc(x_278); lean_dec(x_277); @@ -26451,7 +25619,6 @@ lean_dec(x_279); lean_inc(x_276); x_282 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_280, x_1, x_276); x_283 = lean_st_ref_set(x_2, x_282, x_281); -lean_dec(x_2); x_284 = !lean_is_exclusive(x_283); if (x_284 == 0) { @@ -26480,7 +25647,6 @@ x_288 = lean_ctor_get(x_271, 0); lean_inc(x_288); lean_dec(x_271); x_289 = lean_st_ref_get(x_8, x_272); -lean_dec(x_8); x_290 = lean_ctor_get(x_289, 1); lean_inc(x_290); lean_dec(x_289); @@ -26493,7 +25659,6 @@ lean_dec(x_291); lean_inc(x_288); x_294 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_292, x_1, x_288); x_295 = lean_st_ref_set(x_2, x_294, x_293); -lean_dec(x_2); x_296 = lean_ctor_get(x_295, 1); lean_inc(x_296); if (lean_is_exclusive(x_295)) { @@ -26524,8 +25689,6 @@ lean_object* x_326; lean_object* x_327; lean_dec(x_15); x_326 = lean_ctor_get(x_1, 1); lean_inc(x_326); -lean_inc(x_8); -lean_inc(x_2); x_327 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_326, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); if (lean_obj_tag(x_327) == 0) { @@ -26535,8 +25698,6 @@ lean_inc(x_328); if (lean_obj_tag(x_328) == 0) { uint8_t x_329; -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_329 = !lean_is_exclusive(x_327); if (x_329 == 0) @@ -26573,7 +25734,6 @@ if (x_336 == 0) 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; uint8_t x_345; x_337 = lean_ctor_get(x_328, 0); x_338 = lean_st_ref_get(x_8, x_335); -lean_dec(x_8); x_339 = lean_ctor_get(x_338, 1); lean_inc(x_339); lean_dec(x_338); @@ -26586,7 +25746,6 @@ lean_dec(x_340); lean_inc(x_337); x_343 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_341, x_1, x_337); x_344 = lean_st_ref_set(x_2, x_343, x_342); -lean_dec(x_2); x_345 = !lean_is_exclusive(x_344); if (x_345 == 0) { @@ -26615,7 +25774,6 @@ x_349 = lean_ctor_get(x_328, 0); lean_inc(x_349); lean_dec(x_328); x_350 = lean_st_ref_get(x_8, x_335); -lean_dec(x_8); x_351 = lean_ctor_get(x_350, 1); lean_inc(x_351); lean_dec(x_350); @@ -26628,7 +25786,6 @@ lean_dec(x_352); lean_inc(x_349); x_355 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_353, x_1, x_349); x_356 = lean_st_ref_set(x_2, x_355, x_354); -lean_dec(x_2); x_357 = lean_ctor_get(x_356, 1); lean_inc(x_357); if (lean_is_exclusive(x_356)) { @@ -26655,8 +25812,6 @@ return x_360; else { uint8_t x_361; -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_361 = !lean_is_exclusive(x_327); if (x_361 == 0) @@ -26684,8 +25839,6 @@ lean_object* x_365; lean_object* x_366; lean_dec(x_15); x_365 = lean_ctor_get(x_1, 2); lean_inc(x_365); -lean_inc(x_8); -lean_inc(x_2); x_366 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_365, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); if (lean_obj_tag(x_366) == 0) { @@ -26695,8 +25848,6 @@ lean_inc(x_367); if (lean_obj_tag(x_367) == 0) { uint8_t x_368; -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_368 = !lean_is_exclusive(x_366); if (x_368 == 0) @@ -26733,7 +25884,6 @@ if (x_375 == 0) 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; uint8_t x_384; x_376 = lean_ctor_get(x_367, 0); x_377 = lean_st_ref_get(x_8, x_374); -lean_dec(x_8); x_378 = lean_ctor_get(x_377, 1); lean_inc(x_378); lean_dec(x_377); @@ -26746,7 +25896,6 @@ lean_dec(x_379); lean_inc(x_376); x_382 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_380, x_1, x_376); x_383 = lean_st_ref_set(x_2, x_382, x_381); -lean_dec(x_2); x_384 = !lean_is_exclusive(x_383); if (x_384 == 0) { @@ -26775,7 +25924,6 @@ x_388 = lean_ctor_get(x_367, 0); lean_inc(x_388); lean_dec(x_367); x_389 = lean_st_ref_get(x_8, x_374); -lean_dec(x_8); x_390 = lean_ctor_get(x_389, 1); lean_inc(x_390); lean_dec(x_389); @@ -26788,7 +25936,6 @@ lean_dec(x_391); lean_inc(x_388); x_394 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_392, x_1, x_388); x_395 = lean_st_ref_set(x_2, x_394, x_393); -lean_dec(x_2); x_396 = lean_ctor_get(x_395, 1); lean_inc(x_396); if (lean_is_exclusive(x_395)) { @@ -26815,8 +25962,6 @@ return x_399; else { uint8_t x_400; -lean_dec(x_8); -lean_dec(x_2); lean_dec(x_1); x_400 = !lean_is_exclusive(x_366); if (x_400 == 0) @@ -26842,13 +25987,8 @@ default: { 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; uint8_t x_412; lean_dec(x_15); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); x_404 = lean_st_ref_get(x_8, x_14); -lean_dec(x_8); x_405 = lean_ctor_get(x_404, 1); lean_inc(x_405); lean_dec(x_404); @@ -26861,14 +26001,13 @@ lean_dec(x_406); x_409 = lean_box(0); x_410 = l_Std_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_407, x_1, x_409); x_411 = lean_st_ref_set(x_2, x_410, x_408); -lean_dec(x_2); x_412 = !lean_is_exclusive(x_411); if (x_412 == 0) { lean_object* x_413; lean_object* x_414; x_413 = lean_ctor_get(x_411, 0); lean_dec(x_413); -x_414 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___closed__1; +x_414 = l_Lean_Elab_Term_ContainsPendingMVar_visit___closed__1; lean_ctor_set(x_411, 0, x_414); return x_411; } @@ -26878,7 +26017,7 @@ lean_object* x_415; lean_object* x_416; lean_object* x_417; x_415 = lean_ctor_get(x_411, 1); lean_inc(x_415); lean_dec(x_411); -x_416 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___closed__1; +x_416 = l_Lean_Elab_Term_ContainsPendingMVar_visit___closed__1; x_417 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_417, 0, x_416); lean_ctor_set(x_417, 1, x_415); @@ -26890,13 +26029,7 @@ return x_417; else { uint8_t x_418; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); x_418 = !lean_is_exclusive(x_16); if (x_418 == 0) @@ -26946,35 +26079,11 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_5; -x_5 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___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_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3(x_1, x_2, x_3, x_4); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); +lean_object* x_10; +x_10 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -26982,7 +26091,21 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_ContainsPendingMVar_visit___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_containsPendingMVar(lean_object* x_1, 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) { @@ -27000,8 +26123,6 @@ lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); -lean_inc(x_7); -lean_inc(x_22); x_24 = l_Lean_Elab_Term_ContainsPendingMVar_visit(x_1, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_23); if (lean_obj_tag(x_24) == 0) { @@ -27012,7 +26133,6 @@ if (lean_obj_tag(x_25) == 0) { lean_object* x_26; lean_object* x_27; lean_dec(x_22); -lean_dec(x_7); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); @@ -27033,7 +26153,6 @@ if (x_29 == 0) lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; x_30 = lean_ctor_get(x_25, 0); x_31 = lean_st_ref_get(x_7, x_28); -lean_dec(x_7); x_32 = lean_ctor_get(x_31, 1); lean_inc(x_32); lean_dec(x_31); @@ -27059,7 +26178,6 @@ x_37 = lean_ctor_get(x_25, 0); lean_inc(x_37); lean_dec(x_25); x_38 = lean_st_ref_get(x_7, x_28); -lean_dec(x_7); x_39 = lean_ctor_get(x_38, 1); lean_inc(x_39); lean_dec(x_38); @@ -27085,7 +26203,6 @@ else { uint8_t x_45; lean_dec(x_22); -lean_dec(x_7); x_45 = !lean_is_exclusive(x_24); if (x_45 == 0) { @@ -27131,6 +26248,19 @@ return x_16; } } } +LEAN_EXPORT lean_object* l_Lean_Elab_Term_containsPendingMVar___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_containsPendingMVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -27179,256 +26309,55 @@ return x_22; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_st_ref_take(x_1, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_8, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -uint8_t x_14; lean_object* x_15; uint8_t x_16; -x_14 = 1; -lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_14); -x_15 = lean_st_ref_set(x_1, x_8, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_9, 0); -x_23 = lean_ctor_get(x_9, 1); -x_24 = lean_ctor_get(x_9, 2); -x_25 = lean_ctor_get(x_9, 3); -x_26 = lean_ctor_get(x_9, 4); -x_27 = lean_ctor_get(x_9, 5); -x_28 = lean_ctor_get(x_9, 6); -x_29 = lean_ctor_get(x_9, 7); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_9); -x_30 = 1; -x_31 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_23); -lean_ctor_set(x_31, 2, x_24); -lean_ctor_set(x_31, 3, x_25); -lean_ctor_set(x_31, 4, x_26); -lean_ctor_set(x_31, 5, x_27); -lean_ctor_set(x_31, 6, x_28); -lean_ctor_set(x_31, 7, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_30); -lean_ctor_set(x_8, 0, x_31); -x_32 = lean_st_ref_set(x_1, x_8, x_10); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; -} else { - lean_dec_ref(x_32); - x_34 = lean_box(0); -} -x_35 = lean_box(0); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -} -else -{ -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; uint8_t 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_37 = lean_ctor_get(x_8, 1); -x_38 = lean_ctor_get(x_8, 2); -x_39 = lean_ctor_get(x_8, 3); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_8); -x_40 = lean_ctor_get(x_9, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_9, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_9, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_9, 3); -lean_inc(x_43); -x_44 = lean_ctor_get(x_9, 4); -lean_inc(x_44); -x_45 = lean_ctor_get(x_9, 5); -lean_inc(x_45); -x_46 = lean_ctor_get(x_9, 6); -lean_inc(x_46); -x_47 = lean_ctor_get(x_9, 7); -lean_inc(x_47); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - lean_ctor_release(x_9, 6); - lean_ctor_release(x_9, 7); - x_48 = x_9; -} else { - lean_dec_ref(x_9); - x_48 = lean_box(0); -} -x_49 = 1; -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 8, 1); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_40); -lean_ctor_set(x_50, 1, x_41); -lean_ctor_set(x_50, 2, x_42); -lean_ctor_set(x_50, 3, x_43); -lean_ctor_set(x_50, 4, x_44); -lean_ctor_set(x_50, 5, x_45); -lean_ctor_set(x_50, 6, x_46); -lean_ctor_set(x_50, 7, x_47); -lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_49); -x_51 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_37); -lean_ctor_set(x_51, 2, x_38); -lean_ctor_set(x_51, 3, x_39); -x_52 = lean_st_ref_set(x_1, x_51, x_10); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg___boxed), 4, 0); -return x_4; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_9 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(x_5, x_6, x_7, x_8); +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_st_ref_get(x_7, x_8); x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = lean_st_ref_get(x_7, x_10); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_st_ref_get(x_5, x_12); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +x_11 = lean_st_ref_get(x_5, x_10); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 6); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_17, x_1); -x_19 = lean_box(x_18); -lean_ctor_set(x_13, 0, x_19); -return x_13; +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_ctor_get(x_14, 6); +lean_inc(x_15); +lean_dec(x_14); +x_16 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_15, x_1); +x_17 = lean_box(x_16); +lean_ctor_set(x_11, 0, x_17); +return x_11; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; -x_20 = lean_ctor_get(x_13, 0); -x_21 = lean_ctor_get(x_13, 1); -lean_inc(x_21); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_11, 0); +x_19 = lean_ctor_get(x_11, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_11); +x_20 = lean_ctor_get(x_18, 0); lean_inc(x_20); -lean_dec(x_13); -x_22 = lean_ctor_get(x_20, 0); -lean_inc(x_22); +lean_dec(x_18); +x_21 = lean_ctor_get(x_20, 6); +lean_inc(x_21); lean_dec(x_20); -x_23 = lean_ctor_get(x_22, 6); -lean_inc(x_23); -lean_dec(x_22); -x_24 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_23, x_1); -x_25 = lean_box(x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_21); -return x_26; +x_22 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_21, x_1); +x_23 = lean_box(x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_19); +return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { 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; @@ -27543,7 +26472,7 @@ x_19 = l_Lean_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__5; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_21 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_22 = !lean_is_exclusive(x_21); if (x_22 == 0) { @@ -27694,7 +26623,7 @@ x_33 = l_Lean_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__5; x_34 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_34, 0, x_32); lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_34, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +x_35 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_34, x_5, x_6, x_7, x_8, x_9, x_10, x_21); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -28019,7 +26948,7 @@ x_50 = l_Lean_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__5; x_51 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_51, 0, x_49); lean_ctor_set(x_51, 1, x_50); -x_52 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_46); +x_52 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_46); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -28123,12 +27052,7 @@ if (lean_is_exclusive(x_68)) { lean_dec_ref(x_68); x_72 = lean_box(0); } -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); lean_inc(x_66); x_81 = l_Lean_Elab_Term_containsPendingMVar(x_66, x_3, x_4, x_5, x_6, x_7, x_8, x_71); if (lean_obj_tag(x_81) == 0) @@ -28144,12 +27068,7 @@ lean_dec(x_82); x_84 = lean_ctor_get(x_81, 1); lean_inc(x_84); lean_dec(x_81); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); lean_inc(x_36); x_85 = l_Lean_Elab_Term_containsPendingMVar(x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_84); if (lean_obj_tag(x_85) == 0) @@ -28405,28 +27324,6 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -28441,11 +27338,11 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -28494,7 +27391,7 @@ lean_dec(x_3); return x_12; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__1() { _start: { lean_object* x_1; @@ -28502,17 +27399,17 @@ x_1 = lean_mk_string_from_bytes("autoLift", 8); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__3() { _start: { lean_object* x_1; @@ -28520,13 +27417,13 @@ x_1 = lean_mk_string_from_bytes("insert monadic lifts (i.e., `liftM` and coercio return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l_Lean_Elab_ContextInfo_saveNoFileMap___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___rarg___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -28535,17 +27432,17 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__4; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__1() { _start: { lean_object* x_1; @@ -28553,17 +27450,17 @@ x_1 = lean_mk_string_from_bytes("maxCoeSize", 10); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__3() { _start: { lean_object* x_1; @@ -28571,13 +27468,13 @@ x_1 = lean_mk_string_from_bytes("maximum number of instances used to construct a return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_unsigned_to_nat(16u); x_2 = l_Lean_Elab_ContextInfo_saveNoFileMap___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___rarg___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__3; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -28585,12 +27482,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__4; x_4 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_6____spec__1(x_2, x_3, x_1); return x_4; } @@ -45436,7 +44333,7 @@ x_54 = l_Lean_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1___closed__5; x_55 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_55, 0, x_53); lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_55, x_9, x_10, x_11, x_12, x_13, x_14, x_38); +x_56 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_55, x_9, x_10, x_11, x_12, x_13, x_14, x_38); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -47778,7 +46675,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -48506,7 +47403,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -49234,7 +48131,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -49962,7 +48859,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -50690,7 +49587,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -51418,7 +50315,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -51720,7 +50617,7 @@ _start: { if (lean_obj_tag(x_1) == 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; uint8_t x_17; lean_object* x_18; lean_object* x_115; lean_object* x_116; uint8_t x_117; +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; x_10 = lean_ctor_get(x_1, 3); lean_inc(x_10); lean_dec(x_1); @@ -51737,235 +50634,170 @@ lean_dec(x_13); x_16 = lean_ctor_get(x_14, 0); lean_inc(x_16); lean_dec(x_14); -x_115 = l_Lean_localDeclDependsOn___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__1___closed__1; -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_16); -x_117 = l_Lean_Expr_hasFVar(x_10); -if (x_117 == 0) +x_17 = l_Lean_localDeclDependsOn___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__1___closed__1; +lean_inc(x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_Lean_Expr_hasFVar(x_10); +if (x_19 == 0) { -uint8_t x_118; -x_118 = l_Lean_Expr_hasMVar(x_10); -if (x_118 == 0) +uint8_t x_20; +x_20 = l_Lean_Expr_hasMVar(x_10); +if (x_20 == 0) { -uint8_t x_119; -lean_dec(x_10); -x_119 = 0; -x_17 = x_119; -x_18 = x_116; -goto block_114; -} -else -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; -x_120 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__2(x_2, x_10, x_116); -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -lean_dec(x_120); -x_123 = lean_unbox(x_121); -lean_dec(x_121); -x_17 = x_123; -x_18 = x_122; -goto block_114; -} -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_124 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__10(x_2, x_10, x_116); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = lean_unbox(x_125); -lean_dec(x_125); -x_17 = x_127; -x_18 = x_126; -goto block_114; -} -block_114: -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_dec(x_18); -x_20 = lean_st_ref_get(x_8, x_15); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_st_ref_take(x_6, x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get_uint8(x_19, sizeof(void*)*8); -if (x_24 == 0) -{ -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; uint8_t x_35; -x_25 = lean_ctor_get(x_23, 0); +lean_dec(x_10); +x_21 = lean_st_ref_get(x_8, x_15); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_st_ref_take(x_6, x_22); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); -lean_dec(x_22); -x_27 = lean_ctor_get(x_19, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_19, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_19, 3); -lean_inc(x_30); -x_31 = lean_ctor_get(x_19, 4); -lean_inc(x_31); -x_32 = lean_ctor_get(x_19, 5); -lean_inc(x_32); -x_33 = lean_ctor_get(x_19, 6); +lean_dec(x_23); +x_26 = !lean_is_exclusive(x_24); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_24, 0); +lean_dec(x_27); +lean_ctor_set(x_24, 0, x_16); +x_28 = lean_st_ref_set(x_6, x_24, x_25); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +lean_dec(x_30); +x_31 = 0; +x_32 = lean_box(x_31); +lean_ctor_set(x_28, 0, x_32); +return x_28; +} +else +{ +lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_28, 1); lean_inc(x_33); -x_34 = lean_ctor_get(x_19, 7); -lean_inc(x_34); -lean_dec(x_19); -x_35 = !lean_is_exclusive(x_23); -if (x_35 == 0) +lean_dec(x_28); +x_34 = 0; +x_35 = lean_box(x_34); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_33); +return x_36; +} +} +else { -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_23, 0); -lean_dec(x_36); -x_37 = !lean_is_exclusive(x_25); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_38 = lean_ctor_get(x_25, 7); -lean_dec(x_38); -x_39 = lean_ctor_get(x_25, 6); -lean_dec(x_39); -x_40 = lean_ctor_get(x_25, 5); -lean_dec(x_40); -x_41 = lean_ctor_get(x_25, 4); -lean_dec(x_41); -x_42 = lean_ctor_get(x_25, 3); -lean_dec(x_42); -x_43 = lean_ctor_get(x_25, 2); -lean_dec(x_43); -x_44 = lean_ctor_get(x_25, 1); -lean_dec(x_44); -x_45 = lean_ctor_get(x_25, 0); -lean_dec(x_45); -lean_ctor_set(x_25, 7, x_34); -lean_ctor_set(x_25, 6, x_33); -lean_ctor_set(x_25, 5, x_32); -lean_ctor_set(x_25, 4, x_31); -lean_ctor_set(x_25, 3, x_30); -lean_ctor_set(x_25, 2, x_29); -lean_ctor_set(x_25, 1, x_28); -lean_ctor_set(x_25, 0, x_27); -x_46 = lean_st_ref_set(x_6, x_23, x_26); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_46, 0); -lean_dec(x_48); -x_49 = lean_box(x_17); -lean_ctor_set(x_46, 0, x_49); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; +x_37 = lean_ctor_get(x_24, 1); +x_38 = lean_ctor_get(x_24, 2); +x_39 = lean_ctor_get(x_24, 3); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_24); +x_40 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_40, 0, x_16); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_38); +lean_ctor_set(x_40, 3, x_39); +x_41 = lean_st_ref_set(x_6, x_40, x_25); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_43 = x_41; +} else { + lean_dec_ref(x_41); + x_43 = lean_box(0); +} +x_44 = 0; +x_45 = lean_box(x_44); +if (lean_is_scalar(x_43)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_43; +} +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_42); return x_46; } +} else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_46, 1); +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; uint8_t x_56; +lean_dec(x_16); +x_47 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__2(x_2, x_10, x_18); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 0); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_ctor_get(x_48, 1); lean_inc(x_50); -lean_dec(x_46); -x_51 = lean_box(x_17); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -return x_52; -} +lean_dec(x_48); +x_51 = lean_st_ref_get(x_8, x_15); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_st_ref_take(x_6, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = !lean_is_exclusive(x_54); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_57 = lean_ctor_get(x_54, 0); +lean_dec(x_57); +lean_ctor_set(x_54, 0, x_50); +x_58 = lean_st_ref_set(x_6, x_54, x_55); +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_58, 0); +lean_dec(x_60); +lean_ctor_set(x_58, 0, x_49); +return x_58; } else { -uint8_t 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; -x_53 = lean_ctor_get_uint8(x_25, sizeof(void*)*8); -lean_dec(x_25); -x_54 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_54, 0, x_27); -lean_ctor_set(x_54, 1, x_28); -lean_ctor_set(x_54, 2, x_29); -lean_ctor_set(x_54, 3, x_30); -lean_ctor_set(x_54, 4, x_31); -lean_ctor_set(x_54, 5, x_32); -lean_ctor_set(x_54, 6, x_33); -lean_ctor_set(x_54, 7, x_34); -lean_ctor_set_uint8(x_54, sizeof(void*)*8, x_53); -lean_ctor_set(x_23, 0, x_54); -x_55 = lean_st_ref_set(x_6, x_23, x_26); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_57 = x_55; -} else { - lean_dec_ref(x_55); - x_57 = lean_box(0); -} -x_58 = lean_box(x_17); -if (lean_is_scalar(x_57)) { - x_59 = lean_alloc_ctor(0, 2, 0); -} else { - x_59 = x_57; -} -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_56); -return x_59; -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_60 = lean_ctor_get(x_23, 1); -x_61 = lean_ctor_get(x_23, 2); -x_62 = lean_ctor_get(x_23, 3); -lean_inc(x_62); +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_58, 1); lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_23); -x_63 = lean_ctor_get_uint8(x_25, sizeof(void*)*8); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - lean_ctor_release(x_25, 2); - lean_ctor_release(x_25, 3); - lean_ctor_release(x_25, 4); - lean_ctor_release(x_25, 5); - lean_ctor_release(x_25, 6); - lean_ctor_release(x_25, 7); - x_64 = x_25; -} else { - lean_dec_ref(x_25); - x_64 = lean_box(0); +lean_dec(x_58); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_49); +lean_ctor_set(x_62, 1, x_61); +return x_62; } -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(0, 8, 1); -} else { - x_65 = x_64; } -lean_ctor_set(x_65, 0, x_27); -lean_ctor_set(x_65, 1, x_28); -lean_ctor_set(x_65, 2, x_29); -lean_ctor_set(x_65, 3, x_30); -lean_ctor_set(x_65, 4, x_31); -lean_ctor_set(x_65, 5, x_32); -lean_ctor_set(x_65, 6, x_33); -lean_ctor_set(x_65, 7, x_34); -lean_ctor_set_uint8(x_65, sizeof(void*)*8, x_63); +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; +x_63 = lean_ctor_get(x_54, 1); +x_64 = lean_ctor_get(x_54, 2); +x_65 = lean_ctor_get(x_54, 3); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_54); x_66 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_60); -lean_ctor_set(x_66, 2, x_61); -lean_ctor_set(x_66, 3, x_62); -x_67 = lean_st_ref_set(x_6, x_66, x_26); +lean_ctor_set(x_66, 0, x_50); +lean_ctor_set(x_66, 1, x_63); +lean_ctor_set(x_66, 2, x_64); +lean_ctor_set(x_66, 3, x_65); +x_67 = lean_st_ref_set(x_6, x_66, x_55); x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); if (lean_is_exclusive(x_67)) { @@ -51976,668 +50808,317 @@ if (lean_is_exclusive(x_67)) { lean_dec_ref(x_67); x_69 = lean_box(0); } -x_70 = lean_box(x_17); if (lean_is_scalar(x_69)) { - x_71 = lean_alloc_ctor(0, 2, 0); + x_70 = lean_alloc_ctor(0, 2, 0); } else { - x_71 = x_69; + x_70 = x_69; +} +lean_ctor_set(x_70, 0, x_49); +lean_ctor_set(x_70, 1, x_68); +return x_70; } -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_68); -return x_71; } } else { -lean_object* x_72; uint8_t x_73; -x_72 = lean_ctor_get(x_22, 1); +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; uint8_t x_80; +lean_dec(x_16); +x_71 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__10(x_2, x_10, x_18); +x_72 = lean_ctor_get(x_71, 1); lean_inc(x_72); -lean_dec(x_22); -x_73 = !lean_is_exclusive(x_19); -if (x_73 == 0) -{ -uint8_t x_74; -x_74 = !lean_is_exclusive(x_23); -if (x_74 == 0) -{ -lean_object* x_75; uint8_t x_76; lean_object* x_77; uint8_t x_78; -x_75 = lean_ctor_get(x_23, 0); +x_73 = lean_ctor_get(x_71, 0); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_st_ref_get(x_8, x_15); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); lean_dec(x_75); -x_76 = 1; -lean_ctor_set_uint8(x_19, sizeof(void*)*8, x_76); -lean_ctor_set(x_23, 0, x_19); -x_77 = lean_st_ref_set(x_6, x_23, x_72); -x_78 = !lean_is_exclusive(x_77); -if (x_78 == 0) -{ -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_77, 0); -lean_dec(x_79); -x_80 = lean_box(x_17); -lean_ctor_set(x_77, 0, x_80); -return x_77; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); +x_77 = lean_st_ref_take(x_6, x_76); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); lean_dec(x_77); -x_82 = lean_box(x_17); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -return x_83; -} +x_80 = !lean_is_exclusive(x_78); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_81 = lean_ctor_get(x_78, 0); +lean_dec(x_81); +lean_ctor_set(x_78, 0, x_74); +x_82 = lean_st_ref_set(x_6, x_78, x_79); +x_83 = !lean_is_exclusive(x_82); +if (x_83 == 0) +{ +lean_object* x_84; +x_84 = lean_ctor_get(x_82, 0); +lean_dec(x_84); +lean_ctor_set(x_82, 0, x_73); +return x_82; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_84 = lean_ctor_get(x_23, 1); -x_85 = lean_ctor_get(x_23, 2); -x_86 = lean_ctor_get(x_23, 3); -lean_inc(x_86); +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_82, 1); lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_23); -x_87 = 1; -lean_ctor_set_uint8(x_19, sizeof(void*)*8, x_87); -x_88 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_88, 0, x_19); -lean_ctor_set(x_88, 1, x_84); -lean_ctor_set(x_88, 2, x_85); -lean_ctor_set(x_88, 3, x_86); -x_89 = lean_st_ref_set(x_6, x_88, x_72); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_91 = x_89; -} else { - lean_dec_ref(x_89); - x_91 = lean_box(0); -} -x_92 = lean_box(x_17); -if (lean_is_scalar(x_91)) { - x_93 = lean_alloc_ctor(0, 2, 0); -} else { - x_93 = x_91; -} -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_90); -return x_93; +lean_dec(x_82); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_73); +lean_ctor_set(x_86, 1, x_85); +return x_86; } } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_94 = lean_ctor_get(x_19, 0); -x_95 = lean_ctor_get(x_19, 1); -x_96 = lean_ctor_get(x_19, 2); -x_97 = lean_ctor_get(x_19, 3); -x_98 = lean_ctor_get(x_19, 4); -x_99 = lean_ctor_get(x_19, 5); -x_100 = lean_ctor_get(x_19, 6); -x_101 = lean_ctor_get(x_19, 7); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); +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_87 = lean_ctor_get(x_78, 1); +x_88 = lean_ctor_get(x_78, 2); +x_89 = lean_ctor_get(x_78, 3); +lean_inc(x_89); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_78); +x_90 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_90, 0, x_74); +lean_ctor_set(x_90, 1, x_87); +lean_ctor_set(x_90, 2, x_88); +lean_ctor_set(x_90, 3, x_89); +x_91 = lean_st_ref_set(x_6, x_90, x_79); +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_93 = x_91; +} else { + lean_dec_ref(x_91); + x_93 = lean_box(0); +} +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(0, 2, 0); +} else { + x_94 = x_93; +} +lean_ctor_set(x_94, 0, x_73); +lean_ctor_set(x_94, 1, x_92); +return x_94; +} +} +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; lean_object* x_104; uint8_t x_130; lean_object* x_131; lean_object* x_144; lean_object* x_145; uint8_t x_146; +x_95 = lean_ctor_get(x_1, 3); lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_19); -x_102 = lean_ctor_get(x_23, 1); +x_96 = lean_ctor_get(x_1, 4); +lean_inc(x_96); +lean_dec(x_1); +x_97 = lean_st_ref_get(x_8, x_9); +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +lean_dec(x_97); +x_99 = lean_st_ref_get(x_6, x_98); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +x_102 = lean_ctor_get(x_100, 0); lean_inc(x_102); -x_103 = lean_ctor_get(x_23, 2); -lean_inc(x_103); -x_104 = lean_ctor_get(x_23, 3); -lean_inc(x_104); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - lean_ctor_release(x_23, 2); - lean_ctor_release(x_23, 3); - x_105 = x_23; -} else { - lean_dec_ref(x_23); - x_105 = lean_box(0); +lean_dec(x_100); +x_144 = l_Lean_localDeclDependsOn___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__1___closed__1; +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_102); +x_146 = l_Lean_Expr_hasFVar(x_95); +if (x_146 == 0) +{ +uint8_t x_147; +x_147 = l_Lean_Expr_hasMVar(x_95); +if (x_147 == 0) +{ +uint8_t x_148; +lean_dec(x_95); +x_148 = 0; +x_130 = x_148; +x_131 = x_145; +goto block_143; } -x_106 = 1; -x_107 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_107, 0, x_94); -lean_ctor_set(x_107, 1, x_95); -lean_ctor_set(x_107, 2, x_96); -lean_ctor_set(x_107, 3, x_97); -lean_ctor_set(x_107, 4, x_98); -lean_ctor_set(x_107, 5, x_99); -lean_ctor_set(x_107, 6, x_100); -lean_ctor_set(x_107, 7, x_101); -lean_ctor_set_uint8(x_107, sizeof(void*)*8, x_106); -if (lean_is_scalar(x_105)) { - x_108 = lean_alloc_ctor(0, 4, 0); -} else { - x_108 = x_105; +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_149 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__34(x_2, x_95, x_145); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +x_152 = lean_unbox(x_150); +lean_dec(x_150); +x_130 = x_152; +x_131 = x_151; +goto block_143; } -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_102); -lean_ctor_set(x_108, 2, x_103); -lean_ctor_set(x_108, 3, x_104); -x_109 = lean_st_ref_set(x_6, x_108, x_72); -x_110 = lean_ctor_get(x_109, 1); +} +else +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +x_153 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__42(x_2, x_95, x_145); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = lean_unbox(x_154); +lean_dec(x_154); +x_130 = x_156; +x_131 = x_155; +goto block_143; +} +block_129: +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +lean_dec(x_104); +x_106 = lean_st_ref_get(x_8, x_101); +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +lean_dec(x_106); +x_108 = lean_st_ref_take(x_6, x_107); +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 1); lean_inc(x_110); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_111 = x_109; -} else { - lean_dec_ref(x_109); - x_111 = lean_box(0); -} -x_112 = lean_box(x_17); -if (lean_is_scalar(x_111)) { - x_113 = lean_alloc_ctor(0, 2, 0); -} else { - x_113 = x_111; -} -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_110); +lean_dec(x_108); +x_111 = !lean_is_exclusive(x_109); +if (x_111 == 0) +{ +lean_object* x_112; lean_object* x_113; uint8_t x_114; +x_112 = lean_ctor_get(x_109, 0); +lean_dec(x_112); +lean_ctor_set(x_109, 0, x_105); +x_113 = lean_st_ref_set(x_6, x_109, x_110); +x_114 = !lean_is_exclusive(x_113); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; +x_115 = lean_ctor_get(x_113, 0); +lean_dec(x_115); +x_116 = lean_box(x_103); +lean_ctor_set(x_113, 0, x_116); return x_113; } -} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_113, 1); +lean_inc(x_117); +lean_dec(x_113); +x_118 = lean_box(x_103); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_117); +return x_119; } } else { -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; uint8_t x_136; lean_object* x_137; uint8_t x_234; lean_object* x_235; lean_object* x_248; lean_object* x_249; uint8_t x_250; -x_128 = lean_ctor_get(x_1, 3); -lean_inc(x_128); -x_129 = lean_ctor_get(x_1, 4); -lean_inc(x_129); -lean_dec(x_1); -x_130 = lean_st_ref_get(x_8, x_9); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec(x_130); -x_132 = lean_st_ref_get(x_6, x_131); -x_133 = lean_ctor_get(x_132, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_132, 1); -lean_inc(x_134); -lean_dec(x_132); -x_135 = lean_ctor_get(x_133, 0); -lean_inc(x_135); -lean_dec(x_133); -x_248 = l_Lean_localDeclDependsOn___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__1___closed__1; -x_249 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_135); -x_250 = l_Lean_Expr_hasFVar(x_128); -if (x_250 == 0) +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_120 = lean_ctor_get(x_109, 1); +x_121 = lean_ctor_get(x_109, 2); +x_122 = lean_ctor_get(x_109, 3); +lean_inc(x_122); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_109); +x_123 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_123, 0, x_105); +lean_ctor_set(x_123, 1, x_120); +lean_ctor_set(x_123, 2, x_121); +lean_ctor_set(x_123, 3, x_122); +x_124 = lean_st_ref_set(x_6, x_123, x_110); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_126 = x_124; +} else { + lean_dec_ref(x_124); + x_126 = lean_box(0); +} +x_127 = lean_box(x_103); +if (lean_is_scalar(x_126)) { + x_128 = lean_alloc_ctor(0, 2, 0); +} else { + x_128 = x_126; +} +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_125); +return x_128; +} +} +block_143: { -uint8_t x_251; -x_251 = l_Lean_Expr_hasMVar(x_128); -if (x_251 == 0) +if (x_130 == 0) { -uint8_t x_252; -lean_dec(x_128); -x_252 = 0; -x_234 = x_252; -x_235 = x_249; -goto block_247; +uint8_t x_132; +x_132 = l_Lean_Expr_hasFVar(x_96); +if (x_132 == 0) +{ +uint8_t x_133; +x_133 = l_Lean_Expr_hasMVar(x_96); +if (x_133 == 0) +{ +uint8_t x_134; +lean_dec(x_96); +x_134 = 0; +x_103 = x_134; +x_104 = x_131; +goto block_129; } else { -lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; -x_253 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__34(x_2, x_128, x_249); -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_256 = lean_unbox(x_254); -lean_dec(x_254); -x_234 = x_256; -x_235 = x_255; -goto block_247; +lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; +x_135 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__18(x_2, x_96, x_131); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_138 = lean_unbox(x_136); +lean_dec(x_136); +x_103 = x_138; +x_104 = x_137; +goto block_129; } } else { -lean_object* x_257; lean_object* x_258; lean_object* x_259; uint8_t x_260; -x_257 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__42(x_2, x_128, x_249); -x_258 = lean_ctor_get(x_257, 0); -lean_inc(x_258); -x_259 = lean_ctor_get(x_257, 1); -lean_inc(x_259); -lean_dec(x_257); -x_260 = lean_unbox(x_258); -lean_dec(x_258); -x_234 = x_260; -x_235 = x_259; -goto block_247; -} -block_233: -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; -x_138 = lean_ctor_get(x_137, 1); -lean_inc(x_138); -lean_dec(x_137); -x_139 = lean_st_ref_get(x_8, x_134); -x_140 = lean_ctor_get(x_139, 1); +lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; +x_139 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__26(x_2, x_96, x_131); +x_140 = lean_ctor_get(x_139, 0); lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); lean_dec(x_139); -x_141 = lean_st_ref_take(x_6, x_140); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get_uint8(x_138, sizeof(void*)*8); -if (x_143 == 0) -{ -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; uint8_t x_154; -x_144 = lean_ctor_get(x_142, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_141, 1); -lean_inc(x_145); -lean_dec(x_141); -x_146 = lean_ctor_get(x_138, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_138, 1); -lean_inc(x_147); -x_148 = lean_ctor_get(x_138, 2); -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_inc(x_150); -x_151 = lean_ctor_get(x_138, 5); -lean_inc(x_151); -x_152 = lean_ctor_get(x_138, 6); -lean_inc(x_152); -x_153 = lean_ctor_get(x_138, 7); -lean_inc(x_153); -lean_dec(x_138); -x_154 = !lean_is_exclusive(x_142); -if (x_154 == 0) -{ -lean_object* x_155; uint8_t x_156; -x_155 = lean_ctor_get(x_142, 0); -lean_dec(x_155); -x_156 = !lean_is_exclusive(x_144); -if (x_156 == 0) -{ -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; uint8_t x_166; -x_157 = lean_ctor_get(x_144, 7); -lean_dec(x_157); -x_158 = lean_ctor_get(x_144, 6); -lean_dec(x_158); -x_159 = lean_ctor_get(x_144, 5); -lean_dec(x_159); -x_160 = lean_ctor_get(x_144, 4); -lean_dec(x_160); -x_161 = lean_ctor_get(x_144, 3); -lean_dec(x_161); -x_162 = lean_ctor_get(x_144, 2); -lean_dec(x_162); -x_163 = lean_ctor_get(x_144, 1); -lean_dec(x_163); -x_164 = lean_ctor_get(x_144, 0); -lean_dec(x_164); -lean_ctor_set(x_144, 7, x_153); -lean_ctor_set(x_144, 6, x_152); -lean_ctor_set(x_144, 5, x_151); -lean_ctor_set(x_144, 4, x_150); -lean_ctor_set(x_144, 3, x_149); -lean_ctor_set(x_144, 2, x_148); -lean_ctor_set(x_144, 1, x_147); -lean_ctor_set(x_144, 0, x_146); -x_165 = lean_st_ref_set(x_6, x_142, x_145); -x_166 = !lean_is_exclusive(x_165); -if (x_166 == 0) -{ -lean_object* x_167; lean_object* x_168; -x_167 = lean_ctor_get(x_165, 0); -lean_dec(x_167); -x_168 = lean_box(x_136); -lean_ctor_set(x_165, 0, x_168); -return x_165; -} -else -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_165, 1); -lean_inc(x_169); -lean_dec(x_165); -x_170 = lean_box(x_136); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -return x_171; +x_142 = lean_unbox(x_140); +lean_dec(x_140); +x_103 = x_142; +x_104 = x_141; +goto block_129; } } else { -uint8_t x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_172 = lean_ctor_get_uint8(x_144, sizeof(void*)*8); -lean_dec(x_144); -x_173 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_173, 0, x_146); -lean_ctor_set(x_173, 1, x_147); -lean_ctor_set(x_173, 2, x_148); -lean_ctor_set(x_173, 3, x_149); -lean_ctor_set(x_173, 4, x_150); -lean_ctor_set(x_173, 5, x_151); -lean_ctor_set(x_173, 6, x_152); -lean_ctor_set(x_173, 7, x_153); -lean_ctor_set_uint8(x_173, sizeof(void*)*8, x_172); -lean_ctor_set(x_142, 0, x_173); -x_174 = lean_st_ref_set(x_6, x_142, x_145); -x_175 = lean_ctor_get(x_174, 1); -lean_inc(x_175); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - lean_ctor_release(x_174, 1); - x_176 = x_174; -} else { - lean_dec_ref(x_174); - x_176 = lean_box(0); -} -x_177 = lean_box(x_136); -if (lean_is_scalar(x_176)) { - x_178 = lean_alloc_ctor(0, 2, 0); -} else { - x_178 = x_176; -} -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_175); -return x_178; -} -} -else -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t 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; -x_179 = lean_ctor_get(x_142, 1); -x_180 = lean_ctor_get(x_142, 2); -x_181 = lean_ctor_get(x_142, 3); -lean_inc(x_181); -lean_inc(x_180); -lean_inc(x_179); -lean_dec(x_142); -x_182 = lean_ctor_get_uint8(x_144, sizeof(void*)*8); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - lean_ctor_release(x_144, 2); - lean_ctor_release(x_144, 3); - lean_ctor_release(x_144, 4); - lean_ctor_release(x_144, 5); - lean_ctor_release(x_144, 6); - lean_ctor_release(x_144, 7); - x_183 = x_144; -} else { - lean_dec_ref(x_144); - x_183 = lean_box(0); -} -if (lean_is_scalar(x_183)) { - x_184 = lean_alloc_ctor(0, 8, 1); -} else { - x_184 = x_183; -} -lean_ctor_set(x_184, 0, x_146); -lean_ctor_set(x_184, 1, x_147); -lean_ctor_set(x_184, 2, x_148); -lean_ctor_set(x_184, 3, x_149); -lean_ctor_set(x_184, 4, x_150); -lean_ctor_set(x_184, 5, x_151); -lean_ctor_set(x_184, 6, x_152); -lean_ctor_set(x_184, 7, x_153); -lean_ctor_set_uint8(x_184, sizeof(void*)*8, x_182); -x_185 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_179); -lean_ctor_set(x_185, 2, x_180); -lean_ctor_set(x_185, 3, x_181); -x_186 = lean_st_ref_set(x_6, x_185, x_145); -x_187 = lean_ctor_get(x_186, 1); -lean_inc(x_187); -if (lean_is_exclusive(x_186)) { - lean_ctor_release(x_186, 0); - lean_ctor_release(x_186, 1); - x_188 = x_186; -} else { - lean_dec_ref(x_186); - x_188 = lean_box(0); -} -x_189 = lean_box(x_136); -if (lean_is_scalar(x_188)) { - x_190 = lean_alloc_ctor(0, 2, 0); -} else { - x_190 = x_188; -} -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_187); -return x_190; -} -} -else -{ -lean_object* x_191; uint8_t x_192; -x_191 = lean_ctor_get(x_141, 1); -lean_inc(x_191); -lean_dec(x_141); -x_192 = !lean_is_exclusive(x_138); -if (x_192 == 0) -{ -uint8_t x_193; -x_193 = !lean_is_exclusive(x_142); -if (x_193 == 0) -{ -lean_object* x_194; uint8_t x_195; lean_object* x_196; uint8_t x_197; -x_194 = lean_ctor_get(x_142, 0); -lean_dec(x_194); -x_195 = 1; -lean_ctor_set_uint8(x_138, sizeof(void*)*8, x_195); -lean_ctor_set(x_142, 0, x_138); -x_196 = lean_st_ref_set(x_6, x_142, x_191); -x_197 = !lean_is_exclusive(x_196); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; -x_198 = lean_ctor_get(x_196, 0); -lean_dec(x_198); -x_199 = lean_box(x_136); -lean_ctor_set(x_196, 0, x_199); -return x_196; -} -else -{ -lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_200 = lean_ctor_get(x_196, 1); -lean_inc(x_200); -lean_dec(x_196); -x_201 = lean_box(x_136); -x_202 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_200); -return x_202; -} -} -else -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t 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; -x_203 = lean_ctor_get(x_142, 1); -x_204 = lean_ctor_get(x_142, 2); -x_205 = lean_ctor_get(x_142, 3); -lean_inc(x_205); -lean_inc(x_204); -lean_inc(x_203); -lean_dec(x_142); -x_206 = 1; -lean_ctor_set_uint8(x_138, sizeof(void*)*8, x_206); -x_207 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_207, 0, x_138); -lean_ctor_set(x_207, 1, x_203); -lean_ctor_set(x_207, 2, x_204); -lean_ctor_set(x_207, 3, x_205); -x_208 = lean_st_ref_set(x_6, x_207, x_191); -x_209 = lean_ctor_get(x_208, 1); -lean_inc(x_209); -if (lean_is_exclusive(x_208)) { - lean_ctor_release(x_208, 0); - lean_ctor_release(x_208, 1); - x_210 = x_208; -} else { - lean_dec_ref(x_208); - x_210 = lean_box(0); -} -x_211 = lean_box(x_136); -if (lean_is_scalar(x_210)) { - x_212 = lean_alloc_ctor(0, 2, 0); -} else { - x_212 = x_210; -} -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_209); -return x_212; -} -} -else -{ -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_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t 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; -x_213 = lean_ctor_get(x_138, 0); -x_214 = lean_ctor_get(x_138, 1); -x_215 = lean_ctor_get(x_138, 2); -x_216 = lean_ctor_get(x_138, 3); -x_217 = lean_ctor_get(x_138, 4); -x_218 = lean_ctor_get(x_138, 5); -x_219 = lean_ctor_get(x_138, 6); -x_220 = lean_ctor_get(x_138, 7); -lean_inc(x_220); -lean_inc(x_219); -lean_inc(x_218); -lean_inc(x_217); -lean_inc(x_216); -lean_inc(x_215); -lean_inc(x_214); -lean_inc(x_213); -lean_dec(x_138); -x_221 = lean_ctor_get(x_142, 1); -lean_inc(x_221); -x_222 = lean_ctor_get(x_142, 2); -lean_inc(x_222); -x_223 = lean_ctor_get(x_142, 3); -lean_inc(x_223); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - lean_ctor_release(x_142, 2); - lean_ctor_release(x_142, 3); - x_224 = x_142; -} else { - lean_dec_ref(x_142); - x_224 = lean_box(0); -} -x_225 = 1; -x_226 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_226, 0, x_213); -lean_ctor_set(x_226, 1, x_214); -lean_ctor_set(x_226, 2, x_215); -lean_ctor_set(x_226, 3, x_216); -lean_ctor_set(x_226, 4, x_217); -lean_ctor_set(x_226, 5, x_218); -lean_ctor_set(x_226, 6, x_219); -lean_ctor_set(x_226, 7, x_220); -lean_ctor_set_uint8(x_226, sizeof(void*)*8, x_225); -if (lean_is_scalar(x_224)) { - x_227 = lean_alloc_ctor(0, 4, 0); -} else { - x_227 = x_224; -} -lean_ctor_set(x_227, 0, x_226); -lean_ctor_set(x_227, 1, x_221); -lean_ctor_set(x_227, 2, x_222); -lean_ctor_set(x_227, 3, x_223); -x_228 = lean_st_ref_set(x_6, x_227, x_191); -x_229 = lean_ctor_get(x_228, 1); -lean_inc(x_229); -if (lean_is_exclusive(x_228)) { - lean_ctor_release(x_228, 0); - lean_ctor_release(x_228, 1); - x_230 = x_228; -} else { - lean_dec_ref(x_228); - x_230 = lean_box(0); -} -x_231 = lean_box(x_136); -if (lean_is_scalar(x_230)) { - x_232 = lean_alloc_ctor(0, 2, 0); -} else { - x_232 = x_230; -} -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_229); -return x_232; -} -} -} -block_247: -{ -if (x_234 == 0) -{ -uint8_t x_236; -x_236 = l_Lean_Expr_hasFVar(x_129); -if (x_236 == 0) -{ -uint8_t x_237; -x_237 = l_Lean_Expr_hasMVar(x_129); -if (x_237 == 0) -{ -uint8_t x_238; -lean_dec(x_129); -x_238 = 0; -x_136 = x_238; -x_137 = x_235; -goto block_233; -} -else -{ -lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; -x_239 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__18(x_2, x_129, x_235); -x_240 = lean_ctor_get(x_239, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_239, 1); -lean_inc(x_241); -lean_dec(x_239); -x_242 = lean_unbox(x_240); -lean_dec(x_240); -x_136 = x_242; -x_137 = x_241; -goto block_233; -} -} -else -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; -x_243 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__26(x_2, x_129, x_235); -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_243, 1); -lean_inc(x_245); -lean_dec(x_243); -x_246 = lean_unbox(x_244); -lean_dec(x_244); -x_136 = x_246; -x_137 = x_245; -goto block_233; -} -} -else -{ -lean_dec(x_129); -x_136 = x_234; -x_137 = x_235; -goto block_233; +lean_dec(x_96); +x_103 = x_130; +x_104 = x_131; +goto block_129; } } } @@ -54179,7 +52660,7 @@ lean_dec(x_3); return x_10; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858____closed__1() { _start: { lean_object* x_1; @@ -54187,21 +52668,21 @@ x_1 = lean_mk_string_from_bytes("letrec", 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__11; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833____closed__2; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -54218,94 +52699,37 @@ x_11 = lean_st_ref_get(x_5, x_10); x_12 = !lean_is_exclusive(x_11); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); lean_dec(x_13); -x_16 = lean_ctor_get(x_15, 7); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_16, x_1); -if (lean_obj_tag(x_17) == 0) -{ -lean_ctor_set(x_11, 0, x_17); +x_15 = lean_ctor_get(x_14, 7); +lean_inc(x_15); +lean_dec(x_14); +x_16 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_15, x_1); +lean_ctor_set(x_11, 0, x_16); return x_11; } else { -lean_object* x_18; uint8_t x_19; -lean_free_object(x_11); -x_18 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(x_5, x_6, x_7, x_14); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_18, 0); -lean_dec(x_20); -lean_ctor_set(x_18, 0, x_17); -return x_18; -} -else -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -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 -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_11, 0); -x_24 = lean_ctor_get(x_11, 1); -lean_inc(x_24); -lean_inc(x_23); +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_11, 0); +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); +lean_inc(x_17); lean_dec(x_11); -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_ctor_get(x_25, 7); -lean_inc(x_26); -lean_dec(x_25); -x_27 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_26, x_1); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_24); -return x_28; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = l_Lean_markUsedAssignment___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___rarg(x_5, x_6, x_7, x_24); -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - x_31 = x_29; -} else { - lean_dec_ref(x_29); - x_31 = lean_box(0); -} -if (lean_is_scalar(x_31)) { - x_32 = lean_alloc_ctor(0, 2, 0); -} else { - x_32 = x_31; -} -lean_ctor_set(x_32, 0, x_27); -lean_ctor_set(x_32, 1, x_30); -return x_32; -} +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_19, 7); +lean_inc(x_20); +lean_dec(x_19); +x_21 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_20, x_1); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_18); +return x_22; } } } @@ -54644,7 +53068,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_isLetRecAuxMVar(lean_object* x_1, lean _start: { lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_9 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833____closed__2; +x_9 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858____closed__2; x_38 = lean_st_ref_get(x_7, x_8); x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); @@ -58910,7 +57334,7 @@ x_19 = l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__4; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_21 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -59351,7 +57775,7 @@ x_32 = l_Lean_Elab_Term_resolveName___closed__4; x_33 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_33, 0, x_31); lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +x_34 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_25); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -62402,23 +60826,21 @@ return x_6; static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__13; x_3 = l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__10; x_4 = l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__2; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__7() { @@ -63075,7 +61497,7 @@ x_34 = l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__4; x_35 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_36 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13); x_37 = !lean_is_exclusive(x_36); if (x_37 == 0) { @@ -63444,7 +61866,7 @@ x_18 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___sp x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_20 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -63530,7 +61952,7 @@ x_20 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___sp x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); -x_22 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_22 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_11); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -63572,7 +61994,7 @@ x_31 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___sp x_32 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); -x_33 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_33 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_11); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -64377,7 +62799,7 @@ x_30 = l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__4; x_31 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_31, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_32 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_31, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -64454,7 +62876,7 @@ x_21 = l_Lean_Elab_Term_MVarErrorInfo_logError_addArgName___closed__4; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_23 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -64566,7 +62988,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_18 = l_Lean_Elab_mkDeclName___at_Lean_Elab_Term_expandDeclId___spec__2___closed__4; -x_19 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_19 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -65411,7 +63833,7 @@ x_22 = l_Lean_Elab_Term_expandDeclId___closed__2; x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +x_24 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_15); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -65480,7 +63902,7 @@ x_38 = l_Lean_Elab_Term_expandDeclId___closed__2; x_39 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_39, 0, x_37); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__4(x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_30); +x_40 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_39, x_5, x_6, x_7, x_8, x_9, x_10, x_30); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -65782,48 +64204,45 @@ lean_dec(x_17); x_18 = !lean_is_exclusive(x_14); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; uint8_t x_23; +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; x_19 = lean_ctor_get(x_14, 6); x_20 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_19, x_1, x_2); -x_21 = 1; lean_ctor_set(x_14, 6, x_20); -lean_ctor_set_uint8(x_14, sizeof(void*)*8, x_21); -x_22 = lean_st_ref_set(x_6, x_13, x_15); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +x_21 = lean_st_ref_set(x_6, x_13, x_15); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -x_25 = lean_box(0); -lean_ctor_set(x_22, 0, x_25); -return x_22; +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +x_24 = lean_box(0); +lean_ctor_set(x_21, 0, x_24); +return x_21; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); -lean_dec(x_22); -x_27 = lean_box(0); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -return x_28; +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_dec(x_21); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; } } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_29 = lean_ctor_get(x_14, 0); -x_30 = lean_ctor_get(x_14, 1); -x_31 = lean_ctor_get(x_14, 2); -x_32 = lean_ctor_get(x_14, 3); -x_33 = lean_ctor_get(x_14, 4); -x_34 = lean_ctor_get(x_14, 5); -x_35 = lean_ctor_get(x_14, 6); -x_36 = lean_ctor_get(x_14, 7); -lean_inc(x_36); +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; lean_object* x_42; +x_28 = lean_ctor_get(x_14, 0); +x_29 = lean_ctor_get(x_14, 1); +x_30 = lean_ctor_get(x_14, 2); +x_31 = lean_ctor_get(x_14, 3); +x_32 = lean_ctor_get(x_14, 4); +x_33 = lean_ctor_get(x_14, 5); +x_34 = lean_ctor_get(x_14, 6); +x_35 = lean_ctor_get(x_14, 7); lean_inc(x_35); lean_inc(x_34); lean_inc(x_33); @@ -65831,68 +64250,67 @@ lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); +lean_inc(x_28); lean_dec(x_14); -x_37 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_35, x_1, x_2); -x_38 = 1; -x_39 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_39, 0, x_29); -lean_ctor_set(x_39, 1, x_30); -lean_ctor_set(x_39, 2, x_31); -lean_ctor_set(x_39, 3, x_32); -lean_ctor_set(x_39, 4, x_33); -lean_ctor_set(x_39, 5, x_34); -lean_ctor_set(x_39, 6, x_37); -lean_ctor_set(x_39, 7, x_36); -lean_ctor_set_uint8(x_39, sizeof(void*)*8, x_38); -lean_ctor_set(x_13, 0, x_39); -x_40 = lean_st_ref_set(x_6, x_13, x_15); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); +x_36 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_34, x_1, x_2); +x_37 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_37, 0, x_28); +lean_ctor_set(x_37, 1, x_29); +lean_ctor_set(x_37, 2, x_30); +lean_ctor_set(x_37, 3, x_31); +lean_ctor_set(x_37, 4, x_32); +lean_ctor_set(x_37, 5, x_33); +lean_ctor_set(x_37, 6, x_36); +lean_ctor_set(x_37, 7, x_35); +lean_ctor_set(x_13, 0, x_37); +x_38 = lean_st_ref_set(x_6, x_13, x_15); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_40 = x_38; +} else { + lean_dec_ref(x_38); + x_40 = lean_box(0); +} +x_41 = lean_box(0); +if (lean_is_scalar(x_40)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { x_42 = x_40; -} else { - lean_dec_ref(x_40); - x_42 = lean_box(0); } -x_43 = lean_box(0); -if (lean_is_scalar(x_42)) { - x_44 = lean_alloc_ctor(0, 2, 0); -} else { - x_44 = x_42; -} -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_41); -return x_44; +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_39); +return x_42; } } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t 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; -x_45 = lean_ctor_get(x_13, 1); -x_46 = lean_ctor_get(x_13, 2); -x_47 = lean_ctor_get(x_13, 3); -lean_inc(x_47); -lean_inc(x_46); +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; lean_object* x_61; lean_object* x_62; +x_43 = lean_ctor_get(x_13, 1); +x_44 = lean_ctor_get(x_13, 2); +x_45 = lean_ctor_get(x_13, 3); lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_13); -x_48 = lean_ctor_get(x_14, 0); +x_46 = lean_ctor_get(x_14, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_14, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_14, 2); lean_inc(x_48); -x_49 = lean_ctor_get(x_14, 1); +x_49 = lean_ctor_get(x_14, 3); lean_inc(x_49); -x_50 = lean_ctor_get(x_14, 2); +x_50 = lean_ctor_get(x_14, 4); lean_inc(x_50); -x_51 = lean_ctor_get(x_14, 3); +x_51 = lean_ctor_get(x_14, 5); lean_inc(x_51); -x_52 = lean_ctor_get(x_14, 4); +x_52 = lean_ctor_get(x_14, 6); lean_inc(x_52); -x_53 = lean_ctor_get(x_14, 5); +x_53 = lean_ctor_get(x_14, 7); lean_inc(x_53); -x_54 = lean_ctor_get(x_14, 6); -lean_inc(x_54); -x_55 = lean_ctor_get(x_14, 7); -lean_inc(x_55); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); @@ -65902,52 +64320,50 @@ if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 5); lean_ctor_release(x_14, 6); lean_ctor_release(x_14, 7); - x_56 = x_14; + x_54 = x_14; } else { lean_dec_ref(x_14); - x_56 = lean_box(0); + x_54 = lean_box(0); } -x_57 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_54, x_1, x_2); -x_58 = 1; -if (lean_is_scalar(x_56)) { - x_59 = lean_alloc_ctor(0, 8, 1); +x_55 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_52, x_1, x_2); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 8, 0); } else { - x_59 = x_56; + x_56 = x_54; } -lean_ctor_set(x_59, 0, x_48); -lean_ctor_set(x_59, 1, x_49); -lean_ctor_set(x_59, 2, x_50); -lean_ctor_set(x_59, 3, x_51); -lean_ctor_set(x_59, 4, x_52); -lean_ctor_set(x_59, 5, x_53); -lean_ctor_set(x_59, 6, x_57); -lean_ctor_set(x_59, 7, x_55); -lean_ctor_set_uint8(x_59, sizeof(void*)*8, x_58); -x_60 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_45); -lean_ctor_set(x_60, 2, x_46); -lean_ctor_set(x_60, 3, x_47); -x_61 = lean_st_ref_set(x_6, x_60, x_15); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_63 = x_61; +lean_ctor_set(x_56, 0, x_46); +lean_ctor_set(x_56, 1, x_47); +lean_ctor_set(x_56, 2, x_48); +lean_ctor_set(x_56, 3, x_49); +lean_ctor_set(x_56, 4, x_50); +lean_ctor_set(x_56, 5, x_51); +lean_ctor_set(x_56, 6, x_55); +lean_ctor_set(x_56, 7, x_53); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_43); +lean_ctor_set(x_57, 2, x_44); +lean_ctor_set(x_57, 3, x_45); +x_58 = lean_st_ref_set(x_6, x_57, x_15); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_60 = x_58; } else { - lean_dec_ref(x_61); - x_63 = lean_box(0); + lean_dec_ref(x_58); + x_60 = lean_box(0); } -x_64 = lean_box(0); -if (lean_is_scalar(x_63)) { - x_65 = lean_alloc_ctor(0, 2, 0); +x_61 = lean_box(0); +if (lean_is_scalar(x_60)) { + x_62 = lean_alloc_ctor(0, 2, 0); } else { - x_65 = x_63; + x_62 = x_60; } -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_62); -return x_65; +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +return x_62; } } } @@ -66257,7 +64673,7 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Elab_withoutModifyingStateWithInfoAndMes return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680____closed__1() { _start: { lean_object* x_1; @@ -66265,17 +64681,17 @@ x_1 = lean_mk_string_from_bytes("debug", 5); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__11; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -66295,7 +64711,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); -x_8 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655____closed__2; +x_8 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680____closed__2; x_9 = l_Lean_registerTraceClass(x_8, x_7); return x_9; } @@ -66704,7 +65120,9 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_termElabAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_termElabAttribute); lean_dec_ref(res); -}l_Lean_Elab_Term_throwErrorIfErrors___closed__1 = _init_l_Lean_Elab_Term_throwErrorIfErrors___closed__1(); +}l_Lean_Elab_Term_withoutErrToSorry___rarg___closed__1 = _init_l_Lean_Elab_Term_withoutErrToSorry___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_withoutErrToSorry___rarg___closed__1); +l_Lean_Elab_Term_throwErrorIfErrors___closed__1 = _init_l_Lean_Elab_Term_throwErrorIfErrors___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_throwErrorIfErrors___closed__1); l_Lean_Elab_Term_throwErrorIfErrors___closed__2 = _init_l_Lean_Elab_Term_throwErrorIfErrors___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_throwErrorIfErrors___closed__2); @@ -66820,8 +65238,8 @@ l_Lean_Elab_Term_mkTypeMismatchError___closed__5 = _init_l_Lean_Elab_Term_mkType lean_mark_persistent(l_Lean_Elab_Term_mkTypeMismatchError___closed__5); l_Lean_Elab_Term_mkTypeMismatchError___closed__6 = _init_l_Lean_Elab_Term_mkTypeMismatchError___closed__6(); lean_mark_persistent(l_Lean_Elab_Term_mkTypeMismatchError___closed__6); -l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___closed__1 = _init_l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___closed__1(); -lean_mark_persistent(l_Lean_markUsedAssignment___at_Lean_Elab_Term_ContainsPendingMVar_visit___spec__3___rarg___closed__1); +l_Lean_Elab_Term_ContainsPendingMVar_visit___closed__1 = _init_l_Lean_Elab_Term_ContainsPendingMVar_visit___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_ContainsPendingMVar_visit___closed__1); l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__2___closed__1 = _init_l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__2___closed__1); l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__2___closed__2 = _init_l_Lean_Elab_Term_synthesizeInstMVarCore___lambda__2___closed__2(); @@ -66852,28 +65270,28 @@ l_Lean_Elab_Term_synthesizeInstMVarCore___closed__4 = _init_l_Lean_Elab_Term_syn lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__4); l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5 = _init_l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5(); lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853____closed__4); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5853_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878____closed__4); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5878_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_autoLift = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_autoLift); lean_dec_ref(res); -}l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880____closed__4); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5880_(lean_io_mk_world()); +}l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905____closed__4); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5905_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_maxCoeSize = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_maxCoeSize); @@ -67151,11 +65569,11 @@ l_Lean_Elab_Term_mkAuxName___closed__1 = _init_l_Lean_Elab_Term_mkAuxName___clos lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__1); l_Lean_Elab_Term_mkAuxName___closed__2 = _init_l_Lean_Elab_Term_mkAuxName___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833____closed__2); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13833_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858____closed__2); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13858_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1(); @@ -67334,11 +65752,11 @@ l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__4 = _init_l_Lean_Elab_Term_e lean_mark_persistent(l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__4); l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__5 = _init_l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__5(); lean_mark_persistent(l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__5); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655____closed__2); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16655_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680____closed__2); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16680_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Message.c b/stage0/stdlib/Lean/Message.c index 4383c55a2c..1b8e9d50f1 100644 --- a/stage0/stdlib/Lean/Message.c +++ b/stage0/stdlib/Lean/Message.c @@ -1179,23 +1179,21 @@ return x_3; static lean_object* _init_l_Lean_MessageData_instantiateMVars___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_MessageData_instantiateMVars___closed__3; x_3 = l_Lean_MessageData_instantiateMVars___closed__4; x_4 = l_Lean_MessageData_instantiateMVars___closed__5; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } LEAN_EXPORT lean_object* l_Lean_MessageData_instantiateMVars(lean_object* x_1) { diff --git a/stage0/stdlib/Lean/Meta/AbstractMVars.c b/stage0/stdlib/Lean/Meta/AbstractMVars.c index 004e1d1723..de5c5f2522 100644 --- a/stage0/stdlib/Lean/Meta/AbstractMVars.c +++ b/stage0/stdlib/Lean/Meta/AbstractMVars.c @@ -3388,7 +3388,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Meta_abstractMVars(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 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_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; x_7 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); @@ -3414,39 +3414,55 @@ x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - x_20 = x_17; -} else { - lean_dec_ref(x_17); - x_20 = lean_box(0); -} -x_21 = lean_ctor_get(x_18, 2); -lean_inc(x_21); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 2); +lean_inc(x_20); lean_dec(x_18); -x_22 = lean_unsigned_to_nat(0u); -x_23 = l_Lean_Meta_instInhabitedAbstractMVarsResult___closed__1; -x_24 = l_Lean_Meta_abstractMVars___closed__1; +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_Lean_Meta_instInhabitedAbstractMVarsResult___closed__1; +x_23 = l_Lean_Meta_abstractMVars___closed__1; lean_inc(x_16); -x_25 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_25, 0, x_21); -lean_ctor_set(x_25, 1, x_16); -lean_ctor_set(x_25, 2, x_15); -lean_ctor_set(x_25, 3, x_22); -lean_ctor_set(x_25, 4, x_23); -lean_ctor_set(x_25, 5, x_23); -lean_ctor_set(x_25, 6, x_24); -lean_ctor_set(x_25, 7, x_24); -x_26 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_8, x_25); -x_27 = lean_ctor_get(x_26, 0); +x_24 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_24, 0, x_20); +lean_ctor_set(x_24, 1, x_16); +lean_ctor_set(x_24, 2, x_15); +lean_ctor_set(x_24, 3, x_21); +lean_ctor_set(x_24, 4, x_22); +lean_ctor_set(x_24, 5, x_22); +lean_ctor_set(x_24, 6, x_23); +lean_ctor_set(x_24, 7, x_23); +x_25 = l_Lean_Meta_AbstractMVars_abstractExprMVars(x_8, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +lean_dec(x_25); +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_dec(x_26); -x_38 = lean_ctor_get(x_28, 0); +x_29 = lean_st_ref_take(x_5, x_19); +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_is_exclusive(x_30); +if (x_32 == 0) +{ +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; uint8_t x_42; +x_33 = lean_ctor_get(x_30, 2); +lean_dec(x_33); +lean_ctor_set(x_30, 2, x_28); +x_34 = lean_st_ref_set(x_5, x_30, x_31); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_ctor_get(x_27, 2); +lean_inc(x_36); +x_37 = lean_st_ref_get(x_5, x_35); +x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); -x_39 = lean_st_ref_take(x_5, x_19); +lean_dec(x_37); +x_39 = lean_st_ref_take(x_3, x_38); x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); @@ -3455,515 +3471,208 @@ lean_dec(x_39); x_42 = !lean_is_exclusive(x_40); if (x_42 == 0) { -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; uint8_t x_51; -x_43 = lean_ctor_get(x_40, 2); +lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_43 = lean_ctor_get(x_40, 0); lean_dec(x_43); -lean_ctor_set(x_40, 2, x_38); -x_44 = lean_st_ref_set(x_5, x_40, x_41); -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -lean_dec(x_44); -x_46 = lean_ctor_get(x_28, 2); -lean_inc(x_46); -x_47 = lean_st_ref_get(x_5, x_45); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_st_ref_take(x_3, x_48); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get_uint8(x_46, sizeof(void*)*8); -if (x_51 == 0) +lean_ctor_set(x_40, 0, x_36); +x_44 = lean_st_ref_set(x_3, x_40, x_41); +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_52 = lean_ctor_get(x_50, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_49, 1); -lean_inc(x_53); -lean_dec(x_49); -x_54 = lean_ctor_get(x_46, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_46, 1); -lean_inc(x_55); -x_56 = lean_ctor_get(x_46, 2); -lean_inc(x_56); -x_57 = lean_ctor_get(x_46, 3); -lean_inc(x_57); -x_58 = lean_ctor_get(x_46, 4); -lean_inc(x_58); -x_59 = lean_ctor_get(x_46, 5); -lean_inc(x_59); -x_60 = lean_ctor_get(x_46, 6); -lean_inc(x_60); -x_61 = lean_ctor_get(x_46, 7); -lean_inc(x_61); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_46 = lean_ctor_get(x_44, 0); lean_dec(x_46); -x_62 = !lean_is_exclusive(x_50); -if (x_62 == 0) +x_47 = lean_ctor_get(x_27, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_27, 5); +lean_inc(x_48); +x_49 = l_Lean_LocalContext_mkLambda(x_47, x_48, x_26); +x_50 = lean_ctor_get(x_27, 4); +lean_inc(x_50); +lean_dec(x_27); +x_51 = lean_array_get_size(x_48); +lean_dec(x_48); +x_52 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +lean_ctor_set(x_52, 2, x_49); +lean_ctor_set(x_44, 0, x_52); +return x_44; +} +else { -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_50, 0); -lean_dec(x_63); -x_64 = !lean_is_exclusive(x_52); -if (x_64 == 0) +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_53 = lean_ctor_get(x_44, 1); +lean_inc(x_53); +lean_dec(x_44); +x_54 = lean_ctor_get(x_27, 1); +lean_inc(x_54); +x_55 = lean_ctor_get(x_27, 5); +lean_inc(x_55); +x_56 = l_Lean_LocalContext_mkLambda(x_54, x_55, x_26); +x_57 = lean_ctor_get(x_27, 4); +lean_inc(x_57); +lean_dec(x_27); +x_58 = lean_array_get_size(x_55); +lean_dec(x_55); +x_59 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_53); +return x_60; +} +} +else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_65 = lean_ctor_get(x_52, 7); -lean_dec(x_65); -x_66 = lean_ctor_get(x_52, 6); -lean_dec(x_66); -x_67 = lean_ctor_get(x_52, 5); -lean_dec(x_67); -x_68 = lean_ctor_get(x_52, 4); -lean_dec(x_68); -x_69 = lean_ctor_get(x_52, 3); +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_61 = lean_ctor_get(x_40, 1); +x_62 = lean_ctor_get(x_40, 2); +x_63 = lean_ctor_get(x_40, 3); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_40); +x_64 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_64, 0, x_36); +lean_ctor_set(x_64, 1, x_61); +lean_ctor_set(x_64, 2, x_62); +lean_ctor_set(x_64, 3, x_63); +x_65 = lean_st_ref_set(x_3, x_64, x_41); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_67 = x_65; +} else { + lean_dec_ref(x_65); + x_67 = lean_box(0); +} +x_68 = lean_ctor_get(x_27, 1); +lean_inc(x_68); +x_69 = lean_ctor_get(x_27, 5); +lean_inc(x_69); +x_70 = l_Lean_LocalContext_mkLambda(x_68, x_69, x_26); +x_71 = lean_ctor_get(x_27, 4); +lean_inc(x_71); +lean_dec(x_27); +x_72 = lean_array_get_size(x_69); lean_dec(x_69); -x_70 = lean_ctor_get(x_52, 2); -lean_dec(x_70); -x_71 = lean_ctor_get(x_52, 1); -lean_dec(x_71); -x_72 = lean_ctor_get(x_52, 0); -lean_dec(x_72); -lean_ctor_set(x_52, 7, x_61); -lean_ctor_set(x_52, 6, x_60); -lean_ctor_set(x_52, 5, x_59); -lean_ctor_set(x_52, 4, x_58); -lean_ctor_set(x_52, 3, x_57); -lean_ctor_set(x_52, 2, x_56); -lean_ctor_set(x_52, 1, x_55); -lean_ctor_set(x_52, 0, x_54); -x_73 = lean_st_ref_set(x_3, x_50, x_53); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_29 = x_74; -goto block_37; +x_73 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +lean_ctor_set(x_73, 2, x_70); +if (lean_is_scalar(x_67)) { + x_74 = lean_alloc_ctor(0, 2, 0); +} else { + x_74 = x_67; } -else -{ -uint8_t x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_75 = lean_ctor_get_uint8(x_52, sizeof(void*)*8); -lean_dec(x_52); -x_76 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_76, 0, x_54); -lean_ctor_set(x_76, 1, x_55); -lean_ctor_set(x_76, 2, x_56); -lean_ctor_set(x_76, 3, x_57); -lean_ctor_set(x_76, 4, x_58); -lean_ctor_set(x_76, 5, x_59); -lean_ctor_set(x_76, 6, x_60); -lean_ctor_set(x_76, 7, x_61); -lean_ctor_set_uint8(x_76, sizeof(void*)*8, x_75); -lean_ctor_set(x_50, 0, x_76); -x_77 = lean_st_ref_set(x_3, x_50, x_53); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_29 = x_78; -goto block_37; +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_66); +return x_74; } } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_79 = lean_ctor_get(x_50, 1); -x_80 = lean_ctor_get(x_50, 2); -x_81 = lean_ctor_get(x_50, 3); -lean_inc(x_81); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 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_75 = lean_ctor_get(x_30, 0); +x_76 = lean_ctor_get(x_30, 1); +x_77 = lean_ctor_get(x_30, 3); +x_78 = lean_ctor_get(x_30, 4); +x_79 = lean_ctor_get(x_30, 5); +x_80 = lean_ctor_get(x_30, 6); lean_inc(x_80); lean_inc(x_79); -lean_dec(x_50); -x_82 = lean_ctor_get_uint8(x_52, sizeof(void*)*8); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - lean_ctor_release(x_52, 3); - lean_ctor_release(x_52, 4); - lean_ctor_release(x_52, 5); - lean_ctor_release(x_52, 6); - lean_ctor_release(x_52, 7); - x_83 = x_52; -} else { - lean_dec_ref(x_52); - x_83 = lean_box(0); -} -if (lean_is_scalar(x_83)) { - x_84 = lean_alloc_ctor(0, 8, 1); -} else { - x_84 = x_83; -} -lean_ctor_set(x_84, 0, x_54); -lean_ctor_set(x_84, 1, x_55); -lean_ctor_set(x_84, 2, x_56); -lean_ctor_set(x_84, 3, x_57); -lean_ctor_set(x_84, 4, x_58); -lean_ctor_set(x_84, 5, x_59); -lean_ctor_set(x_84, 6, x_60); -lean_ctor_set(x_84, 7, x_61); -lean_ctor_set_uint8(x_84, sizeof(void*)*8, x_82); -x_85 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_79); -lean_ctor_set(x_85, 2, x_80); -lean_ctor_set(x_85, 3, x_81); -x_86 = lean_st_ref_set(x_3, x_85, x_53); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -lean_dec(x_86); -x_29 = x_87; -goto block_37; -} -} -else -{ -lean_object* x_88; uint8_t x_89; -x_88 = lean_ctor_get(x_49, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_30); +x_81 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_81, 0, x_75); +lean_ctor_set(x_81, 1, x_76); +lean_ctor_set(x_81, 2, x_28); +lean_ctor_set(x_81, 3, x_77); +lean_ctor_set(x_81, 4, x_78); +lean_ctor_set(x_81, 5, x_79); +lean_ctor_set(x_81, 6, x_80); +x_82 = lean_st_ref_set(x_5, x_81, x_31); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_ctor_get(x_27, 2); +lean_inc(x_84); +x_85 = lean_st_ref_get(x_5, x_83); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_87 = lean_st_ref_take(x_3, x_86); +x_88 = lean_ctor_get(x_87, 0); lean_inc(x_88); -lean_dec(x_49); -x_89 = !lean_is_exclusive(x_46); -if (x_89 == 0) -{ -uint8_t x_90; -x_90 = !lean_is_exclusive(x_50); -if (x_90 == 0) -{ -lean_object* x_91; uint8_t x_92; lean_object* x_93; lean_object* x_94; -x_91 = lean_ctor_get(x_50, 0); -lean_dec(x_91); -x_92 = 1; -lean_ctor_set_uint8(x_46, sizeof(void*)*8, x_92); -lean_ctor_set(x_50, 0, x_46); -x_93 = lean_st_ref_set(x_3, x_50, x_88); -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_29 = x_94; -goto block_37; +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +x_91 = lean_ctor_get(x_88, 2); +lean_inc(x_91); +x_92 = lean_ctor_get(x_88, 3); +lean_inc(x_92); +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); + x_93 = x_88; +} else { + lean_dec_ref(x_88); + x_93 = lean_box(0); } -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; -x_95 = lean_ctor_get(x_50, 1); -x_96 = lean_ctor_get(x_50, 2); -x_97 = lean_ctor_get(x_50, 3); -lean_inc(x_97); +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(0, 4, 0); +} else { + x_94 = x_93; +} +lean_ctor_set(x_94, 0, x_84); +lean_ctor_set(x_94, 1, x_90); +lean_ctor_set(x_94, 2, x_91); +lean_ctor_set(x_94, 3, x_92); +x_95 = lean_st_ref_set(x_3, x_94, x_89); +x_96 = lean_ctor_get(x_95, 1); lean_inc(x_96); -lean_inc(x_95); -lean_dec(x_50); -x_98 = 1; -lean_ctor_set_uint8(x_46, sizeof(void*)*8, x_98); -x_99 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_99, 0, x_46); -lean_ctor_set(x_99, 1, x_95); -lean_ctor_set(x_99, 2, x_96); -lean_ctor_set(x_99, 3, x_97); -x_100 = lean_st_ref_set(x_3, x_99, x_88); -x_101 = lean_ctor_get(x_100, 1); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_97 = x_95; +} else { + lean_dec_ref(x_95); + x_97 = lean_box(0); +} +x_98 = lean_ctor_get(x_27, 1); +lean_inc(x_98); +x_99 = lean_ctor_get(x_27, 5); +lean_inc(x_99); +x_100 = l_Lean_LocalContext_mkLambda(x_98, x_99, x_26); +x_101 = lean_ctor_get(x_27, 4); lean_inc(x_101); -lean_dec(x_100); -x_29 = x_101; -goto block_37; -} -} -else -{ -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; uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_102 = lean_ctor_get(x_46, 0); -x_103 = lean_ctor_get(x_46, 1); -x_104 = lean_ctor_get(x_46, 2); -x_105 = lean_ctor_get(x_46, 3); -x_106 = lean_ctor_get(x_46, 4); -x_107 = lean_ctor_get(x_46, 5); -x_108 = lean_ctor_get(x_46, 6); -x_109 = lean_ctor_get(x_46, 7); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); -lean_inc(x_105); -lean_inc(x_104); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_46); -x_110 = lean_ctor_get(x_50, 1); -lean_inc(x_110); -x_111 = lean_ctor_get(x_50, 2); -lean_inc(x_111); -x_112 = lean_ctor_get(x_50, 3); -lean_inc(x_112); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - lean_ctor_release(x_50, 2); - lean_ctor_release(x_50, 3); - x_113 = x_50; +lean_dec(x_27); +x_102 = lean_array_get_size(x_99); +lean_dec(x_99); +x_103 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +lean_ctor_set(x_103, 2, x_100); +if (lean_is_scalar(x_97)) { + x_104 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_50); - x_113 = lean_box(0); + x_104 = x_97; } -x_114 = 1; -x_115 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_115, 0, x_102); -lean_ctor_set(x_115, 1, x_103); -lean_ctor_set(x_115, 2, x_104); -lean_ctor_set(x_115, 3, x_105); -lean_ctor_set(x_115, 4, x_106); -lean_ctor_set(x_115, 5, x_107); -lean_ctor_set(x_115, 6, x_108); -lean_ctor_set(x_115, 7, x_109); -lean_ctor_set_uint8(x_115, sizeof(void*)*8, x_114); -if (lean_is_scalar(x_113)) { - x_116 = lean_alloc_ctor(0, 4, 0); -} else { - x_116 = x_113; -} -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_110); -lean_ctor_set(x_116, 2, x_111); -lean_ctor_set(x_116, 3, x_112); -x_117 = lean_st_ref_set(x_3, x_116, x_88); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec(x_117); -x_29 = x_118; -goto block_37; -} -} -} -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_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; -x_119 = lean_ctor_get(x_40, 0); -x_120 = lean_ctor_get(x_40, 1); -x_121 = lean_ctor_get(x_40, 3); -x_122 = lean_ctor_get(x_40, 4); -x_123 = lean_ctor_get(x_40, 5); -x_124 = lean_ctor_get(x_40, 6); -lean_inc(x_124); -lean_inc(x_123); -lean_inc(x_122); -lean_inc(x_121); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_40); -x_125 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_125, 0, x_119); -lean_ctor_set(x_125, 1, x_120); -lean_ctor_set(x_125, 2, x_38); -lean_ctor_set(x_125, 3, x_121); -lean_ctor_set(x_125, 4, x_122); -lean_ctor_set(x_125, 5, x_123); -lean_ctor_set(x_125, 6, x_124); -x_126 = lean_st_ref_set(x_5, x_125, x_41); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -lean_dec(x_126); -x_128 = lean_ctor_get(x_28, 2); -lean_inc(x_128); -x_129 = lean_st_ref_get(x_5, x_127); -x_130 = lean_ctor_get(x_129, 1); -lean_inc(x_130); -lean_dec(x_129); -x_131 = lean_st_ref_take(x_3, x_130); -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get_uint8(x_128, sizeof(void*)*8); -if (x_133 == 0) -{ -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; lean_object* x_146; lean_object* x_147; uint8_t x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_134 = lean_ctor_get(x_132, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_131, 1); -lean_inc(x_135); -lean_dec(x_131); -x_136 = lean_ctor_get(x_128, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_128, 1); -lean_inc(x_137); -x_138 = lean_ctor_get(x_128, 2); -lean_inc(x_138); -x_139 = lean_ctor_get(x_128, 3); -lean_inc(x_139); -x_140 = lean_ctor_get(x_128, 4); -lean_inc(x_140); -x_141 = lean_ctor_get(x_128, 5); -lean_inc(x_141); -x_142 = lean_ctor_get(x_128, 6); -lean_inc(x_142); -x_143 = lean_ctor_get(x_128, 7); -lean_inc(x_143); -lean_dec(x_128); -x_144 = lean_ctor_get(x_132, 1); -lean_inc(x_144); -x_145 = lean_ctor_get(x_132, 2); -lean_inc(x_145); -x_146 = lean_ctor_get(x_132, 3); -lean_inc(x_146); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - lean_ctor_release(x_132, 2); - lean_ctor_release(x_132, 3); - x_147 = x_132; -} else { - lean_dec_ref(x_132); - x_147 = lean_box(0); -} -x_148 = lean_ctor_get_uint8(x_134, sizeof(void*)*8); -if (lean_is_exclusive(x_134)) { - lean_ctor_release(x_134, 0); - lean_ctor_release(x_134, 1); - lean_ctor_release(x_134, 2); - lean_ctor_release(x_134, 3); - lean_ctor_release(x_134, 4); - lean_ctor_release(x_134, 5); - lean_ctor_release(x_134, 6); - lean_ctor_release(x_134, 7); - x_149 = x_134; -} else { - lean_dec_ref(x_134); - x_149 = lean_box(0); -} -if (lean_is_scalar(x_149)) { - x_150 = lean_alloc_ctor(0, 8, 1); -} else { - x_150 = x_149; -} -lean_ctor_set(x_150, 0, x_136); -lean_ctor_set(x_150, 1, x_137); -lean_ctor_set(x_150, 2, x_138); -lean_ctor_set(x_150, 3, x_139); -lean_ctor_set(x_150, 4, x_140); -lean_ctor_set(x_150, 5, x_141); -lean_ctor_set(x_150, 6, x_142); -lean_ctor_set(x_150, 7, x_143); -lean_ctor_set_uint8(x_150, sizeof(void*)*8, x_148); -if (lean_is_scalar(x_147)) { - x_151 = lean_alloc_ctor(0, 4, 0); -} else { - x_151 = x_147; -} -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_144); -lean_ctor_set(x_151, 2, x_145); -lean_ctor_set(x_151, 3, x_146); -x_152 = lean_st_ref_set(x_3, x_151, x_135); -x_153 = lean_ctor_get(x_152, 1); -lean_inc(x_153); -lean_dec(x_152); -x_29 = x_153; -goto block_37; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_154 = lean_ctor_get(x_131, 1); -lean_inc(x_154); -lean_dec(x_131); -x_155 = lean_ctor_get(x_128, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_128, 1); -lean_inc(x_156); -x_157 = lean_ctor_get(x_128, 2); -lean_inc(x_157); -x_158 = lean_ctor_get(x_128, 3); -lean_inc(x_158); -x_159 = lean_ctor_get(x_128, 4); -lean_inc(x_159); -x_160 = lean_ctor_get(x_128, 5); -lean_inc(x_160); -x_161 = lean_ctor_get(x_128, 6); -lean_inc(x_161); -x_162 = lean_ctor_get(x_128, 7); -lean_inc(x_162); -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); - lean_ctor_release(x_128, 6); - lean_ctor_release(x_128, 7); - x_163 = x_128; -} else { - lean_dec_ref(x_128); - x_163 = lean_box(0); -} -x_164 = lean_ctor_get(x_132, 1); -lean_inc(x_164); -x_165 = lean_ctor_get(x_132, 2); -lean_inc(x_165); -x_166 = lean_ctor_get(x_132, 3); -lean_inc(x_166); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - lean_ctor_release(x_132, 2); - lean_ctor_release(x_132, 3); - x_167 = x_132; -} else { - lean_dec_ref(x_132); - x_167 = lean_box(0); -} -x_168 = 1; -if (lean_is_scalar(x_163)) { - x_169 = lean_alloc_ctor(0, 8, 1); -} else { - x_169 = x_163; -} -lean_ctor_set(x_169, 0, x_155); -lean_ctor_set(x_169, 1, x_156); -lean_ctor_set(x_169, 2, x_157); -lean_ctor_set(x_169, 3, x_158); -lean_ctor_set(x_169, 4, x_159); -lean_ctor_set(x_169, 5, x_160); -lean_ctor_set(x_169, 6, x_161); -lean_ctor_set(x_169, 7, x_162); -lean_ctor_set_uint8(x_169, sizeof(void*)*8, x_168); -if (lean_is_scalar(x_167)) { - x_170 = lean_alloc_ctor(0, 4, 0); -} else { - x_170 = x_167; -} -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_164); -lean_ctor_set(x_170, 2, x_165); -lean_ctor_set(x_170, 3, x_166); -x_171 = lean_st_ref_set(x_3, x_170, x_154); -x_172 = lean_ctor_get(x_171, 1); -lean_inc(x_172); -lean_dec(x_171); -x_29 = x_172; -goto block_37; -} -} -block_37: -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -x_31 = lean_ctor_get(x_28, 5); -lean_inc(x_31); -x_32 = l_Lean_LocalContext_mkLambda(x_30, x_31, x_27); -x_33 = lean_ctor_get(x_28, 4); -lean_inc(x_33); -lean_dec(x_28); -x_34 = lean_array_get_size(x_31); -lean_dec(x_31); -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_32); -if (lean_is_scalar(x_20)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_20; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_29); -return x_36; +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_96); +return x_104; } } } diff --git a/stage0/stdlib/Lean/Meta/AppBuilder.c b/stage0/stdlib/Lean/Meta/AppBuilder.c index 2445735e0f..3c9403a01f 100644 --- a/stage0/stdlib/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Lean/Meta/AppBuilder.c @@ -11965,6 +11965,7 @@ x_48 = lean_ctor_get(x_45, 1); lean_inc(x_48); lean_dec(x_45); x_49 = l_Lean_Meta_SavedState_restore(x_43, x_10, x_11, x_12, x_13, x_48); +lean_dec(x_43); x_50 = lean_ctor_get(x_49, 1); lean_inc(x_50); lean_dec(x_49); @@ -12059,6 +12060,7 @@ x_66 = lean_ctor_get(x_62, 1); lean_inc(x_66); lean_dec(x_62); x_67 = l_Lean_Meta_SavedState_restore(x_60, x_10, x_11, x_12, x_13, x_66); +lean_dec(x_60); x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); lean_dec(x_67); diff --git a/stage0/stdlib/Lean/Meta/Basic.c b/stage0/stdlib/Lean/Meta/Basic.c index 609eda0663..7cb9ff84c8 100644 --- a/stage0/stdlib/Lean/Meta/Basic.c +++ b/stage0/stdlib/Lean/Meta/Basic.c @@ -56,6 +56,7 @@ static lean_object* l_Lean_Meta_throwIsDefEqStuck___rarg___closed__2; static lean_object* l_Lean_Meta_processPostponed_loop___lambda__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_fullApproxDefEqImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_map1MetaM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Cache_defEq___default___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_instantiateLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Config_ignoreLevelMVarDepth___default; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -131,6 +132,7 @@ static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedSte LEAN_EXPORT lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__12; +static lean_object* l_Lean_Meta_Cache_defEq___default___closed__1; LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_getParamNames___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -227,6 +229,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Config_etaStruct___default; LEAN_EXPORT lean_object* l_Lean_Meta_orelseMergeErrors(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Config_unificationHints___default; LEAN_EXPORT lean_object* l_Lean_Meta_fullApproxDefEq___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Cache_defEq___default___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_abstract(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getZetaFVarIds___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_orelseMergeErrors___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -238,6 +241,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_map1MetaM___rarg___lambda__2(lean_object*, lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafe(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1___rarg___boxed(lean_object*, lean_object*); static size_t l_Lean_Meta_instInhabitedState___closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderInfosImp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isReadOnlyLevelMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -263,7 +267,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withMVarContext(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_modifyInferTypeCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getPostponed___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_sortFVarIds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_5_(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__11___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_EXPORT lean_object* l_Lean_Meta_getPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -274,6 +278,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedCache___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_mapMetaM(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__9(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withTransparency___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_isReducible___at___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -313,6 +318,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_shouldReduceAll(lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_withLocalDecls_loop___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewLocalInstances___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__1; LEAN_EXPORT lean_object* l_Nat_foldM_loop___at_Lean_Meta_mkFreshLevelMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedSavedState___closed__11; static lean_object* l_Lean_Meta_instMonadMCtxMetaM___closed__2; @@ -350,6 +356,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_isListLevelDefEqAux(lean_object*, lean_obje LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_map2MetaM(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_exposeRelevantUniverses(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_modifyDefEqCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_setType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_setPPUniverses(lean_object*, uint8_t); lean_object* l_Lean_Expr_mvar___override(lean_object*); @@ -379,6 +386,7 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_resetZetaFVarIds___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instMonadEnvMetaM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Basic_0__Lean_Meta_fvarsSizeLtMaxFVars(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__9; LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_withLocalInstancesImp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -387,6 +395,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg(lean_object*, lean LEAN_EXPORT uint8_t l___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instantiateForall___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_FVarId_throwUnknown___rarg___closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_withMCtx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_getBinderInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_modifyCache___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -418,7 +427,6 @@ static lean_object* l_Lean_Meta_mkArrow___closed__2; LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Meta_withInstImplicitAsImplict___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Cache_defEqDefault___default; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_findDecl_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_simpLevelMax_x27(lean_object*, lean_object*, lean_object*); @@ -433,7 +441,6 @@ static lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__4; static lean_object* l_Lean_Meta_instMonadMetaM___closed__4; LEAN_EXPORT lean_object* l_Lean_MVarId_getDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mapMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashMapImp___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_throwIsDefEqStuck___rarg(lean_object*); static lean_object* l_Lean_Meta_instMonadBacktrackSavedStateMetaM___closed__2; @@ -463,7 +470,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_map2MetaM___rarg(lean_object*, lean_object* LEAN_EXPORT lean_object* l_Lean_Meta_withInstImplicitAsImplict(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_FVarId_throwUnknown___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshLMVarId___at_Lean_Meta_mkFreshLevelMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MVarId_getDecl___closed__1; static lean_object* l_Lean_Meta_instInhabitedSavedState___closed__8; @@ -504,7 +510,6 @@ LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVar lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MetaM_run_x27(lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_isLetVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Cache_defEqDefault___default___closed__1; LEAN_EXPORT lean_object* l_Lean_MVarId_setType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_withIncRecDepth___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -573,7 +578,6 @@ lean_object* l_Lean_Expr_bvar___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mapErrorImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instMonadMetaM; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__6___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_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___boxed(lean_object*); static lean_object* l_Lean_Meta_instMonadMetaM___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_isExprDefEqAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeImp(lean_object*); @@ -608,7 +612,6 @@ static lean_object* l_Lean_Meta_mkLevelStuckErrorMessage___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaMetaTelescope_process___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Context_lctx___default___closed__2; @@ -653,10 +656,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__2___boxed(lean LEAN_EXPORT lean_object* l_Lean_Meta_withDefault___rarg(lean_object*, 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_EXPORT lean_object* l_Lean_Meta_etaExpand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__4; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth(lean_object*); -static lean_object* l_Lean_Meta_Cache_defEqDefault___default___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_instMetaEvalMetaM(lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(lean_object*, lean_object*); @@ -667,7 +668,6 @@ extern lean_object* l_Lean_instInhabitedFVarId; size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderInfosImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedMetaM___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_FunInfo_paramInfo___default; @@ -706,9 +706,9 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedSavedState___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LMVarId_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__1; static lean_object* l_Lean_Meta_processPostponed_loop___closed__3; uint8_t l_Lean_Expr_hasMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mapErrorImp(lean_object*); @@ -745,7 +745,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_elimMVarDeps___boxed(lean_object*, lean_obj LEAN_EXPORT lean_object* l_Lean_Expr_abstractM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_collectForwardDeps___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_normalize(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MetaM_toIO___rarg___closed__1; @@ -798,7 +797,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withAtLeastTransparency(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_findDecl_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_modifyCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__3; LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkForallFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_isLevelDefEq___closed__4; @@ -809,7 +807,7 @@ static lean_object* l_Lean_Meta_processPostponed_loop___closed__4; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_approxDefEqImp(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_ParamInfo_dependsOnHigherOrderOutParam___default; -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_14782_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_14809_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instMonadMCtxMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_resettingSynthInstanceCacheWhen(lean_object*); @@ -855,7 +853,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedState; uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_371_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Meta_sortFVarIds___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__7; -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_withLocalDeclsD___spec__1(lean_object*); static lean_object* l_Lean_Meta_Cache_inferType___default___closed__1; uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); @@ -870,12 +867,10 @@ static lean_object* l_Lean_Meta_instInhabitedInfoCacheKey___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_forallMetaTelescope(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_modifyPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Cache_defEqAll___default; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withConfig(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instMonadEnvMetaM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Cache_whnfDefault___default; -static lean_object* l_Lean_Meta_Cache_defEqDefault___default___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_setMVarUserName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withReducibleAndInstances(lean_object*); @@ -887,6 +882,7 @@ lean_object* l_Lean_indentD(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withoutProofIrrelevance(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_shouldReduceReducibleOnly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ParamInfo_isImplicit___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Cache_defEq___default; LEAN_EXPORT lean_object* l_Lean_Meta_mkFreshTypeMVar(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnumAttributes_setValue___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instMonadEnvMetaM___closed__2; @@ -909,6 +905,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at LEAN_EXPORT lean_object* l_Lean_Meta_getTheoremInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at_Lean_Meta_withInstImplicitAsImplict___spec__3(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_modifyDefEqCache___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_liftMkBindingM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Cache_funInfo___default___closed__2; @@ -1664,7 +1661,7 @@ x_1 = l_Lean_Meta_Cache_inferType___default___closed__3; return x_1; } } -static lean_object* _init_l_Lean_Meta_Cache_defEqDefault___default___closed__1() { +static lean_object* _init_l_Lean_Meta_Cache_defEq___default___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -1675,7 +1672,7 @@ lean_closure_set(x_2, 1, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Cache_defEqDefault___default___closed__2() { +static lean_object* _init_l_Lean_Meta_Cache_defEq___default___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -1686,7 +1683,7 @@ lean_closure_set(x_2, 1, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Cache_defEqDefault___default___closed__3() { +static lean_object* _init_l_Lean_Meta_Cache_defEq___default___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1698,19 +1695,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Cache_defEqDefault___default() { +static lean_object* _init_l_Lean_Meta_Cache_defEq___default() { _start: { lean_object* x_1; -x_1 = l_Lean_Meta_Cache_defEqDefault___default___closed__3; -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Cache_defEqAll___default() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Meta_Cache_defEqDefault___default___closed__3; +x_1 = l_Lean_Meta_Cache_defEq___default___closed__3; return x_1; } } @@ -1734,14 +1723,13 @@ x_1 = l_Lean_Meta_Cache_inferType___default___closed__3; x_2 = l_Lean_Meta_Cache_funInfo___default___closed__2; x_3 = l_Lean_Meta_Cache_synthInstance___default___closed__1; x_4 = l_Lean_Meta_instInhabitedCache___closed__1; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -1815,23 +1803,21 @@ return x_3; static lean_object* _init_l_Lean_Meta_State_mctx___default___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Meta_State_mctx___default___closed__1; x_3 = l_Lean_Meta_State_mctx___default___closed__2; x_4 = l_Lean_Meta_State_mctx___default___closed__3; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Meta_State_mctx___default() { @@ -2103,23 +2089,21 @@ return x_8; static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Meta_State_mctx___default___closed__1; x_3 = l_Lean_Meta_State_mctx___default___closed__2; x_4 = l_Lean_Meta_State_mctx___default___closed__3; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Meta_instInhabitedSavedState___closed__12() { @@ -3140,313 +3124,43 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Meta_SavedState_restore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +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; uint8_t x_16; x_7 = lean_ctor_get(x_1, 0); -lean_inc(x_7); x_8 = l_Lean_Core_restore(x_7, x_4, x_5, x_6); -lean_dec(x_7); -x_9 = lean_ctor_get(x_1, 1); +x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); -lean_dec(x_1); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); lean_dec(x_8); -x_11 = lean_ctor_get(x_9, 0); +x_10 = lean_st_ref_get(x_5, x_9); +x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); -x_41 = lean_st_ref_get(x_5, x_10); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_st_ref_take(x_3, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get_uint8(x_11, sizeof(void*)*8); -if (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; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_46 = lean_ctor_get(x_44, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_43, 1); -lean_inc(x_47); -lean_dec(x_43); -x_48 = lean_ctor_get(x_11, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_11, 1); -lean_inc(x_49); -x_50 = lean_ctor_get(x_11, 2); -lean_inc(x_50); -x_51 = lean_ctor_get(x_11, 3); -lean_inc(x_51); -x_52 = lean_ctor_get(x_11, 4); -lean_inc(x_52); -x_53 = lean_ctor_get(x_11, 5); -lean_inc(x_53); -x_54 = lean_ctor_get(x_11, 6); -lean_inc(x_54); -x_55 = lean_ctor_get(x_11, 7); -lean_inc(x_55); -lean_dec(x_11); -x_56 = !lean_is_exclusive(x_44); -if (x_56 == 0) -{ -lean_object* x_57; uint8_t x_58; -x_57 = lean_ctor_get(x_44, 0); -lean_dec(x_57); -x_58 = !lean_is_exclusive(x_46); -if (x_58 == 0) -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_59 = lean_ctor_get(x_46, 7); -lean_dec(x_59); -x_60 = lean_ctor_get(x_46, 6); -lean_dec(x_60); -x_61 = lean_ctor_get(x_46, 5); -lean_dec(x_61); -x_62 = lean_ctor_get(x_46, 4); -lean_dec(x_62); -x_63 = lean_ctor_get(x_46, 3); -lean_dec(x_63); -x_64 = lean_ctor_get(x_46, 2); -lean_dec(x_64); -x_65 = lean_ctor_get(x_46, 1); -lean_dec(x_65); -x_66 = lean_ctor_get(x_46, 0); -lean_dec(x_66); -lean_ctor_set(x_46, 7, x_55); -lean_ctor_set(x_46, 6, x_54); -lean_ctor_set(x_46, 5, x_53); -lean_ctor_set(x_46, 4, x_52); -lean_ctor_set(x_46, 3, x_51); -lean_ctor_set(x_46, 2, x_50); -lean_ctor_set(x_46, 1, x_49); -lean_ctor_set(x_46, 0, x_48); -x_67 = lean_st_ref_set(x_3, x_44, x_47); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_12 = x_68; -goto block_40; -} -else -{ -uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_69 = lean_ctor_get_uint8(x_46, sizeof(void*)*8); -lean_dec(x_46); -x_70 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_70, 0, x_48); -lean_ctor_set(x_70, 1, x_49); -lean_ctor_set(x_70, 2, x_50); -lean_ctor_set(x_70, 3, x_51); -lean_ctor_set(x_70, 4, x_52); -lean_ctor_set(x_70, 5, x_53); -lean_ctor_set(x_70, 6, x_54); -lean_ctor_set(x_70, 7, x_55); -lean_ctor_set_uint8(x_70, sizeof(void*)*8, x_69); -lean_ctor_set(x_44, 0, x_70); -x_71 = lean_st_ref_set(x_3, x_44, x_47); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); -x_12 = x_72; -goto block_40; -} -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_73 = lean_ctor_get(x_44, 1); -x_74 = lean_ctor_get(x_44, 2); -x_75 = lean_ctor_get(x_44, 3); -lean_inc(x_75); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_44); -x_76 = lean_ctor_get_uint8(x_46, sizeof(void*)*8); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - lean_ctor_release(x_46, 2); - lean_ctor_release(x_46, 3); - lean_ctor_release(x_46, 4); - lean_ctor_release(x_46, 5); - lean_ctor_release(x_46, 6); - lean_ctor_release(x_46, 7); - x_77 = x_46; -} else { - lean_dec_ref(x_46); - x_77 = lean_box(0); -} -if (lean_is_scalar(x_77)) { - x_78 = lean_alloc_ctor(0, 8, 1); -} else { - x_78 = x_77; -} -lean_ctor_set(x_78, 0, x_48); -lean_ctor_set(x_78, 1, x_49); -lean_ctor_set(x_78, 2, x_50); -lean_ctor_set(x_78, 3, x_51); -lean_ctor_set(x_78, 4, x_52); -lean_ctor_set(x_78, 5, x_53); -lean_ctor_set(x_78, 6, x_54); -lean_ctor_set(x_78, 7, x_55); -lean_ctor_set_uint8(x_78, sizeof(void*)*8, x_76); -x_79 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_73); -lean_ctor_set(x_79, 2, x_74); -lean_ctor_set(x_79, 3, x_75); -x_80 = lean_st_ref_set(x_3, x_79, x_47); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_12 = x_81; -goto block_40; -} -} -else -{ -lean_object* x_82; uint8_t x_83; -x_82 = lean_ctor_get(x_43, 1); -lean_inc(x_82); -lean_dec(x_43); -x_83 = !lean_is_exclusive(x_11); -if (x_83 == 0) -{ -uint8_t x_84; -x_84 = !lean_is_exclusive(x_44); -if (x_84 == 0) -{ -lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_85 = lean_ctor_get(x_44, 0); -lean_dec(x_85); -x_86 = 1; -lean_ctor_set_uint8(x_11, sizeof(void*)*8, x_86); -lean_ctor_set(x_44, 0, x_11); -x_87 = lean_st_ref_set(x_3, x_44, x_82); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -lean_dec(x_87); -x_12 = x_88; -goto block_40; -} -else -{ -lean_object* x_89; 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_89 = lean_ctor_get(x_44, 1); -x_90 = lean_ctor_get(x_44, 2); -x_91 = lean_ctor_get(x_44, 3); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_44); -x_92 = 1; -lean_ctor_set_uint8(x_11, sizeof(void*)*8, x_92); -x_93 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_93, 0, x_11); -lean_ctor_set(x_93, 1, x_89); -lean_ctor_set(x_93, 2, x_90); -lean_ctor_set(x_93, 3, x_91); -x_94 = lean_st_ref_set(x_3, x_93, x_82); -x_95 = lean_ctor_get(x_94, 1); -lean_inc(x_95); -lean_dec(x_94); -x_12 = x_95; -goto block_40; -} -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_96 = lean_ctor_get(x_11, 0); -x_97 = lean_ctor_get(x_11, 1); -x_98 = lean_ctor_get(x_11, 2); -x_99 = lean_ctor_get(x_11, 3); -x_100 = lean_ctor_get(x_11, 4); -x_101 = lean_ctor_get(x_11, 5); -x_102 = lean_ctor_get(x_11, 6); -x_103 = lean_ctor_get(x_11, 7); -lean_inc(x_103); -lean_inc(x_102); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_11); -x_104 = lean_ctor_get(x_44, 1); -lean_inc(x_104); -x_105 = lean_ctor_get(x_44, 2); -lean_inc(x_105); -x_106 = lean_ctor_get(x_44, 3); -lean_inc(x_106); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - lean_ctor_release(x_44, 2); - lean_ctor_release(x_44, 3); - x_107 = x_44; -} else { - lean_dec_ref(x_44); - x_107 = lean_box(0); -} -x_108 = 1; -x_109 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_109, 0, x_96); -lean_ctor_set(x_109, 1, x_97); -lean_ctor_set(x_109, 2, x_98); -lean_ctor_set(x_109, 3, x_99); -lean_ctor_set(x_109, 4, x_100); -lean_ctor_set(x_109, 5, x_101); -lean_ctor_set(x_109, 6, x_102); -lean_ctor_set(x_109, 7, x_103); -lean_ctor_set_uint8(x_109, sizeof(void*)*8, x_108); -if (lean_is_scalar(x_107)) { - x_110 = lean_alloc_ctor(0, 4, 0); -} else { - x_110 = x_107; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_104); -lean_ctor_set(x_110, 2, x_105); -lean_ctor_set(x_110, 3, x_106); -x_111 = lean_st_ref_set(x_3, x_110, x_82); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -lean_dec(x_111); -x_12 = x_112; -goto block_40; -} -} -block_40: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_13 = lean_st_ref_get(x_5, x_12); -x_14 = lean_ctor_get(x_13, 1); +lean_dec(x_10); +x_12 = lean_st_ref_take(x_3, x_11); +x_13 = lean_ctor_get(x_1, 1); +x_14 = lean_ctor_get(x_12, 0); lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_st_ref_take(x_3, x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = !lean_is_exclusive(x_16); -if (x_18 == 0) +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_19 = lean_ctor_get(x_16, 3); -lean_dec(x_19); -x_20 = lean_ctor_get(x_16, 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; lean_object* x_23; uint8_t x_24; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 2); +x_19 = lean_ctor_get(x_13, 3); +x_20 = lean_ctor_get(x_14, 3); lean_dec(x_20); -x_21 = lean_ctor_get(x_9, 2); -lean_inc(x_21); -x_22 = lean_ctor_get(x_9, 3); -lean_inc(x_22); -lean_dec(x_9); -lean_ctor_set(x_16, 3, x_22); -lean_ctor_set(x_16, 2, x_21); -x_23 = lean_st_ref_set(x_3, x_16, x_17); +x_21 = lean_ctor_get(x_14, 2); +lean_dec(x_21); +x_22 = lean_ctor_get(x_14, 0); +lean_dec(x_22); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_ctor_set(x_14, 3, x_19); +lean_ctor_set(x_14, 2, x_18); +lean_ctor_set(x_14, 0, x_17); +x_23 = lean_st_ref_set(x_3, x_14, x_15); x_24 = !lean_is_exclusive(x_23); if (x_24 == 0) { @@ -3473,22 +3187,21 @@ return x_29; else { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); +x_30 = lean_ctor_get(x_13, 0); +x_31 = lean_ctor_get(x_13, 2); +x_32 = lean_ctor_get(x_13, 3); +x_33 = lean_ctor_get(x_14, 1); +lean_inc(x_33); +lean_dec(x_14); +lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); -lean_dec(x_16); -x_32 = lean_ctor_get(x_9, 2); -lean_inc(x_32); -x_33 = lean_ctor_get(x_9, 3); -lean_inc(x_33); -lean_dec(x_9); x_34 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_34, 0, x_30); -lean_ctor_set(x_34, 1, x_31); -lean_ctor_set(x_34, 2, x_32); -lean_ctor_set(x_34, 3, x_33); -x_35 = lean_st_ref_set(x_3, x_34, x_17); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_31); +lean_ctor_set(x_34, 3, x_32); +x_35 = lean_st_ref_set(x_3, x_34, x_15); x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); if (lean_is_exclusive(x_35)) { @@ -3511,7 +3224,6 @@ return x_39; } } } -} LEAN_EXPORT lean_object* l_Lean_Meta_SavedState_restore___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: { @@ -3521,6 +3233,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); return x_7; } } @@ -4780,7 +4493,7 @@ lean_dec(x_2); return x_6; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__1() { _start: { lean_object* x_1; @@ -4788,17 +4501,17 @@ x_1 = lean_mk_string_from_bytes("Meta", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____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_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__3() { _start: { lean_object* x_1; @@ -4806,21 +4519,21 @@ x_1 = lean_mk_string_from_bytes("debug", 5); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -4828,7 +4541,7 @@ 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_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__4; +x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__4; x_6 = l_Lean_registerTraceClass(x_5, x_4); return x_6; } @@ -5161,15 +4874,13 @@ 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; 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_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; lean_object* x_36; lean_object* x_37; x_25 = lean_ctor_get(x_11, 0); x_26 = lean_ctor_get(x_11, 1); x_27 = lean_ctor_get(x_11, 2); x_28 = lean_ctor_get(x_11, 3); x_29 = lean_ctor_get(x_11, 4); x_30 = lean_ctor_get(x_11, 5); -x_31 = lean_ctor_get(x_11, 6); -lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); @@ -5177,62 +4888,59 @@ lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_dec(x_11); -x_32 = lean_apply_1(x_1, x_25); -x_33 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_26); -lean_ctor_set(x_33, 2, x_27); -lean_ctor_set(x_33, 3, x_28); -lean_ctor_set(x_33, 4, x_29); -lean_ctor_set(x_33, 5, x_30); -lean_ctor_set(x_33, 6, x_31); -lean_ctor_set(x_10, 1, x_33); -x_34 = lean_st_ref_set(x_3, x_10, x_12); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - x_36 = x_34; +x_31 = lean_apply_1(x_1, x_25); +x_32 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_26); +lean_ctor_set(x_32, 2, x_27); +lean_ctor_set(x_32, 3, x_28); +lean_ctor_set(x_32, 4, x_29); +lean_ctor_set(x_32, 5, x_30); +lean_ctor_set(x_10, 1, x_32); +x_33 = lean_st_ref_set(x_3, x_10, x_12); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_35 = x_33; } else { - lean_dec_ref(x_34); - x_36 = lean_box(0); + lean_dec_ref(x_33); + x_35 = lean_box(0); } -x_37 = lean_box(0); -if (lean_is_scalar(x_36)) { - x_38 = lean_alloc_ctor(0, 2, 0); +x_36 = lean_box(0); +if (lean_is_scalar(x_35)) { + x_37 = lean_alloc_ctor(0, 2, 0); } else { - x_38 = x_36; + x_37 = x_35; } -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_35); -return x_38; +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +return x_37; } } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 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_39 = lean_ctor_get(x_10, 0); -x_40 = lean_ctor_get(x_10, 2); -x_41 = lean_ctor_get(x_10, 3); -lean_inc(x_41); +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; 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; +x_38 = lean_ctor_get(x_10, 0); +x_39 = lean_ctor_get(x_10, 2); +x_40 = lean_ctor_get(x_10, 3); lean_inc(x_40); lean_inc(x_39); +lean_inc(x_38); lean_dec(x_10); -x_42 = lean_ctor_get(x_11, 0); +x_41 = lean_ctor_get(x_11, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_11, 1); lean_inc(x_42); -x_43 = lean_ctor_get(x_11, 1); +x_43 = lean_ctor_get(x_11, 2); lean_inc(x_43); -x_44 = lean_ctor_get(x_11, 2); +x_44 = lean_ctor_get(x_11, 3); lean_inc(x_44); -x_45 = lean_ctor_get(x_11, 3); +x_45 = lean_ctor_get(x_11, 4); lean_inc(x_45); -x_46 = lean_ctor_get(x_11, 4); +x_46 = lean_ctor_get(x_11, 5); lean_inc(x_46); -x_47 = lean_ctor_get(x_11, 5); -lean_inc(x_47); -x_48 = lean_ctor_get(x_11, 6); -lean_inc(x_48); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); @@ -5240,50 +4948,48 @@ if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 3); lean_ctor_release(x_11, 4); lean_ctor_release(x_11, 5); - lean_ctor_release(x_11, 6); - x_49 = x_11; + x_47 = x_11; } else { lean_dec_ref(x_11); - x_49 = lean_box(0); + x_47 = lean_box(0); } -x_50 = lean_apply_1(x_1, x_42); -if (lean_is_scalar(x_49)) { - x_51 = lean_alloc_ctor(0, 7, 0); +x_48 = lean_apply_1(x_1, x_41); +if (lean_is_scalar(x_47)) { + x_49 = lean_alloc_ctor(0, 6, 0); } else { - x_51 = x_49; + x_49 = x_47; } -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_43); -lean_ctor_set(x_51, 2, x_44); -lean_ctor_set(x_51, 3, x_45); -lean_ctor_set(x_51, 4, x_46); -lean_ctor_set(x_51, 5, x_47); -lean_ctor_set(x_51, 6, x_48); -x_52 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_52, 0, x_39); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_52, 2, x_40); -lean_ctor_set(x_52, 3, x_41); -x_53 = lean_st_ref_set(x_3, x_52, x_12); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_42); +lean_ctor_set(x_49, 2, x_43); +lean_ctor_set(x_49, 3, x_44); +lean_ctor_set(x_49, 4, x_45); +lean_ctor_set(x_49, 5, x_46); +x_50 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_50, 0, x_38); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_39); +lean_ctor_set(x_50, 3, x_40); +x_51 = lean_st_ref_set(x_3, x_50, x_12); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_53 = x_51; +} else { + lean_dec_ref(x_51); + x_53 = lean_box(0); +} +x_54 = lean_box(0); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { x_55 = x_53; -} else { - lean_dec_ref(x_53); - x_55 = lean_box(0); } -x_56 = lean_box(0); -if (lean_is_scalar(x_55)) { - x_57 = lean_alloc_ctor(0, 2, 0); -} else { - x_57 = x_55; -} -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_54); -return x_57; +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +return x_55; } } } @@ -5299,6 +5005,192 @@ lean_dec(x_2); return x_7; } } +LEAN_EXPORT lean_object* l_Lean_Meta_modifyDefEqCache(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_st_ref_take(x_3, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_13 = !lean_is_exclusive(x_10); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_10, 1); +lean_dec(x_14); +x_15 = !lean_is_exclusive(x_11); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_16 = lean_ctor_get(x_11, 5); +x_17 = lean_apply_1(x_1, x_16); +lean_ctor_set(x_11, 5, x_17); +x_18 = lean_st_ref_set(x_3, x_10, x_12); +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); +lean_dec(x_20); +x_21 = lean_box(0); +lean_ctor_set(x_18, 0, x_21); +return x_18; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +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; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_25 = lean_ctor_get(x_11, 0); +x_26 = lean_ctor_get(x_11, 1); +x_27 = lean_ctor_get(x_11, 2); +x_28 = lean_ctor_get(x_11, 3); +x_29 = lean_ctor_get(x_11, 4); +x_30 = lean_ctor_get(x_11, 5); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_11); +x_31 = lean_apply_1(x_1, x_30); +x_32 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_32, 0, x_25); +lean_ctor_set(x_32, 1, x_26); +lean_ctor_set(x_32, 2, x_27); +lean_ctor_set(x_32, 3, x_28); +lean_ctor_set(x_32, 4, x_29); +lean_ctor_set(x_32, 5, x_31); +lean_ctor_set(x_10, 1, x_32); +x_33 = lean_st_ref_set(x_3, x_10, x_12); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_35 = x_33; +} else { + lean_dec_ref(x_33); + x_35 = lean_box(0); +} +x_36 = lean_box(0); +if (lean_is_scalar(x_35)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_35; +} +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +return x_37; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 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; +x_38 = lean_ctor_get(x_10, 0); +x_39 = lean_ctor_get(x_10, 2); +x_40 = lean_ctor_get(x_10, 3); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_10); +x_41 = lean_ctor_get(x_11, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_11, 1); +lean_inc(x_42); +x_43 = lean_ctor_get(x_11, 2); +lean_inc(x_43); +x_44 = lean_ctor_get(x_11, 3); +lean_inc(x_44); +x_45 = lean_ctor_get(x_11, 4); +lean_inc(x_45); +x_46 = lean_ctor_get(x_11, 5); +lean_inc(x_46); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + lean_ctor_release(x_11, 2); + lean_ctor_release(x_11, 3); + lean_ctor_release(x_11, 4); + lean_ctor_release(x_11, 5); + x_47 = x_11; +} else { + lean_dec_ref(x_11); + x_47 = lean_box(0); +} +x_48 = lean_apply_1(x_1, x_46); +if (lean_is_scalar(x_47)) { + x_49 = lean_alloc_ctor(0, 6, 0); +} else { + x_49 = x_47; +} +lean_ctor_set(x_49, 0, x_41); +lean_ctor_set(x_49, 1, x_42); +lean_ctor_set(x_49, 2, x_43); +lean_ctor_set(x_49, 3, x_44); +lean_ctor_set(x_49, 4, x_45); +lean_ctor_set(x_49, 5, x_48); +x_50 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_50, 0, x_38); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_39); +lean_ctor_set(x_50, 3, x_40); +x_51 = lean_st_ref_set(x_3, x_50, x_12); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_53 = x_51; +} else { + lean_dec_ref(x_51); + x_53 = lean_box(0); +} +x_54 = lean_box(0); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +return x_55; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_modifyDefEqCache___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_Meta_modifyDefEqCache(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_getLocalInstances(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -9911,7 +9803,7 @@ lean_ctor_set(x_29, 3, x_28); x_30 = lean_apply_2(x_1, x_26, 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_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 0); @@ -9919,706 +9811,350 @@ lean_inc(x_32); lean_dec(x_30); x_33 = lean_ctor_get(x_31, 0); lean_inc(x_33); -x_61 = lean_st_ref_get(x_5, x_24); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_63 = lean_st_ref_take(x_3, x_62); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get_uint8(x_33, sizeof(void*)*8); -if (x_65 == 0) +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +x_35 = lean_ctor_get(x_31, 2); +lean_inc(x_35); +lean_dec(x_31); +x_36 = lean_st_ref_get(x_5, x_24); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = lean_st_ref_take(x_3, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = !lean_is_exclusive(x_39); +if (x_41 == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_63, 1); -lean_inc(x_67); -lean_dec(x_63); -x_68 = lean_ctor_get(x_33, 0); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_42 = lean_ctor_get(x_39, 0); +lean_dec(x_42); +lean_ctor_set(x_39, 0, x_33); +x_43 = lean_st_ref_set(x_3, x_39, x_40); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_st_ref_take(x_5, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = !lean_is_exclusive(x_46); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_49 = lean_ctor_get(x_46, 2); +lean_dec(x_49); +x_50 = lean_ctor_get(x_46, 1); +lean_dec(x_50); +lean_ctor_set(x_46, 2, x_35); +lean_ctor_set(x_46, 1, x_34); +x_51 = lean_st_ref_set(x_5, x_46, x_47); +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_51, 0); +lean_dec(x_53); +lean_ctor_set(x_51, 0, x_32); +return x_51; +} +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_32); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +else +{ +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; +x_56 = lean_ctor_get(x_46, 0); +x_57 = lean_ctor_get(x_46, 3); +x_58 = lean_ctor_get(x_46, 4); +x_59 = lean_ctor_get(x_46, 5); +x_60 = lean_ctor_get(x_46, 6); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_46); +x_61 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_61, 0, x_56); +lean_ctor_set(x_61, 1, x_34); +lean_ctor_set(x_61, 2, x_35); +lean_ctor_set(x_61, 3, x_57); +lean_ctor_set(x_61, 4, x_58); +lean_ctor_set(x_61, 5, x_59); +lean_ctor_set(x_61, 6, x_60); +x_62 = lean_st_ref_set(x_5, x_61, x_47); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; +} else { + lean_dec_ref(x_62); + x_64 = lean_box(0); +} +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_64; +} +lean_ctor_set(x_65, 0, x_32); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +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; 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_66 = lean_ctor_get(x_39, 1); +x_67 = lean_ctor_get(x_39, 2); +x_68 = lean_ctor_get(x_39, 3); lean_inc(x_68); -x_69 = lean_ctor_get(x_33, 1); -lean_inc(x_69); -x_70 = lean_ctor_get(x_33, 2); -lean_inc(x_70); -x_71 = lean_ctor_get(x_33, 3); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_39); +x_69 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_69, 0, x_33); +lean_ctor_set(x_69, 1, x_66); +lean_ctor_set(x_69, 2, x_67); +lean_ctor_set(x_69, 3, x_68); +x_70 = lean_st_ref_set(x_3, x_69, x_40); +x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); -x_72 = lean_ctor_get(x_33, 4); -lean_inc(x_72); -x_73 = lean_ctor_get(x_33, 5); +lean_dec(x_70); +x_72 = lean_st_ref_take(x_5, x_71); +x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); -x_74 = lean_ctor_get(x_33, 6); +x_74 = lean_ctor_get(x_72, 1); lean_inc(x_74); -x_75 = lean_ctor_get(x_33, 7); +lean_dec(x_72); +x_75 = lean_ctor_get(x_73, 0); lean_inc(x_75); -lean_dec(x_33); -x_76 = !lean_is_exclusive(x_64); -if (x_76 == 0) +x_76 = lean_ctor_get(x_73, 3); +lean_inc(x_76); +x_77 = lean_ctor_get(x_73, 4); +lean_inc(x_77); +x_78 = lean_ctor_get(x_73, 5); +lean_inc(x_78); +x_79 = lean_ctor_get(x_73, 6); +lean_inc(x_79); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + lean_ctor_release(x_73, 2); + lean_ctor_release(x_73, 3); + lean_ctor_release(x_73, 4); + lean_ctor_release(x_73, 5); + lean_ctor_release(x_73, 6); + x_80 = x_73; +} else { + lean_dec_ref(x_73); + x_80 = lean_box(0); +} +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(0, 7, 0); +} else { + x_81 = x_80; +} +lean_ctor_set(x_81, 0, x_75); +lean_ctor_set(x_81, 1, x_34); +lean_ctor_set(x_81, 2, x_35); +lean_ctor_set(x_81, 3, x_76); +lean_ctor_set(x_81, 4, x_77); +lean_ctor_set(x_81, 5, x_78); +lean_ctor_set(x_81, 6, x_79); +x_82 = lean_st_ref_set(x_5, x_81, x_74); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_84 = x_82; +} else { + lean_dec_ref(x_82); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(0, 2, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_32); +lean_ctor_set(x_85, 1, x_83); +return x_85; +} +} +else { -lean_object* x_77; uint8_t x_78; -x_77 = lean_ctor_get(x_64, 0); -lean_dec(x_77); -x_78 = !lean_is_exclusive(x_66); -if (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; -x_79 = lean_ctor_get(x_66, 7); -lean_dec(x_79); -x_80 = lean_ctor_get(x_66, 6); -lean_dec(x_80); -x_81 = lean_ctor_get(x_66, 5); -lean_dec(x_81); -x_82 = lean_ctor_get(x_66, 4); -lean_dec(x_82); -x_83 = lean_ctor_get(x_66, 3); -lean_dec(x_83); -x_84 = lean_ctor_get(x_66, 2); -lean_dec(x_84); -x_85 = lean_ctor_get(x_66, 1); -lean_dec(x_85); -x_86 = lean_ctor_get(x_66, 0); -lean_dec(x_86); -lean_ctor_set(x_66, 7, x_75); -lean_ctor_set(x_66, 6, x_74); -lean_ctor_set(x_66, 5, x_73); -lean_ctor_set(x_66, 4, x_72); -lean_ctor_set(x_66, 3, x_71); -lean_ctor_set(x_66, 2, x_70); -lean_ctor_set(x_66, 1, x_69); -lean_ctor_set(x_66, 0, x_68); -x_87 = lean_st_ref_set(x_3, x_64, x_67); -x_88 = lean_ctor_get(x_87, 1); +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; uint8_t x_95; +x_86 = lean_ctor_get(x_30, 1); +lean_inc(x_86); +lean_dec(x_30); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); lean_inc(x_88); -lean_dec(x_87); -x_34 = x_88; -goto block_60; -} -else -{ -uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_89 = lean_ctor_get_uint8(x_66, sizeof(void*)*8); -lean_dec(x_66); -x_90 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_90, 0, x_68); -lean_ctor_set(x_90, 1, x_69); -lean_ctor_set(x_90, 2, x_70); -lean_ctor_set(x_90, 3, x_71); -lean_ctor_set(x_90, 4, x_72); -lean_ctor_set(x_90, 5, x_73); -lean_ctor_set(x_90, 6, x_74); -lean_ctor_set(x_90, 7, x_75); -lean_ctor_set_uint8(x_90, sizeof(void*)*8, x_89); -lean_ctor_set(x_64, 0, x_90); -x_91 = lean_st_ref_set(x_3, x_64, x_67); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); -x_34 = x_92; -goto block_60; -} -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_93 = lean_ctor_get(x_64, 1); -x_94 = lean_ctor_get(x_64, 2); -x_95 = lean_ctor_get(x_64, 3); -lean_inc(x_95); -lean_inc(x_94); +x_89 = lean_ctor_get(x_86, 2); +lean_inc(x_89); +lean_dec(x_86); +x_90 = lean_st_ref_get(x_5, x_24); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +lean_dec(x_90); +x_92 = lean_st_ref_take(x_3, x_91); +x_93 = lean_ctor_get(x_92, 0); lean_inc(x_93); -lean_dec(x_64); -x_96 = lean_ctor_get_uint8(x_66, sizeof(void*)*8); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - lean_ctor_release(x_66, 2); - lean_ctor_release(x_66, 3); - lean_ctor_release(x_66, 4); - lean_ctor_release(x_66, 5); - lean_ctor_release(x_66, 6); - lean_ctor_release(x_66, 7); - x_97 = x_66; -} else { - lean_dec_ref(x_66); - x_97 = lean_box(0); -} -if (lean_is_scalar(x_97)) { - x_98 = lean_alloc_ctor(0, 8, 1); -} else { - x_98 = x_97; -} -lean_ctor_set(x_98, 0, x_68); -lean_ctor_set(x_98, 1, x_69); -lean_ctor_set(x_98, 2, x_70); -lean_ctor_set(x_98, 3, x_71); -lean_ctor_set(x_98, 4, x_72); -lean_ctor_set(x_98, 5, x_73); -lean_ctor_set(x_98, 6, x_74); -lean_ctor_set(x_98, 7, x_75); -lean_ctor_set_uint8(x_98, sizeof(void*)*8, x_96); -x_99 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_93); -lean_ctor_set(x_99, 2, x_94); -lean_ctor_set(x_99, 3, x_95); -x_100 = lean_st_ref_set(x_3, x_99, x_67); -x_101 = lean_ctor_get(x_100, 1); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = !lean_is_exclusive(x_93); +if (x_95 == 0) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_96 = lean_ctor_get(x_93, 0); +lean_dec(x_96); +lean_ctor_set(x_93, 0, x_87); +x_97 = lean_st_ref_set(x_3, x_93, x_94); +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +lean_dec(x_97); +x_99 = lean_st_ref_take(x_5, x_98); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); lean_inc(x_101); -lean_dec(x_100); -x_34 = x_101; -goto block_60; -} -} -else +lean_dec(x_99); +x_102 = !lean_is_exclusive(x_100); +if (x_102 == 0) { -lean_object* x_102; uint8_t x_103; -x_102 = lean_ctor_get(x_63, 1); -lean_inc(x_102); -lean_dec(x_63); -x_103 = !lean_is_exclusive(x_33); -if (x_103 == 0) -{ -uint8_t x_104; -x_104 = !lean_is_exclusive(x_64); -if (x_104 == 0) -{ -lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; -x_105 = lean_ctor_get(x_64, 0); +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_103 = lean_ctor_get(x_100, 2); +lean_dec(x_103); +x_104 = lean_ctor_get(x_100, 1); +lean_dec(x_104); +lean_ctor_set(x_100, 2, x_89); +lean_ctor_set(x_100, 1, x_88); +x_105 = lean_st_ref_set(x_5, x_100, x_101); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); lean_dec(x_105); -x_106 = 1; -lean_ctor_set_uint8(x_33, sizeof(void*)*8, x_106); -lean_ctor_set(x_64, 0, x_33); -x_107 = lean_st_ref_set(x_3, x_64, x_102); -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -lean_dec(x_107); -x_34 = x_108; -goto block_60; +x_107 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_108 = l_Lean_throwError___at_Lean_Meta_liftMkBindingM___spec__1___rarg(x_107, x_2, x_3, x_4, x_5, x_106); +return x_108; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_109 = lean_ctor_get(x_64, 1); -x_110 = lean_ctor_get(x_64, 2); -x_111 = lean_ctor_get(x_64, 3); +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; +x_109 = lean_ctor_get(x_100, 0); +x_110 = lean_ctor_get(x_100, 3); +x_111 = lean_ctor_get(x_100, 4); +x_112 = lean_ctor_get(x_100, 5); +x_113 = lean_ctor_get(x_100, 6); +lean_inc(x_113); +lean_inc(x_112); lean_inc(x_111); lean_inc(x_110); lean_inc(x_109); -lean_dec(x_64); -x_112 = 1; -lean_ctor_set_uint8(x_33, sizeof(void*)*8, x_112); -x_113 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_113, 0, x_33); -lean_ctor_set(x_113, 1, x_109); -lean_ctor_set(x_113, 2, x_110); -lean_ctor_set(x_113, 3, x_111); -x_114 = lean_st_ref_set(x_3, x_113, x_102); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_34 = x_115; -goto block_60; +lean_dec(x_100); +x_114 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_114, 0, x_109); +lean_ctor_set(x_114, 1, x_88); +lean_ctor_set(x_114, 2, x_89); +lean_ctor_set(x_114, 3, x_110); +lean_ctor_set(x_114, 4, x_111); +lean_ctor_set(x_114, 5, x_112); +lean_ctor_set(x_114, 6, x_113); +x_115 = lean_st_ref_set(x_5, x_114, x_101); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +lean_dec(x_115); +x_117 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_118 = l_Lean_throwError___at_Lean_Meta_liftMkBindingM___spec__1___rarg(x_117, x_2, x_3, x_4, x_5, x_116); +return x_118; } } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_116 = lean_ctor_get(x_33, 0); -x_117 = lean_ctor_get(x_33, 1); -x_118 = lean_ctor_get(x_33, 2); -x_119 = lean_ctor_get(x_33, 3); -x_120 = lean_ctor_get(x_33, 4); -x_121 = lean_ctor_get(x_33, 5); -x_122 = lean_ctor_get(x_33, 6); -x_123 = lean_ctor_get(x_33, 7); -lean_inc(x_123); -lean_inc(x_122); +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; 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; +x_119 = lean_ctor_get(x_93, 1); +x_120 = lean_ctor_get(x_93, 2); +x_121 = lean_ctor_get(x_93, 3); lean_inc(x_121); lean_inc(x_120); lean_inc(x_119); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_33); -x_124 = lean_ctor_get(x_64, 1); +lean_dec(x_93); +x_122 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_122, 0, x_87); +lean_ctor_set(x_122, 1, x_119); +lean_ctor_set(x_122, 2, x_120); +lean_ctor_set(x_122, 3, x_121); +x_123 = lean_st_ref_set(x_3, x_122, x_94); +x_124 = lean_ctor_get(x_123, 1); lean_inc(x_124); -x_125 = lean_ctor_get(x_64, 2); -lean_inc(x_125); -x_126 = lean_ctor_get(x_64, 3); +lean_dec(x_123); +x_125 = lean_st_ref_take(x_5, x_124); +x_126 = lean_ctor_get(x_125, 0); lean_inc(x_126); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - lean_ctor_release(x_64, 2); - lean_ctor_release(x_64, 3); - x_127 = x_64; -} else { - lean_dec_ref(x_64); - x_127 = lean_box(0); -} -x_128 = 1; -x_129 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_129, 0, x_116); -lean_ctor_set(x_129, 1, x_117); -lean_ctor_set(x_129, 2, x_118); -lean_ctor_set(x_129, 3, x_119); -lean_ctor_set(x_129, 4, x_120); -lean_ctor_set(x_129, 5, x_121); -lean_ctor_set(x_129, 6, x_122); -lean_ctor_set(x_129, 7, x_123); -lean_ctor_set_uint8(x_129, sizeof(void*)*8, x_128); -if (lean_is_scalar(x_127)) { - x_130 = lean_alloc_ctor(0, 4, 0); -} else { - x_130 = x_127; -} -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_124); -lean_ctor_set(x_130, 2, x_125); -lean_ctor_set(x_130, 3, x_126); -x_131 = lean_st_ref_set(x_3, x_130, x_102); -x_132 = lean_ctor_get(x_131, 1); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +x_128 = lean_ctor_get(x_126, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_126, 3); +lean_inc(x_129); +x_130 = lean_ctor_get(x_126, 4); +lean_inc(x_130); +x_131 = lean_ctor_get(x_126, 5); +lean_inc(x_131); +x_132 = lean_ctor_get(x_126, 6); lean_inc(x_132); -lean_dec(x_131); -x_34 = x_132; -goto block_60; -} -} -block_60: -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_35 = lean_st_ref_take(x_5, x_34); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = !lean_is_exclusive(x_36); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_39 = lean_ctor_get(x_36, 2); -lean_dec(x_39); -x_40 = lean_ctor_get(x_36, 1); -lean_dec(x_40); -x_41 = lean_ctor_get(x_31, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_31, 2); -lean_inc(x_42); -lean_dec(x_31); -lean_ctor_set(x_36, 2, x_42); -lean_ctor_set(x_36, 1, x_41); -x_43 = lean_st_ref_set(x_5, x_36, x_37); -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -lean_object* x_45; -x_45 = lean_ctor_get(x_43, 0); -lean_dec(x_45); -lean_ctor_set(x_43, 0, x_32); -return x_43; -} -else -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_43, 1); -lean_inc(x_46); -lean_dec(x_43); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_32); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -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; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_48 = lean_ctor_get(x_36, 0); -x_49 = lean_ctor_get(x_36, 3); -x_50 = lean_ctor_get(x_36, 4); -x_51 = lean_ctor_get(x_36, 5); -x_52 = lean_ctor_get(x_36, 6); -lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_36); -x_53 = lean_ctor_get(x_31, 1); -lean_inc(x_53); -x_54 = lean_ctor_get(x_31, 2); -lean_inc(x_54); -lean_dec(x_31); -x_55 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_55, 0, x_48); -lean_ctor_set(x_55, 1, x_53); -lean_ctor_set(x_55, 2, x_54); -lean_ctor_set(x_55, 3, x_49); -lean_ctor_set(x_55, 4, x_50); -lean_ctor_set(x_55, 5, x_51); -lean_ctor_set(x_55, 6, x_52); -x_56 = lean_st_ref_set(x_5, x_55, x_37); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_58 = x_56; +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + lean_ctor_release(x_126, 2); + lean_ctor_release(x_126, 3); + lean_ctor_release(x_126, 4); + lean_ctor_release(x_126, 5); + lean_ctor_release(x_126, 6); + x_133 = x_126; } else { - lean_dec_ref(x_56); - x_58 = lean_box(0); + lean_dec_ref(x_126); + x_133 = lean_box(0); } -if (lean_is_scalar(x_58)) { - x_59 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(0, 7, 0); } else { - x_59 = x_58; -} -lean_ctor_set(x_59, 0, x_32); -lean_ctor_set(x_59, 1, x_57); -return x_59; -} -} -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; -x_133 = lean_ctor_get(x_30, 1); -lean_inc(x_133); -lean_dec(x_30); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_161 = lean_st_ref_get(x_5, x_24); -x_162 = lean_ctor_get(x_161, 1); -lean_inc(x_162); -lean_dec(x_161); -x_163 = lean_st_ref_take(x_3, x_162); -x_164 = lean_ctor_get(x_163, 0); -lean_inc(x_164); -x_165 = lean_ctor_get_uint8(x_134, sizeof(void*)*8); -if (x_165 == 0) -{ -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; uint8_t x_176; -x_166 = lean_ctor_get(x_164, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_163, 1); -lean_inc(x_167); -lean_dec(x_163); -x_168 = lean_ctor_get(x_134, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_134, 1); -lean_inc(x_169); -x_170 = lean_ctor_get(x_134, 2); -lean_inc(x_170); -x_171 = lean_ctor_get(x_134, 3); -lean_inc(x_171); -x_172 = lean_ctor_get(x_134, 4); -lean_inc(x_172); -x_173 = lean_ctor_get(x_134, 5); -lean_inc(x_173); -x_174 = lean_ctor_get(x_134, 6); -lean_inc(x_174); -x_175 = lean_ctor_get(x_134, 7); -lean_inc(x_175); -lean_dec(x_134); -x_176 = !lean_is_exclusive(x_164); -if (x_176 == 0) -{ -lean_object* x_177; uint8_t x_178; -x_177 = lean_ctor_get(x_164, 0); -lean_dec(x_177); -x_178 = !lean_is_exclusive(x_166); -if (x_178 == 0) -{ -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; lean_object* x_188; -x_179 = lean_ctor_get(x_166, 7); -lean_dec(x_179); -x_180 = lean_ctor_get(x_166, 6); -lean_dec(x_180); -x_181 = lean_ctor_get(x_166, 5); -lean_dec(x_181); -x_182 = lean_ctor_get(x_166, 4); -lean_dec(x_182); -x_183 = lean_ctor_get(x_166, 3); -lean_dec(x_183); -x_184 = lean_ctor_get(x_166, 2); -lean_dec(x_184); -x_185 = lean_ctor_get(x_166, 1); -lean_dec(x_185); -x_186 = lean_ctor_get(x_166, 0); -lean_dec(x_186); -lean_ctor_set(x_166, 7, x_175); -lean_ctor_set(x_166, 6, x_174); -lean_ctor_set(x_166, 5, x_173); -lean_ctor_set(x_166, 4, x_172); -lean_ctor_set(x_166, 3, x_171); -lean_ctor_set(x_166, 2, x_170); -lean_ctor_set(x_166, 1, x_169); -lean_ctor_set(x_166, 0, x_168); -x_187 = lean_st_ref_set(x_3, x_164, x_167); -x_188 = lean_ctor_get(x_187, 1); -lean_inc(x_188); -lean_dec(x_187); -x_135 = x_188; -goto block_160; -} -else -{ -uint8_t x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; -x_189 = lean_ctor_get_uint8(x_166, sizeof(void*)*8); -lean_dec(x_166); -x_190 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_190, 0, x_168); -lean_ctor_set(x_190, 1, x_169); -lean_ctor_set(x_190, 2, x_170); -lean_ctor_set(x_190, 3, x_171); -lean_ctor_set(x_190, 4, x_172); -lean_ctor_set(x_190, 5, x_173); -lean_ctor_set(x_190, 6, x_174); -lean_ctor_set(x_190, 7, x_175); -lean_ctor_set_uint8(x_190, sizeof(void*)*8, x_189); -lean_ctor_set(x_164, 0, x_190); -x_191 = lean_st_ref_set(x_3, x_164, x_167); -x_192 = lean_ctor_get(x_191, 1); -lean_inc(x_192); -lean_dec(x_191); -x_135 = x_192; -goto block_160; -} -} -else -{ -lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_193 = lean_ctor_get(x_164, 1); -x_194 = lean_ctor_get(x_164, 2); -x_195 = lean_ctor_get(x_164, 3); -lean_inc(x_195); -lean_inc(x_194); -lean_inc(x_193); -lean_dec(x_164); -x_196 = lean_ctor_get_uint8(x_166, sizeof(void*)*8); -if (lean_is_exclusive(x_166)) { - lean_ctor_release(x_166, 0); - lean_ctor_release(x_166, 1); - lean_ctor_release(x_166, 2); - lean_ctor_release(x_166, 3); - lean_ctor_release(x_166, 4); - lean_ctor_release(x_166, 5); - lean_ctor_release(x_166, 6); - lean_ctor_release(x_166, 7); - x_197 = x_166; -} else { - lean_dec_ref(x_166); - x_197 = lean_box(0); -} -if (lean_is_scalar(x_197)) { - x_198 = lean_alloc_ctor(0, 8, 1); -} else { - x_198 = x_197; -} -lean_ctor_set(x_198, 0, x_168); -lean_ctor_set(x_198, 1, x_169); -lean_ctor_set(x_198, 2, x_170); -lean_ctor_set(x_198, 3, x_171); -lean_ctor_set(x_198, 4, x_172); -lean_ctor_set(x_198, 5, x_173); -lean_ctor_set(x_198, 6, x_174); -lean_ctor_set(x_198, 7, x_175); -lean_ctor_set_uint8(x_198, sizeof(void*)*8, x_196); -x_199 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_193); -lean_ctor_set(x_199, 2, x_194); -lean_ctor_set(x_199, 3, x_195); -x_200 = lean_st_ref_set(x_3, x_199, x_167); -x_201 = lean_ctor_get(x_200, 1); -lean_inc(x_201); -lean_dec(x_200); -x_135 = x_201; -goto block_160; -} -} -else -{ -lean_object* x_202; uint8_t x_203; -x_202 = lean_ctor_get(x_163, 1); -lean_inc(x_202); -lean_dec(x_163); -x_203 = !lean_is_exclusive(x_134); -if (x_203 == 0) -{ -uint8_t x_204; -x_204 = !lean_is_exclusive(x_164); -if (x_204 == 0) -{ -lean_object* x_205; uint8_t x_206; lean_object* x_207; lean_object* x_208; -x_205 = lean_ctor_get(x_164, 0); -lean_dec(x_205); -x_206 = 1; -lean_ctor_set_uint8(x_134, sizeof(void*)*8, x_206); -lean_ctor_set(x_164, 0, x_134); -x_207 = lean_st_ref_set(x_3, x_164, x_202); -x_208 = lean_ctor_get(x_207, 1); -lean_inc(x_208); -lean_dec(x_207); -x_135 = x_208; -goto block_160; -} -else -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; -x_209 = lean_ctor_get(x_164, 1); -x_210 = lean_ctor_get(x_164, 2); -x_211 = lean_ctor_get(x_164, 3); -lean_inc(x_211); -lean_inc(x_210); -lean_inc(x_209); -lean_dec(x_164); -x_212 = 1; -lean_ctor_set_uint8(x_134, sizeof(void*)*8, x_212); -x_213 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_213, 0, x_134); -lean_ctor_set(x_213, 1, x_209); -lean_ctor_set(x_213, 2, x_210); -lean_ctor_set(x_213, 3, x_211); -x_214 = lean_st_ref_set(x_3, x_213, x_202); -x_215 = lean_ctor_get(x_214, 1); -lean_inc(x_215); -lean_dec(x_214); -x_135 = x_215; -goto block_160; -} -} -else -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_216 = lean_ctor_get(x_134, 0); -x_217 = lean_ctor_get(x_134, 1); -x_218 = lean_ctor_get(x_134, 2); -x_219 = lean_ctor_get(x_134, 3); -x_220 = lean_ctor_get(x_134, 4); -x_221 = lean_ctor_get(x_134, 5); -x_222 = lean_ctor_get(x_134, 6); -x_223 = lean_ctor_get(x_134, 7); -lean_inc(x_223); -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_inc(x_216); -lean_dec(x_134); -x_224 = lean_ctor_get(x_164, 1); -lean_inc(x_224); -x_225 = lean_ctor_get(x_164, 2); -lean_inc(x_225); -x_226 = lean_ctor_get(x_164, 3); -lean_inc(x_226); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - lean_ctor_release(x_164, 2); - lean_ctor_release(x_164, 3); - x_227 = x_164; -} else { - lean_dec_ref(x_164); - x_227 = lean_box(0); -} -x_228 = 1; -x_229 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_229, 0, x_216); -lean_ctor_set(x_229, 1, x_217); -lean_ctor_set(x_229, 2, x_218); -lean_ctor_set(x_229, 3, x_219); -lean_ctor_set(x_229, 4, x_220); -lean_ctor_set(x_229, 5, x_221); -lean_ctor_set(x_229, 6, x_222); -lean_ctor_set(x_229, 7, x_223); -lean_ctor_set_uint8(x_229, sizeof(void*)*8, x_228); -if (lean_is_scalar(x_227)) { - x_230 = lean_alloc_ctor(0, 4, 0); -} else { - x_230 = x_227; -} -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_224); -lean_ctor_set(x_230, 2, x_225); -lean_ctor_set(x_230, 3, x_226); -x_231 = lean_st_ref_set(x_3, x_230, x_202); -x_232 = lean_ctor_get(x_231, 1); -lean_inc(x_232); -lean_dec(x_231); -x_135 = x_232; -goto block_160; -} -} -block_160: -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; -x_136 = lean_st_ref_take(x_5, x_135); -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_136, 1); -lean_inc(x_138); -lean_dec(x_136); -x_139 = !lean_is_exclusive(x_137); -if (x_139 == 0) -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_140 = lean_ctor_get(x_137, 2); -lean_dec(x_140); -x_141 = lean_ctor_get(x_137, 1); -lean_dec(x_141); -x_142 = lean_ctor_get(x_133, 1); -lean_inc(x_142); -x_143 = lean_ctor_get(x_133, 2); -lean_inc(x_143); -lean_dec(x_133); -lean_ctor_set(x_137, 2, x_143); -lean_ctor_set(x_137, 1, x_142); -x_144 = lean_st_ref_set(x_5, x_137, x_138); -x_145 = lean_ctor_get(x_144, 1); -lean_inc(x_145); -lean_dec(x_144); -x_146 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_147 = l_Lean_throwError___at_Lean_Meta_liftMkBindingM___spec__1___rarg(x_146, x_2, x_3, x_4, x_5, x_145); -return x_147; -} -else -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_148 = lean_ctor_get(x_137, 0); -x_149 = lean_ctor_get(x_137, 3); -x_150 = lean_ctor_get(x_137, 4); -x_151 = lean_ctor_get(x_137, 5); -x_152 = lean_ctor_get(x_137, 6); -lean_inc(x_152); -lean_inc(x_151); -lean_inc(x_150); -lean_inc(x_149); -lean_inc(x_148); -lean_dec(x_137); -x_153 = lean_ctor_get(x_133, 1); -lean_inc(x_153); -x_154 = lean_ctor_get(x_133, 2); -lean_inc(x_154); -lean_dec(x_133); -x_155 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_155, 0, x_148); -lean_ctor_set(x_155, 1, x_153); -lean_ctor_set(x_155, 2, x_154); -lean_ctor_set(x_155, 3, x_149); -lean_ctor_set(x_155, 4, x_150); -lean_ctor_set(x_155, 5, x_151); -lean_ctor_set(x_155, 6, x_152); -x_156 = lean_st_ref_set(x_5, x_155, x_138); -x_157 = lean_ctor_get(x_156, 1); -lean_inc(x_157); -lean_dec(x_156); -x_158 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_159 = l_Lean_throwError___at_Lean_Meta_liftMkBindingM___spec__1___rarg(x_158, x_2, x_3, x_4, x_5, x_157); -return x_159; + x_134 = x_133; } +lean_ctor_set(x_134, 0, x_128); +lean_ctor_set(x_134, 1, x_88); +lean_ctor_set(x_134, 2, x_89); +lean_ctor_set(x_134, 3, x_129); +lean_ctor_set(x_134, 4, x_130); +lean_ctor_set(x_134, 5, x_131); +lean_ctor_set(x_134, 6, x_132); +x_135 = lean_st_ref_set(x_5, x_134, x_127); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +lean_dec(x_135); +x_137 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_138 = l_Lean_throwError___at_Lean_Meta_liftMkBindingM___spec__1___rarg(x_137, x_2, x_3, x_4, x_5, x_136); +return x_138; } } } @@ -10756,7 +10292,7 @@ lean_inc(x_3); x_34 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_3, x_1, x_33, x_29); 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_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_dec(x_6); lean_dec(x_4); x_35 = lean_ctor_get(x_34, 0); @@ -10770,712 +10306,358 @@ lean_dec(x_2); lean_dec(x_35); x_38 = lean_ctor_get(x_36, 0); lean_inc(x_38); -x_66 = lean_st_ref_get(x_7, x_25); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -lean_dec(x_66); -x_68 = lean_st_ref_take(x_5, x_67); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get_uint8(x_38, sizeof(void*)*8); -if (x_70 == 0) +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +x_40 = lean_ctor_get(x_36, 2); +lean_inc(x_40); +lean_dec(x_36); +x_41 = lean_st_ref_get(x_7, x_25); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_st_ref_take(x_5, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = !lean_is_exclusive(x_44); +if (x_46 == 0) { -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; lean_object* x_80; uint8_t x_81; -x_71 = lean_ctor_get(x_69, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_68, 1); -lean_inc(x_72); -lean_dec(x_68); -x_73 = lean_ctor_get(x_38, 0); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_47 = lean_ctor_get(x_44, 0); +lean_dec(x_47); +lean_ctor_set(x_44, 0, x_38); +x_48 = lean_st_ref_set(x_5, x_44, x_45); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_st_ref_take(x_7, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = !lean_is_exclusive(x_51); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_54 = lean_ctor_get(x_51, 2); +lean_dec(x_54); +x_55 = lean_ctor_get(x_51, 1); +lean_dec(x_55); +lean_ctor_set(x_51, 2, x_40); +lean_ctor_set(x_51, 1, x_39); +x_56 = lean_st_ref_set(x_7, x_51, x_52); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_37); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_37); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_61 = lean_ctor_get(x_51, 0); +x_62 = lean_ctor_get(x_51, 3); +x_63 = lean_ctor_get(x_51, 4); +x_64 = lean_ctor_get(x_51, 5); +x_65 = lean_ctor_get(x_51, 6); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_51); +x_66 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_66, 0, x_61); +lean_ctor_set(x_66, 1, x_39); +lean_ctor_set(x_66, 2, x_40); +lean_ctor_set(x_66, 3, x_62); +lean_ctor_set(x_66, 4, x_63); +lean_ctor_set(x_66, 5, x_64); +lean_ctor_set(x_66, 6, x_65); +x_67 = lean_st_ref_set(x_7, x_66, x_52); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_69 = x_67; +} else { + lean_dec_ref(x_67); + x_69 = lean_box(0); +} +if (lean_is_scalar(x_69)) { + x_70 = lean_alloc_ctor(0, 2, 0); +} else { + x_70 = x_69; +} +lean_ctor_set(x_70, 0, x_37); +lean_ctor_set(x_70, 1, x_68); +return x_70; +} +} +else +{ +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; 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; +x_71 = lean_ctor_get(x_44, 1); +x_72 = lean_ctor_get(x_44, 2); +x_73 = lean_ctor_get(x_44, 3); lean_inc(x_73); -x_74 = lean_ctor_get(x_38, 1); -lean_inc(x_74); -x_75 = lean_ctor_get(x_38, 2); -lean_inc(x_75); -x_76 = lean_ctor_get(x_38, 3); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_44); +x_74 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_74, 0, x_38); +lean_ctor_set(x_74, 1, x_71); +lean_ctor_set(x_74, 2, x_72); +lean_ctor_set(x_74, 3, x_73); +x_75 = lean_st_ref_set(x_5, x_74, x_45); +x_76 = lean_ctor_get(x_75, 1); lean_inc(x_76); -x_77 = lean_ctor_get(x_38, 4); -lean_inc(x_77); -x_78 = lean_ctor_get(x_38, 5); +lean_dec(x_75); +x_77 = lean_st_ref_take(x_7, x_76); +x_78 = lean_ctor_get(x_77, 0); lean_inc(x_78); -x_79 = lean_ctor_get(x_38, 6); +x_79 = lean_ctor_get(x_77, 1); lean_inc(x_79); -x_80 = lean_ctor_get(x_38, 7); +lean_dec(x_77); +x_80 = lean_ctor_get(x_78, 0); lean_inc(x_80); -lean_dec(x_38); -x_81 = !lean_is_exclusive(x_69); -if (x_81 == 0) +x_81 = lean_ctor_get(x_78, 3); +lean_inc(x_81); +x_82 = lean_ctor_get(x_78, 4); +lean_inc(x_82); +x_83 = lean_ctor_get(x_78, 5); +lean_inc(x_83); +x_84 = lean_ctor_get(x_78, 6); +lean_inc(x_84); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + lean_ctor_release(x_78, 2); + lean_ctor_release(x_78, 3); + lean_ctor_release(x_78, 4); + lean_ctor_release(x_78, 5); + lean_ctor_release(x_78, 6); + x_85 = x_78; +} else { + lean_dec_ref(x_78); + x_85 = lean_box(0); +} +if (lean_is_scalar(x_85)) { + x_86 = lean_alloc_ctor(0, 7, 0); +} else { + x_86 = x_85; +} +lean_ctor_set(x_86, 0, x_80); +lean_ctor_set(x_86, 1, x_39); +lean_ctor_set(x_86, 2, x_40); +lean_ctor_set(x_86, 3, x_81); +lean_ctor_set(x_86, 4, x_82); +lean_ctor_set(x_86, 5, x_83); +lean_ctor_set(x_86, 6, x_84); +x_87 = lean_st_ref_set(x_7, x_86, x_79); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_89 = x_87; +} else { + lean_dec_ref(x_87); + x_89 = lean_box(0); +} +if (lean_is_scalar(x_89)) { + x_90 = lean_alloc_ctor(0, 2, 0); +} else { + x_90 = x_89; +} +lean_ctor_set(x_90, 0, x_37); +lean_ctor_set(x_90, 1, x_88); +return x_90; +} +} +else { -lean_object* x_82; uint8_t x_83; -x_82 = lean_ctor_get(x_69, 0); -lean_dec(x_82); -x_83 = !lean_is_exclusive(x_71); -if (x_83 == 0) -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_84 = lean_ctor_get(x_71, 7); -lean_dec(x_84); -x_85 = lean_ctor_get(x_71, 6); -lean_dec(x_85); -x_86 = lean_ctor_get(x_71, 5); -lean_dec(x_86); -x_87 = lean_ctor_get(x_71, 4); -lean_dec(x_87); -x_88 = lean_ctor_get(x_71, 3); -lean_dec(x_88); -x_89 = lean_ctor_get(x_71, 2); -lean_dec(x_89); -x_90 = lean_ctor_get(x_71, 1); -lean_dec(x_90); -x_91 = lean_ctor_get(x_71, 0); -lean_dec(x_91); -lean_ctor_set(x_71, 7, x_80); -lean_ctor_set(x_71, 6, x_79); -lean_ctor_set(x_71, 5, x_78); -lean_ctor_set(x_71, 4, x_77); -lean_ctor_set(x_71, 3, x_76); -lean_ctor_set(x_71, 2, x_75); -lean_ctor_set(x_71, 1, x_74); -lean_ctor_set(x_71, 0, x_73); -x_92 = lean_st_ref_set(x_5, x_69, x_72); -x_93 = lean_ctor_get(x_92, 1); +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; uint8_t x_100; +lean_dec(x_3); +lean_dec(x_2); +x_91 = lean_ctor_get(x_34, 1); +lean_inc(x_91); +lean_dec(x_34); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); lean_inc(x_93); -lean_dec(x_92); -x_39 = x_93; -goto block_65; -} -else -{ -uint8_t x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_94 = lean_ctor_get_uint8(x_71, sizeof(void*)*8); -lean_dec(x_71); -x_95 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_95, 0, x_73); -lean_ctor_set(x_95, 1, x_74); -lean_ctor_set(x_95, 2, x_75); -lean_ctor_set(x_95, 3, x_76); -lean_ctor_set(x_95, 4, x_77); -lean_ctor_set(x_95, 5, x_78); -lean_ctor_set(x_95, 6, x_79); -lean_ctor_set(x_95, 7, x_80); -lean_ctor_set_uint8(x_95, sizeof(void*)*8, x_94); -lean_ctor_set(x_69, 0, x_95); -x_96 = lean_st_ref_set(x_5, x_69, x_72); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_39 = x_97; -goto block_65; -} -} -else -{ -lean_object* x_98; 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; -x_98 = lean_ctor_get(x_69, 1); -x_99 = lean_ctor_get(x_69, 2); -x_100 = lean_ctor_get(x_69, 3); -lean_inc(x_100); -lean_inc(x_99); +x_94 = lean_ctor_get(x_91, 2); +lean_inc(x_94); +lean_dec(x_91); +x_95 = lean_st_ref_get(x_7, x_25); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec(x_95); +x_97 = lean_st_ref_take(x_5, x_96); +x_98 = lean_ctor_get(x_97, 0); lean_inc(x_98); -lean_dec(x_69); -x_101 = lean_ctor_get_uint8(x_71, sizeof(void*)*8); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - lean_ctor_release(x_71, 2); - lean_ctor_release(x_71, 3); - lean_ctor_release(x_71, 4); - lean_ctor_release(x_71, 5); - lean_ctor_release(x_71, 6); - lean_ctor_release(x_71, 7); - x_102 = x_71; -} else { - lean_dec_ref(x_71); - x_102 = lean_box(0); -} -if (lean_is_scalar(x_102)) { - x_103 = lean_alloc_ctor(0, 8, 1); -} else { - x_103 = x_102; -} -lean_ctor_set(x_103, 0, x_73); -lean_ctor_set(x_103, 1, x_74); -lean_ctor_set(x_103, 2, x_75); -lean_ctor_set(x_103, 3, x_76); -lean_ctor_set(x_103, 4, x_77); -lean_ctor_set(x_103, 5, x_78); -lean_ctor_set(x_103, 6, x_79); -lean_ctor_set(x_103, 7, x_80); -lean_ctor_set_uint8(x_103, sizeof(void*)*8, x_101); -x_104 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_98); -lean_ctor_set(x_104, 2, x_99); -lean_ctor_set(x_104, 3, x_100); -x_105 = lean_st_ref_set(x_5, x_104, x_72); -x_106 = lean_ctor_get(x_105, 1); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = !lean_is_exclusive(x_98); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_101 = lean_ctor_get(x_98, 0); +lean_dec(x_101); +lean_ctor_set(x_98, 0, x_92); +x_102 = lean_st_ref_set(x_5, x_98, x_99); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +lean_dec(x_102); +x_104 = lean_st_ref_take(x_7, x_103); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); lean_inc(x_106); -lean_dec(x_105); -x_39 = x_106; -goto block_65; -} -} -else +lean_dec(x_104); +x_107 = !lean_is_exclusive(x_105); +if (x_107 == 0) { -lean_object* x_107; uint8_t x_108; -x_107 = lean_ctor_get(x_68, 1); -lean_inc(x_107); -lean_dec(x_68); -x_108 = !lean_is_exclusive(x_38); -if (x_108 == 0) -{ -uint8_t x_109; -x_109 = !lean_is_exclusive(x_69); -if (x_109 == 0) -{ -lean_object* x_110; uint8_t x_111; lean_object* x_112; lean_object* x_113; -x_110 = lean_ctor_get(x_69, 0); +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_108 = lean_ctor_get(x_105, 2); +lean_dec(x_108); +x_109 = lean_ctor_get(x_105, 1); +lean_dec(x_109); +lean_ctor_set(x_105, 2, x_94); +lean_ctor_set(x_105, 1, x_93); +x_110 = lean_st_ref_set(x_7, x_105, x_106); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); lean_dec(x_110); -x_111 = 1; -lean_ctor_set_uint8(x_38, sizeof(void*)*8, x_111); -lean_ctor_set(x_69, 0, x_38); -x_112 = lean_st_ref_set(x_5, x_69, x_107); -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -lean_dec(x_112); -x_39 = x_113; -goto block_65; +x_112 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_113 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_112, x_4, x_5, x_6, x_7, x_111); +lean_dec(x_6); +lean_dec(x_4); +return x_113; } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_114 = lean_ctor_get(x_69, 1); -x_115 = lean_ctor_get(x_69, 2); -x_116 = lean_ctor_get(x_69, 3); +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; +x_114 = lean_ctor_get(x_105, 0); +x_115 = lean_ctor_get(x_105, 3); +x_116 = lean_ctor_get(x_105, 4); +x_117 = lean_ctor_get(x_105, 5); +x_118 = lean_ctor_get(x_105, 6); +lean_inc(x_118); +lean_inc(x_117); lean_inc(x_116); lean_inc(x_115); lean_inc(x_114); -lean_dec(x_69); -x_117 = 1; -lean_ctor_set_uint8(x_38, sizeof(void*)*8, x_117); -x_118 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_118, 0, x_38); -lean_ctor_set(x_118, 1, x_114); -lean_ctor_set(x_118, 2, x_115); -lean_ctor_set(x_118, 3, x_116); -x_119 = lean_st_ref_set(x_5, x_118, x_107); -x_120 = lean_ctor_get(x_119, 1); -lean_inc(x_120); -lean_dec(x_119); -x_39 = x_120; -goto block_65; +lean_dec(x_105); +x_119 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_119, 0, x_114); +lean_ctor_set(x_119, 1, x_93); +lean_ctor_set(x_119, 2, x_94); +lean_ctor_set(x_119, 3, x_115); +lean_ctor_set(x_119, 4, x_116); +lean_ctor_set(x_119, 5, x_117); +lean_ctor_set(x_119, 6, x_118); +x_120 = lean_st_ref_set(x_7, x_119, x_106); +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +lean_dec(x_120); +x_122 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_123 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_122, x_4, x_5, x_6, x_7, x_121); +lean_dec(x_6); +lean_dec(x_4); +return x_123; } } else { -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_121 = lean_ctor_get(x_38, 0); -x_122 = lean_ctor_get(x_38, 1); -x_123 = lean_ctor_get(x_38, 2); -x_124 = lean_ctor_get(x_38, 3); -x_125 = lean_ctor_get(x_38, 4); -x_126 = lean_ctor_get(x_38, 5); -x_127 = lean_ctor_get(x_38, 6); -x_128 = lean_ctor_get(x_38, 7); -lean_inc(x_128); -lean_inc(x_127); +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; 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_124 = lean_ctor_get(x_98, 1); +x_125 = lean_ctor_get(x_98, 2); +x_126 = lean_ctor_get(x_98, 3); lean_inc(x_126); lean_inc(x_125); lean_inc(x_124); -lean_inc(x_123); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_38); -x_129 = lean_ctor_get(x_69, 1); +lean_dec(x_98); +x_127 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_127, 0, x_92); +lean_ctor_set(x_127, 1, x_124); +lean_ctor_set(x_127, 2, x_125); +lean_ctor_set(x_127, 3, x_126); +x_128 = lean_st_ref_set(x_5, x_127, x_99); +x_129 = lean_ctor_get(x_128, 1); lean_inc(x_129); -x_130 = lean_ctor_get(x_69, 2); -lean_inc(x_130); -x_131 = lean_ctor_get(x_69, 3); +lean_dec(x_128); +x_130 = lean_st_ref_take(x_7, x_129); +x_131 = lean_ctor_get(x_130, 0); lean_inc(x_131); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - lean_ctor_release(x_69, 2); - lean_ctor_release(x_69, 3); - x_132 = x_69; -} else { - lean_dec_ref(x_69); - x_132 = lean_box(0); -} -x_133 = 1; -x_134 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_134, 0, x_121); -lean_ctor_set(x_134, 1, x_122); -lean_ctor_set(x_134, 2, x_123); -lean_ctor_set(x_134, 3, x_124); -lean_ctor_set(x_134, 4, x_125); -lean_ctor_set(x_134, 5, x_126); -lean_ctor_set(x_134, 6, x_127); -lean_ctor_set(x_134, 7, x_128); -lean_ctor_set_uint8(x_134, sizeof(void*)*8, x_133); -if (lean_is_scalar(x_132)) { - x_135 = lean_alloc_ctor(0, 4, 0); -} else { - x_135 = x_132; -} -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_129); -lean_ctor_set(x_135, 2, x_130); -lean_ctor_set(x_135, 3, x_131); -x_136 = lean_st_ref_set(x_5, x_135, x_107); -x_137 = lean_ctor_get(x_136, 1); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_133 = lean_ctor_get(x_131, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_131, 3); +lean_inc(x_134); +x_135 = lean_ctor_get(x_131, 4); +lean_inc(x_135); +x_136 = lean_ctor_get(x_131, 5); +lean_inc(x_136); +x_137 = lean_ctor_get(x_131, 6); lean_inc(x_137); -lean_dec(x_136); -x_39 = x_137; -goto block_65; -} -} -block_65: -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_40 = lean_st_ref_take(x_7, x_39); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = !lean_is_exclusive(x_41); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_44 = lean_ctor_get(x_41, 2); -lean_dec(x_44); -x_45 = lean_ctor_get(x_41, 1); -lean_dec(x_45); -x_46 = lean_ctor_get(x_36, 1); -lean_inc(x_46); -x_47 = lean_ctor_get(x_36, 2); -lean_inc(x_47); -lean_dec(x_36); -lean_ctor_set(x_41, 2, x_47); -lean_ctor_set(x_41, 1, x_46); -x_48 = lean_st_ref_set(x_7, x_41, x_42); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) -{ -lean_object* x_50; -x_50 = lean_ctor_get(x_48, 0); -lean_dec(x_50); -lean_ctor_set(x_48, 0, x_37); -return x_48; -} -else -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_48, 1); -lean_inc(x_51); -lean_dec(x_48); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_37); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; 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_53 = lean_ctor_get(x_41, 0); -x_54 = lean_ctor_get(x_41, 3); -x_55 = lean_ctor_get(x_41, 4); -x_56 = lean_ctor_get(x_41, 5); -x_57 = lean_ctor_get(x_41, 6); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_41); -x_58 = lean_ctor_get(x_36, 1); -lean_inc(x_58); -x_59 = lean_ctor_get(x_36, 2); -lean_inc(x_59); -lean_dec(x_36); -x_60 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_60, 0, x_53); -lean_ctor_set(x_60, 1, x_58); -lean_ctor_set(x_60, 2, x_59); -lean_ctor_set(x_60, 3, x_54); -lean_ctor_set(x_60, 4, x_55); -lean_ctor_set(x_60, 5, x_56); -lean_ctor_set(x_60, 6, x_57); -x_61 = lean_st_ref_set(x_7, x_60, x_42); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_63 = x_61; +if (lean_is_exclusive(x_131)) { + lean_ctor_release(x_131, 0); + lean_ctor_release(x_131, 1); + lean_ctor_release(x_131, 2); + lean_ctor_release(x_131, 3); + lean_ctor_release(x_131, 4); + lean_ctor_release(x_131, 5); + lean_ctor_release(x_131, 6); + x_138 = x_131; } else { - lean_dec_ref(x_61); - x_63 = lean_box(0); + lean_dec_ref(x_131); + x_138 = lean_box(0); } -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_138)) { + x_139 = lean_alloc_ctor(0, 7, 0); } else { - x_64 = x_63; + x_139 = x_138; } -lean_ctor_set(x_64, 0, x_37); -lean_ctor_set(x_64, 1, x_62); -return x_64; -} -} -} -else -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; -lean_dec(x_3); -lean_dec(x_2); -x_138 = lean_ctor_get(x_34, 1); -lean_inc(x_138); -lean_dec(x_34); -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -x_166 = lean_st_ref_get(x_7, x_25); -x_167 = lean_ctor_get(x_166, 1); -lean_inc(x_167); -lean_dec(x_166); -x_168 = lean_st_ref_take(x_5, x_167); -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get_uint8(x_139, sizeof(void*)*8); -if (x_170 == 0) -{ -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; uint8_t x_181; -x_171 = lean_ctor_get(x_169, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_168, 1); -lean_inc(x_172); -lean_dec(x_168); -x_173 = lean_ctor_get(x_139, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_139, 1); -lean_inc(x_174); -x_175 = lean_ctor_get(x_139, 2); -lean_inc(x_175); -x_176 = lean_ctor_get(x_139, 3); -lean_inc(x_176); -x_177 = lean_ctor_get(x_139, 4); -lean_inc(x_177); -x_178 = lean_ctor_get(x_139, 5); -lean_inc(x_178); -x_179 = lean_ctor_get(x_139, 6); -lean_inc(x_179); -x_180 = lean_ctor_get(x_139, 7); -lean_inc(x_180); -lean_dec(x_139); -x_181 = !lean_is_exclusive(x_169); -if (x_181 == 0) -{ -lean_object* x_182; uint8_t x_183; -x_182 = lean_ctor_get(x_169, 0); -lean_dec(x_182); -x_183 = !lean_is_exclusive(x_171); -if (x_183 == 0) -{ -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; -x_184 = lean_ctor_get(x_171, 7); -lean_dec(x_184); -x_185 = lean_ctor_get(x_171, 6); -lean_dec(x_185); -x_186 = lean_ctor_get(x_171, 5); -lean_dec(x_186); -x_187 = lean_ctor_get(x_171, 4); -lean_dec(x_187); -x_188 = lean_ctor_get(x_171, 3); -lean_dec(x_188); -x_189 = lean_ctor_get(x_171, 2); -lean_dec(x_189); -x_190 = lean_ctor_get(x_171, 1); -lean_dec(x_190); -x_191 = lean_ctor_get(x_171, 0); -lean_dec(x_191); -lean_ctor_set(x_171, 7, x_180); -lean_ctor_set(x_171, 6, x_179); -lean_ctor_set(x_171, 5, x_178); -lean_ctor_set(x_171, 4, x_177); -lean_ctor_set(x_171, 3, x_176); -lean_ctor_set(x_171, 2, x_175); -lean_ctor_set(x_171, 1, x_174); -lean_ctor_set(x_171, 0, x_173); -x_192 = lean_st_ref_set(x_5, x_169, x_172); -x_193 = lean_ctor_get(x_192, 1); -lean_inc(x_193); -lean_dec(x_192); -x_140 = x_193; -goto block_165; -} -else -{ -uint8_t x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_194 = lean_ctor_get_uint8(x_171, sizeof(void*)*8); -lean_dec(x_171); -x_195 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_195, 0, x_173); -lean_ctor_set(x_195, 1, x_174); -lean_ctor_set(x_195, 2, x_175); -lean_ctor_set(x_195, 3, x_176); -lean_ctor_set(x_195, 4, x_177); -lean_ctor_set(x_195, 5, x_178); -lean_ctor_set(x_195, 6, x_179); -lean_ctor_set(x_195, 7, x_180); -lean_ctor_set_uint8(x_195, sizeof(void*)*8, x_194); -lean_ctor_set(x_169, 0, x_195); -x_196 = lean_st_ref_set(x_5, x_169, x_172); -x_197 = lean_ctor_get(x_196, 1); -lean_inc(x_197); -lean_dec(x_196); -x_140 = x_197; -goto block_165; -} -} -else -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_198 = lean_ctor_get(x_169, 1); -x_199 = lean_ctor_get(x_169, 2); -x_200 = lean_ctor_get(x_169, 3); -lean_inc(x_200); -lean_inc(x_199); -lean_inc(x_198); -lean_dec(x_169); -x_201 = lean_ctor_get_uint8(x_171, sizeof(void*)*8); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - lean_ctor_release(x_171, 1); - lean_ctor_release(x_171, 2); - lean_ctor_release(x_171, 3); - lean_ctor_release(x_171, 4); - lean_ctor_release(x_171, 5); - lean_ctor_release(x_171, 6); - lean_ctor_release(x_171, 7); - x_202 = x_171; -} else { - lean_dec_ref(x_171); - x_202 = lean_box(0); -} -if (lean_is_scalar(x_202)) { - x_203 = lean_alloc_ctor(0, 8, 1); -} else { - x_203 = x_202; -} -lean_ctor_set(x_203, 0, x_173); -lean_ctor_set(x_203, 1, x_174); -lean_ctor_set(x_203, 2, x_175); -lean_ctor_set(x_203, 3, x_176); -lean_ctor_set(x_203, 4, x_177); -lean_ctor_set(x_203, 5, x_178); -lean_ctor_set(x_203, 6, x_179); -lean_ctor_set(x_203, 7, x_180); -lean_ctor_set_uint8(x_203, sizeof(void*)*8, x_201); -x_204 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_198); -lean_ctor_set(x_204, 2, x_199); -lean_ctor_set(x_204, 3, x_200); -x_205 = lean_st_ref_set(x_5, x_204, x_172); -x_206 = lean_ctor_get(x_205, 1); -lean_inc(x_206); -lean_dec(x_205); -x_140 = x_206; -goto block_165; -} -} -else -{ -lean_object* x_207; uint8_t x_208; -x_207 = lean_ctor_get(x_168, 1); -lean_inc(x_207); -lean_dec(x_168); -x_208 = !lean_is_exclusive(x_139); -if (x_208 == 0) -{ -uint8_t x_209; -x_209 = !lean_is_exclusive(x_169); -if (x_209 == 0) -{ -lean_object* x_210; uint8_t x_211; lean_object* x_212; lean_object* x_213; -x_210 = lean_ctor_get(x_169, 0); -lean_dec(x_210); -x_211 = 1; -lean_ctor_set_uint8(x_139, sizeof(void*)*8, x_211); -lean_ctor_set(x_169, 0, x_139); -x_212 = lean_st_ref_set(x_5, x_169, x_207); -x_213 = lean_ctor_get(x_212, 1); -lean_inc(x_213); -lean_dec(x_212); -x_140 = x_213; -goto block_165; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_214 = lean_ctor_get(x_169, 1); -x_215 = lean_ctor_get(x_169, 2); -x_216 = lean_ctor_get(x_169, 3); -lean_inc(x_216); -lean_inc(x_215); -lean_inc(x_214); -lean_dec(x_169); -x_217 = 1; -lean_ctor_set_uint8(x_139, sizeof(void*)*8, x_217); -x_218 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_218, 0, x_139); -lean_ctor_set(x_218, 1, x_214); -lean_ctor_set(x_218, 2, x_215); -lean_ctor_set(x_218, 3, x_216); -x_219 = lean_st_ref_set(x_5, x_218, x_207); -x_220 = lean_ctor_get(x_219, 1); -lean_inc(x_220); -lean_dec(x_219); -x_140 = x_220; -goto block_165; -} -} -else -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; -x_221 = lean_ctor_get(x_139, 0); -x_222 = lean_ctor_get(x_139, 1); -x_223 = lean_ctor_get(x_139, 2); -x_224 = lean_ctor_get(x_139, 3); -x_225 = lean_ctor_get(x_139, 4); -x_226 = lean_ctor_get(x_139, 5); -x_227 = lean_ctor_get(x_139, 6); -x_228 = lean_ctor_get(x_139, 7); -lean_inc(x_228); -lean_inc(x_227); -lean_inc(x_226); -lean_inc(x_225); -lean_inc(x_224); -lean_inc(x_223); -lean_inc(x_222); -lean_inc(x_221); -lean_dec(x_139); -x_229 = lean_ctor_get(x_169, 1); -lean_inc(x_229); -x_230 = lean_ctor_get(x_169, 2); -lean_inc(x_230); -x_231 = lean_ctor_get(x_169, 3); -lean_inc(x_231); -if (lean_is_exclusive(x_169)) { - lean_ctor_release(x_169, 0); - lean_ctor_release(x_169, 1); - lean_ctor_release(x_169, 2); - lean_ctor_release(x_169, 3); - x_232 = x_169; -} else { - lean_dec_ref(x_169); - x_232 = lean_box(0); -} -x_233 = 1; -x_234 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_234, 0, x_221); -lean_ctor_set(x_234, 1, x_222); -lean_ctor_set(x_234, 2, x_223); -lean_ctor_set(x_234, 3, x_224); -lean_ctor_set(x_234, 4, x_225); -lean_ctor_set(x_234, 5, x_226); -lean_ctor_set(x_234, 6, x_227); -lean_ctor_set(x_234, 7, x_228); -lean_ctor_set_uint8(x_234, sizeof(void*)*8, x_233); -if (lean_is_scalar(x_232)) { - x_235 = lean_alloc_ctor(0, 4, 0); -} else { - x_235 = x_232; -} -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_229); -lean_ctor_set(x_235, 2, x_230); -lean_ctor_set(x_235, 3, x_231); -x_236 = lean_st_ref_set(x_5, x_235, x_207); -x_237 = lean_ctor_get(x_236, 1); -lean_inc(x_237); -lean_dec(x_236); -x_140 = x_237; -goto block_165; -} -} -block_165: -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; -x_141 = lean_st_ref_take(x_7, x_140); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = !lean_is_exclusive(x_142); -if (x_144 == 0) -{ -lean_object* x_145; lean_object* x_146; 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_145 = lean_ctor_get(x_142, 2); -lean_dec(x_145); -x_146 = lean_ctor_get(x_142, 1); -lean_dec(x_146); -x_147 = lean_ctor_get(x_138, 1); -lean_inc(x_147); -x_148 = lean_ctor_get(x_138, 2); -lean_inc(x_148); -lean_dec(x_138); -lean_ctor_set(x_142, 2, x_148); -lean_ctor_set(x_142, 1, x_147); -x_149 = lean_st_ref_set(x_7, x_142, x_143); -x_150 = lean_ctor_get(x_149, 1); -lean_inc(x_150); -lean_dec(x_149); -x_151 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_152 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_151, x_4, x_5, x_6, x_7, x_150); +lean_ctor_set(x_139, 0, x_133); +lean_ctor_set(x_139, 1, x_93); +lean_ctor_set(x_139, 2, x_94); +lean_ctor_set(x_139, 3, x_134); +lean_ctor_set(x_139, 4, x_135); +lean_ctor_set(x_139, 5, x_136); +lean_ctor_set(x_139, 6, x_137); +x_140 = lean_st_ref_set(x_7, x_139, x_132); +x_141 = lean_ctor_get(x_140, 1); +lean_inc(x_141); +lean_dec(x_140); +x_142 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_143 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_142, x_4, x_5, x_6, x_7, x_141); lean_dec(x_6); lean_dec(x_4); -return x_152; -} -else -{ -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; -x_153 = lean_ctor_get(x_142, 0); -x_154 = lean_ctor_get(x_142, 3); -x_155 = lean_ctor_get(x_142, 4); -x_156 = lean_ctor_get(x_142, 5); -x_157 = lean_ctor_get(x_142, 6); -lean_inc(x_157); -lean_inc(x_156); -lean_inc(x_155); -lean_inc(x_154); -lean_inc(x_153); -lean_dec(x_142); -x_158 = lean_ctor_get(x_138, 1); -lean_inc(x_158); -x_159 = lean_ctor_get(x_138, 2); -lean_inc(x_159); -lean_dec(x_138); -x_160 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_160, 0, x_153); -lean_ctor_set(x_160, 1, x_158); -lean_ctor_set(x_160, 2, x_159); -lean_ctor_set(x_160, 3, x_154); -lean_ctor_set(x_160, 4, x_155); -lean_ctor_set(x_160, 5, x_156); -lean_ctor_set(x_160, 6, x_157); -x_161 = lean_st_ref_set(x_7, x_160, x_143); -x_162 = lean_ctor_get(x_161, 1); -lean_inc(x_162); -lean_dec(x_161); -x_163 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_164 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_163, x_4, x_5, x_6, x_7, x_162); -lean_dec(x_6); -lean_dec(x_4); -return x_164; -} +return x_143; } } } @@ -11658,7 +10840,7 @@ lean_ctor_set_uint8(x_32, sizeof(void*)*2 + 1, x_31); x_33 = l_Lean_MetavarContext_MkBinding_collectForwardDeps(x_8, x_1, x_32, x_29); 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_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_dec(x_5); lean_dec(x_3); x_34 = lean_ctor_get(x_33, 1); @@ -11668,722 +10850,367 @@ lean_inc(x_35); lean_dec(x_33); x_36 = lean_ctor_get(x_34, 0); lean_inc(x_36); -x_64 = lean_st_ref_get(x_6, x_25); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_dec(x_64); -x_66 = lean_st_ref_take(x_4, x_65); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get_uint8(x_36, sizeof(void*)*8); -if (x_68 == 0) +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +x_38 = lean_ctor_get(x_34, 2); +lean_inc(x_38); +lean_dec(x_34); +x_39 = lean_st_ref_get(x_6, x_25); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_st_ref_take(x_4, x_40); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = !lean_is_exclusive(x_42); +if (x_44 == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_69 = lean_ctor_get(x_67, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_66, 1); -lean_inc(x_70); -lean_dec(x_66); -x_71 = lean_ctor_get(x_36, 0); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_45 = lean_ctor_get(x_42, 0); +lean_dec(x_45); +lean_ctor_set(x_42, 0, x_36); +x_46 = lean_st_ref_set(x_4, x_42, x_43); +lean_dec(x_4); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = lean_st_ref_take(x_6, x_47); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = !lean_is_exclusive(x_49); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_52 = lean_ctor_get(x_49, 2); +lean_dec(x_52); +x_53 = lean_ctor_get(x_49, 1); +lean_dec(x_53); +lean_ctor_set(x_49, 2, x_38); +lean_ctor_set(x_49, 1, x_37); +x_54 = lean_st_ref_set(x_6, x_49, x_50); +lean_dec(x_6); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) +{ +lean_object* x_56; +x_56 = lean_ctor_get(x_54, 0); +lean_dec(x_56); +lean_ctor_set(x_54, 0, x_35); +return x_54; +} +else +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_35); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_59 = lean_ctor_get(x_49, 0); +x_60 = lean_ctor_get(x_49, 3); +x_61 = lean_ctor_get(x_49, 4); +x_62 = lean_ctor_get(x_49, 5); +x_63 = lean_ctor_get(x_49, 6); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_49); +x_64 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_64, 0, x_59); +lean_ctor_set(x_64, 1, x_37); +lean_ctor_set(x_64, 2, x_38); +lean_ctor_set(x_64, 3, x_60); +lean_ctor_set(x_64, 4, x_61); +lean_ctor_set(x_64, 5, x_62); +lean_ctor_set(x_64, 6, x_63); +x_65 = lean_st_ref_set(x_6, x_64, x_50); +lean_dec(x_6); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_67 = x_65; +} else { + lean_dec_ref(x_65); + x_67 = lean_box(0); +} +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_67; +} +lean_ctor_set(x_68, 0, x_35); +lean_ctor_set(x_68, 1, x_66); +return x_68; +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_69 = lean_ctor_get(x_42, 1); +x_70 = lean_ctor_get(x_42, 2); +x_71 = lean_ctor_get(x_42, 3); lean_inc(x_71); -x_72 = lean_ctor_get(x_36, 1); -lean_inc(x_72); -x_73 = lean_ctor_get(x_36, 2); -lean_inc(x_73); -x_74 = lean_ctor_get(x_36, 3); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_42); +x_72 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_72, 0, x_36); +lean_ctor_set(x_72, 1, x_69); +lean_ctor_set(x_72, 2, x_70); +lean_ctor_set(x_72, 3, x_71); +x_73 = lean_st_ref_set(x_4, x_72, x_43); +lean_dec(x_4); +x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); -x_75 = lean_ctor_get(x_36, 4); -lean_inc(x_75); -x_76 = lean_ctor_get(x_36, 5); +lean_dec(x_73); +x_75 = lean_st_ref_take(x_6, x_74); +x_76 = lean_ctor_get(x_75, 0); lean_inc(x_76); -x_77 = lean_ctor_get(x_36, 6); +x_77 = lean_ctor_get(x_75, 1); lean_inc(x_77); -x_78 = lean_ctor_get(x_36, 7); +lean_dec(x_75); +x_78 = lean_ctor_get(x_76, 0); lean_inc(x_78); -lean_dec(x_36); -x_79 = !lean_is_exclusive(x_67); -if (x_79 == 0) +x_79 = lean_ctor_get(x_76, 3); +lean_inc(x_79); +x_80 = lean_ctor_get(x_76, 4); +lean_inc(x_80); +x_81 = lean_ctor_get(x_76, 5); +lean_inc(x_81); +x_82 = lean_ctor_get(x_76, 6); +lean_inc(x_82); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + lean_ctor_release(x_76, 2); + lean_ctor_release(x_76, 3); + lean_ctor_release(x_76, 4); + lean_ctor_release(x_76, 5); + lean_ctor_release(x_76, 6); + x_83 = x_76; +} else { + lean_dec_ref(x_76); + x_83 = lean_box(0); +} +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(0, 7, 0); +} else { + x_84 = x_83; +} +lean_ctor_set(x_84, 0, x_78); +lean_ctor_set(x_84, 1, x_37); +lean_ctor_set(x_84, 2, x_38); +lean_ctor_set(x_84, 3, x_79); +lean_ctor_set(x_84, 4, x_80); +lean_ctor_set(x_84, 5, x_81); +lean_ctor_set(x_84, 6, x_82); +x_85 = lean_st_ref_set(x_6, x_84, x_77); +lean_dec(x_6); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_87 = x_85; +} else { + lean_dec_ref(x_85); + x_87 = lean_box(0); +} +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(0, 2, 0); +} else { + x_88 = x_87; +} +lean_ctor_set(x_88, 0, x_35); +lean_ctor_set(x_88, 1, x_86); +return x_88; +} +} +else { -lean_object* x_80; uint8_t x_81; -x_80 = lean_ctor_get(x_67, 0); -lean_dec(x_80); -x_81 = !lean_is_exclusive(x_69); -if (x_81 == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_82 = lean_ctor_get(x_69, 7); -lean_dec(x_82); -x_83 = lean_ctor_get(x_69, 6); -lean_dec(x_83); -x_84 = lean_ctor_get(x_69, 5); -lean_dec(x_84); -x_85 = lean_ctor_get(x_69, 4); -lean_dec(x_85); -x_86 = lean_ctor_get(x_69, 3); -lean_dec(x_86); -x_87 = lean_ctor_get(x_69, 2); -lean_dec(x_87); -x_88 = lean_ctor_get(x_69, 1); -lean_dec(x_88); -x_89 = lean_ctor_get(x_69, 0); -lean_dec(x_89); -lean_ctor_set(x_69, 7, x_78); -lean_ctor_set(x_69, 6, x_77); -lean_ctor_set(x_69, 5, x_76); -lean_ctor_set(x_69, 4, x_75); -lean_ctor_set(x_69, 3, x_74); -lean_ctor_set(x_69, 2, x_73); -lean_ctor_set(x_69, 1, x_72); -lean_ctor_set(x_69, 0, x_71); -x_90 = lean_st_ref_set(x_4, x_67, x_70); -lean_dec(x_4); -x_91 = lean_ctor_get(x_90, 1); +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; uint8_t x_98; +x_89 = lean_ctor_get(x_33, 1); +lean_inc(x_89); +lean_dec(x_33); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); lean_inc(x_91); -lean_dec(x_90); -x_37 = x_91; -goto block_63; -} -else -{ -uint8_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get_uint8(x_69, sizeof(void*)*8); -lean_dec(x_69); -x_93 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_93, 0, x_71); -lean_ctor_set(x_93, 1, x_72); -lean_ctor_set(x_93, 2, x_73); -lean_ctor_set(x_93, 3, x_74); -lean_ctor_set(x_93, 4, x_75); -lean_ctor_set(x_93, 5, x_76); -lean_ctor_set(x_93, 6, x_77); -lean_ctor_set(x_93, 7, x_78); -lean_ctor_set_uint8(x_93, sizeof(void*)*8, x_92); -lean_ctor_set(x_67, 0, x_93); -x_94 = lean_st_ref_set(x_4, x_67, x_70); -lean_dec(x_4); -x_95 = lean_ctor_get(x_94, 1); -lean_inc(x_95); -lean_dec(x_94); -x_37 = x_95; -goto block_63; -} -} -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; lean_object* x_104; -x_96 = lean_ctor_get(x_67, 1); -x_97 = lean_ctor_get(x_67, 2); -x_98 = lean_ctor_get(x_67, 3); -lean_inc(x_98); -lean_inc(x_97); +x_92 = lean_ctor_get(x_89, 2); +lean_inc(x_92); +lean_dec(x_89); +x_93 = lean_st_ref_get(x_6, x_25); +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +lean_dec(x_93); +x_95 = lean_st_ref_take(x_4, x_94); +x_96 = lean_ctor_get(x_95, 0); lean_inc(x_96); -lean_dec(x_67); -x_99 = lean_ctor_get_uint8(x_69, sizeof(void*)*8); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - lean_ctor_release(x_69, 2); - lean_ctor_release(x_69, 3); - lean_ctor_release(x_69, 4); - lean_ctor_release(x_69, 5); - lean_ctor_release(x_69, 6); - lean_ctor_release(x_69, 7); - x_100 = x_69; -} else { - lean_dec_ref(x_69); - x_100 = lean_box(0); -} -if (lean_is_scalar(x_100)) { - x_101 = lean_alloc_ctor(0, 8, 1); -} else { - x_101 = x_100; -} -lean_ctor_set(x_101, 0, x_71); -lean_ctor_set(x_101, 1, x_72); -lean_ctor_set(x_101, 2, x_73); -lean_ctor_set(x_101, 3, x_74); -lean_ctor_set(x_101, 4, x_75); -lean_ctor_set(x_101, 5, x_76); -lean_ctor_set(x_101, 6, x_77); -lean_ctor_set(x_101, 7, x_78); -lean_ctor_set_uint8(x_101, sizeof(void*)*8, x_99); -x_102 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_96); -lean_ctor_set(x_102, 2, x_97); -lean_ctor_set(x_102, 3, x_98); -x_103 = lean_st_ref_set(x_4, x_102, x_70); -lean_dec(x_4); -x_104 = lean_ctor_get(x_103, 1); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = !lean_is_exclusive(x_96); +if (x_98 == 0) +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +x_99 = lean_ctor_get(x_96, 0); +lean_dec(x_99); +lean_ctor_set(x_96, 0, x_90); +x_100 = lean_st_ref_set(x_4, x_96, x_97); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +lean_dec(x_100); +x_102 = lean_st_ref_take(x_6, x_101); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); lean_inc(x_104); -lean_dec(x_103); -x_37 = x_104; -goto block_63; -} -} -else +lean_dec(x_102); +x_105 = !lean_is_exclusive(x_103); +if (x_105 == 0) { -lean_object* x_105; uint8_t x_106; -x_105 = lean_ctor_get(x_66, 1); -lean_inc(x_105); -lean_dec(x_66); -x_106 = !lean_is_exclusive(x_36); -if (x_106 == 0) -{ -uint8_t x_107; -x_107 = !lean_is_exclusive(x_67); -if (x_107 == 0) -{ -lean_object* x_108; uint8_t x_109; lean_object* x_110; lean_object* x_111; -x_108 = lean_ctor_get(x_67, 0); +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_106 = lean_ctor_get(x_103, 2); +lean_dec(x_106); +x_107 = lean_ctor_get(x_103, 1); +lean_dec(x_107); +lean_ctor_set(x_103, 2, x_92); +lean_ctor_set(x_103, 1, x_91); +x_108 = lean_st_ref_set(x_6, x_103, x_104); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); lean_dec(x_108); -x_109 = 1; -lean_ctor_set_uint8(x_36, sizeof(void*)*8, x_109); -lean_ctor_set(x_67, 0, x_36); -x_110 = lean_st_ref_set(x_4, x_67, x_105); +x_110 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_111 = l_Lean_throwError___at_Lean_Meta_collectForwardDeps___spec__1(x_110, x_3, x_4, x_5, x_6, x_109); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -x_111 = lean_ctor_get(x_110, 1); -lean_inc(x_111); -lean_dec(x_110); -x_37 = x_111; -goto block_63; +lean_dec(x_3); +return x_111; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_112 = lean_ctor_get(x_67, 1); -x_113 = lean_ctor_get(x_67, 2); -x_114 = lean_ctor_get(x_67, 3); +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; +x_112 = lean_ctor_get(x_103, 0); +x_113 = lean_ctor_get(x_103, 3); +x_114 = lean_ctor_get(x_103, 4); +x_115 = lean_ctor_get(x_103, 5); +x_116 = lean_ctor_get(x_103, 6); +lean_inc(x_116); +lean_inc(x_115); lean_inc(x_114); lean_inc(x_113); lean_inc(x_112); -lean_dec(x_67); -x_115 = 1; -lean_ctor_set_uint8(x_36, sizeof(void*)*8, x_115); -x_116 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_116, 0, x_36); -lean_ctor_set(x_116, 1, x_112); -lean_ctor_set(x_116, 2, x_113); -lean_ctor_set(x_116, 3, x_114); -x_117 = lean_st_ref_set(x_4, x_116, x_105); +lean_dec(x_103); +x_117 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_117, 0, x_112); +lean_ctor_set(x_117, 1, x_91); +lean_ctor_set(x_117, 2, x_92); +lean_ctor_set(x_117, 3, x_113); +lean_ctor_set(x_117, 4, x_114); +lean_ctor_set(x_117, 5, x_115); +lean_ctor_set(x_117, 6, x_116); +x_118 = lean_st_ref_set(x_6, x_117, x_104); +x_119 = lean_ctor_get(x_118, 1); +lean_inc(x_119); +lean_dec(x_118); +x_120 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_121 = l_Lean_throwError___at_Lean_Meta_collectForwardDeps___spec__1(x_120, x_3, x_4, x_5, x_6, x_119); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec(x_117); -x_37 = x_118; -goto block_63; +lean_dec(x_3); +return x_121; } } 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_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_119 = lean_ctor_get(x_36, 0); -x_120 = lean_ctor_get(x_36, 1); -x_121 = lean_ctor_get(x_36, 2); -x_122 = lean_ctor_get(x_36, 3); -x_123 = lean_ctor_get(x_36, 4); -x_124 = lean_ctor_get(x_36, 5); -x_125 = lean_ctor_get(x_36, 6); -x_126 = lean_ctor_get(x_36, 7); -lean_inc(x_126); -lean_inc(x_125); +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; 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; +x_122 = lean_ctor_get(x_96, 1); +x_123 = lean_ctor_get(x_96, 2); +x_124 = lean_ctor_get(x_96, 3); lean_inc(x_124); lean_inc(x_123); lean_inc(x_122); -lean_inc(x_121); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_36); -x_127 = lean_ctor_get(x_67, 1); +lean_dec(x_96); +x_125 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_125, 0, x_90); +lean_ctor_set(x_125, 1, x_122); +lean_ctor_set(x_125, 2, x_123); +lean_ctor_set(x_125, 3, x_124); +x_126 = lean_st_ref_set(x_4, x_125, x_97); +x_127 = lean_ctor_get(x_126, 1); lean_inc(x_127); -x_128 = lean_ctor_get(x_67, 2); -lean_inc(x_128); -x_129 = lean_ctor_get(x_67, 3); +lean_dec(x_126); +x_128 = lean_st_ref_take(x_6, x_127); +x_129 = lean_ctor_get(x_128, 0); lean_inc(x_129); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - lean_ctor_release(x_67, 2); - lean_ctor_release(x_67, 3); - x_130 = x_67; -} else { - lean_dec_ref(x_67); - x_130 = lean_box(0); -} -x_131 = 1; -x_132 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_132, 0, x_119); -lean_ctor_set(x_132, 1, x_120); -lean_ctor_set(x_132, 2, x_121); -lean_ctor_set(x_132, 3, x_122); -lean_ctor_set(x_132, 4, x_123); -lean_ctor_set(x_132, 5, x_124); -lean_ctor_set(x_132, 6, x_125); -lean_ctor_set(x_132, 7, x_126); -lean_ctor_set_uint8(x_132, sizeof(void*)*8, x_131); -if (lean_is_scalar(x_130)) { - x_133 = lean_alloc_ctor(0, 4, 0); -} else { - x_133 = x_130; -} -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_127); -lean_ctor_set(x_133, 2, x_128); -lean_ctor_set(x_133, 3, x_129); -x_134 = lean_st_ref_set(x_4, x_133, x_105); -lean_dec(x_4); -x_135 = lean_ctor_get(x_134, 1); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_ctor_get(x_129, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_129, 3); +lean_inc(x_132); +x_133 = lean_ctor_get(x_129, 4); +lean_inc(x_133); +x_134 = lean_ctor_get(x_129, 5); +lean_inc(x_134); +x_135 = lean_ctor_get(x_129, 6); lean_inc(x_135); -lean_dec(x_134); -x_37 = x_135; -goto block_63; -} -} -block_63: -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_38 = lean_st_ref_take(x_6, x_37); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = !lean_is_exclusive(x_39); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_42 = lean_ctor_get(x_39, 2); -lean_dec(x_42); -x_43 = lean_ctor_get(x_39, 1); -lean_dec(x_43); -x_44 = lean_ctor_get(x_34, 1); -lean_inc(x_44); -x_45 = lean_ctor_get(x_34, 2); -lean_inc(x_45); -lean_dec(x_34); -lean_ctor_set(x_39, 2, x_45); -lean_ctor_set(x_39, 1, x_44); -x_46 = lean_st_ref_set(x_6, x_39, x_40); -lean_dec(x_6); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) -{ -lean_object* x_48; -x_48 = lean_ctor_get(x_46, 0); -lean_dec(x_48); -lean_ctor_set(x_46, 0, x_35); -return x_46; -} -else -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_46, 1); -lean_inc(x_49); -lean_dec(x_46); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_35); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_51 = lean_ctor_get(x_39, 0); -x_52 = lean_ctor_get(x_39, 3); -x_53 = lean_ctor_get(x_39, 4); -x_54 = lean_ctor_get(x_39, 5); -x_55 = lean_ctor_get(x_39, 6); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_39); -x_56 = lean_ctor_get(x_34, 1); -lean_inc(x_56); -x_57 = lean_ctor_get(x_34, 2); -lean_inc(x_57); -lean_dec(x_34); -x_58 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_58, 0, x_51); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_58, 2, x_57); -lean_ctor_set(x_58, 3, x_52); -lean_ctor_set(x_58, 4, x_53); -lean_ctor_set(x_58, 5, x_54); -lean_ctor_set(x_58, 6, x_55); -x_59 = lean_st_ref_set(x_6, x_58, x_40); -lean_dec(x_6); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; +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); + lean_ctor_release(x_129, 6); + x_136 = x_129; } else { - lean_dec_ref(x_59); - x_61 = lean_box(0); + lean_dec_ref(x_129); + x_136 = lean_box(0); } -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_136)) { + x_137 = lean_alloc_ctor(0, 7, 0); } else { - x_62 = x_61; + x_137 = x_136; } -lean_ctor_set(x_62, 0, x_35); -lean_ctor_set(x_62, 1, x_60); -return x_62; -} -} -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; -x_136 = lean_ctor_get(x_33, 1); -lean_inc(x_136); -lean_dec(x_33); -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_164 = lean_st_ref_get(x_6, x_25); -x_165 = lean_ctor_get(x_164, 1); -lean_inc(x_165); -lean_dec(x_164); -x_166 = lean_st_ref_take(x_4, x_165); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get_uint8(x_137, sizeof(void*)*8); -if (x_168 == 0) -{ -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; uint8_t x_179; -x_169 = lean_ctor_get(x_167, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_166, 1); -lean_inc(x_170); -lean_dec(x_166); -x_171 = lean_ctor_get(x_137, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_137, 1); -lean_inc(x_172); -x_173 = lean_ctor_get(x_137, 2); -lean_inc(x_173); -x_174 = lean_ctor_get(x_137, 3); -lean_inc(x_174); -x_175 = lean_ctor_get(x_137, 4); -lean_inc(x_175); -x_176 = lean_ctor_get(x_137, 5); -lean_inc(x_176); -x_177 = lean_ctor_get(x_137, 6); -lean_inc(x_177); -x_178 = lean_ctor_get(x_137, 7); -lean_inc(x_178); -lean_dec(x_137); -x_179 = !lean_is_exclusive(x_167); -if (x_179 == 0) -{ -lean_object* x_180; uint8_t x_181; -x_180 = lean_ctor_get(x_167, 0); -lean_dec(x_180); -x_181 = !lean_is_exclusive(x_169); -if (x_181 == 0) -{ -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_182 = lean_ctor_get(x_169, 7); -lean_dec(x_182); -x_183 = lean_ctor_get(x_169, 6); -lean_dec(x_183); -x_184 = lean_ctor_get(x_169, 5); -lean_dec(x_184); -x_185 = lean_ctor_get(x_169, 4); -lean_dec(x_185); -x_186 = lean_ctor_get(x_169, 3); -lean_dec(x_186); -x_187 = lean_ctor_get(x_169, 2); -lean_dec(x_187); -x_188 = lean_ctor_get(x_169, 1); -lean_dec(x_188); -x_189 = lean_ctor_get(x_169, 0); -lean_dec(x_189); -lean_ctor_set(x_169, 7, x_178); -lean_ctor_set(x_169, 6, x_177); -lean_ctor_set(x_169, 5, x_176); -lean_ctor_set(x_169, 4, x_175); -lean_ctor_set(x_169, 3, x_174); -lean_ctor_set(x_169, 2, x_173); -lean_ctor_set(x_169, 1, x_172); -lean_ctor_set(x_169, 0, x_171); -x_190 = lean_st_ref_set(x_4, x_167, x_170); -x_191 = lean_ctor_get(x_190, 1); -lean_inc(x_191); -lean_dec(x_190); -x_138 = x_191; -goto block_163; -} -else -{ -uint8_t x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_192 = lean_ctor_get_uint8(x_169, sizeof(void*)*8); -lean_dec(x_169); -x_193 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_193, 0, x_171); -lean_ctor_set(x_193, 1, x_172); -lean_ctor_set(x_193, 2, x_173); -lean_ctor_set(x_193, 3, x_174); -lean_ctor_set(x_193, 4, x_175); -lean_ctor_set(x_193, 5, x_176); -lean_ctor_set(x_193, 6, x_177); -lean_ctor_set(x_193, 7, x_178); -lean_ctor_set_uint8(x_193, sizeof(void*)*8, x_192); -lean_ctor_set(x_167, 0, x_193); -x_194 = lean_st_ref_set(x_4, x_167, x_170); -x_195 = lean_ctor_get(x_194, 1); -lean_inc(x_195); -lean_dec(x_194); -x_138 = x_195; -goto block_163; -} -} -else -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_196 = lean_ctor_get(x_167, 1); -x_197 = lean_ctor_get(x_167, 2); -x_198 = lean_ctor_get(x_167, 3); -lean_inc(x_198); -lean_inc(x_197); -lean_inc(x_196); -lean_dec(x_167); -x_199 = lean_ctor_get_uint8(x_169, sizeof(void*)*8); -if (lean_is_exclusive(x_169)) { - lean_ctor_release(x_169, 0); - lean_ctor_release(x_169, 1); - lean_ctor_release(x_169, 2); - lean_ctor_release(x_169, 3); - lean_ctor_release(x_169, 4); - lean_ctor_release(x_169, 5); - lean_ctor_release(x_169, 6); - lean_ctor_release(x_169, 7); - x_200 = x_169; -} else { - lean_dec_ref(x_169); - x_200 = lean_box(0); -} -if (lean_is_scalar(x_200)) { - x_201 = lean_alloc_ctor(0, 8, 1); -} else { - x_201 = x_200; -} -lean_ctor_set(x_201, 0, x_171); -lean_ctor_set(x_201, 1, x_172); -lean_ctor_set(x_201, 2, x_173); -lean_ctor_set(x_201, 3, x_174); -lean_ctor_set(x_201, 4, x_175); -lean_ctor_set(x_201, 5, x_176); -lean_ctor_set(x_201, 6, x_177); -lean_ctor_set(x_201, 7, x_178); -lean_ctor_set_uint8(x_201, sizeof(void*)*8, x_199); -x_202 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_196); -lean_ctor_set(x_202, 2, x_197); -lean_ctor_set(x_202, 3, x_198); -x_203 = lean_st_ref_set(x_4, x_202, x_170); -x_204 = lean_ctor_get(x_203, 1); -lean_inc(x_204); -lean_dec(x_203); -x_138 = x_204; -goto block_163; -} -} -else -{ -lean_object* x_205; uint8_t x_206; -x_205 = lean_ctor_get(x_166, 1); -lean_inc(x_205); -lean_dec(x_166); -x_206 = !lean_is_exclusive(x_137); -if (x_206 == 0) -{ -uint8_t x_207; -x_207 = !lean_is_exclusive(x_167); -if (x_207 == 0) -{ -lean_object* x_208; uint8_t x_209; lean_object* x_210; lean_object* x_211; -x_208 = lean_ctor_get(x_167, 0); -lean_dec(x_208); -x_209 = 1; -lean_ctor_set_uint8(x_137, sizeof(void*)*8, x_209); -lean_ctor_set(x_167, 0, x_137); -x_210 = lean_st_ref_set(x_4, x_167, x_205); -x_211 = lean_ctor_get(x_210, 1); -lean_inc(x_211); -lean_dec(x_210); -x_138 = x_211; -goto block_163; -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_212 = lean_ctor_get(x_167, 1); -x_213 = lean_ctor_get(x_167, 2); -x_214 = lean_ctor_get(x_167, 3); -lean_inc(x_214); -lean_inc(x_213); -lean_inc(x_212); -lean_dec(x_167); -x_215 = 1; -lean_ctor_set_uint8(x_137, sizeof(void*)*8, x_215); -x_216 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_216, 0, x_137); -lean_ctor_set(x_216, 1, x_212); -lean_ctor_set(x_216, 2, x_213); -lean_ctor_set(x_216, 3, x_214); -x_217 = lean_st_ref_set(x_4, x_216, x_205); -x_218 = lean_ctor_get(x_217, 1); -lean_inc(x_218); -lean_dec(x_217); -x_138 = x_218; -goto block_163; -} -} -else -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_219 = lean_ctor_get(x_137, 0); -x_220 = lean_ctor_get(x_137, 1); -x_221 = lean_ctor_get(x_137, 2); -x_222 = lean_ctor_get(x_137, 3); -x_223 = lean_ctor_get(x_137, 4); -x_224 = lean_ctor_get(x_137, 5); -x_225 = lean_ctor_get(x_137, 6); -x_226 = lean_ctor_get(x_137, 7); -lean_inc(x_226); -lean_inc(x_225); -lean_inc(x_224); -lean_inc(x_223); -lean_inc(x_222); -lean_inc(x_221); -lean_inc(x_220); -lean_inc(x_219); -lean_dec(x_137); -x_227 = lean_ctor_get(x_167, 1); -lean_inc(x_227); -x_228 = lean_ctor_get(x_167, 2); -lean_inc(x_228); -x_229 = lean_ctor_get(x_167, 3); -lean_inc(x_229); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - lean_ctor_release(x_167, 2); - lean_ctor_release(x_167, 3); - x_230 = x_167; -} else { - lean_dec_ref(x_167); - x_230 = lean_box(0); -} -x_231 = 1; -x_232 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_232, 0, x_219); -lean_ctor_set(x_232, 1, x_220); -lean_ctor_set(x_232, 2, x_221); -lean_ctor_set(x_232, 3, x_222); -lean_ctor_set(x_232, 4, x_223); -lean_ctor_set(x_232, 5, x_224); -lean_ctor_set(x_232, 6, x_225); -lean_ctor_set(x_232, 7, x_226); -lean_ctor_set_uint8(x_232, sizeof(void*)*8, x_231); -if (lean_is_scalar(x_230)) { - x_233 = lean_alloc_ctor(0, 4, 0); -} else { - x_233 = x_230; -} -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_227); -lean_ctor_set(x_233, 2, x_228); -lean_ctor_set(x_233, 3, x_229); -x_234 = lean_st_ref_set(x_4, x_233, x_205); -x_235 = lean_ctor_get(x_234, 1); -lean_inc(x_235); -lean_dec(x_234); -x_138 = x_235; -goto block_163; -} -} -block_163: -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; -x_139 = lean_st_ref_take(x_6, x_138); -x_140 = lean_ctor_get(x_139, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_139, 1); -lean_inc(x_141); -lean_dec(x_139); -x_142 = !lean_is_exclusive(x_140); -if (x_142 == 0) -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_143 = lean_ctor_get(x_140, 2); -lean_dec(x_143); -x_144 = lean_ctor_get(x_140, 1); -lean_dec(x_144); -x_145 = lean_ctor_get(x_136, 1); -lean_inc(x_145); -x_146 = lean_ctor_get(x_136, 2); -lean_inc(x_146); -lean_dec(x_136); -lean_ctor_set(x_140, 2, x_146); -lean_ctor_set(x_140, 1, x_145); -x_147 = lean_st_ref_set(x_6, x_140, x_141); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -lean_dec(x_147); -x_149 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_150 = l_Lean_throwError___at_Lean_Meta_collectForwardDeps___spec__1(x_149, x_3, x_4, x_5, x_6, x_148); +lean_ctor_set(x_137, 0, x_131); +lean_ctor_set(x_137, 1, x_91); +lean_ctor_set(x_137, 2, x_92); +lean_ctor_set(x_137, 3, x_132); +lean_ctor_set(x_137, 4, x_133); +lean_ctor_set(x_137, 5, x_134); +lean_ctor_set(x_137, 6, x_135); +x_138 = lean_st_ref_set(x_6, x_137, x_130); +x_139 = lean_ctor_get(x_138, 1); +lean_inc(x_139); +lean_dec(x_138); +x_140 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_141 = l_Lean_throwError___at_Lean_Meta_collectForwardDeps___spec__1(x_140, x_3, x_4, x_5, x_6, x_139); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_150; -} -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; -x_151 = lean_ctor_get(x_140, 0); -x_152 = lean_ctor_get(x_140, 3); -x_153 = lean_ctor_get(x_140, 4); -x_154 = lean_ctor_get(x_140, 5); -x_155 = lean_ctor_get(x_140, 6); -lean_inc(x_155); -lean_inc(x_154); -lean_inc(x_153); -lean_inc(x_152); -lean_inc(x_151); -lean_dec(x_140); -x_156 = lean_ctor_get(x_136, 1); -lean_inc(x_156); -x_157 = lean_ctor_get(x_136, 2); -lean_inc(x_157); -lean_dec(x_136); -x_158 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_158, 0, x_151); -lean_ctor_set(x_158, 1, x_156); -lean_ctor_set(x_158, 2, x_157); -lean_ctor_set(x_158, 3, x_152); -lean_ctor_set(x_158, 4, x_153); -lean_ctor_set(x_158, 5, x_154); -lean_ctor_set(x_158, 6, x_155); -x_159 = lean_st_ref_set(x_6, x_158, x_141); -x_160 = lean_ctor_get(x_159, 1); -lean_inc(x_160); -lean_dec(x_159); -x_161 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_162 = l_Lean_throwError___at_Lean_Meta_collectForwardDeps___spec__1(x_161, x_3, x_4, x_5, x_6, x_160); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_162; -} +return x_141; } } } @@ -12474,7 +11301,7 @@ x_35 = 0; x_36 = l_Lean_MetavarContext_mkBinding(x_35, x_1, x_2, x_3, x_4, x_5, x_31, x_34); if (lean_obj_tag(x_36) == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +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; uint8_t x_48; x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); x_38 = lean_ctor_get(x_36, 1); @@ -12485,717 +11312,361 @@ lean_inc(x_39); lean_dec(x_37); x_40 = lean_ctor_get(x_38, 0); lean_inc(x_40); -x_68 = lean_st_ref_get(x_9, x_29); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_st_ref_take(x_7, x_69); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get_uint8(x_40, sizeof(void*)*8); -if (x_72 == 0) +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_38, 2); +lean_inc(x_42); +lean_dec(x_38); +x_43 = lean_st_ref_get(x_9, x_29); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_st_ref_take(x_7, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = !lean_is_exclusive(x_46); +if (x_48 == 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; uint8_t x_83; -x_73 = lean_ctor_get(x_71, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_70, 1); -lean_inc(x_74); -lean_dec(x_70); -x_75 = lean_ctor_get(x_40, 0); +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_49 = lean_ctor_get(x_46, 0); +lean_dec(x_49); +lean_ctor_set(x_46, 0, x_40); +x_50 = lean_st_ref_set(x_7, x_46, x_47); +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +lean_dec(x_50); +x_52 = lean_st_ref_take(x_9, x_51); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = !lean_is_exclusive(x_53); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_56 = lean_ctor_get(x_53, 2); +lean_dec(x_56); +x_57 = lean_ctor_get(x_53, 1); +lean_dec(x_57); +lean_ctor_set(x_53, 2, x_42); +lean_ctor_set(x_53, 1, x_41); +x_58 = lean_st_ref_set(x_9, x_53, x_54); +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_58, 0); +lean_dec(x_60); +lean_ctor_set(x_58, 0, x_39); +return x_58; +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_61); +lean_dec(x_58); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_39); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_63 = lean_ctor_get(x_53, 0); +x_64 = lean_ctor_get(x_53, 3); +x_65 = lean_ctor_get(x_53, 4); +x_66 = lean_ctor_get(x_53, 5); +x_67 = lean_ctor_get(x_53, 6); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_53); +x_68 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_68, 0, x_63); +lean_ctor_set(x_68, 1, x_41); +lean_ctor_set(x_68, 2, x_42); +lean_ctor_set(x_68, 3, x_64); +lean_ctor_set(x_68, 4, x_65); +lean_ctor_set(x_68, 5, x_66); +lean_ctor_set(x_68, 6, x_67); +x_69 = lean_st_ref_set(x_9, x_68, x_54); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_71 = x_69; +} else { + lean_dec_ref(x_69); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_39); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +} +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; 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_73 = lean_ctor_get(x_46, 1); +x_74 = lean_ctor_get(x_46, 2); +x_75 = lean_ctor_get(x_46, 3); lean_inc(x_75); -x_76 = lean_ctor_get(x_40, 1); -lean_inc(x_76); -x_77 = lean_ctor_get(x_40, 2); -lean_inc(x_77); -x_78 = lean_ctor_get(x_40, 3); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_46); +x_76 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_76, 0, x_40); +lean_ctor_set(x_76, 1, x_73); +lean_ctor_set(x_76, 2, x_74); +lean_ctor_set(x_76, 3, x_75); +x_77 = lean_st_ref_set(x_7, x_76, x_47); +x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); -x_79 = lean_ctor_get(x_40, 4); -lean_inc(x_79); -x_80 = lean_ctor_get(x_40, 5); +lean_dec(x_77); +x_79 = lean_st_ref_take(x_9, x_78); +x_80 = lean_ctor_get(x_79, 0); lean_inc(x_80); -x_81 = lean_ctor_get(x_40, 6); +x_81 = lean_ctor_get(x_79, 1); lean_inc(x_81); -x_82 = lean_ctor_get(x_40, 7); +lean_dec(x_79); +x_82 = lean_ctor_get(x_80, 0); lean_inc(x_82); -lean_dec(x_40); -x_83 = !lean_is_exclusive(x_71); -if (x_83 == 0) +x_83 = lean_ctor_get(x_80, 3); +lean_inc(x_83); +x_84 = lean_ctor_get(x_80, 4); +lean_inc(x_84); +x_85 = lean_ctor_get(x_80, 5); +lean_inc(x_85); +x_86 = lean_ctor_get(x_80, 6); +lean_inc(x_86); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + lean_ctor_release(x_80, 2); + lean_ctor_release(x_80, 3); + lean_ctor_release(x_80, 4); + lean_ctor_release(x_80, 5); + lean_ctor_release(x_80, 6); + x_87 = x_80; +} else { + lean_dec_ref(x_80); + x_87 = lean_box(0); +} +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(0, 7, 0); +} else { + x_88 = x_87; +} +lean_ctor_set(x_88, 0, x_82); +lean_ctor_set(x_88, 1, x_41); +lean_ctor_set(x_88, 2, x_42); +lean_ctor_set(x_88, 3, x_83); +lean_ctor_set(x_88, 4, x_84); +lean_ctor_set(x_88, 5, x_85); +lean_ctor_set(x_88, 6, x_86); +x_89 = lean_st_ref_set(x_9, x_88, x_81); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_91 = x_89; +} else { + lean_dec_ref(x_89); + x_91 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(0, 2, 0); +} else { + x_92 = x_91; +} +lean_ctor_set(x_92, 0, x_39); +lean_ctor_set(x_92, 1, x_90); +return x_92; +} +} +else { -lean_object* x_84; uint8_t x_85; -x_84 = lean_ctor_get(x_71, 0); -lean_dec(x_84); -x_85 = !lean_is_exclusive(x_73); -if (x_85 == 0) -{ -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; -x_86 = lean_ctor_get(x_73, 7); -lean_dec(x_86); -x_87 = lean_ctor_get(x_73, 6); -lean_dec(x_87); -x_88 = lean_ctor_get(x_73, 5); -lean_dec(x_88); -x_89 = lean_ctor_get(x_73, 4); -lean_dec(x_89); -x_90 = lean_ctor_get(x_73, 3); -lean_dec(x_90); -x_91 = lean_ctor_get(x_73, 2); -lean_dec(x_91); -x_92 = lean_ctor_get(x_73, 1); -lean_dec(x_92); -x_93 = lean_ctor_get(x_73, 0); -lean_dec(x_93); -lean_ctor_set(x_73, 7, x_82); -lean_ctor_set(x_73, 6, x_81); -lean_ctor_set(x_73, 5, x_80); -lean_ctor_set(x_73, 4, x_79); -lean_ctor_set(x_73, 3, x_78); -lean_ctor_set(x_73, 2, x_77); -lean_ctor_set(x_73, 1, x_76); -lean_ctor_set(x_73, 0, x_75); -x_94 = lean_st_ref_set(x_7, x_71, x_74); -x_95 = lean_ctor_get(x_94, 1); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_93 = lean_ctor_get(x_36, 1); +lean_inc(x_93); +lean_dec(x_36); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); lean_inc(x_95); -lean_dec(x_94); -x_41 = x_95; -goto block_67; -} -else -{ -uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_96 = lean_ctor_get_uint8(x_73, sizeof(void*)*8); -lean_dec(x_73); -x_97 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_97, 0, x_75); -lean_ctor_set(x_97, 1, x_76); -lean_ctor_set(x_97, 2, x_77); -lean_ctor_set(x_97, 3, x_78); -lean_ctor_set(x_97, 4, x_79); -lean_ctor_set(x_97, 5, x_80); -lean_ctor_set(x_97, 6, x_81); -lean_ctor_set(x_97, 7, x_82); -lean_ctor_set_uint8(x_97, sizeof(void*)*8, x_96); -lean_ctor_set(x_71, 0, x_97); -x_98 = lean_st_ref_set(x_7, x_71, x_74); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -lean_dec(x_98); -x_41 = x_99; -goto block_67; -} -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_100 = lean_ctor_get(x_71, 1); -x_101 = lean_ctor_get(x_71, 2); -x_102 = lean_ctor_get(x_71, 3); -lean_inc(x_102); -lean_inc(x_101); +x_96 = lean_ctor_get(x_93, 2); +lean_inc(x_96); +lean_dec(x_93); +x_97 = lean_st_ref_get(x_9, x_29); +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +lean_dec(x_97); +x_99 = lean_st_ref_take(x_7, x_98); +x_100 = lean_ctor_get(x_99, 0); lean_inc(x_100); -lean_dec(x_71); -x_103 = lean_ctor_get_uint8(x_73, sizeof(void*)*8); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - lean_ctor_release(x_73, 2); - lean_ctor_release(x_73, 3); - lean_ctor_release(x_73, 4); - lean_ctor_release(x_73, 5); - lean_ctor_release(x_73, 6); - lean_ctor_release(x_73, 7); - x_104 = x_73; -} else { - lean_dec_ref(x_73); - x_104 = lean_box(0); -} -if (lean_is_scalar(x_104)) { - x_105 = lean_alloc_ctor(0, 8, 1); -} else { - x_105 = x_104; -} -lean_ctor_set(x_105, 0, x_75); -lean_ctor_set(x_105, 1, x_76); -lean_ctor_set(x_105, 2, x_77); -lean_ctor_set(x_105, 3, x_78); -lean_ctor_set(x_105, 4, x_79); -lean_ctor_set(x_105, 5, x_80); -lean_ctor_set(x_105, 6, x_81); -lean_ctor_set(x_105, 7, x_82); -lean_ctor_set_uint8(x_105, sizeof(void*)*8, x_103); -x_106 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_100); -lean_ctor_set(x_106, 2, x_101); -lean_ctor_set(x_106, 3, x_102); -x_107 = lean_st_ref_set(x_7, x_106, x_74); -x_108 = lean_ctor_get(x_107, 1); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +x_102 = !lean_is_exclusive(x_100); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_103 = lean_ctor_get(x_100, 0); +lean_dec(x_103); +lean_ctor_set(x_100, 0, x_94); +x_104 = lean_st_ref_set(x_7, x_100, x_101); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +lean_dec(x_104); +x_106 = lean_st_ref_take(x_9, x_105); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); lean_inc(x_108); -lean_dec(x_107); -x_41 = x_108; -goto block_67; -} -} -else +lean_dec(x_106); +x_109 = !lean_is_exclusive(x_107); +if (x_109 == 0) { -lean_object* x_109; uint8_t x_110; -x_109 = lean_ctor_get(x_70, 1); -lean_inc(x_109); -lean_dec(x_70); -x_110 = !lean_is_exclusive(x_40); -if (x_110 == 0) -{ -uint8_t x_111; -x_111 = !lean_is_exclusive(x_71); -if (x_111 == 0) -{ -lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; -x_112 = lean_ctor_get(x_71, 0); +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_110 = lean_ctor_get(x_107, 2); +lean_dec(x_110); +x_111 = lean_ctor_get(x_107, 1); +lean_dec(x_111); +lean_ctor_set(x_107, 2, x_96); +lean_ctor_set(x_107, 1, x_95); +x_112 = lean_st_ref_set(x_9, x_107, x_108); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); lean_dec(x_112); -x_113 = 1; -lean_ctor_set_uint8(x_40, sizeof(void*)*8, x_113); -lean_ctor_set(x_71, 0, x_40); -x_114 = lean_st_ref_set(x_7, x_71, x_109); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_41 = x_115; -goto block_67; +x_114 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_115 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_114, x_6, x_7, x_8, x_9, x_113); +return x_115; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_116 = lean_ctor_get(x_71, 1); -x_117 = lean_ctor_get(x_71, 2); -x_118 = lean_ctor_get(x_71, 3); +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; +x_116 = lean_ctor_get(x_107, 0); +x_117 = lean_ctor_get(x_107, 3); +x_118 = lean_ctor_get(x_107, 4); +x_119 = lean_ctor_get(x_107, 5); +x_120 = lean_ctor_get(x_107, 6); +lean_inc(x_120); +lean_inc(x_119); lean_inc(x_118); lean_inc(x_117); lean_inc(x_116); -lean_dec(x_71); -x_119 = 1; -lean_ctor_set_uint8(x_40, sizeof(void*)*8, x_119); -x_120 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_120, 0, x_40); -lean_ctor_set(x_120, 1, x_116); -lean_ctor_set(x_120, 2, x_117); -lean_ctor_set(x_120, 3, x_118); -x_121 = lean_st_ref_set(x_7, x_120, x_109); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); -lean_dec(x_121); -x_41 = x_122; -goto block_67; +lean_dec(x_107); +x_121 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_121, 0, x_116); +lean_ctor_set(x_121, 1, x_95); +lean_ctor_set(x_121, 2, x_96); +lean_ctor_set(x_121, 3, x_117); +lean_ctor_set(x_121, 4, x_118); +lean_ctor_set(x_121, 5, x_119); +lean_ctor_set(x_121, 6, x_120); +x_122 = lean_st_ref_set(x_9, x_121, x_108); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +lean_dec(x_122); +x_124 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_125 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_124, x_6, x_7, x_8, x_9, x_123); +return x_125; } } else { -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; lean_object* x_134; uint8_t x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_123 = lean_ctor_get(x_40, 0); -x_124 = lean_ctor_get(x_40, 1); -x_125 = lean_ctor_get(x_40, 2); -x_126 = lean_ctor_get(x_40, 3); -x_127 = lean_ctor_get(x_40, 4); -x_128 = lean_ctor_get(x_40, 5); -x_129 = lean_ctor_get(x_40, 6); -x_130 = lean_ctor_get(x_40, 7); -lean_inc(x_130); -lean_inc(x_129); +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; 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_126 = lean_ctor_get(x_100, 1); +x_127 = lean_ctor_get(x_100, 2); +x_128 = lean_ctor_get(x_100, 3); lean_inc(x_128); lean_inc(x_127); lean_inc(x_126); -lean_inc(x_125); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_40); -x_131 = lean_ctor_get(x_71, 1); +lean_dec(x_100); +x_129 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_129, 0, x_94); +lean_ctor_set(x_129, 1, x_126); +lean_ctor_set(x_129, 2, x_127); +lean_ctor_set(x_129, 3, x_128); +x_130 = lean_st_ref_set(x_7, x_129, x_101); +x_131 = lean_ctor_get(x_130, 1); lean_inc(x_131); -x_132 = lean_ctor_get(x_71, 2); -lean_inc(x_132); -x_133 = lean_ctor_get(x_71, 3); +lean_dec(x_130); +x_132 = lean_st_ref_take(x_9, x_131); +x_133 = lean_ctor_get(x_132, 0); lean_inc(x_133); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - lean_ctor_release(x_71, 2); - lean_ctor_release(x_71, 3); - x_134 = x_71; -} else { - lean_dec_ref(x_71); - x_134 = lean_box(0); -} -x_135 = 1; -x_136 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_136, 0, x_123); -lean_ctor_set(x_136, 1, x_124); -lean_ctor_set(x_136, 2, x_125); -lean_ctor_set(x_136, 3, x_126); -lean_ctor_set(x_136, 4, x_127); -lean_ctor_set(x_136, 5, x_128); -lean_ctor_set(x_136, 6, x_129); -lean_ctor_set(x_136, 7, x_130); -lean_ctor_set_uint8(x_136, sizeof(void*)*8, x_135); -if (lean_is_scalar(x_134)) { - x_137 = lean_alloc_ctor(0, 4, 0); -} else { - x_137 = x_134; -} -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_131); -lean_ctor_set(x_137, 2, x_132); -lean_ctor_set(x_137, 3, x_133); -x_138 = lean_st_ref_set(x_7, x_137, x_109); -x_139 = lean_ctor_get(x_138, 1); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_ctor_get(x_133, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_133, 3); +lean_inc(x_136); +x_137 = lean_ctor_get(x_133, 4); +lean_inc(x_137); +x_138 = lean_ctor_get(x_133, 5); +lean_inc(x_138); +x_139 = lean_ctor_get(x_133, 6); lean_inc(x_139); -lean_dec(x_138); -x_41 = x_139; -goto block_67; -} -} -block_67: -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_42 = lean_st_ref_take(x_9, x_41); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = !lean_is_exclusive(x_43); -if (x_45 == 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; -x_46 = lean_ctor_get(x_43, 2); -lean_dec(x_46); -x_47 = lean_ctor_get(x_43, 1); -lean_dec(x_47); -x_48 = lean_ctor_get(x_38, 1); -lean_inc(x_48); -x_49 = lean_ctor_get(x_38, 2); -lean_inc(x_49); -lean_dec(x_38); -lean_ctor_set(x_43, 2, x_49); -lean_ctor_set(x_43, 1, x_48); -x_50 = lean_st_ref_set(x_9, x_43, x_44); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set(x_50, 0, x_39); -return x_50; -} -else -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_39); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -else -{ -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_55 = lean_ctor_get(x_43, 0); -x_56 = lean_ctor_get(x_43, 3); -x_57 = lean_ctor_get(x_43, 4); -x_58 = lean_ctor_get(x_43, 5); -x_59 = lean_ctor_get(x_43, 6); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_43); -x_60 = lean_ctor_get(x_38, 1); -lean_inc(x_60); -x_61 = lean_ctor_get(x_38, 2); -lean_inc(x_61); -lean_dec(x_38); -x_62 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_62, 0, x_55); -lean_ctor_set(x_62, 1, x_60); -lean_ctor_set(x_62, 2, x_61); -lean_ctor_set(x_62, 3, x_56); -lean_ctor_set(x_62, 4, x_57); -lean_ctor_set(x_62, 5, x_58); -lean_ctor_set(x_62, 6, x_59); -x_63 = lean_st_ref_set(x_9, x_62, x_44); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_65 = x_63; +if (lean_is_exclusive(x_133)) { + lean_ctor_release(x_133, 0); + lean_ctor_release(x_133, 1); + lean_ctor_release(x_133, 2); + lean_ctor_release(x_133, 3); + lean_ctor_release(x_133, 4); + lean_ctor_release(x_133, 5); + lean_ctor_release(x_133, 6); + x_140 = x_133; } else { - lean_dec_ref(x_63); - x_65 = lean_box(0); + lean_dec_ref(x_133); + x_140 = lean_box(0); } -if (lean_is_scalar(x_65)) { - x_66 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_140)) { + x_141 = lean_alloc_ctor(0, 7, 0); } else { - x_66 = x_65; + x_141 = x_140; } -lean_ctor_set(x_66, 0, x_39); -lean_ctor_set(x_66, 1, x_64); -return x_66; +lean_ctor_set(x_141, 0, x_135); +lean_ctor_set(x_141, 1, x_95); +lean_ctor_set(x_141, 2, x_96); +lean_ctor_set(x_141, 3, x_136); +lean_ctor_set(x_141, 4, x_137); +lean_ctor_set(x_141, 5, x_138); +lean_ctor_set(x_141, 6, x_139); +x_142 = lean_st_ref_set(x_9, x_141, x_134); +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +lean_dec(x_142); +x_144 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_145 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_144, x_6, x_7, x_8, x_9, x_143); +return x_145; } } } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; -x_140 = lean_ctor_get(x_36, 1); -lean_inc(x_140); -lean_dec(x_36); -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_168 = lean_st_ref_get(x_9, x_29); -x_169 = lean_ctor_get(x_168, 1); -lean_inc(x_169); -lean_dec(x_168); -x_170 = lean_st_ref_take(x_7, x_169); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get_uint8(x_141, sizeof(void*)*8); -if (x_172 == 0) -{ -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; uint8_t x_183; -x_173 = lean_ctor_get(x_171, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_170, 1); -lean_inc(x_174); -lean_dec(x_170); -x_175 = lean_ctor_get(x_141, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_141, 1); -lean_inc(x_176); -x_177 = lean_ctor_get(x_141, 2); -lean_inc(x_177); -x_178 = lean_ctor_get(x_141, 3); -lean_inc(x_178); -x_179 = lean_ctor_get(x_141, 4); -lean_inc(x_179); -x_180 = lean_ctor_get(x_141, 5); -lean_inc(x_180); -x_181 = lean_ctor_get(x_141, 6); -lean_inc(x_181); -x_182 = lean_ctor_get(x_141, 7); -lean_inc(x_182); -lean_dec(x_141); -x_183 = !lean_is_exclusive(x_171); -if (x_183 == 0) -{ -lean_object* x_184; uint8_t x_185; -x_184 = lean_ctor_get(x_171, 0); -lean_dec(x_184); -x_185 = !lean_is_exclusive(x_173); -if (x_185 == 0) -{ -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; -x_186 = lean_ctor_get(x_173, 7); -lean_dec(x_186); -x_187 = lean_ctor_get(x_173, 6); -lean_dec(x_187); -x_188 = lean_ctor_get(x_173, 5); -lean_dec(x_188); -x_189 = lean_ctor_get(x_173, 4); -lean_dec(x_189); -x_190 = lean_ctor_get(x_173, 3); -lean_dec(x_190); -x_191 = lean_ctor_get(x_173, 2); -lean_dec(x_191); -x_192 = lean_ctor_get(x_173, 1); -lean_dec(x_192); -x_193 = lean_ctor_get(x_173, 0); -lean_dec(x_193); -lean_ctor_set(x_173, 7, x_182); -lean_ctor_set(x_173, 6, x_181); -lean_ctor_set(x_173, 5, x_180); -lean_ctor_set(x_173, 4, x_179); -lean_ctor_set(x_173, 3, x_178); -lean_ctor_set(x_173, 2, x_177); -lean_ctor_set(x_173, 1, x_176); -lean_ctor_set(x_173, 0, x_175); -x_194 = lean_st_ref_set(x_7, x_171, x_174); -x_195 = lean_ctor_get(x_194, 1); -lean_inc(x_195); -lean_dec(x_194); -x_142 = x_195; -goto block_167; -} -else -{ -uint8_t x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_196 = lean_ctor_get_uint8(x_173, sizeof(void*)*8); -lean_dec(x_173); -x_197 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_197, 0, x_175); -lean_ctor_set(x_197, 1, x_176); -lean_ctor_set(x_197, 2, x_177); -lean_ctor_set(x_197, 3, x_178); -lean_ctor_set(x_197, 4, x_179); -lean_ctor_set(x_197, 5, x_180); -lean_ctor_set(x_197, 6, x_181); -lean_ctor_set(x_197, 7, x_182); -lean_ctor_set_uint8(x_197, sizeof(void*)*8, x_196); -lean_ctor_set(x_171, 0, x_197); -x_198 = lean_st_ref_set(x_7, x_171, x_174); -x_199 = lean_ctor_get(x_198, 1); -lean_inc(x_199); -lean_dec(x_198); -x_142 = x_199; -goto block_167; -} -} -else -{ -lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_200 = lean_ctor_get(x_171, 1); -x_201 = lean_ctor_get(x_171, 2); -x_202 = lean_ctor_get(x_171, 3); -lean_inc(x_202); -lean_inc(x_201); -lean_inc(x_200); -lean_dec(x_171); -x_203 = lean_ctor_get_uint8(x_173, sizeof(void*)*8); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - lean_ctor_release(x_173, 2); - lean_ctor_release(x_173, 3); - lean_ctor_release(x_173, 4); - lean_ctor_release(x_173, 5); - lean_ctor_release(x_173, 6); - lean_ctor_release(x_173, 7); - x_204 = x_173; -} else { - lean_dec_ref(x_173); - x_204 = lean_box(0); -} -if (lean_is_scalar(x_204)) { - x_205 = lean_alloc_ctor(0, 8, 1); -} else { - x_205 = x_204; -} -lean_ctor_set(x_205, 0, x_175); -lean_ctor_set(x_205, 1, x_176); -lean_ctor_set(x_205, 2, x_177); -lean_ctor_set(x_205, 3, x_178); -lean_ctor_set(x_205, 4, x_179); -lean_ctor_set(x_205, 5, x_180); -lean_ctor_set(x_205, 6, x_181); -lean_ctor_set(x_205, 7, x_182); -lean_ctor_set_uint8(x_205, sizeof(void*)*8, x_203); -x_206 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set(x_206, 1, x_200); -lean_ctor_set(x_206, 2, x_201); -lean_ctor_set(x_206, 3, x_202); -x_207 = lean_st_ref_set(x_7, x_206, x_174); -x_208 = lean_ctor_get(x_207, 1); -lean_inc(x_208); -lean_dec(x_207); -x_142 = x_208; -goto block_167; -} -} -else -{ -lean_object* x_209; uint8_t x_210; -x_209 = lean_ctor_get(x_170, 1); -lean_inc(x_209); -lean_dec(x_170); -x_210 = !lean_is_exclusive(x_141); -if (x_210 == 0) -{ -uint8_t x_211; -x_211 = !lean_is_exclusive(x_171); -if (x_211 == 0) -{ -lean_object* x_212; uint8_t x_213; lean_object* x_214; lean_object* x_215; -x_212 = lean_ctor_get(x_171, 0); -lean_dec(x_212); -x_213 = 1; -lean_ctor_set_uint8(x_141, sizeof(void*)*8, x_213); -lean_ctor_set(x_171, 0, x_141); -x_214 = lean_st_ref_set(x_7, x_171, x_209); -x_215 = lean_ctor_get(x_214, 1); -lean_inc(x_215); -lean_dec(x_214); -x_142 = x_215; -goto block_167; -} -else -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; uint8_t x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; -x_216 = lean_ctor_get(x_171, 1); -x_217 = lean_ctor_get(x_171, 2); -x_218 = lean_ctor_get(x_171, 3); -lean_inc(x_218); -lean_inc(x_217); -lean_inc(x_216); -lean_dec(x_171); -x_219 = 1; -lean_ctor_set_uint8(x_141, sizeof(void*)*8, x_219); -x_220 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_220, 0, x_141); -lean_ctor_set(x_220, 1, x_216); -lean_ctor_set(x_220, 2, x_217); -lean_ctor_set(x_220, 3, x_218); -x_221 = lean_st_ref_set(x_7, x_220, x_209); -x_222 = lean_ctor_get(x_221, 1); -lean_inc(x_222); -lean_dec(x_221); -x_142 = x_222; -goto block_167; -} -} -else -{ -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; uint8_t x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_223 = lean_ctor_get(x_141, 0); -x_224 = lean_ctor_get(x_141, 1); -x_225 = lean_ctor_get(x_141, 2); -x_226 = lean_ctor_get(x_141, 3); -x_227 = lean_ctor_get(x_141, 4); -x_228 = lean_ctor_get(x_141, 5); -x_229 = lean_ctor_get(x_141, 6); -x_230 = lean_ctor_get(x_141, 7); -lean_inc(x_230); -lean_inc(x_229); -lean_inc(x_228); -lean_inc(x_227); -lean_inc(x_226); -lean_inc(x_225); -lean_inc(x_224); -lean_inc(x_223); -lean_dec(x_141); -x_231 = lean_ctor_get(x_171, 1); -lean_inc(x_231); -x_232 = lean_ctor_get(x_171, 2); -lean_inc(x_232); -x_233 = lean_ctor_get(x_171, 3); -lean_inc(x_233); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - lean_ctor_release(x_171, 1); - lean_ctor_release(x_171, 2); - lean_ctor_release(x_171, 3); - x_234 = x_171; -} else { - lean_dec_ref(x_171); - x_234 = lean_box(0); -} -x_235 = 1; -x_236 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_236, 0, x_223); -lean_ctor_set(x_236, 1, x_224); -lean_ctor_set(x_236, 2, x_225); -lean_ctor_set(x_236, 3, x_226); -lean_ctor_set(x_236, 4, x_227); -lean_ctor_set(x_236, 5, x_228); -lean_ctor_set(x_236, 6, x_229); -lean_ctor_set(x_236, 7, x_230); -lean_ctor_set_uint8(x_236, sizeof(void*)*8, x_235); -if (lean_is_scalar(x_234)) { - x_237 = lean_alloc_ctor(0, 4, 0); -} else { - x_237 = x_234; -} -lean_ctor_set(x_237, 0, x_236); -lean_ctor_set(x_237, 1, x_231); -lean_ctor_set(x_237, 2, x_232); -lean_ctor_set(x_237, 3, x_233); -x_238 = lean_st_ref_set(x_7, x_237, x_209); -x_239 = lean_ctor_get(x_238, 1); -lean_inc(x_239); -lean_dec(x_238); -x_142 = x_239; -goto block_167; -} -} -block_167: -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; -x_143 = lean_st_ref_take(x_9, x_142); -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 = !lean_is_exclusive(x_144); -if (x_146 == 0) -{ -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; -x_147 = lean_ctor_get(x_144, 2); -lean_dec(x_147); -x_148 = lean_ctor_get(x_144, 1); -lean_dec(x_148); -x_149 = lean_ctor_get(x_140, 1); -lean_inc(x_149); -x_150 = lean_ctor_get(x_140, 2); -lean_inc(x_150); -lean_dec(x_140); -lean_ctor_set(x_144, 2, x_150); -lean_ctor_set(x_144, 1, x_149); -x_151 = lean_st_ref_set(x_9, x_144, x_145); -x_152 = lean_ctor_get(x_151, 1); -lean_inc(x_152); -lean_dec(x_151); -x_153 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_154 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_153, x_6, x_7, x_8, x_9, x_152); -return x_154; -} -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_155 = lean_ctor_get(x_144, 0); -x_156 = lean_ctor_get(x_144, 3); -x_157 = lean_ctor_get(x_144, 4); -x_158 = lean_ctor_get(x_144, 5); -x_159 = lean_ctor_get(x_144, 6); -lean_inc(x_159); -lean_inc(x_158); -lean_inc(x_157); -lean_inc(x_156); -lean_inc(x_155); -lean_dec(x_144); -x_160 = lean_ctor_get(x_140, 1); -lean_inc(x_160); -x_161 = lean_ctor_get(x_140, 2); -lean_inc(x_161); -lean_dec(x_140); -x_162 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_162, 0, x_155); -lean_ctor_set(x_162, 1, x_160); -lean_ctor_set(x_162, 2, x_161); -lean_ctor_set(x_162, 3, x_156); -lean_ctor_set(x_162, 4, x_157); -lean_ctor_set(x_162, 5, x_158); -lean_ctor_set(x_162, 6, x_159); -x_163 = lean_st_ref_set(x_9, x_162, x_145); -x_164 = lean_ctor_get(x_163, 1); -lean_inc(x_164); -lean_dec(x_163); -x_165 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_166 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_165, x_6, x_7, x_8, x_9, x_164); -return x_166; -} -} -} -} -else -{ -lean_object* x_240; +lean_object* x_146; lean_dec(x_1); -x_240 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_240, 0, x_2); -lean_ctor_set(x_240, 1, x_10); -return x_240; +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_2); +lean_ctor_set(x_146, 1, x_10); +return x_146; } } } @@ -13281,7 +11752,7 @@ x_35 = 1; x_36 = l_Lean_MetavarContext_mkBinding(x_35, x_1, x_2, x_3, x_4, x_5, x_31, x_34); if (lean_obj_tag(x_36) == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +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; uint8_t x_48; x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); x_38 = lean_ctor_get(x_36, 1); @@ -13292,711 +11763,361 @@ lean_inc(x_39); lean_dec(x_37); x_40 = lean_ctor_get(x_38, 0); lean_inc(x_40); -x_68 = lean_st_ref_get(x_9, x_29); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_70 = lean_st_ref_take(x_7, x_69); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get_uint8(x_40, sizeof(void*)*8); -if (x_72 == 0) +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_38, 2); +lean_inc(x_42); +lean_dec(x_38); +x_43 = lean_st_ref_get(x_9, x_29); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_st_ref_take(x_7, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = !lean_is_exclusive(x_46); +if (x_48 == 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; uint8_t x_83; -x_73 = lean_ctor_get(x_71, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_70, 1); -lean_inc(x_74); -lean_dec(x_70); -x_75 = lean_ctor_get(x_40, 0); +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_49 = lean_ctor_get(x_46, 0); +lean_dec(x_49); +lean_ctor_set(x_46, 0, x_40); +x_50 = lean_st_ref_set(x_7, x_46, x_47); +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +lean_dec(x_50); +x_52 = lean_st_ref_take(x_9, x_51); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = !lean_is_exclusive(x_53); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_56 = lean_ctor_get(x_53, 2); +lean_dec(x_56); +x_57 = lean_ctor_get(x_53, 1); +lean_dec(x_57); +lean_ctor_set(x_53, 2, x_42); +lean_ctor_set(x_53, 1, x_41); +x_58 = lean_st_ref_set(x_9, x_53, x_54); +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_58, 0); +lean_dec(x_60); +lean_ctor_set(x_58, 0, x_39); +return x_58; +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_61); +lean_dec(x_58); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_39); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_63 = lean_ctor_get(x_53, 0); +x_64 = lean_ctor_get(x_53, 3); +x_65 = lean_ctor_get(x_53, 4); +x_66 = lean_ctor_get(x_53, 5); +x_67 = lean_ctor_get(x_53, 6); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_53); +x_68 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_68, 0, x_63); +lean_ctor_set(x_68, 1, x_41); +lean_ctor_set(x_68, 2, x_42); +lean_ctor_set(x_68, 3, x_64); +lean_ctor_set(x_68, 4, x_65); +lean_ctor_set(x_68, 5, x_66); +lean_ctor_set(x_68, 6, x_67); +x_69 = lean_st_ref_set(x_9, x_68, x_54); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_71 = x_69; +} else { + lean_dec_ref(x_69); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_71; +} +lean_ctor_set(x_72, 0, x_39); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +} +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; 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_73 = lean_ctor_get(x_46, 1); +x_74 = lean_ctor_get(x_46, 2); +x_75 = lean_ctor_get(x_46, 3); lean_inc(x_75); -x_76 = lean_ctor_get(x_40, 1); -lean_inc(x_76); -x_77 = lean_ctor_get(x_40, 2); -lean_inc(x_77); -x_78 = lean_ctor_get(x_40, 3); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_46); +x_76 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_76, 0, x_40); +lean_ctor_set(x_76, 1, x_73); +lean_ctor_set(x_76, 2, x_74); +lean_ctor_set(x_76, 3, x_75); +x_77 = lean_st_ref_set(x_7, x_76, x_47); +x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); -x_79 = lean_ctor_get(x_40, 4); -lean_inc(x_79); -x_80 = lean_ctor_get(x_40, 5); +lean_dec(x_77); +x_79 = lean_st_ref_take(x_9, x_78); +x_80 = lean_ctor_get(x_79, 0); lean_inc(x_80); -x_81 = lean_ctor_get(x_40, 6); +x_81 = lean_ctor_get(x_79, 1); lean_inc(x_81); -x_82 = lean_ctor_get(x_40, 7); +lean_dec(x_79); +x_82 = lean_ctor_get(x_80, 0); lean_inc(x_82); -lean_dec(x_40); -x_83 = !lean_is_exclusive(x_71); -if (x_83 == 0) +x_83 = lean_ctor_get(x_80, 3); +lean_inc(x_83); +x_84 = lean_ctor_get(x_80, 4); +lean_inc(x_84); +x_85 = lean_ctor_get(x_80, 5); +lean_inc(x_85); +x_86 = lean_ctor_get(x_80, 6); +lean_inc(x_86); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + lean_ctor_release(x_80, 2); + lean_ctor_release(x_80, 3); + lean_ctor_release(x_80, 4); + lean_ctor_release(x_80, 5); + lean_ctor_release(x_80, 6); + x_87 = x_80; +} else { + lean_dec_ref(x_80); + x_87 = lean_box(0); +} +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(0, 7, 0); +} else { + x_88 = x_87; +} +lean_ctor_set(x_88, 0, x_82); +lean_ctor_set(x_88, 1, x_41); +lean_ctor_set(x_88, 2, x_42); +lean_ctor_set(x_88, 3, x_83); +lean_ctor_set(x_88, 4, x_84); +lean_ctor_set(x_88, 5, x_85); +lean_ctor_set(x_88, 6, x_86); +x_89 = lean_st_ref_set(x_9, x_88, x_81); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_91 = x_89; +} else { + lean_dec_ref(x_89); + x_91 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(0, 2, 0); +} else { + x_92 = x_91; +} +lean_ctor_set(x_92, 0, x_39); +lean_ctor_set(x_92, 1, x_90); +return x_92; +} +} +else { -lean_object* x_84; uint8_t x_85; -x_84 = lean_ctor_get(x_71, 0); -lean_dec(x_84); -x_85 = !lean_is_exclusive(x_73); -if (x_85 == 0) -{ -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; -x_86 = lean_ctor_get(x_73, 7); -lean_dec(x_86); -x_87 = lean_ctor_get(x_73, 6); -lean_dec(x_87); -x_88 = lean_ctor_get(x_73, 5); -lean_dec(x_88); -x_89 = lean_ctor_get(x_73, 4); -lean_dec(x_89); -x_90 = lean_ctor_get(x_73, 3); -lean_dec(x_90); -x_91 = lean_ctor_get(x_73, 2); -lean_dec(x_91); -x_92 = lean_ctor_get(x_73, 1); -lean_dec(x_92); -x_93 = lean_ctor_get(x_73, 0); -lean_dec(x_93); -lean_ctor_set(x_73, 7, x_82); -lean_ctor_set(x_73, 6, x_81); -lean_ctor_set(x_73, 5, x_80); -lean_ctor_set(x_73, 4, x_79); -lean_ctor_set(x_73, 3, x_78); -lean_ctor_set(x_73, 2, x_77); -lean_ctor_set(x_73, 1, x_76); -lean_ctor_set(x_73, 0, x_75); -x_94 = lean_st_ref_set(x_7, x_71, x_74); -x_95 = lean_ctor_get(x_94, 1); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_93 = lean_ctor_get(x_36, 1); +lean_inc(x_93); +lean_dec(x_36); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); lean_inc(x_95); -lean_dec(x_94); -x_41 = x_95; -goto block_67; -} -else -{ -uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_96 = lean_ctor_get_uint8(x_73, sizeof(void*)*8); -lean_dec(x_73); -x_97 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_97, 0, x_75); -lean_ctor_set(x_97, 1, x_76); -lean_ctor_set(x_97, 2, x_77); -lean_ctor_set(x_97, 3, x_78); -lean_ctor_set(x_97, 4, x_79); -lean_ctor_set(x_97, 5, x_80); -lean_ctor_set(x_97, 6, x_81); -lean_ctor_set(x_97, 7, x_82); -lean_ctor_set_uint8(x_97, sizeof(void*)*8, x_96); -lean_ctor_set(x_71, 0, x_97); -x_98 = lean_st_ref_set(x_7, x_71, x_74); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -lean_dec(x_98); -x_41 = x_99; -goto block_67; -} -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_100 = lean_ctor_get(x_71, 1); -x_101 = lean_ctor_get(x_71, 2); -x_102 = lean_ctor_get(x_71, 3); -lean_inc(x_102); -lean_inc(x_101); +x_96 = lean_ctor_get(x_93, 2); +lean_inc(x_96); +lean_dec(x_93); +x_97 = lean_st_ref_get(x_9, x_29); +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +lean_dec(x_97); +x_99 = lean_st_ref_take(x_7, x_98); +x_100 = lean_ctor_get(x_99, 0); lean_inc(x_100); -lean_dec(x_71); -x_103 = lean_ctor_get_uint8(x_73, sizeof(void*)*8); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - lean_ctor_release(x_73, 2); - lean_ctor_release(x_73, 3); - lean_ctor_release(x_73, 4); - lean_ctor_release(x_73, 5); - lean_ctor_release(x_73, 6); - lean_ctor_release(x_73, 7); - x_104 = x_73; -} else { - lean_dec_ref(x_73); - x_104 = lean_box(0); -} -if (lean_is_scalar(x_104)) { - x_105 = lean_alloc_ctor(0, 8, 1); -} else { - x_105 = x_104; -} -lean_ctor_set(x_105, 0, x_75); -lean_ctor_set(x_105, 1, x_76); -lean_ctor_set(x_105, 2, x_77); -lean_ctor_set(x_105, 3, x_78); -lean_ctor_set(x_105, 4, x_79); -lean_ctor_set(x_105, 5, x_80); -lean_ctor_set(x_105, 6, x_81); -lean_ctor_set(x_105, 7, x_82); -lean_ctor_set_uint8(x_105, sizeof(void*)*8, x_103); -x_106 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_100); -lean_ctor_set(x_106, 2, x_101); -lean_ctor_set(x_106, 3, x_102); -x_107 = lean_st_ref_set(x_7, x_106, x_74); -x_108 = lean_ctor_get(x_107, 1); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +x_102 = !lean_is_exclusive(x_100); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_103 = lean_ctor_get(x_100, 0); +lean_dec(x_103); +lean_ctor_set(x_100, 0, x_94); +x_104 = lean_st_ref_set(x_7, x_100, x_101); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +lean_dec(x_104); +x_106 = lean_st_ref_take(x_9, x_105); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); lean_inc(x_108); -lean_dec(x_107); -x_41 = x_108; -goto block_67; -} -} -else +lean_dec(x_106); +x_109 = !lean_is_exclusive(x_107); +if (x_109 == 0) { -lean_object* x_109; uint8_t x_110; -x_109 = lean_ctor_get(x_70, 1); -lean_inc(x_109); -lean_dec(x_70); -x_110 = !lean_is_exclusive(x_40); -if (x_110 == 0) -{ -uint8_t x_111; -x_111 = !lean_is_exclusive(x_71); -if (x_111 == 0) -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_71, 0); +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_110 = lean_ctor_get(x_107, 2); +lean_dec(x_110); +x_111 = lean_ctor_get(x_107, 1); +lean_dec(x_111); +lean_ctor_set(x_107, 2, x_96); +lean_ctor_set(x_107, 1, x_95); +x_112 = lean_st_ref_set(x_9, x_107, x_108); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); lean_dec(x_112); -lean_ctor_set_uint8(x_40, sizeof(void*)*8, x_35); -lean_ctor_set(x_71, 0, x_40); -x_113 = lean_st_ref_set(x_7, x_71, x_109); -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -lean_dec(x_113); -x_41 = x_114; -goto block_67; +x_114 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_115 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_114, x_6, x_7, x_8, x_9, x_113); +return x_115; } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_115 = lean_ctor_get(x_71, 1); -x_116 = lean_ctor_get(x_71, 2); -x_117 = lean_ctor_get(x_71, 3); +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; +x_116 = lean_ctor_get(x_107, 0); +x_117 = lean_ctor_get(x_107, 3); +x_118 = lean_ctor_get(x_107, 4); +x_119 = lean_ctor_get(x_107, 5); +x_120 = lean_ctor_get(x_107, 6); +lean_inc(x_120); +lean_inc(x_119); +lean_inc(x_118); lean_inc(x_117); lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_71); -lean_ctor_set_uint8(x_40, sizeof(void*)*8, x_35); -x_118 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_118, 0, x_40); -lean_ctor_set(x_118, 1, x_115); -lean_ctor_set(x_118, 2, x_116); -lean_ctor_set(x_118, 3, x_117); -x_119 = lean_st_ref_set(x_7, x_118, x_109); -x_120 = lean_ctor_get(x_119, 1); -lean_inc(x_120); -lean_dec(x_119); -x_41 = x_120; -goto block_67; +lean_dec(x_107); +x_121 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_121, 0, x_116); +lean_ctor_set(x_121, 1, x_95); +lean_ctor_set(x_121, 2, x_96); +lean_ctor_set(x_121, 3, x_117); +lean_ctor_set(x_121, 4, x_118); +lean_ctor_set(x_121, 5, x_119); +lean_ctor_set(x_121, 6, x_120); +x_122 = lean_st_ref_set(x_9, x_121, x_108); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +lean_dec(x_122); +x_124 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_125 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_124, x_6, x_7, x_8, x_9, x_123); +return x_125; } } else { -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; 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_121 = lean_ctor_get(x_40, 0); -x_122 = lean_ctor_get(x_40, 1); -x_123 = lean_ctor_get(x_40, 2); -x_124 = lean_ctor_get(x_40, 3); -x_125 = lean_ctor_get(x_40, 4); -x_126 = lean_ctor_get(x_40, 5); -x_127 = lean_ctor_get(x_40, 6); -x_128 = lean_ctor_get(x_40, 7); +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; 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_126 = lean_ctor_get(x_100, 1); +x_127 = lean_ctor_get(x_100, 2); +x_128 = lean_ctor_get(x_100, 3); lean_inc(x_128); lean_inc(x_127); lean_inc(x_126); -lean_inc(x_125); -lean_inc(x_124); -lean_inc(x_123); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_40); -x_129 = lean_ctor_get(x_71, 1); -lean_inc(x_129); -x_130 = lean_ctor_get(x_71, 2); -lean_inc(x_130); -x_131 = lean_ctor_get(x_71, 3); +lean_dec(x_100); +x_129 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_129, 0, x_94); +lean_ctor_set(x_129, 1, x_126); +lean_ctor_set(x_129, 2, x_127); +lean_ctor_set(x_129, 3, x_128); +x_130 = lean_st_ref_set(x_7, x_129, x_101); +x_131 = lean_ctor_get(x_130, 1); lean_inc(x_131); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - lean_ctor_release(x_71, 2); - lean_ctor_release(x_71, 3); - x_132 = x_71; -} else { - lean_dec_ref(x_71); - x_132 = lean_box(0); -} -x_133 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_133, 0, x_121); -lean_ctor_set(x_133, 1, x_122); -lean_ctor_set(x_133, 2, x_123); -lean_ctor_set(x_133, 3, x_124); -lean_ctor_set(x_133, 4, x_125); -lean_ctor_set(x_133, 5, x_126); -lean_ctor_set(x_133, 6, x_127); -lean_ctor_set(x_133, 7, x_128); -lean_ctor_set_uint8(x_133, sizeof(void*)*8, x_35); -if (lean_is_scalar(x_132)) { - x_134 = lean_alloc_ctor(0, 4, 0); -} else { - x_134 = x_132; -} -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_129); -lean_ctor_set(x_134, 2, x_130); -lean_ctor_set(x_134, 3, x_131); -x_135 = lean_st_ref_set(x_7, x_134, x_109); -x_136 = lean_ctor_get(x_135, 1); +lean_dec(x_130); +x_132 = lean_st_ref_take(x_9, x_131); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_ctor_get(x_133, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_133, 3); lean_inc(x_136); -lean_dec(x_135); -x_41 = x_136; -goto block_67; -} -} -block_67: -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_42 = lean_st_ref_take(x_9, x_41); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = !lean_is_exclusive(x_43); -if (x_45 == 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; -x_46 = lean_ctor_get(x_43, 2); -lean_dec(x_46); -x_47 = lean_ctor_get(x_43, 1); -lean_dec(x_47); -x_48 = lean_ctor_get(x_38, 1); -lean_inc(x_48); -x_49 = lean_ctor_get(x_38, 2); -lean_inc(x_49); -lean_dec(x_38); -lean_ctor_set(x_43, 2, x_49); -lean_ctor_set(x_43, 1, x_48); -x_50 = lean_st_ref_set(x_9, x_43, x_44); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set(x_50, 0, x_39); -return x_50; -} -else -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_39); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -else -{ -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_55 = lean_ctor_get(x_43, 0); -x_56 = lean_ctor_get(x_43, 3); -x_57 = lean_ctor_get(x_43, 4); -x_58 = lean_ctor_get(x_43, 5); -x_59 = lean_ctor_get(x_43, 6); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_43); -x_60 = lean_ctor_get(x_38, 1); -lean_inc(x_60); -x_61 = lean_ctor_get(x_38, 2); -lean_inc(x_61); -lean_dec(x_38); -x_62 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_62, 0, x_55); -lean_ctor_set(x_62, 1, x_60); -lean_ctor_set(x_62, 2, x_61); -lean_ctor_set(x_62, 3, x_56); -lean_ctor_set(x_62, 4, x_57); -lean_ctor_set(x_62, 5, x_58); -lean_ctor_set(x_62, 6, x_59); -x_63 = lean_st_ref_set(x_9, x_62, x_44); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_65 = x_63; -} else { - lean_dec_ref(x_63); - x_65 = lean_box(0); -} -if (lean_is_scalar(x_65)) { - x_66 = lean_alloc_ctor(0, 2, 0); -} else { - x_66 = x_65; -} -lean_ctor_set(x_66, 0, x_39); -lean_ctor_set(x_66, 1, x_64); -return x_66; -} -} -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; -x_137 = lean_ctor_get(x_36, 1); +x_137 = lean_ctor_get(x_133, 4); lean_inc(x_137); -lean_dec(x_36); -x_138 = lean_ctor_get(x_137, 0); +x_138 = lean_ctor_get(x_133, 5); lean_inc(x_138); -x_165 = lean_st_ref_get(x_9, x_29); -x_166 = lean_ctor_get(x_165, 1); -lean_inc(x_166); -lean_dec(x_165); -x_167 = lean_st_ref_take(x_7, x_166); -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -x_169 = lean_ctor_get_uint8(x_138, sizeof(void*)*8); -if (x_169 == 0) -{ -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; uint8_t x_180; -x_170 = lean_ctor_get(x_168, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_167, 1); -lean_inc(x_171); -lean_dec(x_167); -x_172 = lean_ctor_get(x_138, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_138, 1); -lean_inc(x_173); -x_174 = lean_ctor_get(x_138, 2); -lean_inc(x_174); -x_175 = lean_ctor_get(x_138, 3); -lean_inc(x_175); -x_176 = lean_ctor_get(x_138, 4); -lean_inc(x_176); -x_177 = lean_ctor_get(x_138, 5); -lean_inc(x_177); -x_178 = lean_ctor_get(x_138, 6); -lean_inc(x_178); -x_179 = lean_ctor_get(x_138, 7); -lean_inc(x_179); -lean_dec(x_138); -x_180 = !lean_is_exclusive(x_168); -if (x_180 == 0) -{ -lean_object* x_181; uint8_t x_182; -x_181 = lean_ctor_get(x_168, 0); -lean_dec(x_181); -x_182 = !lean_is_exclusive(x_170); -if (x_182 == 0) -{ -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; -x_183 = lean_ctor_get(x_170, 7); -lean_dec(x_183); -x_184 = lean_ctor_get(x_170, 6); -lean_dec(x_184); -x_185 = lean_ctor_get(x_170, 5); -lean_dec(x_185); -x_186 = lean_ctor_get(x_170, 4); -lean_dec(x_186); -x_187 = lean_ctor_get(x_170, 3); -lean_dec(x_187); -x_188 = lean_ctor_get(x_170, 2); -lean_dec(x_188); -x_189 = lean_ctor_get(x_170, 1); -lean_dec(x_189); -x_190 = lean_ctor_get(x_170, 0); -lean_dec(x_190); -lean_ctor_set(x_170, 7, x_179); -lean_ctor_set(x_170, 6, x_178); -lean_ctor_set(x_170, 5, x_177); -lean_ctor_set(x_170, 4, x_176); -lean_ctor_set(x_170, 3, x_175); -lean_ctor_set(x_170, 2, x_174); -lean_ctor_set(x_170, 1, x_173); -lean_ctor_set(x_170, 0, x_172); -x_191 = lean_st_ref_set(x_7, x_168, x_171); -x_192 = lean_ctor_get(x_191, 1); -lean_inc(x_192); -lean_dec(x_191); -x_139 = x_192; -goto block_164; -} -else -{ -uint8_t x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_193 = lean_ctor_get_uint8(x_170, sizeof(void*)*8); -lean_dec(x_170); -x_194 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_194, 0, x_172); -lean_ctor_set(x_194, 1, x_173); -lean_ctor_set(x_194, 2, x_174); -lean_ctor_set(x_194, 3, x_175); -lean_ctor_set(x_194, 4, x_176); -lean_ctor_set(x_194, 5, x_177); -lean_ctor_set(x_194, 6, x_178); -lean_ctor_set(x_194, 7, x_179); -lean_ctor_set_uint8(x_194, sizeof(void*)*8, x_193); -lean_ctor_set(x_168, 0, x_194); -x_195 = lean_st_ref_set(x_7, x_168, x_171); -x_196 = lean_ctor_get(x_195, 1); -lean_inc(x_196); -lean_dec(x_195); -x_139 = x_196; -goto block_164; -} -} -else -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_197 = lean_ctor_get(x_168, 1); -x_198 = lean_ctor_get(x_168, 2); -x_199 = lean_ctor_get(x_168, 3); -lean_inc(x_199); -lean_inc(x_198); -lean_inc(x_197); -lean_dec(x_168); -x_200 = lean_ctor_get_uint8(x_170, sizeof(void*)*8); -if (lean_is_exclusive(x_170)) { - lean_ctor_release(x_170, 0); - lean_ctor_release(x_170, 1); - lean_ctor_release(x_170, 2); - lean_ctor_release(x_170, 3); - lean_ctor_release(x_170, 4); - lean_ctor_release(x_170, 5); - lean_ctor_release(x_170, 6); - lean_ctor_release(x_170, 7); - x_201 = x_170; +x_139 = lean_ctor_get(x_133, 6); +lean_inc(x_139); +if (lean_is_exclusive(x_133)) { + lean_ctor_release(x_133, 0); + lean_ctor_release(x_133, 1); + lean_ctor_release(x_133, 2); + lean_ctor_release(x_133, 3); + lean_ctor_release(x_133, 4); + lean_ctor_release(x_133, 5); + lean_ctor_release(x_133, 6); + x_140 = x_133; } else { - lean_dec_ref(x_170); - x_201 = lean_box(0); + lean_dec_ref(x_133); + x_140 = lean_box(0); } -if (lean_is_scalar(x_201)) { - x_202 = lean_alloc_ctor(0, 8, 1); +if (lean_is_scalar(x_140)) { + x_141 = lean_alloc_ctor(0, 7, 0); } else { - x_202 = x_201; -} -lean_ctor_set(x_202, 0, x_172); -lean_ctor_set(x_202, 1, x_173); -lean_ctor_set(x_202, 2, x_174); -lean_ctor_set(x_202, 3, x_175); -lean_ctor_set(x_202, 4, x_176); -lean_ctor_set(x_202, 5, x_177); -lean_ctor_set(x_202, 6, x_178); -lean_ctor_set(x_202, 7, x_179); -lean_ctor_set_uint8(x_202, sizeof(void*)*8, x_200); -x_203 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_203, 0, x_202); -lean_ctor_set(x_203, 1, x_197); -lean_ctor_set(x_203, 2, x_198); -lean_ctor_set(x_203, 3, x_199); -x_204 = lean_st_ref_set(x_7, x_203, x_171); -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -lean_dec(x_204); -x_139 = x_205; -goto block_164; -} -} -else -{ -lean_object* x_206; uint8_t x_207; -x_206 = lean_ctor_get(x_167, 1); -lean_inc(x_206); -lean_dec(x_167); -x_207 = !lean_is_exclusive(x_138); -if (x_207 == 0) -{ -uint8_t x_208; -x_208 = !lean_is_exclusive(x_168); -if (x_208 == 0) -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; -x_209 = lean_ctor_get(x_168, 0); -lean_dec(x_209); -lean_ctor_set_uint8(x_138, sizeof(void*)*8, x_35); -lean_ctor_set(x_168, 0, x_138); -x_210 = lean_st_ref_set(x_7, x_168, x_206); -x_211 = lean_ctor_get(x_210, 1); -lean_inc(x_211); -lean_dec(x_210); -x_139 = x_211; -goto block_164; -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; -x_212 = lean_ctor_get(x_168, 1); -x_213 = lean_ctor_get(x_168, 2); -x_214 = lean_ctor_get(x_168, 3); -lean_inc(x_214); -lean_inc(x_213); -lean_inc(x_212); -lean_dec(x_168); -lean_ctor_set_uint8(x_138, sizeof(void*)*8, x_35); -x_215 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_215, 0, x_138); -lean_ctor_set(x_215, 1, x_212); -lean_ctor_set(x_215, 2, x_213); -lean_ctor_set(x_215, 3, x_214); -x_216 = lean_st_ref_set(x_7, x_215, x_206); -x_217 = lean_ctor_get(x_216, 1); -lean_inc(x_217); -lean_dec(x_216); -x_139 = x_217; -goto block_164; -} -} -else -{ -lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; -x_218 = lean_ctor_get(x_138, 0); -x_219 = lean_ctor_get(x_138, 1); -x_220 = lean_ctor_get(x_138, 2); -x_221 = lean_ctor_get(x_138, 3); -x_222 = lean_ctor_get(x_138, 4); -x_223 = lean_ctor_get(x_138, 5); -x_224 = lean_ctor_get(x_138, 6); -x_225 = lean_ctor_get(x_138, 7); -lean_inc(x_225); -lean_inc(x_224); -lean_inc(x_223); -lean_inc(x_222); -lean_inc(x_221); -lean_inc(x_220); -lean_inc(x_219); -lean_inc(x_218); -lean_dec(x_138); -x_226 = lean_ctor_get(x_168, 1); -lean_inc(x_226); -x_227 = lean_ctor_get(x_168, 2); -lean_inc(x_227); -x_228 = lean_ctor_get(x_168, 3); -lean_inc(x_228); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - lean_ctor_release(x_168, 2); - lean_ctor_release(x_168, 3); - x_229 = x_168; -} else { - lean_dec_ref(x_168); - x_229 = lean_box(0); -} -x_230 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_230, 0, x_218); -lean_ctor_set(x_230, 1, x_219); -lean_ctor_set(x_230, 2, x_220); -lean_ctor_set(x_230, 3, x_221); -lean_ctor_set(x_230, 4, x_222); -lean_ctor_set(x_230, 5, x_223); -lean_ctor_set(x_230, 6, x_224); -lean_ctor_set(x_230, 7, x_225); -lean_ctor_set_uint8(x_230, sizeof(void*)*8, x_35); -if (lean_is_scalar(x_229)) { - x_231 = lean_alloc_ctor(0, 4, 0); -} else { - x_231 = x_229; -} -lean_ctor_set(x_231, 0, x_230); -lean_ctor_set(x_231, 1, x_226); -lean_ctor_set(x_231, 2, x_227); -lean_ctor_set(x_231, 3, x_228); -x_232 = lean_st_ref_set(x_7, x_231, x_206); -x_233 = lean_ctor_get(x_232, 1); -lean_inc(x_233); -lean_dec(x_232); -x_139 = x_233; -goto block_164; -} -} -block_164: -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; -x_140 = lean_st_ref_take(x_9, x_139); -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); -lean_dec(x_140); -x_143 = !lean_is_exclusive(x_141); -if (x_143 == 0) -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_144 = lean_ctor_get(x_141, 2); -lean_dec(x_144); -x_145 = lean_ctor_get(x_141, 1); -lean_dec(x_145); -x_146 = lean_ctor_get(x_137, 1); -lean_inc(x_146); -x_147 = lean_ctor_get(x_137, 2); -lean_inc(x_147); -lean_dec(x_137); -lean_ctor_set(x_141, 2, x_147); -lean_ctor_set(x_141, 1, x_146); -x_148 = lean_st_ref_set(x_9, x_141, x_142); -x_149 = lean_ctor_get(x_148, 1); -lean_inc(x_149); -lean_dec(x_148); -x_150 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_151 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_150, x_6, x_7, x_8, x_9, x_149); -return x_151; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_152 = lean_ctor_get(x_141, 0); -x_153 = lean_ctor_get(x_141, 3); -x_154 = lean_ctor_get(x_141, 4); -x_155 = lean_ctor_get(x_141, 5); -x_156 = lean_ctor_get(x_141, 6); -lean_inc(x_156); -lean_inc(x_155); -lean_inc(x_154); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_141); -x_157 = lean_ctor_get(x_137, 1); -lean_inc(x_157); -x_158 = lean_ctor_get(x_137, 2); -lean_inc(x_158); -lean_dec(x_137); -x_159 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_159, 0, x_152); -lean_ctor_set(x_159, 1, x_157); -lean_ctor_set(x_159, 2, x_158); -lean_ctor_set(x_159, 3, x_153); -lean_ctor_set(x_159, 4, x_154); -lean_ctor_set(x_159, 5, x_155); -lean_ctor_set(x_159, 6, x_156); -x_160 = lean_st_ref_set(x_9, x_159, x_142); -x_161 = lean_ctor_get(x_160, 1); -lean_inc(x_161); -lean_dec(x_160); -x_162 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_163 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_162, x_6, x_7, x_8, x_9, x_161); -return x_163; + x_141 = x_140; } +lean_ctor_set(x_141, 0, x_135); +lean_ctor_set(x_141, 1, x_95); +lean_ctor_set(x_141, 2, x_96); +lean_ctor_set(x_141, 3, x_136); +lean_ctor_set(x_141, 4, x_137); +lean_ctor_set(x_141, 5, x_138); +lean_ctor_set(x_141, 6, x_139); +x_142 = lean_st_ref_set(x_9, x_141, x_134); +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +lean_dec(x_142); +x_144 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_145 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_144, x_6, x_7, x_8, x_9, x_143); +return x_145; } } } else { -lean_object* x_234; +lean_object* x_146; lean_dec(x_1); -x_234 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_234, 0, x_2); -lean_ctor_set(x_234, 1, x_10); -return x_234; +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_2); +lean_ctor_set(x_146, 1, x_10); +return x_146; } } } @@ -14245,7 +12366,7 @@ x_33 = l_Lean_MetavarContext_elimMVarDeps(x_1, x_2, x_3, x_29, x_32); lean_dec(x_29); 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_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); x_35 = lean_ctor_get(x_33, 0); @@ -14253,717 +12374,361 @@ lean_inc(x_35); lean_dec(x_33); x_36 = lean_ctor_get(x_34, 0); lean_inc(x_36); -x_64 = lean_st_ref_get(x_7, x_27); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -lean_dec(x_64); -x_66 = lean_st_ref_take(x_5, x_65); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get_uint8(x_36, sizeof(void*)*8); -if (x_68 == 0) +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +x_38 = lean_ctor_get(x_34, 2); +lean_inc(x_38); +lean_dec(x_34); +x_39 = lean_st_ref_get(x_7, x_27); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_st_ref_take(x_5, x_40); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = !lean_is_exclusive(x_42); +if (x_44 == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_69 = lean_ctor_get(x_67, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_66, 1); -lean_inc(x_70); -lean_dec(x_66); -x_71 = lean_ctor_get(x_36, 0); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_45 = lean_ctor_get(x_42, 0); +lean_dec(x_45); +lean_ctor_set(x_42, 0, x_36); +x_46 = lean_st_ref_set(x_5, x_42, x_43); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = lean_st_ref_take(x_7, x_47); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = !lean_is_exclusive(x_49); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_52 = lean_ctor_get(x_49, 2); +lean_dec(x_52); +x_53 = lean_ctor_get(x_49, 1); +lean_dec(x_53); +lean_ctor_set(x_49, 2, x_38); +lean_ctor_set(x_49, 1, x_37); +x_54 = lean_st_ref_set(x_7, x_49, x_50); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) +{ +lean_object* x_56; +x_56 = lean_ctor_get(x_54, 0); +lean_dec(x_56); +lean_ctor_set(x_54, 0, x_35); +return x_54; +} +else +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_35); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_59 = lean_ctor_get(x_49, 0); +x_60 = lean_ctor_get(x_49, 3); +x_61 = lean_ctor_get(x_49, 4); +x_62 = lean_ctor_get(x_49, 5); +x_63 = lean_ctor_get(x_49, 6); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_49); +x_64 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_64, 0, x_59); +lean_ctor_set(x_64, 1, x_37); +lean_ctor_set(x_64, 2, x_38); +lean_ctor_set(x_64, 3, x_60); +lean_ctor_set(x_64, 4, x_61); +lean_ctor_set(x_64, 5, x_62); +lean_ctor_set(x_64, 6, x_63); +x_65 = lean_st_ref_set(x_7, x_64, x_50); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_67 = x_65; +} else { + lean_dec_ref(x_65); + x_67 = lean_box(0); +} +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_67; +} +lean_ctor_set(x_68, 0, x_35); +lean_ctor_set(x_68, 1, x_66); +return x_68; +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_69 = lean_ctor_get(x_42, 1); +x_70 = lean_ctor_get(x_42, 2); +x_71 = lean_ctor_get(x_42, 3); lean_inc(x_71); -x_72 = lean_ctor_get(x_36, 1); -lean_inc(x_72); -x_73 = lean_ctor_get(x_36, 2); -lean_inc(x_73); -x_74 = lean_ctor_get(x_36, 3); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_42); +x_72 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_72, 0, x_36); +lean_ctor_set(x_72, 1, x_69); +lean_ctor_set(x_72, 2, x_70); +lean_ctor_set(x_72, 3, x_71); +x_73 = lean_st_ref_set(x_5, x_72, x_43); +x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); -x_75 = lean_ctor_get(x_36, 4); -lean_inc(x_75); -x_76 = lean_ctor_get(x_36, 5); +lean_dec(x_73); +x_75 = lean_st_ref_take(x_7, x_74); +x_76 = lean_ctor_get(x_75, 0); lean_inc(x_76); -x_77 = lean_ctor_get(x_36, 6); +x_77 = lean_ctor_get(x_75, 1); lean_inc(x_77); -x_78 = lean_ctor_get(x_36, 7); +lean_dec(x_75); +x_78 = lean_ctor_get(x_76, 0); lean_inc(x_78); -lean_dec(x_36); -x_79 = !lean_is_exclusive(x_67); -if (x_79 == 0) +x_79 = lean_ctor_get(x_76, 3); +lean_inc(x_79); +x_80 = lean_ctor_get(x_76, 4); +lean_inc(x_80); +x_81 = lean_ctor_get(x_76, 5); +lean_inc(x_81); +x_82 = lean_ctor_get(x_76, 6); +lean_inc(x_82); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + lean_ctor_release(x_76, 2); + lean_ctor_release(x_76, 3); + lean_ctor_release(x_76, 4); + lean_ctor_release(x_76, 5); + lean_ctor_release(x_76, 6); + x_83 = x_76; +} else { + lean_dec_ref(x_76); + x_83 = lean_box(0); +} +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(0, 7, 0); +} else { + x_84 = x_83; +} +lean_ctor_set(x_84, 0, x_78); +lean_ctor_set(x_84, 1, x_37); +lean_ctor_set(x_84, 2, x_38); +lean_ctor_set(x_84, 3, x_79); +lean_ctor_set(x_84, 4, x_80); +lean_ctor_set(x_84, 5, x_81); +lean_ctor_set(x_84, 6, x_82); +x_85 = lean_st_ref_set(x_7, x_84, x_77); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_87 = x_85; +} else { + lean_dec_ref(x_85); + x_87 = lean_box(0); +} +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(0, 2, 0); +} else { + x_88 = x_87; +} +lean_ctor_set(x_88, 0, x_35); +lean_ctor_set(x_88, 1, x_86); +return x_88; +} +} +else { -lean_object* x_80; uint8_t x_81; -x_80 = lean_ctor_get(x_67, 0); -lean_dec(x_80); -x_81 = !lean_is_exclusive(x_69); -if (x_81 == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_82 = lean_ctor_get(x_69, 7); -lean_dec(x_82); -x_83 = lean_ctor_get(x_69, 6); -lean_dec(x_83); -x_84 = lean_ctor_get(x_69, 5); -lean_dec(x_84); -x_85 = lean_ctor_get(x_69, 4); -lean_dec(x_85); -x_86 = lean_ctor_get(x_69, 3); -lean_dec(x_86); -x_87 = lean_ctor_get(x_69, 2); -lean_dec(x_87); -x_88 = lean_ctor_get(x_69, 1); -lean_dec(x_88); -x_89 = lean_ctor_get(x_69, 0); -lean_dec(x_89); -lean_ctor_set(x_69, 7, x_78); -lean_ctor_set(x_69, 6, x_77); -lean_ctor_set(x_69, 5, x_76); -lean_ctor_set(x_69, 4, x_75); -lean_ctor_set(x_69, 3, x_74); -lean_ctor_set(x_69, 2, x_73); -lean_ctor_set(x_69, 1, x_72); -lean_ctor_set(x_69, 0, x_71); -x_90 = lean_st_ref_set(x_5, x_67, x_70); -x_91 = lean_ctor_get(x_90, 1); +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; uint8_t x_98; +x_89 = lean_ctor_get(x_33, 1); +lean_inc(x_89); +lean_dec(x_33); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); lean_inc(x_91); -lean_dec(x_90); -x_37 = x_91; -goto block_63; -} -else -{ -uint8_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get_uint8(x_69, sizeof(void*)*8); -lean_dec(x_69); -x_93 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_93, 0, x_71); -lean_ctor_set(x_93, 1, x_72); -lean_ctor_set(x_93, 2, x_73); -lean_ctor_set(x_93, 3, x_74); -lean_ctor_set(x_93, 4, x_75); -lean_ctor_set(x_93, 5, x_76); -lean_ctor_set(x_93, 6, x_77); -lean_ctor_set(x_93, 7, x_78); -lean_ctor_set_uint8(x_93, sizeof(void*)*8, x_92); -lean_ctor_set(x_67, 0, x_93); -x_94 = lean_st_ref_set(x_5, x_67, x_70); -x_95 = lean_ctor_get(x_94, 1); -lean_inc(x_95); -lean_dec(x_94); -x_37 = x_95; -goto block_63; -} -} -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; lean_object* x_104; -x_96 = lean_ctor_get(x_67, 1); -x_97 = lean_ctor_get(x_67, 2); -x_98 = lean_ctor_get(x_67, 3); -lean_inc(x_98); -lean_inc(x_97); +x_92 = lean_ctor_get(x_89, 2); +lean_inc(x_92); +lean_dec(x_89); +x_93 = lean_st_ref_get(x_7, x_27); +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +lean_dec(x_93); +x_95 = lean_st_ref_take(x_5, x_94); +x_96 = lean_ctor_get(x_95, 0); lean_inc(x_96); -lean_dec(x_67); -x_99 = lean_ctor_get_uint8(x_69, sizeof(void*)*8); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - lean_ctor_release(x_69, 2); - lean_ctor_release(x_69, 3); - lean_ctor_release(x_69, 4); - lean_ctor_release(x_69, 5); - lean_ctor_release(x_69, 6); - lean_ctor_release(x_69, 7); - x_100 = x_69; -} else { - lean_dec_ref(x_69); - x_100 = lean_box(0); -} -if (lean_is_scalar(x_100)) { - x_101 = lean_alloc_ctor(0, 8, 1); -} else { - x_101 = x_100; -} -lean_ctor_set(x_101, 0, x_71); -lean_ctor_set(x_101, 1, x_72); -lean_ctor_set(x_101, 2, x_73); -lean_ctor_set(x_101, 3, x_74); -lean_ctor_set(x_101, 4, x_75); -lean_ctor_set(x_101, 5, x_76); -lean_ctor_set(x_101, 6, x_77); -lean_ctor_set(x_101, 7, x_78); -lean_ctor_set_uint8(x_101, sizeof(void*)*8, x_99); -x_102 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_96); -lean_ctor_set(x_102, 2, x_97); -lean_ctor_set(x_102, 3, x_98); -x_103 = lean_st_ref_set(x_5, x_102, x_70); -x_104 = lean_ctor_get(x_103, 1); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = !lean_is_exclusive(x_96); +if (x_98 == 0) +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +x_99 = lean_ctor_get(x_96, 0); +lean_dec(x_99); +lean_ctor_set(x_96, 0, x_90); +x_100 = lean_st_ref_set(x_5, x_96, x_97); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +lean_dec(x_100); +x_102 = lean_st_ref_take(x_7, x_101); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); lean_inc(x_104); -lean_dec(x_103); -x_37 = x_104; -goto block_63; -} -} -else +lean_dec(x_102); +x_105 = !lean_is_exclusive(x_103); +if (x_105 == 0) { -lean_object* x_105; uint8_t x_106; -x_105 = lean_ctor_get(x_66, 1); -lean_inc(x_105); -lean_dec(x_66); -x_106 = !lean_is_exclusive(x_36); -if (x_106 == 0) -{ -uint8_t x_107; -x_107 = !lean_is_exclusive(x_67); -if (x_107 == 0) -{ -lean_object* x_108; uint8_t x_109; lean_object* x_110; lean_object* x_111; -x_108 = lean_ctor_get(x_67, 0); +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_106 = lean_ctor_get(x_103, 2); +lean_dec(x_106); +x_107 = lean_ctor_get(x_103, 1); +lean_dec(x_107); +lean_ctor_set(x_103, 2, x_92); +lean_ctor_set(x_103, 1, x_91); +x_108 = lean_st_ref_set(x_7, x_103, x_104); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); lean_dec(x_108); -x_109 = 1; -lean_ctor_set_uint8(x_36, sizeof(void*)*8, x_109); -lean_ctor_set(x_67, 0, x_36); -x_110 = lean_st_ref_set(x_5, x_67, x_105); -x_111 = lean_ctor_get(x_110, 1); -lean_inc(x_111); -lean_dec(x_110); -x_37 = x_111; -goto block_63; +x_110 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_111 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_110, x_4, x_5, x_6, x_7, x_109); +return x_111; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_112 = lean_ctor_get(x_67, 1); -x_113 = lean_ctor_get(x_67, 2); -x_114 = lean_ctor_get(x_67, 3); +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; +x_112 = lean_ctor_get(x_103, 0); +x_113 = lean_ctor_get(x_103, 3); +x_114 = lean_ctor_get(x_103, 4); +x_115 = lean_ctor_get(x_103, 5); +x_116 = lean_ctor_get(x_103, 6); +lean_inc(x_116); +lean_inc(x_115); lean_inc(x_114); lean_inc(x_113); lean_inc(x_112); -lean_dec(x_67); -x_115 = 1; -lean_ctor_set_uint8(x_36, sizeof(void*)*8, x_115); -x_116 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_116, 0, x_36); -lean_ctor_set(x_116, 1, x_112); -lean_ctor_set(x_116, 2, x_113); -lean_ctor_set(x_116, 3, x_114); -x_117 = lean_st_ref_set(x_5, x_116, x_105); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec(x_117); -x_37 = x_118; -goto block_63; +lean_dec(x_103); +x_117 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_117, 0, x_112); +lean_ctor_set(x_117, 1, x_91); +lean_ctor_set(x_117, 2, x_92); +lean_ctor_set(x_117, 3, x_113); +lean_ctor_set(x_117, 4, x_114); +lean_ctor_set(x_117, 5, x_115); +lean_ctor_set(x_117, 6, x_116); +x_118 = lean_st_ref_set(x_7, x_117, x_104); +x_119 = lean_ctor_get(x_118, 1); +lean_inc(x_119); +lean_dec(x_118); +x_120 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_121 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_120, x_4, x_5, x_6, x_7, x_119); +return x_121; } } 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_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_119 = lean_ctor_get(x_36, 0); -x_120 = lean_ctor_get(x_36, 1); -x_121 = lean_ctor_get(x_36, 2); -x_122 = lean_ctor_get(x_36, 3); -x_123 = lean_ctor_get(x_36, 4); -x_124 = lean_ctor_get(x_36, 5); -x_125 = lean_ctor_get(x_36, 6); -x_126 = lean_ctor_get(x_36, 7); -lean_inc(x_126); -lean_inc(x_125); +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; 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; +x_122 = lean_ctor_get(x_96, 1); +x_123 = lean_ctor_get(x_96, 2); +x_124 = lean_ctor_get(x_96, 3); lean_inc(x_124); lean_inc(x_123); lean_inc(x_122); -lean_inc(x_121); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_36); -x_127 = lean_ctor_get(x_67, 1); +lean_dec(x_96); +x_125 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_125, 0, x_90); +lean_ctor_set(x_125, 1, x_122); +lean_ctor_set(x_125, 2, x_123); +lean_ctor_set(x_125, 3, x_124); +x_126 = lean_st_ref_set(x_5, x_125, x_97); +x_127 = lean_ctor_get(x_126, 1); lean_inc(x_127); -x_128 = lean_ctor_get(x_67, 2); -lean_inc(x_128); -x_129 = lean_ctor_get(x_67, 3); +lean_dec(x_126); +x_128 = lean_st_ref_take(x_7, x_127); +x_129 = lean_ctor_get(x_128, 0); lean_inc(x_129); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - lean_ctor_release(x_67, 2); - lean_ctor_release(x_67, 3); - x_130 = x_67; -} else { - lean_dec_ref(x_67); - x_130 = lean_box(0); -} -x_131 = 1; -x_132 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_132, 0, x_119); -lean_ctor_set(x_132, 1, x_120); -lean_ctor_set(x_132, 2, x_121); -lean_ctor_set(x_132, 3, x_122); -lean_ctor_set(x_132, 4, x_123); -lean_ctor_set(x_132, 5, x_124); -lean_ctor_set(x_132, 6, x_125); -lean_ctor_set(x_132, 7, x_126); -lean_ctor_set_uint8(x_132, sizeof(void*)*8, x_131); -if (lean_is_scalar(x_130)) { - x_133 = lean_alloc_ctor(0, 4, 0); -} else { - x_133 = x_130; -} -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_127); -lean_ctor_set(x_133, 2, x_128); -lean_ctor_set(x_133, 3, x_129); -x_134 = lean_st_ref_set(x_5, x_133, x_105); -x_135 = lean_ctor_get(x_134, 1); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_ctor_get(x_129, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_129, 3); +lean_inc(x_132); +x_133 = lean_ctor_get(x_129, 4); +lean_inc(x_133); +x_134 = lean_ctor_get(x_129, 5); +lean_inc(x_134); +x_135 = lean_ctor_get(x_129, 6); lean_inc(x_135); -lean_dec(x_134); -x_37 = x_135; -goto block_63; -} -} -block_63: -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_38 = lean_st_ref_take(x_7, x_37); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = !lean_is_exclusive(x_39); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_42 = lean_ctor_get(x_39, 2); -lean_dec(x_42); -x_43 = lean_ctor_get(x_39, 1); -lean_dec(x_43); -x_44 = lean_ctor_get(x_34, 1); -lean_inc(x_44); -x_45 = lean_ctor_get(x_34, 2); -lean_inc(x_45); -lean_dec(x_34); -lean_ctor_set(x_39, 2, x_45); -lean_ctor_set(x_39, 1, x_44); -x_46 = lean_st_ref_set(x_7, x_39, x_40); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) -{ -lean_object* x_48; -x_48 = lean_ctor_get(x_46, 0); -lean_dec(x_48); -lean_ctor_set(x_46, 0, x_35); -return x_46; -} -else -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_46, 1); -lean_inc(x_49); -lean_dec(x_46); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_35); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_51 = lean_ctor_get(x_39, 0); -x_52 = lean_ctor_get(x_39, 3); -x_53 = lean_ctor_get(x_39, 4); -x_54 = lean_ctor_get(x_39, 5); -x_55 = lean_ctor_get(x_39, 6); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_39); -x_56 = lean_ctor_get(x_34, 1); -lean_inc(x_56); -x_57 = lean_ctor_get(x_34, 2); -lean_inc(x_57); -lean_dec(x_34); -x_58 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_58, 0, x_51); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_58, 2, x_57); -lean_ctor_set(x_58, 3, x_52); -lean_ctor_set(x_58, 4, x_53); -lean_ctor_set(x_58, 5, x_54); -lean_ctor_set(x_58, 6, x_55); -x_59 = lean_st_ref_set(x_7, x_58, x_40); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; +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); + lean_ctor_release(x_129, 6); + x_136 = x_129; } else { - lean_dec_ref(x_59); - x_61 = lean_box(0); + lean_dec_ref(x_129); + x_136 = lean_box(0); } -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_136)) { + x_137 = lean_alloc_ctor(0, 7, 0); } else { - x_62 = x_61; + x_137 = x_136; } -lean_ctor_set(x_62, 0, x_35); -lean_ctor_set(x_62, 1, x_60); -return x_62; +lean_ctor_set(x_137, 0, x_131); +lean_ctor_set(x_137, 1, x_91); +lean_ctor_set(x_137, 2, x_92); +lean_ctor_set(x_137, 3, x_132); +lean_ctor_set(x_137, 4, x_133); +lean_ctor_set(x_137, 5, x_134); +lean_ctor_set(x_137, 6, x_135); +x_138 = lean_st_ref_set(x_7, x_137, x_130); +x_139 = lean_ctor_get(x_138, 1); +lean_inc(x_139); +lean_dec(x_138); +x_140 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; +x_141 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_140, x_4, x_5, x_6, x_7, x_139); +return x_141; } } } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; -x_136 = lean_ctor_get(x_33, 1); -lean_inc(x_136); -lean_dec(x_33); -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_164 = lean_st_ref_get(x_7, x_27); -x_165 = lean_ctor_get(x_164, 1); -lean_inc(x_165); -lean_dec(x_164); -x_166 = lean_st_ref_take(x_5, x_165); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get_uint8(x_137, sizeof(void*)*8); -if (x_168 == 0) -{ -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; uint8_t x_179; -x_169 = lean_ctor_get(x_167, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_166, 1); -lean_inc(x_170); -lean_dec(x_166); -x_171 = lean_ctor_get(x_137, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_137, 1); -lean_inc(x_172); -x_173 = lean_ctor_get(x_137, 2); -lean_inc(x_173); -x_174 = lean_ctor_get(x_137, 3); -lean_inc(x_174); -x_175 = lean_ctor_get(x_137, 4); -lean_inc(x_175); -x_176 = lean_ctor_get(x_137, 5); -lean_inc(x_176); -x_177 = lean_ctor_get(x_137, 6); -lean_inc(x_177); -x_178 = lean_ctor_get(x_137, 7); -lean_inc(x_178); -lean_dec(x_137); -x_179 = !lean_is_exclusive(x_167); -if (x_179 == 0) -{ -lean_object* x_180; uint8_t x_181; -x_180 = lean_ctor_get(x_167, 0); -lean_dec(x_180); -x_181 = !lean_is_exclusive(x_169); -if (x_181 == 0) -{ -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_182 = lean_ctor_get(x_169, 7); -lean_dec(x_182); -x_183 = lean_ctor_get(x_169, 6); -lean_dec(x_183); -x_184 = lean_ctor_get(x_169, 5); -lean_dec(x_184); -x_185 = lean_ctor_get(x_169, 4); -lean_dec(x_185); -x_186 = lean_ctor_get(x_169, 3); -lean_dec(x_186); -x_187 = lean_ctor_get(x_169, 2); -lean_dec(x_187); -x_188 = lean_ctor_get(x_169, 1); -lean_dec(x_188); -x_189 = lean_ctor_get(x_169, 0); -lean_dec(x_189); -lean_ctor_set(x_169, 7, x_178); -lean_ctor_set(x_169, 6, x_177); -lean_ctor_set(x_169, 5, x_176); -lean_ctor_set(x_169, 4, x_175); -lean_ctor_set(x_169, 3, x_174); -lean_ctor_set(x_169, 2, x_173); -lean_ctor_set(x_169, 1, x_172); -lean_ctor_set(x_169, 0, x_171); -x_190 = lean_st_ref_set(x_5, x_167, x_170); -x_191 = lean_ctor_get(x_190, 1); -lean_inc(x_191); -lean_dec(x_190); -x_138 = x_191; -goto block_163; -} -else -{ -uint8_t x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_192 = lean_ctor_get_uint8(x_169, sizeof(void*)*8); -lean_dec(x_169); -x_193 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_193, 0, x_171); -lean_ctor_set(x_193, 1, x_172); -lean_ctor_set(x_193, 2, x_173); -lean_ctor_set(x_193, 3, x_174); -lean_ctor_set(x_193, 4, x_175); -lean_ctor_set(x_193, 5, x_176); -lean_ctor_set(x_193, 6, x_177); -lean_ctor_set(x_193, 7, x_178); -lean_ctor_set_uint8(x_193, sizeof(void*)*8, x_192); -lean_ctor_set(x_167, 0, x_193); -x_194 = lean_st_ref_set(x_5, x_167, x_170); -x_195 = lean_ctor_get(x_194, 1); -lean_inc(x_195); -lean_dec(x_194); -x_138 = x_195; -goto block_163; -} -} -else -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_196 = lean_ctor_get(x_167, 1); -x_197 = lean_ctor_get(x_167, 2); -x_198 = lean_ctor_get(x_167, 3); -lean_inc(x_198); -lean_inc(x_197); -lean_inc(x_196); -lean_dec(x_167); -x_199 = lean_ctor_get_uint8(x_169, sizeof(void*)*8); -if (lean_is_exclusive(x_169)) { - lean_ctor_release(x_169, 0); - lean_ctor_release(x_169, 1); - lean_ctor_release(x_169, 2); - lean_ctor_release(x_169, 3); - lean_ctor_release(x_169, 4); - lean_ctor_release(x_169, 5); - lean_ctor_release(x_169, 6); - lean_ctor_release(x_169, 7); - x_200 = x_169; -} else { - lean_dec_ref(x_169); - x_200 = lean_box(0); -} -if (lean_is_scalar(x_200)) { - x_201 = lean_alloc_ctor(0, 8, 1); -} else { - x_201 = x_200; -} -lean_ctor_set(x_201, 0, x_171); -lean_ctor_set(x_201, 1, x_172); -lean_ctor_set(x_201, 2, x_173); -lean_ctor_set(x_201, 3, x_174); -lean_ctor_set(x_201, 4, x_175); -lean_ctor_set(x_201, 5, x_176); -lean_ctor_set(x_201, 6, x_177); -lean_ctor_set(x_201, 7, x_178); -lean_ctor_set_uint8(x_201, sizeof(void*)*8, x_199); -x_202 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_196); -lean_ctor_set(x_202, 2, x_197); -lean_ctor_set(x_202, 3, x_198); -x_203 = lean_st_ref_set(x_5, x_202, x_170); -x_204 = lean_ctor_get(x_203, 1); -lean_inc(x_204); -lean_dec(x_203); -x_138 = x_204; -goto block_163; -} -} -else -{ -lean_object* x_205; uint8_t x_206; -x_205 = lean_ctor_get(x_166, 1); -lean_inc(x_205); -lean_dec(x_166); -x_206 = !lean_is_exclusive(x_137); -if (x_206 == 0) -{ -uint8_t x_207; -x_207 = !lean_is_exclusive(x_167); -if (x_207 == 0) -{ -lean_object* x_208; uint8_t x_209; lean_object* x_210; lean_object* x_211; -x_208 = lean_ctor_get(x_167, 0); -lean_dec(x_208); -x_209 = 1; -lean_ctor_set_uint8(x_137, sizeof(void*)*8, x_209); -lean_ctor_set(x_167, 0, x_137); -x_210 = lean_st_ref_set(x_5, x_167, x_205); -x_211 = lean_ctor_get(x_210, 1); -lean_inc(x_211); -lean_dec(x_210); -x_138 = x_211; -goto block_163; -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_212 = lean_ctor_get(x_167, 1); -x_213 = lean_ctor_get(x_167, 2); -x_214 = lean_ctor_get(x_167, 3); -lean_inc(x_214); -lean_inc(x_213); -lean_inc(x_212); -lean_dec(x_167); -x_215 = 1; -lean_ctor_set_uint8(x_137, sizeof(void*)*8, x_215); -x_216 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_216, 0, x_137); -lean_ctor_set(x_216, 1, x_212); -lean_ctor_set(x_216, 2, x_213); -lean_ctor_set(x_216, 3, x_214); -x_217 = lean_st_ref_set(x_5, x_216, x_205); -x_218 = lean_ctor_get(x_217, 1); -lean_inc(x_218); -lean_dec(x_217); -x_138 = x_218; -goto block_163; -} -} -else -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_219 = lean_ctor_get(x_137, 0); -x_220 = lean_ctor_get(x_137, 1); -x_221 = lean_ctor_get(x_137, 2); -x_222 = lean_ctor_get(x_137, 3); -x_223 = lean_ctor_get(x_137, 4); -x_224 = lean_ctor_get(x_137, 5); -x_225 = lean_ctor_get(x_137, 6); -x_226 = lean_ctor_get(x_137, 7); -lean_inc(x_226); -lean_inc(x_225); -lean_inc(x_224); -lean_inc(x_223); -lean_inc(x_222); -lean_inc(x_221); -lean_inc(x_220); -lean_inc(x_219); -lean_dec(x_137); -x_227 = lean_ctor_get(x_167, 1); -lean_inc(x_227); -x_228 = lean_ctor_get(x_167, 2); -lean_inc(x_228); -x_229 = lean_ctor_get(x_167, 3); -lean_inc(x_229); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - lean_ctor_release(x_167, 2); - lean_ctor_release(x_167, 3); - x_230 = x_167; -} else { - lean_dec_ref(x_167); - x_230 = lean_box(0); -} -x_231 = 1; -x_232 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_232, 0, x_219); -lean_ctor_set(x_232, 1, x_220); -lean_ctor_set(x_232, 2, x_221); -lean_ctor_set(x_232, 3, x_222); -lean_ctor_set(x_232, 4, x_223); -lean_ctor_set(x_232, 5, x_224); -lean_ctor_set(x_232, 6, x_225); -lean_ctor_set(x_232, 7, x_226); -lean_ctor_set_uint8(x_232, sizeof(void*)*8, x_231); -if (lean_is_scalar(x_230)) { - x_233 = lean_alloc_ctor(0, 4, 0); -} else { - x_233 = x_230; -} -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_227); -lean_ctor_set(x_233, 2, x_228); -lean_ctor_set(x_233, 3, x_229); -x_234 = lean_st_ref_set(x_5, x_233, x_205); -x_235 = lean_ctor_get(x_234, 1); -lean_inc(x_235); -lean_dec(x_234); -x_138 = x_235; -goto block_163; -} -} -block_163: -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; -x_139 = lean_st_ref_take(x_7, x_138); -x_140 = lean_ctor_get(x_139, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_139, 1); -lean_inc(x_141); -lean_dec(x_139); -x_142 = !lean_is_exclusive(x_140); -if (x_142 == 0) -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_143 = lean_ctor_get(x_140, 2); -lean_dec(x_143); -x_144 = lean_ctor_get(x_140, 1); -lean_dec(x_144); -x_145 = lean_ctor_get(x_136, 1); -lean_inc(x_145); -x_146 = lean_ctor_get(x_136, 2); -lean_inc(x_146); -lean_dec(x_136); -lean_ctor_set(x_140, 2, x_146); -lean_ctor_set(x_140, 1, x_145); -x_147 = lean_st_ref_set(x_7, x_140, x_141); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -lean_dec(x_147); -x_149 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_150 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_149, x_4, x_5, x_6, x_7, x_148); -return x_150; -} -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; -x_151 = lean_ctor_get(x_140, 0); -x_152 = lean_ctor_get(x_140, 3); -x_153 = lean_ctor_get(x_140, 4); -x_154 = lean_ctor_get(x_140, 5); -x_155 = lean_ctor_get(x_140, 6); -lean_inc(x_155); -lean_inc(x_154); -lean_inc(x_153); -lean_inc(x_152); -lean_inc(x_151); -lean_dec(x_140); -x_156 = lean_ctor_get(x_136, 1); -lean_inc(x_156); -x_157 = lean_ctor_get(x_136, 2); -lean_inc(x_157); -lean_dec(x_136); -x_158 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_158, 0, x_151); -lean_ctor_set(x_158, 1, x_156); -lean_ctor_set(x_158, 2, x_157); -lean_ctor_set(x_158, 3, x_152); -lean_ctor_set(x_158, 4, x_153); -lean_ctor_set(x_158, 5, x_154); -lean_ctor_set(x_158, 6, x_155); -x_159 = lean_st_ref_set(x_7, x_158, x_141); -x_160 = lean_ctor_get(x_159, 1); -lean_inc(x_160); -lean_dec(x_159); -x_161 = l_Lean_Meta_liftMkBindingM___rarg___closed__2; -x_162 = l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(x_161, x_4, x_5, x_6, x_7, x_160); -return x_162; -} -} -} -} -else -{ -lean_object* x_236; +lean_object* x_142; lean_dec(x_1); -x_236 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_236, 0, x_2); -lean_ctor_set(x_236, 1, x_8); -return x_236; +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_2); +lean_ctor_set(x_142, 1, x_8); +return x_142; } } } @@ -18293,213 +16058,6 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_st_ref_take(x_1, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_8, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -uint8_t x_14; lean_object* x_15; uint8_t x_16; -x_14 = 1; -lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_14); -x_15 = lean_st_ref_set(x_1, x_8, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_9, 0); -x_23 = lean_ctor_get(x_9, 1); -x_24 = lean_ctor_get(x_9, 2); -x_25 = lean_ctor_get(x_9, 3); -x_26 = lean_ctor_get(x_9, 4); -x_27 = lean_ctor_get(x_9, 5); -x_28 = lean_ctor_get(x_9, 6); -x_29 = lean_ctor_get(x_9, 7); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_9); -x_30 = 1; -x_31 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_23); -lean_ctor_set(x_31, 2, x_24); -lean_ctor_set(x_31, 3, x_25); -lean_ctor_set(x_31, 4, x_26); -lean_ctor_set(x_31, 5, x_27); -lean_ctor_set(x_31, 6, x_28); -lean_ctor_set(x_31, 7, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_30); -lean_ctor_set(x_8, 0, x_31); -x_32 = lean_st_ref_set(x_1, x_8, x_10); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; -} else { - lean_dec_ref(x_32); - x_34 = lean_box(0); -} -x_35 = lean_box(0); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -} -else -{ -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; uint8_t 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_37 = lean_ctor_get(x_8, 1); -x_38 = lean_ctor_get(x_8, 2); -x_39 = lean_ctor_get(x_8, 3); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_8); -x_40 = lean_ctor_get(x_9, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_9, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_9, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_9, 3); -lean_inc(x_43); -x_44 = lean_ctor_get(x_9, 4); -lean_inc(x_44); -x_45 = lean_ctor_get(x_9, 5); -lean_inc(x_45); -x_46 = lean_ctor_get(x_9, 6); -lean_inc(x_46); -x_47 = lean_ctor_get(x_9, 7); -lean_inc(x_47); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - lean_ctor_release(x_9, 6); - lean_ctor_release(x_9, 7); - x_48 = x_9; -} else { - lean_dec_ref(x_9); - x_48 = lean_box(0); -} -x_49 = 1; -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 8, 1); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_40); -lean_ctor_set(x_50, 1, x_41); -lean_ctor_set(x_50, 2, x_42); -lean_ctor_set(x_50, 3, x_43); -lean_ctor_set(x_50, 4, x_44); -lean_ctor_set(x_50, 5, x_45); -lean_ctor_set(x_50, 6, x_46); -lean_ctor_set(x_50, 7, x_47); -lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_49); -x_51 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_37); -lean_ctor_set(x_51, 2, x_38); -lean_ctor_set(x_51, 3, x_39); -x_52 = lean_st_ref_set(x_1, x_51, x_10); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg___boxed), 4, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_1); -lean_ctor_set(x_8, 1, x_7); -return x_8; -} -} LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -18512,88 +16070,31 @@ x_9 = lean_st_ref_get(x_3, x_8); x_10 = !lean_is_exclusive(x_9); if (x_10 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_11; lean_object* x_12; lean_object* x_13; x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); lean_dec(x_11); -x_14 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_13, x_1); -if (lean_obj_tag(x_14) == 0) -{ -lean_ctor_set(x_9, 0, x_14); +x_13 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_12, x_1); +lean_ctor_set(x_9, 0, x_13); return x_9; } else { -lean_object* x_15; uint8_t x_16; -lean_free_object(x_9); -x_15 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_12); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -lean_ctor_set(x_15, 0, x_14); -return x_15; -} -else -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec(x_15); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_14); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_9, 0); -x_21 = lean_ctor_get(x_9, 1); -lean_inc(x_21); -lean_inc(x_20); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_inc(x_14); lean_dec(x_9); -x_22 = lean_ctor_get(x_20, 0); -lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_22, x_1); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_21); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_21); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_27 = x_25; -} else { - lean_dec_ref(x_25); - x_27 = lean_box(0); -} -if (lean_is_scalar(x_27)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_27; -} -lean_ctor_set(x_28, 0, x_23); -lean_ctor_set(x_28, 1, x_26); -return x_28; -} +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_16, x_1); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_15); +return x_18; } } } @@ -18750,39 +16251,6 @@ return x_38; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2(x_1); -lean_dec(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___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: { @@ -18877,73 +16345,68 @@ 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; 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_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; x_28 = lean_ctor_get(x_16, 0); x_29 = lean_ctor_get(x_16, 1); x_30 = lean_ctor_get(x_16, 3); x_31 = lean_ctor_get(x_16, 4); x_32 = lean_ctor_get(x_16, 5); -x_33 = lean_ctor_get(x_16, 6); -lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_dec(x_16); -x_34 = l_Lean_Meta_Cache_synthInstance___default___closed__1; -x_35 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_35, 0, x_28); -lean_ctor_set(x_35, 1, x_29); -lean_ctor_set(x_35, 2, x_34); -lean_ctor_set(x_35, 3, x_30); -lean_ctor_set(x_35, 4, x_31); -lean_ctor_set(x_35, 5, x_32); -lean_ctor_set(x_35, 6, x_33); -lean_ctor_set(x_15, 1, x_35); -x_36 = lean_st_ref_set(x_1, x_15, x_17); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - x_38 = x_36; +x_33 = l_Lean_Meta_Cache_synthInstance___default___closed__1; +x_34 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_34, 0, x_28); +lean_ctor_set(x_34, 1, x_29); +lean_ctor_set(x_34, 2, x_33); +lean_ctor_set(x_34, 3, x_30); +lean_ctor_set(x_34, 4, x_31); +lean_ctor_set(x_34, 5, x_32); +lean_ctor_set(x_15, 1, x_34); +x_35 = lean_st_ref_set(x_1, x_15, x_17); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + lean_ctor_release(x_35, 1); + x_37 = x_35; } else { - lean_dec_ref(x_36); - x_38 = lean_box(0); + lean_dec_ref(x_35); + x_37 = lean_box(0); } -if (lean_is_scalar(x_38)) { - x_39 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(0, 2, 0); } else { - x_39 = x_38; + x_38 = x_37; } -lean_ctor_set(x_39, 0, x_11); -lean_ctor_set(x_39, 1, x_37); -return x_39; +lean_ctor_set(x_38, 0, x_11); +lean_ctor_set(x_38, 1, x_36); +return x_38; } } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 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_40 = lean_ctor_get(x_15, 0); -x_41 = lean_ctor_get(x_15, 2); -x_42 = lean_ctor_get(x_15, 3); -lean_inc(x_42); +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; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_39 = lean_ctor_get(x_15, 0); +x_40 = lean_ctor_get(x_15, 2); +x_41 = lean_ctor_get(x_15, 3); lean_inc(x_41); lean_inc(x_40); +lean_inc(x_39); lean_dec(x_15); -x_43 = lean_ctor_get(x_16, 0); +x_42 = lean_ctor_get(x_16, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_16, 1); lean_inc(x_43); -x_44 = lean_ctor_get(x_16, 1); +x_44 = lean_ctor_get(x_16, 3); lean_inc(x_44); -x_45 = lean_ctor_get(x_16, 3); +x_45 = lean_ctor_get(x_16, 4); lean_inc(x_45); -x_46 = lean_ctor_get(x_16, 4); +x_46 = lean_ctor_get(x_16, 5); lean_inc(x_46); -x_47 = lean_ctor_get(x_16, 5); -lean_inc(x_47); -x_48 = lean_ctor_get(x_16, 6); -lean_inc(x_48); if (lean_is_exclusive(x_16)) { lean_ctor_release(x_16, 0); lean_ctor_release(x_16, 1); @@ -18951,49 +16414,47 @@ if (lean_is_exclusive(x_16)) { lean_ctor_release(x_16, 3); lean_ctor_release(x_16, 4); lean_ctor_release(x_16, 5); - lean_ctor_release(x_16, 6); - x_49 = x_16; + x_47 = x_16; } else { lean_dec_ref(x_16); - x_49 = lean_box(0); + x_47 = lean_box(0); } -x_50 = l_Lean_Meta_Cache_synthInstance___default___closed__1; -if (lean_is_scalar(x_49)) { - x_51 = lean_alloc_ctor(0, 7, 0); +x_48 = l_Lean_Meta_Cache_synthInstance___default___closed__1; +if (lean_is_scalar(x_47)) { + x_49 = lean_alloc_ctor(0, 6, 0); } else { - x_51 = x_49; + x_49 = x_47; } -lean_ctor_set(x_51, 0, x_43); -lean_ctor_set(x_51, 1, x_44); -lean_ctor_set(x_51, 2, x_50); -lean_ctor_set(x_51, 3, x_45); -lean_ctor_set(x_51, 4, x_46); -lean_ctor_set(x_51, 5, x_47); -lean_ctor_set(x_51, 6, x_48); -x_52 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_52, 0, x_40); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_52, 2, x_41); -lean_ctor_set(x_52, 3, x_42); -x_53 = lean_st_ref_set(x_1, x_52, x_17); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_55 = x_53; +lean_ctor_set(x_49, 0, x_42); +lean_ctor_set(x_49, 1, x_43); +lean_ctor_set(x_49, 2, x_48); +lean_ctor_set(x_49, 3, x_44); +lean_ctor_set(x_49, 4, x_45); +lean_ctor_set(x_49, 5, x_46); +x_50 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_50, 0, x_39); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_40); +lean_ctor_set(x_50, 3, x_41); +x_51 = lean_st_ref_set(x_1, x_50, x_17); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_53 = x_51; } else { - lean_dec_ref(x_53); - x_55 = lean_box(0); + lean_dec_ref(x_51); + x_53 = lean_box(0); } -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(0, 2, 0); } else { - x_56 = x_55; + x_54 = x_53; } -lean_ctor_set(x_56, 0, x_11); -lean_ctor_set(x_56, 1, x_54); -return x_56; +lean_ctor_set(x_54, 0, x_11); +lean_ctor_set(x_54, 1, x_52); +return x_54; } } } @@ -19080,73 +16541,68 @@ return x_23; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 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_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_24 = lean_ctor_get(x_11, 0); x_25 = lean_ctor_get(x_11, 1); x_26 = lean_ctor_get(x_11, 3); x_27 = lean_ctor_get(x_11, 4); x_28 = lean_ctor_get(x_11, 5); -x_29 = lean_ctor_get(x_11, 6); -lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_dec(x_11); -x_30 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_30, 0, x_24); -lean_ctor_set(x_30, 1, x_25); -lean_ctor_set(x_30, 2, x_1); -lean_ctor_set(x_30, 3, x_26); -lean_ctor_set(x_30, 4, x_27); -lean_ctor_set(x_30, 5, x_28); -lean_ctor_set(x_30, 6, x_29); -lean_ctor_set(x_10, 1, x_30); -x_31 = lean_st_ref_set(x_3, x_10, x_12); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - x_33 = x_31; +x_29 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_29, 0, x_24); +lean_ctor_set(x_29, 1, x_25); +lean_ctor_set(x_29, 2, x_1); +lean_ctor_set(x_29, 3, x_26); +lean_ctor_set(x_29, 4, x_27); +lean_ctor_set(x_29, 5, x_28); +lean_ctor_set(x_10, 1, x_29); +x_30 = lean_st_ref_set(x_3, x_10, x_12); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_32 = x_30; } else { - lean_dec_ref(x_31); - x_33 = lean_box(0); + lean_dec_ref(x_30); + x_32 = lean_box(0); } -x_34 = lean_box(0); -if (lean_is_scalar(x_33)) { - x_35 = lean_alloc_ctor(0, 2, 0); +x_33 = lean_box(0); +if (lean_is_scalar(x_32)) { + x_34 = lean_alloc_ctor(0, 2, 0); } else { - x_35 = x_33; + x_34 = x_32; } -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +return x_34; } } 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; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_36 = lean_ctor_get(x_10, 0); -x_37 = lean_ctor_get(x_10, 2); -x_38 = lean_ctor_get(x_10, 3); -lean_inc(x_38); +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; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_35 = lean_ctor_get(x_10, 0); +x_36 = lean_ctor_get(x_10, 2); +x_37 = lean_ctor_get(x_10, 3); lean_inc(x_37); lean_inc(x_36); +lean_inc(x_35); lean_dec(x_10); -x_39 = lean_ctor_get(x_11, 0); +x_38 = lean_ctor_get(x_11, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_11, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_11, 1); +x_40 = lean_ctor_get(x_11, 3); lean_inc(x_40); -x_41 = lean_ctor_get(x_11, 3); +x_41 = lean_ctor_get(x_11, 4); lean_inc(x_41); -x_42 = lean_ctor_get(x_11, 4); +x_42 = lean_ctor_get(x_11, 5); lean_inc(x_42); -x_43 = lean_ctor_get(x_11, 5); -lean_inc(x_43); -x_44 = lean_ctor_get(x_11, 6); -lean_inc(x_44); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); @@ -19154,49 +16610,47 @@ if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 3); lean_ctor_release(x_11, 4); lean_ctor_release(x_11, 5); - lean_ctor_release(x_11, 6); - x_45 = x_11; + x_43 = x_11; } else { lean_dec_ref(x_11); - x_45 = lean_box(0); + x_43 = lean_box(0); } -if (lean_is_scalar(x_45)) { - x_46 = lean_alloc_ctor(0, 7, 0); +if (lean_is_scalar(x_43)) { + x_44 = lean_alloc_ctor(0, 6, 0); } else { - x_46 = x_45; + x_44 = x_43; } -lean_ctor_set(x_46, 0, x_39); -lean_ctor_set(x_46, 1, x_40); -lean_ctor_set(x_46, 2, x_1); -lean_ctor_set(x_46, 3, x_41); -lean_ctor_set(x_46, 4, x_42); -lean_ctor_set(x_46, 5, x_43); -lean_ctor_set(x_46, 6, x_44); -x_47 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_47, 0, x_36); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set(x_47, 2, x_37); -lean_ctor_set(x_47, 3, x_38); -x_48 = lean_st_ref_set(x_3, x_47, x_12); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -if (lean_is_exclusive(x_48)) { - lean_ctor_release(x_48, 0); - lean_ctor_release(x_48, 1); +lean_ctor_set(x_44, 0, x_38); +lean_ctor_set(x_44, 1, x_39); +lean_ctor_set(x_44, 2, x_1); +lean_ctor_set(x_44, 3, x_40); +lean_ctor_set(x_44, 4, x_41); +lean_ctor_set(x_44, 5, x_42); +x_45 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_45, 0, x_35); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_36); +lean_ctor_set(x_45, 3, x_37); +x_46 = lean_st_ref_set(x_3, x_45, x_12); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_48 = x_46; +} else { + lean_dec_ref(x_46); + x_48 = lean_box(0); +} +x_49 = lean_box(0); +if (lean_is_scalar(x_48)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { x_50 = x_48; -} else { - lean_dec_ref(x_48); - x_50 = lean_box(0); } -x_51 = lean_box(0); -if (lean_is_scalar(x_50)) { - x_52 = lean_alloc_ctor(0, 2, 0); -} else { - x_52 = x_50; -} -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_49); -return x_52; +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_47); +return x_50; } } } @@ -24077,1364 +21531,392 @@ return x_2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_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; uint8_t x_30; -x_20 = lean_st_ref_get(x_5, x_6); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_st_ref_get(x_3, x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_st_ref_get(x_5, x_24); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_st_ref_take(x_3, x_26); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = !lean_is_exclusive(x_28); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_31 = lean_ctor_get(x_28, 0); -x_32 = lean_ctor_get(x_28, 3); -lean_dec(x_32); -x_33 = l_Lean_MetavarContext_incDepth(x_31); -x_34 = l_Lean_Meta_State_postponed___default___closed__3; -lean_ctor_set(x_28, 3, x_34); -lean_ctor_set(x_28, 0, x_33); -x_35 = lean_st_ref_set(x_3, x_28, x_29); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = lean_ctor_get(x_23, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_23, 3); -lean_inc(x_38); -lean_dec(x_23); -lean_inc(x_5); -lean_inc(x_3); -x_39 = lean_apply_5(x_1, x_2, x_3, x_4, x_5, x_36); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -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_70 = lean_st_ref_get(x_5, x_41); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_st_ref_take(x_3, x_71); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get_uint8(x_37, sizeof(void*)*8); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_75 = lean_ctor_get(x_73, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_72, 1); -lean_inc(x_76); -lean_dec(x_72); -x_77 = lean_ctor_get(x_37, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_37, 1); -lean_inc(x_78); -x_79 = lean_ctor_get(x_37, 2); -lean_inc(x_79); -x_80 = lean_ctor_get(x_37, 3); -lean_inc(x_80); -x_81 = lean_ctor_get(x_37, 4); -lean_inc(x_81); -x_82 = lean_ctor_get(x_37, 5); -lean_inc(x_82); -x_83 = lean_ctor_get(x_37, 6); -lean_inc(x_83); -x_84 = lean_ctor_get(x_37, 7); -lean_inc(x_84); -lean_dec(x_37); -x_85 = !lean_is_exclusive(x_73); -if (x_85 == 0) -{ -lean_object* x_86; uint8_t x_87; -x_86 = lean_ctor_get(x_73, 0); -lean_dec(x_86); -x_87 = !lean_is_exclusive(x_75); -if (x_87 == 0) -{ -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; -x_88 = lean_ctor_get(x_75, 7); -lean_dec(x_88); -x_89 = lean_ctor_get(x_75, 6); -lean_dec(x_89); -x_90 = lean_ctor_get(x_75, 5); -lean_dec(x_90); -x_91 = lean_ctor_get(x_75, 4); -lean_dec(x_91); -x_92 = lean_ctor_get(x_75, 3); -lean_dec(x_92); -x_93 = lean_ctor_get(x_75, 2); -lean_dec(x_93); -x_94 = lean_ctor_get(x_75, 1); -lean_dec(x_94); -x_95 = lean_ctor_get(x_75, 0); -lean_dec(x_95); -lean_ctor_set(x_75, 7, x_84); -lean_ctor_set(x_75, 6, x_83); -lean_ctor_set(x_75, 5, x_82); -lean_ctor_set(x_75, 4, x_81); -lean_ctor_set(x_75, 3, x_80); -lean_ctor_set(x_75, 2, x_79); -lean_ctor_set(x_75, 1, x_78); -lean_ctor_set(x_75, 0, x_77); -x_96 = lean_st_ref_set(x_3, x_73, x_76); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_42 = x_97; -goto block_69; -} -else -{ -uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_98 = lean_ctor_get_uint8(x_75, sizeof(void*)*8); -lean_dec(x_75); -x_99 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_99, 0, x_77); -lean_ctor_set(x_99, 1, x_78); -lean_ctor_set(x_99, 2, x_79); -lean_ctor_set(x_99, 3, x_80); -lean_ctor_set(x_99, 4, x_81); -lean_ctor_set(x_99, 5, x_82); -lean_ctor_set(x_99, 6, x_83); -lean_ctor_set(x_99, 7, x_84); -lean_ctor_set_uint8(x_99, sizeof(void*)*8, x_98); -lean_ctor_set(x_73, 0, x_99); -x_100 = lean_st_ref_set(x_3, x_73, x_76); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -lean_dec(x_100); -x_42 = x_101; -goto block_69; -} -} -else -{ -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; -x_102 = lean_ctor_get(x_73, 1); -x_103 = lean_ctor_get(x_73, 2); -x_104 = lean_ctor_get(x_73, 3); -lean_inc(x_104); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_73); -x_105 = lean_ctor_get_uint8(x_75, sizeof(void*)*8); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - lean_ctor_release(x_75, 2); - lean_ctor_release(x_75, 3); - lean_ctor_release(x_75, 4); - lean_ctor_release(x_75, 5); - lean_ctor_release(x_75, 6); - lean_ctor_release(x_75, 7); - x_106 = x_75; -} else { - lean_dec_ref(x_75); - x_106 = lean_box(0); -} -if (lean_is_scalar(x_106)) { - x_107 = lean_alloc_ctor(0, 8, 1); -} else { - x_107 = x_106; -} -lean_ctor_set(x_107, 0, x_77); -lean_ctor_set(x_107, 1, x_78); -lean_ctor_set(x_107, 2, x_79); -lean_ctor_set(x_107, 3, x_80); -lean_ctor_set(x_107, 4, x_81); -lean_ctor_set(x_107, 5, x_82); -lean_ctor_set(x_107, 6, x_83); -lean_ctor_set(x_107, 7, x_84); -lean_ctor_set_uint8(x_107, sizeof(void*)*8, x_105); -x_108 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_102); -lean_ctor_set(x_108, 2, x_103); -lean_ctor_set(x_108, 3, x_104); -x_109 = lean_st_ref_set(x_3, x_108, x_76); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -lean_dec(x_109); -x_42 = x_110; -goto block_69; -} -} -else -{ -lean_object* x_111; uint8_t x_112; -x_111 = lean_ctor_get(x_72, 1); -lean_inc(x_111); -lean_dec(x_72); -x_112 = !lean_is_exclusive(x_37); -if (x_112 == 0) -{ -uint8_t x_113; -x_113 = !lean_is_exclusive(x_73); -if (x_113 == 0) -{ -lean_object* x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117; -x_114 = lean_ctor_get(x_73, 0); -lean_dec(x_114); -x_115 = 1; -lean_ctor_set_uint8(x_37, sizeof(void*)*8, x_115); -lean_ctor_set(x_73, 0, x_37); -x_116 = lean_st_ref_set(x_3, x_73, x_111); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -lean_dec(x_116); -x_42 = x_117; -goto block_69; -} -else -{ -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; -x_118 = lean_ctor_get(x_73, 1); -x_119 = lean_ctor_get(x_73, 2); -x_120 = lean_ctor_get(x_73, 3); -lean_inc(x_120); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_73); -x_121 = 1; -lean_ctor_set_uint8(x_37, sizeof(void*)*8, x_121); -x_122 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_122, 0, x_37); -lean_ctor_set(x_122, 1, x_118); -lean_ctor_set(x_122, 2, x_119); -lean_ctor_set(x_122, 3, x_120); -x_123 = lean_st_ref_set(x_3, x_122, x_111); -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); -x_42 = x_124; -goto block_69; -} -} -else -{ -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; uint8_t x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_125 = lean_ctor_get(x_37, 0); -x_126 = lean_ctor_get(x_37, 1); -x_127 = lean_ctor_get(x_37, 2); -x_128 = lean_ctor_get(x_37, 3); -x_129 = lean_ctor_get(x_37, 4); -x_130 = lean_ctor_get(x_37, 5); -x_131 = lean_ctor_get(x_37, 6); -x_132 = lean_ctor_get(x_37, 7); -lean_inc(x_132); -lean_inc(x_131); -lean_inc(x_130); -lean_inc(x_129); -lean_inc(x_128); -lean_inc(x_127); -lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_37); -x_133 = lean_ctor_get(x_73, 1); -lean_inc(x_133); -x_134 = lean_ctor_get(x_73, 2); -lean_inc(x_134); -x_135 = lean_ctor_get(x_73, 3); -lean_inc(x_135); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - lean_ctor_release(x_73, 2); - lean_ctor_release(x_73, 3); - x_136 = x_73; -} else { - lean_dec_ref(x_73); - x_136 = lean_box(0); -} -x_137 = 1; -x_138 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_138, 0, x_125); -lean_ctor_set(x_138, 1, x_126); -lean_ctor_set(x_138, 2, x_127); -lean_ctor_set(x_138, 3, x_128); -lean_ctor_set(x_138, 4, x_129); -lean_ctor_set(x_138, 5, x_130); -lean_ctor_set(x_138, 6, x_131); -lean_ctor_set(x_138, 7, x_132); -lean_ctor_set_uint8(x_138, sizeof(void*)*8, x_137); -if (lean_is_scalar(x_136)) { - x_139 = lean_alloc_ctor(0, 4, 0); -} else { - x_139 = x_136; -} -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_133); -lean_ctor_set(x_139, 2, x_134); -lean_ctor_set(x_139, 3, x_135); -x_140 = lean_st_ref_set(x_3, x_139, x_111); -x_141 = lean_ctor_get(x_140, 1); -lean_inc(x_141); -lean_dec(x_140); -x_42 = x_141; -goto block_69; -} -} -block_69: -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_43 = lean_st_ref_get(x_5, x_42); -lean_dec(x_5); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); -x_45 = lean_st_ref_take(x_3, x_44); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = !lean_is_exclusive(x_46); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_49 = lean_ctor_get(x_46, 3); -lean_dec(x_49); -lean_ctor_set(x_46, 3, x_38); -x_50 = lean_st_ref_set(x_3, x_46, x_47); -lean_dec(x_3); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -x_53 = lean_box(0); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_40); -lean_ctor_set(x_54, 1, x_53); -lean_ctor_set(x_50, 0, x_54); -x_7 = x_50; -goto block_19; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_55 = lean_ctor_get(x_50, 1); -lean_inc(x_55); -lean_dec(x_50); -x_56 = lean_box(0); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_40); -lean_ctor_set(x_57, 1, x_56); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_55); -x_7 = x_58; -goto block_19; -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_59 = lean_ctor_get(x_46, 0); -x_60 = lean_ctor_get(x_46, 1); -x_61 = lean_ctor_get(x_46, 2); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_46); -x_62 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_62, 0, x_59); -lean_ctor_set(x_62, 1, x_60); -lean_ctor_set(x_62, 2, x_61); -lean_ctor_set(x_62, 3, x_38); -x_63 = lean_st_ref_set(x_3, x_62, x_47); -lean_dec(x_3); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_65 = x_63; -} else { - lean_dec_ref(x_63); - x_65 = lean_box(0); -} -x_66 = lean_box(0); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_40); -lean_ctor_set(x_67, 1, x_66); -if (lean_is_scalar(x_65)) { - x_68 = lean_alloc_ctor(0, 2, 0); -} else { - x_68 = x_65; -} -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_64); -x_7 = x_68; -goto block_19; -} -} -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; -x_142 = lean_ctor_get(x_39, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_39, 1); -lean_inc(x_143); -lean_dec(x_39); -x_166 = lean_st_ref_get(x_5, x_143); -x_167 = lean_ctor_get(x_166, 1); -lean_inc(x_167); -lean_dec(x_166); -x_168 = lean_st_ref_take(x_3, x_167); -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get_uint8(x_37, sizeof(void*)*8); -if (x_170 == 0) -{ -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; uint8_t x_181; -x_171 = lean_ctor_get(x_169, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_168, 1); -lean_inc(x_172); -lean_dec(x_168); -x_173 = lean_ctor_get(x_37, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_37, 1); -lean_inc(x_174); -x_175 = lean_ctor_get(x_37, 2); -lean_inc(x_175); -x_176 = lean_ctor_get(x_37, 3); -lean_inc(x_176); -x_177 = lean_ctor_get(x_37, 4); -lean_inc(x_177); -x_178 = lean_ctor_get(x_37, 5); -lean_inc(x_178); -x_179 = lean_ctor_get(x_37, 6); -lean_inc(x_179); -x_180 = lean_ctor_get(x_37, 7); -lean_inc(x_180); -lean_dec(x_37); -x_181 = !lean_is_exclusive(x_169); -if (x_181 == 0) -{ -lean_object* x_182; uint8_t x_183; -x_182 = lean_ctor_get(x_169, 0); -lean_dec(x_182); -x_183 = !lean_is_exclusive(x_171); -if (x_183 == 0) -{ -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; -x_184 = lean_ctor_get(x_171, 7); -lean_dec(x_184); -x_185 = lean_ctor_get(x_171, 6); -lean_dec(x_185); -x_186 = lean_ctor_get(x_171, 5); -lean_dec(x_186); -x_187 = lean_ctor_get(x_171, 4); -lean_dec(x_187); -x_188 = lean_ctor_get(x_171, 3); -lean_dec(x_188); -x_189 = lean_ctor_get(x_171, 2); -lean_dec(x_189); -x_190 = lean_ctor_get(x_171, 1); -lean_dec(x_190); -x_191 = lean_ctor_get(x_171, 0); -lean_dec(x_191); -lean_ctor_set(x_171, 7, x_180); -lean_ctor_set(x_171, 6, x_179); -lean_ctor_set(x_171, 5, x_178); -lean_ctor_set(x_171, 4, x_177); -lean_ctor_set(x_171, 3, x_176); -lean_ctor_set(x_171, 2, x_175); -lean_ctor_set(x_171, 1, x_174); -lean_ctor_set(x_171, 0, x_173); -x_192 = lean_st_ref_set(x_3, x_169, x_172); -x_193 = lean_ctor_get(x_192, 1); -lean_inc(x_193); -lean_dec(x_192); -x_144 = x_193; -goto block_165; -} -else -{ -uint8_t x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_194 = lean_ctor_get_uint8(x_171, sizeof(void*)*8); -lean_dec(x_171); -x_195 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_195, 0, x_173); -lean_ctor_set(x_195, 1, x_174); -lean_ctor_set(x_195, 2, x_175); -lean_ctor_set(x_195, 3, x_176); -lean_ctor_set(x_195, 4, x_177); -lean_ctor_set(x_195, 5, x_178); -lean_ctor_set(x_195, 6, x_179); -lean_ctor_set(x_195, 7, x_180); -lean_ctor_set_uint8(x_195, sizeof(void*)*8, x_194); -lean_ctor_set(x_169, 0, x_195); -x_196 = lean_st_ref_set(x_3, x_169, x_172); -x_197 = lean_ctor_get(x_196, 1); -lean_inc(x_197); -lean_dec(x_196); -x_144 = x_197; -goto block_165; -} -} -else -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_198 = lean_ctor_get(x_169, 1); -x_199 = lean_ctor_get(x_169, 2); -x_200 = lean_ctor_get(x_169, 3); -lean_inc(x_200); -lean_inc(x_199); -lean_inc(x_198); -lean_dec(x_169); -x_201 = lean_ctor_get_uint8(x_171, sizeof(void*)*8); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - lean_ctor_release(x_171, 1); - lean_ctor_release(x_171, 2); - lean_ctor_release(x_171, 3); - lean_ctor_release(x_171, 4); - lean_ctor_release(x_171, 5); - lean_ctor_release(x_171, 6); - lean_ctor_release(x_171, 7); - x_202 = x_171; -} else { - lean_dec_ref(x_171); - x_202 = lean_box(0); -} -if (lean_is_scalar(x_202)) { - x_203 = lean_alloc_ctor(0, 8, 1); -} else { - x_203 = x_202; -} -lean_ctor_set(x_203, 0, x_173); -lean_ctor_set(x_203, 1, x_174); -lean_ctor_set(x_203, 2, x_175); -lean_ctor_set(x_203, 3, x_176); -lean_ctor_set(x_203, 4, x_177); -lean_ctor_set(x_203, 5, x_178); -lean_ctor_set(x_203, 6, x_179); -lean_ctor_set(x_203, 7, x_180); -lean_ctor_set_uint8(x_203, sizeof(void*)*8, x_201); -x_204 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_198); -lean_ctor_set(x_204, 2, x_199); -lean_ctor_set(x_204, 3, x_200); -x_205 = lean_st_ref_set(x_3, x_204, x_172); -x_206 = lean_ctor_get(x_205, 1); -lean_inc(x_206); -lean_dec(x_205); -x_144 = x_206; -goto block_165; -} -} -else -{ -lean_object* x_207; uint8_t x_208; -x_207 = lean_ctor_get(x_168, 1); -lean_inc(x_207); -lean_dec(x_168); -x_208 = !lean_is_exclusive(x_37); -if (x_208 == 0) -{ -uint8_t x_209; -x_209 = !lean_is_exclusive(x_169); -if (x_209 == 0) -{ -lean_object* x_210; uint8_t x_211; lean_object* x_212; lean_object* x_213; -x_210 = lean_ctor_get(x_169, 0); -lean_dec(x_210); -x_211 = 1; -lean_ctor_set_uint8(x_37, sizeof(void*)*8, x_211); -lean_ctor_set(x_169, 0, x_37); -x_212 = lean_st_ref_set(x_3, x_169, x_207); -x_213 = lean_ctor_get(x_212, 1); -lean_inc(x_213); -lean_dec(x_212); -x_144 = x_213; -goto block_165; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_214 = lean_ctor_get(x_169, 1); -x_215 = lean_ctor_get(x_169, 2); -x_216 = lean_ctor_get(x_169, 3); -lean_inc(x_216); -lean_inc(x_215); -lean_inc(x_214); -lean_dec(x_169); -x_217 = 1; -lean_ctor_set_uint8(x_37, sizeof(void*)*8, x_217); -x_218 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_218, 0, x_37); -lean_ctor_set(x_218, 1, x_214); -lean_ctor_set(x_218, 2, x_215); -lean_ctor_set(x_218, 3, x_216); -x_219 = lean_st_ref_set(x_3, x_218, x_207); -x_220 = lean_ctor_get(x_219, 1); -lean_inc(x_220); -lean_dec(x_219); -x_144 = x_220; -goto block_165; -} -} -else -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; -x_221 = lean_ctor_get(x_37, 0); -x_222 = lean_ctor_get(x_37, 1); -x_223 = lean_ctor_get(x_37, 2); -x_224 = lean_ctor_get(x_37, 3); -x_225 = lean_ctor_get(x_37, 4); -x_226 = lean_ctor_get(x_37, 5); -x_227 = lean_ctor_get(x_37, 6); -x_228 = lean_ctor_get(x_37, 7); -lean_inc(x_228); -lean_inc(x_227); -lean_inc(x_226); -lean_inc(x_225); -lean_inc(x_224); -lean_inc(x_223); -lean_inc(x_222); -lean_inc(x_221); -lean_dec(x_37); -x_229 = lean_ctor_get(x_169, 1); -lean_inc(x_229); -x_230 = lean_ctor_get(x_169, 2); -lean_inc(x_230); -x_231 = lean_ctor_get(x_169, 3); -lean_inc(x_231); -if (lean_is_exclusive(x_169)) { - lean_ctor_release(x_169, 0); - lean_ctor_release(x_169, 1); - lean_ctor_release(x_169, 2); - lean_ctor_release(x_169, 3); - x_232 = x_169; -} else { - lean_dec_ref(x_169); - x_232 = lean_box(0); -} -x_233 = 1; -x_234 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_234, 0, x_221); -lean_ctor_set(x_234, 1, x_222); -lean_ctor_set(x_234, 2, x_223); -lean_ctor_set(x_234, 3, x_224); -lean_ctor_set(x_234, 4, x_225); -lean_ctor_set(x_234, 5, x_226); -lean_ctor_set(x_234, 6, x_227); -lean_ctor_set(x_234, 7, x_228); -lean_ctor_set_uint8(x_234, sizeof(void*)*8, x_233); -if (lean_is_scalar(x_232)) { - x_235 = lean_alloc_ctor(0, 4, 0); -} else { - x_235 = x_232; -} -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_229); -lean_ctor_set(x_235, 2, x_230); -lean_ctor_set(x_235, 3, x_231); -x_236 = lean_st_ref_set(x_3, x_235, x_207); -x_237 = lean_ctor_get(x_236, 1); -lean_inc(x_237); -lean_dec(x_236); -x_144 = x_237; -goto block_165; -} -} -block_165: -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; -x_145 = lean_st_ref_get(x_5, x_144); -lean_dec(x_5); -x_146 = lean_ctor_get(x_145, 1); -lean_inc(x_146); -lean_dec(x_145); -x_147 = lean_st_ref_take(x_3, x_146); -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); -lean_inc(x_149); -lean_dec(x_147); -x_150 = !lean_is_exclusive(x_148); -if (x_150 == 0) -{ -lean_object* x_151; lean_object* x_152; uint8_t x_153; -x_151 = lean_ctor_get(x_148, 3); -lean_dec(x_151); -lean_ctor_set(x_148, 3, x_38); -x_152 = lean_st_ref_set(x_3, x_148, x_149); -lean_dec(x_3); -x_153 = !lean_is_exclusive(x_152); -if (x_153 == 0) -{ -lean_object* x_154; -x_154 = lean_ctor_get(x_152, 0); -lean_dec(x_154); -lean_ctor_set_tag(x_152, 1); -lean_ctor_set(x_152, 0, x_142); -x_7 = x_152; -goto block_19; -} -else -{ -lean_object* x_155; lean_object* x_156; -x_155 = lean_ctor_get(x_152, 1); -lean_inc(x_155); -lean_dec(x_152); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_142); -lean_ctor_set(x_156, 1, x_155); -x_7 = x_156; -goto block_19; -} -} -else -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_157 = lean_ctor_get(x_148, 0); -x_158 = lean_ctor_get(x_148, 1); -x_159 = lean_ctor_get(x_148, 2); -lean_inc(x_159); -lean_inc(x_158); -lean_inc(x_157); -lean_dec(x_148); -x_160 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_160, 0, x_157); -lean_ctor_set(x_160, 1, x_158); -lean_ctor_set(x_160, 2, x_159); -lean_ctor_set(x_160, 3, x_38); -x_161 = lean_st_ref_set(x_3, x_160, x_149); -lean_dec(x_3); -x_162 = lean_ctor_get(x_161, 1); -lean_inc(x_162); -if (lean_is_exclusive(x_161)) { - lean_ctor_release(x_161, 0); - lean_ctor_release(x_161, 1); - x_163 = x_161; -} else { - lean_dec_ref(x_161); - x_163 = lean_box(0); -} -if (lean_is_scalar(x_163)) { - x_164 = lean_alloc_ctor(1, 2, 0); -} else { - x_164 = x_163; - lean_ctor_set_tag(x_164, 1); -} -lean_ctor_set(x_164, 0, x_142); -lean_ctor_set(x_164, 1, x_162); -x_7 = x_164; -goto block_19; -} -} -} -} -else -{ -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; -x_238 = lean_ctor_get(x_28, 0); -x_239 = lean_ctor_get(x_28, 1); -x_240 = lean_ctor_get(x_28, 2); -lean_inc(x_240); -lean_inc(x_239); -lean_inc(x_238); -lean_dec(x_28); -x_241 = l_Lean_MetavarContext_incDepth(x_238); -x_242 = l_Lean_Meta_State_postponed___default___closed__3; -x_243 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_243, 0, x_241); -lean_ctor_set(x_243, 1, x_239); -lean_ctor_set(x_243, 2, x_240); -lean_ctor_set(x_243, 3, x_242); -x_244 = lean_st_ref_set(x_3, x_243, x_29); -x_245 = lean_ctor_get(x_244, 1); -lean_inc(x_245); -lean_dec(x_244); -x_246 = lean_ctor_get(x_23, 0); -lean_inc(x_246); -x_247 = lean_ctor_get(x_23, 3); -lean_inc(x_247); -lean_dec(x_23); -lean_inc(x_5); -lean_inc(x_3); -x_248 = lean_apply_5(x_1, x_2, x_3, x_4, x_5, x_245); -if (lean_obj_tag(x_248) == 0) -{ -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; -x_249 = lean_ctor_get(x_248, 0); -lean_inc(x_249); -x_250 = lean_ctor_get(x_248, 1); -lean_inc(x_250); -lean_dec(x_248); -x_269 = lean_st_ref_get(x_5, x_250); -x_270 = lean_ctor_get(x_269, 1); -lean_inc(x_270); -lean_dec(x_269); -x_271 = lean_st_ref_take(x_3, x_270); -x_272 = lean_ctor_get(x_271, 0); -lean_inc(x_272); -x_273 = lean_ctor_get_uint8(x_246, sizeof(void*)*8); -if (x_273 == 0) -{ -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_object* x_285; lean_object* x_286; lean_object* x_287; uint8_t x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; -x_274 = lean_ctor_get(x_272, 0); -lean_inc(x_274); -x_275 = lean_ctor_get(x_271, 1); -lean_inc(x_275); -lean_dec(x_271); -x_276 = lean_ctor_get(x_246, 0); -lean_inc(x_276); -x_277 = lean_ctor_get(x_246, 1); -lean_inc(x_277); -x_278 = lean_ctor_get(x_246, 2); -lean_inc(x_278); -x_279 = lean_ctor_get(x_246, 3); -lean_inc(x_279); -x_280 = lean_ctor_get(x_246, 4); -lean_inc(x_280); -x_281 = lean_ctor_get(x_246, 5); -lean_inc(x_281); -x_282 = lean_ctor_get(x_246, 6); -lean_inc(x_282); -x_283 = lean_ctor_get(x_246, 7); -lean_inc(x_283); -lean_dec(x_246); -x_284 = lean_ctor_get(x_272, 1); -lean_inc(x_284); -x_285 = lean_ctor_get(x_272, 2); -lean_inc(x_285); -x_286 = lean_ctor_get(x_272, 3); -lean_inc(x_286); -if (lean_is_exclusive(x_272)) { - lean_ctor_release(x_272, 0); - lean_ctor_release(x_272, 1); - lean_ctor_release(x_272, 2); - lean_ctor_release(x_272, 3); - x_287 = x_272; -} else { - lean_dec_ref(x_272); - x_287 = lean_box(0); -} -x_288 = lean_ctor_get_uint8(x_274, sizeof(void*)*8); -if (lean_is_exclusive(x_274)) { - lean_ctor_release(x_274, 0); - lean_ctor_release(x_274, 1); - lean_ctor_release(x_274, 2); - lean_ctor_release(x_274, 3); - lean_ctor_release(x_274, 4); - lean_ctor_release(x_274, 5); - lean_ctor_release(x_274, 6); - lean_ctor_release(x_274, 7); - x_289 = x_274; -} else { - lean_dec_ref(x_274); - x_289 = lean_box(0); -} -if (lean_is_scalar(x_289)) { - x_290 = lean_alloc_ctor(0, 8, 1); -} else { - x_290 = x_289; -} -lean_ctor_set(x_290, 0, x_276); -lean_ctor_set(x_290, 1, x_277); -lean_ctor_set(x_290, 2, x_278); -lean_ctor_set(x_290, 3, x_279); -lean_ctor_set(x_290, 4, x_280); -lean_ctor_set(x_290, 5, x_281); -lean_ctor_set(x_290, 6, x_282); -lean_ctor_set(x_290, 7, x_283); -lean_ctor_set_uint8(x_290, sizeof(void*)*8, x_288); -if (lean_is_scalar(x_287)) { - x_291 = lean_alloc_ctor(0, 4, 0); -} else { - x_291 = x_287; -} -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_284); -lean_ctor_set(x_291, 2, x_285); -lean_ctor_set(x_291, 3, x_286); -x_292 = lean_st_ref_set(x_3, x_291, x_275); -x_293 = lean_ctor_get(x_292, 1); -lean_inc(x_293); -lean_dec(x_292); -x_251 = x_293; -goto block_268; -} -else -{ -lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_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; uint8_t x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; -x_294 = lean_ctor_get(x_271, 1); -lean_inc(x_294); -lean_dec(x_271); -x_295 = lean_ctor_get(x_246, 0); -lean_inc(x_295); -x_296 = lean_ctor_get(x_246, 1); -lean_inc(x_296); -x_297 = lean_ctor_get(x_246, 2); -lean_inc(x_297); -x_298 = lean_ctor_get(x_246, 3); -lean_inc(x_298); -x_299 = lean_ctor_get(x_246, 4); -lean_inc(x_299); -x_300 = lean_ctor_get(x_246, 5); -lean_inc(x_300); -x_301 = lean_ctor_get(x_246, 6); -lean_inc(x_301); -x_302 = lean_ctor_get(x_246, 7); -lean_inc(x_302); -if (lean_is_exclusive(x_246)) { - lean_ctor_release(x_246, 0); - lean_ctor_release(x_246, 1); - lean_ctor_release(x_246, 2); - lean_ctor_release(x_246, 3); - lean_ctor_release(x_246, 4); - lean_ctor_release(x_246, 5); - lean_ctor_release(x_246, 6); - lean_ctor_release(x_246, 7); - x_303 = x_246; -} else { - lean_dec_ref(x_246); - x_303 = lean_box(0); -} -x_304 = lean_ctor_get(x_272, 1); -lean_inc(x_304); -x_305 = lean_ctor_get(x_272, 2); -lean_inc(x_305); -x_306 = lean_ctor_get(x_272, 3); -lean_inc(x_306); -if (lean_is_exclusive(x_272)) { - lean_ctor_release(x_272, 0); - lean_ctor_release(x_272, 1); - lean_ctor_release(x_272, 2); - lean_ctor_release(x_272, 3); - x_307 = x_272; -} else { - lean_dec_ref(x_272); - x_307 = lean_box(0); -} -x_308 = 1; -if (lean_is_scalar(x_303)) { - x_309 = lean_alloc_ctor(0, 8, 1); -} else { - x_309 = x_303; -} -lean_ctor_set(x_309, 0, x_295); -lean_ctor_set(x_309, 1, x_296); -lean_ctor_set(x_309, 2, x_297); -lean_ctor_set(x_309, 3, x_298); -lean_ctor_set(x_309, 4, x_299); -lean_ctor_set(x_309, 5, x_300); -lean_ctor_set(x_309, 6, x_301); -lean_ctor_set(x_309, 7, x_302); -lean_ctor_set_uint8(x_309, sizeof(void*)*8, x_308); -if (lean_is_scalar(x_307)) { - x_310 = lean_alloc_ctor(0, 4, 0); -} else { - x_310 = x_307; -} -lean_ctor_set(x_310, 0, x_309); -lean_ctor_set(x_310, 1, x_304); -lean_ctor_set(x_310, 2, x_305); -lean_ctor_set(x_310, 3, x_306); -x_311 = lean_st_ref_set(x_3, x_310, x_294); -x_312 = lean_ctor_get(x_311, 1); -lean_inc(x_312); -lean_dec(x_311); -x_251 = x_312; -goto block_268; -} -block_268: -{ -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; -x_252 = lean_st_ref_get(x_5, x_251); -lean_dec(x_5); -x_253 = lean_ctor_get(x_252, 1); -lean_inc(x_253); -lean_dec(x_252); -x_254 = lean_st_ref_take(x_3, x_253); -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -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, 2); -lean_inc(x_259); -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); - x_260 = x_255; -} else { - lean_dec_ref(x_255); - x_260 = lean_box(0); -} -if (lean_is_scalar(x_260)) { - x_261 = lean_alloc_ctor(0, 4, 0); -} else { - x_261 = x_260; -} -lean_ctor_set(x_261, 0, x_257); -lean_ctor_set(x_261, 1, x_258); -lean_ctor_set(x_261, 2, x_259); -lean_ctor_set(x_261, 3, x_247); -x_262 = lean_st_ref_set(x_3, x_261, x_256); -lean_dec(x_3); -x_263 = lean_ctor_get(x_262, 1); -lean_inc(x_263); -if (lean_is_exclusive(x_262)) { - lean_ctor_release(x_262, 0); - lean_ctor_release(x_262, 1); - x_264 = x_262; -} else { - lean_dec_ref(x_262); - x_264 = lean_box(0); -} -x_265 = lean_box(0); -x_266 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_266, 0, x_249); -lean_ctor_set(x_266, 1, x_265); -if (lean_is_scalar(x_264)) { - x_267 = lean_alloc_ctor(0, 2, 0); -} else { - x_267 = x_264; -} -lean_ctor_set(x_267, 0, x_266); -lean_ctor_set(x_267, 1, x_263); -x_7 = x_267; -goto block_19; -} -} -else -{ -lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; -x_313 = lean_ctor_get(x_248, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_248, 1); -lean_inc(x_314); -lean_dec(x_248); -x_331 = lean_st_ref_get(x_5, x_314); -x_332 = lean_ctor_get(x_331, 1); -lean_inc(x_332); -lean_dec(x_331); -x_333 = lean_st_ref_take(x_3, x_332); -x_334 = lean_ctor_get(x_333, 0); -lean_inc(x_334); -x_335 = lean_ctor_get_uint8(x_246, sizeof(void*)*8); -if (x_335 == 0) -{ -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; 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; uint8_t x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; -x_336 = lean_ctor_get(x_334, 0); -lean_inc(x_336); -x_337 = lean_ctor_get(x_333, 1); -lean_inc(x_337); -lean_dec(x_333); -x_338 = lean_ctor_get(x_246, 0); -lean_inc(x_338); -x_339 = lean_ctor_get(x_246, 1); -lean_inc(x_339); -x_340 = lean_ctor_get(x_246, 2); -lean_inc(x_340); -x_341 = lean_ctor_get(x_246, 3); -lean_inc(x_341); -x_342 = lean_ctor_get(x_246, 4); -lean_inc(x_342); -x_343 = lean_ctor_get(x_246, 5); -lean_inc(x_343); -x_344 = lean_ctor_get(x_246, 6); -lean_inc(x_344); -x_345 = lean_ctor_get(x_246, 7); -lean_inc(x_345); -lean_dec(x_246); -x_346 = lean_ctor_get(x_334, 1); -lean_inc(x_346); -x_347 = lean_ctor_get(x_334, 2); -lean_inc(x_347); -x_348 = lean_ctor_get(x_334, 3); -lean_inc(x_348); -if (lean_is_exclusive(x_334)) { - lean_ctor_release(x_334, 0); - lean_ctor_release(x_334, 1); - lean_ctor_release(x_334, 2); - lean_ctor_release(x_334, 3); - x_349 = x_334; -} else { - lean_dec_ref(x_334); - x_349 = lean_box(0); -} -x_350 = lean_ctor_get_uint8(x_336, sizeof(void*)*8); -if (lean_is_exclusive(x_336)) { - lean_ctor_release(x_336, 0); - lean_ctor_release(x_336, 1); - lean_ctor_release(x_336, 2); - lean_ctor_release(x_336, 3); - lean_ctor_release(x_336, 4); - lean_ctor_release(x_336, 5); - lean_ctor_release(x_336, 6); - lean_ctor_release(x_336, 7); - x_351 = x_336; -} else { - lean_dec_ref(x_336); - x_351 = lean_box(0); -} -if (lean_is_scalar(x_351)) { - x_352 = lean_alloc_ctor(0, 8, 1); -} else { - x_352 = x_351; -} -lean_ctor_set(x_352, 0, x_338); -lean_ctor_set(x_352, 1, x_339); -lean_ctor_set(x_352, 2, x_340); -lean_ctor_set(x_352, 3, x_341); -lean_ctor_set(x_352, 4, x_342); -lean_ctor_set(x_352, 5, x_343); -lean_ctor_set(x_352, 6, x_344); -lean_ctor_set(x_352, 7, x_345); -lean_ctor_set_uint8(x_352, sizeof(void*)*8, x_350); -if (lean_is_scalar(x_349)) { - x_353 = lean_alloc_ctor(0, 4, 0); -} else { - x_353 = x_349; -} -lean_ctor_set(x_353, 0, x_352); -lean_ctor_set(x_353, 1, x_346); -lean_ctor_set(x_353, 2, x_347); -lean_ctor_set(x_353, 3, x_348); -x_354 = lean_st_ref_set(x_3, x_353, x_337); -x_355 = lean_ctor_get(x_354, 1); -lean_inc(x_355); -lean_dec(x_354); -x_315 = x_355; -goto block_330; -} -else -{ -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; uint8_t x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; -x_356 = lean_ctor_get(x_333, 1); -lean_inc(x_356); -lean_dec(x_333); -x_357 = lean_ctor_get(x_246, 0); -lean_inc(x_357); -x_358 = lean_ctor_get(x_246, 1); -lean_inc(x_358); -x_359 = lean_ctor_get(x_246, 2); -lean_inc(x_359); -x_360 = lean_ctor_get(x_246, 3); -lean_inc(x_360); -x_361 = lean_ctor_get(x_246, 4); -lean_inc(x_361); -x_362 = lean_ctor_get(x_246, 5); -lean_inc(x_362); -x_363 = lean_ctor_get(x_246, 6); -lean_inc(x_363); -x_364 = lean_ctor_get(x_246, 7); -lean_inc(x_364); -if (lean_is_exclusive(x_246)) { - lean_ctor_release(x_246, 0); - lean_ctor_release(x_246, 1); - lean_ctor_release(x_246, 2); - lean_ctor_release(x_246, 3); - lean_ctor_release(x_246, 4); - lean_ctor_release(x_246, 5); - lean_ctor_release(x_246, 6); - lean_ctor_release(x_246, 7); - x_365 = x_246; -} else { - lean_dec_ref(x_246); - x_365 = lean_box(0); -} -x_366 = lean_ctor_get(x_334, 1); -lean_inc(x_366); -x_367 = lean_ctor_get(x_334, 2); -lean_inc(x_367); -x_368 = lean_ctor_get(x_334, 3); -lean_inc(x_368); -if (lean_is_exclusive(x_334)) { - lean_ctor_release(x_334, 0); - lean_ctor_release(x_334, 1); - lean_ctor_release(x_334, 2); - lean_ctor_release(x_334, 3); - x_369 = x_334; -} else { - lean_dec_ref(x_334); - x_369 = lean_box(0); -} -x_370 = 1; -if (lean_is_scalar(x_365)) { - x_371 = lean_alloc_ctor(0, 8, 1); -} else { - x_371 = x_365; -} -lean_ctor_set(x_371, 0, x_357); -lean_ctor_set(x_371, 1, x_358); -lean_ctor_set(x_371, 2, x_359); -lean_ctor_set(x_371, 3, x_360); -lean_ctor_set(x_371, 4, x_361); -lean_ctor_set(x_371, 5, x_362); -lean_ctor_set(x_371, 6, x_363); -lean_ctor_set(x_371, 7, x_364); -lean_ctor_set_uint8(x_371, sizeof(void*)*8, x_370); -if (lean_is_scalar(x_369)) { - x_372 = lean_alloc_ctor(0, 4, 0); -} else { - x_372 = x_369; -} -lean_ctor_set(x_372, 0, x_371); -lean_ctor_set(x_372, 1, x_366); -lean_ctor_set(x_372, 2, x_367); -lean_ctor_set(x_372, 3, x_368); -x_373 = lean_st_ref_set(x_3, x_372, x_356); -x_374 = lean_ctor_get(x_373, 1); -lean_inc(x_374); -lean_dec(x_373); -x_315 = x_374; -goto block_330; -} -block_330: -{ -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; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; -x_316 = lean_st_ref_get(x_5, x_315); -lean_dec(x_5); -x_317 = lean_ctor_get(x_316, 1); -lean_inc(x_317); -lean_dec(x_316); -x_318 = lean_st_ref_take(x_3, x_317); -x_319 = lean_ctor_get(x_318, 0); -lean_inc(x_319); -x_320 = lean_ctor_get(x_318, 1); -lean_inc(x_320); -lean_dec(x_318); -x_321 = lean_ctor_get(x_319, 0); -lean_inc(x_321); -x_322 = lean_ctor_get(x_319, 1); -lean_inc(x_322); -x_323 = lean_ctor_get(x_319, 2); -lean_inc(x_323); -if (lean_is_exclusive(x_319)) { - lean_ctor_release(x_319, 0); - lean_ctor_release(x_319, 1); - lean_ctor_release(x_319, 2); - lean_ctor_release(x_319, 3); - x_324 = x_319; -} else { - lean_dec_ref(x_319); - x_324 = lean_box(0); -} -if (lean_is_scalar(x_324)) { - x_325 = lean_alloc_ctor(0, 4, 0); -} else { - x_325 = x_324; -} -lean_ctor_set(x_325, 0, x_321); -lean_ctor_set(x_325, 1, x_322); -lean_ctor_set(x_325, 2, x_323); -lean_ctor_set(x_325, 3, x_247); -x_326 = lean_st_ref_set(x_3, x_325, x_320); -lean_dec(x_3); -x_327 = lean_ctor_get(x_326, 1); -lean_inc(x_327); -if (lean_is_exclusive(x_326)) { - lean_ctor_release(x_326, 0); - lean_ctor_release(x_326, 1); - x_328 = x_326; -} else { - lean_dec_ref(x_326); - x_328 = lean_box(0); -} -if (lean_is_scalar(x_328)) { - x_329 = lean_alloc_ctor(1, 2, 0); -} else { - x_329 = x_328; - lean_ctor_set_tag(x_329, 1); -} -lean_ctor_set(x_329, 0, x_313); -lean_ctor_set(x_329, 1, x_327); -x_7 = x_329; -goto block_19; -} -} -} -block_19: -{ -if (lean_obj_tag(x_7) == 0) -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_7, 0); +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; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_st_ref_get(x_3, x_8); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); -lean_dec(x_9); -lean_ctor_set(x_7, 0, x_10); -return x_7; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_7, 0); -x_12 = lean_ctor_get(x_7, 1); -lean_inc(x_12); +x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); -lean_dec(x_7); -x_13 = lean_ctor_get(x_11, 0); +lean_dec(x_9); +x_12 = lean_st_ref_get(x_5, x_11); +x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_7); -if (x_15 == 0) -{ -return x_7; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_7, 0); -x_17 = lean_ctor_get(x_7, 1); -lean_inc(x_17); +lean_dec(x_12); +x_14 = lean_st_ref_take(x_3, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -lean_dec(x_7); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; +lean_dec(x_14); +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +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_15, 0); +x_19 = lean_ctor_get(x_15, 3); +lean_dec(x_19); +x_20 = l_Lean_MetavarContext_incDepth(x_18); +x_21 = l_Lean_Meta_State_postponed___default___closed__3; +lean_ctor_set(x_15, 3, x_21); +lean_ctor_set(x_15, 0, x_20); +x_22 = lean_st_ref_set(x_3, x_15, x_16); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +lean_inc(x_5); +lean_inc(x_3); +x_24 = lean_apply_5(x_1, x_2, x_3, x_4, x_5, x_23); +if (lean_obj_tag(x_24) == 0) +{ +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; uint8_t x_34; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_st_ref_get(x_5, x_26); +lean_dec(x_5); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_st_ref_take(x_3, x_28); +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_ctor_get(x_10, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_10, 3); +lean_inc(x_33); +lean_dec(x_10); +x_34 = !lean_is_exclusive(x_30); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_30, 3); +lean_dec(x_35); +x_36 = lean_ctor_get(x_30, 0); +lean_dec(x_36); +lean_ctor_set(x_30, 3, x_33); +lean_ctor_set(x_30, 0, x_32); +x_37 = lean_st_ref_set(x_3, x_30, x_31); +lean_dec(x_3); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +lean_object* x_39; +x_39 = lean_ctor_get(x_37, 0); +lean_dec(x_39); +lean_ctor_set(x_37, 0, x_25); +return x_37; } +else +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_25); +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_object* x_46; lean_object* x_47; lean_object* x_48; +x_42 = lean_ctor_get(x_30, 1); +x_43 = lean_ctor_get(x_30, 2); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_30); +x_44 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_44, 0, x_32); +lean_ctor_set(x_44, 1, x_42); +lean_ctor_set(x_44, 2, x_43); +lean_ctor_set(x_44, 3, x_33); +x_45 = lean_st_ref_set(x_3, x_44, x_31); +lean_dec(x_3); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_47 = x_45; +} else { + lean_dec_ref(x_45); + x_47 = lean_box(0); +} +if (lean_is_scalar(x_47)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_47; +} +lean_ctor_set(x_48, 0, x_25); +lean_ctor_set(x_48, 1, x_46); +return x_48; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_49 = lean_ctor_get(x_24, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_24, 1); +lean_inc(x_50); +lean_dec(x_24); +x_51 = lean_st_ref_get(x_5, x_50); +lean_dec(x_5); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_st_ref_take(x_3, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_ctor_get(x_10, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_10, 3); +lean_inc(x_57); +lean_dec(x_10); +x_58 = !lean_is_exclusive(x_54); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_59 = lean_ctor_get(x_54, 3); +lean_dec(x_59); +x_60 = lean_ctor_get(x_54, 0); +lean_dec(x_60); +lean_ctor_set(x_54, 3, x_57); +lean_ctor_set(x_54, 0, x_56); +x_61 = lean_st_ref_set(x_3, x_54, x_55); +lean_dec(x_3); +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) +{ +lean_object* x_63; +x_63 = lean_ctor_get(x_61, 0); +lean_dec(x_63); +lean_ctor_set_tag(x_61, 1); +lean_ctor_set(x_61, 0, x_49); +return x_61; +} +else +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_61, 1); +lean_inc(x_64); +lean_dec(x_61); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_49); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_66 = lean_ctor_get(x_54, 1); +x_67 = lean_ctor_get(x_54, 2); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_54); +x_68 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_68, 0, x_56); +lean_ctor_set(x_68, 1, x_66); +lean_ctor_set(x_68, 2, x_67); +lean_ctor_set(x_68, 3, x_57); +x_69 = lean_st_ref_set(x_3, x_68, x_55); +lean_dec(x_3); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_71 = x_69; +} else { + lean_dec_ref(x_69); + x_71 = lean_box(0); +} +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(1, 2, 0); +} else { + x_72 = x_71; + lean_ctor_set_tag(x_72, 1); +} +lean_ctor_set(x_72, 0, x_49); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +} +} +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; +x_73 = lean_ctor_get(x_15, 0); +x_74 = lean_ctor_get(x_15, 1); +x_75 = lean_ctor_get(x_15, 2); +lean_inc(x_75); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_15); +x_76 = l_Lean_MetavarContext_incDepth(x_73); +x_77 = l_Lean_Meta_State_postponed___default___closed__3; +x_78 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_74); +lean_ctor_set(x_78, 2, x_75); +lean_ctor_set(x_78, 3, x_77); +x_79 = lean_st_ref_set(x_3, x_78, x_16); +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +lean_dec(x_79); +lean_inc(x_5); +lean_inc(x_3); +x_81 = lean_apply_5(x_1, x_2, x_3, x_4, x_5, x_80); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; 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; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_84 = lean_st_ref_get(x_5, x_83); +lean_dec(x_5); +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +lean_dec(x_84); +x_86 = lean_st_ref_take(x_3, x_85); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_ctor_get(x_10, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_10, 3); +lean_inc(x_90); +lean_dec(x_10); +x_91 = lean_ctor_get(x_87, 1); +lean_inc(x_91); +x_92 = lean_ctor_get(x_87, 2); +lean_inc(x_92); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + lean_ctor_release(x_87, 2); + lean_ctor_release(x_87, 3); + x_93 = x_87; +} else { + lean_dec_ref(x_87); + x_93 = lean_box(0); +} +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(0, 4, 0); +} else { + x_94 = x_93; +} +lean_ctor_set(x_94, 0, x_89); +lean_ctor_set(x_94, 1, x_91); +lean_ctor_set(x_94, 2, x_92); +lean_ctor_set(x_94, 3, x_90); +x_95 = lean_st_ref_set(x_3, x_94, x_88); +lean_dec(x_3); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_97 = x_95; +} else { + lean_dec_ref(x_95); + x_97 = lean_box(0); +} +if (lean_is_scalar(x_97)) { + x_98 = lean_alloc_ctor(0, 2, 0); +} else { + x_98 = x_97; +} +lean_ctor_set(x_98, 0, x_82); +lean_ctor_set(x_98, 1, x_96); +return x_98; +} +else +{ +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; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_99 = lean_ctor_get(x_81, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_81, 1); +lean_inc(x_100); +lean_dec(x_81); +x_101 = lean_st_ref_get(x_5, x_100); +lean_dec(x_5); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +lean_dec(x_101); +x_103 = lean_st_ref_take(x_3, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_ctor_get(x_10, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_10, 3); +lean_inc(x_107); +lean_dec(x_10); +x_108 = lean_ctor_get(x_104, 1); +lean_inc(x_108); +x_109 = lean_ctor_get(x_104, 2); +lean_inc(x_109); +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); + x_110 = x_104; +} else { + lean_dec_ref(x_104); + x_110 = lean_box(0); +} +if (lean_is_scalar(x_110)) { + x_111 = lean_alloc_ctor(0, 4, 0); +} else { + x_111 = x_110; +} +lean_ctor_set(x_111, 0, x_106); +lean_ctor_set(x_111, 1, x_108); +lean_ctor_set(x_111, 2, x_109); +lean_ctor_set(x_111, 3, x_107); +x_112 = lean_st_ref_set(x_3, x_111, x_105); +lean_dec(x_3); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_114 = x_112; +} else { + lean_dec_ref(x_112); + x_114 = lean_box(0); +} +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(1, 2, 0); +} else { + x_115 = x_114; + lean_ctor_set_tag(x_115, 1); +} +lean_ctor_set(x_115, 0, x_99); +lean_ctor_set(x_115, 1, x_113); +return x_115; } } } @@ -26117,1126 +22599,371 @@ return x_2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMCtxImp___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_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_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; -x_21 = lean_st_ref_get(x_6, 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; uint8_t x_19; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_st_ref_get(x_4, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_st_ref_get(x_6, x_12); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_st_ref_take(x_4, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = !lean_is_exclusive(x_17); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_17, 0); +lean_dec(x_20); +lean_ctor_set(x_17, 0, x_1); +x_21 = lean_st_ref_set(x_4, x_17, x_18); x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); -x_23 = lean_st_ref_get(x_4, x_22); +lean_inc(x_6); +lean_inc(x_4); +x_23 = lean_apply_5(x_2, x_3, x_4, x_5, x_6, x_22); +if (lean_obj_tag(x_23) == 0) +{ +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; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -x_26 = lean_ctor_get(x_24, 0); -lean_inc(x_26); -lean_dec(x_24); -x_222 = lean_st_ref_get(x_6, x_25); -x_223 = lean_ctor_get(x_222, 1); -lean_inc(x_223); -lean_dec(x_222); -x_224 = lean_st_ref_take(x_4, x_223); -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); -if (x_226 == 0) -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; -x_227 = lean_ctor_get(x_225, 0); -lean_inc(x_227); -x_228 = lean_ctor_get(x_224, 1); -lean_inc(x_228); -lean_dec(x_224); -x_229 = lean_ctor_get(x_1, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_1, 1); -lean_inc(x_230); -x_231 = lean_ctor_get(x_1, 2); -lean_inc(x_231); -x_232 = lean_ctor_get(x_1, 3); -lean_inc(x_232); -x_233 = lean_ctor_get(x_1, 4); -lean_inc(x_233); -x_234 = lean_ctor_get(x_1, 5); -lean_inc(x_234); -x_235 = lean_ctor_get(x_1, 6); -lean_inc(x_235); -x_236 = lean_ctor_get(x_1, 7); -lean_inc(x_236); -lean_dec(x_1); -x_237 = !lean_is_exclusive(x_225); -if (x_237 == 0) -{ -lean_object* x_238; uint8_t x_239; -x_238 = lean_ctor_get(x_225, 0); -lean_dec(x_238); -x_239 = !lean_is_exclusive(x_227); -if (x_239 == 0) -{ -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; -x_240 = lean_ctor_get(x_227, 7); -lean_dec(x_240); -x_241 = lean_ctor_get(x_227, 6); -lean_dec(x_241); -x_242 = lean_ctor_get(x_227, 5); -lean_dec(x_242); -x_243 = lean_ctor_get(x_227, 4); -lean_dec(x_243); -x_244 = lean_ctor_get(x_227, 3); -lean_dec(x_244); -x_245 = lean_ctor_get(x_227, 2); -lean_dec(x_245); -x_246 = lean_ctor_get(x_227, 1); -lean_dec(x_246); -x_247 = lean_ctor_get(x_227, 0); -lean_dec(x_247); -lean_ctor_set(x_227, 7, x_236); -lean_ctor_set(x_227, 6, x_235); -lean_ctor_set(x_227, 5, x_234); -lean_ctor_set(x_227, 4, x_233); -lean_ctor_set(x_227, 3, x_232); -lean_ctor_set(x_227, 2, x_231); -lean_ctor_set(x_227, 1, x_230); -lean_ctor_set(x_227, 0, x_229); -x_248 = lean_st_ref_set(x_4, x_225, x_228); -x_249 = lean_ctor_get(x_248, 1); -lean_inc(x_249); -lean_dec(x_248); -x_27 = x_249; -goto block_221; -} -else -{ -uint8_t x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_250 = lean_ctor_get_uint8(x_227, sizeof(void*)*8); -lean_dec(x_227); -x_251 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_251, 0, x_229); -lean_ctor_set(x_251, 1, x_230); -lean_ctor_set(x_251, 2, x_231); -lean_ctor_set(x_251, 3, x_232); -lean_ctor_set(x_251, 4, x_233); -lean_ctor_set(x_251, 5, x_234); -lean_ctor_set(x_251, 6, x_235); -lean_ctor_set(x_251, 7, x_236); -lean_ctor_set_uint8(x_251, sizeof(void*)*8, x_250); -lean_ctor_set(x_225, 0, x_251); -x_252 = lean_st_ref_set(x_4, x_225, x_228); -x_253 = lean_ctor_get(x_252, 1); -lean_inc(x_253); -lean_dec(x_252); -x_27 = x_253; -goto block_221; -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; -x_254 = lean_ctor_get(x_225, 1); -x_255 = lean_ctor_get(x_225, 2); -x_256 = lean_ctor_get(x_225, 3); -lean_inc(x_256); -lean_inc(x_255); -lean_inc(x_254); -lean_dec(x_225); -x_257 = lean_ctor_get_uint8(x_227, sizeof(void*)*8); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - lean_ctor_release(x_227, 2); - lean_ctor_release(x_227, 3); - lean_ctor_release(x_227, 4); - lean_ctor_release(x_227, 5); - lean_ctor_release(x_227, 6); - lean_ctor_release(x_227, 7); - x_258 = x_227; -} else { - lean_dec_ref(x_227); - x_258 = lean_box(0); -} -if (lean_is_scalar(x_258)) { - x_259 = lean_alloc_ctor(0, 8, 1); -} else { - x_259 = x_258; -} -lean_ctor_set(x_259, 0, x_229); -lean_ctor_set(x_259, 1, x_230); -lean_ctor_set(x_259, 2, x_231); -lean_ctor_set(x_259, 3, x_232); -lean_ctor_set(x_259, 4, x_233); -lean_ctor_set(x_259, 5, x_234); -lean_ctor_set(x_259, 6, x_235); -lean_ctor_set(x_259, 7, x_236); -lean_ctor_set_uint8(x_259, sizeof(void*)*8, x_257); -x_260 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_260, 0, x_259); -lean_ctor_set(x_260, 1, x_254); -lean_ctor_set(x_260, 2, x_255); -lean_ctor_set(x_260, 3, x_256); -x_261 = lean_st_ref_set(x_4, x_260, x_228); -x_262 = lean_ctor_get(x_261, 1); -lean_inc(x_262); -lean_dec(x_261); -x_27 = x_262; -goto block_221; -} -} -else -{ -lean_object* x_263; uint8_t x_264; -x_263 = lean_ctor_get(x_224, 1); -lean_inc(x_263); -lean_dec(x_224); -x_264 = !lean_is_exclusive(x_1); -if (x_264 == 0) -{ -uint8_t x_265; -x_265 = !lean_is_exclusive(x_225); -if (x_265 == 0) -{ -lean_object* x_266; uint8_t x_267; lean_object* x_268; lean_object* x_269; -x_266 = lean_ctor_get(x_225, 0); -lean_dec(x_266); -x_267 = 1; -lean_ctor_set_uint8(x_1, sizeof(void*)*8, x_267); -lean_ctor_set(x_225, 0, x_1); -x_268 = lean_st_ref_set(x_4, x_225, x_263); -x_269 = lean_ctor_get(x_268, 1); -lean_inc(x_269); -lean_dec(x_268); -x_27 = x_269; -goto block_221; -} -else -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; -x_270 = lean_ctor_get(x_225, 1); -x_271 = lean_ctor_get(x_225, 2); -x_272 = lean_ctor_get(x_225, 3); -lean_inc(x_272); -lean_inc(x_271); -lean_inc(x_270); -lean_dec(x_225); -x_273 = 1; -lean_ctor_set_uint8(x_1, sizeof(void*)*8, x_273); -x_274 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_274, 0, x_1); -lean_ctor_set(x_274, 1, x_270); -lean_ctor_set(x_274, 2, x_271); -lean_ctor_set(x_274, 3, x_272); -x_275 = lean_st_ref_set(x_4, x_274, x_263); -x_276 = lean_ctor_get(x_275, 1); -lean_inc(x_276); -lean_dec(x_275); -x_27 = x_276; -goto block_221; -} -} -else -{ -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_object* x_287; lean_object* x_288; uint8_t x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; -x_277 = lean_ctor_get(x_1, 0); -x_278 = lean_ctor_get(x_1, 1); -x_279 = lean_ctor_get(x_1, 2); -x_280 = lean_ctor_get(x_1, 3); -x_281 = lean_ctor_get(x_1, 4); -x_282 = lean_ctor_get(x_1, 5); -x_283 = lean_ctor_get(x_1, 6); -x_284 = lean_ctor_get(x_1, 7); -lean_inc(x_284); -lean_inc(x_283); -lean_inc(x_282); -lean_inc(x_281); -lean_inc(x_280); -lean_inc(x_279); -lean_inc(x_278); -lean_inc(x_277); -lean_dec(x_1); -x_285 = lean_ctor_get(x_225, 1); -lean_inc(x_285); -x_286 = lean_ctor_get(x_225, 2); -lean_inc(x_286); -x_287 = lean_ctor_get(x_225, 3); -lean_inc(x_287); -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); - x_288 = x_225; -} else { - lean_dec_ref(x_225); - x_288 = lean_box(0); -} -x_289 = 1; -x_290 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_290, 0, x_277); -lean_ctor_set(x_290, 1, x_278); -lean_ctor_set(x_290, 2, x_279); -lean_ctor_set(x_290, 3, x_280); -lean_ctor_set(x_290, 4, x_281); -lean_ctor_set(x_290, 5, x_282); -lean_ctor_set(x_290, 6, x_283); -lean_ctor_set(x_290, 7, x_284); -lean_ctor_set_uint8(x_290, sizeof(void*)*8, x_289); -if (lean_is_scalar(x_288)) { - x_291 = lean_alloc_ctor(0, 4, 0); -} else { - x_291 = x_288; -} -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_285); -lean_ctor_set(x_291, 2, x_286); -lean_ctor_set(x_291, 3, x_287); -x_292 = lean_st_ref_set(x_4, x_291, x_263); -x_293 = lean_ctor_get(x_292, 1); -lean_inc(x_293); -lean_dec(x_292); -x_27 = x_293; -goto block_221; -} -} -block_20: -{ -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; -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -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_ctor_get(x_12, 0); -lean_inc(x_14); -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; -} -} -} -block_221: -{ -lean_object* x_28; -lean_inc(x_6); -lean_inc(x_4); -x_28 = lean_apply_5(x_2, x_3, x_4, x_5, x_6, x_27); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_26 = lean_st_ref_get(x_6, x_25); +lean_dec(x_6); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_st_ref_take(x_4, x_27); x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec(x_28); -x_31 = lean_st_ref_get(x_6, x_30); -lean_dec(x_6); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_st_ref_take(x_4, x_32); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); -if (x_35 == 0) +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_36 = lean_ctor_get(x_34, 0); +lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_32 = lean_ctor_get(x_29, 0); +lean_dec(x_32); +lean_ctor_set(x_29, 0, x_13); +x_33 = lean_st_ref_set(x_4, x_29, x_30); +lean_dec(x_4); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set(x_33, 0, x_24); +return x_33; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); lean_inc(x_36); -x_37 = lean_ctor_get(x_33, 1); -lean_inc(x_37); lean_dec(x_33); -x_38 = lean_ctor_get(x_26, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_26, 1); -lean_inc(x_39); -x_40 = lean_ctor_get(x_26, 2); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_24); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_38 = lean_ctor_get(x_29, 1); +x_39 = lean_ctor_get(x_29, 2); +x_40 = lean_ctor_get(x_29, 3); lean_inc(x_40); -x_41 = lean_ctor_get(x_26, 3); -lean_inc(x_41); -x_42 = lean_ctor_get(x_26, 4); -lean_inc(x_42); -x_43 = lean_ctor_get(x_26, 5); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_29); +x_41 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_41, 0, x_13); +lean_ctor_set(x_41, 1, x_38); +lean_ctor_set(x_41, 2, x_39); +lean_ctor_set(x_41, 3, x_40); +x_42 = lean_st_ref_set(x_4, x_41, x_30); +lean_dec(x_4); +x_43 = lean_ctor_get(x_42, 1); lean_inc(x_43); -x_44 = lean_ctor_get(x_26, 6); -lean_inc(x_44); -x_45 = lean_ctor_get(x_26, 7); -lean_inc(x_45); -lean_dec(x_26); -x_46 = !lean_is_exclusive(x_34); -if (x_46 == 0) -{ -lean_object* x_47; uint8_t x_48; -x_47 = lean_ctor_get(x_34, 0); -lean_dec(x_47); -x_48 = !lean_is_exclusive(x_36); -if (x_48 == 0) -{ -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; uint8_t x_58; -x_49 = lean_ctor_get(x_36, 7); -lean_dec(x_49); -x_50 = lean_ctor_get(x_36, 6); -lean_dec(x_50); -x_51 = lean_ctor_get(x_36, 5); -lean_dec(x_51); -x_52 = lean_ctor_get(x_36, 4); -lean_dec(x_52); -x_53 = lean_ctor_get(x_36, 3); -lean_dec(x_53); -x_54 = lean_ctor_get(x_36, 2); -lean_dec(x_54); -x_55 = lean_ctor_get(x_36, 1); -lean_dec(x_55); -x_56 = lean_ctor_get(x_36, 0); -lean_dec(x_56); -lean_ctor_set(x_36, 7, x_45); -lean_ctor_set(x_36, 6, x_44); -lean_ctor_set(x_36, 5, x_43); -lean_ctor_set(x_36, 4, x_42); -lean_ctor_set(x_36, 3, x_41); -lean_ctor_set(x_36, 2, x_40); -lean_ctor_set(x_36, 1, x_39); -lean_ctor_set(x_36, 0, x_38); -x_57 = lean_st_ref_set(x_4, x_34, x_37); -lean_dec(x_4); -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_57, 0); -lean_dec(x_59); -x_60 = lean_box(0); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_29); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_57, 0, x_61); -x_8 = x_57; -goto block_20; +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + x_44 = x_42; +} else { + lean_dec_ref(x_42); + x_44 = lean_box(0); } -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_62 = lean_ctor_get(x_57, 1); -lean_inc(x_62); -lean_dec(x_57); -x_63 = lean_box(0); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_29); -lean_ctor_set(x_64, 1, x_63); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_62); -x_8 = x_65; -goto block_20; +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(0, 2, 0); +} else { + x_45 = x_44; +} +lean_ctor_set(x_45, 0, x_24); +lean_ctor_set(x_45, 1, x_43); +return x_45; } } else { -uint8_t 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_66 = lean_ctor_get_uint8(x_36, sizeof(void*)*8); -lean_dec(x_36); -x_67 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_67, 0, x_38); -lean_ctor_set(x_67, 1, x_39); -lean_ctor_set(x_67, 2, x_40); -lean_ctor_set(x_67, 3, x_41); -lean_ctor_set(x_67, 4, x_42); -lean_ctor_set(x_67, 5, x_43); -lean_ctor_set(x_67, 6, x_44); -lean_ctor_set(x_67, 7, x_45); -lean_ctor_set_uint8(x_67, sizeof(void*)*8, x_66); -lean_ctor_set(x_34, 0, x_67); -x_68 = lean_st_ref_set(x_4, x_34, x_37); -lean_dec(x_4); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_70 = x_68; -} else { - lean_dec_ref(x_68); - x_70 = lean_box(0); -} -x_71 = lean_box(0); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_29); -lean_ctor_set(x_72, 1, x_71); -if (lean_is_scalar(x_70)) { - x_73 = lean_alloc_ctor(0, 2, 0); -} else { - x_73 = x_70; -} -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_69); -x_8 = x_73; -goto block_20; -} -} -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_34, 1); -x_75 = lean_ctor_get(x_34, 2); -x_76 = lean_ctor_get(x_34, 3); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_34); -x_77 = lean_ctor_get_uint8(x_36, sizeof(void*)*8); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - lean_ctor_release(x_36, 2); - lean_ctor_release(x_36, 3); - lean_ctor_release(x_36, 4); - lean_ctor_release(x_36, 5); - lean_ctor_release(x_36, 6); - lean_ctor_release(x_36, 7); - x_78 = x_36; -} else { - lean_dec_ref(x_36); - x_78 = lean_box(0); -} -if (lean_is_scalar(x_78)) { - x_79 = lean_alloc_ctor(0, 8, 1); -} else { - x_79 = x_78; -} -lean_ctor_set(x_79, 0, x_38); -lean_ctor_set(x_79, 1, x_39); -lean_ctor_set(x_79, 2, x_40); -lean_ctor_set(x_79, 3, x_41); -lean_ctor_set(x_79, 4, x_42); -lean_ctor_set(x_79, 5, x_43); -lean_ctor_set(x_79, 6, x_44); -lean_ctor_set(x_79, 7, x_45); -lean_ctor_set_uint8(x_79, sizeof(void*)*8, x_77); -x_80 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_74); -lean_ctor_set(x_80, 2, x_75); -lean_ctor_set(x_80, 3, x_76); -x_81 = lean_st_ref_set(x_4, x_80, x_37); -lean_dec(x_4); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - x_83 = x_81; -} else { - lean_dec_ref(x_81); - x_83 = lean_box(0); -} -x_84 = lean_box(0); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_29); -lean_ctor_set(x_85, 1, x_84); -if (lean_is_scalar(x_83)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_83; -} -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_82); -x_8 = x_86; -goto block_20; -} -} -else -{ -lean_object* x_87; uint8_t x_88; -x_87 = lean_ctor_get(x_33, 1); -lean_inc(x_87); -lean_dec(x_33); -x_88 = !lean_is_exclusive(x_26); -if (x_88 == 0) -{ -uint8_t x_89; -x_89 = !lean_is_exclusive(x_34); -if (x_89 == 0) -{ -lean_object* x_90; uint8_t x_91; lean_object* x_92; uint8_t x_93; -x_90 = lean_ctor_get(x_34, 0); -lean_dec(x_90); -x_91 = 1; -lean_ctor_set_uint8(x_26, sizeof(void*)*8, x_91); -lean_ctor_set(x_34, 0, x_26); -x_92 = lean_st_ref_set(x_4, x_34, x_87); -lean_dec(x_4); -x_93 = !lean_is_exclusive(x_92); -if (x_93 == 0) -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_92, 0); -lean_dec(x_94); -x_95 = lean_box(0); -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_29); -lean_ctor_set(x_96, 1, x_95); -lean_ctor_set(x_92, 0, x_96); -x_8 = x_92; -goto block_20; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_97 = lean_ctor_get(x_92, 1); -lean_inc(x_97); -lean_dec(x_92); -x_98 = lean_box(0); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_29); -lean_ctor_set(x_99, 1, 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_97); -x_8 = x_100; -goto block_20; -} -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t 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_101 = lean_ctor_get(x_34, 1); -x_102 = lean_ctor_get(x_34, 2); -x_103 = lean_ctor_get(x_34, 3); -lean_inc(x_103); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_34); -x_104 = 1; -lean_ctor_set_uint8(x_26, sizeof(void*)*8, x_104); -x_105 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_105, 0, x_26); -lean_ctor_set(x_105, 1, x_101); -lean_ctor_set(x_105, 2, x_102); -lean_ctor_set(x_105, 3, x_103); -x_106 = lean_st_ref_set(x_4, x_105, x_87); -lean_dec(x_4); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_108 = x_106; -} else { - lean_dec_ref(x_106); - x_108 = lean_box(0); -} -x_109 = lean_box(0); -x_110 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_110, 0, x_29); -lean_ctor_set(x_110, 1, x_109); -if (lean_is_scalar(x_108)) { - x_111 = lean_alloc_ctor(0, 2, 0); -} else { - x_111 = x_108; -} -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_107); -x_8 = x_111; -goto block_20; -} -} -else -{ -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; uint8_t 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_112 = lean_ctor_get(x_26, 0); -x_113 = lean_ctor_get(x_26, 1); -x_114 = lean_ctor_get(x_26, 2); -x_115 = lean_ctor_get(x_26, 3); -x_116 = lean_ctor_get(x_26, 4); -x_117 = lean_ctor_get(x_26, 5); -x_118 = lean_ctor_get(x_26, 6); -x_119 = lean_ctor_get(x_26, 7); -lean_inc(x_119); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_26); -x_120 = lean_ctor_get(x_34, 1); -lean_inc(x_120); -x_121 = lean_ctor_get(x_34, 2); -lean_inc(x_121); -x_122 = lean_ctor_get(x_34, 3); -lean_inc(x_122); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - lean_ctor_release(x_34, 2); - lean_ctor_release(x_34, 3); - x_123 = x_34; -} else { - lean_dec_ref(x_34); - x_123 = lean_box(0); -} -x_124 = 1; -x_125 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_125, 0, x_112); -lean_ctor_set(x_125, 1, x_113); -lean_ctor_set(x_125, 2, x_114); -lean_ctor_set(x_125, 3, x_115); -lean_ctor_set(x_125, 4, x_116); -lean_ctor_set(x_125, 5, x_117); -lean_ctor_set(x_125, 6, x_118); -lean_ctor_set(x_125, 7, x_119); -lean_ctor_set_uint8(x_125, sizeof(void*)*8, x_124); -if (lean_is_scalar(x_123)) { - x_126 = lean_alloc_ctor(0, 4, 0); -} else { - x_126 = x_123; -} -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_120); -lean_ctor_set(x_126, 2, x_121); -lean_ctor_set(x_126, 3, x_122); -x_127 = lean_st_ref_set(x_4, x_126, x_87); -lean_dec(x_4); -x_128 = lean_ctor_get(x_127, 1); -lean_inc(x_128); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_129 = x_127; -} else { - lean_dec_ref(x_127); - x_129 = lean_box(0); -} -x_130 = lean_box(0); -x_131 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_131, 0, x_29); -lean_ctor_set(x_131, 1, x_130); -if (lean_is_scalar(x_129)) { - x_132 = lean_alloc_ctor(0, 2, 0); -} else { - x_132 = x_129; -} -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_128); -x_8 = x_132; -goto block_20; -} -} -} -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; uint8_t x_139; -x_133 = lean_ctor_get(x_28, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_28, 1); -lean_inc(x_134); -lean_dec(x_28); -x_135 = lean_st_ref_get(x_6, x_134); +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; uint8_t x_53; +x_46 = lean_ctor_get(x_23, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_23, 1); +lean_inc(x_47); +lean_dec(x_23); +x_48 = lean_st_ref_get(x_6, x_47); lean_dec(x_6); -x_136 = lean_ctor_get(x_135, 1); -lean_inc(x_136); -lean_dec(x_135); -x_137 = lean_st_ref_take(x_4, x_136); -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -x_139 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); -if (x_139 == 0) +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_st_ref_take(x_4, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = !lean_is_exclusive(x_51); +if (x_53 == 0) { -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; -x_140 = lean_ctor_get(x_138, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_137, 1); -lean_inc(x_141); -lean_dec(x_137); -x_142 = lean_ctor_get(x_26, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_26, 1); -lean_inc(x_143); -x_144 = lean_ctor_get(x_26, 2); -lean_inc(x_144); -x_145 = lean_ctor_get(x_26, 3); -lean_inc(x_145); -x_146 = lean_ctor_get(x_26, 4); -lean_inc(x_146); -x_147 = lean_ctor_get(x_26, 5); -lean_inc(x_147); -x_148 = lean_ctor_get(x_26, 6); -lean_inc(x_148); -x_149 = lean_ctor_get(x_26, 7); -lean_inc(x_149); -lean_dec(x_26); -x_150 = !lean_is_exclusive(x_138); -if (x_150 == 0) -{ -lean_object* x_151; uint8_t x_152; -x_151 = lean_ctor_get(x_138, 0); -lean_dec(x_151); -x_152 = !lean_is_exclusive(x_140); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; -x_153 = lean_ctor_get(x_140, 7); -lean_dec(x_153); -x_154 = lean_ctor_get(x_140, 6); -lean_dec(x_154); -x_155 = lean_ctor_get(x_140, 5); -lean_dec(x_155); -x_156 = lean_ctor_get(x_140, 4); -lean_dec(x_156); -x_157 = lean_ctor_get(x_140, 3); -lean_dec(x_157); -x_158 = lean_ctor_get(x_140, 2); -lean_dec(x_158); -x_159 = lean_ctor_get(x_140, 1); -lean_dec(x_159); -x_160 = lean_ctor_get(x_140, 0); -lean_dec(x_160); -lean_ctor_set(x_140, 7, x_149); -lean_ctor_set(x_140, 6, x_148); -lean_ctor_set(x_140, 5, x_147); -lean_ctor_set(x_140, 4, x_146); -lean_ctor_set(x_140, 3, x_145); -lean_ctor_set(x_140, 2, x_144); -lean_ctor_set(x_140, 1, x_143); -lean_ctor_set(x_140, 0, x_142); -x_161 = lean_st_ref_set(x_4, x_138, x_141); +lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_54 = lean_ctor_get(x_51, 0); +lean_dec(x_54); +lean_ctor_set(x_51, 0, x_13); +x_55 = lean_st_ref_set(x_4, x_51, x_52); lean_dec(x_4); -x_162 = !lean_is_exclusive(x_161); -if (x_162 == 0) +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) { -lean_object* x_163; -x_163 = lean_ctor_get(x_161, 0); -lean_dec(x_163); -lean_ctor_set_tag(x_161, 1); -lean_ctor_set(x_161, 0, x_133); -x_8 = x_161; -goto block_20; +lean_object* x_57; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +lean_ctor_set_tag(x_55, 1); +lean_ctor_set(x_55, 0, x_46); +return x_55; } else { -lean_object* x_164; lean_object* x_165; -x_164 = lean_ctor_get(x_161, 1); -lean_inc(x_164); -lean_dec(x_161); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_133); -lean_ctor_set(x_165, 1, x_164); -x_8 = x_165; -goto block_20; +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_55, 1); +lean_inc(x_58); +lean_dec(x_55); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_46); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } else { -uint8_t x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_166 = lean_ctor_get_uint8(x_140, sizeof(void*)*8); -lean_dec(x_140); -x_167 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_167, 0, x_142); -lean_ctor_set(x_167, 1, x_143); -lean_ctor_set(x_167, 2, x_144); -lean_ctor_set(x_167, 3, x_145); -lean_ctor_set(x_167, 4, x_146); -lean_ctor_set(x_167, 5, x_147); -lean_ctor_set(x_167, 6, x_148); -lean_ctor_set(x_167, 7, x_149); -lean_ctor_set_uint8(x_167, sizeof(void*)*8, x_166); -lean_ctor_set(x_138, 0, x_167); -x_168 = lean_st_ref_set(x_4, x_138, x_141); +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_60 = lean_ctor_get(x_51, 1); +x_61 = lean_ctor_get(x_51, 2); +x_62 = lean_ctor_get(x_51, 3); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_51); +x_63 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_63, 0, x_13); +lean_ctor_set(x_63, 1, x_60); +lean_ctor_set(x_63, 2, x_61); +lean_ctor_set(x_63, 3, x_62); +x_64 = lean_st_ref_set(x_4, x_63, x_52); lean_dec(x_4); -x_169 = lean_ctor_get(x_168, 1); -lean_inc(x_169); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_170 = x_168; +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_66 = x_64; } else { - lean_dec_ref(x_168); - x_170 = lean_box(0); + lean_dec_ref(x_64); + x_66 = lean_box(0); } -if (lean_is_scalar(x_170)) { - x_171 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(1, 2, 0); } else { - x_171 = x_170; - lean_ctor_set_tag(x_171, 1); + x_67 = x_66; + lean_ctor_set_tag(x_67, 1); +} +lean_ctor_set(x_67, 0, x_46); +lean_ctor_set(x_67, 1, x_65); +return x_67; } -lean_ctor_set(x_171, 0, x_133); -lean_ctor_set(x_171, 1, x_169); -x_8 = x_171; -goto block_20; } } else { -lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t 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; -x_172 = lean_ctor_get(x_138, 1); -x_173 = lean_ctor_get(x_138, 2); -x_174 = lean_ctor_get(x_138, 3); -lean_inc(x_174); -lean_inc(x_173); -lean_inc(x_172); -lean_dec(x_138); -x_175 = lean_ctor_get_uint8(x_140, sizeof(void*)*8); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - lean_ctor_release(x_140, 1); - lean_ctor_release(x_140, 2); - lean_ctor_release(x_140, 3); - lean_ctor_release(x_140, 4); - lean_ctor_release(x_140, 5); - lean_ctor_release(x_140, 6); - lean_ctor_release(x_140, 7); - x_176 = x_140; +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_68 = lean_ctor_get(x_17, 1); +x_69 = lean_ctor_get(x_17, 2); +x_70 = lean_ctor_get(x_17, 3); +lean_inc(x_70); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_17); +x_71 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_71, 0, x_1); +lean_ctor_set(x_71, 1, x_68); +lean_ctor_set(x_71, 2, x_69); +lean_ctor_set(x_71, 3, x_70); +x_72 = lean_st_ref_set(x_4, x_71, x_18); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +lean_inc(x_6); +lean_inc(x_4); +x_74 = lean_apply_5(x_2, x_3, x_4, x_5, x_6, x_73); +if (lean_obj_tag(x_74) == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; 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; +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_st_ref_get(x_6, x_76); +lean_dec(x_6); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); +x_79 = lean_st_ref_take(x_4, x_78); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +x_83 = lean_ctor_get(x_80, 2); +lean_inc(x_83); +x_84 = lean_ctor_get(x_80, 3); +lean_inc(x_84); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + lean_ctor_release(x_80, 2); + lean_ctor_release(x_80, 3); + x_85 = x_80; } else { - lean_dec_ref(x_140); - x_176 = lean_box(0); + lean_dec_ref(x_80); + x_85 = lean_box(0); } -if (lean_is_scalar(x_176)) { - x_177 = lean_alloc_ctor(0, 8, 1); +if (lean_is_scalar(x_85)) { + x_86 = lean_alloc_ctor(0, 4, 0); } else { - x_177 = x_176; + x_86 = x_85; } -lean_ctor_set(x_177, 0, x_142); -lean_ctor_set(x_177, 1, x_143); -lean_ctor_set(x_177, 2, x_144); -lean_ctor_set(x_177, 3, x_145); -lean_ctor_set(x_177, 4, x_146); -lean_ctor_set(x_177, 5, x_147); -lean_ctor_set(x_177, 6, x_148); -lean_ctor_set(x_177, 7, x_149); -lean_ctor_set_uint8(x_177, sizeof(void*)*8, x_175); -x_178 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_172); -lean_ctor_set(x_178, 2, x_173); -lean_ctor_set(x_178, 3, x_174); -x_179 = lean_st_ref_set(x_4, x_178, x_141); +lean_ctor_set(x_86, 0, x_13); +lean_ctor_set(x_86, 1, x_82); +lean_ctor_set(x_86, 2, x_83); +lean_ctor_set(x_86, 3, x_84); +x_87 = lean_st_ref_set(x_4, x_86, x_81); lean_dec(x_4); -x_180 = lean_ctor_get(x_179, 1); -lean_inc(x_180); -if (lean_is_exclusive(x_179)) { - lean_ctor_release(x_179, 0); - lean_ctor_release(x_179, 1); - x_181 = x_179; +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_89 = x_87; } else { - lean_dec_ref(x_179); - x_181 = lean_box(0); + lean_dec_ref(x_87); + x_89 = lean_box(0); } -if (lean_is_scalar(x_181)) { - x_182 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_89)) { + x_90 = lean_alloc_ctor(0, 2, 0); } else { - x_182 = x_181; - lean_ctor_set_tag(x_182, 1); -} -lean_ctor_set(x_182, 0, x_133); -lean_ctor_set(x_182, 1, x_180); -x_8 = x_182; -goto block_20; + x_90 = x_89; } +lean_ctor_set(x_90, 0, x_75); +lean_ctor_set(x_90, 1, x_88); +return x_90; } else { -lean_object* x_183; uint8_t x_184; -x_183 = lean_ctor_get(x_137, 1); -lean_inc(x_183); -lean_dec(x_137); -x_184 = !lean_is_exclusive(x_26); -if (x_184 == 0) -{ -uint8_t x_185; -x_185 = !lean_is_exclusive(x_138); -if (x_185 == 0) -{ -lean_object* x_186; uint8_t x_187; lean_object* x_188; uint8_t x_189; -x_186 = lean_ctor_get(x_138, 0); -lean_dec(x_186); -x_187 = 1; -lean_ctor_set_uint8(x_26, sizeof(void*)*8, x_187); -lean_ctor_set(x_138, 0, x_26); -x_188 = lean_st_ref_set(x_4, x_138, x_183); +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_91 = lean_ctor_get(x_74, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_74, 1); +lean_inc(x_92); +lean_dec(x_74); +x_93 = lean_st_ref_get(x_6, x_92); +lean_dec(x_6); +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +lean_dec(x_93); +x_95 = lean_st_ref_take(x_4, 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_ctor_get(x_96, 1); +lean_inc(x_98); +x_99 = lean_ctor_get(x_96, 2); +lean_inc(x_99); +x_100 = lean_ctor_get(x_96, 3); +lean_inc(x_100); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + lean_ctor_release(x_96, 2); + lean_ctor_release(x_96, 3); + x_101 = x_96; +} else { + lean_dec_ref(x_96); + x_101 = lean_box(0); +} +if (lean_is_scalar(x_101)) { + x_102 = lean_alloc_ctor(0, 4, 0); +} else { + x_102 = x_101; +} +lean_ctor_set(x_102, 0, x_13); +lean_ctor_set(x_102, 1, x_98); +lean_ctor_set(x_102, 2, x_99); +lean_ctor_set(x_102, 3, x_100); +x_103 = lean_st_ref_set(x_4, x_102, x_97); lean_dec(x_4); -x_189 = !lean_is_exclusive(x_188); -if (x_189 == 0) -{ -lean_object* x_190; -x_190 = lean_ctor_get(x_188, 0); -lean_dec(x_190); -lean_ctor_set_tag(x_188, 1); -lean_ctor_set(x_188, 0, x_133); -x_8 = x_188; -goto block_20; -} -else -{ -lean_object* x_191; lean_object* x_192; -x_191 = lean_ctor_get(x_188, 1); -lean_inc(x_191); -lean_dec(x_188); -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_133); -lean_ctor_set(x_192, 1, x_191); -x_8 = x_192; -goto block_20; -} -} -else -{ -lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_193 = lean_ctor_get(x_138, 1); -x_194 = lean_ctor_get(x_138, 2); -x_195 = lean_ctor_get(x_138, 3); -lean_inc(x_195); -lean_inc(x_194); -lean_inc(x_193); -lean_dec(x_138); -x_196 = 1; -lean_ctor_set_uint8(x_26, sizeof(void*)*8, x_196); -x_197 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_197, 0, x_26); -lean_ctor_set(x_197, 1, x_193); -lean_ctor_set(x_197, 2, x_194); -lean_ctor_set(x_197, 3, x_195); -x_198 = lean_st_ref_set(x_4, x_197, x_183); -lean_dec(x_4); -x_199 = lean_ctor_get(x_198, 1); -lean_inc(x_199); -if (lean_is_exclusive(x_198)) { - lean_ctor_release(x_198, 0); - lean_ctor_release(x_198, 1); - x_200 = x_198; +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_105 = x_103; } else { - lean_dec_ref(x_198); - x_200 = lean_box(0); + lean_dec_ref(x_103); + x_105 = lean_box(0); } -if (lean_is_scalar(x_200)) { - x_201 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_105)) { + x_106 = lean_alloc_ctor(1, 2, 0); } else { - x_201 = x_200; - lean_ctor_set_tag(x_201, 1); -} -lean_ctor_set(x_201, 0, x_133); -lean_ctor_set(x_201, 1, x_199); -x_8 = x_201; -goto block_20; -} -} -else -{ -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; 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_202 = lean_ctor_get(x_26, 0); -x_203 = lean_ctor_get(x_26, 1); -x_204 = lean_ctor_get(x_26, 2); -x_205 = lean_ctor_get(x_26, 3); -x_206 = lean_ctor_get(x_26, 4); -x_207 = lean_ctor_get(x_26, 5); -x_208 = lean_ctor_get(x_26, 6); -x_209 = lean_ctor_get(x_26, 7); -lean_inc(x_209); -lean_inc(x_208); -lean_inc(x_207); -lean_inc(x_206); -lean_inc(x_205); -lean_inc(x_204); -lean_inc(x_203); -lean_inc(x_202); -lean_dec(x_26); -x_210 = lean_ctor_get(x_138, 1); -lean_inc(x_210); -x_211 = lean_ctor_get(x_138, 2); -lean_inc(x_211); -x_212 = lean_ctor_get(x_138, 3); -lean_inc(x_212); -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); - x_213 = x_138; -} else { - lean_dec_ref(x_138); - x_213 = lean_box(0); -} -x_214 = 1; -x_215 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_215, 0, x_202); -lean_ctor_set(x_215, 1, x_203); -lean_ctor_set(x_215, 2, x_204); -lean_ctor_set(x_215, 3, x_205); -lean_ctor_set(x_215, 4, x_206); -lean_ctor_set(x_215, 5, x_207); -lean_ctor_set(x_215, 6, x_208); -lean_ctor_set(x_215, 7, x_209); -lean_ctor_set_uint8(x_215, sizeof(void*)*8, x_214); -if (lean_is_scalar(x_213)) { - x_216 = lean_alloc_ctor(0, 4, 0); -} else { - x_216 = x_213; -} -lean_ctor_set(x_216, 0, x_215); -lean_ctor_set(x_216, 1, x_210); -lean_ctor_set(x_216, 2, x_211); -lean_ctor_set(x_216, 3, x_212); -x_217 = lean_st_ref_set(x_4, x_216, x_183); -lean_dec(x_4); -x_218 = lean_ctor_get(x_217, 1); -lean_inc(x_218); -if (lean_is_exclusive(x_217)) { - lean_ctor_release(x_217, 0); - lean_ctor_release(x_217, 1); - x_219 = x_217; -} else { - lean_dec_ref(x_217); - x_219 = lean_box(0); -} -if (lean_is_scalar(x_219)) { - x_220 = lean_alloc_ctor(1, 2, 0); -} else { - x_220 = x_219; - lean_ctor_set_tag(x_220, 1); -} -lean_ctor_set(x_220, 0, x_133); -lean_ctor_set(x_220, 1, x_218); -x_8 = x_220; -goto block_20; -} + x_106 = x_105; + lean_ctor_set_tag(x_106, 1); } +lean_ctor_set(x_106, 0, x_91); +lean_ctor_set(x_106, 1, x_104); +return x_106; } } } @@ -28414,48 +24141,45 @@ lean_dec(x_15); x_16 = !lean_is_exclusive(x_12); if (x_16 == 0) { -lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; uint8_t x_21; +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; x_17 = lean_ctor_get(x_12, 5); x_18 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_17, x_1, x_2); -x_19 = 1; lean_ctor_set(x_12, 5, x_18); -lean_ctor_set_uint8(x_12, sizeof(void*)*8, x_19); -x_20 = lean_st_ref_set(x_4, x_11, x_13); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) +x_19 = lean_st_ref_set(x_4, x_11, x_13); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -lean_dec(x_22); -x_23 = lean_box(0); -lean_ctor_set(x_20, 0, x_23); -return x_20; +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +x_22 = lean_box(0); +lean_ctor_set(x_19, 0, x_22); +return x_19; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_dec(x_20); -x_25 = lean_box(0); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -return x_26; +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_dec(x_19); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +return x_25; } } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t 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_27 = lean_ctor_get(x_12, 0); -x_28 = lean_ctor_get(x_12, 1); -x_29 = lean_ctor_get(x_12, 2); -x_30 = lean_ctor_get(x_12, 3); -x_31 = lean_ctor_get(x_12, 4); -x_32 = lean_ctor_get(x_12, 5); -x_33 = lean_ctor_get(x_12, 6); -x_34 = lean_ctor_get(x_12, 7); -lean_inc(x_34); +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_object* x_40; +x_26 = lean_ctor_get(x_12, 0); +x_27 = lean_ctor_get(x_12, 1); +x_28 = lean_ctor_get(x_12, 2); +x_29 = lean_ctor_get(x_12, 3); +x_30 = lean_ctor_get(x_12, 4); +x_31 = lean_ctor_get(x_12, 5); +x_32 = lean_ctor_get(x_12, 6); +x_33 = lean_ctor_get(x_12, 7); lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); @@ -28463,68 +24187,67 @@ lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); +lean_inc(x_26); lean_dec(x_12); -x_35 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_32, x_1, x_2); -x_36 = 1; -x_37 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_37, 0, x_27); -lean_ctor_set(x_37, 1, x_28); -lean_ctor_set(x_37, 2, x_29); -lean_ctor_set(x_37, 3, x_30); -lean_ctor_set(x_37, 4, x_31); -lean_ctor_set(x_37, 5, x_35); -lean_ctor_set(x_37, 6, x_33); -lean_ctor_set(x_37, 7, x_34); -lean_ctor_set_uint8(x_37, sizeof(void*)*8, x_36); -lean_ctor_set(x_11, 0, x_37); -x_38 = lean_st_ref_set(x_4, x_11, x_13); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); +x_34 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_31, x_1, x_2); +x_35 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_27); +lean_ctor_set(x_35, 2, x_28); +lean_ctor_set(x_35, 3, x_29); +lean_ctor_set(x_35, 4, x_30); +lean_ctor_set(x_35, 5, x_34); +lean_ctor_set(x_35, 6, x_32); +lean_ctor_set(x_35, 7, x_33); +lean_ctor_set(x_11, 0, x_35); +x_36 = lean_st_ref_set(x_4, x_11, x_13); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_38 = x_36; +} else { + lean_dec_ref(x_36); + x_38 = lean_box(0); +} +x_39 = lean_box(0); +if (lean_is_scalar(x_38)) { + x_40 = lean_alloc_ctor(0, 2, 0); +} else { x_40 = x_38; -} else { - lean_dec_ref(x_38); - x_40 = lean_box(0); } -x_41 = lean_box(0); -if (lean_is_scalar(x_40)) { - x_42 = lean_alloc_ctor(0, 2, 0); -} else { - x_42 = x_40; -} -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_39); -return x_42; +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_37); +return x_40; } } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t 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; -x_43 = lean_ctor_get(x_11, 1); -x_44 = lean_ctor_get(x_11, 2); -x_45 = lean_ctor_get(x_11, 3); -lean_inc(x_45); -lean_inc(x_44); +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; +x_41 = lean_ctor_get(x_11, 1); +x_42 = lean_ctor_get(x_11, 2); +x_43 = lean_ctor_get(x_11, 3); lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); lean_dec(x_11); -x_46 = lean_ctor_get(x_12, 0); +x_44 = lean_ctor_get(x_12, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_12, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_12, 2); lean_inc(x_46); -x_47 = lean_ctor_get(x_12, 1); +x_47 = lean_ctor_get(x_12, 3); lean_inc(x_47); -x_48 = lean_ctor_get(x_12, 2); +x_48 = lean_ctor_get(x_12, 4); lean_inc(x_48); -x_49 = lean_ctor_get(x_12, 3); +x_49 = lean_ctor_get(x_12, 5); lean_inc(x_49); -x_50 = lean_ctor_get(x_12, 4); +x_50 = lean_ctor_get(x_12, 6); lean_inc(x_50); -x_51 = lean_ctor_get(x_12, 5); +x_51 = lean_ctor_get(x_12, 7); lean_inc(x_51); -x_52 = lean_ctor_get(x_12, 6); -lean_inc(x_52); -x_53 = lean_ctor_get(x_12, 7); -lean_inc(x_53); if (lean_is_exclusive(x_12)) { lean_ctor_release(x_12, 0); lean_ctor_release(x_12, 1); @@ -28534,52 +24257,50 @@ if (lean_is_exclusive(x_12)) { lean_ctor_release(x_12, 5); lean_ctor_release(x_12, 6); lean_ctor_release(x_12, 7); - x_54 = x_12; + x_52 = x_12; } else { lean_dec_ref(x_12); - x_54 = lean_box(0); + x_52 = lean_box(0); } -x_55 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_51, x_1, x_2); -x_56 = 1; -if (lean_is_scalar(x_54)) { - x_57 = lean_alloc_ctor(0, 8, 1); +x_53 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_49, x_1, x_2); +if (lean_is_scalar(x_52)) { + x_54 = lean_alloc_ctor(0, 8, 0); } else { - x_57 = x_54; + x_54 = x_52; } -lean_ctor_set(x_57, 0, x_46); -lean_ctor_set(x_57, 1, x_47); -lean_ctor_set(x_57, 2, x_48); -lean_ctor_set(x_57, 3, x_49); -lean_ctor_set(x_57, 4, x_50); -lean_ctor_set(x_57, 5, x_55); -lean_ctor_set(x_57, 6, x_52); -lean_ctor_set(x_57, 7, x_53); -lean_ctor_set_uint8(x_57, sizeof(void*)*8, x_56); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_43); -lean_ctor_set(x_58, 2, x_44); -lean_ctor_set(x_58, 3, x_45); -x_59 = lean_st_ref_set(x_4, x_58, x_13); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; +lean_ctor_set(x_54, 0, x_44); +lean_ctor_set(x_54, 1, x_45); +lean_ctor_set(x_54, 2, x_46); +lean_ctor_set(x_54, 3, x_47); +lean_ctor_set(x_54, 4, x_48); +lean_ctor_set(x_54, 5, x_53); +lean_ctor_set(x_54, 6, x_50); +lean_ctor_set(x_54, 7, x_51); +x_55 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_41); +lean_ctor_set(x_55, 2, x_42); +lean_ctor_set(x_55, 3, x_43); +x_56 = lean_st_ref_set(x_4, x_55, x_13); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_58 = x_56; } else { - lean_dec_ref(x_59); - x_61 = lean_box(0); + lean_dec_ref(x_56); + x_58 = lean_box(0); } -x_62 = lean_box(0); -if (lean_is_scalar(x_61)) { - x_63 = lean_alloc_ctor(0, 2, 0); +x_59 = lean_box(0); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(0, 2, 0); } else { - x_63 = x_61; + x_60 = x_58; } -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_60); -return x_63; +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_57); +return x_60; } } } @@ -28881,114 +24602,165 @@ return x_84; } case 5: { -lean_object* x_85; lean_object* x_86; lean_object* x_87; 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_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; x_85 = lean_ctor_get(x_1, 0); lean_inc(x_85); -x_101 = lean_st_ref_get(x_5, x_6); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_103 = lean_st_ref_get(x_3, x_102); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = lean_ctor_get(x_104, 0); -lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_ctor_get(x_106, 5); -lean_inc(x_107); -lean_dec(x_106); +x_86 = lean_st_ref_get(x_5, x_6); +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +lean_dec(x_86); +x_88 = lean_st_ref_get(x_3, x_87); +x_89 = !lean_is_exclusive(x_88); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_90 = lean_ctor_get(x_88, 0); +x_91 = lean_ctor_get(x_88, 1); +x_92 = lean_ctor_get(x_90, 0); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_ctor_get(x_92, 5); +lean_inc(x_93); +lean_dec(x_92); lean_inc(x_85); -x_108 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_107, x_85); -if (lean_obj_tag(x_108) == 0) +x_94 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_93, x_85); +if (lean_obj_tag(x_94) == 0) { -x_86 = x_108; -x_87 = x_105; -goto block_100; -} -else -{ -lean_object* x_109; lean_object* x_110; -x_109 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_105); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -lean_dec(x_109); -x_86 = x_108; -x_87 = x_110; -goto block_100; -} -block_100: -{ -if (lean_obj_tag(x_86) == 0) -{ -lean_object* x_88; lean_dec(x_85); -x_88 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_88, 0, x_1); -lean_ctor_set(x_88, 1, x_87); return x_88; } else { -lean_object* x_89; uint8_t x_90; +lean_object* x_95; uint8_t x_96; lean_dec(x_1); -x_89 = lean_ctor_get(x_86, 0); -lean_inc(x_89); -lean_dec(x_86); -x_90 = l_Lean_Level_hasMVar(x_89); -if (x_90 == 0) -{ -lean_object* x_91; -lean_dec(x_85); -x_91 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_87); -return x_91; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_92 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_89, x_2, x_3, x_4, x_5, x_87); -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -lean_inc(x_93); -x_95 = l_Lean_assignLevelMVar___at_Lean_Meta_normalizeLevel___spec__2(x_85, x_93, x_2, x_3, x_4, x_5, x_94); -x_96 = !lean_is_exclusive(x_95); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +lean_dec(x_94); +x_96 = l_Lean_Level_hasMVar(x_95); if (x_96 == 0) { -lean_object* x_97; -x_97 = lean_ctor_get(x_95, 0); -lean_dec(x_97); -lean_ctor_set(x_95, 0, x_93); -return x_95; +lean_dec(x_85); +lean_ctor_set(x_88, 0, x_95); +return x_88; } else { -lean_object* x_98; lean_object* x_99; -x_98 = lean_ctor_get(x_95, 1); +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +lean_free_object(x_88); +x_97 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_95, x_2, x_3, x_4, x_5, x_91); +x_98 = lean_ctor_get(x_97, 0); lean_inc(x_98); -lean_dec(x_95); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_93); -lean_ctor_set(x_99, 1, x_98); -return x_99; +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +lean_inc(x_98); +x_100 = l_Lean_assignLevelMVar___at_Lean_Meta_normalizeLevel___spec__2(x_85, x_98, x_2, x_3, x_4, x_5, x_99); +x_101 = !lean_is_exclusive(x_100); +if (x_101 == 0) +{ +lean_object* x_102; +x_102 = lean_ctor_get(x_100, 0); +lean_dec(x_102); +lean_ctor_set(x_100, 0, x_98); +return x_100; } +else +{ +lean_object* x_103; lean_object* x_104; +x_103 = lean_ctor_get(x_100, 1); +lean_inc(x_103); +lean_dec(x_100); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_98); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +} +else +{ +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_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_ctor_get(x_105, 0); +lean_inc(x_107); +lean_dec(x_105); +x_108 = lean_ctor_get(x_107, 5); +lean_inc(x_108); +lean_dec(x_107); +lean_inc(x_85); +x_109 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_108, x_85); +if (lean_obj_tag(x_109) == 0) +{ +lean_object* x_110; +lean_dec(x_85); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_1); +lean_ctor_set(x_110, 1, x_106); +return x_110; +} +else +{ +lean_object* x_111; uint8_t x_112; +lean_dec(x_1); +x_111 = lean_ctor_get(x_109, 0); +lean_inc(x_111); +lean_dec(x_109); +x_112 = l_Lean_Level_hasMVar(x_111); +if (x_112 == 0) +{ +lean_object* x_113; +lean_dec(x_85); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_106); +return x_113; +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_114 = l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(x_111, x_2, x_3, x_4, x_5, x_106); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +lean_inc(x_115); +x_117 = l_Lean_assignLevelMVar___at_Lean_Meta_normalizeLevel___spec__2(x_85, x_115, x_2, x_3, x_4, x_5, x_116); +x_118 = lean_ctor_get(x_117, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_119 = x_117; +} else { + lean_dec_ref(x_117); + x_119 = lean_box(0); +} +if (lean_is_scalar(x_119)) { + x_120 = lean_alloc_ctor(0, 2, 0); +} else { + x_120 = x_119; +} +lean_ctor_set(x_120, 0, x_115); +lean_ctor_set(x_120, 1, x_118); +return x_120; } } } } default: { -lean_object* x_111; -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_1); -lean_ctor_set(x_111, 1, x_6); -return x_111; +lean_object* x_121; +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_1); +lean_ctor_set(x_121, 1, x_6); +return x_121; } } } @@ -30610,6 +26382,7 @@ x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); lean_dec(x_11); x_13 = l_Lean_Meta_SavedState_restore(x_9, x_3, x_4, x_5, x_6, x_12); +lean_dec(x_9); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); @@ -30747,6 +26520,7 @@ x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); x_14 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_13); +lean_dec(x_10); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); @@ -30866,7 +26640,7 @@ return x_20; } 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_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +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; uint8_t x_30; x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); @@ -30875,407 +26649,153 @@ lean_dec(x_20); x_23 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_13, x_5, x_6, x_7, x_8, x_22); x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_25 = x_23; -} else { - lean_dec_ref(x_23); - x_25 = lean_box(0); -} -x_57 = lean_st_ref_get(x_8, x_24); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_59 = lean_st_ref_take(x_6, x_58); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get_uint8(x_19, sizeof(void*)*8); -if (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; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -x_62 = lean_ctor_get(x_60, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_59, 1); -lean_inc(x_63); -lean_dec(x_59); -x_64 = lean_ctor_get(x_19, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_19, 1); -lean_inc(x_65); -x_66 = lean_ctor_get(x_19, 2); -lean_inc(x_66); -x_67 = lean_ctor_get(x_19, 3); -lean_inc(x_67); -x_68 = lean_ctor_get(x_19, 4); -lean_inc(x_68); -x_69 = lean_ctor_get(x_19, 5); -lean_inc(x_69); -x_70 = lean_ctor_get(x_19, 6); -lean_inc(x_70); -x_71 = lean_ctor_get(x_19, 7); -lean_inc(x_71); -lean_dec(x_19); -x_72 = !lean_is_exclusive(x_60); -if (x_72 == 0) -{ -lean_object* x_73; uint8_t x_74; -x_73 = lean_ctor_get(x_60, 0); -lean_dec(x_73); -x_74 = !lean_is_exclusive(x_62); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_75 = lean_ctor_get(x_62, 7); -lean_dec(x_75); -x_76 = lean_ctor_get(x_62, 6); -lean_dec(x_76); -x_77 = lean_ctor_get(x_62, 5); -lean_dec(x_77); -x_78 = lean_ctor_get(x_62, 4); -lean_dec(x_78); -x_79 = lean_ctor_get(x_62, 3); -lean_dec(x_79); -x_80 = lean_ctor_get(x_62, 2); -lean_dec(x_80); -x_81 = lean_ctor_get(x_62, 1); -lean_dec(x_81); -x_82 = lean_ctor_get(x_62, 0); -lean_dec(x_82); -lean_ctor_set(x_62, 7, x_71); -lean_ctor_set(x_62, 6, x_70); -lean_ctor_set(x_62, 5, x_69); -lean_ctor_set(x_62, 4, x_68); -lean_ctor_set(x_62, 3, x_67); -lean_ctor_set(x_62, 2, x_66); -lean_ctor_set(x_62, 1, x_65); -lean_ctor_set(x_62, 0, x_64); -x_83 = lean_st_ref_set(x_6, x_60, x_63); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_26 = x_84; -goto block_56; -} -else -{ -uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_85 = lean_ctor_get_uint8(x_62, sizeof(void*)*8); -lean_dec(x_62); -x_86 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_86, 0, x_64); -lean_ctor_set(x_86, 1, x_65); -lean_ctor_set(x_86, 2, x_66); -lean_ctor_set(x_86, 3, x_67); -lean_ctor_set(x_86, 4, x_68); -lean_ctor_set(x_86, 5, x_69); -lean_ctor_set(x_86, 6, x_70); -lean_ctor_set(x_86, 7, x_71); -lean_ctor_set_uint8(x_86, sizeof(void*)*8, x_85); -lean_ctor_set(x_60, 0, x_86); -x_87 = lean_st_ref_set(x_6, x_60, x_63); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -lean_dec(x_87); -x_26 = x_88; -goto block_56; -} -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_89 = lean_ctor_get(x_60, 1); -x_90 = lean_ctor_get(x_60, 2); -x_91 = lean_ctor_get(x_60, 3); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_60); -x_92 = lean_ctor_get_uint8(x_62, sizeof(void*)*8); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - lean_ctor_release(x_62, 2); - lean_ctor_release(x_62, 3); - lean_ctor_release(x_62, 4); - lean_ctor_release(x_62, 5); - lean_ctor_release(x_62, 6); - lean_ctor_release(x_62, 7); - x_93 = x_62; -} else { - lean_dec_ref(x_62); - x_93 = lean_box(0); -} -if (lean_is_scalar(x_93)) { - x_94 = lean_alloc_ctor(0, 8, 1); -} else { - x_94 = x_93; -} -lean_ctor_set(x_94, 0, x_64); -lean_ctor_set(x_94, 1, x_65); -lean_ctor_set(x_94, 2, x_66); -lean_ctor_set(x_94, 3, x_67); -lean_ctor_set(x_94, 4, x_68); -lean_ctor_set(x_94, 5, x_69); -lean_ctor_set(x_94, 6, x_70); -lean_ctor_set(x_94, 7, x_71); -lean_ctor_set_uint8(x_94, sizeof(void*)*8, x_92); -x_95 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_89); -lean_ctor_set(x_95, 2, x_90); -lean_ctor_set(x_95, 3, x_91); -x_96 = lean_st_ref_set(x_6, x_95, x_63); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_26 = x_97; -goto block_56; -} -} -else -{ -lean_object* x_98; uint8_t x_99; -x_98 = lean_ctor_get(x_59, 1); -lean_inc(x_98); -lean_dec(x_59); -x_99 = !lean_is_exclusive(x_19); -if (x_99 == 0) -{ -uint8_t x_100; -x_100 = !lean_is_exclusive(x_60); -if (x_100 == 0) -{ -lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; -x_101 = lean_ctor_get(x_60, 0); -lean_dec(x_101); -x_102 = 1; -lean_ctor_set_uint8(x_19, sizeof(void*)*8, x_102); -lean_ctor_set(x_60, 0, x_19); -x_103 = lean_st_ref_set(x_6, x_60, x_98); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -lean_dec(x_103); -x_26 = x_104; -goto block_56; -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_105 = lean_ctor_get(x_60, 1); -x_106 = lean_ctor_get(x_60, 2); -x_107 = lean_ctor_get(x_60, 3); -lean_inc(x_107); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_60); -x_108 = 1; -lean_ctor_set_uint8(x_19, sizeof(void*)*8, x_108); -x_109 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_109, 0, x_19); -lean_ctor_set(x_109, 1, x_105); -lean_ctor_set(x_109, 2, x_106); -lean_ctor_set(x_109, 3, x_107); -x_110 = lean_st_ref_set(x_6, x_109, x_98); -x_111 = lean_ctor_get(x_110, 1); -lean_inc(x_111); -lean_dec(x_110); -x_26 = x_111; -goto block_56; -} -} -else -{ -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; uint8_t x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_112 = lean_ctor_get(x_19, 0); -x_113 = lean_ctor_get(x_19, 1); -x_114 = lean_ctor_get(x_19, 2); -x_115 = lean_ctor_get(x_19, 3); -x_116 = lean_ctor_get(x_19, 4); -x_117 = lean_ctor_get(x_19, 5); -x_118 = lean_ctor_get(x_19, 6); -x_119 = lean_ctor_get(x_19, 7); -lean_inc(x_119); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_19); -x_120 = lean_ctor_get(x_60, 1); -lean_inc(x_120); -x_121 = lean_ctor_get(x_60, 2); -lean_inc(x_121); -x_122 = lean_ctor_get(x_60, 3); -lean_inc(x_122); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - lean_ctor_release(x_60, 2); - lean_ctor_release(x_60, 3); - x_123 = x_60; -} else { - lean_dec_ref(x_60); - x_123 = lean_box(0); -} -x_124 = 1; -x_125 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_125, 0, x_112); -lean_ctor_set(x_125, 1, x_113); -lean_ctor_set(x_125, 2, x_114); -lean_ctor_set(x_125, 3, x_115); -lean_ctor_set(x_125, 4, x_116); -lean_ctor_set(x_125, 5, x_117); -lean_ctor_set(x_125, 6, x_118); -lean_ctor_set(x_125, 7, x_119); -lean_ctor_set_uint8(x_125, sizeof(void*)*8, x_124); -if (lean_is_scalar(x_123)) { - x_126 = lean_alloc_ctor(0, 4, 0); -} else { - x_126 = x_123; -} -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_120); -lean_ctor_set(x_126, 2, x_121); -lean_ctor_set(x_126, 3, x_122); -x_127 = lean_st_ref_set(x_6, x_126, x_98); -x_128 = lean_ctor_get(x_127, 1); -lean_inc(x_128); -lean_dec(x_127); -x_26 = x_128; -goto block_56; -} -} -block_56: +lean_dec(x_23); +x_25 = lean_st_ref_get(x_8, x_24); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_st_ref_take(x_6, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = !lean_is_exclusive(x_28); +if (x_30 == 0) { +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_28, 0); +lean_dec(x_31); +lean_ctor_set(x_28, 0, x_19); +x_32 = lean_st_ref_set(x_6, x_28, x_29); if (lean_obj_tag(x_21) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_25); -x_27 = lean_ctor_get(x_21, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_21, 1); -lean_inc(x_28); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_ctor_get(x_21, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_21, 1); +lean_inc(x_35); lean_dec(x_21); -x_29 = lean_apply_5(x_2, x_5, x_6, x_7, x_8, x_26); -if (lean_obj_tag(x_29) == 0) +x_36 = lean_apply_5(x_2, x_5, x_6, x_7, x_8, x_33); +if (lean_obj_tag(x_36) == 0) { -lean_dec(x_28); -lean_dec(x_27); +lean_dec(x_35); +lean_dec(x_34); lean_dec(x_4); lean_dec(x_3); -return x_29; +return x_36; } else { -lean_object* x_30; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -if (lean_obj_tag(x_30) == 0) +lean_object* x_37; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +if (lean_obj_tag(x_37) == 0) { -uint8_t x_31; -x_31 = !lean_is_exclusive(x_29); -if (x_31 == 0) +uint8_t x_38; +x_38 = !lean_is_exclusive(x_36); +if (x_38 == 0) { -lean_object* x_32; uint8_t x_33; -x_32 = lean_ctor_get(x_29, 0); -lean_dec(x_32); -x_33 = !lean_is_exclusive(x_30); -if (x_33 == 0) +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_36, 0); +lean_dec(x_39); +x_40 = !lean_is_exclusive(x_37); +if (x_40 == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_30, 0); -x_35 = lean_ctor_get(x_30, 1); -x_36 = lean_apply_2(x_3, x_27, x_34); -x_37 = lean_apply_2(x_4, x_28, x_35); -lean_ctor_set(x_30, 1, x_37); -lean_ctor_set(x_30, 0, x_36); -return x_29; +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_37, 0); +x_42 = lean_ctor_get(x_37, 1); +x_43 = lean_apply_2(x_3, x_34, x_41); +x_44 = lean_apply_2(x_4, x_35, x_42); +lean_ctor_set(x_37, 1, x_44); +lean_ctor_set(x_37, 0, x_43); +return x_36; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_38 = lean_ctor_get(x_30, 0); -x_39 = lean_ctor_get(x_30, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_30); -x_40 = lean_apply_2(x_3, x_27, x_38); -x_41 = lean_apply_2(x_4, x_28, x_39); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set(x_29, 0, x_42); -return x_29; -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_43 = lean_ctor_get(x_29, 1); -lean_inc(x_43); -lean_dec(x_29); -x_44 = lean_ctor_get(x_30, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_30, 1); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_45 = lean_ctor_get(x_37, 0); +x_46 = lean_ctor_get(x_37, 1); +lean_inc(x_46); lean_inc(x_45); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_46 = x_30; -} else { - lean_dec_ref(x_30); - x_46 = lean_box(0); -} -x_47 = lean_apply_2(x_3, x_27, x_44); -x_48 = lean_apply_2(x_4, x_28, x_45); -if (lean_is_scalar(x_46)) { - x_49 = lean_alloc_ctor(0, 2, 0); -} else { - x_49 = x_46; -} +lean_dec(x_37); +x_47 = lean_apply_2(x_3, x_34, x_45); +x_48 = lean_apply_2(x_4, x_35, x_46); +x_49 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_49, 0, x_47); lean_ctor_set(x_49, 1, x_48); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_43); -return x_50; +lean_ctor_set(x_36, 0, x_49); +return x_36; } } else { -uint8_t x_51; -lean_dec(x_28); -lean_dec(x_27); +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_50 = lean_ctor_get(x_36, 1); +lean_inc(x_50); +lean_dec(x_36); +x_51 = lean_ctor_get(x_37, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_37, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_53 = x_37; +} else { + lean_dec_ref(x_37); + x_53 = lean_box(0); +} +x_54 = lean_apply_2(x_3, x_34, x_51); +x_55 = lean_apply_2(x_4, x_35, x_52); +if (lean_is_scalar(x_53)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_53; +} +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_50); +return x_57; +} +} +else +{ +uint8_t x_58; +lean_dec(x_35); +lean_dec(x_34); lean_dec(x_4); lean_dec(x_3); -x_51 = !lean_is_exclusive(x_29); -if (x_51 == 0) +x_58 = !lean_is_exclusive(x_36); +if (x_58 == 0) { -lean_object* x_52; -x_52 = lean_ctor_get(x_29, 0); -lean_dec(x_52); -return x_29; +lean_object* x_59; +x_59 = lean_ctor_get(x_36, 0); +lean_dec(x_59); +return x_36; } else { -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_29, 1); -lean_inc(x_53); -lean_dec(x_29); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_30); -lean_ctor_set(x_54, 1, x_53); -return x_54; +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_36, 1); +lean_inc(x_60); +lean_dec(x_36); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_37); +lean_ctor_set(x_61, 1, x_60); +return x_61; } } } } else { -lean_object* x_55; +uint8_t x_62; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -31283,15 +26803,170 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -if (lean_is_scalar(x_25)) { - x_55 = lean_alloc_ctor(1, 2, 0); -} else { - x_55 = x_25; - lean_ctor_set_tag(x_55, 1); +x_62 = !lean_is_exclusive(x_32); +if (x_62 == 0) +{ +lean_object* x_63; +x_63 = lean_ctor_get(x_32, 0); +lean_dec(x_63); +lean_ctor_set_tag(x_32, 1); +lean_ctor_set(x_32, 0, x_21); +return x_32; } -lean_ctor_set(x_55, 0, x_21); -lean_ctor_set(x_55, 1, x_26); -return x_55; +else +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_32, 1); +lean_inc(x_64); +lean_dec(x_32); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_21); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_66 = lean_ctor_get(x_28, 1); +x_67 = lean_ctor_get(x_28, 2); +x_68 = lean_ctor_get(x_28, 3); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_28); +x_69 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_69, 0, x_19); +lean_ctor_set(x_69, 1, x_66); +lean_ctor_set(x_69, 2, x_67); +lean_ctor_set(x_69, 3, x_68); +x_70 = lean_st_ref_set(x_6, x_69, x_29); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_ctor_get(x_21, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_21, 1); +lean_inc(x_73); +lean_dec(x_21); +x_74 = lean_apply_5(x_2, x_5, x_6, x_7, x_8, x_71); +if (lean_obj_tag(x_74) == 0) +{ +lean_dec(x_73); +lean_dec(x_72); +lean_dec(x_4); +lean_dec(x_3); +return x_74; +} +else +{ +lean_object* x_75; +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_77 = x_74; +} else { + lean_dec_ref(x_74); + x_77 = lean_box(0); +} +x_78 = lean_ctor_get(x_75, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_75, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_80 = x_75; +} else { + lean_dec_ref(x_75); + x_80 = lean_box(0); +} +x_81 = lean_apply_2(x_3, x_72, x_78); +x_82 = lean_apply_2(x_4, x_73, x_79); +if (lean_is_scalar(x_80)) { + x_83 = lean_alloc_ctor(0, 2, 0); +} else { + x_83 = x_80; +} +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +if (lean_is_scalar(x_77)) { + x_84 = lean_alloc_ctor(1, 2, 0); +} else { + x_84 = x_77; +} +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_76); +return x_84; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec(x_73); +lean_dec(x_72); +lean_dec(x_4); +lean_dec(x_3); +x_85 = lean_ctor_get(x_74, 1); +lean_inc(x_85); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_86 = x_74; +} else { + lean_dec_ref(x_74); + x_86 = lean_box(0); +} +if (lean_is_scalar(x_86)) { + x_87 = lean_alloc_ctor(1, 2, 0); +} else { + x_87 = x_86; +} +lean_ctor_set(x_87, 0, x_75); +lean_ctor_set(x_87, 1, x_85); +return x_87; +} +} +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_88 = lean_ctor_get(x_70, 1); +lean_inc(x_88); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_89 = x_70; +} else { + lean_dec_ref(x_70); + x_89 = lean_box(0); +} +if (lean_is_scalar(x_89)) { + x_90 = lean_alloc_ctor(1, 2, 0); +} else { + x_90 = x_89; + lean_ctor_set_tag(x_90, 1); +} +lean_ctor_set(x_90, 0, x_21); +lean_ctor_set(x_90, 1, x_88); +return x_90; } } } @@ -31353,7 +27028,7 @@ return x_21; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +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; x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); @@ -31362,407 +27037,153 @@ lean_dec(x_21); x_24 = l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(x_14, x_6, x_7, x_8, x_9, x_23); x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); -if (lean_is_exclusive(x_24)) { - lean_ctor_release(x_24, 0); - lean_ctor_release(x_24, 1); - x_26 = x_24; -} else { - lean_dec_ref(x_24); - x_26 = lean_box(0); -} -x_58 = lean_st_ref_get(x_9, x_25); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = lean_st_ref_take(x_7, x_59); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get_uint8(x_20, sizeof(void*)*8); -if (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; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_63 = lean_ctor_get(x_61, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_60, 1); -lean_inc(x_64); -lean_dec(x_60); -x_65 = lean_ctor_get(x_20, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_20, 1); -lean_inc(x_66); -x_67 = lean_ctor_get(x_20, 2); -lean_inc(x_67); -x_68 = lean_ctor_get(x_20, 3); -lean_inc(x_68); -x_69 = lean_ctor_get(x_20, 4); -lean_inc(x_69); -x_70 = lean_ctor_get(x_20, 5); -lean_inc(x_70); -x_71 = lean_ctor_get(x_20, 6); -lean_inc(x_71); -x_72 = lean_ctor_get(x_20, 7); -lean_inc(x_72); -lean_dec(x_20); -x_73 = !lean_is_exclusive(x_61); -if (x_73 == 0) -{ -lean_object* x_74; uint8_t x_75; -x_74 = lean_ctor_get(x_61, 0); -lean_dec(x_74); -x_75 = !lean_is_exclusive(x_63); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_76 = lean_ctor_get(x_63, 7); -lean_dec(x_76); -x_77 = lean_ctor_get(x_63, 6); -lean_dec(x_77); -x_78 = lean_ctor_get(x_63, 5); -lean_dec(x_78); -x_79 = lean_ctor_get(x_63, 4); -lean_dec(x_79); -x_80 = lean_ctor_get(x_63, 3); -lean_dec(x_80); -x_81 = lean_ctor_get(x_63, 2); -lean_dec(x_81); -x_82 = lean_ctor_get(x_63, 1); -lean_dec(x_82); -x_83 = lean_ctor_get(x_63, 0); -lean_dec(x_83); -lean_ctor_set(x_63, 7, x_72); -lean_ctor_set(x_63, 6, x_71); -lean_ctor_set(x_63, 5, x_70); -lean_ctor_set(x_63, 4, x_69); -lean_ctor_set(x_63, 3, x_68); -lean_ctor_set(x_63, 2, x_67); -lean_ctor_set(x_63, 1, x_66); -lean_ctor_set(x_63, 0, x_65); -x_84 = lean_st_ref_set(x_7, x_61, x_64); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_27 = x_85; -goto block_57; -} -else -{ -uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_86 = lean_ctor_get_uint8(x_63, sizeof(void*)*8); -lean_dec(x_63); -x_87 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_87, 0, x_65); -lean_ctor_set(x_87, 1, x_66); -lean_ctor_set(x_87, 2, x_67); -lean_ctor_set(x_87, 3, x_68); -lean_ctor_set(x_87, 4, x_69); -lean_ctor_set(x_87, 5, x_70); -lean_ctor_set(x_87, 6, x_71); -lean_ctor_set(x_87, 7, x_72); -lean_ctor_set_uint8(x_87, sizeof(void*)*8, x_86); -lean_ctor_set(x_61, 0, x_87); -x_88 = lean_st_ref_set(x_7, x_61, x_64); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_27 = x_89; -goto block_57; -} -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_90 = lean_ctor_get(x_61, 1); -x_91 = lean_ctor_get(x_61, 2); -x_92 = lean_ctor_get(x_61, 3); -lean_inc(x_92); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_61); -x_93 = lean_ctor_get_uint8(x_63, sizeof(void*)*8); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - lean_ctor_release(x_63, 2); - lean_ctor_release(x_63, 3); - lean_ctor_release(x_63, 4); - lean_ctor_release(x_63, 5); - lean_ctor_release(x_63, 6); - lean_ctor_release(x_63, 7); - x_94 = x_63; -} else { - lean_dec_ref(x_63); - x_94 = lean_box(0); -} -if (lean_is_scalar(x_94)) { - x_95 = lean_alloc_ctor(0, 8, 1); -} else { - x_95 = x_94; -} -lean_ctor_set(x_95, 0, x_65); -lean_ctor_set(x_95, 1, x_66); -lean_ctor_set(x_95, 2, x_67); -lean_ctor_set(x_95, 3, x_68); -lean_ctor_set(x_95, 4, x_69); -lean_ctor_set(x_95, 5, x_70); -lean_ctor_set(x_95, 6, x_71); -lean_ctor_set(x_95, 7, x_72); -lean_ctor_set_uint8(x_95, sizeof(void*)*8, x_93); -x_96 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_90); -lean_ctor_set(x_96, 2, x_91); -lean_ctor_set(x_96, 3, x_92); -x_97 = lean_st_ref_set(x_7, x_96, x_64); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_27 = x_98; -goto block_57; -} -} -else -{ -lean_object* x_99; uint8_t x_100; -x_99 = lean_ctor_get(x_60, 1); -lean_inc(x_99); -lean_dec(x_60); -x_100 = !lean_is_exclusive(x_20); -if (x_100 == 0) -{ -uint8_t x_101; -x_101 = !lean_is_exclusive(x_61); -if (x_101 == 0) -{ -lean_object* x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; -x_102 = lean_ctor_get(x_61, 0); -lean_dec(x_102); -x_103 = 1; -lean_ctor_set_uint8(x_20, sizeof(void*)*8, x_103); -lean_ctor_set(x_61, 0, x_20); -x_104 = lean_st_ref_set(x_7, x_61, x_99); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); -lean_dec(x_104); -x_27 = x_105; -goto block_57; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_106 = lean_ctor_get(x_61, 1); -x_107 = lean_ctor_get(x_61, 2); -x_108 = lean_ctor_get(x_61, 3); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_61); -x_109 = 1; -lean_ctor_set_uint8(x_20, sizeof(void*)*8, x_109); -x_110 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_110, 0, x_20); -lean_ctor_set(x_110, 1, x_106); -lean_ctor_set(x_110, 2, x_107); -lean_ctor_set(x_110, 3, x_108); -x_111 = lean_st_ref_set(x_7, x_110, x_99); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -lean_dec(x_111); -x_27 = x_112; -goto block_57; -} -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_113 = lean_ctor_get(x_20, 0); -x_114 = lean_ctor_get(x_20, 1); -x_115 = lean_ctor_get(x_20, 2); -x_116 = lean_ctor_get(x_20, 3); -x_117 = lean_ctor_get(x_20, 4); -x_118 = lean_ctor_get(x_20, 5); -x_119 = lean_ctor_get(x_20, 6); -x_120 = lean_ctor_get(x_20, 7); -lean_inc(x_120); -lean_inc(x_119); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_20); -x_121 = lean_ctor_get(x_61, 1); -lean_inc(x_121); -x_122 = lean_ctor_get(x_61, 2); -lean_inc(x_122); -x_123 = lean_ctor_get(x_61, 3); -lean_inc(x_123); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - lean_ctor_release(x_61, 2); - lean_ctor_release(x_61, 3); - x_124 = x_61; -} else { - lean_dec_ref(x_61); - x_124 = lean_box(0); -} -x_125 = 1; -x_126 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_126, 0, x_113); -lean_ctor_set(x_126, 1, x_114); -lean_ctor_set(x_126, 2, x_115); -lean_ctor_set(x_126, 3, x_116); -lean_ctor_set(x_126, 4, x_117); -lean_ctor_set(x_126, 5, x_118); -lean_ctor_set(x_126, 6, x_119); -lean_ctor_set(x_126, 7, x_120); -lean_ctor_set_uint8(x_126, sizeof(void*)*8, x_125); -if (lean_is_scalar(x_124)) { - x_127 = lean_alloc_ctor(0, 4, 0); -} else { - x_127 = x_124; -} -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_121); -lean_ctor_set(x_127, 2, x_122); -lean_ctor_set(x_127, 3, x_123); -x_128 = lean_st_ref_set(x_7, x_127, x_99); -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -lean_dec(x_128); -x_27 = x_129; -goto block_57; -} -} -block_57: +lean_dec(x_24); +x_26 = lean_st_ref_get(x_9, x_25); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_st_ref_take(x_7, x_27); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +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, 0); +lean_dec(x_32); +lean_ctor_set(x_29, 0, x_20); +x_33 = lean_st_ref_set(x_7, x_29, x_30); if (lean_obj_tag(x_22) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_26); -x_28 = lean_ctor_get(x_22, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_22, 1); -lean_inc(x_29); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = lean_ctor_get(x_22, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_22, 1); +lean_inc(x_36); lean_dec(x_22); -x_30 = lean_apply_7(x_5, lean_box(0), x_2, x_6, x_7, x_8, x_9, x_27); -if (lean_obj_tag(x_30) == 0) +x_37 = lean_apply_7(x_5, lean_box(0), x_2, x_6, x_7, x_8, x_9, x_34); +if (lean_obj_tag(x_37) == 0) { -lean_dec(x_29); -lean_dec(x_28); +lean_dec(x_36); +lean_dec(x_35); lean_dec(x_4); lean_dec(x_3); -return x_30; +return x_37; } else { -lean_object* x_31; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) +lean_object* x_38; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -uint8_t x_32; -x_32 = !lean_is_exclusive(x_30); -if (x_32 == 0) +uint8_t x_39; +x_39 = !lean_is_exclusive(x_37); +if (x_39 == 0) { -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_30, 0); -lean_dec(x_33); -x_34 = !lean_is_exclusive(x_31); -if (x_34 == 0) +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_37, 0); +lean_dec(x_40); +x_41 = !lean_is_exclusive(x_38); +if (x_41 == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_35 = lean_ctor_get(x_31, 0); -x_36 = lean_ctor_get(x_31, 1); -x_37 = lean_apply_2(x_3, x_28, x_35); -x_38 = lean_apply_2(x_4, x_29, x_36); -lean_ctor_set(x_31, 1, x_38); -lean_ctor_set(x_31, 0, x_37); -return x_30; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_42 = lean_ctor_get(x_38, 0); +x_43 = lean_ctor_get(x_38, 1); +x_44 = lean_apply_2(x_3, x_35, x_42); +x_45 = lean_apply_2(x_4, x_36, x_43); +lean_ctor_set(x_38, 1, x_45); +lean_ctor_set(x_38, 0, x_44); +return x_37; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_39 = lean_ctor_get(x_31, 0); -x_40 = lean_ctor_get(x_31, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_31); -x_41 = lean_apply_2(x_3, x_28, x_39); -x_42 = lean_apply_2(x_4, x_29, x_40); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -lean_ctor_set(x_30, 0, x_43); -return x_30; -} -} -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; -x_44 = lean_ctor_get(x_30, 1); -lean_inc(x_44); -lean_dec(x_30); -x_45 = lean_ctor_get(x_31, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_31, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_46 = lean_ctor_get(x_38, 0); +x_47 = lean_ctor_get(x_38, 1); +lean_inc(x_47); lean_inc(x_46); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - x_47 = x_31; -} else { - lean_dec_ref(x_31); - x_47 = lean_box(0); -} -x_48 = lean_apply_2(x_3, x_28, x_45); -x_49 = lean_apply_2(x_4, x_29, x_46); -if (lean_is_scalar(x_47)) { - x_50 = lean_alloc_ctor(0, 2, 0); -} else { - x_50 = x_47; -} +lean_dec(x_38); +x_48 = lean_apply_2(x_3, x_35, x_46); +x_49 = lean_apply_2(x_4, x_36, x_47); +x_50 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_50, 0, x_48); lean_ctor_set(x_50, 1, x_49); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_44); -return x_51; +lean_ctor_set(x_37, 0, x_50); +return x_37; } } else { -uint8_t x_52; -lean_dec(x_29); -lean_dec(x_28); +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_51 = lean_ctor_get(x_37, 1); +lean_inc(x_51); +lean_dec(x_37); +x_52 = lean_ctor_get(x_38, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_38, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_54 = x_38; +} else { + lean_dec_ref(x_38); + x_54 = lean_box(0); +} +x_55 = lean_apply_2(x_3, x_35, x_52); +x_56 = lean_apply_2(x_4, x_36, x_53); +if (lean_is_scalar(x_54)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_54; +} +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_51); +return x_58; +} +} +else +{ +uint8_t x_59; +lean_dec(x_36); +lean_dec(x_35); lean_dec(x_4); lean_dec(x_3); -x_52 = !lean_is_exclusive(x_30); -if (x_52 == 0) +x_59 = !lean_is_exclusive(x_37); +if (x_59 == 0) { -lean_object* x_53; -x_53 = lean_ctor_get(x_30, 0); -lean_dec(x_53); -return x_30; +lean_object* x_60; +x_60 = lean_ctor_get(x_37, 0); +lean_dec(x_60); +return x_37; } else { -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_30, 1); -lean_inc(x_54); -lean_dec(x_30); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_31); -lean_ctor_set(x_55, 1, x_54); -return x_55; +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_37, 1); +lean_inc(x_61); +lean_dec(x_37); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_38); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } } else { -lean_object* x_56; +uint8_t x_63; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -31771,15 +27192,171 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -if (lean_is_scalar(x_26)) { - x_56 = lean_alloc_ctor(1, 2, 0); -} else { - x_56 = x_26; - lean_ctor_set_tag(x_56, 1); +x_63 = !lean_is_exclusive(x_33); +if (x_63 == 0) +{ +lean_object* x_64; +x_64 = lean_ctor_get(x_33, 0); +lean_dec(x_64); +lean_ctor_set_tag(x_33, 1); +lean_ctor_set(x_33, 0, x_22); +return x_33; } -lean_ctor_set(x_56, 0, x_22); -lean_ctor_set(x_56, 1, x_27); -return x_56; +else +{ +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_33, 1); +lean_inc(x_65); +lean_dec(x_33); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_22); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_29, 1); +x_68 = lean_ctor_get(x_29, 2); +x_69 = lean_ctor_get(x_29, 3); +lean_inc(x_69); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_29); +x_70 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_70, 0, x_20); +lean_ctor_set(x_70, 1, x_67); +lean_ctor_set(x_70, 2, x_68); +lean_ctor_set(x_70, 3, x_69); +x_71 = lean_st_ref_set(x_7, x_70, x_30); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); +lean_dec(x_71); +x_73 = lean_ctor_get(x_22, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_22, 1); +lean_inc(x_74); +lean_dec(x_22); +x_75 = lean_apply_7(x_5, lean_box(0), x_2, x_6, x_7, x_8, x_9, x_72); +if (lean_obj_tag(x_75) == 0) +{ +lean_dec(x_74); +lean_dec(x_73); +lean_dec(x_4); +lean_dec(x_3); +return x_75; +} +else +{ +lean_object* x_76; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +if (lean_obj_tag(x_76) == 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; +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_78 = x_75; +} else { + lean_dec_ref(x_75); + x_78 = lean_box(0); +} +x_79 = lean_ctor_get(x_76, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_76, 1); +lean_inc(x_80); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + x_81 = x_76; +} else { + lean_dec_ref(x_76); + x_81 = lean_box(0); +} +x_82 = lean_apply_2(x_3, x_73, x_79); +x_83 = lean_apply_2(x_4, x_74, x_80); +if (lean_is_scalar(x_81)) { + x_84 = lean_alloc_ctor(0, 2, 0); +} else { + x_84 = x_81; +} +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +if (lean_is_scalar(x_78)) { + x_85 = lean_alloc_ctor(1, 2, 0); +} else { + x_85 = x_78; +} +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_77); +return x_85; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_dec(x_74); +lean_dec(x_73); +lean_dec(x_4); +lean_dec(x_3); +x_86 = lean_ctor_get(x_75, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_87 = x_75; +} else { + lean_dec_ref(x_75); + x_87 = lean_box(0); +} +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(1, 2, 0); +} else { + x_88 = x_87; +} +lean_ctor_set(x_88, 0, x_76); +lean_ctor_set(x_88, 1, x_86); +return x_88; +} +} +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_89 = lean_ctor_get(x_71, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + x_90 = x_71; +} else { + lean_dec_ref(x_71); + x_90 = lean_box(0); +} +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(1, 2, 0); +} else { + x_91 = x_90; + lean_ctor_set_tag(x_91, 1); +} +lean_ctor_set(x_91, 0, x_22); +lean_ctor_set(x_91, 1, x_89); +return x_91; } } } @@ -35219,6 +30796,16 @@ goto _start; } } } +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -37370,7 +32957,7 @@ static lean_object* _init_l___private_Lean_Meta_Basic_0__Lean_Meta_processPostpo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__2; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__2; x_2 = l___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -38778,6 +34365,19 @@ lean_dec(x_4); return x_16; } } +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Std_PersistentArray_forIn___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -41159,223 +36759,744 @@ return x_10; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_22; +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; x_8 = l_Lean_Meta_saveState___rarg(x_4, x_5, x_6, x_7); x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = l_Lean_Meta_getResetPostponed(x_3, x_4, x_5, x_6, x_10); -x_12 = lean_ctor_get(x_11, 0); +x_11 = lean_st_ref_get(x_6, x_10); +x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); lean_dec(x_11); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_22 = lean_apply_5(x_1, x_3, x_4, x_5, x_6, x_13); -if (lean_obj_tag(x_22) == 0) +x_13 = lean_st_ref_take(x_4, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = !lean_is_exclusive(x_14); +if (x_17 == 0) { -lean_object* x_23; uint8_t x_24; -x_23 = lean_ctor_get(x_22, 0); +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_14, 1); +lean_dec(x_18); +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +lean_object* x_20; 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_35; +x_20 = lean_ctor_get(x_15, 5); +lean_dec(x_20); +x_21 = l_Lean_Meta_Cache_defEq___default___closed__3; +lean_ctor_set(x_15, 5, x_21); +x_22 = lean_st_ref_set(x_4, x_14, x_16); +x_23 = lean_ctor_get(x_22, 1); lean_inc(x_23); -x_24 = lean_unbox(x_23); -lean_dec(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; uint8_t x_27; -lean_dec(x_12); -x_25 = lean_ctor_get(x_22, 1); +lean_dec(x_22); +x_24 = l_Lean_Meta_getResetPostponed(x_3, x_4, x_5, x_6, x_23); +x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -lean_dec(x_22); -x_26 = l_Lean_Meta_SavedState_restore(x_9, x_3, x_4, x_5, x_6, x_25); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -lean_object* x_28; uint8_t x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_26, 0); -lean_dec(x_28); -x_29 = 0; -x_30 = lean_box(x_29); -lean_ctor_set(x_26, 0, x_30); -return x_26; -} -else -{ -lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; -x_31 = lean_ctor_get(x_26, 1); -lean_inc(x_31); -lean_dec(x_26); -x_32 = 0; -x_33 = lean_box(x_32); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_31); -return x_34; -} -} -else -{ -lean_object* x_35; uint8_t x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_22, 1); -lean_inc(x_35); -lean_dec(x_22); -x_36 = 0; +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_37 = l_Lean_Meta_processPostponed(x_2, x_36, x_3, x_4, x_5, x_6, x_35); -if (lean_obj_tag(x_37) == 0) +x_35 = lean_apply_5(x_1, x_3, x_4, x_5, x_6, x_26); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_38; uint8_t x_39; -x_38 = lean_ctor_get(x_37, 0); +lean_object* x_36; uint8_t x_37; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_unbox(x_36); +lean_dec(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; +lean_dec(x_25); +x_38 = lean_ctor_get(x_35, 1); lean_inc(x_38); -x_39 = lean_unbox(x_38); -lean_dec(x_38); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; -lean_dec(x_12); -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_40); -lean_dec(x_37); -x_41 = l_Lean_Meta_SavedState_restore(x_9, x_3, x_4, x_5, x_6, x_40); +lean_dec(x_35); +x_39 = l_Lean_Meta_SavedState_restore(x_9, x_3, x_4, x_5, x_6, x_38); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) +lean_dec(x_9); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) { -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_41, 0); -lean_dec(x_43); -x_44 = lean_box(x_36); -lean_ctor_set(x_41, 0, x_44); -return x_41; +lean_object* x_41; uint8_t x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_39, 0); +lean_dec(x_41); +x_42 = 0; +x_43 = lean_box(x_42); +lean_ctor_set(x_39, 0, x_43); +return x_39; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_41, 1); -lean_inc(x_45); -lean_dec(x_41); -x_46 = lean_box(x_36); +lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_39, 1); +lean_inc(x_44); +lean_dec(x_39); +x_45 = 0; +x_46 = lean_box(x_45); x_47 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); +lean_ctor_set(x_47, 1, x_44); return x_47; } } 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; uint8_t x_54; -lean_dec(x_9); -x_48 = lean_ctor_get(x_37, 1); +lean_object* x_48; uint8_t x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_35, 1); lean_inc(x_48); -lean_dec(x_37); -x_49 = l_Lean_Meta_getPostponed___rarg(x_4, x_5, x_6, x_48); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); +lean_dec(x_35); +x_49 = 0; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_50 = l_Lean_Meta_processPostponed(x_2, x_49, x_3, x_4, x_5, x_6, x_48); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; uint8_t x_52; +x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); -lean_dec(x_49); -x_52 = l_Std_PersistentArray_append___rarg(x_12, x_50); -x_53 = l_Lean_Meta_setPostponed(x_52, x_3, x_4, x_5, x_6, x_51); +x_52 = lean_unbox(x_51); +lean_dec(x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_25); +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = l_Lean_Meta_SavedState_restore(x_9, x_3, x_4, x_5, x_6, x_53); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_54 = !lean_is_exclusive(x_53); -if (x_54 == 0) +lean_dec(x_9); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) { -lean_object* x_55; uint8_t x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_53, 0); -lean_dec(x_55); -x_56 = 1; -x_57 = lean_box(x_56); -lean_ctor_set(x_53, 0, x_57); -return x_53; +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_54, 0); +lean_dec(x_56); +x_57 = lean_box(x_49); +lean_ctor_set(x_54, 0, x_57); +return x_54; } else { -lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_53, 1); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_54, 1); lean_inc(x_58); -lean_dec(x_53); -x_59 = 1; -x_60 = lean_box(x_59); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_58); -return x_61; -} +lean_dec(x_54); +x_59 = lean_box(x_49); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +return x_60; } } else { -lean_object* x_62; lean_object* x_63; -lean_dec(x_12); -x_62 = lean_ctor_get(x_37, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_37, 1); +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +lean_dec(x_9); +x_61 = lean_ctor_get(x_50, 1); +lean_inc(x_61); +lean_dec(x_50); +x_62 = l_Lean_Meta_getPostponed___rarg(x_4, x_5, x_6, x_61); +x_63 = lean_ctor_get(x_62, 0); lean_inc(x_63); -lean_dec(x_37); -x_14 = x_62; -x_15 = x_63; -goto block_21; -} -} -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_12); -x_64 = lean_ctor_get(x_22, 0); +x_64 = lean_ctor_get(x_62, 1); lean_inc(x_64); -x_65 = lean_ctor_get(x_22, 1); -lean_inc(x_65); -lean_dec(x_22); -x_14 = x_64; -x_15 = x_65; -goto block_21; -} -block_21: -{ -lean_object* x_16; uint8_t x_17; -x_16 = l_Lean_Meta_SavedState_restore(x_9, x_3, x_4, x_5, x_6, x_15); +lean_dec(x_62); +x_65 = l_Std_PersistentArray_append___rarg(x_25, x_63); +x_66 = l_Lean_Meta_setPostponed(x_65, x_3, x_4, x_5, x_6, x_64); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) +x_67 = !lean_is_exclusive(x_66); +if (x_67 == 0) { -lean_object* x_18; -x_18 = lean_ctor_get(x_16, 0); -lean_dec(x_18); -lean_ctor_set_tag(x_16, 1); -lean_ctor_set(x_16, 0, x_14); -return x_16; +lean_object* x_68; uint8_t x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_66, 0); +lean_dec(x_68); +x_69 = 1; +x_70 = lean_box(x_69); +lean_ctor_set(x_66, 0, x_70); +return x_66; } else { -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_dec(x_16); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_14); -lean_ctor_set(x_20, 1, x_19); -return x_20; +lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_66, 1); +lean_inc(x_71); +lean_dec(x_66); +x_72 = 1; +x_73 = lean_box(x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_71); +return x_74; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_25); +x_75 = lean_ctor_get(x_50, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_50, 1); +lean_inc(x_76); +lean_dec(x_50); +x_27 = x_75; +x_28 = x_76; +goto block_34; +} +} +} +else +{ +lean_object* x_77; lean_object* x_78; +lean_dec(x_25); +x_77 = lean_ctor_get(x_35, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_35, 1); +lean_inc(x_78); +lean_dec(x_35); +x_27 = x_77; +x_28 = x_78; +goto block_34; +} +block_34: +{ +lean_object* x_29; uint8_t x_30; +x_29 = l_Lean_Meta_SavedState_restore(x_9, x_3, x_4, x_5, x_6, x_28); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_9); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_29, 0); +lean_dec(x_31); +lean_ctor_set_tag(x_29, 1); +lean_ctor_set(x_29, 0, x_27); +return x_29; +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_27); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +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; lean_object* x_92; lean_object* x_98; +x_79 = lean_ctor_get(x_15, 0); +x_80 = lean_ctor_get(x_15, 1); +x_81 = lean_ctor_get(x_15, 2); +x_82 = lean_ctor_get(x_15, 3); +x_83 = lean_ctor_get(x_15, 4); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_15); +x_84 = l_Lean_Meta_Cache_defEq___default___closed__3; +x_85 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_85, 0, x_79); +lean_ctor_set(x_85, 1, x_80); +lean_ctor_set(x_85, 2, x_81); +lean_ctor_set(x_85, 3, x_82); +lean_ctor_set(x_85, 4, x_83); +lean_ctor_set(x_85, 5, x_84); +lean_ctor_set(x_14, 1, x_85); +x_86 = lean_st_ref_set(x_4, x_14, x_16); +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +lean_dec(x_86); +x_88 = l_Lean_Meta_getResetPostponed(x_3, x_4, x_5, x_6, x_87); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec(x_88); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_98 = lean_apply_5(x_1, x_3, x_4, x_5, x_6, x_90); +if (lean_obj_tag(x_98) == 0) +{ +lean_object* x_99; uint8_t x_100; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_unbox(x_99); +lean_dec(x_99); +if (x_100 == 0) +{ +lean_object* x_101; 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_dec(x_89); +x_101 = lean_ctor_get(x_98, 1); +lean_inc(x_101); +lean_dec(x_98); +x_102 = l_Lean_Meta_SavedState_restore(x_9, x_3, x_4, x_5, x_6, x_101); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_9); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_104 = x_102; +} else { + lean_dec_ref(x_102); + x_104 = lean_box(0); +} +x_105 = 0; +x_106 = lean_box(x_105); +if (lean_is_scalar(x_104)) { + x_107 = lean_alloc_ctor(0, 2, 0); +} else { + x_107 = x_104; +} +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_103); +return x_107; +} +else +{ +lean_object* x_108; uint8_t x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_98, 1); +lean_inc(x_108); +lean_dec(x_98); +x_109 = 0; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_110 = l_Lean_Meta_processPostponed(x_2, x_109, x_3, x_4, x_5, x_6, x_108); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; uint8_t x_112; +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_unbox(x_111); +lean_dec(x_111); +if (x_112 == 0) +{ +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_89); +x_113 = lean_ctor_get(x_110, 1); +lean_inc(x_113); +lean_dec(x_110); +x_114 = l_Lean_Meta_SavedState_restore(x_9, x_3, x_4, x_5, x_6, x_113); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_9); +x_115 = lean_ctor_get(x_114, 1); +lean_inc(x_115); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_116 = x_114; +} else { + lean_dec_ref(x_114); + x_116 = lean_box(0); +} +x_117 = lean_box(x_109); +if (lean_is_scalar(x_116)) { + x_118 = lean_alloc_ctor(0, 2, 0); +} else { + x_118 = x_116; +} +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_115); +return x_118; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; +lean_dec(x_9); +x_119 = lean_ctor_get(x_110, 1); +lean_inc(x_119); +lean_dec(x_110); +x_120 = l_Lean_Meta_getPostponed___rarg(x_4, x_5, x_6, x_119); +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +lean_dec(x_120); +x_123 = l_Std_PersistentArray_append___rarg(x_89, x_121); +x_124 = l_Lean_Meta_setPostponed(x_123, x_3, x_4, x_5, x_6, x_122); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_126 = x_124; +} else { + lean_dec_ref(x_124); + x_126 = lean_box(0); +} +x_127 = 1; +x_128 = lean_box(x_127); +if (lean_is_scalar(x_126)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_126; +} +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_125); +return x_129; +} +} +else +{ +lean_object* x_130; lean_object* x_131; +lean_dec(x_89); +x_130 = lean_ctor_get(x_110, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_110, 1); +lean_inc(x_131); +lean_dec(x_110); +x_91 = x_130; +x_92 = x_131; +goto block_97; +} +} +} +else +{ +lean_object* x_132; lean_object* x_133; +lean_dec(x_89); +x_132 = lean_ctor_get(x_98, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_98, 1); +lean_inc(x_133); +lean_dec(x_98); +x_91 = x_132; +x_92 = x_133; +goto block_97; +} +block_97: +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_93 = l_Lean_Meta_SavedState_restore(x_9, x_3, x_4, x_5, x_6, x_92); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_9); +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_95 = x_93; +} else { + lean_dec_ref(x_93); + x_95 = lean_box(0); +} +if (lean_is_scalar(x_95)) { + x_96 = lean_alloc_ctor(1, 2, 0); +} else { + x_96 = x_95; + lean_ctor_set_tag(x_96, 1); +} +lean_ctor_set(x_96, 0, x_91); +lean_ctor_set(x_96, 1, x_94); +return x_96; +} +} +} +else +{ +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; 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_158; +x_134 = lean_ctor_get(x_14, 0); +x_135 = lean_ctor_get(x_14, 2); +x_136 = lean_ctor_get(x_14, 3); +lean_inc(x_136); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_14); +x_137 = lean_ctor_get(x_15, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_15, 1); +lean_inc(x_138); +x_139 = lean_ctor_get(x_15, 2); +lean_inc(x_139); +x_140 = lean_ctor_get(x_15, 3); +lean_inc(x_140); +x_141 = lean_ctor_get(x_15, 4); +lean_inc(x_141); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + lean_ctor_release(x_15, 2); + lean_ctor_release(x_15, 3); + lean_ctor_release(x_15, 4); + lean_ctor_release(x_15, 5); + x_142 = x_15; +} else { + lean_dec_ref(x_15); + x_142 = lean_box(0); +} +x_143 = l_Lean_Meta_Cache_defEq___default___closed__3; +if (lean_is_scalar(x_142)) { + x_144 = lean_alloc_ctor(0, 6, 0); +} else { + x_144 = x_142; +} +lean_ctor_set(x_144, 0, x_137); +lean_ctor_set(x_144, 1, x_138); +lean_ctor_set(x_144, 2, x_139); +lean_ctor_set(x_144, 3, x_140); +lean_ctor_set(x_144, 4, x_141); +lean_ctor_set(x_144, 5, x_143); +x_145 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_145, 0, x_134); +lean_ctor_set(x_145, 1, x_144); +lean_ctor_set(x_145, 2, x_135); +lean_ctor_set(x_145, 3, x_136); +x_146 = lean_st_ref_set(x_4, x_145, x_16); +x_147 = lean_ctor_get(x_146, 1); +lean_inc(x_147); +lean_dec(x_146); +x_148 = l_Lean_Meta_getResetPostponed(x_3, x_4, x_5, x_6, x_147); +x_149 = lean_ctor_get(x_148, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_148, 1); +lean_inc(x_150); +lean_dec(x_148); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_158 = lean_apply_5(x_1, x_3, x_4, x_5, x_6, x_150); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; uint8_t x_160; +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +x_160 = lean_unbox(x_159); +lean_dec(x_159); +if (x_160 == 0) +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; lean_object* x_166; lean_object* x_167; +lean_dec(x_149); +x_161 = lean_ctor_get(x_158, 1); +lean_inc(x_161); +lean_dec(x_158); +x_162 = l_Lean_Meta_SavedState_restore(x_9, x_3, x_4, x_5, x_6, x_161); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_9); +x_163 = lean_ctor_get(x_162, 1); +lean_inc(x_163); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_164 = x_162; +} else { + lean_dec_ref(x_162); + x_164 = lean_box(0); +} +x_165 = 0; +x_166 = lean_box(x_165); +if (lean_is_scalar(x_164)) { + x_167 = lean_alloc_ctor(0, 2, 0); +} else { + x_167 = x_164; +} +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_163); +return x_167; +} +else +{ +lean_object* x_168; uint8_t x_169; lean_object* x_170; +x_168 = lean_ctor_get(x_158, 1); +lean_inc(x_168); +lean_dec(x_158); +x_169 = 0; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_170 = l_Lean_Meta_processPostponed(x_2, x_169, x_3, x_4, x_5, x_6, x_168); +if (lean_obj_tag(x_170) == 0) +{ +lean_object* x_171; uint8_t x_172; +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_unbox(x_171); +lean_dec(x_171); +if (x_172 == 0) +{ +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_149); +x_173 = lean_ctor_get(x_170, 1); +lean_inc(x_173); +lean_dec(x_170); +x_174 = l_Lean_Meta_SavedState_restore(x_9, x_3, x_4, x_5, x_6, x_173); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_9); +x_175 = lean_ctor_get(x_174, 1); +lean_inc(x_175); +if (lean_is_exclusive(x_174)) { + lean_ctor_release(x_174, 0); + lean_ctor_release(x_174, 1); + x_176 = x_174; +} else { + lean_dec_ref(x_174); + x_176 = lean_box(0); +} +x_177 = lean_box(x_169); +if (lean_is_scalar(x_176)) { + x_178 = lean_alloc_ctor(0, 2, 0); +} else { + x_178 = x_176; +} +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_175); +return x_178; +} +else +{ +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; uint8_t x_187; lean_object* x_188; lean_object* x_189; +lean_dec(x_9); +x_179 = lean_ctor_get(x_170, 1); +lean_inc(x_179); +lean_dec(x_170); +x_180 = l_Lean_Meta_getPostponed___rarg(x_4, x_5, x_6, x_179); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_180, 1); +lean_inc(x_182); +lean_dec(x_180); +x_183 = l_Std_PersistentArray_append___rarg(x_149, x_181); +x_184 = l_Lean_Meta_setPostponed(x_183, x_3, x_4, x_5, x_6, x_182); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_185 = lean_ctor_get(x_184, 1); +lean_inc(x_185); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_186 = x_184; +} else { + lean_dec_ref(x_184); + x_186 = lean_box(0); +} +x_187 = 1; +x_188 = lean_box(x_187); +if (lean_is_scalar(x_186)) { + x_189 = lean_alloc_ctor(0, 2, 0); +} else { + x_189 = x_186; +} +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_185); +return x_189; +} +} +else +{ +lean_object* x_190; lean_object* x_191; +lean_dec(x_149); +x_190 = lean_ctor_get(x_170, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_170, 1); +lean_inc(x_191); +lean_dec(x_170); +x_151 = x_190; +x_152 = x_191; +goto block_157; +} +} +} +else +{ +lean_object* x_192; lean_object* x_193; +lean_dec(x_149); +x_192 = lean_ctor_get(x_158, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_158, 1); +lean_inc(x_193); +lean_dec(x_158); +x_151 = x_192; +x_152 = x_193; +goto block_157; +} +block_157: +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_153 = l_Lean_Meta_SavedState_restore(x_9, x_3, x_4, x_5, x_6, x_152); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_9); +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +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_153); + x_155 = lean_box(0); +} +if (lean_is_scalar(x_155)) { + x_156 = lean_alloc_ctor(1, 2, 0); +} else { + x_156 = x_155; + lean_ctor_set_tag(x_156, 1); +} +lean_ctor_set(x_156, 0, x_151); +lean_ctor_set(x_156, 1, x_154); +return x_156; } } } @@ -41393,223 +37514,744 @@ return x_9; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isLevelDefEq___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, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_23; +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; x_9 = l_Lean_Meta_saveState___rarg(x_5, x_6, x_7, x_8); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_12 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_11); -x_13 = lean_ctor_get(x_12, 0); +x_12 = lean_st_ref_get(x_7, x_11); +x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); lean_dec(x_12); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_23 = lean_is_level_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_14); -if (lean_obj_tag(x_23) == 0) +x_14 = lean_st_ref_take(x_5, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) { -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_23, 0); +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_15, 1); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +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_36; +x_21 = lean_ctor_get(x_16, 5); +lean_dec(x_21); +x_22 = l_Lean_Meta_Cache_defEq___default___closed__3; +lean_ctor_set(x_16, 5, x_22); +x_23 = lean_st_ref_set(x_5, x_15, x_17); +x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); -x_25 = lean_unbox(x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -lean_dec(x_13); -x_26 = lean_ctor_get(x_23, 1); +lean_dec(x_23); +x_25 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_24); +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_23); -x_27 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_26); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -x_30 = 0; -x_31 = lean_box(x_30); -lean_ctor_set(x_27, 0, x_31); -return x_27; -} -else -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_dec(x_27); -x_33 = 0; -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -else -{ -lean_object* x_36; uint8_t x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_23, 1); -lean_inc(x_36); -lean_dec(x_23); -x_37 = 0; +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_38 = l_Lean_Meta_processPostponed(x_3, x_37, x_4, x_5, x_6, x_7, x_36); -if (lean_obj_tag(x_38) == 0) +x_36 = lean_is_level_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_27); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_39; uint8_t x_40; -x_39 = lean_ctor_get(x_38, 0); +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_unbox(x_37); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_dec(x_26); +x_39 = lean_ctor_get(x_36, 1); lean_inc(x_39); -x_40 = lean_unbox(x_39); -lean_dec(x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_13); -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_42 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_41); +lean_dec(x_36); +x_40 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_39); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +lean_dec(x_10); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -x_45 = lean_box(x_37); -lean_ctor_set(x_42, 0, x_45); -return x_42; +lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +x_43 = 0; +x_44 = lean_box(x_43); +lean_ctor_set(x_40, 0, x_44); +return x_40; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = lean_box(x_37); +lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = 0; +x_47 = lean_box(x_46); x_48 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 1, x_45); return x_48; } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -lean_dec(x_10); -x_49 = lean_ctor_get(x_38, 1); +lean_object* x_49; uint8_t x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_36, 1); lean_inc(x_49); -lean_dec(x_38); -x_50 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); +lean_dec(x_36); +x_50 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_51 = l_Lean_Meta_processPostponed(x_3, x_50, x_4, x_5, x_6, x_7, x_49); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Std_PersistentArray_append___rarg(x_13, x_51); -x_54 = l_Lean_Meta_setPostponed(x_53, x_4, x_5, x_6, x_7, x_52); +x_53 = lean_unbox(x_52); +lean_dec(x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_dec(x_26); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_54); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) +lean_dec(x_10); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) { -lean_object* x_56; uint8_t x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -x_57 = 1; -x_58 = lean_box(x_57); -lean_ctor_set(x_54, 0, x_58); -return x_54; +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +x_58 = lean_box(x_50); +lean_ctor_set(x_55, 0, x_58); +return x_55; } else { -lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_54, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_55, 1); lean_inc(x_59); -lean_dec(x_54); -x_60 = 1; -x_61 = lean_box(x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_59); -return x_62; -} +lean_dec(x_55); +x_60 = lean_box(x_50); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +return x_61; } } else { -lean_object* x_63; lean_object* x_64; -lean_dec(x_13); -x_63 = lean_ctor_get(x_38, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_38, 1); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_10); +x_62 = lean_ctor_get(x_51, 1); +lean_inc(x_62); +lean_dec(x_51); +x_63 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_62); +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec(x_38); -x_15 = x_63; -x_16 = x_64; -goto block_22; -} -} -} -else -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_13); -x_65 = lean_ctor_get(x_23, 0); +x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_23, 1); -lean_inc(x_66); -lean_dec(x_23); -x_15 = x_65; -x_16 = x_66; -goto block_22; -} -block_22: -{ -lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_16); +lean_dec(x_63); +x_66 = l_Std_PersistentArray_append___rarg(x_26, x_64); +x_67 = l_Lean_Meta_setPostponed(x_66, x_4, x_5, x_6, x_7, x_65); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -lean_ctor_set_tag(x_17, 1); -lean_ctor_set(x_17, 0, x_15); -return x_17; +lean_object* x_69; uint8_t x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_67, 0); +lean_dec(x_69); +x_70 = 1; +x_71 = lean_box(x_70); +lean_ctor_set(x_67, 0, x_71); +return x_67; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_15); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_67, 1); +lean_inc(x_72); +lean_dec(x_67); +x_73 = 1; +x_74 = lean_box(x_73); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_72); +return x_75; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_26); +x_76 = lean_ctor_get(x_51, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_51, 1); +lean_inc(x_77); +lean_dec(x_51); +x_28 = x_76; +x_29 = x_77; +goto block_35; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_26); +x_78 = lean_ctor_get(x_36, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_36, 1); +lean_inc(x_79); +lean_dec(x_36); +x_28 = x_78; +x_29 = x_79; +goto block_35; +} +block_35: +{ +lean_object* x_30; uint8_t x_31; +x_30 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_29); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_30, 0); +lean_dec(x_32); +lean_ctor_set_tag(x_30, 1); +lean_ctor_set(x_30, 0, x_28); +return x_30; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_28); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +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; lean_object* x_93; lean_object* x_99; +x_80 = lean_ctor_get(x_16, 0); +x_81 = lean_ctor_get(x_16, 1); +x_82 = lean_ctor_get(x_16, 2); +x_83 = lean_ctor_get(x_16, 3); +x_84 = lean_ctor_get(x_16, 4); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_16); +x_85 = l_Lean_Meta_Cache_defEq___default___closed__3; +x_86 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_86, 0, x_80); +lean_ctor_set(x_86, 1, x_81); +lean_ctor_set(x_86, 2, x_82); +lean_ctor_set(x_86, 3, x_83); +lean_ctor_set(x_86, 4, x_84); +lean_ctor_set(x_86, 5, x_85); +lean_ctor_set(x_15, 1, x_86); +x_87 = lean_st_ref_set(x_5, x_15, x_17); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_99 = lean_is_level_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_91); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; uint8_t x_101; +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; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_90); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +x_103 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_102); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_105 = x_103; +} else { + lean_dec_ref(x_103); + x_105 = lean_box(0); +} +x_106 = 0; +x_107 = lean_box(x_106); +if (lean_is_scalar(x_105)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_105; +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_104); +return x_108; +} +else +{ +lean_object* x_109; uint8_t x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_99, 1); +lean_inc(x_109); +lean_dec(x_99); +x_110 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_111 = l_Lean_Meta_processPostponed(x_3, x_110, x_4, x_5, x_6, x_7, x_109); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; uint8_t x_113; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_unbox(x_112); +lean_dec(x_112); +if (x_113 == 0) +{ +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_dec(x_90); +x_114 = lean_ctor_get(x_111, 1); +lean_inc(x_114); +lean_dec(x_111); +x_115 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_114); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_117 = x_115; +} else { + lean_dec_ref(x_115); + x_117 = lean_box(0); +} +x_118 = lean_box(x_110); +if (lean_is_scalar(x_117)) { + x_119 = lean_alloc_ctor(0, 2, 0); +} else { + x_119 = x_117; +} +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_116); +return x_119; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_10); +x_120 = lean_ctor_get(x_111, 1); +lean_inc(x_120); +lean_dec(x_111); +x_121 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = l_Std_PersistentArray_append___rarg(x_90, x_122); +x_125 = l_Lean_Meta_setPostponed(x_124, x_4, x_5, x_6, x_7, x_123); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_127 = x_125; +} else { + lean_dec_ref(x_125); + x_127 = lean_box(0); +} +x_128 = 1; +x_129 = lean_box(x_128); +if (lean_is_scalar(x_127)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_127; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_126); +return x_130; +} +} +else +{ +lean_object* x_131; lean_object* x_132; +lean_dec(x_90); +x_131 = lean_ctor_get(x_111, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_111, 1); +lean_inc(x_132); +lean_dec(x_111); +x_92 = x_131; +x_93 = x_132; +goto block_98; +} +} +} +else +{ +lean_object* x_133; lean_object* x_134; +lean_dec(x_90); +x_133 = lean_ctor_get(x_99, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_99, 1); +lean_inc(x_134); +lean_dec(x_99); +x_92 = x_133; +x_93 = x_134; +goto block_98; +} +block_98: +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_94 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_93); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_96 = x_94; +} else { + lean_dec_ref(x_94); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); +} else { + x_97 = x_96; + lean_ctor_set_tag(x_97, 1); +} +lean_ctor_set(x_97, 0, x_92); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_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_159; +x_135 = lean_ctor_get(x_15, 0); +x_136 = lean_ctor_get(x_15, 2); +x_137 = lean_ctor_get(x_15, 3); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_15); +x_138 = lean_ctor_get(x_16, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_16, 1); +lean_inc(x_139); +x_140 = lean_ctor_get(x_16, 2); +lean_inc(x_140); +x_141 = lean_ctor_get(x_16, 3); +lean_inc(x_141); +x_142 = lean_ctor_get(x_16, 4); +lean_inc(x_142); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + lean_ctor_release(x_16, 3); + lean_ctor_release(x_16, 4); + lean_ctor_release(x_16, 5); + x_143 = x_16; +} else { + lean_dec_ref(x_16); + x_143 = lean_box(0); +} +x_144 = l_Lean_Meta_Cache_defEq___default___closed__3; +if (lean_is_scalar(x_143)) { + x_145 = lean_alloc_ctor(0, 6, 0); +} else { + x_145 = x_143; +} +lean_ctor_set(x_145, 0, x_138); +lean_ctor_set(x_145, 1, x_139); +lean_ctor_set(x_145, 2, x_140); +lean_ctor_set(x_145, 3, x_141); +lean_ctor_set(x_145, 4, x_142); +lean_ctor_set(x_145, 5, x_144); +x_146 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_146, 0, x_135); +lean_ctor_set(x_146, 1, x_145); +lean_ctor_set(x_146, 2, x_136); +lean_ctor_set(x_146, 3, x_137); +x_147 = lean_st_ref_set(x_5, x_146, x_17); +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_159 = lean_is_level_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_151); +if (lean_obj_tag(x_159) == 0) +{ +lean_object* x_160; uint8_t x_161; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_unbox(x_160); +lean_dec(x_160); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_150); +x_162 = lean_ctor_get(x_159, 1); +lean_inc(x_162); +lean_dec(x_159); +x_163 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_162); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_165 = x_163; +} else { + lean_dec_ref(x_163); + x_165 = lean_box(0); +} +x_166 = 0; +x_167 = lean_box(x_166); +if (lean_is_scalar(x_165)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_165; +} +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_164); +return x_168; +} +else +{ +lean_object* x_169; uint8_t x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_159, 1); +lean_inc(x_169); +lean_dec(x_159); +x_170 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_171 = l_Lean_Meta_processPostponed(x_3, x_170, x_4, x_5, x_6, x_7, x_169); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; uint8_t x_173; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_unbox(x_172); +lean_dec(x_172); +if (x_173 == 0) +{ +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_dec(x_150); +x_174 = lean_ctor_get(x_171, 1); +lean_inc(x_174); +lean_dec(x_171); +x_175 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_174); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_177 = x_175; +} else { + lean_dec_ref(x_175); + x_177 = lean_box(0); +} +x_178 = lean_box(x_170); +if (lean_is_scalar(x_177)) { + x_179 = lean_alloc_ctor(0, 2, 0); +} else { + x_179 = x_177; +} +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_176); +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; uint8_t x_188; lean_object* x_189; lean_object* x_190; +lean_dec(x_10); +x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_180); +lean_dec(x_171); +x_181 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_180); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_184 = l_Std_PersistentArray_append___rarg(x_150, x_182); +x_185 = l_Lean_Meta_setPostponed(x_184, x_4, x_5, x_6, x_7, x_183); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_186 = lean_ctor_get(x_185, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + lean_ctor_release(x_185, 1); + x_187 = x_185; +} else { + lean_dec_ref(x_185); + x_187 = lean_box(0); +} +x_188 = 1; +x_189 = lean_box(x_188); +if (lean_is_scalar(x_187)) { + x_190 = lean_alloc_ctor(0, 2, 0); +} else { + x_190 = x_187; +} +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_186); +return x_190; +} +} +else +{ +lean_object* x_191; lean_object* x_192; +lean_dec(x_150); +x_191 = lean_ctor_get(x_171, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_171, 1); +lean_inc(x_192); +lean_dec(x_171); +x_152 = x_191; +x_153 = x_192; +goto block_158; +} +} +} +else +{ +lean_object* x_193; lean_object* x_194; +lean_dec(x_150); +x_193 = lean_ctor_get(x_159, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_159, 1); +lean_inc(x_194); +lean_dec(x_159); +x_152 = x_193; +x_153 = x_194; +goto block_158; +} +block_158: +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_154 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_153); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_156 = x_154; +} else { + lean_dec_ref(x_154); + x_156 = lean_box(0); +} +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 2, 0); +} else { + x_157 = x_156; + lean_ctor_set_tag(x_157, 1); +} +lean_ctor_set(x_157, 0, x_152); +lean_ctor_set(x_157, 1, x_155); +return x_157; } } } @@ -41617,223 +38259,744 @@ return x_21; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isLevelDefEq___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_23; +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; x_9 = l_Lean_Meta_saveState___rarg(x_5, x_6, x_7, x_8); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_12 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_11); -x_13 = lean_ctor_get(x_12, 0); +x_12 = lean_st_ref_get(x_7, x_11); +x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); lean_dec(x_12); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_23 = lean_is_level_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_14); -if (lean_obj_tag(x_23) == 0) +x_14 = lean_st_ref_take(x_5, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) { -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_23, 0); +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_15, 1); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +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_36; +x_21 = lean_ctor_get(x_16, 5); +lean_dec(x_21); +x_22 = l_Lean_Meta_Cache_defEq___default___closed__3; +lean_ctor_set(x_16, 5, x_22); +x_23 = lean_st_ref_set(x_5, x_15, x_17); +x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); -x_25 = lean_unbox(x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -lean_dec(x_13); -x_26 = lean_ctor_get(x_23, 1); +lean_dec(x_23); +x_25 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_24); +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_23); -x_27 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_26); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -x_30 = 0; -x_31 = lean_box(x_30); -lean_ctor_set(x_27, 0, x_31); -return x_27; -} -else -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_dec(x_27); -x_33 = 0; -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -else -{ -lean_object* x_36; uint8_t x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_23, 1); -lean_inc(x_36); -lean_dec(x_23); -x_37 = 0; +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_38 = l_Lean_Meta_processPostponed(x_3, x_37, x_4, x_5, x_6, x_7, x_36); -if (lean_obj_tag(x_38) == 0) +x_36 = lean_is_level_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_27); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_39; uint8_t x_40; -x_39 = lean_ctor_get(x_38, 0); +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_unbox(x_37); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_dec(x_26); +x_39 = lean_ctor_get(x_36, 1); lean_inc(x_39); -x_40 = lean_unbox(x_39); -lean_dec(x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_13); -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_42 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_41); +lean_dec(x_36); +x_40 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_39); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +lean_dec(x_10); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -x_45 = lean_box(x_37); -lean_ctor_set(x_42, 0, x_45); -return x_42; +lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +x_43 = 0; +x_44 = lean_box(x_43); +lean_ctor_set(x_40, 0, x_44); +return x_40; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = lean_box(x_37); +lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = 0; +x_47 = lean_box(x_46); x_48 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 1, x_45); return x_48; } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -lean_dec(x_10); -x_49 = lean_ctor_get(x_38, 1); +lean_object* x_49; uint8_t x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_36, 1); lean_inc(x_49); -lean_dec(x_38); -x_50 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); +lean_dec(x_36); +x_50 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_51 = l_Lean_Meta_processPostponed(x_3, x_50, x_4, x_5, x_6, x_7, x_49); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Std_PersistentArray_append___rarg(x_13, x_51); -x_54 = l_Lean_Meta_setPostponed(x_53, x_4, x_5, x_6, x_7, x_52); +x_53 = lean_unbox(x_52); +lean_dec(x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_dec(x_26); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_54); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) +lean_dec(x_10); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) { -lean_object* x_56; uint8_t x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -x_57 = 1; -x_58 = lean_box(x_57); -lean_ctor_set(x_54, 0, x_58); -return x_54; +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +x_58 = lean_box(x_50); +lean_ctor_set(x_55, 0, x_58); +return x_55; } else { -lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_54, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_55, 1); lean_inc(x_59); -lean_dec(x_54); -x_60 = 1; -x_61 = lean_box(x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_59); -return x_62; -} +lean_dec(x_55); +x_60 = lean_box(x_50); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +return x_61; } } else { -lean_object* x_63; lean_object* x_64; -lean_dec(x_13); -x_63 = lean_ctor_get(x_38, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_38, 1); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_10); +x_62 = lean_ctor_get(x_51, 1); +lean_inc(x_62); +lean_dec(x_51); +x_63 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_62); +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec(x_38); -x_15 = x_63; -x_16 = x_64; -goto block_22; -} -} -} -else -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_13); -x_65 = lean_ctor_get(x_23, 0); +x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_23, 1); -lean_inc(x_66); -lean_dec(x_23); -x_15 = x_65; -x_16 = x_66; -goto block_22; -} -block_22: -{ -lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_16); +lean_dec(x_63); +x_66 = l_Std_PersistentArray_append___rarg(x_26, x_64); +x_67 = l_Lean_Meta_setPostponed(x_66, x_4, x_5, x_6, x_7, x_65); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -lean_ctor_set_tag(x_17, 1); -lean_ctor_set(x_17, 0, x_15); -return x_17; +lean_object* x_69; uint8_t x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_67, 0); +lean_dec(x_69); +x_70 = 1; +x_71 = lean_box(x_70); +lean_ctor_set(x_67, 0, x_71); +return x_67; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_15); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_67, 1); +lean_inc(x_72); +lean_dec(x_67); +x_73 = 1; +x_74 = lean_box(x_73); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_72); +return x_75; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_26); +x_76 = lean_ctor_get(x_51, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_51, 1); +lean_inc(x_77); +lean_dec(x_51); +x_28 = x_76; +x_29 = x_77; +goto block_35; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_26); +x_78 = lean_ctor_get(x_36, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_36, 1); +lean_inc(x_79); +lean_dec(x_36); +x_28 = x_78; +x_29 = x_79; +goto block_35; +} +block_35: +{ +lean_object* x_30; uint8_t x_31; +x_30 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_29); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_30, 0); +lean_dec(x_32); +lean_ctor_set_tag(x_30, 1); +lean_ctor_set(x_30, 0, x_28); +return x_30; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_28); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +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; lean_object* x_93; lean_object* x_99; +x_80 = lean_ctor_get(x_16, 0); +x_81 = lean_ctor_get(x_16, 1); +x_82 = lean_ctor_get(x_16, 2); +x_83 = lean_ctor_get(x_16, 3); +x_84 = lean_ctor_get(x_16, 4); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_16); +x_85 = l_Lean_Meta_Cache_defEq___default___closed__3; +x_86 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_86, 0, x_80); +lean_ctor_set(x_86, 1, x_81); +lean_ctor_set(x_86, 2, x_82); +lean_ctor_set(x_86, 3, x_83); +lean_ctor_set(x_86, 4, x_84); +lean_ctor_set(x_86, 5, x_85); +lean_ctor_set(x_15, 1, x_86); +x_87 = lean_st_ref_set(x_5, x_15, x_17); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_99 = lean_is_level_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_91); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; uint8_t x_101; +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; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_90); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +x_103 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_102); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_105 = x_103; +} else { + lean_dec_ref(x_103); + x_105 = lean_box(0); +} +x_106 = 0; +x_107 = lean_box(x_106); +if (lean_is_scalar(x_105)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_105; +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_104); +return x_108; +} +else +{ +lean_object* x_109; uint8_t x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_99, 1); +lean_inc(x_109); +lean_dec(x_99); +x_110 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_111 = l_Lean_Meta_processPostponed(x_3, x_110, x_4, x_5, x_6, x_7, x_109); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; uint8_t x_113; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_unbox(x_112); +lean_dec(x_112); +if (x_113 == 0) +{ +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_dec(x_90); +x_114 = lean_ctor_get(x_111, 1); +lean_inc(x_114); +lean_dec(x_111); +x_115 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_114); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_117 = x_115; +} else { + lean_dec_ref(x_115); + x_117 = lean_box(0); +} +x_118 = lean_box(x_110); +if (lean_is_scalar(x_117)) { + x_119 = lean_alloc_ctor(0, 2, 0); +} else { + x_119 = x_117; +} +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_116); +return x_119; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_10); +x_120 = lean_ctor_get(x_111, 1); +lean_inc(x_120); +lean_dec(x_111); +x_121 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = l_Std_PersistentArray_append___rarg(x_90, x_122); +x_125 = l_Lean_Meta_setPostponed(x_124, x_4, x_5, x_6, x_7, x_123); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_127 = x_125; +} else { + lean_dec_ref(x_125); + x_127 = lean_box(0); +} +x_128 = 1; +x_129 = lean_box(x_128); +if (lean_is_scalar(x_127)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_127; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_126); +return x_130; +} +} +else +{ +lean_object* x_131; lean_object* x_132; +lean_dec(x_90); +x_131 = lean_ctor_get(x_111, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_111, 1); +lean_inc(x_132); +lean_dec(x_111); +x_92 = x_131; +x_93 = x_132; +goto block_98; +} +} +} +else +{ +lean_object* x_133; lean_object* x_134; +lean_dec(x_90); +x_133 = lean_ctor_get(x_99, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_99, 1); +lean_inc(x_134); +lean_dec(x_99); +x_92 = x_133; +x_93 = x_134; +goto block_98; +} +block_98: +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_94 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_93); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_96 = x_94; +} else { + lean_dec_ref(x_94); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); +} else { + x_97 = x_96; + lean_ctor_set_tag(x_97, 1); +} +lean_ctor_set(x_97, 0, x_92); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_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_159; +x_135 = lean_ctor_get(x_15, 0); +x_136 = lean_ctor_get(x_15, 2); +x_137 = lean_ctor_get(x_15, 3); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_15); +x_138 = lean_ctor_get(x_16, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_16, 1); +lean_inc(x_139); +x_140 = lean_ctor_get(x_16, 2); +lean_inc(x_140); +x_141 = lean_ctor_get(x_16, 3); +lean_inc(x_141); +x_142 = lean_ctor_get(x_16, 4); +lean_inc(x_142); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + lean_ctor_release(x_16, 3); + lean_ctor_release(x_16, 4); + lean_ctor_release(x_16, 5); + x_143 = x_16; +} else { + lean_dec_ref(x_16); + x_143 = lean_box(0); +} +x_144 = l_Lean_Meta_Cache_defEq___default___closed__3; +if (lean_is_scalar(x_143)) { + x_145 = lean_alloc_ctor(0, 6, 0); +} else { + x_145 = x_143; +} +lean_ctor_set(x_145, 0, x_138); +lean_ctor_set(x_145, 1, x_139); +lean_ctor_set(x_145, 2, x_140); +lean_ctor_set(x_145, 3, x_141); +lean_ctor_set(x_145, 4, x_142); +lean_ctor_set(x_145, 5, x_144); +x_146 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_146, 0, x_135); +lean_ctor_set(x_146, 1, x_145); +lean_ctor_set(x_146, 2, x_136); +lean_ctor_set(x_146, 3, x_137); +x_147 = lean_st_ref_set(x_5, x_146, x_17); +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_159 = lean_is_level_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_151); +if (lean_obj_tag(x_159) == 0) +{ +lean_object* x_160; uint8_t x_161; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_unbox(x_160); +lean_dec(x_160); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_150); +x_162 = lean_ctor_get(x_159, 1); +lean_inc(x_162); +lean_dec(x_159); +x_163 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_162); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_165 = x_163; +} else { + lean_dec_ref(x_163); + x_165 = lean_box(0); +} +x_166 = 0; +x_167 = lean_box(x_166); +if (lean_is_scalar(x_165)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_165; +} +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_164); +return x_168; +} +else +{ +lean_object* x_169; uint8_t x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_159, 1); +lean_inc(x_169); +lean_dec(x_159); +x_170 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_171 = l_Lean_Meta_processPostponed(x_3, x_170, x_4, x_5, x_6, x_7, x_169); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; uint8_t x_173; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_unbox(x_172); +lean_dec(x_172); +if (x_173 == 0) +{ +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_dec(x_150); +x_174 = lean_ctor_get(x_171, 1); +lean_inc(x_174); +lean_dec(x_171); +x_175 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_174); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_177 = x_175; +} else { + lean_dec_ref(x_175); + x_177 = lean_box(0); +} +x_178 = lean_box(x_170); +if (lean_is_scalar(x_177)) { + x_179 = lean_alloc_ctor(0, 2, 0); +} else { + x_179 = x_177; +} +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_176); +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; uint8_t x_188; lean_object* x_189; lean_object* x_190; +lean_dec(x_10); +x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_180); +lean_dec(x_171); +x_181 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_180); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_184 = l_Std_PersistentArray_append___rarg(x_150, x_182); +x_185 = l_Lean_Meta_setPostponed(x_184, x_4, x_5, x_6, x_7, x_183); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_186 = lean_ctor_get(x_185, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + lean_ctor_release(x_185, 1); + x_187 = x_185; +} else { + lean_dec_ref(x_185); + x_187 = lean_box(0); +} +x_188 = 1; +x_189 = lean_box(x_188); +if (lean_is_scalar(x_187)) { + x_190 = lean_alloc_ctor(0, 2, 0); +} else { + x_190 = x_187; +} +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_186); +return x_190; +} +} +else +{ +lean_object* x_191; lean_object* x_192; +lean_dec(x_150); +x_191 = lean_ctor_get(x_171, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_171, 1); +lean_inc(x_192); +lean_dec(x_171); +x_152 = x_191; +x_153 = x_192; +goto block_158; +} +} +} +else +{ +lean_object* x_193; lean_object* x_194; +lean_dec(x_150); +x_193 = lean_ctor_get(x_159, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_159, 1); +lean_inc(x_194); +lean_dec(x_159); +x_152 = x_193; +x_153 = x_194; +goto block_158; +} +block_158: +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_154 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_153); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_156 = x_154; +} else { + lean_dec_ref(x_154); + x_156 = lean_box(0); +} +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 2, 0); +} else { + x_157 = x_156; + lean_ctor_set_tag(x_157, 1); +} +lean_ctor_set(x_157, 0, x_152); +lean_ctor_set(x_157, 1, x_155); +return x_157; } } } @@ -43493,223 +40656,744 @@ return x_10; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isExprDefEq___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, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_23; +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; x_9 = l_Lean_Meta_saveState___rarg(x_5, x_6, x_7, x_8); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_12 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_11); -x_13 = lean_ctor_get(x_12, 0); +x_12 = lean_st_ref_get(x_7, x_11); +x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); lean_dec(x_12); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_23 = lean_is_expr_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_14); -if (lean_obj_tag(x_23) == 0) +x_14 = lean_st_ref_take(x_5, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) { -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_23, 0); +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_15, 1); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +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_36; +x_21 = lean_ctor_get(x_16, 5); +lean_dec(x_21); +x_22 = l_Lean_Meta_Cache_defEq___default___closed__3; +lean_ctor_set(x_16, 5, x_22); +x_23 = lean_st_ref_set(x_5, x_15, x_17); +x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); -x_25 = lean_unbox(x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -lean_dec(x_13); -x_26 = lean_ctor_get(x_23, 1); +lean_dec(x_23); +x_25 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_24); +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_23); -x_27 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_26); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -x_30 = 0; -x_31 = lean_box(x_30); -lean_ctor_set(x_27, 0, x_31); -return x_27; -} -else -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_dec(x_27); -x_33 = 0; -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -else -{ -lean_object* x_36; uint8_t x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_23, 1); -lean_inc(x_36); -lean_dec(x_23); -x_37 = 0; +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_38 = l_Lean_Meta_processPostponed(x_3, x_37, x_4, x_5, x_6, x_7, x_36); -if (lean_obj_tag(x_38) == 0) +x_36 = lean_is_expr_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_27); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_39; uint8_t x_40; -x_39 = lean_ctor_get(x_38, 0); +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_unbox(x_37); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_dec(x_26); +x_39 = lean_ctor_get(x_36, 1); lean_inc(x_39); -x_40 = lean_unbox(x_39); -lean_dec(x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_13); -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_42 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_41); +lean_dec(x_36); +x_40 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_39); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +lean_dec(x_10); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -x_45 = lean_box(x_37); -lean_ctor_set(x_42, 0, x_45); -return x_42; +lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +x_43 = 0; +x_44 = lean_box(x_43); +lean_ctor_set(x_40, 0, x_44); +return x_40; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = lean_box(x_37); +lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = 0; +x_47 = lean_box(x_46); x_48 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 1, x_45); return x_48; } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -lean_dec(x_10); -x_49 = lean_ctor_get(x_38, 1); +lean_object* x_49; uint8_t x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_36, 1); lean_inc(x_49); -lean_dec(x_38); -x_50 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); +lean_dec(x_36); +x_50 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_51 = l_Lean_Meta_processPostponed(x_3, x_50, x_4, x_5, x_6, x_7, x_49); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Std_PersistentArray_append___rarg(x_13, x_51); -x_54 = l_Lean_Meta_setPostponed(x_53, x_4, x_5, x_6, x_7, x_52); +x_53 = lean_unbox(x_52); +lean_dec(x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_dec(x_26); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_54); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) +lean_dec(x_10); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) { -lean_object* x_56; uint8_t x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -x_57 = 1; -x_58 = lean_box(x_57); -lean_ctor_set(x_54, 0, x_58); -return x_54; +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +x_58 = lean_box(x_50); +lean_ctor_set(x_55, 0, x_58); +return x_55; } else { -lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_54, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_55, 1); lean_inc(x_59); -lean_dec(x_54); -x_60 = 1; -x_61 = lean_box(x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_59); -return x_62; -} +lean_dec(x_55); +x_60 = lean_box(x_50); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +return x_61; } } else { -lean_object* x_63; lean_object* x_64; -lean_dec(x_13); -x_63 = lean_ctor_get(x_38, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_38, 1); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_10); +x_62 = lean_ctor_get(x_51, 1); +lean_inc(x_62); +lean_dec(x_51); +x_63 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_62); +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec(x_38); -x_15 = x_63; -x_16 = x_64; -goto block_22; -} -} -} -else -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_13); -x_65 = lean_ctor_get(x_23, 0); +x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_23, 1); -lean_inc(x_66); -lean_dec(x_23); -x_15 = x_65; -x_16 = x_66; -goto block_22; -} -block_22: -{ -lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_16); +lean_dec(x_63); +x_66 = l_Std_PersistentArray_append___rarg(x_26, x_64); +x_67 = l_Lean_Meta_setPostponed(x_66, x_4, x_5, x_6, x_7, x_65); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -lean_ctor_set_tag(x_17, 1); -lean_ctor_set(x_17, 0, x_15); -return x_17; +lean_object* x_69; uint8_t x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_67, 0); +lean_dec(x_69); +x_70 = 1; +x_71 = lean_box(x_70); +lean_ctor_set(x_67, 0, x_71); +return x_67; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_15); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_67, 1); +lean_inc(x_72); +lean_dec(x_67); +x_73 = 1; +x_74 = lean_box(x_73); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_72); +return x_75; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_26); +x_76 = lean_ctor_get(x_51, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_51, 1); +lean_inc(x_77); +lean_dec(x_51); +x_28 = x_76; +x_29 = x_77; +goto block_35; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_26); +x_78 = lean_ctor_get(x_36, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_36, 1); +lean_inc(x_79); +lean_dec(x_36); +x_28 = x_78; +x_29 = x_79; +goto block_35; +} +block_35: +{ +lean_object* x_30; uint8_t x_31; +x_30 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_29); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_30, 0); +lean_dec(x_32); +lean_ctor_set_tag(x_30, 1); +lean_ctor_set(x_30, 0, x_28); +return x_30; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_28); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +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; lean_object* x_93; lean_object* x_99; +x_80 = lean_ctor_get(x_16, 0); +x_81 = lean_ctor_get(x_16, 1); +x_82 = lean_ctor_get(x_16, 2); +x_83 = lean_ctor_get(x_16, 3); +x_84 = lean_ctor_get(x_16, 4); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_16); +x_85 = l_Lean_Meta_Cache_defEq___default___closed__3; +x_86 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_86, 0, x_80); +lean_ctor_set(x_86, 1, x_81); +lean_ctor_set(x_86, 2, x_82); +lean_ctor_set(x_86, 3, x_83); +lean_ctor_set(x_86, 4, x_84); +lean_ctor_set(x_86, 5, x_85); +lean_ctor_set(x_15, 1, x_86); +x_87 = lean_st_ref_set(x_5, x_15, x_17); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_99 = lean_is_expr_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_91); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; uint8_t x_101; +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; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_90); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +x_103 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_102); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_105 = x_103; +} else { + lean_dec_ref(x_103); + x_105 = lean_box(0); +} +x_106 = 0; +x_107 = lean_box(x_106); +if (lean_is_scalar(x_105)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_105; +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_104); +return x_108; +} +else +{ +lean_object* x_109; uint8_t x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_99, 1); +lean_inc(x_109); +lean_dec(x_99); +x_110 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_111 = l_Lean_Meta_processPostponed(x_3, x_110, x_4, x_5, x_6, x_7, x_109); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; uint8_t x_113; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_unbox(x_112); +lean_dec(x_112); +if (x_113 == 0) +{ +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_dec(x_90); +x_114 = lean_ctor_get(x_111, 1); +lean_inc(x_114); +lean_dec(x_111); +x_115 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_114); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_117 = x_115; +} else { + lean_dec_ref(x_115); + x_117 = lean_box(0); +} +x_118 = lean_box(x_110); +if (lean_is_scalar(x_117)) { + x_119 = lean_alloc_ctor(0, 2, 0); +} else { + x_119 = x_117; +} +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_116); +return x_119; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_10); +x_120 = lean_ctor_get(x_111, 1); +lean_inc(x_120); +lean_dec(x_111); +x_121 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = l_Std_PersistentArray_append___rarg(x_90, x_122); +x_125 = l_Lean_Meta_setPostponed(x_124, x_4, x_5, x_6, x_7, x_123); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_127 = x_125; +} else { + lean_dec_ref(x_125); + x_127 = lean_box(0); +} +x_128 = 1; +x_129 = lean_box(x_128); +if (lean_is_scalar(x_127)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_127; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_126); +return x_130; +} +} +else +{ +lean_object* x_131; lean_object* x_132; +lean_dec(x_90); +x_131 = lean_ctor_get(x_111, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_111, 1); +lean_inc(x_132); +lean_dec(x_111); +x_92 = x_131; +x_93 = x_132; +goto block_98; +} +} +} +else +{ +lean_object* x_133; lean_object* x_134; +lean_dec(x_90); +x_133 = lean_ctor_get(x_99, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_99, 1); +lean_inc(x_134); +lean_dec(x_99); +x_92 = x_133; +x_93 = x_134; +goto block_98; +} +block_98: +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_94 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_93); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_96 = x_94; +} else { + lean_dec_ref(x_94); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); +} else { + x_97 = x_96; + lean_ctor_set_tag(x_97, 1); +} +lean_ctor_set(x_97, 0, x_92); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_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_159; +x_135 = lean_ctor_get(x_15, 0); +x_136 = lean_ctor_get(x_15, 2); +x_137 = lean_ctor_get(x_15, 3); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_15); +x_138 = lean_ctor_get(x_16, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_16, 1); +lean_inc(x_139); +x_140 = lean_ctor_get(x_16, 2); +lean_inc(x_140); +x_141 = lean_ctor_get(x_16, 3); +lean_inc(x_141); +x_142 = lean_ctor_get(x_16, 4); +lean_inc(x_142); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + lean_ctor_release(x_16, 3); + lean_ctor_release(x_16, 4); + lean_ctor_release(x_16, 5); + x_143 = x_16; +} else { + lean_dec_ref(x_16); + x_143 = lean_box(0); +} +x_144 = l_Lean_Meta_Cache_defEq___default___closed__3; +if (lean_is_scalar(x_143)) { + x_145 = lean_alloc_ctor(0, 6, 0); +} else { + x_145 = x_143; +} +lean_ctor_set(x_145, 0, x_138); +lean_ctor_set(x_145, 1, x_139); +lean_ctor_set(x_145, 2, x_140); +lean_ctor_set(x_145, 3, x_141); +lean_ctor_set(x_145, 4, x_142); +lean_ctor_set(x_145, 5, x_144); +x_146 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_146, 0, x_135); +lean_ctor_set(x_146, 1, x_145); +lean_ctor_set(x_146, 2, x_136); +lean_ctor_set(x_146, 3, x_137); +x_147 = lean_st_ref_set(x_5, x_146, x_17); +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_159 = lean_is_expr_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_151); +if (lean_obj_tag(x_159) == 0) +{ +lean_object* x_160; uint8_t x_161; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_unbox(x_160); +lean_dec(x_160); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_150); +x_162 = lean_ctor_get(x_159, 1); +lean_inc(x_162); +lean_dec(x_159); +x_163 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_162); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_165 = x_163; +} else { + lean_dec_ref(x_163); + x_165 = lean_box(0); +} +x_166 = 0; +x_167 = lean_box(x_166); +if (lean_is_scalar(x_165)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_165; +} +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_164); +return x_168; +} +else +{ +lean_object* x_169; uint8_t x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_159, 1); +lean_inc(x_169); +lean_dec(x_159); +x_170 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_171 = l_Lean_Meta_processPostponed(x_3, x_170, x_4, x_5, x_6, x_7, x_169); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; uint8_t x_173; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_unbox(x_172); +lean_dec(x_172); +if (x_173 == 0) +{ +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_dec(x_150); +x_174 = lean_ctor_get(x_171, 1); +lean_inc(x_174); +lean_dec(x_171); +x_175 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_174); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_177 = x_175; +} else { + lean_dec_ref(x_175); + x_177 = lean_box(0); +} +x_178 = lean_box(x_170); +if (lean_is_scalar(x_177)) { + x_179 = lean_alloc_ctor(0, 2, 0); +} else { + x_179 = x_177; +} +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_176); +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; uint8_t x_188; lean_object* x_189; lean_object* x_190; +lean_dec(x_10); +x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_180); +lean_dec(x_171); +x_181 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_180); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_184 = l_Std_PersistentArray_append___rarg(x_150, x_182); +x_185 = l_Lean_Meta_setPostponed(x_184, x_4, x_5, x_6, x_7, x_183); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_186 = lean_ctor_get(x_185, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + lean_ctor_release(x_185, 1); + x_187 = x_185; +} else { + lean_dec_ref(x_185); + x_187 = lean_box(0); +} +x_188 = 1; +x_189 = lean_box(x_188); +if (lean_is_scalar(x_187)) { + x_190 = lean_alloc_ctor(0, 2, 0); +} else { + x_190 = x_187; +} +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_186); +return x_190; +} +} +else +{ +lean_object* x_191; lean_object* x_192; +lean_dec(x_150); +x_191 = lean_ctor_get(x_171, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_171, 1); +lean_inc(x_192); +lean_dec(x_171); +x_152 = x_191; +x_153 = x_192; +goto block_158; +} +} +} +else +{ +lean_object* x_193; lean_object* x_194; +lean_dec(x_150); +x_193 = lean_ctor_get(x_159, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_159, 1); +lean_inc(x_194); +lean_dec(x_159); +x_152 = x_193; +x_153 = x_194; +goto block_158; +} +block_158: +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_154 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_153); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_156 = x_154; +} else { + lean_dec_ref(x_154); + x_156 = lean_box(0); +} +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 2, 0); +} else { + x_157 = x_156; + lean_ctor_set_tag(x_157, 1); +} +lean_ctor_set(x_157, 0, x_152); +lean_ctor_set(x_157, 1, x_155); +return x_157; } } } @@ -43717,223 +41401,744 @@ return x_21; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_isExprDefEq___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_23; +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; x_9 = l_Lean_Meta_saveState___rarg(x_5, x_6, x_7, x_8); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_12 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_11); -x_13 = lean_ctor_get(x_12, 0); +x_12 = lean_st_ref_get(x_7, x_11); +x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); lean_dec(x_12); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_23 = lean_is_expr_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_14); -if (lean_obj_tag(x_23) == 0) +x_14 = lean_st_ref_take(x_5, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) { -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_23, 0); +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_15, 1); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +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_36; +x_21 = lean_ctor_get(x_16, 5); +lean_dec(x_21); +x_22 = l_Lean_Meta_Cache_defEq___default___closed__3; +lean_ctor_set(x_16, 5, x_22); +x_23 = lean_st_ref_set(x_5, x_15, x_17); +x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); -x_25 = lean_unbox(x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -lean_dec(x_13); -x_26 = lean_ctor_get(x_23, 1); +lean_dec(x_23); +x_25 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_24); +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_23); -x_27 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_26); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -x_30 = 0; -x_31 = lean_box(x_30); -lean_ctor_set(x_27, 0, x_31); -return x_27; -} -else -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_dec(x_27); -x_33 = 0; -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -else -{ -lean_object* x_36; uint8_t x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_23, 1); -lean_inc(x_36); -lean_dec(x_23); -x_37 = 0; +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_38 = l_Lean_Meta_processPostponed(x_3, x_37, x_4, x_5, x_6, x_7, x_36); -if (lean_obj_tag(x_38) == 0) +x_36 = lean_is_expr_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_27); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_39; uint8_t x_40; -x_39 = lean_ctor_get(x_38, 0); +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_unbox(x_37); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_dec(x_26); +x_39 = lean_ctor_get(x_36, 1); lean_inc(x_39); -x_40 = lean_unbox(x_39); -lean_dec(x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_13); -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_42 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_41); +lean_dec(x_36); +x_40 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_39); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +lean_dec(x_10); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -x_45 = lean_box(x_37); -lean_ctor_set(x_42, 0, x_45); -return x_42; +lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +x_43 = 0; +x_44 = lean_box(x_43); +lean_ctor_set(x_40, 0, x_44); +return x_40; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = lean_box(x_37); +lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = 0; +x_47 = lean_box(x_46); x_48 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 1, x_45); return x_48; } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -lean_dec(x_10); -x_49 = lean_ctor_get(x_38, 1); +lean_object* x_49; uint8_t x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_36, 1); lean_inc(x_49); -lean_dec(x_38); -x_50 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); +lean_dec(x_36); +x_50 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_51 = l_Lean_Meta_processPostponed(x_3, x_50, x_4, x_5, x_6, x_7, x_49); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Std_PersistentArray_append___rarg(x_13, x_51); -x_54 = l_Lean_Meta_setPostponed(x_53, x_4, x_5, x_6, x_7, x_52); +x_53 = lean_unbox(x_52); +lean_dec(x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_dec(x_26); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_54); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) +lean_dec(x_10); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) { -lean_object* x_56; uint8_t x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -x_57 = 1; -x_58 = lean_box(x_57); -lean_ctor_set(x_54, 0, x_58); -return x_54; +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +x_58 = lean_box(x_50); +lean_ctor_set(x_55, 0, x_58); +return x_55; } else { -lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_54, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_55, 1); lean_inc(x_59); -lean_dec(x_54); -x_60 = 1; -x_61 = lean_box(x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_59); -return x_62; -} +lean_dec(x_55); +x_60 = lean_box(x_50); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +return x_61; } } else { -lean_object* x_63; lean_object* x_64; -lean_dec(x_13); -x_63 = lean_ctor_get(x_38, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_38, 1); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_10); +x_62 = lean_ctor_get(x_51, 1); +lean_inc(x_62); +lean_dec(x_51); +x_63 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_62); +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec(x_38); -x_15 = x_63; -x_16 = x_64; -goto block_22; -} -} -} -else -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_13); -x_65 = lean_ctor_get(x_23, 0); +x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_23, 1); -lean_inc(x_66); -lean_dec(x_23); -x_15 = x_65; -x_16 = x_66; -goto block_22; -} -block_22: -{ -lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_16); +lean_dec(x_63); +x_66 = l_Std_PersistentArray_append___rarg(x_26, x_64); +x_67 = l_Lean_Meta_setPostponed(x_66, x_4, x_5, x_6, x_7, x_65); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -lean_ctor_set_tag(x_17, 1); -lean_ctor_set(x_17, 0, x_15); -return x_17; +lean_object* x_69; uint8_t x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_67, 0); +lean_dec(x_69); +x_70 = 1; +x_71 = lean_box(x_70); +lean_ctor_set(x_67, 0, x_71); +return x_67; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_15); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_67, 1); +lean_inc(x_72); +lean_dec(x_67); +x_73 = 1; +x_74 = lean_box(x_73); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_72); +return x_75; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_26); +x_76 = lean_ctor_get(x_51, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_51, 1); +lean_inc(x_77); +lean_dec(x_51); +x_28 = x_76; +x_29 = x_77; +goto block_35; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_26); +x_78 = lean_ctor_get(x_36, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_36, 1); +lean_inc(x_79); +lean_dec(x_36); +x_28 = x_78; +x_29 = x_79; +goto block_35; +} +block_35: +{ +lean_object* x_30; uint8_t x_31; +x_30 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_29); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_30, 0); +lean_dec(x_32); +lean_ctor_set_tag(x_30, 1); +lean_ctor_set(x_30, 0, x_28); +return x_30; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_28); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +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; lean_object* x_93; lean_object* x_99; +x_80 = lean_ctor_get(x_16, 0); +x_81 = lean_ctor_get(x_16, 1); +x_82 = lean_ctor_get(x_16, 2); +x_83 = lean_ctor_get(x_16, 3); +x_84 = lean_ctor_get(x_16, 4); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_16); +x_85 = l_Lean_Meta_Cache_defEq___default___closed__3; +x_86 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_86, 0, x_80); +lean_ctor_set(x_86, 1, x_81); +lean_ctor_set(x_86, 2, x_82); +lean_ctor_set(x_86, 3, x_83); +lean_ctor_set(x_86, 4, x_84); +lean_ctor_set(x_86, 5, x_85); +lean_ctor_set(x_15, 1, x_86); +x_87 = lean_st_ref_set(x_5, x_15, x_17); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_99 = lean_is_expr_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_91); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; uint8_t x_101; +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; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_90); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +x_103 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_102); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_105 = x_103; +} else { + lean_dec_ref(x_103); + x_105 = lean_box(0); +} +x_106 = 0; +x_107 = lean_box(x_106); +if (lean_is_scalar(x_105)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_105; +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_104); +return x_108; +} +else +{ +lean_object* x_109; uint8_t x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_99, 1); +lean_inc(x_109); +lean_dec(x_99); +x_110 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_111 = l_Lean_Meta_processPostponed(x_3, x_110, x_4, x_5, x_6, x_7, x_109); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; uint8_t x_113; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_unbox(x_112); +lean_dec(x_112); +if (x_113 == 0) +{ +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_dec(x_90); +x_114 = lean_ctor_get(x_111, 1); +lean_inc(x_114); +lean_dec(x_111); +x_115 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_114); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_117 = x_115; +} else { + lean_dec_ref(x_115); + x_117 = lean_box(0); +} +x_118 = lean_box(x_110); +if (lean_is_scalar(x_117)) { + x_119 = lean_alloc_ctor(0, 2, 0); +} else { + x_119 = x_117; +} +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_116); +return x_119; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_10); +x_120 = lean_ctor_get(x_111, 1); +lean_inc(x_120); +lean_dec(x_111); +x_121 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = l_Std_PersistentArray_append___rarg(x_90, x_122); +x_125 = l_Lean_Meta_setPostponed(x_124, x_4, x_5, x_6, x_7, x_123); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_127 = x_125; +} else { + lean_dec_ref(x_125); + x_127 = lean_box(0); +} +x_128 = 1; +x_129 = lean_box(x_128); +if (lean_is_scalar(x_127)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_127; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_126); +return x_130; +} +} +else +{ +lean_object* x_131; lean_object* x_132; +lean_dec(x_90); +x_131 = lean_ctor_get(x_111, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_111, 1); +lean_inc(x_132); +lean_dec(x_111); +x_92 = x_131; +x_93 = x_132; +goto block_98; +} +} +} +else +{ +lean_object* x_133; lean_object* x_134; +lean_dec(x_90); +x_133 = lean_ctor_get(x_99, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_99, 1); +lean_inc(x_134); +lean_dec(x_99); +x_92 = x_133; +x_93 = x_134; +goto block_98; +} +block_98: +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_94 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_93); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_96 = x_94; +} else { + lean_dec_ref(x_94); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); +} else { + x_97 = x_96; + lean_ctor_set_tag(x_97, 1); +} +lean_ctor_set(x_97, 0, x_92); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_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_159; +x_135 = lean_ctor_get(x_15, 0); +x_136 = lean_ctor_get(x_15, 2); +x_137 = lean_ctor_get(x_15, 3); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_15); +x_138 = lean_ctor_get(x_16, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_16, 1); +lean_inc(x_139); +x_140 = lean_ctor_get(x_16, 2); +lean_inc(x_140); +x_141 = lean_ctor_get(x_16, 3); +lean_inc(x_141); +x_142 = lean_ctor_get(x_16, 4); +lean_inc(x_142); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + lean_ctor_release(x_16, 3); + lean_ctor_release(x_16, 4); + lean_ctor_release(x_16, 5); + x_143 = x_16; +} else { + lean_dec_ref(x_16); + x_143 = lean_box(0); +} +x_144 = l_Lean_Meta_Cache_defEq___default___closed__3; +if (lean_is_scalar(x_143)) { + x_145 = lean_alloc_ctor(0, 6, 0); +} else { + x_145 = x_143; +} +lean_ctor_set(x_145, 0, x_138); +lean_ctor_set(x_145, 1, x_139); +lean_ctor_set(x_145, 2, x_140); +lean_ctor_set(x_145, 3, x_141); +lean_ctor_set(x_145, 4, x_142); +lean_ctor_set(x_145, 5, x_144); +x_146 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_146, 0, x_135); +lean_ctor_set(x_146, 1, x_145); +lean_ctor_set(x_146, 2, x_136); +lean_ctor_set(x_146, 3, x_137); +x_147 = lean_st_ref_set(x_5, x_146, x_17); +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_159 = lean_is_expr_def_eq(x_1, x_2, x_4, x_5, x_6, x_7, x_151); +if (lean_obj_tag(x_159) == 0) +{ +lean_object* x_160; uint8_t x_161; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_unbox(x_160); +lean_dec(x_160); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_150); +x_162 = lean_ctor_get(x_159, 1); +lean_inc(x_162); +lean_dec(x_159); +x_163 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_162); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_165 = x_163; +} else { + lean_dec_ref(x_163); + x_165 = lean_box(0); +} +x_166 = 0; +x_167 = lean_box(x_166); +if (lean_is_scalar(x_165)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_165; +} +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_164); +return x_168; +} +else +{ +lean_object* x_169; uint8_t x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_159, 1); +lean_inc(x_169); +lean_dec(x_159); +x_170 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_171 = l_Lean_Meta_processPostponed(x_3, x_170, x_4, x_5, x_6, x_7, x_169); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; uint8_t x_173; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_unbox(x_172); +lean_dec(x_172); +if (x_173 == 0) +{ +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_dec(x_150); +x_174 = lean_ctor_get(x_171, 1); +lean_inc(x_174); +lean_dec(x_171); +x_175 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_174); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_177 = x_175; +} else { + lean_dec_ref(x_175); + x_177 = lean_box(0); +} +x_178 = lean_box(x_170); +if (lean_is_scalar(x_177)) { + x_179 = lean_alloc_ctor(0, 2, 0); +} else { + x_179 = x_177; +} +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_176); +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; uint8_t x_188; lean_object* x_189; lean_object* x_190; +lean_dec(x_10); +x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_180); +lean_dec(x_171); +x_181 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_180); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_184 = l_Std_PersistentArray_append___rarg(x_150, x_182); +x_185 = l_Lean_Meta_setPostponed(x_184, x_4, x_5, x_6, x_7, x_183); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_186 = lean_ctor_get(x_185, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + lean_ctor_release(x_185, 1); + x_187 = x_185; +} else { + lean_dec_ref(x_185); + x_187 = lean_box(0); +} +x_188 = 1; +x_189 = lean_box(x_188); +if (lean_is_scalar(x_187)) { + x_190 = lean_alloc_ctor(0, 2, 0); +} else { + x_190 = x_187; +} +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_186); +return x_190; +} +} +else +{ +lean_object* x_191; lean_object* x_192; +lean_dec(x_150); +x_191 = lean_ctor_get(x_171, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_171, 1); +lean_inc(x_192); +lean_dec(x_171); +x_152 = x_191; +x_153 = x_192; +goto block_158; +} +} +} +else +{ +lean_object* x_193; lean_object* x_194; +lean_dec(x_150); +x_193 = lean_ctor_get(x_159, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_159, 1); +lean_inc(x_194); +lean_dec(x_159); +x_152 = x_193; +x_153 = x_194; +goto block_158; +} +block_158: +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_154 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_153); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_156 = x_154; +} else { + lean_dec_ref(x_154); + x_156 = lean_box(0); +} +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 2, 0); +} else { + x_157 = x_156; + lean_ctor_set_tag(x_157, 1); +} +lean_ctor_set(x_157, 0, x_152); +lean_ctor_set(x_157, 1, x_155); +return x_157; } } } @@ -43950,7 +42155,7 @@ static lean_object* _init_l_Lean_Meta_isExprDefEq___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__2; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__2; x_2 = l_Lean_Meta_isExprDefEq___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -46726,7 +44931,7 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_14782_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_14809_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -46877,16 +45082,14 @@ l_Lean_Meta_Cache_whnfDefault___default = _init_l_Lean_Meta_Cache_whnfDefault___ lean_mark_persistent(l_Lean_Meta_Cache_whnfDefault___default); l_Lean_Meta_Cache_whnfAll___default = _init_l_Lean_Meta_Cache_whnfAll___default(); lean_mark_persistent(l_Lean_Meta_Cache_whnfAll___default); -l_Lean_Meta_Cache_defEqDefault___default___closed__1 = _init_l_Lean_Meta_Cache_defEqDefault___default___closed__1(); -lean_mark_persistent(l_Lean_Meta_Cache_defEqDefault___default___closed__1); -l_Lean_Meta_Cache_defEqDefault___default___closed__2 = _init_l_Lean_Meta_Cache_defEqDefault___default___closed__2(); -lean_mark_persistent(l_Lean_Meta_Cache_defEqDefault___default___closed__2); -l_Lean_Meta_Cache_defEqDefault___default___closed__3 = _init_l_Lean_Meta_Cache_defEqDefault___default___closed__3(); -lean_mark_persistent(l_Lean_Meta_Cache_defEqDefault___default___closed__3); -l_Lean_Meta_Cache_defEqDefault___default = _init_l_Lean_Meta_Cache_defEqDefault___default(); -lean_mark_persistent(l_Lean_Meta_Cache_defEqDefault___default); -l_Lean_Meta_Cache_defEqAll___default = _init_l_Lean_Meta_Cache_defEqAll___default(); -lean_mark_persistent(l_Lean_Meta_Cache_defEqAll___default); +l_Lean_Meta_Cache_defEq___default___closed__1 = _init_l_Lean_Meta_Cache_defEq___default___closed__1(); +lean_mark_persistent(l_Lean_Meta_Cache_defEq___default___closed__1); +l_Lean_Meta_Cache_defEq___default___closed__2 = _init_l_Lean_Meta_Cache_defEq___default___closed__2(); +lean_mark_persistent(l_Lean_Meta_Cache_defEq___default___closed__2); +l_Lean_Meta_Cache_defEq___default___closed__3 = _init_l_Lean_Meta_Cache_defEq___default___closed__3(); +lean_mark_persistent(l_Lean_Meta_Cache_defEq___default___closed__3); +l_Lean_Meta_Cache_defEq___default = _init_l_Lean_Meta_Cache_defEq___default(); +lean_mark_persistent(l_Lean_Meta_Cache_defEq___default); l_Lean_Meta_instInhabitedCache___closed__1 = _init_l_Lean_Meta_instInhabitedCache___closed__1(); lean_mark_persistent(l_Lean_Meta_instInhabitedCache___closed__1); l_Lean_Meta_instInhabitedCache___closed__2 = _init_l_Lean_Meta_instInhabitedCache___closed__2(); @@ -47047,15 +45250,15 @@ l_Lean_Meta_throwIsDefEqStuck___rarg___closed__1 = _init_l_Lean_Meta_throwIsDefE lean_mark_persistent(l_Lean_Meta_throwIsDefEqStuck___rarg___closed__1); l_Lean_Meta_throwIsDefEqStuck___rarg___closed__2 = _init_l_Lean_Meta_throwIsDefEqStuck___rarg___closed__2(); lean_mark_persistent(l_Lean_Meta_throwIsDefEqStuck___rarg___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518____closed__4); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1518_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485____closed__4); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1485_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_throwMaxRecDepthAt___at_Lean_Meta_withIncRecDepth___spec__1___rarg___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Meta_withIncRecDepth___spec__1___rarg___closed__1(); @@ -47216,7 +45419,7 @@ l_Lean_Meta_isExprDefEq___closed__1 = _init_l_Lean_Meta_isExprDefEq___closed__1( lean_mark_persistent(l_Lean_Meta_isExprDefEq___closed__1); l_Lean_Meta_isExprDefEq___closed__2 = _init_l_Lean_Meta_isExprDefEq___closed__2(); lean_mark_persistent(l_Lean_Meta_isExprDefEq___closed__2); -res = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_14782_(lean_io_mk_world()); +res = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_14809_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/CollectMVars.c b/stage0/stdlib/Lean/Meta/CollectMVars.c index 4bd2227577..3d0bf61187 100644 --- a/stage0/stdlib/Lean/Meta/CollectMVars.c +++ b/stage0/stdlib/Lean/Meta/CollectMVars.c @@ -15,30 +15,28 @@ extern "C" { #endif size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_collectMVarsAtDecl___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_collectMVars___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_CollectMVars_visit(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_collectMVarsAtDecl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_collectMVars___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_collectMVars___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_collectMVarsAtDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_collectMVarsAtDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_collectMVars___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(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_Std_mkHashSetImp___rarg(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_collectMVars___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvar___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getMVarsNoDelayed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Meta_collectMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Meta_collectMVarsAtDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Meta_collectMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Lean_Meta_getMVars___closed__2; @@ -56,19 +54,14 @@ static lean_object* l_Lean_Meta_getMVars___closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_getMVarsNoDelayed___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_collectMVars___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_collectMVarsAtDecl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVarsCore(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned___at_Lean_Meta_getMVarsNoDelayed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getMVarsAtDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Meta_collectMVarsAtDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_collectMVars___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_collectMVars___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_getMVarsNoDelayed___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_collectMVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_collectMVars___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_collectMVars___spec__3___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_collectMVarsAtDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Meta_collectMVars___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -183,213 +176,6 @@ return x_38; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_collectMVars___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_st_ref_take(x_1, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_8, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -uint8_t x_14; lean_object* x_15; uint8_t x_16; -x_14 = 1; -lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_14); -x_15 = lean_st_ref_set(x_1, x_8, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_9, 0); -x_23 = lean_ctor_get(x_9, 1); -x_24 = lean_ctor_get(x_9, 2); -x_25 = lean_ctor_get(x_9, 3); -x_26 = lean_ctor_get(x_9, 4); -x_27 = lean_ctor_get(x_9, 5); -x_28 = lean_ctor_get(x_9, 6); -x_29 = lean_ctor_get(x_9, 7); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_9); -x_30 = 1; -x_31 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_23); -lean_ctor_set(x_31, 2, x_24); -lean_ctor_set(x_31, 3, x_25); -lean_ctor_set(x_31, 4, x_26); -lean_ctor_set(x_31, 5, x_27); -lean_ctor_set(x_31, 6, x_28); -lean_ctor_set(x_31, 7, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_30); -lean_ctor_set(x_8, 0, x_31); -x_32 = lean_st_ref_set(x_1, x_8, x_10); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; -} else { - lean_dec_ref(x_32); - x_34 = lean_box(0); -} -x_35 = lean_box(0); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -} -else -{ -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; uint8_t 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_37 = lean_ctor_get(x_8, 1); -x_38 = lean_ctor_get(x_8, 2); -x_39 = lean_ctor_get(x_8, 3); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_8); -x_40 = lean_ctor_get(x_9, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_9, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_9, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_9, 3); -lean_inc(x_43); -x_44 = lean_ctor_get(x_9, 4); -lean_inc(x_44); -x_45 = lean_ctor_get(x_9, 5); -lean_inc(x_45); -x_46 = lean_ctor_get(x_9, 6); -lean_inc(x_46); -x_47 = lean_ctor_get(x_9, 7); -lean_inc(x_47); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - lean_ctor_release(x_9, 6); - lean_ctor_release(x_9, 7); - x_48 = x_9; -} else { - lean_dec_ref(x_9); - x_48 = lean_box(0); -} -x_49 = 1; -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 8, 1); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_40); -lean_ctor_set(x_50, 1, x_41); -lean_ctor_set(x_50, 2, x_42); -lean_ctor_set(x_50, 3, x_43); -lean_ctor_set(x_50, 4, x_44); -lean_ctor_set(x_50, 5, x_45); -lean_ctor_set(x_50, 6, x_46); -lean_ctor_set(x_50, 7, x_47); -lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_49); -x_51 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_37); -lean_ctor_set(x_51, 2, x_38); -lean_ctor_set(x_51, 3, x_39); -x_52 = lean_st_ref_set(x_1, x_51, x_10); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_collectMVars___spec__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_Meta_collectMVars___spec__3___rarg___boxed), 4, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_collectMVars___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_8); -return x_9; -} -} LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_collectMVars___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -402,98 +188,41 @@ x_10 = lean_st_ref_get(x_4, x_9); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +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 = lean_ctor_get(x_10, 1); -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); lean_dec(x_12); -x_15 = lean_ctor_get(x_14, 7); -lean_inc(x_15); -lean_dec(x_14); -x_16 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_15, x_1); -if (lean_obj_tag(x_16) == 0) -{ -lean_ctor_set(x_10, 0, x_16); +x_14 = lean_ctor_get(x_13, 7); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_14, x_1); +lean_ctor_set(x_10, 0, x_15); return x_10; } else { -lean_object* x_17; uint8_t x_18; -lean_free_object(x_10); -x_17 = l_Lean_markUsedAssignment___at_Lean_Meta_collectMVars___spec__3___rarg(x_4, x_5, x_6, x_13); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -lean_ctor_set(x_17, 0, x_16); -return x_17; -} -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_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_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_18, 7); +lean_inc(x_19); +lean_dec(x_18); +x_20 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_19, x_1); x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_16); -lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_17); return x_21; } } } -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_10, 0); -x_23 = lean_ctor_get(x_10, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_10); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_ctor_get(x_24, 7); -lean_inc(x_25); -lean_dec(x_24); -x_26 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_25, x_1); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_23); -return x_27; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = l_Lean_markUsedAssignment___at_Lean_Meta_collectMVars___spec__3___rarg(x_4, x_5, x_6, x_23); -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_30 = x_28; -} else { - lean_dec_ref(x_28); - x_30 = lean_box(0); -} -if (lean_is_scalar(x_30)) { - x_31 = lean_alloc_ctor(0, 2, 0); -} else { - x_31 = x_30; -} -lean_ctor_set(x_31, 0, x_26); -lean_ctor_set(x_31, 1, x_29); -return x_31; -} -} -} -} -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_collectMVars___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_collectMVars___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -605,7 +334,7 @@ lean_inc(x_28); x_29 = lean_usize_of_nat(x_28); lean_dec(x_28); x_30 = lean_box(0); -x_31 = l_Subarray_forInUnsafe_loop___at_Lean_Meta_collectMVars___spec__4(x_25, x_27, x_29, x_30, x_2, x_3, x_4, x_5, x_6, x_22); +x_31 = l_Subarray_forInUnsafe_loop___at_Lean_Meta_collectMVars___spec__3(x_25, x_27, x_29, x_30, x_2, x_3, x_4, x_5, x_6, x_22); lean_dec(x_25); x_32 = !lean_is_exclusive(x_31); if (x_32 == 0) @@ -642,41 +371,6 @@ lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_collectMVars___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_markUsedAssignment___at_Lean_Meta_collectMVars___spec__3___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_collectMVars___spec__3___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_markUsedAssignment___at_Lean_Meta_collectMVars___spec__3(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_collectMVars___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_collectMVars___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_collectMVars___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -690,7 +384,7 @@ lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_collectMVars___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_collectMVars___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { size_t x_11; size_t x_12; lean_object* x_13; @@ -698,7 +392,7 @@ x_11 = lean_unbox_usize(x_2); lean_dec(x_2); x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = l_Subarray_forInUnsafe_loop___at_Lean_Meta_collectMVars___spec__4(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Subarray_forInUnsafe_loop___at_Lean_Meta_collectMVars___spec__3(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -820,52 +514,48 @@ return x_7; LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned___at_Lean_Meta_getMVarsNoDelayed___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_7 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_6); +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_st_ref_get(x_5, x_6); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); -x_9 = lean_st_ref_get(x_5, x_8); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_st_ref_get(x_3, x_10); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +x_9 = lean_st_ref_get(x_3, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_ctor_get(x_14, 7); -lean_inc(x_15); -lean_dec(x_14); -x_16 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(x_15, x_1); -x_17 = lean_box(x_16); -lean_ctor_set(x_11, 0, x_17); -return x_11; +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 7); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(x_13, x_1); +x_15 = lean_box(x_14); +lean_ctor_set(x_9, 0, x_15); +return x_9; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; -x_18 = lean_ctor_get(x_11, 0); -x_19 = lean_ctor_get(x_11, 1); -lean_inc(x_19); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_9, 0); +x_17 = lean_ctor_get(x_9, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_9); +x_18 = lean_ctor_get(x_16, 0); lean_inc(x_18); -lean_dec(x_11); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); +lean_dec(x_16); +x_19 = lean_ctor_get(x_18, 7); +lean_inc(x_19); lean_dec(x_18); -x_21 = lean_ctor_get(x_20, 7); -lean_inc(x_21); -lean_dec(x_20); -x_22 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(x_21, x_1); -x_23 = lean_box(x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_19); -return x_24; +x_20 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(x_19, x_1); +x_21 = lean_box(x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_17); +return x_22; } } } diff --git a/stage0/stdlib/Lean/Meta/CongrTheorems.c b/stage0/stdlib/Lean/Meta/CongrTheorems.c index 10e8e0a628..9247f059dc 100644 --- a/stage0/stdlib/Lean/Meta/CongrTheorems.c +++ b/stage0/stdlib/Lean/Meta/CongrTheorems.c @@ -106,6 +106,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_CongrTh LEAN_EXPORT lean_object* l___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* lean_expr_consume_type_annotations(lean_object*); +lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_CongrTheorems_0__Lean_Meta_withNext___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mkProof_go___lambda__3___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -239,7 +240,6 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkHCongrWithArity___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Meta_whnfCore_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mkProof_go___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3219,7 +3219,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -3947,7 +3947,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -4247,7 +4247,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast_go___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_112; lean_object* x_113; uint8_t x_114; +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; x_8 = lean_st_ref_get(x_6, x_7); x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); @@ -4261,235 +4261,170 @@ lean_dec(x_10); x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); lean_dec(x_11); -x_112 = l_Lean_exprDependsOn___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast_go___spec__1___closed__1; -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_13); -x_114 = l_Lean_Expr_hasFVar(x_1); -if (x_114 == 0) +x_14 = l_Lean_exprDependsOn___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast_go___spec__1___closed__1; +lean_inc(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_Expr_hasFVar(x_1); +if (x_16 == 0) { -uint8_t x_115; -x_115 = l_Lean_Expr_hasMVar(x_1); -if (x_115 == 0) +uint8_t x_17; +x_17 = l_Lean_Expr_hasMVar(x_1); +if (x_17 == 0) { -uint8_t x_116; -lean_dec(x_1); -x_116 = 0; -x_14 = x_116; -x_15 = x_113; -goto block_111; -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_117 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast_go___spec__2(x_2, x_1, x_113); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = lean_unbox(x_118); -lean_dec(x_118); -x_14 = x_120; -x_15 = x_119; -goto block_111; -} -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_121 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast_go___spec__10(x_2, x_1, x_113); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = lean_unbox(x_122); -lean_dec(x_122); -x_14 = x_124; -x_15 = x_123; -goto block_111; -} -block_111: -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_dec(x_15); -x_17 = lean_st_ref_get(x_6, x_12); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_st_ref_take(x_4, x_18); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get_uint8(x_16, sizeof(void*)*8); -if (x_21 == 0) -{ -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; uint8_t x_32; -x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_1); +x_18 = lean_st_ref_get(x_6, x_12); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_st_ref_take(x_4, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); -x_23 = lean_ctor_get(x_19, 1); -lean_inc(x_23); -lean_dec(x_19); -x_24 = lean_ctor_get(x_16, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_16, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_16, 2); -lean_inc(x_26); -x_27 = lean_ctor_get(x_16, 3); -lean_inc(x_27); -x_28 = lean_ctor_get(x_16, 4); -lean_inc(x_28); -x_29 = lean_ctor_get(x_16, 5); -lean_inc(x_29); -x_30 = lean_ctor_get(x_16, 6); +lean_dec(x_20); +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_21, 0); +lean_dec(x_24); +lean_ctor_set(x_21, 0, x_13); +x_25 = lean_st_ref_set(x_4, x_21, x_22); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +x_28 = 0; +x_29 = lean_box(x_28); +lean_ctor_set(x_25, 0, x_29); +return x_25; +} +else +{ +lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_25, 1); lean_inc(x_30); -x_31 = lean_ctor_get(x_16, 7); -lean_inc(x_31); -lean_dec(x_16); -x_32 = !lean_is_exclusive(x_20); -if (x_32 == 0) +lean_dec(x_25); +x_31 = 0; +x_32 = lean_box(x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +} +else { -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_20, 0); -lean_dec(x_33); -x_34 = !lean_is_exclusive(x_22); -if (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; lean_object* x_43; uint8_t x_44; -x_35 = lean_ctor_get(x_22, 7); -lean_dec(x_35); -x_36 = lean_ctor_get(x_22, 6); -lean_dec(x_36); -x_37 = lean_ctor_get(x_22, 5); -lean_dec(x_37); -x_38 = lean_ctor_get(x_22, 4); -lean_dec(x_38); -x_39 = lean_ctor_get(x_22, 3); -lean_dec(x_39); -x_40 = lean_ctor_get(x_22, 2); -lean_dec(x_40); -x_41 = lean_ctor_get(x_22, 1); -lean_dec(x_41); -x_42 = lean_ctor_get(x_22, 0); -lean_dec(x_42); -lean_ctor_set(x_22, 7, x_31); -lean_ctor_set(x_22, 6, x_30); -lean_ctor_set(x_22, 5, x_29); -lean_ctor_set(x_22, 4, x_28); -lean_ctor_set(x_22, 3, x_27); -lean_ctor_set(x_22, 2, x_26); -lean_ctor_set(x_22, 1, x_25); -lean_ctor_set(x_22, 0, x_24); -x_43 = lean_st_ref_set(x_4, x_20, x_23); -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_43, 0); -lean_dec(x_45); -x_46 = lean_box(x_14); -lean_ctor_set(x_43, 0, x_46); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; +x_34 = lean_ctor_get(x_21, 1); +x_35 = lean_ctor_get(x_21, 2); +x_36 = lean_ctor_get(x_21, 3); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_21); +x_37 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_37, 0, x_13); +lean_ctor_set(x_37, 1, x_34); +lean_ctor_set(x_37, 2, x_35); +lean_ctor_set(x_37, 3, x_36); +x_38 = lean_st_ref_set(x_4, x_37, x_22); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_40 = x_38; +} else { + lean_dec_ref(x_38); + x_40 = lean_box(0); +} +x_41 = 0; +x_42 = lean_box(x_41); +if (lean_is_scalar(x_40)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_40; +} +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_39); return x_43; } +} else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_43, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_dec(x_13); +x_44 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast_go___spec__2(x_2, x_1, x_15); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); -lean_dec(x_43); -x_48 = lean_box(x_14); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -return x_49; -} +lean_dec(x_45); +x_48 = lean_st_ref_get(x_6, x_12); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_st_ref_take(x_4, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = !lean_is_exclusive(x_51); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_54 = lean_ctor_get(x_51, 0); +lean_dec(x_54); +lean_ctor_set(x_51, 0, x_47); +x_55 = lean_st_ref_set(x_4, x_51, x_52); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +lean_ctor_set(x_55, 0, x_46); +return x_55; } else { -uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_50 = lean_ctor_get_uint8(x_22, sizeof(void*)*8); -lean_dec(x_22); -x_51 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_51, 0, x_24); -lean_ctor_set(x_51, 1, x_25); -lean_ctor_set(x_51, 2, x_26); -lean_ctor_set(x_51, 3, x_27); -lean_ctor_set(x_51, 4, x_28); -lean_ctor_set(x_51, 5, x_29); -lean_ctor_set(x_51, 6, x_30); -lean_ctor_set(x_51, 7, x_31); -lean_ctor_set_uint8(x_51, sizeof(void*)*8, x_50); -lean_ctor_set(x_20, 0, x_51); -x_52 = lean_st_ref_set(x_4, x_20, x_23); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(x_14); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -else -{ -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_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_57 = lean_ctor_get(x_20, 1); -x_58 = lean_ctor_get(x_20, 2); -x_59 = lean_ctor_get(x_20, 3); -lean_inc(x_59); +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_55, 1); lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_20); -x_60 = lean_ctor_get_uint8(x_22, sizeof(void*)*8); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - lean_ctor_release(x_22, 2); - lean_ctor_release(x_22, 3); - lean_ctor_release(x_22, 4); - lean_ctor_release(x_22, 5); - lean_ctor_release(x_22, 6); - lean_ctor_release(x_22, 7); - x_61 = x_22; -} else { - lean_dec_ref(x_22); - x_61 = lean_box(0); +lean_dec(x_55); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_46); +lean_ctor_set(x_59, 1, x_58); +return x_59; } -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(0, 8, 1); -} else { - x_62 = x_61; } -lean_ctor_set(x_62, 0, x_24); -lean_ctor_set(x_62, 1, x_25); -lean_ctor_set(x_62, 2, x_26); -lean_ctor_set(x_62, 3, x_27); -lean_ctor_set(x_62, 4, x_28); -lean_ctor_set(x_62, 5, x_29); -lean_ctor_set(x_62, 6, x_30); -lean_ctor_set(x_62, 7, x_31); -lean_ctor_set_uint8(x_62, sizeof(void*)*8, x_60); +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_60 = lean_ctor_get(x_51, 1); +x_61 = lean_ctor_get(x_51, 2); +x_62 = lean_ctor_get(x_51, 3); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_51); x_63 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_57); -lean_ctor_set(x_63, 2, x_58); -lean_ctor_set(x_63, 3, x_59); -x_64 = lean_st_ref_set(x_4, x_63, x_23); +lean_ctor_set(x_63, 0, x_47); +lean_ctor_set(x_63, 1, x_60); +lean_ctor_set(x_63, 2, x_61); +lean_ctor_set(x_63, 3, x_62); +x_64 = lean_st_ref_set(x_4, x_63, x_52); x_65 = lean_ctor_get(x_64, 1); lean_inc(x_65); if (lean_is_exclusive(x_64)) { @@ -4500,176 +4435,103 @@ if (lean_is_exclusive(x_64)) { lean_dec_ref(x_64); x_66 = lean_box(0); } -x_67 = lean_box(x_14); if (lean_is_scalar(x_66)) { - x_68 = lean_alloc_ctor(0, 2, 0); + x_67 = lean_alloc_ctor(0, 2, 0); } else { - x_68 = x_66; + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_46); +lean_ctor_set(x_67, 1, x_65); +return x_67; } -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_65); -return x_68; } } else { -lean_object* x_69; uint8_t x_70; -x_69 = lean_ctor_get(x_19, 1); +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; uint8_t x_77; +lean_dec(x_13); +x_68 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast_go___spec__10(x_2, x_1, x_15); +x_69 = lean_ctor_get(x_68, 1); lean_inc(x_69); -lean_dec(x_19); -x_70 = !lean_is_exclusive(x_16); -if (x_70 == 0) -{ -uint8_t x_71; -x_71 = !lean_is_exclusive(x_20); -if (x_71 == 0) -{ -lean_object* x_72; uint8_t x_73; lean_object* x_74; uint8_t x_75; -x_72 = lean_ctor_get(x_20, 0); +x_70 = lean_ctor_get(x_68, 0); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_st_ref_get(x_6, x_12); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); lean_dec(x_72); -x_73 = 1; -lean_ctor_set_uint8(x_16, sizeof(void*)*8, x_73); -lean_ctor_set(x_20, 0, x_16); -x_74 = lean_st_ref_set(x_4, x_20, x_69); -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_74, 0); -lean_dec(x_76); -x_77 = lean_box(x_14); -lean_ctor_set(x_74, 0, x_77); -return x_74; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_74, 1); -lean_inc(x_78); +x_74 = lean_st_ref_take(x_4, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); lean_dec(x_74); -x_79 = lean_box(x_14); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -return x_80; -} +x_77 = !lean_is_exclusive(x_75); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_78 = lean_ctor_get(x_75, 0); +lean_dec(x_78); +lean_ctor_set(x_75, 0, x_71); +x_79 = lean_st_ref_set(x_4, x_75, x_76); +x_80 = !lean_is_exclusive(x_79); +if (x_80 == 0) +{ +lean_object* x_81; +x_81 = lean_ctor_get(x_79, 0); +lean_dec(x_81); +lean_ctor_set(x_79, 0, x_70); +return x_79; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t 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; -x_81 = lean_ctor_get(x_20, 1); -x_82 = lean_ctor_get(x_20, 2); -x_83 = lean_ctor_get(x_20, 3); -lean_inc(x_83); +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_79, 1); lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_20); -x_84 = 1; -lean_ctor_set_uint8(x_16, sizeof(void*)*8, x_84); -x_85 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_85, 0, x_16); -lean_ctor_set(x_85, 1, x_81); -lean_ctor_set(x_85, 2, x_82); -lean_ctor_set(x_85, 3, x_83); -x_86 = lean_st_ref_set(x_4, x_85, x_69); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_88 = x_86; -} else { - lean_dec_ref(x_86); - x_88 = lean_box(0); -} -x_89 = lean_box(x_14); -if (lean_is_scalar(x_88)) { - x_90 = lean_alloc_ctor(0, 2, 0); -} else { - x_90 = x_88; -} -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_87); -return x_90; +lean_dec(x_79); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_70); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t 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; -x_91 = lean_ctor_get(x_16, 0); -x_92 = lean_ctor_get(x_16, 1); -x_93 = lean_ctor_get(x_16, 2); -x_94 = lean_ctor_get(x_16, 3); -x_95 = lean_ctor_get(x_16, 4); -x_96 = lean_ctor_get(x_16, 5); -x_97 = lean_ctor_get(x_16, 6); -x_98 = lean_ctor_get(x_16, 7); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_16); -x_99 = lean_ctor_get(x_20, 1); -lean_inc(x_99); -x_100 = lean_ctor_get(x_20, 2); -lean_inc(x_100); -x_101 = lean_ctor_get(x_20, 3); -lean_inc(x_101); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - lean_ctor_release(x_20, 2); - lean_ctor_release(x_20, 3); - x_102 = x_20; +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_84 = lean_ctor_get(x_75, 1); +x_85 = lean_ctor_get(x_75, 2); +x_86 = lean_ctor_get(x_75, 3); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_75); +x_87 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_87, 0, x_71); +lean_ctor_set(x_87, 1, x_84); +lean_ctor_set(x_87, 2, x_85); +lean_ctor_set(x_87, 3, x_86); +x_88 = lean_st_ref_set(x_4, x_87, x_76); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_90 = x_88; } else { - lean_dec_ref(x_20); - x_102 = lean_box(0); + lean_dec_ref(x_88); + x_90 = lean_box(0); } -x_103 = 1; -x_104 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_104, 0, x_91); -lean_ctor_set(x_104, 1, x_92); -lean_ctor_set(x_104, 2, x_93); -lean_ctor_set(x_104, 3, x_94); -lean_ctor_set(x_104, 4, x_95); -lean_ctor_set(x_104, 5, x_96); -lean_ctor_set(x_104, 6, x_97); -lean_ctor_set(x_104, 7, x_98); -lean_ctor_set_uint8(x_104, sizeof(void*)*8, x_103); -if (lean_is_scalar(x_102)) { - x_105 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(0, 2, 0); } else { - x_105 = x_102; -} -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_99); -lean_ctor_set(x_105, 2, x_100); -lean_ctor_set(x_105, 3, x_101); -x_106 = lean_st_ref_set(x_4, x_105, x_69); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_108 = x_106; -} else { - lean_dec_ref(x_106); - x_108 = lean_box(0); -} -x_109 = lean_box(x_14); -if (lean_is_scalar(x_108)) { - x_110 = lean_alloc_ctor(0, 2, 0); -} else { - x_110 = x_108; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -return x_110; + x_91 = x_90; } +lean_ctor_set(x_91, 0, x_70); +lean_ctor_set(x_91, 1, x_89); +return x_91; } } } diff --git a/stage0/stdlib/Lean/Meta/Constructions.c b/stage0/stdlib/Lean/Meta/Constructions.c index f60049a978..58cfb0ae04 100644 --- a/stage0/stdlib/Lean/Meta/Constructions.c +++ b/stage0/stdlib/Lean/Meta/Constructions.c @@ -3303,14 +3303,13 @@ x_1 = l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spe x_2 = l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__15___closed__7; x_3 = l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__15___closed__8; x_4 = l_Lean_setReducibilityStatus___at_Lean_mkNoConfusionEnum_mkToCtorIdx___spec__15___closed__11; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/Meta/DecLevel.c b/stage0/stdlib/Lean/Meta/DecLevel.c index 4b2c31ccb0..1f5af0eabc 100644 --- a/stage0/stdlib/Lean/Meta/DecLevel.c +++ b/stage0/stdlib/Lean/Meta/DecLevel.c @@ -30,23 +30,19 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_decLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__2___closed__8; -LEAN_EXPORT lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__2___closed__5; lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__2___closed__6; -LEAN_EXPORT lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_decLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getDecLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__2___closed__3; static lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__4(uint8_t, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_DecLevelContext_canAssignMVars___default; static lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -58,7 +54,6 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceOptions(lean_object*); static lean_object* l_Lean_Meta_decLevel___closed__1; lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_decLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_decLevel___closed__2; @@ -73,7 +68,6 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe static lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___closed__6; static lean_object* l_Lean_Meta_decLevel___closed__3; lean_object* l_Lean_Level_mvar___override(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_decLevel_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint8_t _init_l_Lean_Meta_DecLevelContext_canAssignMVars___default() { _start: @@ -108,48 +102,45 @@ lean_dec(x_16); x_17 = !lean_is_exclusive(x_13); if (x_17 == 0) { -lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; uint8_t x_22; +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; x_18 = lean_ctor_get(x_13, 5); x_19 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_18, x_1, x_2); -x_20 = 1; lean_ctor_set(x_13, 5, x_19); -lean_ctor_set_uint8(x_13, sizeof(void*)*8, x_20); -x_21 = lean_st_ref_set(x_5, x_12, x_14); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +x_20 = lean_st_ref_set(x_5, x_12, x_14); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) { -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_21, 0); -lean_dec(x_23); -x_24 = lean_box(0); -lean_ctor_set(x_21, 0, x_24); -return x_21; +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +x_23 = lean_box(0); +lean_ctor_set(x_20, 0, x_23); +return x_20; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -lean_dec(x_21); -x_26 = lean_box(0); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -return x_27; +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_dec(x_20); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; } } 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; uint8_t 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_28 = lean_ctor_get(x_13, 0); -x_29 = lean_ctor_get(x_13, 1); -x_30 = lean_ctor_get(x_13, 2); -x_31 = lean_ctor_get(x_13, 3); -x_32 = lean_ctor_get(x_13, 4); -x_33 = lean_ctor_get(x_13, 5); -x_34 = lean_ctor_get(x_13, 6); -x_35 = lean_ctor_get(x_13, 7); -lean_inc(x_35); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_27 = lean_ctor_get(x_13, 0); +x_28 = lean_ctor_get(x_13, 1); +x_29 = lean_ctor_get(x_13, 2); +x_30 = lean_ctor_get(x_13, 3); +x_31 = lean_ctor_get(x_13, 4); +x_32 = lean_ctor_get(x_13, 5); +x_33 = lean_ctor_get(x_13, 6); +x_34 = lean_ctor_get(x_13, 7); lean_inc(x_34); lean_inc(x_33); lean_inc(x_32); @@ -157,68 +148,67 @@ lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); +lean_inc(x_27); lean_dec(x_13); -x_36 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_33, x_1, x_2); -x_37 = 1; -x_38 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_38, 0, x_28); -lean_ctor_set(x_38, 1, x_29); -lean_ctor_set(x_38, 2, x_30); -lean_ctor_set(x_38, 3, x_31); -lean_ctor_set(x_38, 4, x_32); -lean_ctor_set(x_38, 5, x_36); -lean_ctor_set(x_38, 6, x_34); -lean_ctor_set(x_38, 7, x_35); -lean_ctor_set_uint8(x_38, sizeof(void*)*8, x_37); -lean_ctor_set(x_12, 0, x_38); -x_39 = lean_st_ref_set(x_5, x_12, x_14); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); +x_35 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_32, x_1, x_2); +x_36 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_36, 0, x_27); +lean_ctor_set(x_36, 1, x_28); +lean_ctor_set(x_36, 2, x_29); +lean_ctor_set(x_36, 3, x_30); +lean_ctor_set(x_36, 4, x_31); +lean_ctor_set(x_36, 5, x_35); +lean_ctor_set(x_36, 6, x_33); +lean_ctor_set(x_36, 7, x_34); +lean_ctor_set(x_12, 0, x_36); +x_37 = lean_st_ref_set(x_5, x_12, x_14); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_39 = x_37; +} else { + lean_dec_ref(x_37); + x_39 = lean_box(0); +} +x_40 = lean_box(0); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { x_41 = x_39; -} else { - lean_dec_ref(x_39); - x_41 = lean_box(0); } -x_42 = lean_box(0); -if (lean_is_scalar(x_41)) { - x_43 = lean_alloc_ctor(0, 2, 0); -} else { - x_43 = x_41; -} -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_40); -return x_43; +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; } } 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; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_44 = lean_ctor_get(x_12, 1); -x_45 = lean_ctor_get(x_12, 2); -x_46 = lean_ctor_get(x_12, 3); -lean_inc(x_46); -lean_inc(x_45); +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; lean_object* x_61; +x_42 = lean_ctor_get(x_12, 1); +x_43 = lean_ctor_get(x_12, 2); +x_44 = lean_ctor_get(x_12, 3); lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); lean_dec(x_12); -x_47 = lean_ctor_get(x_13, 0); +x_45 = lean_ctor_get(x_13, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_13, 1); +lean_inc(x_46); +x_47 = lean_ctor_get(x_13, 2); lean_inc(x_47); -x_48 = lean_ctor_get(x_13, 1); +x_48 = lean_ctor_get(x_13, 3); lean_inc(x_48); -x_49 = lean_ctor_get(x_13, 2); +x_49 = lean_ctor_get(x_13, 4); lean_inc(x_49); -x_50 = lean_ctor_get(x_13, 3); +x_50 = lean_ctor_get(x_13, 5); lean_inc(x_50); -x_51 = lean_ctor_get(x_13, 4); +x_51 = lean_ctor_get(x_13, 6); lean_inc(x_51); -x_52 = lean_ctor_get(x_13, 5); +x_52 = lean_ctor_get(x_13, 7); lean_inc(x_52); -x_53 = lean_ctor_get(x_13, 6); -lean_inc(x_53); -x_54 = lean_ctor_get(x_13, 7); -lean_inc(x_54); if (lean_is_exclusive(x_13)) { lean_ctor_release(x_13, 0); lean_ctor_release(x_13, 1); @@ -228,52 +218,50 @@ if (lean_is_exclusive(x_13)) { lean_ctor_release(x_13, 5); lean_ctor_release(x_13, 6); lean_ctor_release(x_13, 7); - x_55 = x_13; + x_53 = x_13; } else { lean_dec_ref(x_13); - x_55 = lean_box(0); + x_53 = lean_box(0); } -x_56 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_52, x_1, x_2); -x_57 = 1; -if (lean_is_scalar(x_55)) { - x_58 = lean_alloc_ctor(0, 8, 1); +x_54 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_50, x_1, x_2); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 8, 0); } else { - x_58 = x_55; + x_55 = x_53; } -lean_ctor_set(x_58, 0, x_47); -lean_ctor_set(x_58, 1, x_48); -lean_ctor_set(x_58, 2, x_49); -lean_ctor_set(x_58, 3, x_50); -lean_ctor_set(x_58, 4, x_51); -lean_ctor_set(x_58, 5, x_56); -lean_ctor_set(x_58, 6, x_53); -lean_ctor_set(x_58, 7, x_54); -lean_ctor_set_uint8(x_58, sizeof(void*)*8, x_57); -x_59 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_44); -lean_ctor_set(x_59, 2, x_45); -lean_ctor_set(x_59, 3, x_46); -x_60 = lean_st_ref_set(x_5, x_59, x_14); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - x_62 = x_60; +lean_ctor_set(x_55, 0, x_45); +lean_ctor_set(x_55, 1, x_46); +lean_ctor_set(x_55, 2, x_47); +lean_ctor_set(x_55, 3, x_48); +lean_ctor_set(x_55, 4, x_49); +lean_ctor_set(x_55, 5, x_54); +lean_ctor_set(x_55, 6, x_51); +lean_ctor_set(x_55, 7, x_52); +x_56 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_42); +lean_ctor_set(x_56, 2, x_43); +lean_ctor_set(x_56, 3, x_44); +x_57 = lean_st_ref_set(x_5, x_56, x_14); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_59 = x_57; } else { - lean_dec_ref(x_60); - x_62 = lean_box(0); + lean_dec_ref(x_57); + x_59 = lean_box(0); } -x_63 = lean_box(0); -if (lean_is_scalar(x_62)) { - x_64 = lean_alloc_ctor(0, 2, 0); +x_60 = lean_box(0); +if (lean_is_scalar(x_59)) { + x_61 = lean_alloc_ctor(0, 2, 0); } else { - x_64 = x_62; + x_61 = x_59; } -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_61); -return x_64; +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_58); +return x_61; } } } @@ -593,203 +581,6 @@ lean_ctor_set(x_11, 1, x_7); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_st_ref_take(x_1, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_8, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -uint8_t x_14; lean_object* x_15; uint8_t x_16; -x_14 = 1; -lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_14); -x_15 = lean_st_ref_set(x_1, x_8, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_9, 0); -x_23 = lean_ctor_get(x_9, 1); -x_24 = lean_ctor_get(x_9, 2); -x_25 = lean_ctor_get(x_9, 3); -x_26 = lean_ctor_get(x_9, 4); -x_27 = lean_ctor_get(x_9, 5); -x_28 = lean_ctor_get(x_9, 6); -x_29 = lean_ctor_get(x_9, 7); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_9); -x_30 = 1; -x_31 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_23); -lean_ctor_set(x_31, 2, x_24); -lean_ctor_set(x_31, 3, x_25); -lean_ctor_set(x_31, 4, x_26); -lean_ctor_set(x_31, 5, x_27); -lean_ctor_set(x_31, 6, x_28); -lean_ctor_set(x_31, 7, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_30); -lean_ctor_set(x_8, 0, x_31); -x_32 = lean_st_ref_set(x_1, x_8, x_10); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; -} else { - lean_dec_ref(x_32); - x_34 = lean_box(0); -} -x_35 = lean_box(0); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -} -else -{ -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; uint8_t 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_37 = lean_ctor_get(x_8, 1); -x_38 = lean_ctor_get(x_8, 2); -x_39 = lean_ctor_get(x_8, 3); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_8); -x_40 = lean_ctor_get(x_9, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_9, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_9, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_9, 3); -lean_inc(x_43); -x_44 = lean_ctor_get(x_9, 4); -lean_inc(x_44); -x_45 = lean_ctor_get(x_9, 5); -lean_inc(x_45); -x_46 = lean_ctor_get(x_9, 6); -lean_inc(x_46); -x_47 = lean_ctor_get(x_9, 7); -lean_inc(x_47); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - lean_ctor_release(x_9, 6); - lean_ctor_release(x_9, 7); - x_48 = x_9; -} else { - lean_dec_ref(x_9); - x_48 = lean_box(0); -} -x_49 = 1; -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 8, 1); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_40); -lean_ctor_set(x_50, 1, x_41); -lean_ctor_set(x_50, 2, x_42); -lean_ctor_set(x_50, 3, x_43); -lean_ctor_set(x_50, 4, x_44); -lean_ctor_set(x_50, 5, x_45); -lean_ctor_set(x_50, 6, x_46); -lean_ctor_set(x_50, 7, x_47); -lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_49); -x_51 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_37); -lean_ctor_set(x_51, 2, x_38); -lean_ctor_set(x_51, 3, x_39); -x_52 = lean_st_ref_set(x_1, x_51, x_10); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__4(uint8_t x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__4___rarg___boxed), 4, 0); -return x_3; -} -} LEAN_EXPORT lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___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, lean_object* x_9) { _start: { @@ -823,16 +614,6 @@ return x_17; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t 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 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_8); -return x_9; -} -} static lean_object* _init_l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___closed__1() { _start: { @@ -1354,284 +1135,264 @@ return x_96; } case 5: { -lean_object* x_97; lean_object* x_98; lean_object* x_99; 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_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; x_97 = lean_ctor_get(x_1, 0); lean_inc(x_97); lean_dec(x_1); -x_158 = lean_st_ref_get(x_6, x_7); -x_159 = lean_ctor_get(x_158, 1); -lean_inc(x_159); -lean_dec(x_158); -x_160 = lean_st_ref_get(x_4, x_159); -x_161 = lean_ctor_get(x_160, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_160, 1); -lean_inc(x_162); -lean_dec(x_160); -x_163 = lean_ctor_get(x_161, 0); -lean_inc(x_163); -lean_dec(x_161); -x_164 = lean_ctor_get(x_163, 5); -lean_inc(x_164); -lean_dec(x_163); -lean_inc(x_97); -x_165 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_164, x_97); -if (lean_obj_tag(x_165) == 0) -{ -x_98 = x_165; -x_99 = x_162; -goto block_157; -} -else -{ -lean_object* x_166; lean_object* x_167; -x_166 = l_Lean_markUsedAssignment___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__4___rarg(x_4, x_5, x_6, x_162); -x_167 = lean_ctor_get(x_166, 1); -lean_inc(x_167); -lean_dec(x_166); -x_98 = x_165; -x_99 = x_167; -goto block_157; -} -block_157: -{ -if (lean_obj_tag(x_98) == 0) -{ -lean_object* x_100; -lean_inc(x_97); -x_100 = l_Lean_LMVarId_isReadOnly(x_97, x_3, x_4, x_5, x_6, x_99); -if (lean_obj_tag(x_100) == 0) -{ -lean_object* x_101; uint8_t x_102; +x_98 = lean_st_ref_get(x_6, x_7); +x_99 = lean_ctor_get(x_98, 1); +lean_inc(x_99); +lean_dec(x_98); +x_100 = lean_st_ref_get(x_4, x_99); x_101 = lean_ctor_get(x_100, 0); lean_inc(x_101); -x_102 = lean_unbox(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +x_103 = lean_ctor_get(x_101, 0); +lean_inc(x_103); lean_dec(x_101); -if (x_102 == 0) +x_104 = lean_ctor_get(x_103, 5); +lean_inc(x_104); +lean_dec(x_103); +lean_inc(x_97); +x_105 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_104, x_97); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; +lean_inc(x_97); +x_106 = l_Lean_LMVarId_isReadOnly(x_97, x_3, x_4, x_5, x_6, x_102); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; uint8_t x_108; +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_unbox(x_107); +lean_dec(x_107); +if (x_108 == 0) { if (x_2 == 0) { -uint8_t x_103; +uint8_t x_109; lean_dec(x_97); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_103 = !lean_is_exclusive(x_100); -if (x_103 == 0) +x_109 = !lean_is_exclusive(x_106); +if (x_109 == 0) { -lean_object* x_104; lean_object* x_105; -x_104 = lean_ctor_get(x_100, 0); -lean_dec(x_104); -x_105 = lean_box(0); -lean_ctor_set(x_100, 0, x_105); -return x_100; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_100, 1); -lean_inc(x_106); -lean_dec(x_100); -x_107 = lean_box(0); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -return x_108; -} -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_109 = lean_ctor_get(x_100, 1); -lean_inc(x_109); -lean_dec(x_100); -x_110 = l_Lean_Meta_mkFreshLevelMVar(x_3, x_4, x_5, x_6, x_109); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); +lean_object* x_110; lean_object* x_111; +x_110 = lean_ctor_get(x_106, 0); lean_dec(x_110); -x_113 = l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___closed__6; -x_134 = lean_st_ref_get(x_6, x_112); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_135, 3); -lean_inc(x_136); -lean_dec(x_135); -x_137 = lean_ctor_get_uint8(x_136, sizeof(void*)*1); -lean_dec(x_136); -if (x_137 == 0) -{ -lean_object* x_138; uint8_t x_139; -x_138 = lean_ctor_get(x_134, 1); -lean_inc(x_138); -lean_dec(x_134); -x_139 = 0; -x_114 = x_139; -x_115 = x_138; -goto block_133; +x_111 = lean_box(0); +lean_ctor_set(x_106, 0, x_111); +return x_106; } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; -x_140 = lean_ctor_get(x_134, 1); -lean_inc(x_140); -lean_dec(x_134); -x_141 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__3(x_113, x_2, x_3, x_4, x_5, x_6, x_140); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = lean_unbox(x_142); -lean_dec(x_142); -x_114 = x_144; -x_115 = x_143; -goto block_133; +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_106, 1); +lean_inc(x_112); +lean_dec(x_106); +x_113 = lean_box(0); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_112); +return x_114; } -block_133: +} +else { -if (x_114 == 0) +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_115 = lean_ctor_get(x_106, 1); +lean_inc(x_115); +lean_dec(x_106); +x_116 = l_Lean_Meta_mkFreshLevelMVar(x_3, x_4, x_5, x_6, x_115); +x_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +x_119 = l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___closed__6; +x_140 = lean_st_ref_get(x_6, x_118); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_141, 3); +lean_inc(x_142); +lean_dec(x_141); +x_143 = lean_ctor_get_uint8(x_142, sizeof(void*)*1); +lean_dec(x_142); +if (x_143 == 0) { -lean_object* x_116; lean_object* x_117; -x_116 = lean_box(0); -x_117 = l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___lambda__1(x_111, x_97, x_116, x_2, x_3, x_4, x_5, x_6, x_115); +lean_object* x_144; uint8_t x_145; +x_144 = lean_ctor_get(x_140, 1); +lean_inc(x_144); +lean_dec(x_140); +x_145 = 0; +x_120 = x_145; +x_121 = x_144; +goto block_139; +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; +x_146 = lean_ctor_get(x_140, 1); +lean_inc(x_146); +lean_dec(x_140); +x_147 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__3(x_119, x_2, x_3, x_4, x_5, x_6, x_146); +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); +x_150 = lean_unbox(x_148); +lean_dec(x_148); +x_120 = x_150; +x_121 = x_149; +goto block_139; +} +block_139: +{ +if (x_120 == 0) +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_box(0); +x_123 = l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___lambda__1(x_117, x_97, x_122, x_2, x_3, x_4, x_5, x_6, x_121); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_117; +return x_123; } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +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; lean_object* x_137; lean_object* x_138; lean_inc(x_97); -x_118 = l_Lean_Level_mvar___override(x_97); -x_119 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_119, 0, x_118); -x_120 = l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___closed__8; -x_121 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___closed__10; -x_123 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -lean_inc(x_111); -x_124 = l_Lean_Level_succ___override(x_111); +x_124 = l_Lean_Level_mvar___override(x_97); x_125 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_125, 0, x_124); -x_126 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_126, 0, x_123); -lean_ctor_set(x_126, 1, x_125); -x_127 = l_Lean_addTrace___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__2___closed__8; -x_128 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -x_129 = l_Lean_addTrace___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__2(x_113, x_128, x_2, x_3, x_4, x_5, x_6, x_115); -x_130 = lean_ctor_get(x_129, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 1); -lean_inc(x_131); -lean_dec(x_129); -x_132 = l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___lambda__1(x_111, x_97, x_130, x_2, x_3, x_4, x_5, x_6, x_131); +x_126 = l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___closed__8; +x_127 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_125); +x_128 = l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___closed__10; +x_129 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); +lean_inc(x_117); +x_130 = l_Lean_Level_succ___override(x_117); +x_131 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_131, 0, x_130); +x_132 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_132, 0, x_129); +lean_ctor_set(x_132, 1, x_131); +x_133 = l_Lean_addTrace___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__2___closed__8; +x_134 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +x_135 = l_Lean_addTrace___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__2(x_119, x_134, x_2, x_3, x_4, x_5, x_6, x_121); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_138 = l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___lambda__1(x_117, x_97, x_136, x_2, x_3, x_4, x_5, x_6, x_137); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_130); -return x_132; +lean_dec(x_136); +return x_138; } } } } else { -uint8_t x_145; -lean_dec(x_97); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_145 = !lean_is_exclusive(x_100); -if (x_145 == 0) -{ -lean_object* x_146; lean_object* x_147; -x_146 = lean_ctor_get(x_100, 0); -lean_dec(x_146); -x_147 = lean_box(0); -lean_ctor_set(x_100, 0, x_147); -return x_100; -} -else -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_148 = lean_ctor_get(x_100, 1); -lean_inc(x_148); -lean_dec(x_100); -x_149 = lean_box(0); -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; -} -} -} -else -{ uint8_t x_151; lean_dec(x_97); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_151 = !lean_is_exclusive(x_100); +x_151 = !lean_is_exclusive(x_106); if (x_151 == 0) { -return x_100; +lean_object* x_152; lean_object* x_153; +x_152 = lean_ctor_get(x_106, 0); +lean_dec(x_152); +x_153 = lean_box(0); +lean_ctor_set(x_106, 0, x_153); +return x_106; } else { -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_100, 0); -x_153 = lean_ctor_get(x_100, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_100); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_152); -lean_ctor_set(x_154, 1, x_153); -return x_154; +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_106, 1); +lean_inc(x_154); +lean_dec(x_106); +x_155 = lean_box(0); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_154); +return x_156; } } } else { -lean_object* x_155; +uint8_t x_157; lean_dec(x_97); -x_155 = lean_ctor_get(x_98, 0); -lean_inc(x_155); -lean_dec(x_98); -x_1 = x_155; -x_7 = x_99; -goto _start; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_157 = !lean_is_exclusive(x_106); +if (x_157 == 0) +{ +return x_106; } +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_158 = lean_ctor_get(x_106, 0); +x_159 = lean_ctor_get(x_106, 1); +lean_inc(x_159); +lean_inc(x_158); +lean_dec(x_106); +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_158); +lean_ctor_set(x_160, 1, x_159); +return x_160; +} +} +} +else +{ +lean_object* x_161; +lean_dec(x_97); +x_161 = lean_ctor_get(x_105, 0); +lean_inc(x_161); +lean_dec(x_105); +x_1 = x_161; +x_7 = x_102; +goto _start; } } default: { -lean_object* x_168; lean_object* x_169; +lean_object* x_163; lean_object* x_164; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_168 = lean_box(0); -x_169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_7); -return x_169; +x_163 = lean_box(0); +x_164 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_164, 0, x_163); +lean_ctor_set(x_164, 1, x_7); +return x_164; } } } @@ -1678,28 +1439,6 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_markUsedAssignment___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__4___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__4___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = lean_unbox(x_1); -lean_dec(x_1); -x_4 = l_Lean_markUsedAssignment___at___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___spec__4(x_3, x_2); -lean_dec(x_2); -return x_4; -} -} LEAN_EXPORT lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -1715,21 +1454,6 @@ lean_dec(x_3); return x_11; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_3); -lean_dec(x_3); -x_10 = l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___lambda__2(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -return x_10; -} -} LEAN_EXPORT lean_object* l___private_Lean_Meta_DecLevel_0__Lean_Meta_decAux_x3f___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: { diff --git a/stage0/stdlib/Lean/Meta/Eqns.c b/stage0/stdlib/Lean/Meta/Eqns.c index 49ef01eaa8..1fe1c3a3b4 100644 --- a/stage0/stdlib/Lean/Meta/Eqns.c +++ b/stage0/stdlib/Lean/Meta/Eqns.c @@ -3326,14 +3326,13 @@ x_1 = l_List_forIn_loop___at_Lean_Meta_getEqnsFor_x3f___spec__8___closed__3; x_2 = l_List_forIn_loop___at_Lean_Meta_getEqnsFor_x3f___spec__8___closed__5; x_3 = l_List_forIn_loop___at_Lean_Meta_getEqnsFor_x3f___spec__8___closed__6; x_4 = l_List_forIn_loop___at_Lean_Meta_getEqnsFor_x3f___spec__8___closed__9; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -3916,16 +3915,14 @@ lean_ctor_set(x_48, 1, x_34); x_49 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_49, 0, x_5); lean_ctor_set(x_49, 1, x_34); -lean_inc(x_49); lean_inc_n(x_46, 2); -x_50 = lean_alloc_ctor(0, 7, 0); +x_50 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_50, 0, x_46); lean_ctor_set(x_50, 1, x_47); lean_ctor_set(x_50, 2, x_48); lean_ctor_set(x_50, 3, x_46); lean_ctor_set(x_50, 4, x_46); lean_ctor_set(x_50, 5, x_49); -lean_ctor_set(x_50, 6, x_49); lean_ctor_set(x_42, 1, x_50); x_51 = lean_st_ref_set(x_8, x_42, x_43); lean_dec(x_8); @@ -3977,16 +3974,14 @@ lean_ctor_set(x_61, 1, x_34); x_62 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_62, 0, x_5); lean_ctor_set(x_62, 1, x_34); -lean_inc(x_62); lean_inc_n(x_59, 2); -x_63 = lean_alloc_ctor(0, 7, 0); +x_63 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_63, 0, x_59); lean_ctor_set(x_63, 1, x_60); lean_ctor_set(x_63, 2, x_61); lean_ctor_set(x_63, 3, x_59); lean_ctor_set(x_63, 4, x_59); lean_ctor_set(x_63, 5, x_62); -lean_ctor_set(x_63, 6, x_62); x_64 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_64, 0, x_56); lean_ctor_set(x_64, 1, x_63); @@ -4100,16 +4095,14 @@ lean_ctor_set(x_95, 1, x_78); x_96 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_96, 0, x_5); lean_ctor_set(x_96, 1, x_78); -lean_inc(x_96); lean_inc_n(x_93, 2); -x_97 = lean_alloc_ctor(0, 7, 0); +x_97 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_97, 0, x_93); lean_ctor_set(x_97, 1, x_94); lean_ctor_set(x_97, 2, x_95); lean_ctor_set(x_97, 3, x_93); lean_ctor_set(x_97, 4, x_93); lean_ctor_set(x_97, 5, x_96); -lean_ctor_set(x_97, 6, x_96); if (lean_is_scalar(x_92)) { x_98 = lean_alloc_ctor(0, 4, 0); } else { @@ -4254,16 +4247,14 @@ lean_ctor_set(x_136, 1, x_119); x_137 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_137, 0, x_5); lean_ctor_set(x_137, 1, x_119); -lean_inc(x_137); lean_inc_n(x_134, 2); -x_138 = lean_alloc_ctor(0, 7, 0); +x_138 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_138, 0, x_134); lean_ctor_set(x_138, 1, x_135); lean_ctor_set(x_138, 2, x_136); lean_ctor_set(x_138, 3, x_134); lean_ctor_set(x_138, 4, x_134); lean_ctor_set(x_138, 5, x_137); -lean_ctor_set(x_138, 6, x_137); if (lean_is_scalar(x_133)) { x_139 = lean_alloc_ctor(0, 4, 0); } else { diff --git a/stage0/stdlib/Lean/Meta/ExprDefEq.c b/stage0/stdlib/Lean/Meta/ExprDefEq.c index 9b87caa7e8..ae37d8f3ef 100644 --- a/stage0/stdlib/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Lean/Meta/ExprDefEq.c @@ -31,7 +31,6 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at__ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_elem___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom_visit___spec__2___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___closed__2; -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(lean_object*, size_t, size_t); static lean_object* l_Lean_addTrace___at_Lean_Meta_CheckAssignment_checkFVar___spec__2___closed__5; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__1; size_t lean_usize_add(size_t, size_t); @@ -66,13 +65,11 @@ static lean_object* l_Lean_Meta_CheckAssignment_check___closed__10; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Meta_CheckAssignment_checkMVar___spec__45___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_checkFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_checkAssignmentAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkCacheKey(lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_check___closed__12; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__11; @@ -110,6 +107,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignmen LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_checkFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__32(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__20___boxed(lean_object*, lean_object*, lean_object*); @@ -150,15 +148,12 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBinding(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_CheckAssignment_checkApp___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Meta_CheckAssignment_checkMVar___spec__29___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignmentQuick_check_visit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_checkMVar___spec__22(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDepsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getNumPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__9; extern lean_object* l_Lean_MessageData_nil; @@ -175,7 +170,6 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_expandDelayedAssigned_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__22; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_check___closed__5; @@ -202,12 +196,10 @@ lean_object* l_Lean_MessageData_ofList(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__13; LEAN_EXPORT uint8_t l_List_elem___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom_visit___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_getConst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__4; lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isDefEqNative(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -233,13 +225,13 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0_ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox_defaultCase___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__2; uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10207_(uint8_t, uint8_t); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalContext_contains(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__1; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__12(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__41(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__67(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(lean_object*, lean_object*, lean_object*); @@ -247,11 +239,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQui static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__8; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__8(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_outOfScopeExceptionId; lean_object* l_Lean_MVarId_isAssigned___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_withResetUsedAssignment(lean_object*); lean_object* l_Lean_Meta_getPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_is_expr_def_eq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_simpAssignmentArgAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -268,6 +258,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_Ex static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___lambda__1___closed__1; LEAN_EXPORT uint8_t l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_etaEq(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__1; +static lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_expandDelayedAssigned_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -326,7 +317,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_trySynthPe lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CheckAssignment_checkApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -344,6 +334,8 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAss lean_object* l_StateRefT_x27_lift(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvar___override(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__60(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__7(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__21; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_addLetDeps___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj_isDefEqSingleton___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -359,9 +351,9 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___c LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__53___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_Expr_constLevels_x21(lean_object*); lean_object* lean_local_ctx_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_patternAnnotation_x3f(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__2; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___closed__1; lean_object* l_Lean_instantiateMVars___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -379,6 +371,7 @@ lean_object* l_Lean_Expr_headBeta(lean_object*); lean_object* l_Std_PersistentArray_get_x21___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__15; static lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__4; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__6; @@ -387,6 +380,7 @@ static lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefE LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_assignConst___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj_isDefEqSingleton___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__2; LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_checkMVar___spec__38(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_sameHeadSymbol(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -426,16 +420,15 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnF static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__12; LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__5; static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_toCtorIfLit(lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__58(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__47(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(lean_object*, lean_object*, size_t, size_t); lean_object* l_Nat_repr(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_CheckAssignment_checkApp___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstance___at___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImp___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__15___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqOffset(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -449,7 +442,6 @@ uint8_t l_Lean_Meta_ParamInfo_isInstImplicit(lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__13; lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__3; -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__49___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -463,6 +455,7 @@ uint64_t l_Lean_Expr_hash(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Meta_CheckAssignment_checkMVar___spec__5___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__3; +lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__54(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__3; lean_object* l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(lean_object*, lean_object*); @@ -481,7 +474,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_expandDela LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__57(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_checkMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1___closed__1; uint8_t l_Lean_ConstantInfo_hasValue(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isEtaUnassignedMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); @@ -491,11 +483,11 @@ static lean_object* l_Lean_Meta_isDefEqStringLit___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_expandDelayedAssigned_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; -static lean_object* l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeps___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProj_isDefEqSingleton(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_addLetDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBinding___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__10; @@ -514,6 +506,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_simpAssign size_t lean_usize_modn(size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_checkApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg___closed__2; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___closed__1; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProjInst___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -546,27 +539,22 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqPro lean_object* l_Lean_Meta_isExprDefEqAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___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*); -static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_quick_lt(lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; lean_object* l_Lean_ConstantInfo_hints(lean_object*); extern lean_object* l_Lean_Core_instMonadQuotationCoreM; lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_CheckAssignment_checkMVar___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_addLetDeps___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__54___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_exprDependsOn___spec__4(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__2; static lean_object* l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg___closed__1; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___closed__1; LEAN_EXPORT uint8_t l_Lean_Meta_CheckAssignmentQuick_check_visit(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_throwOutOfScopeFVar___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -578,7 +566,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__1___boxed(lean LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__9(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Meta_CheckAssignment_check___closed__8; LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_checkMVar___spec__46(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_withResetUsedAssignment___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqBindingAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_ParamInfo_isExplicit(lean_object*); @@ -594,12 +581,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqPro static lean_object* l_Lean_Meta_CheckAssignment_checkMVar___closed__1; lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isProjectionFn___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldNonProjFnDefEq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__19; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__4; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__66(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta___spec__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_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___closed__2; lean_object* l_Lean_Meta_mkFreshExprMVarAt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__8; lean_object* l_Lean_LocalDecl_type(lean_object*); @@ -609,7 +596,6 @@ lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_objec static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__13; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__1___closed__3; static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__3; -extern lean_object* l_Lean_Meta_smartUnfolding; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -684,7 +670,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_ExprD LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned___at_Lean_Meta_CheckAssignment_checkApp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__39___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_CheckAssignment_checkMVar___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_CheckAssignmentQuick_check(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_simpAssignmentArg___closed__1; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__49(lean_object*, lean_object*, size_t, size_t); @@ -693,7 +678,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFin static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_cache___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CheckAssignment_checkApp___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__9; uint8_t l_Bool_toLBool(uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -705,6 +689,7 @@ static lean_object* l_Lean_addTrace___at_Lean_Meta_CheckAssignment_checkFVar___s LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_isLetVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__6; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; lean_object* lean_synth_pending(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -750,7 +735,7 @@ LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentA LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_checkMVar___spec__46___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__4(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_17288_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_16761_(lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure___rarg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -759,6 +744,7 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0_ LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__7(lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwUnknownMVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__59(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_hasLetDeclsInBetween___lambda__1(lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -804,7 +790,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta extern lean_object* l_Lean_Expr_instBEqExpr; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__12; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_consumeLet(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__28(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -845,7 +830,6 @@ static lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__1; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__28___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Meta_CheckAssignment_checkMVar___spec__13___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CheckAssignment_run___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); static lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__2; lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickMVarMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -853,12 +837,12 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkM LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldComparingHeadsDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__19___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeftRight___closed__2; +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Meta_CheckAssignment_checkMVar___spec__45(lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_mkHashSet___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeps___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_Meta_CheckAssignment_checkMVar___spec__52___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_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -882,12 +866,12 @@ uint8_t l_Lean_Expr_hasFVar(lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__2; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__10; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__5; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignmentQuick_check_visit___spec__1(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x21(lean_object*); lean_object* l_Lean_Meta_processPostponed(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -915,16 +899,17 @@ static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___c static size_t l_Std_PersistentHashMap_findAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___spec__2___closed__1; uint8_t l_Array_contains___at_Lean_Meta_setMVarUserNamesAt___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft___closed__4; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__10(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox_go___spec__1(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_checkMVar___spec__44(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___closed__2; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isLet(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4___lambda__1(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_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_ForEachExpr_visit___spec__1(lean_object*, lean_object*); @@ -934,6 +919,7 @@ static lean_object* l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__16; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_addLetDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__14; lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeftRight___closed__1; static lean_object* l_Lean_Meta_isDefEqStringLit___closed__2; static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__1___closed__1() { @@ -1849,6 +1835,58 @@ return x_9; static lean_object* _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__1() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Expr_instBEqExpr; +x_2 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2); +lean_closure_set(x_2, 0, x_1); +lean_closure_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Expr_instHashableExpr; +x_2 = lean_alloc_closure((void*)(l_instHashableProd___rarg___boxed), 3, 2); +lean_closure_set(x_2, 0, x_1); +lean_closure_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__3; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__4; +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; +} +} +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__6() { +_start: +{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___lambda__1___boxed), 6, 0); return x_1; @@ -1857,20 +1895,50 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_30; lean_object* x_31; lean_object* x_70; lean_object* x_71; +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; uint8_t x_25; x_16 = l_Lean_Meta_saveState___rarg(x_12, x_13, x_14, x_15); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); lean_dec(x_16); -x_19 = l_Lean_Meta_getResetPostponed(x_11, x_12, x_13, x_14, x_18); -x_20 = lean_ctor_get(x_19, 0); +x_19 = lean_st_ref_get(x_14, x_18); +x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); lean_dec(x_19); -x_70 = lean_unsigned_to_nat(1u); +x_21 = lean_st_ref_take(x_12, x_20); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = !lean_is_exclusive(x_22); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_22, 1); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_23); +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; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_43; lean_object* x_44; lean_object* x_83; lean_object* x_84; +x_28 = lean_ctor_get(x_23, 5); +lean_dec(x_28); +x_29 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +lean_ctor_set(x_23, 5, x_29); +x_30 = lean_st_ref_set(x_12, x_22, x_24); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = l_Lean_Meta_getResetPostponed(x_11, x_12, x_13, x_14, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_83 = lean_unsigned_to_nat(1u); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -1878,261 +1946,872 @@ lean_inc(x_11); lean_inc(x_9); lean_inc(x_8); lean_inc(x_5); -x_71 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_8, x_5, x_8, x_70, x_9, x_11, x_12, x_13, x_14, x_21); +x_84 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_8, x_5, x_8, x_83, x_9, x_11, x_12, x_13, x_14, x_34); lean_dec(x_8); lean_dec(x_5); -if (lean_obj_tag(x_71) == 0) +if (lean_obj_tag(x_84) == 0) { -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -lean_dec(x_72); -if (lean_obj_tag(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_71, 1); -lean_inc(x_74); -lean_dec(x_71); -x_75 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__1; -x_76 = lean_box(0); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_77 = lean_apply_6(x_75, x_76, x_11, x_12, x_13, x_14, x_74); -if (lean_obj_tag(x_77) == 0) -{ -lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_unbox(x_78); -lean_dec(x_78); -x_30 = x_80; -x_31 = x_79; -goto block_69; -} -else -{ -lean_object* x_81; lean_object* x_82; -lean_dec(x_20); -x_81 = lean_ctor_get(x_77, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_77, 1); -lean_inc(x_82); -lean_dec(x_77); -x_22 = x_81; -x_23 = x_82; -goto block_29; -} -} -else -{ -lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_83 = lean_ctor_get(x_71, 1); -lean_inc(x_83); -lean_dec(x_71); -x_84 = lean_ctor_get(x_73, 0); -lean_inc(x_84); -lean_dec(x_73); -x_85 = lean_unbox(x_84); -lean_dec(x_84); -x_30 = x_85; -x_31 = x_83; -goto block_69; -} -} -else -{ -lean_object* x_86; lean_object* x_87; -lean_dec(x_20); -x_86 = lean_ctor_get(x_71, 0); +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_85, 0); lean_inc(x_86); -x_87 = lean_ctor_get(x_71, 1); +lean_dec(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_84, 1); lean_inc(x_87); -lean_dec(x_71); -x_22 = x_86; -x_23 = x_87; -goto block_29; -} -block_29: -{ -lean_object* x_24; uint8_t x_25; -x_24 = l_Lean_Meta_SavedState_restore(x_17, x_11, x_12, x_13, x_14, x_23); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -lean_ctor_set_tag(x_24, 1); -lean_ctor_set(x_24, 0, x_22); -return x_24; -} -else -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_22); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -block_69: -{ -if (x_30 == 0) -{ -lean_object* x_32; uint8_t x_33; -lean_dec(x_20); -x_32 = l_Lean_Meta_SavedState_restore(x_17, x_11, x_12, x_13, x_14, x_31); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) -{ -lean_object* x_34; uint8_t x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 0); -lean_dec(x_34); -x_35 = 0; -x_36 = lean_box(x_35); -lean_ctor_set(x_32, 0, x_36); -return x_32; -} -else -{ -lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_32, 1); -lean_inc(x_37); -lean_dec(x_32); -x_38 = 0; -x_39 = lean_box(x_38); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_37); -return x_40; -} -} -else -{ -uint8_t x_41; lean_object* x_42; -x_41 = 0; +lean_dec(x_84); +x_88 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__6; +x_89 = lean_box(0); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_42 = l_Lean_Meta_processPostponed(x_10, x_41, x_11, x_12, x_13, x_14, x_31); -if (lean_obj_tag(x_42) == 0) +x_90 = lean_apply_6(x_88, x_89, x_11, x_12, x_13, x_14, x_87); +if (lean_obj_tag(x_90) == 0) { -lean_object* x_43; uint8_t x_44; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_unbox(x_43); -lean_dec(x_43); -if (x_44 == 0) +lean_object* x_91; lean_object* x_92; uint8_t x_93; +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_43 = x_93; +x_44 = x_92; +goto block_82; +} +else { -lean_object* x_45; lean_object* x_46; uint8_t x_47; -lean_dec(x_20); -x_45 = lean_ctor_get(x_42, 1); -lean_inc(x_45); -lean_dec(x_42); -x_46 = l_Lean_Meta_SavedState_restore(x_17, x_11, x_12, x_13, x_14, x_45); +lean_object* x_94; lean_object* x_95; +lean_dec(x_33); +x_94 = lean_ctor_get(x_90, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_90, 1); +lean_inc(x_95); +lean_dec(x_90); +x_35 = x_94; +x_36 = x_95; +goto block_42; +} +} +else +{ +lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_96 = lean_ctor_get(x_84, 1); +lean_inc(x_96); +lean_dec(x_84); +x_97 = lean_ctor_get(x_86, 0); +lean_inc(x_97); +lean_dec(x_86); +x_98 = lean_unbox(x_97); +lean_dec(x_97); +x_43 = x_98; +x_44 = x_96; +goto block_82; +} +} +else +{ +lean_object* x_99; lean_object* x_100; +lean_dec(x_33); +x_99 = lean_ctor_get(x_84, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_84, 1); +lean_inc(x_100); +lean_dec(x_84); +x_35 = x_99; +x_36 = x_100; +goto block_42; +} +block_42: +{ +lean_object* x_37; uint8_t x_38; +x_37 = l_Lean_Meta_SavedState_restore(x_17, x_11, x_12, x_13, x_14, x_36); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_46, 0); -lean_dec(x_48); -x_49 = lean_box(x_41); -lean_ctor_set(x_46, 0, x_49); -return x_46; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_46, 1); -lean_inc(x_50); -lean_dec(x_46); -x_51 = lean_box(x_41); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -return x_52; -} -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_dec(x_17); -x_53 = lean_ctor_get(x_42, 1); -lean_inc(x_53); -lean_dec(x_42); -x_54 = l_Lean_Meta_getPostponed___rarg(x_12, x_13, x_14, x_53); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = l_Std_PersistentArray_append___rarg(x_20, x_55); -x_58 = l_Lean_Meta_setPostponed(x_57, x_11, x_12, x_13, x_14, x_56); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +lean_object* x_39; +x_39 = lean_ctor_get(x_37, 0); +lean_dec(x_39); +lean_ctor_set_tag(x_37, 1); +lean_ctor_set(x_37, 0, x_35); +return x_37; +} +else +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_35); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +block_82: +{ +if (x_43 == 0) +{ +lean_object* x_45; uint8_t x_46; +lean_dec(x_33); +x_45 = l_Lean_Meta_SavedState_restore(x_17, x_11, x_12, x_13, x_14, x_44); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -x_59 = !lean_is_exclusive(x_58); -if (x_59 == 0) +lean_dec(x_17); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) { -lean_object* x_60; uint8_t x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_58, 0); -lean_dec(x_60); -x_61 = 1; -x_62 = lean_box(x_61); -lean_ctor_set(x_58, 0, x_62); -return x_58; +lean_object* x_47; uint8_t x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +x_48 = 0; +x_49 = lean_box(x_48); +lean_ctor_set(x_45, 0, x_49); +return x_45; } else { -lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; -x_63 = lean_ctor_get(x_58, 1); +lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; +x_50 = lean_ctor_get(x_45, 1); +lean_inc(x_50); +lean_dec(x_45); +x_51 = 0; +x_52 = lean_box(x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_50); +return x_53; +} +} +else +{ +uint8_t x_54; lean_object* x_55; +x_54 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_55 = l_Lean_Meta_processPostponed(x_10, x_54, x_11, x_12, x_13, x_14, x_44); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; uint8_t x_57; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_unbox(x_56); +lean_dec(x_56); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; uint8_t x_60; +lean_dec(x_33); +x_58 = lean_ctor_get(x_55, 1); +lean_inc(x_58); +lean_dec(x_55); +x_59 = l_Lean_Meta_SavedState_restore(x_17, x_11, x_12, x_13, x_14, x_58); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_17); +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_59, 0); +lean_dec(x_61); +x_62 = lean_box(x_54); +lean_ctor_set(x_59, 0, x_62); +return x_59; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_59, 1); lean_inc(x_63); -lean_dec(x_58); -x_64 = 1; -x_65 = lean_box(x_64); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_63); -return x_66; +lean_dec(x_59); +x_64 = lean_box(x_54); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +return x_65; +} +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_17); +x_66 = lean_ctor_get(x_55, 1); +lean_inc(x_66); +lean_dec(x_55); +x_67 = l_Lean_Meta_getPostponed___rarg(x_12, x_13, x_14, x_66); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = l_Std_PersistentArray_append___rarg(x_33, x_68); +x_71 = l_Lean_Meta_setPostponed(x_70, x_11, x_12, x_13, x_14, x_69); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) +{ +lean_object* x_73; uint8_t x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_71, 0); +lean_dec(x_73); +x_74 = 1; +x_75 = lean_box(x_74); +lean_ctor_set(x_71, 0, x_75); +return x_71; +} +else +{ +lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +lean_dec(x_71); +x_77 = 1; +x_78 = lean_box(x_77); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_76); +return x_79; } } } else { -lean_object* x_67; lean_object* x_68; -lean_dec(x_20); -x_67 = lean_ctor_get(x_42, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_42, 1); -lean_inc(x_68); -lean_dec(x_42); -x_22 = x_67; -x_23 = x_68; -goto block_29; +lean_object* x_80; lean_object* x_81; +lean_dec(x_33); +x_80 = lean_ctor_get(x_55, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_55, 1); +lean_inc(x_81); +lean_dec(x_55); +x_35 = x_80; +x_36 = x_81; +goto block_42; +} +} +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; 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; uint8_t x_120; lean_object* x_121; lean_object* x_152; lean_object* x_153; +x_101 = lean_ctor_get(x_23, 0); +x_102 = lean_ctor_get(x_23, 1); +x_103 = lean_ctor_get(x_23, 2); +x_104 = lean_ctor_get(x_23, 3); +x_105 = lean_ctor_get(x_23, 4); +lean_inc(x_105); +lean_inc(x_104); +lean_inc(x_103); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_23); +x_106 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +x_107 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_107, 0, x_101); +lean_ctor_set(x_107, 1, x_102); +lean_ctor_set(x_107, 2, x_103); +lean_ctor_set(x_107, 3, x_104); +lean_ctor_set(x_107, 4, x_105); +lean_ctor_set(x_107, 5, x_106); +lean_ctor_set(x_22, 1, x_107); +x_108 = lean_st_ref_set(x_12, x_22, x_24); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); +lean_dec(x_108); +x_110 = l_Lean_Meta_getResetPostponed(x_11, x_12, x_13, x_14, x_109); +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_152 = lean_unsigned_to_nat(1u); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_5); +x_153 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_8, x_5, x_8, x_152, x_9, x_11, x_12, x_13, x_14, x_112); +lean_dec(x_8); +lean_dec(x_5); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +lean_dec(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; +x_156 = lean_ctor_get(x_153, 1); +lean_inc(x_156); +lean_dec(x_153); +x_157 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__6; +x_158 = lean_box(0); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_159 = lean_apply_6(x_157, x_158, x_11, x_12, x_13, x_14, x_156); +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, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +lean_dec(x_159); +x_162 = lean_unbox(x_160); +lean_dec(x_160); +x_120 = x_162; +x_121 = x_161; +goto block_151; +} +else +{ +lean_object* x_163; lean_object* x_164; +lean_dec(x_111); +x_163 = lean_ctor_get(x_159, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_159, 1); +lean_inc(x_164); +lean_dec(x_159); +x_113 = x_163; +x_114 = x_164; +goto block_119; +} +} +else +{ +lean_object* x_165; lean_object* x_166; uint8_t x_167; +x_165 = lean_ctor_get(x_153, 1); +lean_inc(x_165); +lean_dec(x_153); +x_166 = lean_ctor_get(x_155, 0); +lean_inc(x_166); +lean_dec(x_155); +x_167 = lean_unbox(x_166); +lean_dec(x_166); +x_120 = x_167; +x_121 = x_165; +goto block_151; +} +} +else +{ +lean_object* x_168; lean_object* x_169; +lean_dec(x_111); +x_168 = lean_ctor_get(x_153, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_153, 1); +lean_inc(x_169); +lean_dec(x_153); +x_113 = x_168; +x_114 = x_169; +goto block_119; +} +block_119: +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_115 = l_Lean_Meta_SavedState_restore(x_17, x_11, x_12, x_13, x_14, x_114); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_17); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_117 = x_115; +} else { + lean_dec_ref(x_115); + x_117 = lean_box(0); +} +if (lean_is_scalar(x_117)) { + x_118 = lean_alloc_ctor(1, 2, 0); +} else { + x_118 = x_117; + lean_ctor_set_tag(x_118, 1); +} +lean_ctor_set(x_118, 0, x_113); +lean_ctor_set(x_118, 1, x_116); +return x_118; +} +block_151: +{ +if (x_120 == 0) +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; lean_object* x_127; +lean_dec(x_111); +x_122 = l_Lean_Meta_SavedState_restore(x_17, x_11, x_12, x_13, x_14, x_121); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_17); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_124 = x_122; +} else { + lean_dec_ref(x_122); + x_124 = lean_box(0); +} +x_125 = 0; +x_126 = lean_box(x_125); +if (lean_is_scalar(x_124)) { + x_127 = lean_alloc_ctor(0, 2, 0); +} else { + x_127 = x_124; +} +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_123); +return x_127; +} +else +{ +uint8_t x_128; lean_object* x_129; +x_128 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_129 = l_Lean_Meta_processPostponed(x_10, x_128, x_11, x_12, x_13, x_14, x_121); +if (lean_obj_tag(x_129) == 0) +{ +lean_object* x_130; uint8_t x_131; +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_unbox(x_130); +lean_dec(x_130); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +lean_dec(x_111); +x_132 = lean_ctor_get(x_129, 1); +lean_inc(x_132); +lean_dec(x_129); +x_133 = l_Lean_Meta_SavedState_restore(x_17, x_11, x_12, x_13, x_14, x_132); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_17); +x_134 = lean_ctor_get(x_133, 1); +lean_inc(x_134); +if (lean_is_exclusive(x_133)) { + lean_ctor_release(x_133, 0); + lean_ctor_release(x_133, 1); + x_135 = x_133; +} else { + lean_dec_ref(x_133); + x_135 = lean_box(0); +} +x_136 = lean_box(x_128); +if (lean_is_scalar(x_135)) { + x_137 = lean_alloc_ctor(0, 2, 0); +} else { + x_137 = x_135; +} +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_134); +return x_137; +} +else +{ +lean_object* x_138; lean_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; uint8_t x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_17); +x_138 = lean_ctor_get(x_129, 1); +lean_inc(x_138); +lean_dec(x_129); +x_139 = l_Lean_Meta_getPostponed___rarg(x_12, x_13, x_14, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +lean_dec(x_139); +x_142 = l_Std_PersistentArray_append___rarg(x_111, x_140); +x_143 = l_Lean_Meta_setPostponed(x_142, x_11, x_12, x_13, x_14, x_141); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_144 = lean_ctor_get(x_143, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + x_145 = x_143; +} else { + lean_dec_ref(x_143); + x_145 = lean_box(0); +} +x_146 = 1; +x_147 = lean_box(x_146); +if (lean_is_scalar(x_145)) { + x_148 = lean_alloc_ctor(0, 2, 0); +} else { + x_148 = x_145; +} +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_144); +return x_148; +} +} +else +{ +lean_object* x_149; lean_object* x_150; +lean_dec(x_111); +x_149 = lean_ctor_get(x_129, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_129, 1); +lean_inc(x_150); +lean_dec(x_129); +x_113 = x_149; +x_114 = x_150; +goto block_119; +} +} +} +} +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; 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; lean_object* x_188; uint8_t x_194; lean_object* x_195; lean_object* x_226; lean_object* x_227; +x_170 = lean_ctor_get(x_22, 0); +x_171 = lean_ctor_get(x_22, 2); +x_172 = lean_ctor_get(x_22, 3); +lean_inc(x_172); +lean_inc(x_171); +lean_inc(x_170); +lean_dec(x_22); +x_173 = lean_ctor_get(x_23, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_23, 1); +lean_inc(x_174); +x_175 = lean_ctor_get(x_23, 2); +lean_inc(x_175); +x_176 = lean_ctor_get(x_23, 3); +lean_inc(x_176); +x_177 = lean_ctor_get(x_23, 4); +lean_inc(x_177); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + lean_ctor_release(x_23, 2); + lean_ctor_release(x_23, 3); + lean_ctor_release(x_23, 4); + lean_ctor_release(x_23, 5); + x_178 = x_23; +} else { + lean_dec_ref(x_23); + x_178 = lean_box(0); +} +x_179 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +if (lean_is_scalar(x_178)) { + x_180 = lean_alloc_ctor(0, 6, 0); +} else { + x_180 = x_178; +} +lean_ctor_set(x_180, 0, x_173); +lean_ctor_set(x_180, 1, x_174); +lean_ctor_set(x_180, 2, x_175); +lean_ctor_set(x_180, 3, x_176); +lean_ctor_set(x_180, 4, x_177); +lean_ctor_set(x_180, 5, x_179); +x_181 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_181, 0, x_170); +lean_ctor_set(x_181, 1, x_180); +lean_ctor_set(x_181, 2, x_171); +lean_ctor_set(x_181, 3, x_172); +x_182 = lean_st_ref_set(x_12, x_181, x_24); +x_183 = lean_ctor_get(x_182, 1); +lean_inc(x_183); +lean_dec(x_182); +x_184 = l_Lean_Meta_getResetPostponed(x_11, x_12, x_13, x_14, x_183); +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_184, 1); +lean_inc(x_186); +lean_dec(x_184); +x_226 = lean_unsigned_to_nat(1u); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_5); +x_227 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_8, x_5, x_8, x_226, x_9, x_11, x_12, x_13, x_14, x_186); +lean_dec(x_8); +lean_dec(x_5); +if (lean_obj_tag(x_227) == 0) +{ +lean_object* x_228; lean_object* x_229; +x_228 = lean_ctor_get(x_227, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_228, 0); +lean_inc(x_229); +lean_dec(x_228); +if (lean_obj_tag(x_229) == 0) +{ +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_230 = lean_ctor_get(x_227, 1); +lean_inc(x_230); +lean_dec(x_227); +x_231 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__6; +x_232 = lean_box(0); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_233 = lean_apply_6(x_231, x_232, x_11, x_12, x_13, x_14, x_230); +if (lean_obj_tag(x_233) == 0) +{ +lean_object* x_234; lean_object* x_235; uint8_t x_236; +x_234 = lean_ctor_get(x_233, 0); +lean_inc(x_234); +x_235 = lean_ctor_get(x_233, 1); +lean_inc(x_235); +lean_dec(x_233); +x_236 = lean_unbox(x_234); +lean_dec(x_234); +x_194 = x_236; +x_195 = x_235; +goto block_225; +} +else +{ +lean_object* x_237; lean_object* x_238; +lean_dec(x_185); +x_237 = lean_ctor_get(x_233, 0); +lean_inc(x_237); +x_238 = lean_ctor_get(x_233, 1); +lean_inc(x_238); +lean_dec(x_233); +x_187 = x_237; +x_188 = x_238; +goto block_193; +} +} +else +{ +lean_object* x_239; lean_object* x_240; uint8_t x_241; +x_239 = lean_ctor_get(x_227, 1); +lean_inc(x_239); +lean_dec(x_227); +x_240 = lean_ctor_get(x_229, 0); +lean_inc(x_240); +lean_dec(x_229); +x_241 = lean_unbox(x_240); +lean_dec(x_240); +x_194 = x_241; +x_195 = x_239; +goto block_225; +} +} +else +{ +lean_object* x_242; lean_object* x_243; +lean_dec(x_185); +x_242 = lean_ctor_get(x_227, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_227, 1); +lean_inc(x_243); +lean_dec(x_227); +x_187 = x_242; +x_188 = x_243; +goto block_193; +} +block_193: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_189 = l_Lean_Meta_SavedState_restore(x_17, x_11, x_12, x_13, x_14, x_188); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_17); +x_190 = lean_ctor_get(x_189, 1); +lean_inc(x_190); +if (lean_is_exclusive(x_189)) { + lean_ctor_release(x_189, 0); + lean_ctor_release(x_189, 1); + x_191 = x_189; +} else { + lean_dec_ref(x_189); + x_191 = lean_box(0); +} +if (lean_is_scalar(x_191)) { + x_192 = lean_alloc_ctor(1, 2, 0); +} else { + x_192 = x_191; + lean_ctor_set_tag(x_192, 1); +} +lean_ctor_set(x_192, 0, x_187); +lean_ctor_set(x_192, 1, x_190); +return x_192; +} +block_225: +{ +if (x_194 == 0) +{ +lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_185); +x_196 = l_Lean_Meta_SavedState_restore(x_17, x_11, x_12, x_13, x_14, x_195); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_17); +x_197 = lean_ctor_get(x_196, 1); +lean_inc(x_197); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + x_198 = x_196; +} else { + lean_dec_ref(x_196); + x_198 = lean_box(0); +} +x_199 = 0; +x_200 = lean_box(x_199); +if (lean_is_scalar(x_198)) { + x_201 = lean_alloc_ctor(0, 2, 0); +} else { + x_201 = x_198; +} +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_197); +return x_201; +} +else +{ +uint8_t x_202; lean_object* x_203; +x_202 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_203 = l_Lean_Meta_processPostponed(x_10, x_202, x_11, x_12, x_13, x_14, x_195); +if (lean_obj_tag(x_203) == 0) +{ +lean_object* x_204; uint8_t x_205; +x_204 = lean_ctor_get(x_203, 0); +lean_inc(x_204); +x_205 = lean_unbox(x_204); +lean_dec(x_204); +if (x_205 == 0) +{ +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_dec(x_185); +x_206 = lean_ctor_get(x_203, 1); +lean_inc(x_206); +lean_dec(x_203); +x_207 = l_Lean_Meta_SavedState_restore(x_17, x_11, x_12, x_13, x_14, x_206); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_17); +x_208 = lean_ctor_get(x_207, 1); +lean_inc(x_208); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + x_209 = x_207; +} else { + lean_dec_ref(x_207); + x_209 = lean_box(0); +} +x_210 = lean_box(x_202); +if (lean_is_scalar(x_209)) { + x_211 = lean_alloc_ctor(0, 2, 0); +} else { + x_211 = x_209; +} +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_208); +return x_211; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; lean_object* x_221; lean_object* x_222; +lean_dec(x_17); +x_212 = lean_ctor_get(x_203, 1); +lean_inc(x_212); +lean_dec(x_203); +x_213 = l_Lean_Meta_getPostponed___rarg(x_12, x_13, x_14, x_212); +x_214 = lean_ctor_get(x_213, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_213, 1); +lean_inc(x_215); +lean_dec(x_213); +x_216 = l_Std_PersistentArray_append___rarg(x_185, x_214); +x_217 = l_Lean_Meta_setPostponed(x_216, x_11, x_12, x_13, x_14, x_215); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_218 = lean_ctor_get(x_217, 1); +lean_inc(x_218); +if (lean_is_exclusive(x_217)) { + lean_ctor_release(x_217, 0); + lean_ctor_release(x_217, 1); + x_219 = x_217; +} else { + lean_dec_ref(x_217); + x_219 = lean_box(0); +} +x_220 = 1; +x_221 = lean_box(x_220); +if (lean_is_scalar(x_219)) { + x_222 = lean_alloc_ctor(0, 2, 0); +} else { + x_222 = x_219; +} +lean_ctor_set(x_222, 0, x_221); +lean_ctor_set(x_222, 1, x_218); +return x_222; +} +} +else +{ +lean_object* x_223; lean_object* x_224; +lean_dec(x_185); +x_223 = lean_ctor_get(x_203, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_203, 1); +lean_inc(x_224); +lean_dec(x_203); +x_187 = x_223; +x_188 = x_224; +goto block_193; +} } } } @@ -3163,7 +3842,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta___spec__1(lean_object* 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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 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_29; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; x_12 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEta___spec__1___closed__1; x_13 = l_Lean_Expr_app___override(x_2, x_12); x_14 = l_Lean_Expr_lam___override(x_3, x_4, x_13, x_5); @@ -3173,216 +3852,737 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_Meta_getResetPostponed(x_7, x_8, x_9, x_10, x_17); -x_19 = lean_ctor_get(x_18, 0); +x_18 = lean_st_ref_get(x_10, x_17); +x_19 = lean_ctor_get(x_18, 1); lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); lean_dec(x_18); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_29 = lean_is_expr_def_eq(x_1, x_14, x_7, x_8, x_9, x_10, x_20); -if (lean_obj_tag(x_29) == 0) +x_20 = lean_st_ref_take(x_8, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = !lean_is_exclusive(x_21); +if (x_24 == 0) { -lean_object* x_30; uint8_t x_31; -x_30 = lean_ctor_get(x_29, 0); +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_21, 1); +lean_dec(x_25); +x_26 = !lean_is_exclusive(x_22); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_42; +x_27 = lean_ctor_get(x_22, 5); +lean_dec(x_27); +x_28 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +lean_ctor_set(x_22, 5, x_28); +x_29 = lean_st_ref_set(x_8, x_21, x_23); +x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); -x_31 = lean_unbox(x_30); -lean_dec(x_30); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; uint8_t x_34; -lean_dec(x_19); -x_32 = lean_ctor_get(x_29, 1); +lean_dec(x_29); +x_31 = l_Lean_Meta_getResetPostponed(x_7, x_8, x_9, x_10, x_30); +x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); -lean_dec(x_29); -x_33 = l_Lean_Meta_SavedState_restore(x_16, x_7, x_8, x_9, x_10, x_32); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; uint8_t x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_33, 0); -lean_dec(x_35); -x_36 = 0; -x_37 = lean_box(x_36); -lean_ctor_set(x_33, 0, x_37); -return x_33; -} -else -{ -lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_33, 1); -lean_inc(x_38); -lean_dec(x_33); -x_39 = 0; -x_40 = lean_box(x_39); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_38); -return x_41; -} -} -else -{ -lean_object* x_42; uint8_t x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_29, 1); -lean_inc(x_42); -lean_dec(x_29); -x_43 = 0; +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_44 = l_Lean_Meta_processPostponed(x_6, x_43, x_7, x_8, x_9, x_10, x_42); -if (lean_obj_tag(x_44) == 0) +x_42 = lean_is_expr_def_eq(x_1, x_14, x_7, x_8, x_9, x_10, x_33); +if (lean_obj_tag(x_42) == 0) { -lean_object* x_45; uint8_t x_46; -x_45 = lean_ctor_get(x_44, 0); +lean_object* x_43; uint8_t x_44; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_unbox(x_43); +lean_dec(x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; uint8_t x_47; +lean_dec(x_32); +x_45 = lean_ctor_get(x_42, 1); lean_inc(x_45); -x_46 = lean_unbox(x_45); -lean_dec(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; uint8_t x_49; -lean_dec(x_19); -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -lean_dec(x_44); -x_48 = l_Lean_Meta_SavedState_restore(x_16, x_7, x_8, x_9, x_10, x_47); +lean_dec(x_42); +x_46 = l_Lean_Meta_SavedState_restore(x_16, x_7, x_8, x_9, x_10, x_45); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) +lean_dec(x_16); +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) { -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_48, 0); -lean_dec(x_50); -x_51 = lean_box(x_43); -lean_ctor_set(x_48, 0, x_51); -return x_48; +lean_object* x_48; uint8_t x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_46, 0); +lean_dec(x_48); +x_49 = 0; +x_50 = lean_box(x_49); +lean_ctor_set(x_46, 0, x_50); +return x_46; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_48, 1); -lean_inc(x_52); -lean_dec(x_48); -x_53 = lean_box(x_43); +lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_ctor_get(x_46, 1); +lean_inc(x_51); +lean_dec(x_46); +x_52 = 0; +x_53 = lean_box(x_52); x_54 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); +lean_ctor_set(x_54, 1, x_51); return x_54; } } else { -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_dec(x_16); -x_55 = lean_ctor_get(x_44, 1); +lean_object* x_55; uint8_t x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_42, 1); lean_inc(x_55); -lean_dec(x_44); -x_56 = l_Lean_Meta_getPostponed___rarg(x_8, x_9, x_10, x_55); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); +lean_dec(x_42); +x_56 = 0; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_57 = l_Lean_Meta_processPostponed(x_6, x_56, x_7, x_8, x_9, x_10, x_55); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; uint8_t x_59; +x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); -lean_dec(x_56); -x_59 = l_Std_PersistentArray_append___rarg(x_19, x_57); -x_60 = l_Lean_Meta_setPostponed(x_59, x_7, x_8, x_9, x_10, x_58); +x_59 = lean_unbox(x_58); +lean_dec(x_58); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; uint8_t x_62; +lean_dec(x_32); +x_60 = lean_ctor_get(x_57, 1); +lean_inc(x_60); +lean_dec(x_57); +x_61 = l_Lean_Meta_SavedState_restore(x_16, x_7, x_8, x_9, x_10, x_60); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_61 = !lean_is_exclusive(x_60); -if (x_61 == 0) +lean_dec(x_16); +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) { -lean_object* x_62; uint8_t x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_60, 0); -lean_dec(x_62); -x_63 = 1; -x_64 = lean_box(x_63); -lean_ctor_set(x_60, 0, x_64); -return x_60; +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_61, 0); +lean_dec(x_63); +x_64 = lean_box(x_56); +lean_ctor_set(x_61, 0, x_64); +return x_61; } else { -lean_object* x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; -x_65 = lean_ctor_get(x_60, 1); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_61, 1); lean_inc(x_65); -lean_dec(x_60); -x_66 = 1; -x_67 = lean_box(x_66); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_65); -return x_68; -} +lean_dec(x_61); +x_66 = lean_box(x_56); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +return x_67; } } else { -lean_object* x_69; lean_object* x_70; -lean_dec(x_19); -x_69 = lean_ctor_get(x_44, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_44, 1); +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; +lean_dec(x_16); +x_68 = lean_ctor_get(x_57, 1); +lean_inc(x_68); +lean_dec(x_57); +x_69 = l_Lean_Meta_getPostponed___rarg(x_8, x_9, x_10, x_68); +x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -lean_dec(x_44); -x_21 = x_69; -x_22 = x_70; -goto block_28; -} -} -} -else -{ -lean_object* x_71; lean_object* x_72; -lean_dec(x_19); -x_71 = lean_ctor_get(x_29, 0); +x_71 = lean_ctor_get(x_69, 1); lean_inc(x_71); -x_72 = lean_ctor_get(x_29, 1); -lean_inc(x_72); -lean_dec(x_29); -x_21 = x_71; -x_22 = x_72; -goto block_28; -} -block_28: -{ -lean_object* x_23; uint8_t x_24; -x_23 = l_Lean_Meta_SavedState_restore(x_16, x_7, x_8, x_9, x_10, x_22); +lean_dec(x_69); +x_72 = l_Std_PersistentArray_append___rarg(x_32, x_70); +x_73 = l_Lean_Meta_setPostponed(x_72, x_7, x_8, x_9, x_10, x_71); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +x_74 = !lean_is_exclusive(x_73); +if (x_74 == 0) { -lean_object* x_25; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -lean_ctor_set_tag(x_23, 1); -lean_ctor_set(x_23, 0, x_21); -return x_23; +lean_object* x_75; uint8_t x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_73, 0); +lean_dec(x_75); +x_76 = 1; +x_77 = lean_box(x_76); +lean_ctor_set(x_73, 0, x_77); +return x_73; } else { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_21); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; +x_78 = lean_ctor_get(x_73, 1); +lean_inc(x_78); +lean_dec(x_73); +x_79 = 1; +x_80 = lean_box(x_79); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_78); +return x_81; +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; +lean_dec(x_32); +x_82 = lean_ctor_get(x_57, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_57, 1); +lean_inc(x_83); +lean_dec(x_57); +x_34 = x_82; +x_35 = x_83; +goto block_41; +} +} +} +else +{ +lean_object* x_84; lean_object* x_85; +lean_dec(x_32); +x_84 = lean_ctor_get(x_42, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_42, 1); +lean_inc(x_85); +lean_dec(x_42); +x_34 = x_84; +x_35 = x_85; +goto block_41; +} +block_41: +{ +lean_object* x_36; uint8_t x_37; +x_36 = l_Lean_Meta_SavedState_restore(x_16, x_7, x_8, x_9, x_10, x_35); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_16); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_dec(x_38); +lean_ctor_set_tag(x_36, 1); +lean_ctor_set(x_36, 0, x_34); +return x_36; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_34); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +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; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_105; +x_86 = lean_ctor_get(x_22, 0); +x_87 = lean_ctor_get(x_22, 1); +x_88 = lean_ctor_get(x_22, 2); +x_89 = lean_ctor_get(x_22, 3); +x_90 = lean_ctor_get(x_22, 4); +lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_88); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_22); +x_91 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +x_92 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_92, 0, x_86); +lean_ctor_set(x_92, 1, x_87); +lean_ctor_set(x_92, 2, x_88); +lean_ctor_set(x_92, 3, x_89); +lean_ctor_set(x_92, 4, x_90); +lean_ctor_set(x_92, 5, x_91); +lean_ctor_set(x_21, 1, x_92); +x_93 = lean_st_ref_set(x_8, x_21, x_23); +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +lean_dec(x_93); +x_95 = l_Lean_Meta_getResetPostponed(x_7, x_8, x_9, x_10, 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); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_105 = lean_is_expr_def_eq(x_1, x_14, x_7, x_8, x_9, x_10, x_97); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; uint8_t x_107; +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_unbox(x_106); +lean_dec(x_106); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; lean_object* x_114; +lean_dec(x_96); +x_108 = lean_ctor_get(x_105, 1); +lean_inc(x_108); +lean_dec(x_105); +x_109 = l_Lean_Meta_SavedState_restore(x_16, x_7, x_8, x_9, x_10, x_108); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_16); +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_111 = x_109; +} else { + lean_dec_ref(x_109); + x_111 = lean_box(0); +} +x_112 = 0; +x_113 = lean_box(x_112); +if (lean_is_scalar(x_111)) { + x_114 = lean_alloc_ctor(0, 2, 0); +} else { + x_114 = x_111; +} +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_110); +return x_114; +} +else +{ +lean_object* x_115; uint8_t x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_105, 1); +lean_inc(x_115); +lean_dec(x_105); +x_116 = 0; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_117 = l_Lean_Meta_processPostponed(x_6, x_116, x_7, x_8, x_9, x_10, x_115); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; uint8_t x_119; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +lean_dec(x_118); +if (x_119 == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_dec(x_96); +x_120 = lean_ctor_get(x_117, 1); +lean_inc(x_120); +lean_dec(x_117); +x_121 = l_Lean_Meta_SavedState_restore(x_16, x_7, x_8, x_9, x_10, x_120); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_16); +x_122 = lean_ctor_get(x_121, 1); +lean_inc(x_122); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + x_123 = x_121; +} else { + lean_dec_ref(x_121); + x_123 = lean_box(0); +} +x_124 = lean_box(x_116); +if (lean_is_scalar(x_123)) { + x_125 = lean_alloc_ctor(0, 2, 0); +} else { + x_125 = x_123; +} +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_122); +return x_125; +} +else +{ +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; uint8_t x_134; lean_object* x_135; lean_object* x_136; +lean_dec(x_16); +x_126 = lean_ctor_get(x_117, 1); +lean_inc(x_126); +lean_dec(x_117); +x_127 = l_Lean_Meta_getPostponed___rarg(x_8, x_9, x_10, x_126); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +lean_dec(x_127); +x_130 = l_Std_PersistentArray_append___rarg(x_96, x_128); +x_131 = l_Lean_Meta_setPostponed(x_130, x_7, x_8, x_9, x_10, x_129); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_132 = lean_ctor_get(x_131, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_131)) { + lean_ctor_release(x_131, 0); + lean_ctor_release(x_131, 1); + x_133 = x_131; +} else { + lean_dec_ref(x_131); + x_133 = lean_box(0); +} +x_134 = 1; +x_135 = lean_box(x_134); +if (lean_is_scalar(x_133)) { + x_136 = lean_alloc_ctor(0, 2, 0); +} else { + x_136 = x_133; +} +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_132); +return x_136; +} +} +else +{ +lean_object* x_137; lean_object* x_138; +lean_dec(x_96); +x_137 = lean_ctor_get(x_117, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_117, 1); +lean_inc(x_138); +lean_dec(x_117); +x_98 = x_137; +x_99 = x_138; +goto block_104; +} +} +} +else +{ +lean_object* x_139; lean_object* x_140; +lean_dec(x_96); +x_139 = lean_ctor_get(x_105, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_105, 1); +lean_inc(x_140); +lean_dec(x_105); +x_98 = x_139; +x_99 = x_140; +goto block_104; +} +block_104: +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_100 = l_Lean_Meta_SavedState_restore(x_16, x_7, x_8, x_9, x_10, x_99); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_16); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_102 = x_100; +} else { + lean_dec_ref(x_100); + x_102 = lean_box(0); +} +if (lean_is_scalar(x_102)) { + x_103 = lean_alloc_ctor(1, 2, 0); +} else { + x_103 = x_102; + lean_ctor_set_tag(x_103, 1); +} +lean_ctor_set(x_103, 0, x_98); +lean_ctor_set(x_103, 1, x_101); +return x_103; +} +} +} +else +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; 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_165; +x_141 = lean_ctor_get(x_21, 0); +x_142 = lean_ctor_get(x_21, 2); +x_143 = lean_ctor_get(x_21, 3); +lean_inc(x_143); +lean_inc(x_142); +lean_inc(x_141); +lean_dec(x_21); +x_144 = lean_ctor_get(x_22, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_22, 1); +lean_inc(x_145); +x_146 = lean_ctor_get(x_22, 2); +lean_inc(x_146); +x_147 = lean_ctor_get(x_22, 3); +lean_inc(x_147); +x_148 = lean_ctor_get(x_22, 4); +lean_inc(x_148); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + lean_ctor_release(x_22, 2); + lean_ctor_release(x_22, 3); + lean_ctor_release(x_22, 4); + lean_ctor_release(x_22, 5); + x_149 = x_22; +} else { + lean_dec_ref(x_22); + x_149 = lean_box(0); +} +x_150 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +if (lean_is_scalar(x_149)) { + x_151 = lean_alloc_ctor(0, 6, 0); +} else { + x_151 = x_149; +} +lean_ctor_set(x_151, 0, x_144); +lean_ctor_set(x_151, 1, x_145); +lean_ctor_set(x_151, 2, x_146); +lean_ctor_set(x_151, 3, x_147); +lean_ctor_set(x_151, 4, x_148); +lean_ctor_set(x_151, 5, x_150); +x_152 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_152, 0, x_141); +lean_ctor_set(x_152, 1, x_151); +lean_ctor_set(x_152, 2, x_142); +lean_ctor_set(x_152, 3, x_143); +x_153 = lean_st_ref_set(x_8, x_152, x_23); +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +lean_dec(x_153); +x_155 = l_Lean_Meta_getResetPostponed(x_7, x_8, x_9, x_10, x_154); +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); +lean_dec(x_155); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_165 = lean_is_expr_def_eq(x_1, x_14, x_7, x_8, x_9, x_10, x_157); +if (lean_obj_tag(x_165) == 0) +{ +lean_object* x_166; uint8_t x_167; +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +x_167 = lean_unbox(x_166); +lean_dec(x_166); +if (x_167 == 0) +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_156); +x_168 = lean_ctor_get(x_165, 1); +lean_inc(x_168); +lean_dec(x_165); +x_169 = l_Lean_Meta_SavedState_restore(x_16, x_7, x_8, x_9, x_10, x_168); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_16); +x_170 = lean_ctor_get(x_169, 1); +lean_inc(x_170); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_171 = x_169; +} else { + lean_dec_ref(x_169); + x_171 = lean_box(0); +} +x_172 = 0; +x_173 = lean_box(x_172); +if (lean_is_scalar(x_171)) { + x_174 = lean_alloc_ctor(0, 2, 0); +} else { + x_174 = x_171; +} +lean_ctor_set(x_174, 0, x_173); +lean_ctor_set(x_174, 1, x_170); +return x_174; +} +else +{ +lean_object* x_175; uint8_t x_176; lean_object* x_177; +x_175 = lean_ctor_get(x_165, 1); +lean_inc(x_175); +lean_dec(x_165); +x_176 = 0; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_177 = l_Lean_Meta_processPostponed(x_6, x_176, x_7, x_8, x_9, x_10, x_175); +if (lean_obj_tag(x_177) == 0) +{ +lean_object* x_178; uint8_t x_179; +x_178 = lean_ctor_get(x_177, 0); +lean_inc(x_178); +x_179 = lean_unbox(x_178); +lean_dec(x_178); +if (x_179 == 0) +{ +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_dec(x_156); +x_180 = lean_ctor_get(x_177, 1); +lean_inc(x_180); +lean_dec(x_177); +x_181 = l_Lean_Meta_SavedState_restore(x_16, x_7, x_8, x_9, x_10, x_180); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_16); +x_182 = lean_ctor_get(x_181, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_181)) { + lean_ctor_release(x_181, 0); + lean_ctor_release(x_181, 1); + x_183 = x_181; +} else { + lean_dec_ref(x_181); + x_183 = lean_box(0); +} +x_184 = lean_box(x_176); +if (lean_is_scalar(x_183)) { + x_185 = lean_alloc_ctor(0, 2, 0); +} else { + x_185 = x_183; +} +lean_ctor_set(x_185, 0, x_184); +lean_ctor_set(x_185, 1, x_182); +return x_185; +} +else +{ +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; uint8_t x_194; lean_object* x_195; lean_object* x_196; +lean_dec(x_16); +x_186 = lean_ctor_get(x_177, 1); +lean_inc(x_186); +lean_dec(x_177); +x_187 = l_Lean_Meta_getPostponed___rarg(x_8, x_9, x_10, x_186); +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +lean_dec(x_187); +x_190 = l_Std_PersistentArray_append___rarg(x_156, x_188); +x_191 = l_Lean_Meta_setPostponed(x_190, x_7, x_8, x_9, x_10, x_189); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_192 = lean_ctor_get(x_191, 1); +lean_inc(x_192); +if (lean_is_exclusive(x_191)) { + lean_ctor_release(x_191, 0); + lean_ctor_release(x_191, 1); + x_193 = x_191; +} else { + lean_dec_ref(x_191); + x_193 = lean_box(0); +} +x_194 = 1; +x_195 = lean_box(x_194); +if (lean_is_scalar(x_193)) { + x_196 = lean_alloc_ctor(0, 2, 0); +} else { + x_196 = x_193; +} +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_192); +return x_196; +} +} +else +{ +lean_object* x_197; lean_object* x_198; +lean_dec(x_156); +x_197 = lean_ctor_get(x_177, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_177, 1); +lean_inc(x_198); +lean_dec(x_177); +x_158 = x_197; +x_159 = x_198; +goto block_164; +} +} +} +else +{ +lean_object* x_199; lean_object* x_200; +lean_dec(x_156); +x_199 = lean_ctor_get(x_165, 0); +lean_inc(x_199); +x_200 = lean_ctor_get(x_165, 1); +lean_inc(x_200); +lean_dec(x_165); +x_158 = x_199; +x_159 = x_200; +goto block_164; +} +block_164: +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_160 = l_Lean_Meta_SavedState_restore(x_16, x_7, x_8, x_9, x_10, x_159); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_16); +x_161 = lean_ctor_get(x_160, 1); +lean_inc(x_161); +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_162 = x_160; +} else { + lean_dec_ref(x_160); + x_162 = lean_box(0); +} +if (lean_is_scalar(x_162)) { + x_163 = lean_alloc_ctor(1, 2, 0); +} else { + x_163 = x_162; + lean_ctor_set_tag(x_163, 1); +} +lean_ctor_set(x_163, 0, x_158); +lean_ctor_set(x_163, 1, x_161); +return x_163; } } } @@ -20275,256 +21475,55 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_st_ref_take(x_1, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_8, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -uint8_t x_14; lean_object* x_15; uint8_t x_16; -x_14 = 1; -lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_14); -x_15 = lean_st_ref_set(x_1, x_8, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_9, 0); -x_23 = lean_ctor_get(x_9, 1); -x_24 = lean_ctor_get(x_9, 2); -x_25 = lean_ctor_get(x_9, 3); -x_26 = lean_ctor_get(x_9, 4); -x_27 = lean_ctor_get(x_9, 5); -x_28 = lean_ctor_get(x_9, 6); -x_29 = lean_ctor_get(x_9, 7); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_9); -x_30 = 1; -x_31 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_23); -lean_ctor_set(x_31, 2, x_24); -lean_ctor_set(x_31, 3, x_25); -lean_ctor_set(x_31, 4, x_26); -lean_ctor_set(x_31, 5, x_27); -lean_ctor_set(x_31, 6, x_28); -lean_ctor_set(x_31, 7, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_30); -lean_ctor_set(x_8, 0, x_31); -x_32 = lean_st_ref_set(x_1, x_8, x_10); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; -} else { - lean_dec_ref(x_32); - x_34 = lean_box(0); -} -x_35 = lean_box(0); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -} -else -{ -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; uint8_t 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_37 = lean_ctor_get(x_8, 1); -x_38 = lean_ctor_get(x_8, 2); -x_39 = lean_ctor_get(x_8, 3); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_8); -x_40 = lean_ctor_get(x_9, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_9, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_9, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_9, 3); -lean_inc(x_43); -x_44 = lean_ctor_get(x_9, 4); -lean_inc(x_44); -x_45 = lean_ctor_get(x_9, 5); -lean_inc(x_45); -x_46 = lean_ctor_get(x_9, 6); -lean_inc(x_46); -x_47 = lean_ctor_get(x_9, 7); -lean_inc(x_47); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - lean_ctor_release(x_9, 6); - lean_ctor_release(x_9, 7); - x_48 = x_9; -} else { - lean_dec_ref(x_9); - x_48 = lean_box(0); -} -x_49 = 1; -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 8, 1); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_40); -lean_ctor_set(x_50, 1, x_41); -lean_ctor_set(x_50, 2, x_42); -lean_ctor_set(x_50, 3, x_43); -lean_ctor_set(x_50, 4, x_44); -lean_ctor_set(x_50, 5, x_45); -lean_ctor_set(x_50, 6, x_46); -lean_ctor_set(x_50, 7, x_47); -lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_49); -x_51 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_37); -lean_ctor_set(x_51, 2, x_38); -lean_ctor_set(x_51, 3, x_39); -x_52 = lean_st_ref_set(x_1, x_51, x_10); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3___rarg___boxed), 4, 0); -return x_4; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned___at_Lean_Meta_CheckAssignment_checkApp___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_9 = l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3___rarg(x_5, x_6, x_7, x_8); +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_st_ref_get(x_7, x_8); x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = lean_st_ref_get(x_7, x_10); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_st_ref_get(x_5, x_12); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +x_11 = lean_st_ref_get(x_5, x_10); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 7); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(x_17, x_1); -x_19 = lean_box(x_18); -lean_ctor_set(x_13, 0, x_19); -return x_13; +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_ctor_get(x_14, 7); +lean_inc(x_15); +lean_dec(x_14); +x_16 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(x_15, x_1); +x_17 = lean_box(x_16); +lean_ctor_set(x_11, 0, x_17); +return x_11; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; -x_20 = lean_ctor_get(x_13, 0); -x_21 = lean_ctor_get(x_13, 1); -lean_inc(x_21); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_11, 0); +x_19 = lean_ctor_get(x_11, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_11); +x_20 = lean_ctor_get(x_18, 0); lean_inc(x_20); -lean_dec(x_13); -x_22 = lean_ctor_get(x_20, 0); -lean_inc(x_22); +lean_dec(x_18); +x_21 = lean_ctor_get(x_20, 7); +lean_inc(x_21); lean_dec(x_20); -x_23 = lean_ctor_get(x_22, 7); -lean_inc(x_23); -lean_dec(x_22); -x_24 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(x_23, x_1); -x_25 = lean_box(x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_21); -return x_26; +x_22 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(x_21, x_1); +x_23 = lean_box(x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_19); +return x_24; } } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(lean_object* x_1, size_t x_2, size_t x_3) { +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(lean_object* x_1, size_t x_2, size_t x_3) { _start: { uint8_t x_4; @@ -20558,7 +21557,7 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_CheckAssignment_checkApp___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_CheckAssignment_checkApp___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { switch (lean_obj_tag(x_2)) { @@ -20622,7 +21621,7 @@ size_t x_209; size_t x_210; uint8_t x_211; x_209 = 0; x_210 = lean_usize_of_nat(x_203); lean_dec(x_203); -x_211 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(x_3, x_209, x_210); +x_211 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(x_3, x_209, x_210); if (x_211 == 0) { lean_object* x_212; @@ -21670,7 +22669,7 @@ size_t x_411; size_t x_412; uint8_t x_413; x_411 = 0; x_412 = lean_usize_of_nat(x_405); lean_dec(x_405); -x_413 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(x_3, x_411, x_412); +x_413 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(x_3, x_411, x_412); if (x_413 == 0) { lean_object* x_414; @@ -22718,7 +23717,7 @@ size_t x_613; size_t x_614; uint8_t x_615; x_613 = 0; x_614 = lean_usize_of_nat(x_607); lean_dec(x_607); -x_615 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(x_3, x_613, x_614); +x_615 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(x_3, x_613, x_614); if (x_615 == 0) { lean_object* x_616; @@ -23766,7 +24765,7 @@ size_t x_815; size_t x_816; uint8_t x_817; x_815 = 0; x_816 = lean_usize_of_nat(x_809); lean_dec(x_809); -x_817 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(x_3, x_815, x_816); +x_817 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(x_3, x_815, x_816); if (x_817 == 0) { lean_object* x_818; @@ -24814,7 +25813,7 @@ size_t x_1017; size_t x_1018; uint8_t x_1019; x_1017 = 0; x_1018 = lean_usize_of_nat(x_1011); lean_dec(x_1011); -x_1019 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(x_3, x_1017, x_1018); +x_1019 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(x_3, x_1017, x_1018); if (x_1019 == 0) { lean_object* x_1020; @@ -25879,7 +26878,7 @@ size_t x_1225; size_t x_1226; uint8_t x_1227; x_1225 = 0; x_1226 = lean_usize_of_nat(x_1219); lean_dec(x_1219); -x_1227 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(x_3, x_1225, x_1226); +x_1227 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(x_3, x_1225, x_1226); if (x_1227 == 0) { lean_object* x_1228; @@ -26927,7 +27926,7 @@ size_t x_1427; size_t x_1428; uint8_t x_1429; x_1427 = 0; x_1428 = lean_usize_of_nat(x_1421); lean_dec(x_1421); -x_1429 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(x_3, x_1427, x_1428); +x_1429 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(x_3, x_1427, x_1428); if (x_1429 == 0) { lean_object* x_1430; @@ -27975,7 +28974,7 @@ size_t x_1629; size_t x_1630; uint8_t x_1631; x_1629 = 0; x_1630 = lean_usize_of_nat(x_1623); lean_dec(x_1623); -x_1631 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(x_3, x_1629, x_1630); +x_1631 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(x_3, x_1629, x_1630); if (x_1631 == 0) { lean_object* x_1632; @@ -29023,7 +30022,7 @@ size_t x_1831; size_t x_1832; uint8_t x_1833; x_1831 = 0; x_1832 = lean_usize_of_nat(x_1825); lean_dec(x_1825); -x_1833 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(x_3, x_1831, x_1832); +x_1833 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(x_3, x_1831, x_1832); if (x_1833 == 0) { lean_object* x_1834; @@ -30071,7 +31070,7 @@ size_t x_2033; size_t x_2034; uint8_t x_2035; x_2033 = 0; x_2034 = lean_usize_of_nat(x_2027); lean_dec(x_2027); -x_2035 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(x_3, x_2033, x_2034); +x_2035 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(x_3, x_2033, x_2034); if (x_2035 == 0) { lean_object* x_2036; @@ -31119,7 +32118,7 @@ size_t x_2235; size_t x_2236; uint8_t x_2237; x_2235 = 0; x_2236 = lean_usize_of_nat(x_2229); lean_dec(x_2229); -x_2237 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(x_3, x_2235, x_2236); +x_2237 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(x_3, x_2235, x_2236); if (x_2237 == 0) { lean_object* x_2238; @@ -32123,7 +33122,7 @@ x_13 = lean_unsigned_to_nat(1u); x_14 = lean_nat_sub(x_10, x_13); lean_dec(x_10); lean_inc(x_1); -x_15 = l_Lean_Expr_withAppAux___at_Lean_Meta_CheckAssignment_checkApp___spec__5(x_1, x_1, x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_15 = l_Lean_Expr_withAppAux___at_Lean_Meta_CheckAssignment_checkApp___spec__4(x_1, x_1, x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_15; } } @@ -32586,16 +33585,6 @@ return x_55; } } } -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_CheckAssignment_checkMVar___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_1); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_CheckAssignment_checkMVar___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -32608,88 +33597,31 @@ x_11 = lean_st_ref_get(x_5, x_10); x_12 = !lean_is_exclusive(x_11); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); lean_dec(x_13); -x_16 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_15, x_1); -if (lean_obj_tag(x_16) == 0) -{ -lean_ctor_set(x_11, 0, x_16); +x_15 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_14, x_1); +lean_ctor_set(x_11, 0, x_15); return x_11; } else { -lean_object* x_17; uint8_t x_18; -lean_free_object(x_11); -x_17 = l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3___rarg(x_5, x_6, x_7, x_14); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -lean_ctor_set(x_17, 0, x_16); -return x_17; -} -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_16); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_11, 0); -x_23 = lean_ctor_get(x_11, 1); -lean_inc(x_23); -lean_inc(x_22); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_11, 0); +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_inc(x_16); lean_dec(x_11); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_24, x_1); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_23); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3___rarg(x_5, x_6, x_7, x_23); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - x_29 = x_27; -} else { - lean_dec_ref(x_27); - x_29 = lean_box(0); -} -if (lean_is_scalar(x_29)) { - x_30 = lean_alloc_ctor(0, 2, 0); -} else { - x_30 = x_29; -} -lean_ctor_set(x_30, 0, x_25); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_18, x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_17); +return x_20; } } } @@ -33168,7 +34100,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -33896,7 +34828,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -34624,7 +35556,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -35352,7 +36284,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -36080,7 +37012,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -36808,7 +37740,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -37171,1352 +38103,643 @@ goto block_22; } else { -lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_40; x_24 = lean_ctor_get(x_15, 0); lean_inc(x_24); lean_dec(x_15); x_25 = l_Lean_LocalDecl_fvarId(x_24); lean_inc(x_25); lean_inc(x_1); -x_26 = l_Lean_LocalContext_contains(x_1, x_25); -if (x_26 == 0) +x_40 = l_Lean_LocalContext_contains(x_1, x_25); +if (x_40 == 0) { -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = lean_array_get_size(x_2); -x_28 = lean_unsigned_to_nat(0u); -x_29 = lean_nat_dec_lt(x_28, x_27); -if (x_29 == 0) +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_array_get_size(x_2); +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_nat_dec_lt(x_42, x_41); +if (x_43 == 0) { -lean_object* x_30; lean_object* x_31; -lean_dec(x_27); +lean_object* x_44; lean_object* x_45; +lean_dec(x_41); lean_dec(x_24); -x_30 = lean_array_push(x_6, x_25); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_13); -x_16 = x_31; +x_44 = lean_array_push(x_6, x_25); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_13); +x_16 = x_45; goto block_22; } else { -uint8_t x_32; -x_32 = lean_nat_dec_le(x_27, x_27); -if (x_32 == 0) +uint8_t x_46; +x_46 = lean_nat_dec_le(x_41, x_41); +if (x_46 == 0) { -lean_object* x_33; lean_object* x_34; -lean_dec(x_27); +lean_object* x_47; lean_object* x_48; +lean_dec(x_41); lean_dec(x_24); -x_33 = lean_array_push(x_6, x_25); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_13); -x_16 = x_34; +x_47 = lean_array_push(x_6, x_25); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_13); +x_16 = x_48; goto block_22; } else { -size_t x_35; size_t x_36; uint8_t x_37; -x_35 = 0; -x_36 = lean_usize_of_nat(x_27); -lean_dec(x_27); -x_37 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(x_25, x_2, x_35, x_36); -if (x_37 == 0) +size_t x_49; size_t x_50; uint8_t x_51; +x_49 = 0; +x_50 = lean_usize_of_nat(x_41); +lean_dec(x_41); +x_51 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(x_25, x_2, x_49, x_50); +if (x_51 == 0) { -lean_object* x_38; lean_object* x_39; +lean_object* x_52; lean_object* x_53; lean_dec(x_24); -x_38 = lean_array_push(x_6, x_25); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_13); -x_16 = x_39; +x_52 = lean_array_push(x_6, x_25); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_13); +x_16 = x_53; goto block_22; } else { if (lean_obj_tag(x_24) == 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; uint8_t x_46; lean_object* x_47; lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; -x_40 = lean_ctor_get(x_24, 3); -lean_inc(x_40); +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; uint8_t x_63; +x_54 = lean_ctor_get(x_24, 3); +lean_inc(x_54); lean_dec(x_24); -x_41 = lean_st_ref_get(x_12, x_13); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_st_ref_get(x_10, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_164 = lean_ctor_get(x_44, 0); +x_55 = lean_st_ref_get(x_12, x_13); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_st_ref_get(x_10, x_56); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_ctor_get(x_58, 0); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +lean_inc(x_60); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Lean_Expr_hasFVar(x_54); +if (x_63 == 0) +{ +uint8_t x_64; +x_64 = l_Lean_Expr_hasMVar(x_54); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_dec(x_62); +lean_dec(x_54); +x_65 = lean_st_ref_get(x_12, x_59); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +lean_dec(x_65); +x_67 = lean_st_ref_take(x_10, x_66); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = !lean_is_exclusive(x_68); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_71 = lean_ctor_get(x_68, 0); +lean_dec(x_71); +lean_ctor_set(x_68, 0, x_60); +x_72 = lean_st_ref_set(x_10, x_68, x_69); +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; uint8_t x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_72, 0); +lean_dec(x_74); +x_75 = 0; +x_76 = lean_box(x_75); +lean_ctor_set(x_72, 0, x_76); +x_26 = x_72; +goto block_39; +} +else +{ +lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; +x_77 = lean_ctor_get(x_72, 1); +lean_inc(x_77); +lean_dec(x_72); +x_78 = 0; +x_79 = lean_box(x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_77); +x_26 = x_80; +goto block_39; +} +} +else +{ +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; uint8_t x_88; lean_object* x_89; lean_object* x_90; +x_81 = lean_ctor_get(x_68, 1); +x_82 = lean_ctor_get(x_68, 2); +x_83 = lean_ctor_get(x_68, 3); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_68); +x_84 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_84, 0, x_60); +lean_ctor_set(x_84, 1, x_81); +lean_ctor_set(x_84, 2, x_82); +lean_ctor_set(x_84, 3, x_83); +x_85 = lean_st_ref_set(x_10, x_84, x_69); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_87 = x_85; +} else { + lean_dec_ref(x_85); + x_87 = lean_box(0); +} +x_88 = 0; +x_89 = lean_box(x_88); +if (lean_is_scalar(x_87)) { + x_90 = lean_alloc_ctor(0, 2, 0); +} else { + x_90 = x_87; +} +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_86); +x_26 = x_90; +goto block_39; +} +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +lean_dec(x_60); +x_91 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(x_6, x_54, x_62); +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 0); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_st_ref_get(x_12, x_59); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec(x_95); +x_97 = lean_st_ref_take(x_10, x_96); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = !lean_is_exclusive(x_98); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; uint8_t x_103; +x_101 = lean_ctor_get(x_98, 0); +lean_dec(x_101); +lean_ctor_set(x_98, 0, x_94); +x_102 = lean_st_ref_set(x_10, x_98, x_99); +x_103 = !lean_is_exclusive(x_102); +if (x_103 == 0) +{ +lean_object* x_104; +x_104 = lean_ctor_get(x_102, 0); +lean_dec(x_104); +lean_ctor_set(x_102, 0, x_93); +x_26 = x_102; +goto block_39; +} +else +{ +lean_object* x_105; lean_object* x_106; +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +lean_dec(x_102); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_93); +lean_ctor_set(x_106, 1, x_105); +x_26 = x_106; +goto block_39; +} +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_107 = lean_ctor_get(x_98, 1); +x_108 = lean_ctor_get(x_98, 2); +x_109 = lean_ctor_get(x_98, 3); +lean_inc(x_109); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_98); +x_110 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_110, 0, x_94); +lean_ctor_set(x_110, 1, x_107); +lean_ctor_set(x_110, 2, x_108); +lean_ctor_set(x_110, 3, x_109); +x_111 = lean_st_ref_set(x_10, x_110, x_99); +x_112 = lean_ctor_get(x_111, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_113 = x_111; +} else { + lean_dec_ref(x_111); + x_113 = lean_box(0); +} +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(0, 2, 0); +} else { + x_114 = x_113; +} +lean_ctor_set(x_114, 0, x_93); +lean_ctor_set(x_114, 1, x_112); +x_26 = x_114; +goto block_39; +} +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +lean_dec(x_60); +x_115 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__11(x_6, x_54, x_62); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 0); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +x_119 = lean_st_ref_get(x_12, x_59); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +lean_dec(x_119); +x_121 = lean_st_ref_take(x_10, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = !lean_is_exclusive(x_122); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_125 = lean_ctor_get(x_122, 0); +lean_dec(x_125); +lean_ctor_set(x_122, 0, x_118); +x_126 = lean_st_ref_set(x_10, x_122, x_123); +x_127 = !lean_is_exclusive(x_126); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_126, 0); +lean_dec(x_128); +lean_ctor_set(x_126, 0, x_117); +x_26 = x_126; +goto block_39; +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_126, 1); +lean_inc(x_129); +lean_dec(x_126); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_117); +lean_ctor_set(x_130, 1, x_129); +x_26 = x_130; +goto block_39; +} +} +else +{ +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; +x_131 = lean_ctor_get(x_122, 1); +x_132 = lean_ctor_get(x_122, 2); +x_133 = lean_ctor_get(x_122, 3); +lean_inc(x_133); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_122); +x_134 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_134, 0, x_118); +lean_ctor_set(x_134, 1, x_131); +lean_ctor_set(x_134, 2, x_132); +lean_ctor_set(x_134, 3, x_133); +x_135 = lean_st_ref_set(x_10, x_134, x_123); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_137 = x_135; +} else { + lean_dec_ref(x_135); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(0, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_117); +lean_ctor_set(x_138, 1, x_136); +x_26 = x_138; +goto block_39; +} +} +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; lean_object* x_147; uint8_t x_180; lean_object* x_181; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; +x_139 = lean_ctor_get(x_24, 3); +lean_inc(x_139); +x_140 = lean_ctor_get(x_24, 4); +lean_inc(x_140); +lean_dec(x_24); +x_141 = lean_st_ref_get(x_12, x_13); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_143 = lean_st_ref_get(x_10, x_142); +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_194 = lean_ctor_get(x_144, 0); +lean_inc(x_194); +lean_dec(x_144); +x_195 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +x_197 = l_Lean_Expr_hasFVar(x_139); +if (x_197 == 0) +{ +uint8_t x_198; +x_198 = l_Lean_Expr_hasMVar(x_139); +if (x_198 == 0) +{ +uint8_t x_199; +lean_dec(x_139); +x_199 = 0; +x_180 = x_199; +x_181 = x_196; +goto block_193; +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_200 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__35(x_6, x_139, x_196); +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 1); +lean_inc(x_202); +lean_dec(x_200); +x_203 = lean_unbox(x_201); +lean_dec(x_201); +x_180 = x_203; +x_181 = x_202; +goto block_193; +} +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; +x_204 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(x_6, x_139, x_196); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +x_207 = lean_unbox(x_205); +lean_dec(x_205); +x_180 = x_207; +x_181 = x_206; +goto block_193; +} +block_179: +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = lean_st_ref_get(x_12, x_145); +x_150 = lean_ctor_get(x_149, 1); +lean_inc(x_150); +lean_dec(x_149); +x_151 = lean_st_ref_take(x_10, x_150); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); +x_154 = !lean_is_exclusive(x_152); +if (x_154 == 0) +{ +lean_object* x_155; lean_object* x_156; +x_155 = lean_ctor_get(x_152, 0); +lean_dec(x_155); +lean_ctor_set(x_152, 0, x_148); +x_156 = lean_st_ref_set(x_10, x_152, x_153); +if (x_146 == 0) +{ +uint8_t x_157; +lean_dec(x_25); +x_157 = !lean_is_exclusive(x_156); +if (x_157 == 0) +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_156, 0); +lean_dec(x_158); +lean_ctor_set(x_156, 0, x_6); +x_16 = x_156; +goto block_22; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_156, 1); +lean_inc(x_159); +lean_dec(x_156); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_6); +lean_ctor_set(x_160, 1, x_159); +x_16 = x_160; +goto block_22; +} +} +else +{ +uint8_t x_161; +x_161 = !lean_is_exclusive(x_156); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; +x_162 = lean_ctor_get(x_156, 0); +lean_dec(x_162); +x_163 = lean_array_push(x_6, x_25); +lean_ctor_set(x_156, 0, x_163); +x_16 = x_156; +goto block_22; +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_164 = lean_ctor_get(x_156, 1); lean_inc(x_164); -lean_dec(x_44); -x_165 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +lean_dec(x_156); +x_165 = lean_array_push(x_6, x_25); x_166 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_166, 0, x_165); lean_ctor_set(x_166, 1, x_164); -x_167 = l_Lean_Expr_hasFVar(x_40); -if (x_167 == 0) -{ -uint8_t x_168; -x_168 = l_Lean_Expr_hasMVar(x_40); -if (x_168 == 0) -{ -uint8_t x_169; -lean_dec(x_40); -x_169 = 0; -x_46 = x_169; -x_47 = x_166; -goto block_163; +x_16 = x_166; +goto block_22; +} +} } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_170 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(x_6, x_40, x_166); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_167 = lean_ctor_get(x_152, 1); +x_168 = lean_ctor_get(x_152, 2); +x_169 = lean_ctor_get(x_152, 3); +lean_inc(x_169); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_152); +x_170 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_170, 0, x_148); +lean_ctor_set(x_170, 1, x_167); +lean_ctor_set(x_170, 2, x_168); +lean_ctor_set(x_170, 3, x_169); +x_171 = lean_st_ref_set(x_10, x_170, x_153); +if (x_146 == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_25); +x_172 = lean_ctor_get(x_171, 1); lean_inc(x_172); -lean_dec(x_170); -x_173 = lean_unbox(x_171); -lean_dec(x_171); -x_46 = x_173; -x_47 = x_172; -goto block_163; +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_173 = x_171; +} else { + lean_dec_ref(x_171); + x_173 = lean_box(0); } +if (lean_is_scalar(x_173)) { + x_174 = lean_alloc_ctor(0, 2, 0); +} else { + x_174 = x_173; +} +lean_ctor_set(x_174, 0, x_6); +lean_ctor_set(x_174, 1, x_172); +x_16 = x_174; +goto block_22; } else { -lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_174 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__11(x_6, x_40, x_166); -x_175 = lean_ctor_get(x_174, 0); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_175 = lean_ctor_get(x_171, 1); lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = lean_unbox(x_175); -lean_dec(x_175); -x_46 = x_177; -x_47 = x_176; -goto block_163; +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_176 = x_171; +} else { + lean_dec_ref(x_171); + x_176 = lean_box(0); } -block_163: -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_st_ref_get(x_12, x_45); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_st_ref_take(x_10, x_50); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get_uint8(x_48, sizeof(void*)*8); -if (x_53 == 0) -{ -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; uint8_t x_64; -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -lean_dec(x_51); -x_56 = lean_ctor_get(x_48, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_48, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_48, 2); -lean_inc(x_58); -x_59 = lean_ctor_get(x_48, 3); -lean_inc(x_59); -x_60 = lean_ctor_get(x_48, 4); -lean_inc(x_60); -x_61 = lean_ctor_get(x_48, 5); -lean_inc(x_61); -x_62 = lean_ctor_get(x_48, 6); -lean_inc(x_62); -x_63 = lean_ctor_get(x_48, 7); -lean_inc(x_63); -lean_dec(x_48); -x_64 = !lean_is_exclusive(x_52); -if (x_64 == 0) -{ -lean_object* x_65; uint8_t x_66; -x_65 = lean_ctor_get(x_52, 0); -lean_dec(x_65); -x_66 = !lean_is_exclusive(x_54); -if (x_66 == 0) -{ -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; -x_67 = lean_ctor_get(x_54, 7); -lean_dec(x_67); -x_68 = lean_ctor_get(x_54, 6); -lean_dec(x_68); -x_69 = lean_ctor_get(x_54, 5); -lean_dec(x_69); -x_70 = lean_ctor_get(x_54, 4); -lean_dec(x_70); -x_71 = lean_ctor_get(x_54, 3); -lean_dec(x_71); -x_72 = lean_ctor_get(x_54, 2); -lean_dec(x_72); -x_73 = lean_ctor_get(x_54, 1); -lean_dec(x_73); -x_74 = lean_ctor_get(x_54, 0); -lean_dec(x_74); -lean_ctor_set(x_54, 7, x_63); -lean_ctor_set(x_54, 6, x_62); -lean_ctor_set(x_54, 5, x_61); -lean_ctor_set(x_54, 4, x_60); -lean_ctor_set(x_54, 3, x_59); -lean_ctor_set(x_54, 2, x_58); -lean_ctor_set(x_54, 1, x_57); -lean_ctor_set(x_54, 0, x_56); -x_75 = lean_st_ref_set(x_10, x_52, x_55); -if (x_46 == 0) -{ -uint8_t x_76; -lean_dec(x_25); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -lean_ctor_set(x_75, 0, x_6); -x_16 = x_75; -goto block_22; +x_177 = lean_array_push(x_6, x_25); +if (lean_is_scalar(x_176)) { + x_178 = lean_alloc_ctor(0, 2, 0); +} else { + x_178 = x_176; } -else -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_6); -lean_ctor_set(x_79, 1, x_78); -x_16 = x_79; -goto block_22; -} -} -else -{ -uint8_t x_80; -x_80 = !lean_is_exclusive(x_75); -if (x_80 == 0) -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_75, 0); -lean_dec(x_81); -x_82 = lean_array_push(x_6, x_25); -lean_ctor_set(x_75, 0, x_82); -x_16 = x_75; -goto block_22; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_75, 1); -lean_inc(x_83); -lean_dec(x_75); -x_84 = lean_array_push(x_6, x_25); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_16 = x_85; +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_175); +x_16 = x_178; goto block_22; } } } -else +block_193: { -uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -lean_dec(x_54); -x_87 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_87, 0, x_56); -lean_ctor_set(x_87, 1, x_57); -lean_ctor_set(x_87, 2, x_58); -lean_ctor_set(x_87, 3, x_59); -lean_ctor_set(x_87, 4, x_60); -lean_ctor_set(x_87, 5, x_61); -lean_ctor_set(x_87, 6, x_62); -lean_ctor_set(x_87, 7, x_63); -lean_ctor_set_uint8(x_87, sizeof(void*)*8, x_86); -lean_ctor_set(x_52, 0, x_87); -x_88 = lean_st_ref_set(x_10, x_52, x_55); -if (x_46 == 0) +if (x_180 == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_dec(x_25); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_90 = x_88; -} else { - lean_dec_ref(x_88); - x_90 = lean_box(0); -} -if (lean_is_scalar(x_90)) { - x_91 = lean_alloc_ctor(0, 2, 0); -} else { - x_91 = x_90; -} -lean_ctor_set(x_91, 0, x_6); -lean_ctor_set(x_91, 1, x_89); -x_16 = x_91; -goto block_22; +uint8_t x_182; +x_182 = l_Lean_Expr_hasFVar(x_140); +if (x_182 == 0) +{ +uint8_t x_183; +x_183 = l_Lean_Expr_hasMVar(x_140); +if (x_183 == 0) +{ +uint8_t x_184; +lean_dec(x_140); +x_184 = 0; +x_146 = x_184; +x_147 = x_181; +goto block_179; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_88, 1); -lean_inc(x_92); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_93 = x_88; -} else { - lean_dec_ref(x_88); - x_93 = lean_box(0); -} -x_94 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_93)) { - x_95 = lean_alloc_ctor(0, 2, 0); -} else { - x_95 = x_93; -} -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_92); -x_16 = x_95; -goto block_22; -} -} -} -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_52, 1); -x_97 = lean_ctor_get(x_52, 2); -x_98 = lean_ctor_get(x_52, 3); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_52); -x_99 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -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); - lean_ctor_release(x_54, 6); - lean_ctor_release(x_54, 7); - x_100 = x_54; -} else { - lean_dec_ref(x_54); - x_100 = lean_box(0); -} -if (lean_is_scalar(x_100)) { - x_101 = lean_alloc_ctor(0, 8, 1); -} else { - x_101 = x_100; -} -lean_ctor_set(x_101, 0, x_56); -lean_ctor_set(x_101, 1, x_57); -lean_ctor_set(x_101, 2, x_58); -lean_ctor_set(x_101, 3, x_59); -lean_ctor_set(x_101, 4, x_60); -lean_ctor_set(x_101, 5, x_61); -lean_ctor_set(x_101, 6, x_62); -lean_ctor_set(x_101, 7, x_63); -lean_ctor_set_uint8(x_101, sizeof(void*)*8, x_99); -x_102 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_96); -lean_ctor_set(x_102, 2, x_97); -lean_ctor_set(x_102, 3, x_98); -x_103 = lean_st_ref_set(x_10, x_102, x_55); -if (x_46 == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_25); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_105 = x_103; -} else { - lean_dec_ref(x_103); - x_105 = lean_box(0); -} -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_105; -} -lean_ctor_set(x_106, 0, x_6); -lean_ctor_set(x_106, 1, x_104); -x_16 = x_106; -goto block_22; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_103, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_108 = x_103; -} else { - lean_dec_ref(x_103); - x_108 = lean_box(0); -} -x_109 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_108)) { - x_110 = lean_alloc_ctor(0, 2, 0); -} else { - x_110 = x_108; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -x_16 = x_110; -goto block_22; -} -} -} -else -{ -lean_object* x_111; uint8_t x_112; -x_111 = lean_ctor_get(x_51, 1); -lean_inc(x_111); -lean_dec(x_51); -x_112 = !lean_is_exclusive(x_48); -if (x_112 == 0) -{ -uint8_t x_113; -x_113 = !lean_is_exclusive(x_52); -if (x_113 == 0) -{ -lean_object* x_114; uint8_t x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_52, 0); -lean_dec(x_114); -x_115 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_115); -lean_ctor_set(x_52, 0, x_48); -x_116 = lean_st_ref_set(x_10, x_52, x_111); -if (x_46 == 0) -{ -uint8_t x_117; -lean_dec(x_25); -x_117 = !lean_is_exclusive(x_116); -if (x_117 == 0) -{ -lean_object* x_118; -x_118 = lean_ctor_get(x_116, 0); -lean_dec(x_118); -lean_ctor_set(x_116, 0, x_6); -x_16 = x_116; -goto block_22; -} -else -{ -lean_object* x_119; lean_object* x_120; -x_119 = lean_ctor_get(x_116, 1); -lean_inc(x_119); -lean_dec(x_116); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_6); -lean_ctor_set(x_120, 1, x_119); -x_16 = x_120; -goto block_22; -} -} -else -{ -uint8_t x_121; -x_121 = !lean_is_exclusive(x_116); -if (x_121 == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_116, 0); -lean_dec(x_122); -x_123 = lean_array_push(x_6, x_25); -lean_ctor_set(x_116, 0, x_123); -x_16 = x_116; -goto block_22; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_116, 1); -lean_inc(x_124); -lean_dec(x_116); -x_125 = lean_array_push(x_6, x_25); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_16 = x_126; -goto block_22; -} -} -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; -x_127 = lean_ctor_get(x_52, 1); -x_128 = lean_ctor_get(x_52, 2); -x_129 = lean_ctor_get(x_52, 3); -lean_inc(x_129); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_52); -x_130 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_130); -x_131 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_131, 0, x_48); -lean_ctor_set(x_131, 1, x_127); -lean_ctor_set(x_131, 2, x_128); -lean_ctor_set(x_131, 3, x_129); -x_132 = lean_st_ref_set(x_10, x_131, x_111); -if (x_46 == 0) -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_25); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_134 = x_132; -} else { - lean_dec_ref(x_132); - x_134 = lean_box(0); -} -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(0, 2, 0); -} else { - x_135 = x_134; -} -lean_ctor_set(x_135, 0, x_6); -lean_ctor_set(x_135, 1, x_133); -x_16 = x_135; -goto block_22; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_136 = lean_ctor_get(x_132, 1); -lean_inc(x_136); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_137 = x_132; -} else { - lean_dec_ref(x_132); - x_137 = lean_box(0); -} -x_138 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_137)) { - x_139 = lean_alloc_ctor(0, 2, 0); -} else { - x_139 = x_137; -} -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_136); -x_16 = x_139; -goto block_22; -} -} -} -else -{ -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; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_140 = lean_ctor_get(x_48, 0); -x_141 = lean_ctor_get(x_48, 1); -x_142 = lean_ctor_get(x_48, 2); -x_143 = lean_ctor_get(x_48, 3); -x_144 = lean_ctor_get(x_48, 4); -x_145 = lean_ctor_get(x_48, 5); -x_146 = lean_ctor_get(x_48, 6); -x_147 = lean_ctor_get(x_48, 7); -lean_inc(x_147); -lean_inc(x_146); -lean_inc(x_145); -lean_inc(x_144); -lean_inc(x_143); -lean_inc(x_142); -lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_48); -x_148 = lean_ctor_get(x_52, 1); -lean_inc(x_148); -x_149 = lean_ctor_get(x_52, 2); -lean_inc(x_149); -x_150 = lean_ctor_get(x_52, 3); -lean_inc(x_150); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - lean_ctor_release(x_52, 3); - x_151 = x_52; -} else { - lean_dec_ref(x_52); - x_151 = lean_box(0); -} -x_152 = 1; -x_153 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_153, 0, x_140); -lean_ctor_set(x_153, 1, x_141); -lean_ctor_set(x_153, 2, x_142); -lean_ctor_set(x_153, 3, x_143); -lean_ctor_set(x_153, 4, x_144); -lean_ctor_set(x_153, 5, x_145); -lean_ctor_set(x_153, 6, x_146); -lean_ctor_set(x_153, 7, x_147); -lean_ctor_set_uint8(x_153, sizeof(void*)*8, x_152); -if (lean_is_scalar(x_151)) { - x_154 = lean_alloc_ctor(0, 4, 0); -} else { - x_154 = x_151; -} -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_148); -lean_ctor_set(x_154, 2, x_149); -lean_ctor_set(x_154, 3, x_150); -x_155 = lean_st_ref_set(x_10, x_154, x_111); -if (x_46 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; -lean_dec(x_25); -x_156 = lean_ctor_get(x_155, 1); -lean_inc(x_156); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_157 = x_155; -} else { - lean_dec_ref(x_155); - x_157 = lean_box(0); -} -if (lean_is_scalar(x_157)) { - x_158 = lean_alloc_ctor(0, 2, 0); -} else { - x_158 = x_157; -} -lean_ctor_set(x_158, 0, x_6); -lean_ctor_set(x_158, 1, x_156); -x_16 = x_158; -goto block_22; -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_159 = lean_ctor_get(x_155, 1); -lean_inc(x_159); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_160 = x_155; -} else { - lean_dec_ref(x_155); - x_160 = lean_box(0); -} -x_161 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_160)) { - x_162 = lean_alloc_ctor(0, 2, 0); -} else { - x_162 = x_160; -} -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_159); -x_16 = x_162; -goto block_22; -} -} -} -} -} -else -{ -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; uint8_t x_185; lean_object* x_186; uint8_t x_303; lean_object* x_304; lean_object* x_317; lean_object* x_318; lean_object* x_319; uint8_t x_320; -x_178 = lean_ctor_get(x_24, 3); -lean_inc(x_178); -x_179 = lean_ctor_get(x_24, 4); -lean_inc(x_179); -lean_dec(x_24); -x_180 = lean_st_ref_get(x_12, x_13); -x_181 = lean_ctor_get(x_180, 1); -lean_inc(x_181); -lean_dec(x_180); -x_182 = lean_st_ref_get(x_10, x_181); -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_317 = lean_ctor_get(x_183, 0); -lean_inc(x_317); -lean_dec(x_183); -x_318 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; -x_319 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_317); -x_320 = l_Lean_Expr_hasFVar(x_178); -if (x_320 == 0) -{ -uint8_t x_321; -x_321 = l_Lean_Expr_hasMVar(x_178); -if (x_321 == 0) -{ -uint8_t x_322; -lean_dec(x_178); -x_322 = 0; -x_303 = x_322; -x_304 = x_319; -goto block_316; -} -else -{ -lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; -x_323 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__35(x_6, x_178, x_319); -x_324 = lean_ctor_get(x_323, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_323, 1); -lean_inc(x_325); -lean_dec(x_323); -x_326 = lean_unbox(x_324); -lean_dec(x_324); -x_303 = x_326; -x_304 = x_325; -goto block_316; -} -} -else -{ -lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; -x_327 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(x_6, x_178, x_319); -x_328 = lean_ctor_get(x_327, 0); -lean_inc(x_328); -x_329 = lean_ctor_get(x_327, 1); -lean_inc(x_329); -lean_dec(x_327); -x_330 = lean_unbox(x_328); -lean_dec(x_328); -x_303 = x_330; -x_304 = x_329; -goto block_316; -} -block_302: -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; -x_187 = lean_ctor_get(x_186, 1); +lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_185 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__19(x_6, x_140, x_181); +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_185, 1); lean_inc(x_187); +lean_dec(x_185); +x_188 = lean_unbox(x_186); lean_dec(x_186); -x_188 = lean_st_ref_get(x_12, x_184); -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -lean_dec(x_188); -x_190 = lean_st_ref_take(x_10, x_189); -x_191 = lean_ctor_get(x_190, 0); +x_146 = x_188; +x_147 = x_187; +goto block_179; +} +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__27(x_6, x_140, x_181); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); lean_inc(x_191); -x_192 = lean_ctor_get_uint8(x_187, sizeof(void*)*8); -if (x_192 == 0) -{ -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; uint8_t x_203; -x_193 = lean_ctor_get(x_191, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_190, 1); -lean_inc(x_194); +lean_dec(x_189); +x_192 = lean_unbox(x_190); lean_dec(x_190); -x_195 = lean_ctor_get(x_187, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_187, 1); -lean_inc(x_196); -x_197 = lean_ctor_get(x_187, 2); -lean_inc(x_197); -x_198 = lean_ctor_get(x_187, 3); -lean_inc(x_198); -x_199 = lean_ctor_get(x_187, 4); -lean_inc(x_199); -x_200 = lean_ctor_get(x_187, 5); -lean_inc(x_200); -x_201 = lean_ctor_get(x_187, 6); -lean_inc(x_201); -x_202 = lean_ctor_get(x_187, 7); -lean_inc(x_202); -lean_dec(x_187); -x_203 = !lean_is_exclusive(x_191); -if (x_203 == 0) -{ -lean_object* x_204; uint8_t x_205; -x_204 = lean_ctor_get(x_191, 0); -lean_dec(x_204); -x_205 = !lean_is_exclusive(x_193); -if (x_205 == 0) -{ -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_206 = lean_ctor_get(x_193, 7); -lean_dec(x_206); -x_207 = lean_ctor_get(x_193, 6); -lean_dec(x_207); -x_208 = lean_ctor_get(x_193, 5); -lean_dec(x_208); -x_209 = lean_ctor_get(x_193, 4); -lean_dec(x_209); -x_210 = lean_ctor_get(x_193, 3); -lean_dec(x_210); -x_211 = lean_ctor_get(x_193, 2); -lean_dec(x_211); -x_212 = lean_ctor_get(x_193, 1); -lean_dec(x_212); -x_213 = lean_ctor_get(x_193, 0); -lean_dec(x_213); -lean_ctor_set(x_193, 7, x_202); -lean_ctor_set(x_193, 6, x_201); -lean_ctor_set(x_193, 5, x_200); -lean_ctor_set(x_193, 4, x_199); -lean_ctor_set(x_193, 3, x_198); -lean_ctor_set(x_193, 2, x_197); -lean_ctor_set(x_193, 1, x_196); -lean_ctor_set(x_193, 0, x_195); -x_214 = lean_st_ref_set(x_10, x_191, x_194); -if (x_185 == 0) -{ -uint8_t x_215; -lean_dec(x_25); -x_215 = !lean_is_exclusive(x_214); -if (x_215 == 0) -{ -lean_object* x_216; -x_216 = lean_ctor_get(x_214, 0); -lean_dec(x_216); -lean_ctor_set(x_214, 0, x_6); -x_16 = x_214; -goto block_22; -} -else -{ -lean_object* x_217; lean_object* x_218; -x_217 = lean_ctor_get(x_214, 1); -lean_inc(x_217); -lean_dec(x_214); -x_218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_218, 0, x_6); -lean_ctor_set(x_218, 1, x_217); -x_16 = x_218; -goto block_22; +x_146 = x_192; +x_147 = x_191; +goto block_179; } } else { -uint8_t x_219; -x_219 = !lean_is_exclusive(x_214); -if (x_219 == 0) -{ -lean_object* x_220; lean_object* x_221; -x_220 = lean_ctor_get(x_214, 0); -lean_dec(x_220); -x_221 = lean_array_push(x_6, x_25); -lean_ctor_set(x_214, 0, x_221); -x_16 = x_214; -goto block_22; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_214, 1); -lean_inc(x_222); -lean_dec(x_214); -x_223 = lean_array_push(x_6, x_25); -x_224 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_16 = x_224; -goto block_22; -} -} -} -else -{ -uint8_t x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get_uint8(x_193, sizeof(void*)*8); -lean_dec(x_193); -x_226 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_226, 0, x_195); -lean_ctor_set(x_226, 1, x_196); -lean_ctor_set(x_226, 2, x_197); -lean_ctor_set(x_226, 3, x_198); -lean_ctor_set(x_226, 4, x_199); -lean_ctor_set(x_226, 5, x_200); -lean_ctor_set(x_226, 6, x_201); -lean_ctor_set(x_226, 7, x_202); -lean_ctor_set_uint8(x_226, sizeof(void*)*8, x_225); -lean_ctor_set(x_191, 0, x_226); -x_227 = lean_st_ref_set(x_10, x_191, x_194); -if (x_185 == 0) -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_dec(x_25); -x_228 = lean_ctor_get(x_227, 1); -lean_inc(x_228); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_229 = x_227; -} else { - lean_dec_ref(x_227); - x_229 = lean_box(0); -} -if (lean_is_scalar(x_229)) { - x_230 = lean_alloc_ctor(0, 2, 0); -} else { - x_230 = x_229; -} -lean_ctor_set(x_230, 0, x_6); -lean_ctor_set(x_230, 1, x_228); -x_16 = x_230; -goto block_22; -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_231 = lean_ctor_get(x_227, 1); -lean_inc(x_231); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_232 = x_227; -} else { - lean_dec_ref(x_227); - x_232 = lean_box(0); -} -x_233 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_232)) { - x_234 = lean_alloc_ctor(0, 2, 0); -} else { - x_234 = x_232; -} -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_231); -x_16 = x_234; -goto block_22; -} -} -} -else -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_235 = lean_ctor_get(x_191, 1); -x_236 = lean_ctor_get(x_191, 2); -x_237 = lean_ctor_get(x_191, 3); -lean_inc(x_237); -lean_inc(x_236); -lean_inc(x_235); -lean_dec(x_191); -x_238 = lean_ctor_get_uint8(x_193, sizeof(void*)*8); -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); - lean_ctor_release(x_193, 6); - lean_ctor_release(x_193, 7); - x_239 = x_193; -} else { - lean_dec_ref(x_193); - x_239 = lean_box(0); -} -if (lean_is_scalar(x_239)) { - x_240 = lean_alloc_ctor(0, 8, 1); -} else { - x_240 = x_239; -} -lean_ctor_set(x_240, 0, x_195); -lean_ctor_set(x_240, 1, x_196); -lean_ctor_set(x_240, 2, x_197); -lean_ctor_set(x_240, 3, x_198); -lean_ctor_set(x_240, 4, x_199); -lean_ctor_set(x_240, 5, x_200); -lean_ctor_set(x_240, 6, x_201); -lean_ctor_set(x_240, 7, x_202); -lean_ctor_set_uint8(x_240, sizeof(void*)*8, x_238); -x_241 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_235); -lean_ctor_set(x_241, 2, x_236); -lean_ctor_set(x_241, 3, x_237); -x_242 = lean_st_ref_set(x_10, x_241, x_194); -if (x_185 == 0) -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; -lean_dec(x_25); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_244 = x_242; -} else { - lean_dec_ref(x_242); - x_244 = lean_box(0); -} -if (lean_is_scalar(x_244)) { - x_245 = lean_alloc_ctor(0, 2, 0); -} else { - x_245 = x_244; -} -lean_ctor_set(x_245, 0, x_6); -lean_ctor_set(x_245, 1, x_243); -x_16 = x_245; -goto block_22; -} -else -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_246 = lean_ctor_get(x_242, 1); -lean_inc(x_246); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_247 = x_242; -} else { - lean_dec_ref(x_242); - x_247 = lean_box(0); -} -x_248 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_247)) { - x_249 = lean_alloc_ctor(0, 2, 0); -} else { - x_249 = x_247; -} -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_246); -x_16 = x_249; -goto block_22; -} -} -} -else -{ -lean_object* x_250; uint8_t x_251; -x_250 = lean_ctor_get(x_190, 1); -lean_inc(x_250); -lean_dec(x_190); -x_251 = !lean_is_exclusive(x_187); -if (x_251 == 0) -{ -uint8_t x_252; -x_252 = !lean_is_exclusive(x_191); -if (x_252 == 0) -{ -lean_object* x_253; uint8_t x_254; lean_object* x_255; -x_253 = lean_ctor_get(x_191, 0); -lean_dec(x_253); -x_254 = 1; -lean_ctor_set_uint8(x_187, sizeof(void*)*8, x_254); -lean_ctor_set(x_191, 0, x_187); -x_255 = lean_st_ref_set(x_10, x_191, x_250); -if (x_185 == 0) -{ -uint8_t x_256; -lean_dec(x_25); -x_256 = !lean_is_exclusive(x_255); -if (x_256 == 0) -{ -lean_object* x_257; -x_257 = lean_ctor_get(x_255, 0); -lean_dec(x_257); -lean_ctor_set(x_255, 0, x_6); -x_16 = x_255; -goto block_22; -} -else -{ -lean_object* x_258; lean_object* x_259; -x_258 = lean_ctor_get(x_255, 1); -lean_inc(x_258); -lean_dec(x_255); -x_259 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_259, 0, x_6); -lean_ctor_set(x_259, 1, x_258); -x_16 = x_259; -goto block_22; -} -} -else -{ -uint8_t x_260; -x_260 = !lean_is_exclusive(x_255); -if (x_260 == 0) -{ -lean_object* x_261; lean_object* x_262; -x_261 = lean_ctor_get(x_255, 0); -lean_dec(x_261); -x_262 = lean_array_push(x_6, x_25); -lean_ctor_set(x_255, 0, x_262); -x_16 = x_255; -goto block_22; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_255, 1); -lean_inc(x_263); -lean_dec(x_255); -x_264 = lean_array_push(x_6, x_25); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_263); -x_16 = x_265; -goto block_22; -} -} -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; lean_object* x_270; lean_object* x_271; -x_266 = lean_ctor_get(x_191, 1); -x_267 = lean_ctor_get(x_191, 2); -x_268 = lean_ctor_get(x_191, 3); -lean_inc(x_268); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_191); -x_269 = 1; -lean_ctor_set_uint8(x_187, sizeof(void*)*8, x_269); -x_270 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_270, 0, x_187); -lean_ctor_set(x_270, 1, x_266); -lean_ctor_set(x_270, 2, x_267); -lean_ctor_set(x_270, 3, x_268); -x_271 = lean_st_ref_set(x_10, x_270, x_250); -if (x_185 == 0) -{ -lean_object* x_272; lean_object* x_273; lean_object* x_274; -lean_dec(x_25); -x_272 = lean_ctor_get(x_271, 1); -lean_inc(x_272); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_273 = x_271; -} else { - lean_dec_ref(x_271); - x_273 = lean_box(0); -} -if (lean_is_scalar(x_273)) { - x_274 = lean_alloc_ctor(0, 2, 0); -} else { - x_274 = x_273; -} -lean_ctor_set(x_274, 0, x_6); -lean_ctor_set(x_274, 1, x_272); -x_16 = x_274; -goto block_22; -} -else -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_275 = lean_ctor_get(x_271, 1); -lean_inc(x_275); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_276 = x_271; -} else { - lean_dec_ref(x_271); - x_276 = lean_box(0); -} -x_277 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_276)) { - x_278 = lean_alloc_ctor(0, 2, 0); -} else { - x_278 = x_276; -} -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_275); -x_16 = x_278; -goto block_22; -} -} -} -else -{ -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; lean_object* x_290; uint8_t x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_279 = lean_ctor_get(x_187, 0); -x_280 = lean_ctor_get(x_187, 1); -x_281 = lean_ctor_get(x_187, 2); -x_282 = lean_ctor_get(x_187, 3); -x_283 = lean_ctor_get(x_187, 4); -x_284 = lean_ctor_get(x_187, 5); -x_285 = lean_ctor_get(x_187, 6); -x_286 = lean_ctor_get(x_187, 7); -lean_inc(x_286); -lean_inc(x_285); -lean_inc(x_284); -lean_inc(x_283); -lean_inc(x_282); -lean_inc(x_281); -lean_inc(x_280); -lean_inc(x_279); -lean_dec(x_187); -x_287 = lean_ctor_get(x_191, 1); -lean_inc(x_287); -x_288 = lean_ctor_get(x_191, 2); -lean_inc(x_288); -x_289 = lean_ctor_get(x_191, 3); -lean_inc(x_289); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - lean_ctor_release(x_191, 2); - lean_ctor_release(x_191, 3); - x_290 = x_191; -} else { - lean_dec_ref(x_191); - x_290 = lean_box(0); -} -x_291 = 1; -x_292 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_292, 0, x_279); -lean_ctor_set(x_292, 1, x_280); -lean_ctor_set(x_292, 2, x_281); -lean_ctor_set(x_292, 3, x_282); -lean_ctor_set(x_292, 4, x_283); -lean_ctor_set(x_292, 5, x_284); -lean_ctor_set(x_292, 6, x_285); -lean_ctor_set(x_292, 7, x_286); -lean_ctor_set_uint8(x_292, sizeof(void*)*8, x_291); -if (lean_is_scalar(x_290)) { - x_293 = lean_alloc_ctor(0, 4, 0); -} else { - x_293 = x_290; -} -lean_ctor_set(x_293, 0, x_292); -lean_ctor_set(x_293, 1, x_287); -lean_ctor_set(x_293, 2, x_288); -lean_ctor_set(x_293, 3, x_289); -x_294 = lean_st_ref_set(x_10, x_293, x_250); -if (x_185 == 0) -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; -lean_dec(x_25); -x_295 = lean_ctor_get(x_294, 1); -lean_inc(x_295); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_296 = x_294; -} else { - lean_dec_ref(x_294); - x_296 = lean_box(0); -} -if (lean_is_scalar(x_296)) { - x_297 = lean_alloc_ctor(0, 2, 0); -} else { - x_297 = x_296; -} -lean_ctor_set(x_297, 0, x_6); -lean_ctor_set(x_297, 1, x_295); -x_16 = x_297; -goto block_22; -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_298 = lean_ctor_get(x_294, 1); -lean_inc(x_298); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_299 = x_294; -} else { - lean_dec_ref(x_294); - x_299 = lean_box(0); -} -x_300 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_299)) { - x_301 = lean_alloc_ctor(0, 2, 0); -} else { - x_301 = x_299; -} -lean_ctor_set(x_301, 0, x_300); -lean_ctor_set(x_301, 1, x_298); -x_16 = x_301; -goto block_22; -} -} -} -} -block_316: -{ -if (x_303 == 0) -{ -uint8_t x_305; -x_305 = l_Lean_Expr_hasFVar(x_179); -if (x_305 == 0) -{ -uint8_t x_306; -x_306 = l_Lean_Expr_hasMVar(x_179); -if (x_306 == 0) -{ -uint8_t x_307; -lean_dec(x_179); -x_307 = 0; -x_185 = x_307; -x_186 = x_304; -goto block_302; -} -else -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; uint8_t x_311; -x_308 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__19(x_6, x_179, x_304); -x_309 = lean_ctor_get(x_308, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_308, 1); -lean_inc(x_310); -lean_dec(x_308); -x_311 = lean_unbox(x_309); -lean_dec(x_309); -x_185 = x_311; -x_186 = x_310; -goto block_302; -} -} -else -{ -lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; -x_312 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__27(x_6, x_179, x_304); -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec(x_312); -x_315 = lean_unbox(x_313); -lean_dec(x_313); -x_185 = x_315; -x_186 = x_314; -goto block_302; -} -} -else -{ -lean_dec(x_179); -x_185 = x_303; -x_186 = x_304; -goto block_302; +lean_dec(x_140); +x_146 = x_180; +x_147 = x_181; +goto block_179; } } } @@ -38526,15 +38749,78 @@ goto block_302; } else { -lean_object* x_331; +lean_object* x_208; lean_dec(x_25); lean_dec(x_24); -x_331 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_331, 0, x_6); -lean_ctor_set(x_331, 1, x_13); -x_16 = x_331; +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_6); +lean_ctor_set(x_208, 1, x_13); +x_16 = x_208; goto block_22; } +block_39: +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_unbox(x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +uint8_t x_29; +lean_dec(x_25); +x_29 = !lean_is_exclusive(x_26); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_26, 0); +lean_dec(x_30); +lean_ctor_set(x_26, 0, x_6); +x_16 = x_26; +goto block_22; +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); +lean_dec(x_26); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_6); +lean_ctor_set(x_32, 1, x_31); +x_16 = x_32; +goto block_22; +} +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_26); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_26, 0); +lean_dec(x_34); +x_35 = lean_array_push(x_6, x_25); +lean_ctor_set(x_26, 0, x_35); +x_16 = x_26; +goto block_22; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_26, 1); +lean_inc(x_36); +lean_dec(x_26); +x_37 = lean_array_push(x_6, x_25); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_16 = x_38; +goto block_22; +} +} +} } block_22: { @@ -38554,12 +38840,12 @@ goto _start; } else { -lean_object* x_332; +lean_object* x_209; lean_dec(x_1); -x_332 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_332, 0, x_6); -lean_ctor_set(x_332, 1, x_13); -return x_332; +x_209 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_209, 0, x_6); +lean_ctor_set(x_209, 1, x_13); +return x_209; } } } @@ -38758,1352 +39044,643 @@ goto block_22; } else { -lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_40; x_24 = lean_ctor_get(x_15, 0); lean_inc(x_24); lean_dec(x_15); x_25 = l_Lean_LocalDecl_fvarId(x_24); lean_inc(x_25); lean_inc(x_1); -x_26 = l_Lean_LocalContext_contains(x_1, x_25); -if (x_26 == 0) +x_40 = l_Lean_LocalContext_contains(x_1, x_25); +if (x_40 == 0) { -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = lean_array_get_size(x_2); -x_28 = lean_unsigned_to_nat(0u); -x_29 = lean_nat_dec_lt(x_28, x_27); -if (x_29 == 0) +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_array_get_size(x_2); +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_nat_dec_lt(x_42, x_41); +if (x_43 == 0) { -lean_object* x_30; lean_object* x_31; -lean_dec(x_27); +lean_object* x_44; lean_object* x_45; +lean_dec(x_41); lean_dec(x_24); -x_30 = lean_array_push(x_6, x_25); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_13); -x_16 = x_31; +x_44 = lean_array_push(x_6, x_25); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_13); +x_16 = x_45; goto block_22; } else { -uint8_t x_32; -x_32 = lean_nat_dec_le(x_27, x_27); -if (x_32 == 0) +uint8_t x_46; +x_46 = lean_nat_dec_le(x_41, x_41); +if (x_46 == 0) { -lean_object* x_33; lean_object* x_34; -lean_dec(x_27); +lean_object* x_47; lean_object* x_48; +lean_dec(x_41); lean_dec(x_24); -x_33 = lean_array_push(x_6, x_25); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_13); -x_16 = x_34; +x_47 = lean_array_push(x_6, x_25); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_13); +x_16 = x_48; goto block_22; } else { -size_t x_35; size_t x_36; uint8_t x_37; -x_35 = 0; -x_36 = lean_usize_of_nat(x_27); -lean_dec(x_27); -x_37 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(x_25, x_2, x_35, x_36); -if (x_37 == 0) +size_t x_49; size_t x_50; uint8_t x_51; +x_49 = 0; +x_50 = lean_usize_of_nat(x_41); +lean_dec(x_41); +x_51 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(x_25, x_2, x_49, x_50); +if (x_51 == 0) { -lean_object* x_38; lean_object* x_39; +lean_object* x_52; lean_object* x_53; lean_dec(x_24); -x_38 = lean_array_push(x_6, x_25); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_13); -x_16 = x_39; +x_52 = lean_array_push(x_6, x_25); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_13); +x_16 = x_53; goto block_22; } else { if (lean_obj_tag(x_24) == 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; uint8_t x_46; lean_object* x_47; lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; -x_40 = lean_ctor_get(x_24, 3); -lean_inc(x_40); +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; uint8_t x_63; +x_54 = lean_ctor_get(x_24, 3); +lean_inc(x_54); lean_dec(x_24); -x_41 = lean_st_ref_get(x_12, x_13); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_st_ref_get(x_10, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_164 = lean_ctor_get(x_44, 0); +x_55 = lean_st_ref_get(x_12, x_13); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_st_ref_get(x_10, x_56); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_ctor_get(x_58, 0); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +lean_inc(x_60); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Lean_Expr_hasFVar(x_54); +if (x_63 == 0) +{ +uint8_t x_64; +x_64 = l_Lean_Expr_hasMVar(x_54); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_dec(x_62); +lean_dec(x_54); +x_65 = lean_st_ref_get(x_12, x_59); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +lean_dec(x_65); +x_67 = lean_st_ref_take(x_10, x_66); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = !lean_is_exclusive(x_68); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_71 = lean_ctor_get(x_68, 0); +lean_dec(x_71); +lean_ctor_set(x_68, 0, x_60); +x_72 = lean_st_ref_set(x_10, x_68, x_69); +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; uint8_t x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_72, 0); +lean_dec(x_74); +x_75 = 0; +x_76 = lean_box(x_75); +lean_ctor_set(x_72, 0, x_76); +x_26 = x_72; +goto block_39; +} +else +{ +lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; +x_77 = lean_ctor_get(x_72, 1); +lean_inc(x_77); +lean_dec(x_72); +x_78 = 0; +x_79 = lean_box(x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_77); +x_26 = x_80; +goto block_39; +} +} +else +{ +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; uint8_t x_88; lean_object* x_89; lean_object* x_90; +x_81 = lean_ctor_get(x_68, 1); +x_82 = lean_ctor_get(x_68, 2); +x_83 = lean_ctor_get(x_68, 3); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_68); +x_84 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_84, 0, x_60); +lean_ctor_set(x_84, 1, x_81); +lean_ctor_set(x_84, 2, x_82); +lean_ctor_set(x_84, 3, x_83); +x_85 = lean_st_ref_set(x_10, x_84, x_69); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_87 = x_85; +} else { + lean_dec_ref(x_85); + x_87 = lean_box(0); +} +x_88 = 0; +x_89 = lean_box(x_88); +if (lean_is_scalar(x_87)) { + x_90 = lean_alloc_ctor(0, 2, 0); +} else { + x_90 = x_87; +} +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_86); +x_26 = x_90; +goto block_39; +} +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +lean_dec(x_60); +x_91 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(x_6, x_54, x_62); +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 0); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_st_ref_get(x_12, x_59); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec(x_95); +x_97 = lean_st_ref_take(x_10, x_96); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = !lean_is_exclusive(x_98); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; uint8_t x_103; +x_101 = lean_ctor_get(x_98, 0); +lean_dec(x_101); +lean_ctor_set(x_98, 0, x_94); +x_102 = lean_st_ref_set(x_10, x_98, x_99); +x_103 = !lean_is_exclusive(x_102); +if (x_103 == 0) +{ +lean_object* x_104; +x_104 = lean_ctor_get(x_102, 0); +lean_dec(x_104); +lean_ctor_set(x_102, 0, x_93); +x_26 = x_102; +goto block_39; +} +else +{ +lean_object* x_105; lean_object* x_106; +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +lean_dec(x_102); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_93); +lean_ctor_set(x_106, 1, x_105); +x_26 = x_106; +goto block_39; +} +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_107 = lean_ctor_get(x_98, 1); +x_108 = lean_ctor_get(x_98, 2); +x_109 = lean_ctor_get(x_98, 3); +lean_inc(x_109); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_98); +x_110 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_110, 0, x_94); +lean_ctor_set(x_110, 1, x_107); +lean_ctor_set(x_110, 2, x_108); +lean_ctor_set(x_110, 3, x_109); +x_111 = lean_st_ref_set(x_10, x_110, x_99); +x_112 = lean_ctor_get(x_111, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_113 = x_111; +} else { + lean_dec_ref(x_111); + x_113 = lean_box(0); +} +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(0, 2, 0); +} else { + x_114 = x_113; +} +lean_ctor_set(x_114, 0, x_93); +lean_ctor_set(x_114, 1, x_112); +x_26 = x_114; +goto block_39; +} +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +lean_dec(x_60); +x_115 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__11(x_6, x_54, x_62); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 0); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +x_119 = lean_st_ref_get(x_12, x_59); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +lean_dec(x_119); +x_121 = lean_st_ref_take(x_10, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = !lean_is_exclusive(x_122); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_125 = lean_ctor_get(x_122, 0); +lean_dec(x_125); +lean_ctor_set(x_122, 0, x_118); +x_126 = lean_st_ref_set(x_10, x_122, x_123); +x_127 = !lean_is_exclusive(x_126); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_126, 0); +lean_dec(x_128); +lean_ctor_set(x_126, 0, x_117); +x_26 = x_126; +goto block_39; +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_126, 1); +lean_inc(x_129); +lean_dec(x_126); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_117); +lean_ctor_set(x_130, 1, x_129); +x_26 = x_130; +goto block_39; +} +} +else +{ +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; +x_131 = lean_ctor_get(x_122, 1); +x_132 = lean_ctor_get(x_122, 2); +x_133 = lean_ctor_get(x_122, 3); +lean_inc(x_133); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_122); +x_134 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_134, 0, x_118); +lean_ctor_set(x_134, 1, x_131); +lean_ctor_set(x_134, 2, x_132); +lean_ctor_set(x_134, 3, x_133); +x_135 = lean_st_ref_set(x_10, x_134, x_123); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_137 = x_135; +} else { + lean_dec_ref(x_135); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(0, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_117); +lean_ctor_set(x_138, 1, x_136); +x_26 = x_138; +goto block_39; +} +} +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; lean_object* x_147; uint8_t x_180; lean_object* x_181; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; +x_139 = lean_ctor_get(x_24, 3); +lean_inc(x_139); +x_140 = lean_ctor_get(x_24, 4); +lean_inc(x_140); +lean_dec(x_24); +x_141 = lean_st_ref_get(x_12, x_13); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_143 = lean_st_ref_get(x_10, x_142); +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_194 = lean_ctor_get(x_144, 0); +lean_inc(x_194); +lean_dec(x_144); +x_195 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +x_197 = l_Lean_Expr_hasFVar(x_139); +if (x_197 == 0) +{ +uint8_t x_198; +x_198 = l_Lean_Expr_hasMVar(x_139); +if (x_198 == 0) +{ +uint8_t x_199; +lean_dec(x_139); +x_199 = 0; +x_180 = x_199; +x_181 = x_196; +goto block_193; +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_200 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__35(x_6, x_139, x_196); +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 1); +lean_inc(x_202); +lean_dec(x_200); +x_203 = lean_unbox(x_201); +lean_dec(x_201); +x_180 = x_203; +x_181 = x_202; +goto block_193; +} +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; +x_204 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(x_6, x_139, x_196); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +x_207 = lean_unbox(x_205); +lean_dec(x_205); +x_180 = x_207; +x_181 = x_206; +goto block_193; +} +block_179: +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = lean_st_ref_get(x_12, x_145); +x_150 = lean_ctor_get(x_149, 1); +lean_inc(x_150); +lean_dec(x_149); +x_151 = lean_st_ref_take(x_10, x_150); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); +x_154 = !lean_is_exclusive(x_152); +if (x_154 == 0) +{ +lean_object* x_155; lean_object* x_156; +x_155 = lean_ctor_get(x_152, 0); +lean_dec(x_155); +lean_ctor_set(x_152, 0, x_148); +x_156 = lean_st_ref_set(x_10, x_152, x_153); +if (x_146 == 0) +{ +uint8_t x_157; +lean_dec(x_25); +x_157 = !lean_is_exclusive(x_156); +if (x_157 == 0) +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_156, 0); +lean_dec(x_158); +lean_ctor_set(x_156, 0, x_6); +x_16 = x_156; +goto block_22; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_156, 1); +lean_inc(x_159); +lean_dec(x_156); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_6); +lean_ctor_set(x_160, 1, x_159); +x_16 = x_160; +goto block_22; +} +} +else +{ +uint8_t x_161; +x_161 = !lean_is_exclusive(x_156); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; +x_162 = lean_ctor_get(x_156, 0); +lean_dec(x_162); +x_163 = lean_array_push(x_6, x_25); +lean_ctor_set(x_156, 0, x_163); +x_16 = x_156; +goto block_22; +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_164 = lean_ctor_get(x_156, 1); lean_inc(x_164); -lean_dec(x_44); -x_165 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +lean_dec(x_156); +x_165 = lean_array_push(x_6, x_25); x_166 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_166, 0, x_165); lean_ctor_set(x_166, 1, x_164); -x_167 = l_Lean_Expr_hasFVar(x_40); -if (x_167 == 0) -{ -uint8_t x_168; -x_168 = l_Lean_Expr_hasMVar(x_40); -if (x_168 == 0) -{ -uint8_t x_169; -lean_dec(x_40); -x_169 = 0; -x_46 = x_169; -x_47 = x_166; -goto block_163; +x_16 = x_166; +goto block_22; +} +} } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_170 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(x_6, x_40, x_166); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_167 = lean_ctor_get(x_152, 1); +x_168 = lean_ctor_get(x_152, 2); +x_169 = lean_ctor_get(x_152, 3); +lean_inc(x_169); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_152); +x_170 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_170, 0, x_148); +lean_ctor_set(x_170, 1, x_167); +lean_ctor_set(x_170, 2, x_168); +lean_ctor_set(x_170, 3, x_169); +x_171 = lean_st_ref_set(x_10, x_170, x_153); +if (x_146 == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_25); +x_172 = lean_ctor_get(x_171, 1); lean_inc(x_172); -lean_dec(x_170); -x_173 = lean_unbox(x_171); -lean_dec(x_171); -x_46 = x_173; -x_47 = x_172; -goto block_163; +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_173 = x_171; +} else { + lean_dec_ref(x_171); + x_173 = lean_box(0); } +if (lean_is_scalar(x_173)) { + x_174 = lean_alloc_ctor(0, 2, 0); +} else { + x_174 = x_173; +} +lean_ctor_set(x_174, 0, x_6); +lean_ctor_set(x_174, 1, x_172); +x_16 = x_174; +goto block_22; } else { -lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_174 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__11(x_6, x_40, x_166); -x_175 = lean_ctor_get(x_174, 0); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_175 = lean_ctor_get(x_171, 1); lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = lean_unbox(x_175); -lean_dec(x_175); -x_46 = x_177; -x_47 = x_176; -goto block_163; +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_176 = x_171; +} else { + lean_dec_ref(x_171); + x_176 = lean_box(0); } -block_163: -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_st_ref_get(x_12, x_45); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_st_ref_take(x_10, x_50); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get_uint8(x_48, sizeof(void*)*8); -if (x_53 == 0) -{ -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; uint8_t x_64; -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -lean_dec(x_51); -x_56 = lean_ctor_get(x_48, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_48, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_48, 2); -lean_inc(x_58); -x_59 = lean_ctor_get(x_48, 3); -lean_inc(x_59); -x_60 = lean_ctor_get(x_48, 4); -lean_inc(x_60); -x_61 = lean_ctor_get(x_48, 5); -lean_inc(x_61); -x_62 = lean_ctor_get(x_48, 6); -lean_inc(x_62); -x_63 = lean_ctor_get(x_48, 7); -lean_inc(x_63); -lean_dec(x_48); -x_64 = !lean_is_exclusive(x_52); -if (x_64 == 0) -{ -lean_object* x_65; uint8_t x_66; -x_65 = lean_ctor_get(x_52, 0); -lean_dec(x_65); -x_66 = !lean_is_exclusive(x_54); -if (x_66 == 0) -{ -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; -x_67 = lean_ctor_get(x_54, 7); -lean_dec(x_67); -x_68 = lean_ctor_get(x_54, 6); -lean_dec(x_68); -x_69 = lean_ctor_get(x_54, 5); -lean_dec(x_69); -x_70 = lean_ctor_get(x_54, 4); -lean_dec(x_70); -x_71 = lean_ctor_get(x_54, 3); -lean_dec(x_71); -x_72 = lean_ctor_get(x_54, 2); -lean_dec(x_72); -x_73 = lean_ctor_get(x_54, 1); -lean_dec(x_73); -x_74 = lean_ctor_get(x_54, 0); -lean_dec(x_74); -lean_ctor_set(x_54, 7, x_63); -lean_ctor_set(x_54, 6, x_62); -lean_ctor_set(x_54, 5, x_61); -lean_ctor_set(x_54, 4, x_60); -lean_ctor_set(x_54, 3, x_59); -lean_ctor_set(x_54, 2, x_58); -lean_ctor_set(x_54, 1, x_57); -lean_ctor_set(x_54, 0, x_56); -x_75 = lean_st_ref_set(x_10, x_52, x_55); -if (x_46 == 0) -{ -uint8_t x_76; -lean_dec(x_25); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -lean_ctor_set(x_75, 0, x_6); -x_16 = x_75; -goto block_22; +x_177 = lean_array_push(x_6, x_25); +if (lean_is_scalar(x_176)) { + x_178 = lean_alloc_ctor(0, 2, 0); +} else { + x_178 = x_176; } -else -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_6); -lean_ctor_set(x_79, 1, x_78); -x_16 = x_79; -goto block_22; -} -} -else -{ -uint8_t x_80; -x_80 = !lean_is_exclusive(x_75); -if (x_80 == 0) -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_75, 0); -lean_dec(x_81); -x_82 = lean_array_push(x_6, x_25); -lean_ctor_set(x_75, 0, x_82); -x_16 = x_75; -goto block_22; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_75, 1); -lean_inc(x_83); -lean_dec(x_75); -x_84 = lean_array_push(x_6, x_25); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_16 = x_85; +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_175); +x_16 = x_178; goto block_22; } } } -else +block_193: { -uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -lean_dec(x_54); -x_87 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_87, 0, x_56); -lean_ctor_set(x_87, 1, x_57); -lean_ctor_set(x_87, 2, x_58); -lean_ctor_set(x_87, 3, x_59); -lean_ctor_set(x_87, 4, x_60); -lean_ctor_set(x_87, 5, x_61); -lean_ctor_set(x_87, 6, x_62); -lean_ctor_set(x_87, 7, x_63); -lean_ctor_set_uint8(x_87, sizeof(void*)*8, x_86); -lean_ctor_set(x_52, 0, x_87); -x_88 = lean_st_ref_set(x_10, x_52, x_55); -if (x_46 == 0) +if (x_180 == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_dec(x_25); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_90 = x_88; -} else { - lean_dec_ref(x_88); - x_90 = lean_box(0); -} -if (lean_is_scalar(x_90)) { - x_91 = lean_alloc_ctor(0, 2, 0); -} else { - x_91 = x_90; -} -lean_ctor_set(x_91, 0, x_6); -lean_ctor_set(x_91, 1, x_89); -x_16 = x_91; -goto block_22; +uint8_t x_182; +x_182 = l_Lean_Expr_hasFVar(x_140); +if (x_182 == 0) +{ +uint8_t x_183; +x_183 = l_Lean_Expr_hasMVar(x_140); +if (x_183 == 0) +{ +uint8_t x_184; +lean_dec(x_140); +x_184 = 0; +x_146 = x_184; +x_147 = x_181; +goto block_179; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_88, 1); -lean_inc(x_92); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_93 = x_88; -} else { - lean_dec_ref(x_88); - x_93 = lean_box(0); -} -x_94 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_93)) { - x_95 = lean_alloc_ctor(0, 2, 0); -} else { - x_95 = x_93; -} -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_92); -x_16 = x_95; -goto block_22; -} -} -} -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_52, 1); -x_97 = lean_ctor_get(x_52, 2); -x_98 = lean_ctor_get(x_52, 3); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_52); -x_99 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -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); - lean_ctor_release(x_54, 6); - lean_ctor_release(x_54, 7); - x_100 = x_54; -} else { - lean_dec_ref(x_54); - x_100 = lean_box(0); -} -if (lean_is_scalar(x_100)) { - x_101 = lean_alloc_ctor(0, 8, 1); -} else { - x_101 = x_100; -} -lean_ctor_set(x_101, 0, x_56); -lean_ctor_set(x_101, 1, x_57); -lean_ctor_set(x_101, 2, x_58); -lean_ctor_set(x_101, 3, x_59); -lean_ctor_set(x_101, 4, x_60); -lean_ctor_set(x_101, 5, x_61); -lean_ctor_set(x_101, 6, x_62); -lean_ctor_set(x_101, 7, x_63); -lean_ctor_set_uint8(x_101, sizeof(void*)*8, x_99); -x_102 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_96); -lean_ctor_set(x_102, 2, x_97); -lean_ctor_set(x_102, 3, x_98); -x_103 = lean_st_ref_set(x_10, x_102, x_55); -if (x_46 == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_25); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_105 = x_103; -} else { - lean_dec_ref(x_103); - x_105 = lean_box(0); -} -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_105; -} -lean_ctor_set(x_106, 0, x_6); -lean_ctor_set(x_106, 1, x_104); -x_16 = x_106; -goto block_22; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_103, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_108 = x_103; -} else { - lean_dec_ref(x_103); - x_108 = lean_box(0); -} -x_109 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_108)) { - x_110 = lean_alloc_ctor(0, 2, 0); -} else { - x_110 = x_108; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -x_16 = x_110; -goto block_22; -} -} -} -else -{ -lean_object* x_111; uint8_t x_112; -x_111 = lean_ctor_get(x_51, 1); -lean_inc(x_111); -lean_dec(x_51); -x_112 = !lean_is_exclusive(x_48); -if (x_112 == 0) -{ -uint8_t x_113; -x_113 = !lean_is_exclusive(x_52); -if (x_113 == 0) -{ -lean_object* x_114; uint8_t x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_52, 0); -lean_dec(x_114); -x_115 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_115); -lean_ctor_set(x_52, 0, x_48); -x_116 = lean_st_ref_set(x_10, x_52, x_111); -if (x_46 == 0) -{ -uint8_t x_117; -lean_dec(x_25); -x_117 = !lean_is_exclusive(x_116); -if (x_117 == 0) -{ -lean_object* x_118; -x_118 = lean_ctor_get(x_116, 0); -lean_dec(x_118); -lean_ctor_set(x_116, 0, x_6); -x_16 = x_116; -goto block_22; -} -else -{ -lean_object* x_119; lean_object* x_120; -x_119 = lean_ctor_get(x_116, 1); -lean_inc(x_119); -lean_dec(x_116); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_6); -lean_ctor_set(x_120, 1, x_119); -x_16 = x_120; -goto block_22; -} -} -else -{ -uint8_t x_121; -x_121 = !lean_is_exclusive(x_116); -if (x_121 == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_116, 0); -lean_dec(x_122); -x_123 = lean_array_push(x_6, x_25); -lean_ctor_set(x_116, 0, x_123); -x_16 = x_116; -goto block_22; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_116, 1); -lean_inc(x_124); -lean_dec(x_116); -x_125 = lean_array_push(x_6, x_25); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_16 = x_126; -goto block_22; -} -} -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; -x_127 = lean_ctor_get(x_52, 1); -x_128 = lean_ctor_get(x_52, 2); -x_129 = lean_ctor_get(x_52, 3); -lean_inc(x_129); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_52); -x_130 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_130); -x_131 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_131, 0, x_48); -lean_ctor_set(x_131, 1, x_127); -lean_ctor_set(x_131, 2, x_128); -lean_ctor_set(x_131, 3, x_129); -x_132 = lean_st_ref_set(x_10, x_131, x_111); -if (x_46 == 0) -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_25); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_134 = x_132; -} else { - lean_dec_ref(x_132); - x_134 = lean_box(0); -} -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(0, 2, 0); -} else { - x_135 = x_134; -} -lean_ctor_set(x_135, 0, x_6); -lean_ctor_set(x_135, 1, x_133); -x_16 = x_135; -goto block_22; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_136 = lean_ctor_get(x_132, 1); -lean_inc(x_136); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_137 = x_132; -} else { - lean_dec_ref(x_132); - x_137 = lean_box(0); -} -x_138 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_137)) { - x_139 = lean_alloc_ctor(0, 2, 0); -} else { - x_139 = x_137; -} -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_136); -x_16 = x_139; -goto block_22; -} -} -} -else -{ -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; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_140 = lean_ctor_get(x_48, 0); -x_141 = lean_ctor_get(x_48, 1); -x_142 = lean_ctor_get(x_48, 2); -x_143 = lean_ctor_get(x_48, 3); -x_144 = lean_ctor_get(x_48, 4); -x_145 = lean_ctor_get(x_48, 5); -x_146 = lean_ctor_get(x_48, 6); -x_147 = lean_ctor_get(x_48, 7); -lean_inc(x_147); -lean_inc(x_146); -lean_inc(x_145); -lean_inc(x_144); -lean_inc(x_143); -lean_inc(x_142); -lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_48); -x_148 = lean_ctor_get(x_52, 1); -lean_inc(x_148); -x_149 = lean_ctor_get(x_52, 2); -lean_inc(x_149); -x_150 = lean_ctor_get(x_52, 3); -lean_inc(x_150); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - lean_ctor_release(x_52, 3); - x_151 = x_52; -} else { - lean_dec_ref(x_52); - x_151 = lean_box(0); -} -x_152 = 1; -x_153 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_153, 0, x_140); -lean_ctor_set(x_153, 1, x_141); -lean_ctor_set(x_153, 2, x_142); -lean_ctor_set(x_153, 3, x_143); -lean_ctor_set(x_153, 4, x_144); -lean_ctor_set(x_153, 5, x_145); -lean_ctor_set(x_153, 6, x_146); -lean_ctor_set(x_153, 7, x_147); -lean_ctor_set_uint8(x_153, sizeof(void*)*8, x_152); -if (lean_is_scalar(x_151)) { - x_154 = lean_alloc_ctor(0, 4, 0); -} else { - x_154 = x_151; -} -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_148); -lean_ctor_set(x_154, 2, x_149); -lean_ctor_set(x_154, 3, x_150); -x_155 = lean_st_ref_set(x_10, x_154, x_111); -if (x_46 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; -lean_dec(x_25); -x_156 = lean_ctor_get(x_155, 1); -lean_inc(x_156); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_157 = x_155; -} else { - lean_dec_ref(x_155); - x_157 = lean_box(0); -} -if (lean_is_scalar(x_157)) { - x_158 = lean_alloc_ctor(0, 2, 0); -} else { - x_158 = x_157; -} -lean_ctor_set(x_158, 0, x_6); -lean_ctor_set(x_158, 1, x_156); -x_16 = x_158; -goto block_22; -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_159 = lean_ctor_get(x_155, 1); -lean_inc(x_159); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_160 = x_155; -} else { - lean_dec_ref(x_155); - x_160 = lean_box(0); -} -x_161 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_160)) { - x_162 = lean_alloc_ctor(0, 2, 0); -} else { - x_162 = x_160; -} -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_159); -x_16 = x_162; -goto block_22; -} -} -} -} -} -else -{ -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; uint8_t x_185; lean_object* x_186; uint8_t x_303; lean_object* x_304; lean_object* x_317; lean_object* x_318; lean_object* x_319; uint8_t x_320; -x_178 = lean_ctor_get(x_24, 3); -lean_inc(x_178); -x_179 = lean_ctor_get(x_24, 4); -lean_inc(x_179); -lean_dec(x_24); -x_180 = lean_st_ref_get(x_12, x_13); -x_181 = lean_ctor_get(x_180, 1); -lean_inc(x_181); -lean_dec(x_180); -x_182 = lean_st_ref_get(x_10, x_181); -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_317 = lean_ctor_get(x_183, 0); -lean_inc(x_317); -lean_dec(x_183); -x_318 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; -x_319 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_317); -x_320 = l_Lean_Expr_hasFVar(x_178); -if (x_320 == 0) -{ -uint8_t x_321; -x_321 = l_Lean_Expr_hasMVar(x_178); -if (x_321 == 0) -{ -uint8_t x_322; -lean_dec(x_178); -x_322 = 0; -x_303 = x_322; -x_304 = x_319; -goto block_316; -} -else -{ -lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; -x_323 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__35(x_6, x_178, x_319); -x_324 = lean_ctor_get(x_323, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_323, 1); -lean_inc(x_325); -lean_dec(x_323); -x_326 = lean_unbox(x_324); -lean_dec(x_324); -x_303 = x_326; -x_304 = x_325; -goto block_316; -} -} -else -{ -lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; -x_327 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(x_6, x_178, x_319); -x_328 = lean_ctor_get(x_327, 0); -lean_inc(x_328); -x_329 = lean_ctor_get(x_327, 1); -lean_inc(x_329); -lean_dec(x_327); -x_330 = lean_unbox(x_328); -lean_dec(x_328); -x_303 = x_330; -x_304 = x_329; -goto block_316; -} -block_302: -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; -x_187 = lean_ctor_get(x_186, 1); +lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_185 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__19(x_6, x_140, x_181); +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_185, 1); lean_inc(x_187); +lean_dec(x_185); +x_188 = lean_unbox(x_186); lean_dec(x_186); -x_188 = lean_st_ref_get(x_12, x_184); -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -lean_dec(x_188); -x_190 = lean_st_ref_take(x_10, x_189); -x_191 = lean_ctor_get(x_190, 0); +x_146 = x_188; +x_147 = x_187; +goto block_179; +} +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__27(x_6, x_140, x_181); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); lean_inc(x_191); -x_192 = lean_ctor_get_uint8(x_187, sizeof(void*)*8); -if (x_192 == 0) -{ -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; uint8_t x_203; -x_193 = lean_ctor_get(x_191, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_190, 1); -lean_inc(x_194); +lean_dec(x_189); +x_192 = lean_unbox(x_190); lean_dec(x_190); -x_195 = lean_ctor_get(x_187, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_187, 1); -lean_inc(x_196); -x_197 = lean_ctor_get(x_187, 2); -lean_inc(x_197); -x_198 = lean_ctor_get(x_187, 3); -lean_inc(x_198); -x_199 = lean_ctor_get(x_187, 4); -lean_inc(x_199); -x_200 = lean_ctor_get(x_187, 5); -lean_inc(x_200); -x_201 = lean_ctor_get(x_187, 6); -lean_inc(x_201); -x_202 = lean_ctor_get(x_187, 7); -lean_inc(x_202); -lean_dec(x_187); -x_203 = !lean_is_exclusive(x_191); -if (x_203 == 0) -{ -lean_object* x_204; uint8_t x_205; -x_204 = lean_ctor_get(x_191, 0); -lean_dec(x_204); -x_205 = !lean_is_exclusive(x_193); -if (x_205 == 0) -{ -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_206 = lean_ctor_get(x_193, 7); -lean_dec(x_206); -x_207 = lean_ctor_get(x_193, 6); -lean_dec(x_207); -x_208 = lean_ctor_get(x_193, 5); -lean_dec(x_208); -x_209 = lean_ctor_get(x_193, 4); -lean_dec(x_209); -x_210 = lean_ctor_get(x_193, 3); -lean_dec(x_210); -x_211 = lean_ctor_get(x_193, 2); -lean_dec(x_211); -x_212 = lean_ctor_get(x_193, 1); -lean_dec(x_212); -x_213 = lean_ctor_get(x_193, 0); -lean_dec(x_213); -lean_ctor_set(x_193, 7, x_202); -lean_ctor_set(x_193, 6, x_201); -lean_ctor_set(x_193, 5, x_200); -lean_ctor_set(x_193, 4, x_199); -lean_ctor_set(x_193, 3, x_198); -lean_ctor_set(x_193, 2, x_197); -lean_ctor_set(x_193, 1, x_196); -lean_ctor_set(x_193, 0, x_195); -x_214 = lean_st_ref_set(x_10, x_191, x_194); -if (x_185 == 0) -{ -uint8_t x_215; -lean_dec(x_25); -x_215 = !lean_is_exclusive(x_214); -if (x_215 == 0) -{ -lean_object* x_216; -x_216 = lean_ctor_get(x_214, 0); -lean_dec(x_216); -lean_ctor_set(x_214, 0, x_6); -x_16 = x_214; -goto block_22; -} -else -{ -lean_object* x_217; lean_object* x_218; -x_217 = lean_ctor_get(x_214, 1); -lean_inc(x_217); -lean_dec(x_214); -x_218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_218, 0, x_6); -lean_ctor_set(x_218, 1, x_217); -x_16 = x_218; -goto block_22; +x_146 = x_192; +x_147 = x_191; +goto block_179; } } else { -uint8_t x_219; -x_219 = !lean_is_exclusive(x_214); -if (x_219 == 0) -{ -lean_object* x_220; lean_object* x_221; -x_220 = lean_ctor_get(x_214, 0); -lean_dec(x_220); -x_221 = lean_array_push(x_6, x_25); -lean_ctor_set(x_214, 0, x_221); -x_16 = x_214; -goto block_22; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_214, 1); -lean_inc(x_222); -lean_dec(x_214); -x_223 = lean_array_push(x_6, x_25); -x_224 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_16 = x_224; -goto block_22; -} -} -} -else -{ -uint8_t x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get_uint8(x_193, sizeof(void*)*8); -lean_dec(x_193); -x_226 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_226, 0, x_195); -lean_ctor_set(x_226, 1, x_196); -lean_ctor_set(x_226, 2, x_197); -lean_ctor_set(x_226, 3, x_198); -lean_ctor_set(x_226, 4, x_199); -lean_ctor_set(x_226, 5, x_200); -lean_ctor_set(x_226, 6, x_201); -lean_ctor_set(x_226, 7, x_202); -lean_ctor_set_uint8(x_226, sizeof(void*)*8, x_225); -lean_ctor_set(x_191, 0, x_226); -x_227 = lean_st_ref_set(x_10, x_191, x_194); -if (x_185 == 0) -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_dec(x_25); -x_228 = lean_ctor_get(x_227, 1); -lean_inc(x_228); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_229 = x_227; -} else { - lean_dec_ref(x_227); - x_229 = lean_box(0); -} -if (lean_is_scalar(x_229)) { - x_230 = lean_alloc_ctor(0, 2, 0); -} else { - x_230 = x_229; -} -lean_ctor_set(x_230, 0, x_6); -lean_ctor_set(x_230, 1, x_228); -x_16 = x_230; -goto block_22; -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_231 = lean_ctor_get(x_227, 1); -lean_inc(x_231); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_232 = x_227; -} else { - lean_dec_ref(x_227); - x_232 = lean_box(0); -} -x_233 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_232)) { - x_234 = lean_alloc_ctor(0, 2, 0); -} else { - x_234 = x_232; -} -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_231); -x_16 = x_234; -goto block_22; -} -} -} -else -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_235 = lean_ctor_get(x_191, 1); -x_236 = lean_ctor_get(x_191, 2); -x_237 = lean_ctor_get(x_191, 3); -lean_inc(x_237); -lean_inc(x_236); -lean_inc(x_235); -lean_dec(x_191); -x_238 = lean_ctor_get_uint8(x_193, sizeof(void*)*8); -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); - lean_ctor_release(x_193, 6); - lean_ctor_release(x_193, 7); - x_239 = x_193; -} else { - lean_dec_ref(x_193); - x_239 = lean_box(0); -} -if (lean_is_scalar(x_239)) { - x_240 = lean_alloc_ctor(0, 8, 1); -} else { - x_240 = x_239; -} -lean_ctor_set(x_240, 0, x_195); -lean_ctor_set(x_240, 1, x_196); -lean_ctor_set(x_240, 2, x_197); -lean_ctor_set(x_240, 3, x_198); -lean_ctor_set(x_240, 4, x_199); -lean_ctor_set(x_240, 5, x_200); -lean_ctor_set(x_240, 6, x_201); -lean_ctor_set(x_240, 7, x_202); -lean_ctor_set_uint8(x_240, sizeof(void*)*8, x_238); -x_241 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_235); -lean_ctor_set(x_241, 2, x_236); -lean_ctor_set(x_241, 3, x_237); -x_242 = lean_st_ref_set(x_10, x_241, x_194); -if (x_185 == 0) -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; -lean_dec(x_25); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_244 = x_242; -} else { - lean_dec_ref(x_242); - x_244 = lean_box(0); -} -if (lean_is_scalar(x_244)) { - x_245 = lean_alloc_ctor(0, 2, 0); -} else { - x_245 = x_244; -} -lean_ctor_set(x_245, 0, x_6); -lean_ctor_set(x_245, 1, x_243); -x_16 = x_245; -goto block_22; -} -else -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_246 = lean_ctor_get(x_242, 1); -lean_inc(x_246); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_247 = x_242; -} else { - lean_dec_ref(x_242); - x_247 = lean_box(0); -} -x_248 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_247)) { - x_249 = lean_alloc_ctor(0, 2, 0); -} else { - x_249 = x_247; -} -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_246); -x_16 = x_249; -goto block_22; -} -} -} -else -{ -lean_object* x_250; uint8_t x_251; -x_250 = lean_ctor_get(x_190, 1); -lean_inc(x_250); -lean_dec(x_190); -x_251 = !lean_is_exclusive(x_187); -if (x_251 == 0) -{ -uint8_t x_252; -x_252 = !lean_is_exclusive(x_191); -if (x_252 == 0) -{ -lean_object* x_253; uint8_t x_254; lean_object* x_255; -x_253 = lean_ctor_get(x_191, 0); -lean_dec(x_253); -x_254 = 1; -lean_ctor_set_uint8(x_187, sizeof(void*)*8, x_254); -lean_ctor_set(x_191, 0, x_187); -x_255 = lean_st_ref_set(x_10, x_191, x_250); -if (x_185 == 0) -{ -uint8_t x_256; -lean_dec(x_25); -x_256 = !lean_is_exclusive(x_255); -if (x_256 == 0) -{ -lean_object* x_257; -x_257 = lean_ctor_get(x_255, 0); -lean_dec(x_257); -lean_ctor_set(x_255, 0, x_6); -x_16 = x_255; -goto block_22; -} -else -{ -lean_object* x_258; lean_object* x_259; -x_258 = lean_ctor_get(x_255, 1); -lean_inc(x_258); -lean_dec(x_255); -x_259 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_259, 0, x_6); -lean_ctor_set(x_259, 1, x_258); -x_16 = x_259; -goto block_22; -} -} -else -{ -uint8_t x_260; -x_260 = !lean_is_exclusive(x_255); -if (x_260 == 0) -{ -lean_object* x_261; lean_object* x_262; -x_261 = lean_ctor_get(x_255, 0); -lean_dec(x_261); -x_262 = lean_array_push(x_6, x_25); -lean_ctor_set(x_255, 0, x_262); -x_16 = x_255; -goto block_22; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_255, 1); -lean_inc(x_263); -lean_dec(x_255); -x_264 = lean_array_push(x_6, x_25); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_263); -x_16 = x_265; -goto block_22; -} -} -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; lean_object* x_270; lean_object* x_271; -x_266 = lean_ctor_get(x_191, 1); -x_267 = lean_ctor_get(x_191, 2); -x_268 = lean_ctor_get(x_191, 3); -lean_inc(x_268); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_191); -x_269 = 1; -lean_ctor_set_uint8(x_187, sizeof(void*)*8, x_269); -x_270 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_270, 0, x_187); -lean_ctor_set(x_270, 1, x_266); -lean_ctor_set(x_270, 2, x_267); -lean_ctor_set(x_270, 3, x_268); -x_271 = lean_st_ref_set(x_10, x_270, x_250); -if (x_185 == 0) -{ -lean_object* x_272; lean_object* x_273; lean_object* x_274; -lean_dec(x_25); -x_272 = lean_ctor_get(x_271, 1); -lean_inc(x_272); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_273 = x_271; -} else { - lean_dec_ref(x_271); - x_273 = lean_box(0); -} -if (lean_is_scalar(x_273)) { - x_274 = lean_alloc_ctor(0, 2, 0); -} else { - x_274 = x_273; -} -lean_ctor_set(x_274, 0, x_6); -lean_ctor_set(x_274, 1, x_272); -x_16 = x_274; -goto block_22; -} -else -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_275 = lean_ctor_get(x_271, 1); -lean_inc(x_275); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_276 = x_271; -} else { - lean_dec_ref(x_271); - x_276 = lean_box(0); -} -x_277 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_276)) { - x_278 = lean_alloc_ctor(0, 2, 0); -} else { - x_278 = x_276; -} -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_275); -x_16 = x_278; -goto block_22; -} -} -} -else -{ -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; lean_object* x_290; uint8_t x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_279 = lean_ctor_get(x_187, 0); -x_280 = lean_ctor_get(x_187, 1); -x_281 = lean_ctor_get(x_187, 2); -x_282 = lean_ctor_get(x_187, 3); -x_283 = lean_ctor_get(x_187, 4); -x_284 = lean_ctor_get(x_187, 5); -x_285 = lean_ctor_get(x_187, 6); -x_286 = lean_ctor_get(x_187, 7); -lean_inc(x_286); -lean_inc(x_285); -lean_inc(x_284); -lean_inc(x_283); -lean_inc(x_282); -lean_inc(x_281); -lean_inc(x_280); -lean_inc(x_279); -lean_dec(x_187); -x_287 = lean_ctor_get(x_191, 1); -lean_inc(x_287); -x_288 = lean_ctor_get(x_191, 2); -lean_inc(x_288); -x_289 = lean_ctor_get(x_191, 3); -lean_inc(x_289); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - lean_ctor_release(x_191, 2); - lean_ctor_release(x_191, 3); - x_290 = x_191; -} else { - lean_dec_ref(x_191); - x_290 = lean_box(0); -} -x_291 = 1; -x_292 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_292, 0, x_279); -lean_ctor_set(x_292, 1, x_280); -lean_ctor_set(x_292, 2, x_281); -lean_ctor_set(x_292, 3, x_282); -lean_ctor_set(x_292, 4, x_283); -lean_ctor_set(x_292, 5, x_284); -lean_ctor_set(x_292, 6, x_285); -lean_ctor_set(x_292, 7, x_286); -lean_ctor_set_uint8(x_292, sizeof(void*)*8, x_291); -if (lean_is_scalar(x_290)) { - x_293 = lean_alloc_ctor(0, 4, 0); -} else { - x_293 = x_290; -} -lean_ctor_set(x_293, 0, x_292); -lean_ctor_set(x_293, 1, x_287); -lean_ctor_set(x_293, 2, x_288); -lean_ctor_set(x_293, 3, x_289); -x_294 = lean_st_ref_set(x_10, x_293, x_250); -if (x_185 == 0) -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; -lean_dec(x_25); -x_295 = lean_ctor_get(x_294, 1); -lean_inc(x_295); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_296 = x_294; -} else { - lean_dec_ref(x_294); - x_296 = lean_box(0); -} -if (lean_is_scalar(x_296)) { - x_297 = lean_alloc_ctor(0, 2, 0); -} else { - x_297 = x_296; -} -lean_ctor_set(x_297, 0, x_6); -lean_ctor_set(x_297, 1, x_295); -x_16 = x_297; -goto block_22; -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_298 = lean_ctor_get(x_294, 1); -lean_inc(x_298); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_299 = x_294; -} else { - lean_dec_ref(x_294); - x_299 = lean_box(0); -} -x_300 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_299)) { - x_301 = lean_alloc_ctor(0, 2, 0); -} else { - x_301 = x_299; -} -lean_ctor_set(x_301, 0, x_300); -lean_ctor_set(x_301, 1, x_298); -x_16 = x_301; -goto block_22; -} -} -} -} -block_316: -{ -if (x_303 == 0) -{ -uint8_t x_305; -x_305 = l_Lean_Expr_hasFVar(x_179); -if (x_305 == 0) -{ -uint8_t x_306; -x_306 = l_Lean_Expr_hasMVar(x_179); -if (x_306 == 0) -{ -uint8_t x_307; -lean_dec(x_179); -x_307 = 0; -x_185 = x_307; -x_186 = x_304; -goto block_302; -} -else -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; uint8_t x_311; -x_308 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__19(x_6, x_179, x_304); -x_309 = lean_ctor_get(x_308, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_308, 1); -lean_inc(x_310); -lean_dec(x_308); -x_311 = lean_unbox(x_309); -lean_dec(x_309); -x_185 = x_311; -x_186 = x_310; -goto block_302; -} -} -else -{ -lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; -x_312 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__27(x_6, x_179, x_304); -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec(x_312); -x_315 = lean_unbox(x_313); -lean_dec(x_313); -x_185 = x_315; -x_186 = x_314; -goto block_302; -} -} -else -{ -lean_dec(x_179); -x_185 = x_303; -x_186 = x_304; -goto block_302; +lean_dec(x_140); +x_146 = x_180; +x_147 = x_181; +goto block_179; } } } @@ -40113,15 +39690,78 @@ goto block_302; } else { -lean_object* x_331; +lean_object* x_208; lean_dec(x_25); lean_dec(x_24); -x_331 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_331, 0, x_6); -lean_ctor_set(x_331, 1, x_13); -x_16 = x_331; +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_6); +lean_ctor_set(x_208, 1, x_13); +x_16 = x_208; goto block_22; } +block_39: +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_unbox(x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +uint8_t x_29; +lean_dec(x_25); +x_29 = !lean_is_exclusive(x_26); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_26, 0); +lean_dec(x_30); +lean_ctor_set(x_26, 0, x_6); +x_16 = x_26; +goto block_22; +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); +lean_dec(x_26); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_6); +lean_ctor_set(x_32, 1, x_31); +x_16 = x_32; +goto block_22; +} +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_26); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_26, 0); +lean_dec(x_34); +x_35 = lean_array_push(x_6, x_25); +lean_ctor_set(x_26, 0, x_35); +x_16 = x_26; +goto block_22; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_26, 1); +lean_inc(x_36); +lean_dec(x_26); +x_37 = lean_array_push(x_6, x_25); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_16 = x_38; +goto block_22; +} +} +} } block_22: { @@ -40141,12 +39781,12 @@ goto _start; } else { -lean_object* x_332; +lean_object* x_209; lean_dec(x_1); -x_332 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_332, 0, x_6); -lean_ctor_set(x_332, 1, x_13); -return x_332; +x_209 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_209, 0, x_6); +lean_ctor_set(x_209, 1, x_13); +return x_209; } } } @@ -40387,1352 +40027,643 @@ goto block_22; } else { -lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_40; x_24 = lean_ctor_get(x_15, 0); lean_inc(x_24); lean_dec(x_15); x_25 = l_Lean_LocalDecl_fvarId(x_24); lean_inc(x_25); lean_inc(x_1); -x_26 = l_Lean_LocalContext_contains(x_1, x_25); -if (x_26 == 0) +x_40 = l_Lean_LocalContext_contains(x_1, x_25); +if (x_40 == 0) { -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = lean_array_get_size(x_2); -x_28 = lean_unsigned_to_nat(0u); -x_29 = lean_nat_dec_lt(x_28, x_27); -if (x_29 == 0) +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_array_get_size(x_2); +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_nat_dec_lt(x_42, x_41); +if (x_43 == 0) { -lean_object* x_30; lean_object* x_31; -lean_dec(x_27); +lean_object* x_44; lean_object* x_45; +lean_dec(x_41); lean_dec(x_24); -x_30 = lean_array_push(x_6, x_25); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_13); -x_16 = x_31; +x_44 = lean_array_push(x_6, x_25); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_13); +x_16 = x_45; goto block_22; } else { -uint8_t x_32; -x_32 = lean_nat_dec_le(x_27, x_27); -if (x_32 == 0) +uint8_t x_46; +x_46 = lean_nat_dec_le(x_41, x_41); +if (x_46 == 0) { -lean_object* x_33; lean_object* x_34; -lean_dec(x_27); +lean_object* x_47; lean_object* x_48; +lean_dec(x_41); lean_dec(x_24); -x_33 = lean_array_push(x_6, x_25); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_13); -x_16 = x_34; +x_47 = lean_array_push(x_6, x_25); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_13); +x_16 = x_48; goto block_22; } else { -size_t x_35; size_t x_36; uint8_t x_37; -x_35 = 0; -x_36 = lean_usize_of_nat(x_27); -lean_dec(x_27); -x_37 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(x_25, x_2, x_35, x_36); -if (x_37 == 0) +size_t x_49; size_t x_50; uint8_t x_51; +x_49 = 0; +x_50 = lean_usize_of_nat(x_41); +lean_dec(x_41); +x_51 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(x_25, x_2, x_49, x_50); +if (x_51 == 0) { -lean_object* x_38; lean_object* x_39; +lean_object* x_52; lean_object* x_53; lean_dec(x_24); -x_38 = lean_array_push(x_6, x_25); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_13); -x_16 = x_39; +x_52 = lean_array_push(x_6, x_25); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_13); +x_16 = x_53; goto block_22; } else { if (lean_obj_tag(x_24) == 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; uint8_t x_46; lean_object* x_47; lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; -x_40 = lean_ctor_get(x_24, 3); -lean_inc(x_40); +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; uint8_t x_63; +x_54 = lean_ctor_get(x_24, 3); +lean_inc(x_54); lean_dec(x_24); -x_41 = lean_st_ref_get(x_12, x_13); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_st_ref_get(x_10, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_164 = lean_ctor_get(x_44, 0); +x_55 = lean_st_ref_get(x_12, x_13); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_st_ref_get(x_10, x_56); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_ctor_get(x_58, 0); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +lean_inc(x_60); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Lean_Expr_hasFVar(x_54); +if (x_63 == 0) +{ +uint8_t x_64; +x_64 = l_Lean_Expr_hasMVar(x_54); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_dec(x_62); +lean_dec(x_54); +x_65 = lean_st_ref_get(x_12, x_59); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +lean_dec(x_65); +x_67 = lean_st_ref_take(x_10, x_66); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = !lean_is_exclusive(x_68); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_71 = lean_ctor_get(x_68, 0); +lean_dec(x_71); +lean_ctor_set(x_68, 0, x_60); +x_72 = lean_st_ref_set(x_10, x_68, x_69); +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; uint8_t x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_72, 0); +lean_dec(x_74); +x_75 = 0; +x_76 = lean_box(x_75); +lean_ctor_set(x_72, 0, x_76); +x_26 = x_72; +goto block_39; +} +else +{ +lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; +x_77 = lean_ctor_get(x_72, 1); +lean_inc(x_77); +lean_dec(x_72); +x_78 = 0; +x_79 = lean_box(x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_77); +x_26 = x_80; +goto block_39; +} +} +else +{ +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; uint8_t x_88; lean_object* x_89; lean_object* x_90; +x_81 = lean_ctor_get(x_68, 1); +x_82 = lean_ctor_get(x_68, 2); +x_83 = lean_ctor_get(x_68, 3); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_68); +x_84 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_84, 0, x_60); +lean_ctor_set(x_84, 1, x_81); +lean_ctor_set(x_84, 2, x_82); +lean_ctor_set(x_84, 3, x_83); +x_85 = lean_st_ref_set(x_10, x_84, x_69); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_87 = x_85; +} else { + lean_dec_ref(x_85); + x_87 = lean_box(0); +} +x_88 = 0; +x_89 = lean_box(x_88); +if (lean_is_scalar(x_87)) { + x_90 = lean_alloc_ctor(0, 2, 0); +} else { + x_90 = x_87; +} +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_86); +x_26 = x_90; +goto block_39; +} +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +lean_dec(x_60); +x_91 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(x_6, x_54, x_62); +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 0); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_st_ref_get(x_12, x_59); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec(x_95); +x_97 = lean_st_ref_take(x_10, x_96); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = !lean_is_exclusive(x_98); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; uint8_t x_103; +x_101 = lean_ctor_get(x_98, 0); +lean_dec(x_101); +lean_ctor_set(x_98, 0, x_94); +x_102 = lean_st_ref_set(x_10, x_98, x_99); +x_103 = !lean_is_exclusive(x_102); +if (x_103 == 0) +{ +lean_object* x_104; +x_104 = lean_ctor_get(x_102, 0); +lean_dec(x_104); +lean_ctor_set(x_102, 0, x_93); +x_26 = x_102; +goto block_39; +} +else +{ +lean_object* x_105; lean_object* x_106; +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +lean_dec(x_102); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_93); +lean_ctor_set(x_106, 1, x_105); +x_26 = x_106; +goto block_39; +} +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_107 = lean_ctor_get(x_98, 1); +x_108 = lean_ctor_get(x_98, 2); +x_109 = lean_ctor_get(x_98, 3); +lean_inc(x_109); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_98); +x_110 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_110, 0, x_94); +lean_ctor_set(x_110, 1, x_107); +lean_ctor_set(x_110, 2, x_108); +lean_ctor_set(x_110, 3, x_109); +x_111 = lean_st_ref_set(x_10, x_110, x_99); +x_112 = lean_ctor_get(x_111, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_113 = x_111; +} else { + lean_dec_ref(x_111); + x_113 = lean_box(0); +} +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(0, 2, 0); +} else { + x_114 = x_113; +} +lean_ctor_set(x_114, 0, x_93); +lean_ctor_set(x_114, 1, x_112); +x_26 = x_114; +goto block_39; +} +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +lean_dec(x_60); +x_115 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__11(x_6, x_54, x_62); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 0); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +x_119 = lean_st_ref_get(x_12, x_59); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +lean_dec(x_119); +x_121 = lean_st_ref_take(x_10, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = !lean_is_exclusive(x_122); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_125 = lean_ctor_get(x_122, 0); +lean_dec(x_125); +lean_ctor_set(x_122, 0, x_118); +x_126 = lean_st_ref_set(x_10, x_122, x_123); +x_127 = !lean_is_exclusive(x_126); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_126, 0); +lean_dec(x_128); +lean_ctor_set(x_126, 0, x_117); +x_26 = x_126; +goto block_39; +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_126, 1); +lean_inc(x_129); +lean_dec(x_126); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_117); +lean_ctor_set(x_130, 1, x_129); +x_26 = x_130; +goto block_39; +} +} +else +{ +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; +x_131 = lean_ctor_get(x_122, 1); +x_132 = lean_ctor_get(x_122, 2); +x_133 = lean_ctor_get(x_122, 3); +lean_inc(x_133); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_122); +x_134 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_134, 0, x_118); +lean_ctor_set(x_134, 1, x_131); +lean_ctor_set(x_134, 2, x_132); +lean_ctor_set(x_134, 3, x_133); +x_135 = lean_st_ref_set(x_10, x_134, x_123); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_137 = x_135; +} else { + lean_dec_ref(x_135); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(0, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_117); +lean_ctor_set(x_138, 1, x_136); +x_26 = x_138; +goto block_39; +} +} +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; lean_object* x_147; uint8_t x_180; lean_object* x_181; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; +x_139 = lean_ctor_get(x_24, 3); +lean_inc(x_139); +x_140 = lean_ctor_get(x_24, 4); +lean_inc(x_140); +lean_dec(x_24); +x_141 = lean_st_ref_get(x_12, x_13); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_143 = lean_st_ref_get(x_10, x_142); +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_194 = lean_ctor_get(x_144, 0); +lean_inc(x_194); +lean_dec(x_144); +x_195 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +x_197 = l_Lean_Expr_hasFVar(x_139); +if (x_197 == 0) +{ +uint8_t x_198; +x_198 = l_Lean_Expr_hasMVar(x_139); +if (x_198 == 0) +{ +uint8_t x_199; +lean_dec(x_139); +x_199 = 0; +x_180 = x_199; +x_181 = x_196; +goto block_193; +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_200 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__35(x_6, x_139, x_196); +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 1); +lean_inc(x_202); +lean_dec(x_200); +x_203 = lean_unbox(x_201); +lean_dec(x_201); +x_180 = x_203; +x_181 = x_202; +goto block_193; +} +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; +x_204 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(x_6, x_139, x_196); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +x_207 = lean_unbox(x_205); +lean_dec(x_205); +x_180 = x_207; +x_181 = x_206; +goto block_193; +} +block_179: +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = lean_st_ref_get(x_12, x_145); +x_150 = lean_ctor_get(x_149, 1); +lean_inc(x_150); +lean_dec(x_149); +x_151 = lean_st_ref_take(x_10, x_150); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); +x_154 = !lean_is_exclusive(x_152); +if (x_154 == 0) +{ +lean_object* x_155; lean_object* x_156; +x_155 = lean_ctor_get(x_152, 0); +lean_dec(x_155); +lean_ctor_set(x_152, 0, x_148); +x_156 = lean_st_ref_set(x_10, x_152, x_153); +if (x_146 == 0) +{ +uint8_t x_157; +lean_dec(x_25); +x_157 = !lean_is_exclusive(x_156); +if (x_157 == 0) +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_156, 0); +lean_dec(x_158); +lean_ctor_set(x_156, 0, x_6); +x_16 = x_156; +goto block_22; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_156, 1); +lean_inc(x_159); +lean_dec(x_156); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_6); +lean_ctor_set(x_160, 1, x_159); +x_16 = x_160; +goto block_22; +} +} +else +{ +uint8_t x_161; +x_161 = !lean_is_exclusive(x_156); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; +x_162 = lean_ctor_get(x_156, 0); +lean_dec(x_162); +x_163 = lean_array_push(x_6, x_25); +lean_ctor_set(x_156, 0, x_163); +x_16 = x_156; +goto block_22; +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_164 = lean_ctor_get(x_156, 1); lean_inc(x_164); -lean_dec(x_44); -x_165 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +lean_dec(x_156); +x_165 = lean_array_push(x_6, x_25); x_166 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_166, 0, x_165); lean_ctor_set(x_166, 1, x_164); -x_167 = l_Lean_Expr_hasFVar(x_40); -if (x_167 == 0) -{ -uint8_t x_168; -x_168 = l_Lean_Expr_hasMVar(x_40); -if (x_168 == 0) -{ -uint8_t x_169; -lean_dec(x_40); -x_169 = 0; -x_46 = x_169; -x_47 = x_166; -goto block_163; +x_16 = x_166; +goto block_22; +} +} } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_170 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(x_6, x_40, x_166); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_167 = lean_ctor_get(x_152, 1); +x_168 = lean_ctor_get(x_152, 2); +x_169 = lean_ctor_get(x_152, 3); +lean_inc(x_169); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_152); +x_170 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_170, 0, x_148); +lean_ctor_set(x_170, 1, x_167); +lean_ctor_set(x_170, 2, x_168); +lean_ctor_set(x_170, 3, x_169); +x_171 = lean_st_ref_set(x_10, x_170, x_153); +if (x_146 == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_25); +x_172 = lean_ctor_get(x_171, 1); lean_inc(x_172); -lean_dec(x_170); -x_173 = lean_unbox(x_171); -lean_dec(x_171); -x_46 = x_173; -x_47 = x_172; -goto block_163; +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_173 = x_171; +} else { + lean_dec_ref(x_171); + x_173 = lean_box(0); } +if (lean_is_scalar(x_173)) { + x_174 = lean_alloc_ctor(0, 2, 0); +} else { + x_174 = x_173; +} +lean_ctor_set(x_174, 0, x_6); +lean_ctor_set(x_174, 1, x_172); +x_16 = x_174; +goto block_22; } else { -lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_174 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__11(x_6, x_40, x_166); -x_175 = lean_ctor_get(x_174, 0); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_175 = lean_ctor_get(x_171, 1); lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = lean_unbox(x_175); -lean_dec(x_175); -x_46 = x_177; -x_47 = x_176; -goto block_163; +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_176 = x_171; +} else { + lean_dec_ref(x_171); + x_176 = lean_box(0); } -block_163: -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_st_ref_get(x_12, x_45); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_st_ref_take(x_10, x_50); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get_uint8(x_48, sizeof(void*)*8); -if (x_53 == 0) -{ -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; uint8_t x_64; -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -lean_dec(x_51); -x_56 = lean_ctor_get(x_48, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_48, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_48, 2); -lean_inc(x_58); -x_59 = lean_ctor_get(x_48, 3); -lean_inc(x_59); -x_60 = lean_ctor_get(x_48, 4); -lean_inc(x_60); -x_61 = lean_ctor_get(x_48, 5); -lean_inc(x_61); -x_62 = lean_ctor_get(x_48, 6); -lean_inc(x_62); -x_63 = lean_ctor_get(x_48, 7); -lean_inc(x_63); -lean_dec(x_48); -x_64 = !lean_is_exclusive(x_52); -if (x_64 == 0) -{ -lean_object* x_65; uint8_t x_66; -x_65 = lean_ctor_get(x_52, 0); -lean_dec(x_65); -x_66 = !lean_is_exclusive(x_54); -if (x_66 == 0) -{ -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; -x_67 = lean_ctor_get(x_54, 7); -lean_dec(x_67); -x_68 = lean_ctor_get(x_54, 6); -lean_dec(x_68); -x_69 = lean_ctor_get(x_54, 5); -lean_dec(x_69); -x_70 = lean_ctor_get(x_54, 4); -lean_dec(x_70); -x_71 = lean_ctor_get(x_54, 3); -lean_dec(x_71); -x_72 = lean_ctor_get(x_54, 2); -lean_dec(x_72); -x_73 = lean_ctor_get(x_54, 1); -lean_dec(x_73); -x_74 = lean_ctor_get(x_54, 0); -lean_dec(x_74); -lean_ctor_set(x_54, 7, x_63); -lean_ctor_set(x_54, 6, x_62); -lean_ctor_set(x_54, 5, x_61); -lean_ctor_set(x_54, 4, x_60); -lean_ctor_set(x_54, 3, x_59); -lean_ctor_set(x_54, 2, x_58); -lean_ctor_set(x_54, 1, x_57); -lean_ctor_set(x_54, 0, x_56); -x_75 = lean_st_ref_set(x_10, x_52, x_55); -if (x_46 == 0) -{ -uint8_t x_76; -lean_dec(x_25); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -lean_ctor_set(x_75, 0, x_6); -x_16 = x_75; -goto block_22; +x_177 = lean_array_push(x_6, x_25); +if (lean_is_scalar(x_176)) { + x_178 = lean_alloc_ctor(0, 2, 0); +} else { + x_178 = x_176; } -else -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_6); -lean_ctor_set(x_79, 1, x_78); -x_16 = x_79; -goto block_22; -} -} -else -{ -uint8_t x_80; -x_80 = !lean_is_exclusive(x_75); -if (x_80 == 0) -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_75, 0); -lean_dec(x_81); -x_82 = lean_array_push(x_6, x_25); -lean_ctor_set(x_75, 0, x_82); -x_16 = x_75; -goto block_22; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_75, 1); -lean_inc(x_83); -lean_dec(x_75); -x_84 = lean_array_push(x_6, x_25); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_16 = x_85; +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_175); +x_16 = x_178; goto block_22; } } } -else +block_193: { -uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -lean_dec(x_54); -x_87 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_87, 0, x_56); -lean_ctor_set(x_87, 1, x_57); -lean_ctor_set(x_87, 2, x_58); -lean_ctor_set(x_87, 3, x_59); -lean_ctor_set(x_87, 4, x_60); -lean_ctor_set(x_87, 5, x_61); -lean_ctor_set(x_87, 6, x_62); -lean_ctor_set(x_87, 7, x_63); -lean_ctor_set_uint8(x_87, sizeof(void*)*8, x_86); -lean_ctor_set(x_52, 0, x_87); -x_88 = lean_st_ref_set(x_10, x_52, x_55); -if (x_46 == 0) +if (x_180 == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_dec(x_25); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_90 = x_88; -} else { - lean_dec_ref(x_88); - x_90 = lean_box(0); -} -if (lean_is_scalar(x_90)) { - x_91 = lean_alloc_ctor(0, 2, 0); -} else { - x_91 = x_90; -} -lean_ctor_set(x_91, 0, x_6); -lean_ctor_set(x_91, 1, x_89); -x_16 = x_91; -goto block_22; +uint8_t x_182; +x_182 = l_Lean_Expr_hasFVar(x_140); +if (x_182 == 0) +{ +uint8_t x_183; +x_183 = l_Lean_Expr_hasMVar(x_140); +if (x_183 == 0) +{ +uint8_t x_184; +lean_dec(x_140); +x_184 = 0; +x_146 = x_184; +x_147 = x_181; +goto block_179; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_88, 1); -lean_inc(x_92); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_93 = x_88; -} else { - lean_dec_ref(x_88); - x_93 = lean_box(0); -} -x_94 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_93)) { - x_95 = lean_alloc_ctor(0, 2, 0); -} else { - x_95 = x_93; -} -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_92); -x_16 = x_95; -goto block_22; -} -} -} -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_52, 1); -x_97 = lean_ctor_get(x_52, 2); -x_98 = lean_ctor_get(x_52, 3); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_52); -x_99 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -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); - lean_ctor_release(x_54, 6); - lean_ctor_release(x_54, 7); - x_100 = x_54; -} else { - lean_dec_ref(x_54); - x_100 = lean_box(0); -} -if (lean_is_scalar(x_100)) { - x_101 = lean_alloc_ctor(0, 8, 1); -} else { - x_101 = x_100; -} -lean_ctor_set(x_101, 0, x_56); -lean_ctor_set(x_101, 1, x_57); -lean_ctor_set(x_101, 2, x_58); -lean_ctor_set(x_101, 3, x_59); -lean_ctor_set(x_101, 4, x_60); -lean_ctor_set(x_101, 5, x_61); -lean_ctor_set(x_101, 6, x_62); -lean_ctor_set(x_101, 7, x_63); -lean_ctor_set_uint8(x_101, sizeof(void*)*8, x_99); -x_102 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_96); -lean_ctor_set(x_102, 2, x_97); -lean_ctor_set(x_102, 3, x_98); -x_103 = lean_st_ref_set(x_10, x_102, x_55); -if (x_46 == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_25); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_105 = x_103; -} else { - lean_dec_ref(x_103); - x_105 = lean_box(0); -} -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_105; -} -lean_ctor_set(x_106, 0, x_6); -lean_ctor_set(x_106, 1, x_104); -x_16 = x_106; -goto block_22; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_103, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_108 = x_103; -} else { - lean_dec_ref(x_103); - x_108 = lean_box(0); -} -x_109 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_108)) { - x_110 = lean_alloc_ctor(0, 2, 0); -} else { - x_110 = x_108; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -x_16 = x_110; -goto block_22; -} -} -} -else -{ -lean_object* x_111; uint8_t x_112; -x_111 = lean_ctor_get(x_51, 1); -lean_inc(x_111); -lean_dec(x_51); -x_112 = !lean_is_exclusive(x_48); -if (x_112 == 0) -{ -uint8_t x_113; -x_113 = !lean_is_exclusive(x_52); -if (x_113 == 0) -{ -lean_object* x_114; uint8_t x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_52, 0); -lean_dec(x_114); -x_115 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_115); -lean_ctor_set(x_52, 0, x_48); -x_116 = lean_st_ref_set(x_10, x_52, x_111); -if (x_46 == 0) -{ -uint8_t x_117; -lean_dec(x_25); -x_117 = !lean_is_exclusive(x_116); -if (x_117 == 0) -{ -lean_object* x_118; -x_118 = lean_ctor_get(x_116, 0); -lean_dec(x_118); -lean_ctor_set(x_116, 0, x_6); -x_16 = x_116; -goto block_22; -} -else -{ -lean_object* x_119; lean_object* x_120; -x_119 = lean_ctor_get(x_116, 1); -lean_inc(x_119); -lean_dec(x_116); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_6); -lean_ctor_set(x_120, 1, x_119); -x_16 = x_120; -goto block_22; -} -} -else -{ -uint8_t x_121; -x_121 = !lean_is_exclusive(x_116); -if (x_121 == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_116, 0); -lean_dec(x_122); -x_123 = lean_array_push(x_6, x_25); -lean_ctor_set(x_116, 0, x_123); -x_16 = x_116; -goto block_22; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_116, 1); -lean_inc(x_124); -lean_dec(x_116); -x_125 = lean_array_push(x_6, x_25); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_16 = x_126; -goto block_22; -} -} -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; -x_127 = lean_ctor_get(x_52, 1); -x_128 = lean_ctor_get(x_52, 2); -x_129 = lean_ctor_get(x_52, 3); -lean_inc(x_129); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_52); -x_130 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_130); -x_131 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_131, 0, x_48); -lean_ctor_set(x_131, 1, x_127); -lean_ctor_set(x_131, 2, x_128); -lean_ctor_set(x_131, 3, x_129); -x_132 = lean_st_ref_set(x_10, x_131, x_111); -if (x_46 == 0) -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_25); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_134 = x_132; -} else { - lean_dec_ref(x_132); - x_134 = lean_box(0); -} -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(0, 2, 0); -} else { - x_135 = x_134; -} -lean_ctor_set(x_135, 0, x_6); -lean_ctor_set(x_135, 1, x_133); -x_16 = x_135; -goto block_22; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_136 = lean_ctor_get(x_132, 1); -lean_inc(x_136); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_137 = x_132; -} else { - lean_dec_ref(x_132); - x_137 = lean_box(0); -} -x_138 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_137)) { - x_139 = lean_alloc_ctor(0, 2, 0); -} else { - x_139 = x_137; -} -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_136); -x_16 = x_139; -goto block_22; -} -} -} -else -{ -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; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_140 = lean_ctor_get(x_48, 0); -x_141 = lean_ctor_get(x_48, 1); -x_142 = lean_ctor_get(x_48, 2); -x_143 = lean_ctor_get(x_48, 3); -x_144 = lean_ctor_get(x_48, 4); -x_145 = lean_ctor_get(x_48, 5); -x_146 = lean_ctor_get(x_48, 6); -x_147 = lean_ctor_get(x_48, 7); -lean_inc(x_147); -lean_inc(x_146); -lean_inc(x_145); -lean_inc(x_144); -lean_inc(x_143); -lean_inc(x_142); -lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_48); -x_148 = lean_ctor_get(x_52, 1); -lean_inc(x_148); -x_149 = lean_ctor_get(x_52, 2); -lean_inc(x_149); -x_150 = lean_ctor_get(x_52, 3); -lean_inc(x_150); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - lean_ctor_release(x_52, 3); - x_151 = x_52; -} else { - lean_dec_ref(x_52); - x_151 = lean_box(0); -} -x_152 = 1; -x_153 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_153, 0, x_140); -lean_ctor_set(x_153, 1, x_141); -lean_ctor_set(x_153, 2, x_142); -lean_ctor_set(x_153, 3, x_143); -lean_ctor_set(x_153, 4, x_144); -lean_ctor_set(x_153, 5, x_145); -lean_ctor_set(x_153, 6, x_146); -lean_ctor_set(x_153, 7, x_147); -lean_ctor_set_uint8(x_153, sizeof(void*)*8, x_152); -if (lean_is_scalar(x_151)) { - x_154 = lean_alloc_ctor(0, 4, 0); -} else { - x_154 = x_151; -} -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_148); -lean_ctor_set(x_154, 2, x_149); -lean_ctor_set(x_154, 3, x_150); -x_155 = lean_st_ref_set(x_10, x_154, x_111); -if (x_46 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; -lean_dec(x_25); -x_156 = lean_ctor_get(x_155, 1); -lean_inc(x_156); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_157 = x_155; -} else { - lean_dec_ref(x_155); - x_157 = lean_box(0); -} -if (lean_is_scalar(x_157)) { - x_158 = lean_alloc_ctor(0, 2, 0); -} else { - x_158 = x_157; -} -lean_ctor_set(x_158, 0, x_6); -lean_ctor_set(x_158, 1, x_156); -x_16 = x_158; -goto block_22; -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_159 = lean_ctor_get(x_155, 1); -lean_inc(x_159); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_160 = x_155; -} else { - lean_dec_ref(x_155); - x_160 = lean_box(0); -} -x_161 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_160)) { - x_162 = lean_alloc_ctor(0, 2, 0); -} else { - x_162 = x_160; -} -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_159); -x_16 = x_162; -goto block_22; -} -} -} -} -} -else -{ -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; uint8_t x_185; lean_object* x_186; uint8_t x_303; lean_object* x_304; lean_object* x_317; lean_object* x_318; lean_object* x_319; uint8_t x_320; -x_178 = lean_ctor_get(x_24, 3); -lean_inc(x_178); -x_179 = lean_ctor_get(x_24, 4); -lean_inc(x_179); -lean_dec(x_24); -x_180 = lean_st_ref_get(x_12, x_13); -x_181 = lean_ctor_get(x_180, 1); -lean_inc(x_181); -lean_dec(x_180); -x_182 = lean_st_ref_get(x_10, x_181); -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_317 = lean_ctor_get(x_183, 0); -lean_inc(x_317); -lean_dec(x_183); -x_318 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; -x_319 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_317); -x_320 = l_Lean_Expr_hasFVar(x_178); -if (x_320 == 0) -{ -uint8_t x_321; -x_321 = l_Lean_Expr_hasMVar(x_178); -if (x_321 == 0) -{ -uint8_t x_322; -lean_dec(x_178); -x_322 = 0; -x_303 = x_322; -x_304 = x_319; -goto block_316; -} -else -{ -lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; -x_323 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__35(x_6, x_178, x_319); -x_324 = lean_ctor_get(x_323, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_323, 1); -lean_inc(x_325); -lean_dec(x_323); -x_326 = lean_unbox(x_324); -lean_dec(x_324); -x_303 = x_326; -x_304 = x_325; -goto block_316; -} -} -else -{ -lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; -x_327 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(x_6, x_178, x_319); -x_328 = lean_ctor_get(x_327, 0); -lean_inc(x_328); -x_329 = lean_ctor_get(x_327, 1); -lean_inc(x_329); -lean_dec(x_327); -x_330 = lean_unbox(x_328); -lean_dec(x_328); -x_303 = x_330; -x_304 = x_329; -goto block_316; -} -block_302: -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; -x_187 = lean_ctor_get(x_186, 1); +lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_185 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__19(x_6, x_140, x_181); +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_185, 1); lean_inc(x_187); +lean_dec(x_185); +x_188 = lean_unbox(x_186); lean_dec(x_186); -x_188 = lean_st_ref_get(x_12, x_184); -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -lean_dec(x_188); -x_190 = lean_st_ref_take(x_10, x_189); -x_191 = lean_ctor_get(x_190, 0); +x_146 = x_188; +x_147 = x_187; +goto block_179; +} +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__27(x_6, x_140, x_181); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); lean_inc(x_191); -x_192 = lean_ctor_get_uint8(x_187, sizeof(void*)*8); -if (x_192 == 0) -{ -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; uint8_t x_203; -x_193 = lean_ctor_get(x_191, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_190, 1); -lean_inc(x_194); +lean_dec(x_189); +x_192 = lean_unbox(x_190); lean_dec(x_190); -x_195 = lean_ctor_get(x_187, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_187, 1); -lean_inc(x_196); -x_197 = lean_ctor_get(x_187, 2); -lean_inc(x_197); -x_198 = lean_ctor_get(x_187, 3); -lean_inc(x_198); -x_199 = lean_ctor_get(x_187, 4); -lean_inc(x_199); -x_200 = lean_ctor_get(x_187, 5); -lean_inc(x_200); -x_201 = lean_ctor_get(x_187, 6); -lean_inc(x_201); -x_202 = lean_ctor_get(x_187, 7); -lean_inc(x_202); -lean_dec(x_187); -x_203 = !lean_is_exclusive(x_191); -if (x_203 == 0) -{ -lean_object* x_204; uint8_t x_205; -x_204 = lean_ctor_get(x_191, 0); -lean_dec(x_204); -x_205 = !lean_is_exclusive(x_193); -if (x_205 == 0) -{ -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_206 = lean_ctor_get(x_193, 7); -lean_dec(x_206); -x_207 = lean_ctor_get(x_193, 6); -lean_dec(x_207); -x_208 = lean_ctor_get(x_193, 5); -lean_dec(x_208); -x_209 = lean_ctor_get(x_193, 4); -lean_dec(x_209); -x_210 = lean_ctor_get(x_193, 3); -lean_dec(x_210); -x_211 = lean_ctor_get(x_193, 2); -lean_dec(x_211); -x_212 = lean_ctor_get(x_193, 1); -lean_dec(x_212); -x_213 = lean_ctor_get(x_193, 0); -lean_dec(x_213); -lean_ctor_set(x_193, 7, x_202); -lean_ctor_set(x_193, 6, x_201); -lean_ctor_set(x_193, 5, x_200); -lean_ctor_set(x_193, 4, x_199); -lean_ctor_set(x_193, 3, x_198); -lean_ctor_set(x_193, 2, x_197); -lean_ctor_set(x_193, 1, x_196); -lean_ctor_set(x_193, 0, x_195); -x_214 = lean_st_ref_set(x_10, x_191, x_194); -if (x_185 == 0) -{ -uint8_t x_215; -lean_dec(x_25); -x_215 = !lean_is_exclusive(x_214); -if (x_215 == 0) -{ -lean_object* x_216; -x_216 = lean_ctor_get(x_214, 0); -lean_dec(x_216); -lean_ctor_set(x_214, 0, x_6); -x_16 = x_214; -goto block_22; -} -else -{ -lean_object* x_217; lean_object* x_218; -x_217 = lean_ctor_get(x_214, 1); -lean_inc(x_217); -lean_dec(x_214); -x_218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_218, 0, x_6); -lean_ctor_set(x_218, 1, x_217); -x_16 = x_218; -goto block_22; +x_146 = x_192; +x_147 = x_191; +goto block_179; } } else { -uint8_t x_219; -x_219 = !lean_is_exclusive(x_214); -if (x_219 == 0) -{ -lean_object* x_220; lean_object* x_221; -x_220 = lean_ctor_get(x_214, 0); -lean_dec(x_220); -x_221 = lean_array_push(x_6, x_25); -lean_ctor_set(x_214, 0, x_221); -x_16 = x_214; -goto block_22; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_214, 1); -lean_inc(x_222); -lean_dec(x_214); -x_223 = lean_array_push(x_6, x_25); -x_224 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_16 = x_224; -goto block_22; -} -} -} -else -{ -uint8_t x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get_uint8(x_193, sizeof(void*)*8); -lean_dec(x_193); -x_226 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_226, 0, x_195); -lean_ctor_set(x_226, 1, x_196); -lean_ctor_set(x_226, 2, x_197); -lean_ctor_set(x_226, 3, x_198); -lean_ctor_set(x_226, 4, x_199); -lean_ctor_set(x_226, 5, x_200); -lean_ctor_set(x_226, 6, x_201); -lean_ctor_set(x_226, 7, x_202); -lean_ctor_set_uint8(x_226, sizeof(void*)*8, x_225); -lean_ctor_set(x_191, 0, x_226); -x_227 = lean_st_ref_set(x_10, x_191, x_194); -if (x_185 == 0) -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_dec(x_25); -x_228 = lean_ctor_get(x_227, 1); -lean_inc(x_228); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_229 = x_227; -} else { - lean_dec_ref(x_227); - x_229 = lean_box(0); -} -if (lean_is_scalar(x_229)) { - x_230 = lean_alloc_ctor(0, 2, 0); -} else { - x_230 = x_229; -} -lean_ctor_set(x_230, 0, x_6); -lean_ctor_set(x_230, 1, x_228); -x_16 = x_230; -goto block_22; -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_231 = lean_ctor_get(x_227, 1); -lean_inc(x_231); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_232 = x_227; -} else { - lean_dec_ref(x_227); - x_232 = lean_box(0); -} -x_233 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_232)) { - x_234 = lean_alloc_ctor(0, 2, 0); -} else { - x_234 = x_232; -} -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_231); -x_16 = x_234; -goto block_22; -} -} -} -else -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_235 = lean_ctor_get(x_191, 1); -x_236 = lean_ctor_get(x_191, 2); -x_237 = lean_ctor_get(x_191, 3); -lean_inc(x_237); -lean_inc(x_236); -lean_inc(x_235); -lean_dec(x_191); -x_238 = lean_ctor_get_uint8(x_193, sizeof(void*)*8); -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); - lean_ctor_release(x_193, 6); - lean_ctor_release(x_193, 7); - x_239 = x_193; -} else { - lean_dec_ref(x_193); - x_239 = lean_box(0); -} -if (lean_is_scalar(x_239)) { - x_240 = lean_alloc_ctor(0, 8, 1); -} else { - x_240 = x_239; -} -lean_ctor_set(x_240, 0, x_195); -lean_ctor_set(x_240, 1, x_196); -lean_ctor_set(x_240, 2, x_197); -lean_ctor_set(x_240, 3, x_198); -lean_ctor_set(x_240, 4, x_199); -lean_ctor_set(x_240, 5, x_200); -lean_ctor_set(x_240, 6, x_201); -lean_ctor_set(x_240, 7, x_202); -lean_ctor_set_uint8(x_240, sizeof(void*)*8, x_238); -x_241 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_235); -lean_ctor_set(x_241, 2, x_236); -lean_ctor_set(x_241, 3, x_237); -x_242 = lean_st_ref_set(x_10, x_241, x_194); -if (x_185 == 0) -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; -lean_dec(x_25); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_244 = x_242; -} else { - lean_dec_ref(x_242); - x_244 = lean_box(0); -} -if (lean_is_scalar(x_244)) { - x_245 = lean_alloc_ctor(0, 2, 0); -} else { - x_245 = x_244; -} -lean_ctor_set(x_245, 0, x_6); -lean_ctor_set(x_245, 1, x_243); -x_16 = x_245; -goto block_22; -} -else -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_246 = lean_ctor_get(x_242, 1); -lean_inc(x_246); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_247 = x_242; -} else { - lean_dec_ref(x_242); - x_247 = lean_box(0); -} -x_248 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_247)) { - x_249 = lean_alloc_ctor(0, 2, 0); -} else { - x_249 = x_247; -} -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_246); -x_16 = x_249; -goto block_22; -} -} -} -else -{ -lean_object* x_250; uint8_t x_251; -x_250 = lean_ctor_get(x_190, 1); -lean_inc(x_250); -lean_dec(x_190); -x_251 = !lean_is_exclusive(x_187); -if (x_251 == 0) -{ -uint8_t x_252; -x_252 = !lean_is_exclusive(x_191); -if (x_252 == 0) -{ -lean_object* x_253; uint8_t x_254; lean_object* x_255; -x_253 = lean_ctor_get(x_191, 0); -lean_dec(x_253); -x_254 = 1; -lean_ctor_set_uint8(x_187, sizeof(void*)*8, x_254); -lean_ctor_set(x_191, 0, x_187); -x_255 = lean_st_ref_set(x_10, x_191, x_250); -if (x_185 == 0) -{ -uint8_t x_256; -lean_dec(x_25); -x_256 = !lean_is_exclusive(x_255); -if (x_256 == 0) -{ -lean_object* x_257; -x_257 = lean_ctor_get(x_255, 0); -lean_dec(x_257); -lean_ctor_set(x_255, 0, x_6); -x_16 = x_255; -goto block_22; -} -else -{ -lean_object* x_258; lean_object* x_259; -x_258 = lean_ctor_get(x_255, 1); -lean_inc(x_258); -lean_dec(x_255); -x_259 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_259, 0, x_6); -lean_ctor_set(x_259, 1, x_258); -x_16 = x_259; -goto block_22; -} -} -else -{ -uint8_t x_260; -x_260 = !lean_is_exclusive(x_255); -if (x_260 == 0) -{ -lean_object* x_261; lean_object* x_262; -x_261 = lean_ctor_get(x_255, 0); -lean_dec(x_261); -x_262 = lean_array_push(x_6, x_25); -lean_ctor_set(x_255, 0, x_262); -x_16 = x_255; -goto block_22; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_255, 1); -lean_inc(x_263); -lean_dec(x_255); -x_264 = lean_array_push(x_6, x_25); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_263); -x_16 = x_265; -goto block_22; -} -} -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; lean_object* x_270; lean_object* x_271; -x_266 = lean_ctor_get(x_191, 1); -x_267 = lean_ctor_get(x_191, 2); -x_268 = lean_ctor_get(x_191, 3); -lean_inc(x_268); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_191); -x_269 = 1; -lean_ctor_set_uint8(x_187, sizeof(void*)*8, x_269); -x_270 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_270, 0, x_187); -lean_ctor_set(x_270, 1, x_266); -lean_ctor_set(x_270, 2, x_267); -lean_ctor_set(x_270, 3, x_268); -x_271 = lean_st_ref_set(x_10, x_270, x_250); -if (x_185 == 0) -{ -lean_object* x_272; lean_object* x_273; lean_object* x_274; -lean_dec(x_25); -x_272 = lean_ctor_get(x_271, 1); -lean_inc(x_272); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_273 = x_271; -} else { - lean_dec_ref(x_271); - x_273 = lean_box(0); -} -if (lean_is_scalar(x_273)) { - x_274 = lean_alloc_ctor(0, 2, 0); -} else { - x_274 = x_273; -} -lean_ctor_set(x_274, 0, x_6); -lean_ctor_set(x_274, 1, x_272); -x_16 = x_274; -goto block_22; -} -else -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_275 = lean_ctor_get(x_271, 1); -lean_inc(x_275); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_276 = x_271; -} else { - lean_dec_ref(x_271); - x_276 = lean_box(0); -} -x_277 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_276)) { - x_278 = lean_alloc_ctor(0, 2, 0); -} else { - x_278 = x_276; -} -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_275); -x_16 = x_278; -goto block_22; -} -} -} -else -{ -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; lean_object* x_290; uint8_t x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_279 = lean_ctor_get(x_187, 0); -x_280 = lean_ctor_get(x_187, 1); -x_281 = lean_ctor_get(x_187, 2); -x_282 = lean_ctor_get(x_187, 3); -x_283 = lean_ctor_get(x_187, 4); -x_284 = lean_ctor_get(x_187, 5); -x_285 = lean_ctor_get(x_187, 6); -x_286 = lean_ctor_get(x_187, 7); -lean_inc(x_286); -lean_inc(x_285); -lean_inc(x_284); -lean_inc(x_283); -lean_inc(x_282); -lean_inc(x_281); -lean_inc(x_280); -lean_inc(x_279); -lean_dec(x_187); -x_287 = lean_ctor_get(x_191, 1); -lean_inc(x_287); -x_288 = lean_ctor_get(x_191, 2); -lean_inc(x_288); -x_289 = lean_ctor_get(x_191, 3); -lean_inc(x_289); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - lean_ctor_release(x_191, 2); - lean_ctor_release(x_191, 3); - x_290 = x_191; -} else { - lean_dec_ref(x_191); - x_290 = lean_box(0); -} -x_291 = 1; -x_292 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_292, 0, x_279); -lean_ctor_set(x_292, 1, x_280); -lean_ctor_set(x_292, 2, x_281); -lean_ctor_set(x_292, 3, x_282); -lean_ctor_set(x_292, 4, x_283); -lean_ctor_set(x_292, 5, x_284); -lean_ctor_set(x_292, 6, x_285); -lean_ctor_set(x_292, 7, x_286); -lean_ctor_set_uint8(x_292, sizeof(void*)*8, x_291); -if (lean_is_scalar(x_290)) { - x_293 = lean_alloc_ctor(0, 4, 0); -} else { - x_293 = x_290; -} -lean_ctor_set(x_293, 0, x_292); -lean_ctor_set(x_293, 1, x_287); -lean_ctor_set(x_293, 2, x_288); -lean_ctor_set(x_293, 3, x_289); -x_294 = lean_st_ref_set(x_10, x_293, x_250); -if (x_185 == 0) -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; -lean_dec(x_25); -x_295 = lean_ctor_get(x_294, 1); -lean_inc(x_295); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_296 = x_294; -} else { - lean_dec_ref(x_294); - x_296 = lean_box(0); -} -if (lean_is_scalar(x_296)) { - x_297 = lean_alloc_ctor(0, 2, 0); -} else { - x_297 = x_296; -} -lean_ctor_set(x_297, 0, x_6); -lean_ctor_set(x_297, 1, x_295); -x_16 = x_297; -goto block_22; -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_298 = lean_ctor_get(x_294, 1); -lean_inc(x_298); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_299 = x_294; -} else { - lean_dec_ref(x_294); - x_299 = lean_box(0); -} -x_300 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_299)) { - x_301 = lean_alloc_ctor(0, 2, 0); -} else { - x_301 = x_299; -} -lean_ctor_set(x_301, 0, x_300); -lean_ctor_set(x_301, 1, x_298); -x_16 = x_301; -goto block_22; -} -} -} -} -block_316: -{ -if (x_303 == 0) -{ -uint8_t x_305; -x_305 = l_Lean_Expr_hasFVar(x_179); -if (x_305 == 0) -{ -uint8_t x_306; -x_306 = l_Lean_Expr_hasMVar(x_179); -if (x_306 == 0) -{ -uint8_t x_307; -lean_dec(x_179); -x_307 = 0; -x_185 = x_307; -x_186 = x_304; -goto block_302; -} -else -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; uint8_t x_311; -x_308 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__19(x_6, x_179, x_304); -x_309 = lean_ctor_get(x_308, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_308, 1); -lean_inc(x_310); -lean_dec(x_308); -x_311 = lean_unbox(x_309); -lean_dec(x_309); -x_185 = x_311; -x_186 = x_310; -goto block_302; -} -} -else -{ -lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; -x_312 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__27(x_6, x_179, x_304); -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec(x_312); -x_315 = lean_unbox(x_313); -lean_dec(x_313); -x_185 = x_315; -x_186 = x_314; -goto block_302; -} -} -else -{ -lean_dec(x_179); -x_185 = x_303; -x_186 = x_304; -goto block_302; +lean_dec(x_140); +x_146 = x_180; +x_147 = x_181; +goto block_179; } } } @@ -41742,15 +40673,78 @@ goto block_302; } else { -lean_object* x_331; +lean_object* x_208; lean_dec(x_25); lean_dec(x_24); -x_331 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_331, 0, x_6); -lean_ctor_set(x_331, 1, x_13); -x_16 = x_331; +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_6); +lean_ctor_set(x_208, 1, x_13); +x_16 = x_208; goto block_22; } +block_39: +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_unbox(x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +uint8_t x_29; +lean_dec(x_25); +x_29 = !lean_is_exclusive(x_26); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_26, 0); +lean_dec(x_30); +lean_ctor_set(x_26, 0, x_6); +x_16 = x_26; +goto block_22; +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); +lean_dec(x_26); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_6); +lean_ctor_set(x_32, 1, x_31); +x_16 = x_32; +goto block_22; +} +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_26); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_26, 0); +lean_dec(x_34); +x_35 = lean_array_push(x_6, x_25); +lean_ctor_set(x_26, 0, x_35); +x_16 = x_26; +goto block_22; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_26, 1); +lean_inc(x_36); +lean_dec(x_26); +x_37 = lean_array_push(x_6, x_25); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_16 = x_38; +goto block_22; +} +} +} } block_22: { @@ -41770,12 +40764,12 @@ goto _start; } else { -lean_object* x_332; +lean_object* x_209; lean_dec(x_1); -x_332 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_332, 0, x_6); -lean_ctor_set(x_332, 1, x_13); -return x_332; +x_209 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_209, 0, x_6); +lean_ctor_set(x_209, 1, x_13); +return x_209; } } } @@ -41799,1352 +40793,643 @@ goto block_22; } else { -lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_40; x_24 = lean_ctor_get(x_15, 0); lean_inc(x_24); lean_dec(x_15); x_25 = l_Lean_LocalDecl_fvarId(x_24); lean_inc(x_25); lean_inc(x_1); -x_26 = l_Lean_LocalContext_contains(x_1, x_25); -if (x_26 == 0) +x_40 = l_Lean_LocalContext_contains(x_1, x_25); +if (x_40 == 0) { -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = lean_array_get_size(x_2); -x_28 = lean_unsigned_to_nat(0u); -x_29 = lean_nat_dec_lt(x_28, x_27); -if (x_29 == 0) +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_array_get_size(x_2); +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_nat_dec_lt(x_42, x_41); +if (x_43 == 0) { -lean_object* x_30; lean_object* x_31; -lean_dec(x_27); +lean_object* x_44; lean_object* x_45; +lean_dec(x_41); lean_dec(x_24); -x_30 = lean_array_push(x_6, x_25); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_13); -x_16 = x_31; +x_44 = lean_array_push(x_6, x_25); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_13); +x_16 = x_45; goto block_22; } else { -uint8_t x_32; -x_32 = lean_nat_dec_le(x_27, x_27); -if (x_32 == 0) +uint8_t x_46; +x_46 = lean_nat_dec_le(x_41, x_41); +if (x_46 == 0) { -lean_object* x_33; lean_object* x_34; -lean_dec(x_27); +lean_object* x_47; lean_object* x_48; +lean_dec(x_41); lean_dec(x_24); -x_33 = lean_array_push(x_6, x_25); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_13); -x_16 = x_34; +x_47 = lean_array_push(x_6, x_25); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_13); +x_16 = x_48; goto block_22; } else { -size_t x_35; size_t x_36; uint8_t x_37; -x_35 = 0; -x_36 = lean_usize_of_nat(x_27); -lean_dec(x_27); -x_37 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(x_25, x_2, x_35, x_36); -if (x_37 == 0) +size_t x_49; size_t x_50; uint8_t x_51; +x_49 = 0; +x_50 = lean_usize_of_nat(x_41); +lean_dec(x_41); +x_51 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(x_25, x_2, x_49, x_50); +if (x_51 == 0) { -lean_object* x_38; lean_object* x_39; +lean_object* x_52; lean_object* x_53; lean_dec(x_24); -x_38 = lean_array_push(x_6, x_25); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_13); -x_16 = x_39; +x_52 = lean_array_push(x_6, x_25); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_13); +x_16 = x_53; goto block_22; } else { if (lean_obj_tag(x_24) == 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; uint8_t x_46; lean_object* x_47; lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; -x_40 = lean_ctor_get(x_24, 3); -lean_inc(x_40); +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; uint8_t x_63; +x_54 = lean_ctor_get(x_24, 3); +lean_inc(x_54); lean_dec(x_24); -x_41 = lean_st_ref_get(x_12, x_13); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_st_ref_get(x_10, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_164 = lean_ctor_get(x_44, 0); +x_55 = lean_st_ref_get(x_12, x_13); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_st_ref_get(x_10, x_56); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_ctor_get(x_58, 0); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +lean_inc(x_60); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Lean_Expr_hasFVar(x_54); +if (x_63 == 0) +{ +uint8_t x_64; +x_64 = l_Lean_Expr_hasMVar(x_54); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_dec(x_62); +lean_dec(x_54); +x_65 = lean_st_ref_get(x_12, x_59); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +lean_dec(x_65); +x_67 = lean_st_ref_take(x_10, x_66); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = !lean_is_exclusive(x_68); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_71 = lean_ctor_get(x_68, 0); +lean_dec(x_71); +lean_ctor_set(x_68, 0, x_60); +x_72 = lean_st_ref_set(x_10, x_68, x_69); +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; uint8_t x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_72, 0); +lean_dec(x_74); +x_75 = 0; +x_76 = lean_box(x_75); +lean_ctor_set(x_72, 0, x_76); +x_26 = x_72; +goto block_39; +} +else +{ +lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; +x_77 = lean_ctor_get(x_72, 1); +lean_inc(x_77); +lean_dec(x_72); +x_78 = 0; +x_79 = lean_box(x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_77); +x_26 = x_80; +goto block_39; +} +} +else +{ +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; uint8_t x_88; lean_object* x_89; lean_object* x_90; +x_81 = lean_ctor_get(x_68, 1); +x_82 = lean_ctor_get(x_68, 2); +x_83 = lean_ctor_get(x_68, 3); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_68); +x_84 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_84, 0, x_60); +lean_ctor_set(x_84, 1, x_81); +lean_ctor_set(x_84, 2, x_82); +lean_ctor_set(x_84, 3, x_83); +x_85 = lean_st_ref_set(x_10, x_84, x_69); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_87 = x_85; +} else { + lean_dec_ref(x_85); + x_87 = lean_box(0); +} +x_88 = 0; +x_89 = lean_box(x_88); +if (lean_is_scalar(x_87)) { + x_90 = lean_alloc_ctor(0, 2, 0); +} else { + x_90 = x_87; +} +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_86); +x_26 = x_90; +goto block_39; +} +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +lean_dec(x_60); +x_91 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(x_6, x_54, x_62); +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 0); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_st_ref_get(x_12, x_59); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec(x_95); +x_97 = lean_st_ref_take(x_10, x_96); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = !lean_is_exclusive(x_98); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; uint8_t x_103; +x_101 = lean_ctor_get(x_98, 0); +lean_dec(x_101); +lean_ctor_set(x_98, 0, x_94); +x_102 = lean_st_ref_set(x_10, x_98, x_99); +x_103 = !lean_is_exclusive(x_102); +if (x_103 == 0) +{ +lean_object* x_104; +x_104 = lean_ctor_get(x_102, 0); +lean_dec(x_104); +lean_ctor_set(x_102, 0, x_93); +x_26 = x_102; +goto block_39; +} +else +{ +lean_object* x_105; lean_object* x_106; +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +lean_dec(x_102); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_93); +lean_ctor_set(x_106, 1, x_105); +x_26 = x_106; +goto block_39; +} +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_107 = lean_ctor_get(x_98, 1); +x_108 = lean_ctor_get(x_98, 2); +x_109 = lean_ctor_get(x_98, 3); +lean_inc(x_109); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_98); +x_110 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_110, 0, x_94); +lean_ctor_set(x_110, 1, x_107); +lean_ctor_set(x_110, 2, x_108); +lean_ctor_set(x_110, 3, x_109); +x_111 = lean_st_ref_set(x_10, x_110, x_99); +x_112 = lean_ctor_get(x_111, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_113 = x_111; +} else { + lean_dec_ref(x_111); + x_113 = lean_box(0); +} +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(0, 2, 0); +} else { + x_114 = x_113; +} +lean_ctor_set(x_114, 0, x_93); +lean_ctor_set(x_114, 1, x_112); +x_26 = x_114; +goto block_39; +} +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +lean_dec(x_60); +x_115 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__11(x_6, x_54, x_62); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 0); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +x_119 = lean_st_ref_get(x_12, x_59); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +lean_dec(x_119); +x_121 = lean_st_ref_take(x_10, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = !lean_is_exclusive(x_122); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_125 = lean_ctor_get(x_122, 0); +lean_dec(x_125); +lean_ctor_set(x_122, 0, x_118); +x_126 = lean_st_ref_set(x_10, x_122, x_123); +x_127 = !lean_is_exclusive(x_126); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_126, 0); +lean_dec(x_128); +lean_ctor_set(x_126, 0, x_117); +x_26 = x_126; +goto block_39; +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_126, 1); +lean_inc(x_129); +lean_dec(x_126); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_117); +lean_ctor_set(x_130, 1, x_129); +x_26 = x_130; +goto block_39; +} +} +else +{ +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; +x_131 = lean_ctor_get(x_122, 1); +x_132 = lean_ctor_get(x_122, 2); +x_133 = lean_ctor_get(x_122, 3); +lean_inc(x_133); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_122); +x_134 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_134, 0, x_118); +lean_ctor_set(x_134, 1, x_131); +lean_ctor_set(x_134, 2, x_132); +lean_ctor_set(x_134, 3, x_133); +x_135 = lean_st_ref_set(x_10, x_134, x_123); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_137 = x_135; +} else { + lean_dec_ref(x_135); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(0, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_117); +lean_ctor_set(x_138, 1, x_136); +x_26 = x_138; +goto block_39; +} +} +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; lean_object* x_147; uint8_t x_180; lean_object* x_181; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; +x_139 = lean_ctor_get(x_24, 3); +lean_inc(x_139); +x_140 = lean_ctor_get(x_24, 4); +lean_inc(x_140); +lean_dec(x_24); +x_141 = lean_st_ref_get(x_12, x_13); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_143 = lean_st_ref_get(x_10, x_142); +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_194 = lean_ctor_get(x_144, 0); +lean_inc(x_194); +lean_dec(x_144); +x_195 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +x_197 = l_Lean_Expr_hasFVar(x_139); +if (x_197 == 0) +{ +uint8_t x_198; +x_198 = l_Lean_Expr_hasMVar(x_139); +if (x_198 == 0) +{ +uint8_t x_199; +lean_dec(x_139); +x_199 = 0; +x_180 = x_199; +x_181 = x_196; +goto block_193; +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_200 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__35(x_6, x_139, x_196); +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 1); +lean_inc(x_202); +lean_dec(x_200); +x_203 = lean_unbox(x_201); +lean_dec(x_201); +x_180 = x_203; +x_181 = x_202; +goto block_193; +} +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; +x_204 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(x_6, x_139, x_196); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +x_207 = lean_unbox(x_205); +lean_dec(x_205); +x_180 = x_207; +x_181 = x_206; +goto block_193; +} +block_179: +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = lean_st_ref_get(x_12, x_145); +x_150 = lean_ctor_get(x_149, 1); +lean_inc(x_150); +lean_dec(x_149); +x_151 = lean_st_ref_take(x_10, x_150); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); +x_154 = !lean_is_exclusive(x_152); +if (x_154 == 0) +{ +lean_object* x_155; lean_object* x_156; +x_155 = lean_ctor_get(x_152, 0); +lean_dec(x_155); +lean_ctor_set(x_152, 0, x_148); +x_156 = lean_st_ref_set(x_10, x_152, x_153); +if (x_146 == 0) +{ +uint8_t x_157; +lean_dec(x_25); +x_157 = !lean_is_exclusive(x_156); +if (x_157 == 0) +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_156, 0); +lean_dec(x_158); +lean_ctor_set(x_156, 0, x_6); +x_16 = x_156; +goto block_22; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_156, 1); +lean_inc(x_159); +lean_dec(x_156); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_6); +lean_ctor_set(x_160, 1, x_159); +x_16 = x_160; +goto block_22; +} +} +else +{ +uint8_t x_161; +x_161 = !lean_is_exclusive(x_156); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; +x_162 = lean_ctor_get(x_156, 0); +lean_dec(x_162); +x_163 = lean_array_push(x_6, x_25); +lean_ctor_set(x_156, 0, x_163); +x_16 = x_156; +goto block_22; +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_164 = lean_ctor_get(x_156, 1); lean_inc(x_164); -lean_dec(x_44); -x_165 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +lean_dec(x_156); +x_165 = lean_array_push(x_6, x_25); x_166 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_166, 0, x_165); lean_ctor_set(x_166, 1, x_164); -x_167 = l_Lean_Expr_hasFVar(x_40); -if (x_167 == 0) -{ -uint8_t x_168; -x_168 = l_Lean_Expr_hasMVar(x_40); -if (x_168 == 0) -{ -uint8_t x_169; -lean_dec(x_40); -x_169 = 0; -x_46 = x_169; -x_47 = x_166; -goto block_163; +x_16 = x_166; +goto block_22; +} +} } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_170 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(x_6, x_40, x_166); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_167 = lean_ctor_get(x_152, 1); +x_168 = lean_ctor_get(x_152, 2); +x_169 = lean_ctor_get(x_152, 3); +lean_inc(x_169); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_152); +x_170 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_170, 0, x_148); +lean_ctor_set(x_170, 1, x_167); +lean_ctor_set(x_170, 2, x_168); +lean_ctor_set(x_170, 3, x_169); +x_171 = lean_st_ref_set(x_10, x_170, x_153); +if (x_146 == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_25); +x_172 = lean_ctor_get(x_171, 1); lean_inc(x_172); -lean_dec(x_170); -x_173 = lean_unbox(x_171); -lean_dec(x_171); -x_46 = x_173; -x_47 = x_172; -goto block_163; +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_173 = x_171; +} else { + lean_dec_ref(x_171); + x_173 = lean_box(0); } +if (lean_is_scalar(x_173)) { + x_174 = lean_alloc_ctor(0, 2, 0); +} else { + x_174 = x_173; +} +lean_ctor_set(x_174, 0, x_6); +lean_ctor_set(x_174, 1, x_172); +x_16 = x_174; +goto block_22; } else { -lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_174 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__11(x_6, x_40, x_166); -x_175 = lean_ctor_get(x_174, 0); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_175 = lean_ctor_get(x_171, 1); lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = lean_unbox(x_175); -lean_dec(x_175); -x_46 = x_177; -x_47 = x_176; -goto block_163; +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_176 = x_171; +} else { + lean_dec_ref(x_171); + x_176 = lean_box(0); } -block_163: -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_st_ref_get(x_12, x_45); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_st_ref_take(x_10, x_50); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get_uint8(x_48, sizeof(void*)*8); -if (x_53 == 0) -{ -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; uint8_t x_64; -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -lean_dec(x_51); -x_56 = lean_ctor_get(x_48, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_48, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_48, 2); -lean_inc(x_58); -x_59 = lean_ctor_get(x_48, 3); -lean_inc(x_59); -x_60 = lean_ctor_get(x_48, 4); -lean_inc(x_60); -x_61 = lean_ctor_get(x_48, 5); -lean_inc(x_61); -x_62 = lean_ctor_get(x_48, 6); -lean_inc(x_62); -x_63 = lean_ctor_get(x_48, 7); -lean_inc(x_63); -lean_dec(x_48); -x_64 = !lean_is_exclusive(x_52); -if (x_64 == 0) -{ -lean_object* x_65; uint8_t x_66; -x_65 = lean_ctor_get(x_52, 0); -lean_dec(x_65); -x_66 = !lean_is_exclusive(x_54); -if (x_66 == 0) -{ -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; -x_67 = lean_ctor_get(x_54, 7); -lean_dec(x_67); -x_68 = lean_ctor_get(x_54, 6); -lean_dec(x_68); -x_69 = lean_ctor_get(x_54, 5); -lean_dec(x_69); -x_70 = lean_ctor_get(x_54, 4); -lean_dec(x_70); -x_71 = lean_ctor_get(x_54, 3); -lean_dec(x_71); -x_72 = lean_ctor_get(x_54, 2); -lean_dec(x_72); -x_73 = lean_ctor_get(x_54, 1); -lean_dec(x_73); -x_74 = lean_ctor_get(x_54, 0); -lean_dec(x_74); -lean_ctor_set(x_54, 7, x_63); -lean_ctor_set(x_54, 6, x_62); -lean_ctor_set(x_54, 5, x_61); -lean_ctor_set(x_54, 4, x_60); -lean_ctor_set(x_54, 3, x_59); -lean_ctor_set(x_54, 2, x_58); -lean_ctor_set(x_54, 1, x_57); -lean_ctor_set(x_54, 0, x_56); -x_75 = lean_st_ref_set(x_10, x_52, x_55); -if (x_46 == 0) -{ -uint8_t x_76; -lean_dec(x_25); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -lean_ctor_set(x_75, 0, x_6); -x_16 = x_75; -goto block_22; +x_177 = lean_array_push(x_6, x_25); +if (lean_is_scalar(x_176)) { + x_178 = lean_alloc_ctor(0, 2, 0); +} else { + x_178 = x_176; } -else -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_6); -lean_ctor_set(x_79, 1, x_78); -x_16 = x_79; -goto block_22; -} -} -else -{ -uint8_t x_80; -x_80 = !lean_is_exclusive(x_75); -if (x_80 == 0) -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_75, 0); -lean_dec(x_81); -x_82 = lean_array_push(x_6, x_25); -lean_ctor_set(x_75, 0, x_82); -x_16 = x_75; -goto block_22; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_75, 1); -lean_inc(x_83); -lean_dec(x_75); -x_84 = lean_array_push(x_6, x_25); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_16 = x_85; +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_175); +x_16 = x_178; goto block_22; } } } -else +block_193: { -uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -lean_dec(x_54); -x_87 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_87, 0, x_56); -lean_ctor_set(x_87, 1, x_57); -lean_ctor_set(x_87, 2, x_58); -lean_ctor_set(x_87, 3, x_59); -lean_ctor_set(x_87, 4, x_60); -lean_ctor_set(x_87, 5, x_61); -lean_ctor_set(x_87, 6, x_62); -lean_ctor_set(x_87, 7, x_63); -lean_ctor_set_uint8(x_87, sizeof(void*)*8, x_86); -lean_ctor_set(x_52, 0, x_87); -x_88 = lean_st_ref_set(x_10, x_52, x_55); -if (x_46 == 0) +if (x_180 == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_dec(x_25); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_90 = x_88; -} else { - lean_dec_ref(x_88); - x_90 = lean_box(0); -} -if (lean_is_scalar(x_90)) { - x_91 = lean_alloc_ctor(0, 2, 0); -} else { - x_91 = x_90; -} -lean_ctor_set(x_91, 0, x_6); -lean_ctor_set(x_91, 1, x_89); -x_16 = x_91; -goto block_22; +uint8_t x_182; +x_182 = l_Lean_Expr_hasFVar(x_140); +if (x_182 == 0) +{ +uint8_t x_183; +x_183 = l_Lean_Expr_hasMVar(x_140); +if (x_183 == 0) +{ +uint8_t x_184; +lean_dec(x_140); +x_184 = 0; +x_146 = x_184; +x_147 = x_181; +goto block_179; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_88, 1); -lean_inc(x_92); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_93 = x_88; -} else { - lean_dec_ref(x_88); - x_93 = lean_box(0); -} -x_94 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_93)) { - x_95 = lean_alloc_ctor(0, 2, 0); -} else { - x_95 = x_93; -} -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_92); -x_16 = x_95; -goto block_22; -} -} -} -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_52, 1); -x_97 = lean_ctor_get(x_52, 2); -x_98 = lean_ctor_get(x_52, 3); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_52); -x_99 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -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); - lean_ctor_release(x_54, 6); - lean_ctor_release(x_54, 7); - x_100 = x_54; -} else { - lean_dec_ref(x_54); - x_100 = lean_box(0); -} -if (lean_is_scalar(x_100)) { - x_101 = lean_alloc_ctor(0, 8, 1); -} else { - x_101 = x_100; -} -lean_ctor_set(x_101, 0, x_56); -lean_ctor_set(x_101, 1, x_57); -lean_ctor_set(x_101, 2, x_58); -lean_ctor_set(x_101, 3, x_59); -lean_ctor_set(x_101, 4, x_60); -lean_ctor_set(x_101, 5, x_61); -lean_ctor_set(x_101, 6, x_62); -lean_ctor_set(x_101, 7, x_63); -lean_ctor_set_uint8(x_101, sizeof(void*)*8, x_99); -x_102 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_96); -lean_ctor_set(x_102, 2, x_97); -lean_ctor_set(x_102, 3, x_98); -x_103 = lean_st_ref_set(x_10, x_102, x_55); -if (x_46 == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_25); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_105 = x_103; -} else { - lean_dec_ref(x_103); - x_105 = lean_box(0); -} -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_105; -} -lean_ctor_set(x_106, 0, x_6); -lean_ctor_set(x_106, 1, x_104); -x_16 = x_106; -goto block_22; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_103, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_108 = x_103; -} else { - lean_dec_ref(x_103); - x_108 = lean_box(0); -} -x_109 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_108)) { - x_110 = lean_alloc_ctor(0, 2, 0); -} else { - x_110 = x_108; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -x_16 = x_110; -goto block_22; -} -} -} -else -{ -lean_object* x_111; uint8_t x_112; -x_111 = lean_ctor_get(x_51, 1); -lean_inc(x_111); -lean_dec(x_51); -x_112 = !lean_is_exclusive(x_48); -if (x_112 == 0) -{ -uint8_t x_113; -x_113 = !lean_is_exclusive(x_52); -if (x_113 == 0) -{ -lean_object* x_114; uint8_t x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_52, 0); -lean_dec(x_114); -x_115 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_115); -lean_ctor_set(x_52, 0, x_48); -x_116 = lean_st_ref_set(x_10, x_52, x_111); -if (x_46 == 0) -{ -uint8_t x_117; -lean_dec(x_25); -x_117 = !lean_is_exclusive(x_116); -if (x_117 == 0) -{ -lean_object* x_118; -x_118 = lean_ctor_get(x_116, 0); -lean_dec(x_118); -lean_ctor_set(x_116, 0, x_6); -x_16 = x_116; -goto block_22; -} -else -{ -lean_object* x_119; lean_object* x_120; -x_119 = lean_ctor_get(x_116, 1); -lean_inc(x_119); -lean_dec(x_116); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_6); -lean_ctor_set(x_120, 1, x_119); -x_16 = x_120; -goto block_22; -} -} -else -{ -uint8_t x_121; -x_121 = !lean_is_exclusive(x_116); -if (x_121 == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_116, 0); -lean_dec(x_122); -x_123 = lean_array_push(x_6, x_25); -lean_ctor_set(x_116, 0, x_123); -x_16 = x_116; -goto block_22; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_116, 1); -lean_inc(x_124); -lean_dec(x_116); -x_125 = lean_array_push(x_6, x_25); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_16 = x_126; -goto block_22; -} -} -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; -x_127 = lean_ctor_get(x_52, 1); -x_128 = lean_ctor_get(x_52, 2); -x_129 = lean_ctor_get(x_52, 3); -lean_inc(x_129); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_52); -x_130 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_130); -x_131 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_131, 0, x_48); -lean_ctor_set(x_131, 1, x_127); -lean_ctor_set(x_131, 2, x_128); -lean_ctor_set(x_131, 3, x_129); -x_132 = lean_st_ref_set(x_10, x_131, x_111); -if (x_46 == 0) -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_25); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_134 = x_132; -} else { - lean_dec_ref(x_132); - x_134 = lean_box(0); -} -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(0, 2, 0); -} else { - x_135 = x_134; -} -lean_ctor_set(x_135, 0, x_6); -lean_ctor_set(x_135, 1, x_133); -x_16 = x_135; -goto block_22; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_136 = lean_ctor_get(x_132, 1); -lean_inc(x_136); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_137 = x_132; -} else { - lean_dec_ref(x_132); - x_137 = lean_box(0); -} -x_138 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_137)) { - x_139 = lean_alloc_ctor(0, 2, 0); -} else { - x_139 = x_137; -} -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_136); -x_16 = x_139; -goto block_22; -} -} -} -else -{ -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; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_140 = lean_ctor_get(x_48, 0); -x_141 = lean_ctor_get(x_48, 1); -x_142 = lean_ctor_get(x_48, 2); -x_143 = lean_ctor_get(x_48, 3); -x_144 = lean_ctor_get(x_48, 4); -x_145 = lean_ctor_get(x_48, 5); -x_146 = lean_ctor_get(x_48, 6); -x_147 = lean_ctor_get(x_48, 7); -lean_inc(x_147); -lean_inc(x_146); -lean_inc(x_145); -lean_inc(x_144); -lean_inc(x_143); -lean_inc(x_142); -lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_48); -x_148 = lean_ctor_get(x_52, 1); -lean_inc(x_148); -x_149 = lean_ctor_get(x_52, 2); -lean_inc(x_149); -x_150 = lean_ctor_get(x_52, 3); -lean_inc(x_150); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - lean_ctor_release(x_52, 3); - x_151 = x_52; -} else { - lean_dec_ref(x_52); - x_151 = lean_box(0); -} -x_152 = 1; -x_153 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_153, 0, x_140); -lean_ctor_set(x_153, 1, x_141); -lean_ctor_set(x_153, 2, x_142); -lean_ctor_set(x_153, 3, x_143); -lean_ctor_set(x_153, 4, x_144); -lean_ctor_set(x_153, 5, x_145); -lean_ctor_set(x_153, 6, x_146); -lean_ctor_set(x_153, 7, x_147); -lean_ctor_set_uint8(x_153, sizeof(void*)*8, x_152); -if (lean_is_scalar(x_151)) { - x_154 = lean_alloc_ctor(0, 4, 0); -} else { - x_154 = x_151; -} -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_148); -lean_ctor_set(x_154, 2, x_149); -lean_ctor_set(x_154, 3, x_150); -x_155 = lean_st_ref_set(x_10, x_154, x_111); -if (x_46 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; -lean_dec(x_25); -x_156 = lean_ctor_get(x_155, 1); -lean_inc(x_156); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_157 = x_155; -} else { - lean_dec_ref(x_155); - x_157 = lean_box(0); -} -if (lean_is_scalar(x_157)) { - x_158 = lean_alloc_ctor(0, 2, 0); -} else { - x_158 = x_157; -} -lean_ctor_set(x_158, 0, x_6); -lean_ctor_set(x_158, 1, x_156); -x_16 = x_158; -goto block_22; -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_159 = lean_ctor_get(x_155, 1); -lean_inc(x_159); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_160 = x_155; -} else { - lean_dec_ref(x_155); - x_160 = lean_box(0); -} -x_161 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_160)) { - x_162 = lean_alloc_ctor(0, 2, 0); -} else { - x_162 = x_160; -} -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_159); -x_16 = x_162; -goto block_22; -} -} -} -} -} -else -{ -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; uint8_t x_185; lean_object* x_186; uint8_t x_303; lean_object* x_304; lean_object* x_317; lean_object* x_318; lean_object* x_319; uint8_t x_320; -x_178 = lean_ctor_get(x_24, 3); -lean_inc(x_178); -x_179 = lean_ctor_get(x_24, 4); -lean_inc(x_179); -lean_dec(x_24); -x_180 = lean_st_ref_get(x_12, x_13); -x_181 = lean_ctor_get(x_180, 1); -lean_inc(x_181); -lean_dec(x_180); -x_182 = lean_st_ref_get(x_10, x_181); -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_317 = lean_ctor_get(x_183, 0); -lean_inc(x_317); -lean_dec(x_183); -x_318 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; -x_319 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_317); -x_320 = l_Lean_Expr_hasFVar(x_178); -if (x_320 == 0) -{ -uint8_t x_321; -x_321 = l_Lean_Expr_hasMVar(x_178); -if (x_321 == 0) -{ -uint8_t x_322; -lean_dec(x_178); -x_322 = 0; -x_303 = x_322; -x_304 = x_319; -goto block_316; -} -else -{ -lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; -x_323 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__35(x_6, x_178, x_319); -x_324 = lean_ctor_get(x_323, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_323, 1); -lean_inc(x_325); -lean_dec(x_323); -x_326 = lean_unbox(x_324); -lean_dec(x_324); -x_303 = x_326; -x_304 = x_325; -goto block_316; -} -} -else -{ -lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; -x_327 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(x_6, x_178, x_319); -x_328 = lean_ctor_get(x_327, 0); -lean_inc(x_328); -x_329 = lean_ctor_get(x_327, 1); -lean_inc(x_329); -lean_dec(x_327); -x_330 = lean_unbox(x_328); -lean_dec(x_328); -x_303 = x_330; -x_304 = x_329; -goto block_316; -} -block_302: -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; -x_187 = lean_ctor_get(x_186, 1); +lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_185 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__19(x_6, x_140, x_181); +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_185, 1); lean_inc(x_187); +lean_dec(x_185); +x_188 = lean_unbox(x_186); lean_dec(x_186); -x_188 = lean_st_ref_get(x_12, x_184); -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -lean_dec(x_188); -x_190 = lean_st_ref_take(x_10, x_189); -x_191 = lean_ctor_get(x_190, 0); +x_146 = x_188; +x_147 = x_187; +goto block_179; +} +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__27(x_6, x_140, x_181); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); lean_inc(x_191); -x_192 = lean_ctor_get_uint8(x_187, sizeof(void*)*8); -if (x_192 == 0) -{ -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; uint8_t x_203; -x_193 = lean_ctor_get(x_191, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_190, 1); -lean_inc(x_194); +lean_dec(x_189); +x_192 = lean_unbox(x_190); lean_dec(x_190); -x_195 = lean_ctor_get(x_187, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_187, 1); -lean_inc(x_196); -x_197 = lean_ctor_get(x_187, 2); -lean_inc(x_197); -x_198 = lean_ctor_get(x_187, 3); -lean_inc(x_198); -x_199 = lean_ctor_get(x_187, 4); -lean_inc(x_199); -x_200 = lean_ctor_get(x_187, 5); -lean_inc(x_200); -x_201 = lean_ctor_get(x_187, 6); -lean_inc(x_201); -x_202 = lean_ctor_get(x_187, 7); -lean_inc(x_202); -lean_dec(x_187); -x_203 = !lean_is_exclusive(x_191); -if (x_203 == 0) -{ -lean_object* x_204; uint8_t x_205; -x_204 = lean_ctor_get(x_191, 0); -lean_dec(x_204); -x_205 = !lean_is_exclusive(x_193); -if (x_205 == 0) -{ -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_206 = lean_ctor_get(x_193, 7); -lean_dec(x_206); -x_207 = lean_ctor_get(x_193, 6); -lean_dec(x_207); -x_208 = lean_ctor_get(x_193, 5); -lean_dec(x_208); -x_209 = lean_ctor_get(x_193, 4); -lean_dec(x_209); -x_210 = lean_ctor_get(x_193, 3); -lean_dec(x_210); -x_211 = lean_ctor_get(x_193, 2); -lean_dec(x_211); -x_212 = lean_ctor_get(x_193, 1); -lean_dec(x_212); -x_213 = lean_ctor_get(x_193, 0); -lean_dec(x_213); -lean_ctor_set(x_193, 7, x_202); -lean_ctor_set(x_193, 6, x_201); -lean_ctor_set(x_193, 5, x_200); -lean_ctor_set(x_193, 4, x_199); -lean_ctor_set(x_193, 3, x_198); -lean_ctor_set(x_193, 2, x_197); -lean_ctor_set(x_193, 1, x_196); -lean_ctor_set(x_193, 0, x_195); -x_214 = lean_st_ref_set(x_10, x_191, x_194); -if (x_185 == 0) -{ -uint8_t x_215; -lean_dec(x_25); -x_215 = !lean_is_exclusive(x_214); -if (x_215 == 0) -{ -lean_object* x_216; -x_216 = lean_ctor_get(x_214, 0); -lean_dec(x_216); -lean_ctor_set(x_214, 0, x_6); -x_16 = x_214; -goto block_22; -} -else -{ -lean_object* x_217; lean_object* x_218; -x_217 = lean_ctor_get(x_214, 1); -lean_inc(x_217); -lean_dec(x_214); -x_218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_218, 0, x_6); -lean_ctor_set(x_218, 1, x_217); -x_16 = x_218; -goto block_22; +x_146 = x_192; +x_147 = x_191; +goto block_179; } } else { -uint8_t x_219; -x_219 = !lean_is_exclusive(x_214); -if (x_219 == 0) -{ -lean_object* x_220; lean_object* x_221; -x_220 = lean_ctor_get(x_214, 0); -lean_dec(x_220); -x_221 = lean_array_push(x_6, x_25); -lean_ctor_set(x_214, 0, x_221); -x_16 = x_214; -goto block_22; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_214, 1); -lean_inc(x_222); -lean_dec(x_214); -x_223 = lean_array_push(x_6, x_25); -x_224 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_16 = x_224; -goto block_22; -} -} -} -else -{ -uint8_t x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get_uint8(x_193, sizeof(void*)*8); -lean_dec(x_193); -x_226 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_226, 0, x_195); -lean_ctor_set(x_226, 1, x_196); -lean_ctor_set(x_226, 2, x_197); -lean_ctor_set(x_226, 3, x_198); -lean_ctor_set(x_226, 4, x_199); -lean_ctor_set(x_226, 5, x_200); -lean_ctor_set(x_226, 6, x_201); -lean_ctor_set(x_226, 7, x_202); -lean_ctor_set_uint8(x_226, sizeof(void*)*8, x_225); -lean_ctor_set(x_191, 0, x_226); -x_227 = lean_st_ref_set(x_10, x_191, x_194); -if (x_185 == 0) -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_dec(x_25); -x_228 = lean_ctor_get(x_227, 1); -lean_inc(x_228); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_229 = x_227; -} else { - lean_dec_ref(x_227); - x_229 = lean_box(0); -} -if (lean_is_scalar(x_229)) { - x_230 = lean_alloc_ctor(0, 2, 0); -} else { - x_230 = x_229; -} -lean_ctor_set(x_230, 0, x_6); -lean_ctor_set(x_230, 1, x_228); -x_16 = x_230; -goto block_22; -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_231 = lean_ctor_get(x_227, 1); -lean_inc(x_231); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_232 = x_227; -} else { - lean_dec_ref(x_227); - x_232 = lean_box(0); -} -x_233 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_232)) { - x_234 = lean_alloc_ctor(0, 2, 0); -} else { - x_234 = x_232; -} -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_231); -x_16 = x_234; -goto block_22; -} -} -} -else -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_235 = lean_ctor_get(x_191, 1); -x_236 = lean_ctor_get(x_191, 2); -x_237 = lean_ctor_get(x_191, 3); -lean_inc(x_237); -lean_inc(x_236); -lean_inc(x_235); -lean_dec(x_191); -x_238 = lean_ctor_get_uint8(x_193, sizeof(void*)*8); -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); - lean_ctor_release(x_193, 6); - lean_ctor_release(x_193, 7); - x_239 = x_193; -} else { - lean_dec_ref(x_193); - x_239 = lean_box(0); -} -if (lean_is_scalar(x_239)) { - x_240 = lean_alloc_ctor(0, 8, 1); -} else { - x_240 = x_239; -} -lean_ctor_set(x_240, 0, x_195); -lean_ctor_set(x_240, 1, x_196); -lean_ctor_set(x_240, 2, x_197); -lean_ctor_set(x_240, 3, x_198); -lean_ctor_set(x_240, 4, x_199); -lean_ctor_set(x_240, 5, x_200); -lean_ctor_set(x_240, 6, x_201); -lean_ctor_set(x_240, 7, x_202); -lean_ctor_set_uint8(x_240, sizeof(void*)*8, x_238); -x_241 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_235); -lean_ctor_set(x_241, 2, x_236); -lean_ctor_set(x_241, 3, x_237); -x_242 = lean_st_ref_set(x_10, x_241, x_194); -if (x_185 == 0) -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; -lean_dec(x_25); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_244 = x_242; -} else { - lean_dec_ref(x_242); - x_244 = lean_box(0); -} -if (lean_is_scalar(x_244)) { - x_245 = lean_alloc_ctor(0, 2, 0); -} else { - x_245 = x_244; -} -lean_ctor_set(x_245, 0, x_6); -lean_ctor_set(x_245, 1, x_243); -x_16 = x_245; -goto block_22; -} -else -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_246 = lean_ctor_get(x_242, 1); -lean_inc(x_246); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_247 = x_242; -} else { - lean_dec_ref(x_242); - x_247 = lean_box(0); -} -x_248 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_247)) { - x_249 = lean_alloc_ctor(0, 2, 0); -} else { - x_249 = x_247; -} -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_246); -x_16 = x_249; -goto block_22; -} -} -} -else -{ -lean_object* x_250; uint8_t x_251; -x_250 = lean_ctor_get(x_190, 1); -lean_inc(x_250); -lean_dec(x_190); -x_251 = !lean_is_exclusive(x_187); -if (x_251 == 0) -{ -uint8_t x_252; -x_252 = !lean_is_exclusive(x_191); -if (x_252 == 0) -{ -lean_object* x_253; uint8_t x_254; lean_object* x_255; -x_253 = lean_ctor_get(x_191, 0); -lean_dec(x_253); -x_254 = 1; -lean_ctor_set_uint8(x_187, sizeof(void*)*8, x_254); -lean_ctor_set(x_191, 0, x_187); -x_255 = lean_st_ref_set(x_10, x_191, x_250); -if (x_185 == 0) -{ -uint8_t x_256; -lean_dec(x_25); -x_256 = !lean_is_exclusive(x_255); -if (x_256 == 0) -{ -lean_object* x_257; -x_257 = lean_ctor_get(x_255, 0); -lean_dec(x_257); -lean_ctor_set(x_255, 0, x_6); -x_16 = x_255; -goto block_22; -} -else -{ -lean_object* x_258; lean_object* x_259; -x_258 = lean_ctor_get(x_255, 1); -lean_inc(x_258); -lean_dec(x_255); -x_259 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_259, 0, x_6); -lean_ctor_set(x_259, 1, x_258); -x_16 = x_259; -goto block_22; -} -} -else -{ -uint8_t x_260; -x_260 = !lean_is_exclusive(x_255); -if (x_260 == 0) -{ -lean_object* x_261; lean_object* x_262; -x_261 = lean_ctor_get(x_255, 0); -lean_dec(x_261); -x_262 = lean_array_push(x_6, x_25); -lean_ctor_set(x_255, 0, x_262); -x_16 = x_255; -goto block_22; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_255, 1); -lean_inc(x_263); -lean_dec(x_255); -x_264 = lean_array_push(x_6, x_25); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_263); -x_16 = x_265; -goto block_22; -} -} -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; lean_object* x_270; lean_object* x_271; -x_266 = lean_ctor_get(x_191, 1); -x_267 = lean_ctor_get(x_191, 2); -x_268 = lean_ctor_get(x_191, 3); -lean_inc(x_268); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_191); -x_269 = 1; -lean_ctor_set_uint8(x_187, sizeof(void*)*8, x_269); -x_270 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_270, 0, x_187); -lean_ctor_set(x_270, 1, x_266); -lean_ctor_set(x_270, 2, x_267); -lean_ctor_set(x_270, 3, x_268); -x_271 = lean_st_ref_set(x_10, x_270, x_250); -if (x_185 == 0) -{ -lean_object* x_272; lean_object* x_273; lean_object* x_274; -lean_dec(x_25); -x_272 = lean_ctor_get(x_271, 1); -lean_inc(x_272); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_273 = x_271; -} else { - lean_dec_ref(x_271); - x_273 = lean_box(0); -} -if (lean_is_scalar(x_273)) { - x_274 = lean_alloc_ctor(0, 2, 0); -} else { - x_274 = x_273; -} -lean_ctor_set(x_274, 0, x_6); -lean_ctor_set(x_274, 1, x_272); -x_16 = x_274; -goto block_22; -} -else -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_275 = lean_ctor_get(x_271, 1); -lean_inc(x_275); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_276 = x_271; -} else { - lean_dec_ref(x_271); - x_276 = lean_box(0); -} -x_277 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_276)) { - x_278 = lean_alloc_ctor(0, 2, 0); -} else { - x_278 = x_276; -} -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_275); -x_16 = x_278; -goto block_22; -} -} -} -else -{ -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; lean_object* x_290; uint8_t x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_279 = lean_ctor_get(x_187, 0); -x_280 = lean_ctor_get(x_187, 1); -x_281 = lean_ctor_get(x_187, 2); -x_282 = lean_ctor_get(x_187, 3); -x_283 = lean_ctor_get(x_187, 4); -x_284 = lean_ctor_get(x_187, 5); -x_285 = lean_ctor_get(x_187, 6); -x_286 = lean_ctor_get(x_187, 7); -lean_inc(x_286); -lean_inc(x_285); -lean_inc(x_284); -lean_inc(x_283); -lean_inc(x_282); -lean_inc(x_281); -lean_inc(x_280); -lean_inc(x_279); -lean_dec(x_187); -x_287 = lean_ctor_get(x_191, 1); -lean_inc(x_287); -x_288 = lean_ctor_get(x_191, 2); -lean_inc(x_288); -x_289 = lean_ctor_get(x_191, 3); -lean_inc(x_289); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - lean_ctor_release(x_191, 2); - lean_ctor_release(x_191, 3); - x_290 = x_191; -} else { - lean_dec_ref(x_191); - x_290 = lean_box(0); -} -x_291 = 1; -x_292 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_292, 0, x_279); -lean_ctor_set(x_292, 1, x_280); -lean_ctor_set(x_292, 2, x_281); -lean_ctor_set(x_292, 3, x_282); -lean_ctor_set(x_292, 4, x_283); -lean_ctor_set(x_292, 5, x_284); -lean_ctor_set(x_292, 6, x_285); -lean_ctor_set(x_292, 7, x_286); -lean_ctor_set_uint8(x_292, sizeof(void*)*8, x_291); -if (lean_is_scalar(x_290)) { - x_293 = lean_alloc_ctor(0, 4, 0); -} else { - x_293 = x_290; -} -lean_ctor_set(x_293, 0, x_292); -lean_ctor_set(x_293, 1, x_287); -lean_ctor_set(x_293, 2, x_288); -lean_ctor_set(x_293, 3, x_289); -x_294 = lean_st_ref_set(x_10, x_293, x_250); -if (x_185 == 0) -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; -lean_dec(x_25); -x_295 = lean_ctor_get(x_294, 1); -lean_inc(x_295); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_296 = x_294; -} else { - lean_dec_ref(x_294); - x_296 = lean_box(0); -} -if (lean_is_scalar(x_296)) { - x_297 = lean_alloc_ctor(0, 2, 0); -} else { - x_297 = x_296; -} -lean_ctor_set(x_297, 0, x_6); -lean_ctor_set(x_297, 1, x_295); -x_16 = x_297; -goto block_22; -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_298 = lean_ctor_get(x_294, 1); -lean_inc(x_298); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_299 = x_294; -} else { - lean_dec_ref(x_294); - x_299 = lean_box(0); -} -x_300 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_299)) { - x_301 = lean_alloc_ctor(0, 2, 0); -} else { - x_301 = x_299; -} -lean_ctor_set(x_301, 0, x_300); -lean_ctor_set(x_301, 1, x_298); -x_16 = x_301; -goto block_22; -} -} -} -} -block_316: -{ -if (x_303 == 0) -{ -uint8_t x_305; -x_305 = l_Lean_Expr_hasFVar(x_179); -if (x_305 == 0) -{ -uint8_t x_306; -x_306 = l_Lean_Expr_hasMVar(x_179); -if (x_306 == 0) -{ -uint8_t x_307; -lean_dec(x_179); -x_307 = 0; -x_185 = x_307; -x_186 = x_304; -goto block_302; -} -else -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; uint8_t x_311; -x_308 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__19(x_6, x_179, x_304); -x_309 = lean_ctor_get(x_308, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_308, 1); -lean_inc(x_310); -lean_dec(x_308); -x_311 = lean_unbox(x_309); -lean_dec(x_309); -x_185 = x_311; -x_186 = x_310; -goto block_302; -} -} -else -{ -lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; -x_312 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__27(x_6, x_179, x_304); -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec(x_312); -x_315 = lean_unbox(x_313); -lean_dec(x_313); -x_185 = x_315; -x_186 = x_314; -goto block_302; -} -} -else -{ -lean_dec(x_179); -x_185 = x_303; -x_186 = x_304; -goto block_302; +lean_dec(x_140); +x_146 = x_180; +x_147 = x_181; +goto block_179; } } } @@ -43154,15 +41439,78 @@ goto block_302; } else { -lean_object* x_331; +lean_object* x_208; lean_dec(x_25); lean_dec(x_24); -x_331 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_331, 0, x_6); -lean_ctor_set(x_331, 1, x_13); -x_16 = x_331; +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_6); +lean_ctor_set(x_208, 1, x_13); +x_16 = x_208; goto block_22; } +block_39: +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_unbox(x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +uint8_t x_29; +lean_dec(x_25); +x_29 = !lean_is_exclusive(x_26); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_26, 0); +lean_dec(x_30); +lean_ctor_set(x_26, 0, x_6); +x_16 = x_26; +goto block_22; +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); +lean_dec(x_26); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_6); +lean_ctor_set(x_32, 1, x_31); +x_16 = x_32; +goto block_22; +} +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_26); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_26, 0); +lean_dec(x_34); +x_35 = lean_array_push(x_6, x_25); +lean_ctor_set(x_26, 0, x_35); +x_16 = x_26; +goto block_22; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_26, 1); +lean_inc(x_36); +lean_dec(x_26); +x_37 = lean_array_push(x_6, x_25); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_16 = x_38; +goto block_22; +} +} +} } block_22: { @@ -43182,12 +41530,12 @@ goto _start; } else { -lean_object* x_332; +lean_object* x_209; lean_dec(x_1); -x_332 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_332, 0, x_6); -lean_ctor_set(x_332, 1, x_13); -return x_332; +x_209 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_209, 0, x_6); +lean_ctor_set(x_209, 1, x_13); +return x_209; } } } @@ -43257,1352 +41605,643 @@ goto block_22; } else { -lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_40; x_24 = lean_ctor_get(x_15, 0); lean_inc(x_24); lean_dec(x_15); x_25 = l_Lean_LocalDecl_fvarId(x_24); lean_inc(x_25); lean_inc(x_1); -x_26 = l_Lean_LocalContext_contains(x_1, x_25); -if (x_26 == 0) +x_40 = l_Lean_LocalContext_contains(x_1, x_25); +if (x_40 == 0) { -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = lean_array_get_size(x_2); -x_28 = lean_unsigned_to_nat(0u); -x_29 = lean_nat_dec_lt(x_28, x_27); -if (x_29 == 0) +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_array_get_size(x_2); +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_nat_dec_lt(x_42, x_41); +if (x_43 == 0) { -lean_object* x_30; lean_object* x_31; -lean_dec(x_27); +lean_object* x_44; lean_object* x_45; +lean_dec(x_41); lean_dec(x_24); -x_30 = lean_array_push(x_6, x_25); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_13); -x_16 = x_31; +x_44 = lean_array_push(x_6, x_25); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_13); +x_16 = x_45; goto block_22; } else { -uint8_t x_32; -x_32 = lean_nat_dec_le(x_27, x_27); -if (x_32 == 0) +uint8_t x_46; +x_46 = lean_nat_dec_le(x_41, x_41); +if (x_46 == 0) { -lean_object* x_33; lean_object* x_34; -lean_dec(x_27); +lean_object* x_47; lean_object* x_48; +lean_dec(x_41); lean_dec(x_24); -x_33 = lean_array_push(x_6, x_25); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_13); -x_16 = x_34; +x_47 = lean_array_push(x_6, x_25); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_13); +x_16 = x_48; goto block_22; } else { -size_t x_35; size_t x_36; uint8_t x_37; -x_35 = 0; -x_36 = lean_usize_of_nat(x_27); -lean_dec(x_27); -x_37 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(x_25, x_2, x_35, x_36); -if (x_37 == 0) +size_t x_49; size_t x_50; uint8_t x_51; +x_49 = 0; +x_50 = lean_usize_of_nat(x_41); +lean_dec(x_41); +x_51 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(x_25, x_2, x_49, x_50); +if (x_51 == 0) { -lean_object* x_38; lean_object* x_39; +lean_object* x_52; lean_object* x_53; lean_dec(x_24); -x_38 = lean_array_push(x_6, x_25); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_13); -x_16 = x_39; +x_52 = lean_array_push(x_6, x_25); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_13); +x_16 = x_53; goto block_22; } else { if (lean_obj_tag(x_24) == 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; uint8_t x_46; lean_object* x_47; lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; -x_40 = lean_ctor_get(x_24, 3); -lean_inc(x_40); +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; uint8_t x_63; +x_54 = lean_ctor_get(x_24, 3); +lean_inc(x_54); lean_dec(x_24); -x_41 = lean_st_ref_get(x_12, x_13); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_st_ref_get(x_10, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_164 = lean_ctor_get(x_44, 0); +x_55 = lean_st_ref_get(x_12, x_13); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_st_ref_get(x_10, x_56); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_ctor_get(x_58, 0); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +lean_inc(x_60); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Lean_Expr_hasFVar(x_54); +if (x_63 == 0) +{ +uint8_t x_64; +x_64 = l_Lean_Expr_hasMVar(x_54); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_dec(x_62); +lean_dec(x_54); +x_65 = lean_st_ref_get(x_12, x_59); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +lean_dec(x_65); +x_67 = lean_st_ref_take(x_10, x_66); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = !lean_is_exclusive(x_68); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_71 = lean_ctor_get(x_68, 0); +lean_dec(x_71); +lean_ctor_set(x_68, 0, x_60); +x_72 = lean_st_ref_set(x_10, x_68, x_69); +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; uint8_t x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_72, 0); +lean_dec(x_74); +x_75 = 0; +x_76 = lean_box(x_75); +lean_ctor_set(x_72, 0, x_76); +x_26 = x_72; +goto block_39; +} +else +{ +lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; +x_77 = lean_ctor_get(x_72, 1); +lean_inc(x_77); +lean_dec(x_72); +x_78 = 0; +x_79 = lean_box(x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_77); +x_26 = x_80; +goto block_39; +} +} +else +{ +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; uint8_t x_88; lean_object* x_89; lean_object* x_90; +x_81 = lean_ctor_get(x_68, 1); +x_82 = lean_ctor_get(x_68, 2); +x_83 = lean_ctor_get(x_68, 3); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_68); +x_84 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_84, 0, x_60); +lean_ctor_set(x_84, 1, x_81); +lean_ctor_set(x_84, 2, x_82); +lean_ctor_set(x_84, 3, x_83); +x_85 = lean_st_ref_set(x_10, x_84, x_69); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_87 = x_85; +} else { + lean_dec_ref(x_85); + x_87 = lean_box(0); +} +x_88 = 0; +x_89 = lean_box(x_88); +if (lean_is_scalar(x_87)) { + x_90 = lean_alloc_ctor(0, 2, 0); +} else { + x_90 = x_87; +} +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_86); +x_26 = x_90; +goto block_39; +} +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +lean_dec(x_60); +x_91 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(x_6, x_54, x_62); +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 0); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_st_ref_get(x_12, x_59); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec(x_95); +x_97 = lean_st_ref_take(x_10, x_96); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = !lean_is_exclusive(x_98); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; uint8_t x_103; +x_101 = lean_ctor_get(x_98, 0); +lean_dec(x_101); +lean_ctor_set(x_98, 0, x_94); +x_102 = lean_st_ref_set(x_10, x_98, x_99); +x_103 = !lean_is_exclusive(x_102); +if (x_103 == 0) +{ +lean_object* x_104; +x_104 = lean_ctor_get(x_102, 0); +lean_dec(x_104); +lean_ctor_set(x_102, 0, x_93); +x_26 = x_102; +goto block_39; +} +else +{ +lean_object* x_105; lean_object* x_106; +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +lean_dec(x_102); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_93); +lean_ctor_set(x_106, 1, x_105); +x_26 = x_106; +goto block_39; +} +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_107 = lean_ctor_get(x_98, 1); +x_108 = lean_ctor_get(x_98, 2); +x_109 = lean_ctor_get(x_98, 3); +lean_inc(x_109); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_98); +x_110 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_110, 0, x_94); +lean_ctor_set(x_110, 1, x_107); +lean_ctor_set(x_110, 2, x_108); +lean_ctor_set(x_110, 3, x_109); +x_111 = lean_st_ref_set(x_10, x_110, x_99); +x_112 = lean_ctor_get(x_111, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_113 = x_111; +} else { + lean_dec_ref(x_111); + x_113 = lean_box(0); +} +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(0, 2, 0); +} else { + x_114 = x_113; +} +lean_ctor_set(x_114, 0, x_93); +lean_ctor_set(x_114, 1, x_112); +x_26 = x_114; +goto block_39; +} +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +lean_dec(x_60); +x_115 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__11(x_6, x_54, x_62); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 0); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +x_119 = lean_st_ref_get(x_12, x_59); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +lean_dec(x_119); +x_121 = lean_st_ref_take(x_10, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = !lean_is_exclusive(x_122); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_125 = lean_ctor_get(x_122, 0); +lean_dec(x_125); +lean_ctor_set(x_122, 0, x_118); +x_126 = lean_st_ref_set(x_10, x_122, x_123); +x_127 = !lean_is_exclusive(x_126); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_126, 0); +lean_dec(x_128); +lean_ctor_set(x_126, 0, x_117); +x_26 = x_126; +goto block_39; +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_126, 1); +lean_inc(x_129); +lean_dec(x_126); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_117); +lean_ctor_set(x_130, 1, x_129); +x_26 = x_130; +goto block_39; +} +} +else +{ +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; +x_131 = lean_ctor_get(x_122, 1); +x_132 = lean_ctor_get(x_122, 2); +x_133 = lean_ctor_get(x_122, 3); +lean_inc(x_133); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_122); +x_134 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_134, 0, x_118); +lean_ctor_set(x_134, 1, x_131); +lean_ctor_set(x_134, 2, x_132); +lean_ctor_set(x_134, 3, x_133); +x_135 = lean_st_ref_set(x_10, x_134, x_123); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_137 = x_135; +} else { + lean_dec_ref(x_135); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(0, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_117); +lean_ctor_set(x_138, 1, x_136); +x_26 = x_138; +goto block_39; +} +} +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; lean_object* x_147; uint8_t x_180; lean_object* x_181; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; +x_139 = lean_ctor_get(x_24, 3); +lean_inc(x_139); +x_140 = lean_ctor_get(x_24, 4); +lean_inc(x_140); +lean_dec(x_24); +x_141 = lean_st_ref_get(x_12, x_13); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_143 = lean_st_ref_get(x_10, x_142); +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_194 = lean_ctor_get(x_144, 0); +lean_inc(x_194); +lean_dec(x_144); +x_195 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +x_197 = l_Lean_Expr_hasFVar(x_139); +if (x_197 == 0) +{ +uint8_t x_198; +x_198 = l_Lean_Expr_hasMVar(x_139); +if (x_198 == 0) +{ +uint8_t x_199; +lean_dec(x_139); +x_199 = 0; +x_180 = x_199; +x_181 = x_196; +goto block_193; +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_200 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__35(x_6, x_139, x_196); +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 1); +lean_inc(x_202); +lean_dec(x_200); +x_203 = lean_unbox(x_201); +lean_dec(x_201); +x_180 = x_203; +x_181 = x_202; +goto block_193; +} +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; +x_204 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(x_6, x_139, x_196); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +x_207 = lean_unbox(x_205); +lean_dec(x_205); +x_180 = x_207; +x_181 = x_206; +goto block_193; +} +block_179: +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = lean_st_ref_get(x_12, x_145); +x_150 = lean_ctor_get(x_149, 1); +lean_inc(x_150); +lean_dec(x_149); +x_151 = lean_st_ref_take(x_10, x_150); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); +x_154 = !lean_is_exclusive(x_152); +if (x_154 == 0) +{ +lean_object* x_155; lean_object* x_156; +x_155 = lean_ctor_get(x_152, 0); +lean_dec(x_155); +lean_ctor_set(x_152, 0, x_148); +x_156 = lean_st_ref_set(x_10, x_152, x_153); +if (x_146 == 0) +{ +uint8_t x_157; +lean_dec(x_25); +x_157 = !lean_is_exclusive(x_156); +if (x_157 == 0) +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_156, 0); +lean_dec(x_158); +lean_ctor_set(x_156, 0, x_6); +x_16 = x_156; +goto block_22; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_156, 1); +lean_inc(x_159); +lean_dec(x_156); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_6); +lean_ctor_set(x_160, 1, x_159); +x_16 = x_160; +goto block_22; +} +} +else +{ +uint8_t x_161; +x_161 = !lean_is_exclusive(x_156); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; +x_162 = lean_ctor_get(x_156, 0); +lean_dec(x_162); +x_163 = lean_array_push(x_6, x_25); +lean_ctor_set(x_156, 0, x_163); +x_16 = x_156; +goto block_22; +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_164 = lean_ctor_get(x_156, 1); lean_inc(x_164); -lean_dec(x_44); -x_165 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +lean_dec(x_156); +x_165 = lean_array_push(x_6, x_25); x_166 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_166, 0, x_165); lean_ctor_set(x_166, 1, x_164); -x_167 = l_Lean_Expr_hasFVar(x_40); -if (x_167 == 0) -{ -uint8_t x_168; -x_168 = l_Lean_Expr_hasMVar(x_40); -if (x_168 == 0) -{ -uint8_t x_169; -lean_dec(x_40); -x_169 = 0; -x_46 = x_169; -x_47 = x_166; -goto block_163; +x_16 = x_166; +goto block_22; +} +} } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_170 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(x_6, x_40, x_166); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_167 = lean_ctor_get(x_152, 1); +x_168 = lean_ctor_get(x_152, 2); +x_169 = lean_ctor_get(x_152, 3); +lean_inc(x_169); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_152); +x_170 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_170, 0, x_148); +lean_ctor_set(x_170, 1, x_167); +lean_ctor_set(x_170, 2, x_168); +lean_ctor_set(x_170, 3, x_169); +x_171 = lean_st_ref_set(x_10, x_170, x_153); +if (x_146 == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_25); +x_172 = lean_ctor_get(x_171, 1); lean_inc(x_172); -lean_dec(x_170); -x_173 = lean_unbox(x_171); -lean_dec(x_171); -x_46 = x_173; -x_47 = x_172; -goto block_163; +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_173 = x_171; +} else { + lean_dec_ref(x_171); + x_173 = lean_box(0); } +if (lean_is_scalar(x_173)) { + x_174 = lean_alloc_ctor(0, 2, 0); +} else { + x_174 = x_173; +} +lean_ctor_set(x_174, 0, x_6); +lean_ctor_set(x_174, 1, x_172); +x_16 = x_174; +goto block_22; } else { -lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_174 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__11(x_6, x_40, x_166); -x_175 = lean_ctor_get(x_174, 0); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_175 = lean_ctor_get(x_171, 1); lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = lean_unbox(x_175); -lean_dec(x_175); -x_46 = x_177; -x_47 = x_176; -goto block_163; +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_176 = x_171; +} else { + lean_dec_ref(x_171); + x_176 = lean_box(0); } -block_163: -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_st_ref_get(x_12, x_45); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_st_ref_take(x_10, x_50); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get_uint8(x_48, sizeof(void*)*8); -if (x_53 == 0) -{ -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; uint8_t x_64; -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -lean_dec(x_51); -x_56 = lean_ctor_get(x_48, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_48, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_48, 2); -lean_inc(x_58); -x_59 = lean_ctor_get(x_48, 3); -lean_inc(x_59); -x_60 = lean_ctor_get(x_48, 4); -lean_inc(x_60); -x_61 = lean_ctor_get(x_48, 5); -lean_inc(x_61); -x_62 = lean_ctor_get(x_48, 6); -lean_inc(x_62); -x_63 = lean_ctor_get(x_48, 7); -lean_inc(x_63); -lean_dec(x_48); -x_64 = !lean_is_exclusive(x_52); -if (x_64 == 0) -{ -lean_object* x_65; uint8_t x_66; -x_65 = lean_ctor_get(x_52, 0); -lean_dec(x_65); -x_66 = !lean_is_exclusive(x_54); -if (x_66 == 0) -{ -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; -x_67 = lean_ctor_get(x_54, 7); -lean_dec(x_67); -x_68 = lean_ctor_get(x_54, 6); -lean_dec(x_68); -x_69 = lean_ctor_get(x_54, 5); -lean_dec(x_69); -x_70 = lean_ctor_get(x_54, 4); -lean_dec(x_70); -x_71 = lean_ctor_get(x_54, 3); -lean_dec(x_71); -x_72 = lean_ctor_get(x_54, 2); -lean_dec(x_72); -x_73 = lean_ctor_get(x_54, 1); -lean_dec(x_73); -x_74 = lean_ctor_get(x_54, 0); -lean_dec(x_74); -lean_ctor_set(x_54, 7, x_63); -lean_ctor_set(x_54, 6, x_62); -lean_ctor_set(x_54, 5, x_61); -lean_ctor_set(x_54, 4, x_60); -lean_ctor_set(x_54, 3, x_59); -lean_ctor_set(x_54, 2, x_58); -lean_ctor_set(x_54, 1, x_57); -lean_ctor_set(x_54, 0, x_56); -x_75 = lean_st_ref_set(x_10, x_52, x_55); -if (x_46 == 0) -{ -uint8_t x_76; -lean_dec(x_25); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -lean_ctor_set(x_75, 0, x_6); -x_16 = x_75; -goto block_22; +x_177 = lean_array_push(x_6, x_25); +if (lean_is_scalar(x_176)) { + x_178 = lean_alloc_ctor(0, 2, 0); +} else { + x_178 = x_176; } -else -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_6); -lean_ctor_set(x_79, 1, x_78); -x_16 = x_79; -goto block_22; -} -} -else -{ -uint8_t x_80; -x_80 = !lean_is_exclusive(x_75); -if (x_80 == 0) -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_75, 0); -lean_dec(x_81); -x_82 = lean_array_push(x_6, x_25); -lean_ctor_set(x_75, 0, x_82); -x_16 = x_75; -goto block_22; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_75, 1); -lean_inc(x_83); -lean_dec(x_75); -x_84 = lean_array_push(x_6, x_25); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_16 = x_85; +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_175); +x_16 = x_178; goto block_22; } } } -else +block_193: { -uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -lean_dec(x_54); -x_87 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_87, 0, x_56); -lean_ctor_set(x_87, 1, x_57); -lean_ctor_set(x_87, 2, x_58); -lean_ctor_set(x_87, 3, x_59); -lean_ctor_set(x_87, 4, x_60); -lean_ctor_set(x_87, 5, x_61); -lean_ctor_set(x_87, 6, x_62); -lean_ctor_set(x_87, 7, x_63); -lean_ctor_set_uint8(x_87, sizeof(void*)*8, x_86); -lean_ctor_set(x_52, 0, x_87); -x_88 = lean_st_ref_set(x_10, x_52, x_55); -if (x_46 == 0) +if (x_180 == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_dec(x_25); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_90 = x_88; -} else { - lean_dec_ref(x_88); - x_90 = lean_box(0); -} -if (lean_is_scalar(x_90)) { - x_91 = lean_alloc_ctor(0, 2, 0); -} else { - x_91 = x_90; -} -lean_ctor_set(x_91, 0, x_6); -lean_ctor_set(x_91, 1, x_89); -x_16 = x_91; -goto block_22; +uint8_t x_182; +x_182 = l_Lean_Expr_hasFVar(x_140); +if (x_182 == 0) +{ +uint8_t x_183; +x_183 = l_Lean_Expr_hasMVar(x_140); +if (x_183 == 0) +{ +uint8_t x_184; +lean_dec(x_140); +x_184 = 0; +x_146 = x_184; +x_147 = x_181; +goto block_179; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_88, 1); -lean_inc(x_92); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_93 = x_88; -} else { - lean_dec_ref(x_88); - x_93 = lean_box(0); -} -x_94 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_93)) { - x_95 = lean_alloc_ctor(0, 2, 0); -} else { - x_95 = x_93; -} -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_92); -x_16 = x_95; -goto block_22; -} -} -} -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_52, 1); -x_97 = lean_ctor_get(x_52, 2); -x_98 = lean_ctor_get(x_52, 3); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_52); -x_99 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -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); - lean_ctor_release(x_54, 6); - lean_ctor_release(x_54, 7); - x_100 = x_54; -} else { - lean_dec_ref(x_54); - x_100 = lean_box(0); -} -if (lean_is_scalar(x_100)) { - x_101 = lean_alloc_ctor(0, 8, 1); -} else { - x_101 = x_100; -} -lean_ctor_set(x_101, 0, x_56); -lean_ctor_set(x_101, 1, x_57); -lean_ctor_set(x_101, 2, x_58); -lean_ctor_set(x_101, 3, x_59); -lean_ctor_set(x_101, 4, x_60); -lean_ctor_set(x_101, 5, x_61); -lean_ctor_set(x_101, 6, x_62); -lean_ctor_set(x_101, 7, x_63); -lean_ctor_set_uint8(x_101, sizeof(void*)*8, x_99); -x_102 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_96); -lean_ctor_set(x_102, 2, x_97); -lean_ctor_set(x_102, 3, x_98); -x_103 = lean_st_ref_set(x_10, x_102, x_55); -if (x_46 == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_25); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_105 = x_103; -} else { - lean_dec_ref(x_103); - x_105 = lean_box(0); -} -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_105; -} -lean_ctor_set(x_106, 0, x_6); -lean_ctor_set(x_106, 1, x_104); -x_16 = x_106; -goto block_22; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_103, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_108 = x_103; -} else { - lean_dec_ref(x_103); - x_108 = lean_box(0); -} -x_109 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_108)) { - x_110 = lean_alloc_ctor(0, 2, 0); -} else { - x_110 = x_108; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -x_16 = x_110; -goto block_22; -} -} -} -else -{ -lean_object* x_111; uint8_t x_112; -x_111 = lean_ctor_get(x_51, 1); -lean_inc(x_111); -lean_dec(x_51); -x_112 = !lean_is_exclusive(x_48); -if (x_112 == 0) -{ -uint8_t x_113; -x_113 = !lean_is_exclusive(x_52); -if (x_113 == 0) -{ -lean_object* x_114; uint8_t x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_52, 0); -lean_dec(x_114); -x_115 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_115); -lean_ctor_set(x_52, 0, x_48); -x_116 = lean_st_ref_set(x_10, x_52, x_111); -if (x_46 == 0) -{ -uint8_t x_117; -lean_dec(x_25); -x_117 = !lean_is_exclusive(x_116); -if (x_117 == 0) -{ -lean_object* x_118; -x_118 = lean_ctor_get(x_116, 0); -lean_dec(x_118); -lean_ctor_set(x_116, 0, x_6); -x_16 = x_116; -goto block_22; -} -else -{ -lean_object* x_119; lean_object* x_120; -x_119 = lean_ctor_get(x_116, 1); -lean_inc(x_119); -lean_dec(x_116); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_6); -lean_ctor_set(x_120, 1, x_119); -x_16 = x_120; -goto block_22; -} -} -else -{ -uint8_t x_121; -x_121 = !lean_is_exclusive(x_116); -if (x_121 == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_116, 0); -lean_dec(x_122); -x_123 = lean_array_push(x_6, x_25); -lean_ctor_set(x_116, 0, x_123); -x_16 = x_116; -goto block_22; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_116, 1); -lean_inc(x_124); -lean_dec(x_116); -x_125 = lean_array_push(x_6, x_25); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_16 = x_126; -goto block_22; -} -} -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; -x_127 = lean_ctor_get(x_52, 1); -x_128 = lean_ctor_get(x_52, 2); -x_129 = lean_ctor_get(x_52, 3); -lean_inc(x_129); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_52); -x_130 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_130); -x_131 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_131, 0, x_48); -lean_ctor_set(x_131, 1, x_127); -lean_ctor_set(x_131, 2, x_128); -lean_ctor_set(x_131, 3, x_129); -x_132 = lean_st_ref_set(x_10, x_131, x_111); -if (x_46 == 0) -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_25); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_134 = x_132; -} else { - lean_dec_ref(x_132); - x_134 = lean_box(0); -} -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(0, 2, 0); -} else { - x_135 = x_134; -} -lean_ctor_set(x_135, 0, x_6); -lean_ctor_set(x_135, 1, x_133); -x_16 = x_135; -goto block_22; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_136 = lean_ctor_get(x_132, 1); -lean_inc(x_136); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_137 = x_132; -} else { - lean_dec_ref(x_132); - x_137 = lean_box(0); -} -x_138 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_137)) { - x_139 = lean_alloc_ctor(0, 2, 0); -} else { - x_139 = x_137; -} -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_136); -x_16 = x_139; -goto block_22; -} -} -} -else -{ -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; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_140 = lean_ctor_get(x_48, 0); -x_141 = lean_ctor_get(x_48, 1); -x_142 = lean_ctor_get(x_48, 2); -x_143 = lean_ctor_get(x_48, 3); -x_144 = lean_ctor_get(x_48, 4); -x_145 = lean_ctor_get(x_48, 5); -x_146 = lean_ctor_get(x_48, 6); -x_147 = lean_ctor_get(x_48, 7); -lean_inc(x_147); -lean_inc(x_146); -lean_inc(x_145); -lean_inc(x_144); -lean_inc(x_143); -lean_inc(x_142); -lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_48); -x_148 = lean_ctor_get(x_52, 1); -lean_inc(x_148); -x_149 = lean_ctor_get(x_52, 2); -lean_inc(x_149); -x_150 = lean_ctor_get(x_52, 3); -lean_inc(x_150); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - lean_ctor_release(x_52, 3); - x_151 = x_52; -} else { - lean_dec_ref(x_52); - x_151 = lean_box(0); -} -x_152 = 1; -x_153 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_153, 0, x_140); -lean_ctor_set(x_153, 1, x_141); -lean_ctor_set(x_153, 2, x_142); -lean_ctor_set(x_153, 3, x_143); -lean_ctor_set(x_153, 4, x_144); -lean_ctor_set(x_153, 5, x_145); -lean_ctor_set(x_153, 6, x_146); -lean_ctor_set(x_153, 7, x_147); -lean_ctor_set_uint8(x_153, sizeof(void*)*8, x_152); -if (lean_is_scalar(x_151)) { - x_154 = lean_alloc_ctor(0, 4, 0); -} else { - x_154 = x_151; -} -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_148); -lean_ctor_set(x_154, 2, x_149); -lean_ctor_set(x_154, 3, x_150); -x_155 = lean_st_ref_set(x_10, x_154, x_111); -if (x_46 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; -lean_dec(x_25); -x_156 = lean_ctor_get(x_155, 1); -lean_inc(x_156); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_157 = x_155; -} else { - lean_dec_ref(x_155); - x_157 = lean_box(0); -} -if (lean_is_scalar(x_157)) { - x_158 = lean_alloc_ctor(0, 2, 0); -} else { - x_158 = x_157; -} -lean_ctor_set(x_158, 0, x_6); -lean_ctor_set(x_158, 1, x_156); -x_16 = x_158; -goto block_22; -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_159 = lean_ctor_get(x_155, 1); -lean_inc(x_159); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_160 = x_155; -} else { - lean_dec_ref(x_155); - x_160 = lean_box(0); -} -x_161 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_160)) { - x_162 = lean_alloc_ctor(0, 2, 0); -} else { - x_162 = x_160; -} -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_159); -x_16 = x_162; -goto block_22; -} -} -} -} -} -else -{ -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; uint8_t x_185; lean_object* x_186; uint8_t x_303; lean_object* x_304; lean_object* x_317; lean_object* x_318; lean_object* x_319; uint8_t x_320; -x_178 = lean_ctor_get(x_24, 3); -lean_inc(x_178); -x_179 = lean_ctor_get(x_24, 4); -lean_inc(x_179); -lean_dec(x_24); -x_180 = lean_st_ref_get(x_12, x_13); -x_181 = lean_ctor_get(x_180, 1); -lean_inc(x_181); -lean_dec(x_180); -x_182 = lean_st_ref_get(x_10, x_181); -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_317 = lean_ctor_get(x_183, 0); -lean_inc(x_317); -lean_dec(x_183); -x_318 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; -x_319 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_317); -x_320 = l_Lean_Expr_hasFVar(x_178); -if (x_320 == 0) -{ -uint8_t x_321; -x_321 = l_Lean_Expr_hasMVar(x_178); -if (x_321 == 0) -{ -uint8_t x_322; -lean_dec(x_178); -x_322 = 0; -x_303 = x_322; -x_304 = x_319; -goto block_316; -} -else -{ -lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; -x_323 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__35(x_6, x_178, x_319); -x_324 = lean_ctor_get(x_323, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_323, 1); -lean_inc(x_325); -lean_dec(x_323); -x_326 = lean_unbox(x_324); -lean_dec(x_324); -x_303 = x_326; -x_304 = x_325; -goto block_316; -} -} -else -{ -lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; -x_327 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(x_6, x_178, x_319); -x_328 = lean_ctor_get(x_327, 0); -lean_inc(x_328); -x_329 = lean_ctor_get(x_327, 1); -lean_inc(x_329); -lean_dec(x_327); -x_330 = lean_unbox(x_328); -lean_dec(x_328); -x_303 = x_330; -x_304 = x_329; -goto block_316; -} -block_302: -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; -x_187 = lean_ctor_get(x_186, 1); +lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_185 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__19(x_6, x_140, x_181); +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_185, 1); lean_inc(x_187); +lean_dec(x_185); +x_188 = lean_unbox(x_186); lean_dec(x_186); -x_188 = lean_st_ref_get(x_12, x_184); -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -lean_dec(x_188); -x_190 = lean_st_ref_take(x_10, x_189); -x_191 = lean_ctor_get(x_190, 0); +x_146 = x_188; +x_147 = x_187; +goto block_179; +} +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__27(x_6, x_140, x_181); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); lean_inc(x_191); -x_192 = lean_ctor_get_uint8(x_187, sizeof(void*)*8); -if (x_192 == 0) -{ -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; uint8_t x_203; -x_193 = lean_ctor_get(x_191, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_190, 1); -lean_inc(x_194); +lean_dec(x_189); +x_192 = lean_unbox(x_190); lean_dec(x_190); -x_195 = lean_ctor_get(x_187, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_187, 1); -lean_inc(x_196); -x_197 = lean_ctor_get(x_187, 2); -lean_inc(x_197); -x_198 = lean_ctor_get(x_187, 3); -lean_inc(x_198); -x_199 = lean_ctor_get(x_187, 4); -lean_inc(x_199); -x_200 = lean_ctor_get(x_187, 5); -lean_inc(x_200); -x_201 = lean_ctor_get(x_187, 6); -lean_inc(x_201); -x_202 = lean_ctor_get(x_187, 7); -lean_inc(x_202); -lean_dec(x_187); -x_203 = !lean_is_exclusive(x_191); -if (x_203 == 0) -{ -lean_object* x_204; uint8_t x_205; -x_204 = lean_ctor_get(x_191, 0); -lean_dec(x_204); -x_205 = !lean_is_exclusive(x_193); -if (x_205 == 0) -{ -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_206 = lean_ctor_get(x_193, 7); -lean_dec(x_206); -x_207 = lean_ctor_get(x_193, 6); -lean_dec(x_207); -x_208 = lean_ctor_get(x_193, 5); -lean_dec(x_208); -x_209 = lean_ctor_get(x_193, 4); -lean_dec(x_209); -x_210 = lean_ctor_get(x_193, 3); -lean_dec(x_210); -x_211 = lean_ctor_get(x_193, 2); -lean_dec(x_211); -x_212 = lean_ctor_get(x_193, 1); -lean_dec(x_212); -x_213 = lean_ctor_get(x_193, 0); -lean_dec(x_213); -lean_ctor_set(x_193, 7, x_202); -lean_ctor_set(x_193, 6, x_201); -lean_ctor_set(x_193, 5, x_200); -lean_ctor_set(x_193, 4, x_199); -lean_ctor_set(x_193, 3, x_198); -lean_ctor_set(x_193, 2, x_197); -lean_ctor_set(x_193, 1, x_196); -lean_ctor_set(x_193, 0, x_195); -x_214 = lean_st_ref_set(x_10, x_191, x_194); -if (x_185 == 0) -{ -uint8_t x_215; -lean_dec(x_25); -x_215 = !lean_is_exclusive(x_214); -if (x_215 == 0) -{ -lean_object* x_216; -x_216 = lean_ctor_get(x_214, 0); -lean_dec(x_216); -lean_ctor_set(x_214, 0, x_6); -x_16 = x_214; -goto block_22; -} -else -{ -lean_object* x_217; lean_object* x_218; -x_217 = lean_ctor_get(x_214, 1); -lean_inc(x_217); -lean_dec(x_214); -x_218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_218, 0, x_6); -lean_ctor_set(x_218, 1, x_217); -x_16 = x_218; -goto block_22; +x_146 = x_192; +x_147 = x_191; +goto block_179; } } else { -uint8_t x_219; -x_219 = !lean_is_exclusive(x_214); -if (x_219 == 0) -{ -lean_object* x_220; lean_object* x_221; -x_220 = lean_ctor_get(x_214, 0); -lean_dec(x_220); -x_221 = lean_array_push(x_6, x_25); -lean_ctor_set(x_214, 0, x_221); -x_16 = x_214; -goto block_22; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_214, 1); -lean_inc(x_222); -lean_dec(x_214); -x_223 = lean_array_push(x_6, x_25); -x_224 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_16 = x_224; -goto block_22; -} -} -} -else -{ -uint8_t x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get_uint8(x_193, sizeof(void*)*8); -lean_dec(x_193); -x_226 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_226, 0, x_195); -lean_ctor_set(x_226, 1, x_196); -lean_ctor_set(x_226, 2, x_197); -lean_ctor_set(x_226, 3, x_198); -lean_ctor_set(x_226, 4, x_199); -lean_ctor_set(x_226, 5, x_200); -lean_ctor_set(x_226, 6, x_201); -lean_ctor_set(x_226, 7, x_202); -lean_ctor_set_uint8(x_226, sizeof(void*)*8, x_225); -lean_ctor_set(x_191, 0, x_226); -x_227 = lean_st_ref_set(x_10, x_191, x_194); -if (x_185 == 0) -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_dec(x_25); -x_228 = lean_ctor_get(x_227, 1); -lean_inc(x_228); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_229 = x_227; -} else { - lean_dec_ref(x_227); - x_229 = lean_box(0); -} -if (lean_is_scalar(x_229)) { - x_230 = lean_alloc_ctor(0, 2, 0); -} else { - x_230 = x_229; -} -lean_ctor_set(x_230, 0, x_6); -lean_ctor_set(x_230, 1, x_228); -x_16 = x_230; -goto block_22; -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_231 = lean_ctor_get(x_227, 1); -lean_inc(x_231); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_232 = x_227; -} else { - lean_dec_ref(x_227); - x_232 = lean_box(0); -} -x_233 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_232)) { - x_234 = lean_alloc_ctor(0, 2, 0); -} else { - x_234 = x_232; -} -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_231); -x_16 = x_234; -goto block_22; -} -} -} -else -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_235 = lean_ctor_get(x_191, 1); -x_236 = lean_ctor_get(x_191, 2); -x_237 = lean_ctor_get(x_191, 3); -lean_inc(x_237); -lean_inc(x_236); -lean_inc(x_235); -lean_dec(x_191); -x_238 = lean_ctor_get_uint8(x_193, sizeof(void*)*8); -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); - lean_ctor_release(x_193, 6); - lean_ctor_release(x_193, 7); - x_239 = x_193; -} else { - lean_dec_ref(x_193); - x_239 = lean_box(0); -} -if (lean_is_scalar(x_239)) { - x_240 = lean_alloc_ctor(0, 8, 1); -} else { - x_240 = x_239; -} -lean_ctor_set(x_240, 0, x_195); -lean_ctor_set(x_240, 1, x_196); -lean_ctor_set(x_240, 2, x_197); -lean_ctor_set(x_240, 3, x_198); -lean_ctor_set(x_240, 4, x_199); -lean_ctor_set(x_240, 5, x_200); -lean_ctor_set(x_240, 6, x_201); -lean_ctor_set(x_240, 7, x_202); -lean_ctor_set_uint8(x_240, sizeof(void*)*8, x_238); -x_241 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_235); -lean_ctor_set(x_241, 2, x_236); -lean_ctor_set(x_241, 3, x_237); -x_242 = lean_st_ref_set(x_10, x_241, x_194); -if (x_185 == 0) -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; -lean_dec(x_25); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_244 = x_242; -} else { - lean_dec_ref(x_242); - x_244 = lean_box(0); -} -if (lean_is_scalar(x_244)) { - x_245 = lean_alloc_ctor(0, 2, 0); -} else { - x_245 = x_244; -} -lean_ctor_set(x_245, 0, x_6); -lean_ctor_set(x_245, 1, x_243); -x_16 = x_245; -goto block_22; -} -else -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_246 = lean_ctor_get(x_242, 1); -lean_inc(x_246); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_247 = x_242; -} else { - lean_dec_ref(x_242); - x_247 = lean_box(0); -} -x_248 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_247)) { - x_249 = lean_alloc_ctor(0, 2, 0); -} else { - x_249 = x_247; -} -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_246); -x_16 = x_249; -goto block_22; -} -} -} -else -{ -lean_object* x_250; uint8_t x_251; -x_250 = lean_ctor_get(x_190, 1); -lean_inc(x_250); -lean_dec(x_190); -x_251 = !lean_is_exclusive(x_187); -if (x_251 == 0) -{ -uint8_t x_252; -x_252 = !lean_is_exclusive(x_191); -if (x_252 == 0) -{ -lean_object* x_253; uint8_t x_254; lean_object* x_255; -x_253 = lean_ctor_get(x_191, 0); -lean_dec(x_253); -x_254 = 1; -lean_ctor_set_uint8(x_187, sizeof(void*)*8, x_254); -lean_ctor_set(x_191, 0, x_187); -x_255 = lean_st_ref_set(x_10, x_191, x_250); -if (x_185 == 0) -{ -uint8_t x_256; -lean_dec(x_25); -x_256 = !lean_is_exclusive(x_255); -if (x_256 == 0) -{ -lean_object* x_257; -x_257 = lean_ctor_get(x_255, 0); -lean_dec(x_257); -lean_ctor_set(x_255, 0, x_6); -x_16 = x_255; -goto block_22; -} -else -{ -lean_object* x_258; lean_object* x_259; -x_258 = lean_ctor_get(x_255, 1); -lean_inc(x_258); -lean_dec(x_255); -x_259 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_259, 0, x_6); -lean_ctor_set(x_259, 1, x_258); -x_16 = x_259; -goto block_22; -} -} -else -{ -uint8_t x_260; -x_260 = !lean_is_exclusive(x_255); -if (x_260 == 0) -{ -lean_object* x_261; lean_object* x_262; -x_261 = lean_ctor_get(x_255, 0); -lean_dec(x_261); -x_262 = lean_array_push(x_6, x_25); -lean_ctor_set(x_255, 0, x_262); -x_16 = x_255; -goto block_22; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_255, 1); -lean_inc(x_263); -lean_dec(x_255); -x_264 = lean_array_push(x_6, x_25); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_263); -x_16 = x_265; -goto block_22; -} -} -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; lean_object* x_270; lean_object* x_271; -x_266 = lean_ctor_get(x_191, 1); -x_267 = lean_ctor_get(x_191, 2); -x_268 = lean_ctor_get(x_191, 3); -lean_inc(x_268); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_191); -x_269 = 1; -lean_ctor_set_uint8(x_187, sizeof(void*)*8, x_269); -x_270 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_270, 0, x_187); -lean_ctor_set(x_270, 1, x_266); -lean_ctor_set(x_270, 2, x_267); -lean_ctor_set(x_270, 3, x_268); -x_271 = lean_st_ref_set(x_10, x_270, x_250); -if (x_185 == 0) -{ -lean_object* x_272; lean_object* x_273; lean_object* x_274; -lean_dec(x_25); -x_272 = lean_ctor_get(x_271, 1); -lean_inc(x_272); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_273 = x_271; -} else { - lean_dec_ref(x_271); - x_273 = lean_box(0); -} -if (lean_is_scalar(x_273)) { - x_274 = lean_alloc_ctor(0, 2, 0); -} else { - x_274 = x_273; -} -lean_ctor_set(x_274, 0, x_6); -lean_ctor_set(x_274, 1, x_272); -x_16 = x_274; -goto block_22; -} -else -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_275 = lean_ctor_get(x_271, 1); -lean_inc(x_275); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_276 = x_271; -} else { - lean_dec_ref(x_271); - x_276 = lean_box(0); -} -x_277 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_276)) { - x_278 = lean_alloc_ctor(0, 2, 0); -} else { - x_278 = x_276; -} -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_275); -x_16 = x_278; -goto block_22; -} -} -} -else -{ -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; lean_object* x_290; uint8_t x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_279 = lean_ctor_get(x_187, 0); -x_280 = lean_ctor_get(x_187, 1); -x_281 = lean_ctor_get(x_187, 2); -x_282 = lean_ctor_get(x_187, 3); -x_283 = lean_ctor_get(x_187, 4); -x_284 = lean_ctor_get(x_187, 5); -x_285 = lean_ctor_get(x_187, 6); -x_286 = lean_ctor_get(x_187, 7); -lean_inc(x_286); -lean_inc(x_285); -lean_inc(x_284); -lean_inc(x_283); -lean_inc(x_282); -lean_inc(x_281); -lean_inc(x_280); -lean_inc(x_279); -lean_dec(x_187); -x_287 = lean_ctor_get(x_191, 1); -lean_inc(x_287); -x_288 = lean_ctor_get(x_191, 2); -lean_inc(x_288); -x_289 = lean_ctor_get(x_191, 3); -lean_inc(x_289); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - lean_ctor_release(x_191, 2); - lean_ctor_release(x_191, 3); - x_290 = x_191; -} else { - lean_dec_ref(x_191); - x_290 = lean_box(0); -} -x_291 = 1; -x_292 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_292, 0, x_279); -lean_ctor_set(x_292, 1, x_280); -lean_ctor_set(x_292, 2, x_281); -lean_ctor_set(x_292, 3, x_282); -lean_ctor_set(x_292, 4, x_283); -lean_ctor_set(x_292, 5, x_284); -lean_ctor_set(x_292, 6, x_285); -lean_ctor_set(x_292, 7, x_286); -lean_ctor_set_uint8(x_292, sizeof(void*)*8, x_291); -if (lean_is_scalar(x_290)) { - x_293 = lean_alloc_ctor(0, 4, 0); -} else { - x_293 = x_290; -} -lean_ctor_set(x_293, 0, x_292); -lean_ctor_set(x_293, 1, x_287); -lean_ctor_set(x_293, 2, x_288); -lean_ctor_set(x_293, 3, x_289); -x_294 = lean_st_ref_set(x_10, x_293, x_250); -if (x_185 == 0) -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; -lean_dec(x_25); -x_295 = lean_ctor_get(x_294, 1); -lean_inc(x_295); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_296 = x_294; -} else { - lean_dec_ref(x_294); - x_296 = lean_box(0); -} -if (lean_is_scalar(x_296)) { - x_297 = lean_alloc_ctor(0, 2, 0); -} else { - x_297 = x_296; -} -lean_ctor_set(x_297, 0, x_6); -lean_ctor_set(x_297, 1, x_295); -x_16 = x_297; -goto block_22; -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_298 = lean_ctor_get(x_294, 1); -lean_inc(x_298); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_299 = x_294; -} else { - lean_dec_ref(x_294); - x_299 = lean_box(0); -} -x_300 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_299)) { - x_301 = lean_alloc_ctor(0, 2, 0); -} else { - x_301 = x_299; -} -lean_ctor_set(x_301, 0, x_300); -lean_ctor_set(x_301, 1, x_298); -x_16 = x_301; -goto block_22; -} -} -} -} -block_316: -{ -if (x_303 == 0) -{ -uint8_t x_305; -x_305 = l_Lean_Expr_hasFVar(x_179); -if (x_305 == 0) -{ -uint8_t x_306; -x_306 = l_Lean_Expr_hasMVar(x_179); -if (x_306 == 0) -{ -uint8_t x_307; -lean_dec(x_179); -x_307 = 0; -x_185 = x_307; -x_186 = x_304; -goto block_302; -} -else -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; uint8_t x_311; -x_308 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__19(x_6, x_179, x_304); -x_309 = lean_ctor_get(x_308, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_308, 1); -lean_inc(x_310); -lean_dec(x_308); -x_311 = lean_unbox(x_309); -lean_dec(x_309); -x_185 = x_311; -x_186 = x_310; -goto block_302; -} -} -else -{ -lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; -x_312 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__27(x_6, x_179, x_304); -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec(x_312); -x_315 = lean_unbox(x_313); -lean_dec(x_313); -x_185 = x_315; -x_186 = x_314; -goto block_302; -} -} -else -{ -lean_dec(x_179); -x_185 = x_303; -x_186 = x_304; -goto block_302; +lean_dec(x_140); +x_146 = x_180; +x_147 = x_181; +goto block_179; } } } @@ -44612,15 +42251,78 @@ goto block_302; } else { -lean_object* x_331; +lean_object* x_208; lean_dec(x_25); lean_dec(x_24); -x_331 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_331, 0, x_6); -lean_ctor_set(x_331, 1, x_13); -x_16 = x_331; +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_6); +lean_ctor_set(x_208, 1, x_13); +x_16 = x_208; goto block_22; } +block_39: +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_unbox(x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +uint8_t x_29; +lean_dec(x_25); +x_29 = !lean_is_exclusive(x_26); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_26, 0); +lean_dec(x_30); +lean_ctor_set(x_26, 0, x_6); +x_16 = x_26; +goto block_22; +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); +lean_dec(x_26); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_6); +lean_ctor_set(x_32, 1, x_31); +x_16 = x_32; +goto block_22; +} +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_26); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_26, 0); +lean_dec(x_34); +x_35 = lean_array_push(x_6, x_25); +lean_ctor_set(x_26, 0, x_35); +x_16 = x_26; +goto block_22; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_26, 1); +lean_inc(x_36); +lean_dec(x_26); +x_37 = lean_array_push(x_6, x_25); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_16 = x_38; +goto block_22; +} +} +} } block_22: { @@ -44640,12 +42342,12 @@ goto _start; } else { -lean_object* x_332; +lean_object* x_209; lean_dec(x_1); -x_332 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_332, 0, x_6); -lean_ctor_set(x_332, 1, x_13); -return x_332; +x_209 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_209, 0, x_6); +lean_ctor_set(x_209, 1, x_13); +return x_209; } } } @@ -44798,1352 +42500,643 @@ goto block_22; } else { -lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_40; x_24 = lean_ctor_get(x_15, 0); lean_inc(x_24); lean_dec(x_15); x_25 = l_Lean_LocalDecl_fvarId(x_24); lean_inc(x_25); lean_inc(x_1); -x_26 = l_Lean_LocalContext_contains(x_1, x_25); -if (x_26 == 0) +x_40 = l_Lean_LocalContext_contains(x_1, x_25); +if (x_40 == 0) { -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = lean_array_get_size(x_2); -x_28 = lean_unsigned_to_nat(0u); -x_29 = lean_nat_dec_lt(x_28, x_27); -if (x_29 == 0) +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_array_get_size(x_2); +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_nat_dec_lt(x_42, x_41); +if (x_43 == 0) { -lean_object* x_30; lean_object* x_31; -lean_dec(x_27); +lean_object* x_44; lean_object* x_45; +lean_dec(x_41); lean_dec(x_24); -x_30 = lean_array_push(x_6, x_25); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_13); -x_16 = x_31; +x_44 = lean_array_push(x_6, x_25); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_13); +x_16 = x_45; goto block_22; } else { -uint8_t x_32; -x_32 = lean_nat_dec_le(x_27, x_27); -if (x_32 == 0) +uint8_t x_46; +x_46 = lean_nat_dec_le(x_41, x_41); +if (x_46 == 0) { -lean_object* x_33; lean_object* x_34; -lean_dec(x_27); +lean_object* x_47; lean_object* x_48; +lean_dec(x_41); lean_dec(x_24); -x_33 = lean_array_push(x_6, x_25); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_13); -x_16 = x_34; +x_47 = lean_array_push(x_6, x_25); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_13); +x_16 = x_48; goto block_22; } else { -size_t x_35; size_t x_36; uint8_t x_37; -x_35 = 0; -x_36 = lean_usize_of_nat(x_27); -lean_dec(x_27); -x_37 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(x_25, x_2, x_35, x_36); -if (x_37 == 0) +size_t x_49; size_t x_50; uint8_t x_51; +x_49 = 0; +x_50 = lean_usize_of_nat(x_41); +lean_dec(x_41); +x_51 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__2(x_25, x_2, x_49, x_50); +if (x_51 == 0) { -lean_object* x_38; lean_object* x_39; +lean_object* x_52; lean_object* x_53; lean_dec(x_24); -x_38 = lean_array_push(x_6, x_25); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_13); -x_16 = x_39; +x_52 = lean_array_push(x_6, x_25); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_13); +x_16 = x_53; goto block_22; } else { if (lean_obj_tag(x_24) == 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; uint8_t x_46; lean_object* x_47; lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; -x_40 = lean_ctor_get(x_24, 3); -lean_inc(x_40); +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; uint8_t x_63; +x_54 = lean_ctor_get(x_24, 3); +lean_inc(x_54); lean_dec(x_24); -x_41 = lean_st_ref_get(x_12, x_13); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_st_ref_get(x_10, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_164 = lean_ctor_get(x_44, 0); +x_55 = lean_st_ref_get(x_12, x_13); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_st_ref_get(x_10, x_56); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_ctor_get(x_58, 0); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +lean_inc(x_60); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Lean_Expr_hasFVar(x_54); +if (x_63 == 0) +{ +uint8_t x_64; +x_64 = l_Lean_Expr_hasMVar(x_54); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_dec(x_62); +lean_dec(x_54); +x_65 = lean_st_ref_get(x_12, x_59); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +lean_dec(x_65); +x_67 = lean_st_ref_take(x_10, x_66); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = !lean_is_exclusive(x_68); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_71 = lean_ctor_get(x_68, 0); +lean_dec(x_71); +lean_ctor_set(x_68, 0, x_60); +x_72 = lean_st_ref_set(x_10, x_68, x_69); +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; uint8_t x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_72, 0); +lean_dec(x_74); +x_75 = 0; +x_76 = lean_box(x_75); +lean_ctor_set(x_72, 0, x_76); +x_26 = x_72; +goto block_39; +} +else +{ +lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; +x_77 = lean_ctor_get(x_72, 1); +lean_inc(x_77); +lean_dec(x_72); +x_78 = 0; +x_79 = lean_box(x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_77); +x_26 = x_80; +goto block_39; +} +} +else +{ +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; uint8_t x_88; lean_object* x_89; lean_object* x_90; +x_81 = lean_ctor_get(x_68, 1); +x_82 = lean_ctor_get(x_68, 2); +x_83 = lean_ctor_get(x_68, 3); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_68); +x_84 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_84, 0, x_60); +lean_ctor_set(x_84, 1, x_81); +lean_ctor_set(x_84, 2, x_82); +lean_ctor_set(x_84, 3, x_83); +x_85 = lean_st_ref_set(x_10, x_84, x_69); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_87 = x_85; +} else { + lean_dec_ref(x_85); + x_87 = lean_box(0); +} +x_88 = 0; +x_89 = lean_box(x_88); +if (lean_is_scalar(x_87)) { + x_90 = lean_alloc_ctor(0, 2, 0); +} else { + x_90 = x_87; +} +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_86); +x_26 = x_90; +goto block_39; +} +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +lean_dec(x_60); +x_91 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(x_6, x_54, x_62); +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 0); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_st_ref_get(x_12, x_59); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec(x_95); +x_97 = lean_st_ref_take(x_10, x_96); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = !lean_is_exclusive(x_98); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; uint8_t x_103; +x_101 = lean_ctor_get(x_98, 0); +lean_dec(x_101); +lean_ctor_set(x_98, 0, x_94); +x_102 = lean_st_ref_set(x_10, x_98, x_99); +x_103 = !lean_is_exclusive(x_102); +if (x_103 == 0) +{ +lean_object* x_104; +x_104 = lean_ctor_get(x_102, 0); +lean_dec(x_104); +lean_ctor_set(x_102, 0, x_93); +x_26 = x_102; +goto block_39; +} +else +{ +lean_object* x_105; lean_object* x_106; +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +lean_dec(x_102); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_93); +lean_ctor_set(x_106, 1, x_105); +x_26 = x_106; +goto block_39; +} +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_107 = lean_ctor_get(x_98, 1); +x_108 = lean_ctor_get(x_98, 2); +x_109 = lean_ctor_get(x_98, 3); +lean_inc(x_109); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_98); +x_110 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_110, 0, x_94); +lean_ctor_set(x_110, 1, x_107); +lean_ctor_set(x_110, 2, x_108); +lean_ctor_set(x_110, 3, x_109); +x_111 = lean_st_ref_set(x_10, x_110, x_99); +x_112 = lean_ctor_get(x_111, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_113 = x_111; +} else { + lean_dec_ref(x_111); + x_113 = lean_box(0); +} +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(0, 2, 0); +} else { + x_114 = x_113; +} +lean_ctor_set(x_114, 0, x_93); +lean_ctor_set(x_114, 1, x_112); +x_26 = x_114; +goto block_39; +} +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +lean_dec(x_60); +x_115 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__11(x_6, x_54, x_62); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 0); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +x_119 = lean_st_ref_get(x_12, x_59); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +lean_dec(x_119); +x_121 = lean_st_ref_take(x_10, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = !lean_is_exclusive(x_122); +if (x_124 == 0) +{ +lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_125 = lean_ctor_get(x_122, 0); +lean_dec(x_125); +lean_ctor_set(x_122, 0, x_118); +x_126 = lean_st_ref_set(x_10, x_122, x_123); +x_127 = !lean_is_exclusive(x_126); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_126, 0); +lean_dec(x_128); +lean_ctor_set(x_126, 0, x_117); +x_26 = x_126; +goto block_39; +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_126, 1); +lean_inc(x_129); +lean_dec(x_126); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_117); +lean_ctor_set(x_130, 1, x_129); +x_26 = x_130; +goto block_39; +} +} +else +{ +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; +x_131 = lean_ctor_get(x_122, 1); +x_132 = lean_ctor_get(x_122, 2); +x_133 = lean_ctor_get(x_122, 3); +lean_inc(x_133); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_122); +x_134 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_134, 0, x_118); +lean_ctor_set(x_134, 1, x_131); +lean_ctor_set(x_134, 2, x_132); +lean_ctor_set(x_134, 3, x_133); +x_135 = lean_st_ref_set(x_10, x_134, x_123); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_137 = x_135; +} else { + lean_dec_ref(x_135); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(0, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_117); +lean_ctor_set(x_138, 1, x_136); +x_26 = x_138; +goto block_39; +} +} +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; lean_object* x_147; uint8_t x_180; lean_object* x_181; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; +x_139 = lean_ctor_get(x_24, 3); +lean_inc(x_139); +x_140 = lean_ctor_get(x_24, 4); +lean_inc(x_140); +lean_dec(x_24); +x_141 = lean_st_ref_get(x_12, x_13); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_143 = lean_st_ref_get(x_10, x_142); +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_194 = lean_ctor_get(x_144, 0); +lean_inc(x_194); +lean_dec(x_144); +x_195 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +x_197 = l_Lean_Expr_hasFVar(x_139); +if (x_197 == 0) +{ +uint8_t x_198; +x_198 = l_Lean_Expr_hasMVar(x_139); +if (x_198 == 0) +{ +uint8_t x_199; +lean_dec(x_139); +x_199 = 0; +x_180 = x_199; +x_181 = x_196; +goto block_193; +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_200 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__35(x_6, x_139, x_196); +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 1); +lean_inc(x_202); +lean_dec(x_200); +x_203 = lean_unbox(x_201); +lean_dec(x_201); +x_180 = x_203; +x_181 = x_202; +goto block_193; +} +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; +x_204 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(x_6, x_139, x_196); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +x_207 = lean_unbox(x_205); +lean_dec(x_205); +x_180 = x_207; +x_181 = x_206; +goto block_193; +} +block_179: +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = lean_st_ref_get(x_12, x_145); +x_150 = lean_ctor_get(x_149, 1); +lean_inc(x_150); +lean_dec(x_149); +x_151 = lean_st_ref_take(x_10, x_150); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); +x_154 = !lean_is_exclusive(x_152); +if (x_154 == 0) +{ +lean_object* x_155; lean_object* x_156; +x_155 = lean_ctor_get(x_152, 0); +lean_dec(x_155); +lean_ctor_set(x_152, 0, x_148); +x_156 = lean_st_ref_set(x_10, x_152, x_153); +if (x_146 == 0) +{ +uint8_t x_157; +lean_dec(x_25); +x_157 = !lean_is_exclusive(x_156); +if (x_157 == 0) +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_156, 0); +lean_dec(x_158); +lean_ctor_set(x_156, 0, x_6); +x_16 = x_156; +goto block_22; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_156, 1); +lean_inc(x_159); +lean_dec(x_156); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_6); +lean_ctor_set(x_160, 1, x_159); +x_16 = x_160; +goto block_22; +} +} +else +{ +uint8_t x_161; +x_161 = !lean_is_exclusive(x_156); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; +x_162 = lean_ctor_get(x_156, 0); +lean_dec(x_162); +x_163 = lean_array_push(x_6, x_25); +lean_ctor_set(x_156, 0, x_163); +x_16 = x_156; +goto block_22; +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_164 = lean_ctor_get(x_156, 1); lean_inc(x_164); -lean_dec(x_44); -x_165 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; +lean_dec(x_156); +x_165 = lean_array_push(x_6, x_25); x_166 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_166, 0, x_165); lean_ctor_set(x_166, 1, x_164); -x_167 = l_Lean_Expr_hasFVar(x_40); -if (x_167 == 0) -{ -uint8_t x_168; -x_168 = l_Lean_Expr_hasMVar(x_40); -if (x_168 == 0) -{ -uint8_t x_169; -lean_dec(x_40); -x_169 = 0; -x_46 = x_169; -x_47 = x_166; -goto block_163; +x_16 = x_166; +goto block_22; +} +} } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_170 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__3(x_6, x_40, x_166); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_167 = lean_ctor_get(x_152, 1); +x_168 = lean_ctor_get(x_152, 2); +x_169 = lean_ctor_get(x_152, 3); +lean_inc(x_169); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_152); +x_170 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_170, 0, x_148); +lean_ctor_set(x_170, 1, x_167); +lean_ctor_set(x_170, 2, x_168); +lean_ctor_set(x_170, 3, x_169); +x_171 = lean_st_ref_set(x_10, x_170, x_153); +if (x_146 == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_25); +x_172 = lean_ctor_get(x_171, 1); lean_inc(x_172); -lean_dec(x_170); -x_173 = lean_unbox(x_171); -lean_dec(x_171); -x_46 = x_173; -x_47 = x_172; -goto block_163; +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_173 = x_171; +} else { + lean_dec_ref(x_171); + x_173 = lean_box(0); } +if (lean_is_scalar(x_173)) { + x_174 = lean_alloc_ctor(0, 2, 0); +} else { + x_174 = x_173; +} +lean_ctor_set(x_174, 0, x_6); +lean_ctor_set(x_174, 1, x_172); +x_16 = x_174; +goto block_22; } else { -lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_174 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__11(x_6, x_40, x_166); -x_175 = lean_ctor_get(x_174, 0); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_175 = lean_ctor_get(x_171, 1); lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = lean_unbox(x_175); -lean_dec(x_175); -x_46 = x_177; -x_47 = x_176; -goto block_163; +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_176 = x_171; +} else { + lean_dec_ref(x_171); + x_176 = lean_box(0); } -block_163: -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_st_ref_get(x_12, x_45); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_st_ref_take(x_10, x_50); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get_uint8(x_48, sizeof(void*)*8); -if (x_53 == 0) -{ -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; uint8_t x_64; -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -lean_dec(x_51); -x_56 = lean_ctor_get(x_48, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_48, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_48, 2); -lean_inc(x_58); -x_59 = lean_ctor_get(x_48, 3); -lean_inc(x_59); -x_60 = lean_ctor_get(x_48, 4); -lean_inc(x_60); -x_61 = lean_ctor_get(x_48, 5); -lean_inc(x_61); -x_62 = lean_ctor_get(x_48, 6); -lean_inc(x_62); -x_63 = lean_ctor_get(x_48, 7); -lean_inc(x_63); -lean_dec(x_48); -x_64 = !lean_is_exclusive(x_52); -if (x_64 == 0) -{ -lean_object* x_65; uint8_t x_66; -x_65 = lean_ctor_get(x_52, 0); -lean_dec(x_65); -x_66 = !lean_is_exclusive(x_54); -if (x_66 == 0) -{ -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; -x_67 = lean_ctor_get(x_54, 7); -lean_dec(x_67); -x_68 = lean_ctor_get(x_54, 6); -lean_dec(x_68); -x_69 = lean_ctor_get(x_54, 5); -lean_dec(x_69); -x_70 = lean_ctor_get(x_54, 4); -lean_dec(x_70); -x_71 = lean_ctor_get(x_54, 3); -lean_dec(x_71); -x_72 = lean_ctor_get(x_54, 2); -lean_dec(x_72); -x_73 = lean_ctor_get(x_54, 1); -lean_dec(x_73); -x_74 = lean_ctor_get(x_54, 0); -lean_dec(x_74); -lean_ctor_set(x_54, 7, x_63); -lean_ctor_set(x_54, 6, x_62); -lean_ctor_set(x_54, 5, x_61); -lean_ctor_set(x_54, 4, x_60); -lean_ctor_set(x_54, 3, x_59); -lean_ctor_set(x_54, 2, x_58); -lean_ctor_set(x_54, 1, x_57); -lean_ctor_set(x_54, 0, x_56); -x_75 = lean_st_ref_set(x_10, x_52, x_55); -if (x_46 == 0) -{ -uint8_t x_76; -lean_dec(x_25); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -lean_ctor_set(x_75, 0, x_6); -x_16 = x_75; -goto block_22; +x_177 = lean_array_push(x_6, x_25); +if (lean_is_scalar(x_176)) { + x_178 = lean_alloc_ctor(0, 2, 0); +} else { + x_178 = x_176; } -else -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_6); -lean_ctor_set(x_79, 1, x_78); -x_16 = x_79; -goto block_22; -} -} -else -{ -uint8_t x_80; -x_80 = !lean_is_exclusive(x_75); -if (x_80 == 0) -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_75, 0); -lean_dec(x_81); -x_82 = lean_array_push(x_6, x_25); -lean_ctor_set(x_75, 0, x_82); -x_16 = x_75; -goto block_22; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_75, 1); -lean_inc(x_83); -lean_dec(x_75); -x_84 = lean_array_push(x_6, x_25); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_16 = x_85; +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_175); +x_16 = x_178; goto block_22; } } } -else +block_193: { -uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -lean_dec(x_54); -x_87 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_87, 0, x_56); -lean_ctor_set(x_87, 1, x_57); -lean_ctor_set(x_87, 2, x_58); -lean_ctor_set(x_87, 3, x_59); -lean_ctor_set(x_87, 4, x_60); -lean_ctor_set(x_87, 5, x_61); -lean_ctor_set(x_87, 6, x_62); -lean_ctor_set(x_87, 7, x_63); -lean_ctor_set_uint8(x_87, sizeof(void*)*8, x_86); -lean_ctor_set(x_52, 0, x_87); -x_88 = lean_st_ref_set(x_10, x_52, x_55); -if (x_46 == 0) +if (x_180 == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_dec(x_25); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_90 = x_88; -} else { - lean_dec_ref(x_88); - x_90 = lean_box(0); -} -if (lean_is_scalar(x_90)) { - x_91 = lean_alloc_ctor(0, 2, 0); -} else { - x_91 = x_90; -} -lean_ctor_set(x_91, 0, x_6); -lean_ctor_set(x_91, 1, x_89); -x_16 = x_91; -goto block_22; +uint8_t x_182; +x_182 = l_Lean_Expr_hasFVar(x_140); +if (x_182 == 0) +{ +uint8_t x_183; +x_183 = l_Lean_Expr_hasMVar(x_140); +if (x_183 == 0) +{ +uint8_t x_184; +lean_dec(x_140); +x_184 = 0; +x_146 = x_184; +x_147 = x_181; +goto block_179; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_88, 1); -lean_inc(x_92); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_93 = x_88; -} else { - lean_dec_ref(x_88); - x_93 = lean_box(0); -} -x_94 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_93)) { - x_95 = lean_alloc_ctor(0, 2, 0); -} else { - x_95 = x_93; -} -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_92); -x_16 = x_95; -goto block_22; -} -} -} -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_52, 1); -x_97 = lean_ctor_get(x_52, 2); -x_98 = lean_ctor_get(x_52, 3); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_52); -x_99 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -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); - lean_ctor_release(x_54, 6); - lean_ctor_release(x_54, 7); - x_100 = x_54; -} else { - lean_dec_ref(x_54); - x_100 = lean_box(0); -} -if (lean_is_scalar(x_100)) { - x_101 = lean_alloc_ctor(0, 8, 1); -} else { - x_101 = x_100; -} -lean_ctor_set(x_101, 0, x_56); -lean_ctor_set(x_101, 1, x_57); -lean_ctor_set(x_101, 2, x_58); -lean_ctor_set(x_101, 3, x_59); -lean_ctor_set(x_101, 4, x_60); -lean_ctor_set(x_101, 5, x_61); -lean_ctor_set(x_101, 6, x_62); -lean_ctor_set(x_101, 7, x_63); -lean_ctor_set_uint8(x_101, sizeof(void*)*8, x_99); -x_102 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_96); -lean_ctor_set(x_102, 2, x_97); -lean_ctor_set(x_102, 3, x_98); -x_103 = lean_st_ref_set(x_10, x_102, x_55); -if (x_46 == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_25); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_105 = x_103; -} else { - lean_dec_ref(x_103); - x_105 = lean_box(0); -} -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_105; -} -lean_ctor_set(x_106, 0, x_6); -lean_ctor_set(x_106, 1, x_104); -x_16 = x_106; -goto block_22; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_103, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_108 = x_103; -} else { - lean_dec_ref(x_103); - x_108 = lean_box(0); -} -x_109 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_108)) { - x_110 = lean_alloc_ctor(0, 2, 0); -} else { - x_110 = x_108; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -x_16 = x_110; -goto block_22; -} -} -} -else -{ -lean_object* x_111; uint8_t x_112; -x_111 = lean_ctor_get(x_51, 1); -lean_inc(x_111); -lean_dec(x_51); -x_112 = !lean_is_exclusive(x_48); -if (x_112 == 0) -{ -uint8_t x_113; -x_113 = !lean_is_exclusive(x_52); -if (x_113 == 0) -{ -lean_object* x_114; uint8_t x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_52, 0); -lean_dec(x_114); -x_115 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_115); -lean_ctor_set(x_52, 0, x_48); -x_116 = lean_st_ref_set(x_10, x_52, x_111); -if (x_46 == 0) -{ -uint8_t x_117; -lean_dec(x_25); -x_117 = !lean_is_exclusive(x_116); -if (x_117 == 0) -{ -lean_object* x_118; -x_118 = lean_ctor_get(x_116, 0); -lean_dec(x_118); -lean_ctor_set(x_116, 0, x_6); -x_16 = x_116; -goto block_22; -} -else -{ -lean_object* x_119; lean_object* x_120; -x_119 = lean_ctor_get(x_116, 1); -lean_inc(x_119); -lean_dec(x_116); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_6); -lean_ctor_set(x_120, 1, x_119); -x_16 = x_120; -goto block_22; -} -} -else -{ -uint8_t x_121; -x_121 = !lean_is_exclusive(x_116); -if (x_121 == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_116, 0); -lean_dec(x_122); -x_123 = lean_array_push(x_6, x_25); -lean_ctor_set(x_116, 0, x_123); -x_16 = x_116; -goto block_22; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_116, 1); -lean_inc(x_124); -lean_dec(x_116); -x_125 = lean_array_push(x_6, x_25); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_16 = x_126; -goto block_22; -} -} -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; -x_127 = lean_ctor_get(x_52, 1); -x_128 = lean_ctor_get(x_52, 2); -x_129 = lean_ctor_get(x_52, 3); -lean_inc(x_129); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_52); -x_130 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_130); -x_131 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_131, 0, x_48); -lean_ctor_set(x_131, 1, x_127); -lean_ctor_set(x_131, 2, x_128); -lean_ctor_set(x_131, 3, x_129); -x_132 = lean_st_ref_set(x_10, x_131, x_111); -if (x_46 == 0) -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_25); -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_134 = x_132; -} else { - lean_dec_ref(x_132); - x_134 = lean_box(0); -} -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(0, 2, 0); -} else { - x_135 = x_134; -} -lean_ctor_set(x_135, 0, x_6); -lean_ctor_set(x_135, 1, x_133); -x_16 = x_135; -goto block_22; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_136 = lean_ctor_get(x_132, 1); -lean_inc(x_136); -if (lean_is_exclusive(x_132)) { - lean_ctor_release(x_132, 0); - lean_ctor_release(x_132, 1); - x_137 = x_132; -} else { - lean_dec_ref(x_132); - x_137 = lean_box(0); -} -x_138 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_137)) { - x_139 = lean_alloc_ctor(0, 2, 0); -} else { - x_139 = x_137; -} -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_136); -x_16 = x_139; -goto block_22; -} -} -} -else -{ -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; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_140 = lean_ctor_get(x_48, 0); -x_141 = lean_ctor_get(x_48, 1); -x_142 = lean_ctor_get(x_48, 2); -x_143 = lean_ctor_get(x_48, 3); -x_144 = lean_ctor_get(x_48, 4); -x_145 = lean_ctor_get(x_48, 5); -x_146 = lean_ctor_get(x_48, 6); -x_147 = lean_ctor_get(x_48, 7); -lean_inc(x_147); -lean_inc(x_146); -lean_inc(x_145); -lean_inc(x_144); -lean_inc(x_143); -lean_inc(x_142); -lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_48); -x_148 = lean_ctor_get(x_52, 1); -lean_inc(x_148); -x_149 = lean_ctor_get(x_52, 2); -lean_inc(x_149); -x_150 = lean_ctor_get(x_52, 3); -lean_inc(x_150); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - lean_ctor_release(x_52, 3); - x_151 = x_52; -} else { - lean_dec_ref(x_52); - x_151 = lean_box(0); -} -x_152 = 1; -x_153 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_153, 0, x_140); -lean_ctor_set(x_153, 1, x_141); -lean_ctor_set(x_153, 2, x_142); -lean_ctor_set(x_153, 3, x_143); -lean_ctor_set(x_153, 4, x_144); -lean_ctor_set(x_153, 5, x_145); -lean_ctor_set(x_153, 6, x_146); -lean_ctor_set(x_153, 7, x_147); -lean_ctor_set_uint8(x_153, sizeof(void*)*8, x_152); -if (lean_is_scalar(x_151)) { - x_154 = lean_alloc_ctor(0, 4, 0); -} else { - x_154 = x_151; -} -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_148); -lean_ctor_set(x_154, 2, x_149); -lean_ctor_set(x_154, 3, x_150); -x_155 = lean_st_ref_set(x_10, x_154, x_111); -if (x_46 == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; -lean_dec(x_25); -x_156 = lean_ctor_get(x_155, 1); -lean_inc(x_156); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_157 = x_155; -} else { - lean_dec_ref(x_155); - x_157 = lean_box(0); -} -if (lean_is_scalar(x_157)) { - x_158 = lean_alloc_ctor(0, 2, 0); -} else { - x_158 = x_157; -} -lean_ctor_set(x_158, 0, x_6); -lean_ctor_set(x_158, 1, x_156); -x_16 = x_158; -goto block_22; -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_159 = lean_ctor_get(x_155, 1); -lean_inc(x_159); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_160 = x_155; -} else { - lean_dec_ref(x_155); - x_160 = lean_box(0); -} -x_161 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_160)) { - x_162 = lean_alloc_ctor(0, 2, 0); -} else { - x_162 = x_160; -} -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_159); -x_16 = x_162; -goto block_22; -} -} -} -} -} -else -{ -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; uint8_t x_185; lean_object* x_186; uint8_t x_303; lean_object* x_304; lean_object* x_317; lean_object* x_318; lean_object* x_319; uint8_t x_320; -x_178 = lean_ctor_get(x_24, 3); -lean_inc(x_178); -x_179 = lean_ctor_get(x_24, 4); -lean_inc(x_179); -lean_dec(x_24); -x_180 = lean_st_ref_get(x_12, x_13); -x_181 = lean_ctor_get(x_180, 1); -lean_inc(x_181); -lean_dec(x_180); -x_182 = lean_st_ref_get(x_10, x_181); -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_317 = lean_ctor_get(x_183, 0); -lean_inc(x_317); -lean_dec(x_183); -x_318 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_checkMVar___spec__56___closed__1; -x_319 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_317); -x_320 = l_Lean_Expr_hasFVar(x_178); -if (x_320 == 0) -{ -uint8_t x_321; -x_321 = l_Lean_Expr_hasMVar(x_178); -if (x_321 == 0) -{ -uint8_t x_322; -lean_dec(x_178); -x_322 = 0; -x_303 = x_322; -x_304 = x_319; -goto block_316; -} -else -{ -lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; -x_323 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__35(x_6, x_178, x_319); -x_324 = lean_ctor_get(x_323, 0); -lean_inc(x_324); -x_325 = lean_ctor_get(x_323, 1); -lean_inc(x_325); -lean_dec(x_323); -x_326 = lean_unbox(x_324); -lean_dec(x_324); -x_303 = x_326; -x_304 = x_325; -goto block_316; -} -} -else -{ -lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; -x_327 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__43(x_6, x_178, x_319); -x_328 = lean_ctor_get(x_327, 0); -lean_inc(x_328); -x_329 = lean_ctor_get(x_327, 1); -lean_inc(x_329); -lean_dec(x_327); -x_330 = lean_unbox(x_328); -lean_dec(x_328); -x_303 = x_330; -x_304 = x_329; -goto block_316; -} -block_302: -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; -x_187 = lean_ctor_get(x_186, 1); +lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_185 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__19(x_6, x_140, x_181); +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_185, 1); lean_inc(x_187); +lean_dec(x_185); +x_188 = lean_unbox(x_186); lean_dec(x_186); -x_188 = lean_st_ref_get(x_12, x_184); -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -lean_dec(x_188); -x_190 = lean_st_ref_take(x_10, x_189); -x_191 = lean_ctor_get(x_190, 0); +x_146 = x_188; +x_147 = x_187; +goto block_179; +} +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__27(x_6, x_140, x_181); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); lean_inc(x_191); -x_192 = lean_ctor_get_uint8(x_187, sizeof(void*)*8); -if (x_192 == 0) -{ -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; uint8_t x_203; -x_193 = lean_ctor_get(x_191, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_190, 1); -lean_inc(x_194); +lean_dec(x_189); +x_192 = lean_unbox(x_190); lean_dec(x_190); -x_195 = lean_ctor_get(x_187, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_187, 1); -lean_inc(x_196); -x_197 = lean_ctor_get(x_187, 2); -lean_inc(x_197); -x_198 = lean_ctor_get(x_187, 3); -lean_inc(x_198); -x_199 = lean_ctor_get(x_187, 4); -lean_inc(x_199); -x_200 = lean_ctor_get(x_187, 5); -lean_inc(x_200); -x_201 = lean_ctor_get(x_187, 6); -lean_inc(x_201); -x_202 = lean_ctor_get(x_187, 7); -lean_inc(x_202); -lean_dec(x_187); -x_203 = !lean_is_exclusive(x_191); -if (x_203 == 0) -{ -lean_object* x_204; uint8_t x_205; -x_204 = lean_ctor_get(x_191, 0); -lean_dec(x_204); -x_205 = !lean_is_exclusive(x_193); -if (x_205 == 0) -{ -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_206 = lean_ctor_get(x_193, 7); -lean_dec(x_206); -x_207 = lean_ctor_get(x_193, 6); -lean_dec(x_207); -x_208 = lean_ctor_get(x_193, 5); -lean_dec(x_208); -x_209 = lean_ctor_get(x_193, 4); -lean_dec(x_209); -x_210 = lean_ctor_get(x_193, 3); -lean_dec(x_210); -x_211 = lean_ctor_get(x_193, 2); -lean_dec(x_211); -x_212 = lean_ctor_get(x_193, 1); -lean_dec(x_212); -x_213 = lean_ctor_get(x_193, 0); -lean_dec(x_213); -lean_ctor_set(x_193, 7, x_202); -lean_ctor_set(x_193, 6, x_201); -lean_ctor_set(x_193, 5, x_200); -lean_ctor_set(x_193, 4, x_199); -lean_ctor_set(x_193, 3, x_198); -lean_ctor_set(x_193, 2, x_197); -lean_ctor_set(x_193, 1, x_196); -lean_ctor_set(x_193, 0, x_195); -x_214 = lean_st_ref_set(x_10, x_191, x_194); -if (x_185 == 0) -{ -uint8_t x_215; -lean_dec(x_25); -x_215 = !lean_is_exclusive(x_214); -if (x_215 == 0) -{ -lean_object* x_216; -x_216 = lean_ctor_get(x_214, 0); -lean_dec(x_216); -lean_ctor_set(x_214, 0, x_6); -x_16 = x_214; -goto block_22; -} -else -{ -lean_object* x_217; lean_object* x_218; -x_217 = lean_ctor_get(x_214, 1); -lean_inc(x_217); -lean_dec(x_214); -x_218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_218, 0, x_6); -lean_ctor_set(x_218, 1, x_217); -x_16 = x_218; -goto block_22; +x_146 = x_192; +x_147 = x_191; +goto block_179; } } else { -uint8_t x_219; -x_219 = !lean_is_exclusive(x_214); -if (x_219 == 0) -{ -lean_object* x_220; lean_object* x_221; -x_220 = lean_ctor_get(x_214, 0); -lean_dec(x_220); -x_221 = lean_array_push(x_6, x_25); -lean_ctor_set(x_214, 0, x_221); -x_16 = x_214; -goto block_22; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_214, 1); -lean_inc(x_222); -lean_dec(x_214); -x_223 = lean_array_push(x_6, x_25); -x_224 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_16 = x_224; -goto block_22; -} -} -} -else -{ -uint8_t x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get_uint8(x_193, sizeof(void*)*8); -lean_dec(x_193); -x_226 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_226, 0, x_195); -lean_ctor_set(x_226, 1, x_196); -lean_ctor_set(x_226, 2, x_197); -lean_ctor_set(x_226, 3, x_198); -lean_ctor_set(x_226, 4, x_199); -lean_ctor_set(x_226, 5, x_200); -lean_ctor_set(x_226, 6, x_201); -lean_ctor_set(x_226, 7, x_202); -lean_ctor_set_uint8(x_226, sizeof(void*)*8, x_225); -lean_ctor_set(x_191, 0, x_226); -x_227 = lean_st_ref_set(x_10, x_191, x_194); -if (x_185 == 0) -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_dec(x_25); -x_228 = lean_ctor_get(x_227, 1); -lean_inc(x_228); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_229 = x_227; -} else { - lean_dec_ref(x_227); - x_229 = lean_box(0); -} -if (lean_is_scalar(x_229)) { - x_230 = lean_alloc_ctor(0, 2, 0); -} else { - x_230 = x_229; -} -lean_ctor_set(x_230, 0, x_6); -lean_ctor_set(x_230, 1, x_228); -x_16 = x_230; -goto block_22; -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_231 = lean_ctor_get(x_227, 1); -lean_inc(x_231); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - x_232 = x_227; -} else { - lean_dec_ref(x_227); - x_232 = lean_box(0); -} -x_233 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_232)) { - x_234 = lean_alloc_ctor(0, 2, 0); -} else { - x_234 = x_232; -} -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_231); -x_16 = x_234; -goto block_22; -} -} -} -else -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_235 = lean_ctor_get(x_191, 1); -x_236 = lean_ctor_get(x_191, 2); -x_237 = lean_ctor_get(x_191, 3); -lean_inc(x_237); -lean_inc(x_236); -lean_inc(x_235); -lean_dec(x_191); -x_238 = lean_ctor_get_uint8(x_193, sizeof(void*)*8); -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); - lean_ctor_release(x_193, 6); - lean_ctor_release(x_193, 7); - x_239 = x_193; -} else { - lean_dec_ref(x_193); - x_239 = lean_box(0); -} -if (lean_is_scalar(x_239)) { - x_240 = lean_alloc_ctor(0, 8, 1); -} else { - x_240 = x_239; -} -lean_ctor_set(x_240, 0, x_195); -lean_ctor_set(x_240, 1, x_196); -lean_ctor_set(x_240, 2, x_197); -lean_ctor_set(x_240, 3, x_198); -lean_ctor_set(x_240, 4, x_199); -lean_ctor_set(x_240, 5, x_200); -lean_ctor_set(x_240, 6, x_201); -lean_ctor_set(x_240, 7, x_202); -lean_ctor_set_uint8(x_240, sizeof(void*)*8, x_238); -x_241 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_235); -lean_ctor_set(x_241, 2, x_236); -lean_ctor_set(x_241, 3, x_237); -x_242 = lean_st_ref_set(x_10, x_241, x_194); -if (x_185 == 0) -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; -lean_dec(x_25); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_244 = x_242; -} else { - lean_dec_ref(x_242); - x_244 = lean_box(0); -} -if (lean_is_scalar(x_244)) { - x_245 = lean_alloc_ctor(0, 2, 0); -} else { - x_245 = x_244; -} -lean_ctor_set(x_245, 0, x_6); -lean_ctor_set(x_245, 1, x_243); -x_16 = x_245; -goto block_22; -} -else -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_246 = lean_ctor_get(x_242, 1); -lean_inc(x_246); -if (lean_is_exclusive(x_242)) { - lean_ctor_release(x_242, 0); - lean_ctor_release(x_242, 1); - x_247 = x_242; -} else { - lean_dec_ref(x_242); - x_247 = lean_box(0); -} -x_248 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_247)) { - x_249 = lean_alloc_ctor(0, 2, 0); -} else { - x_249 = x_247; -} -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_246); -x_16 = x_249; -goto block_22; -} -} -} -else -{ -lean_object* x_250; uint8_t x_251; -x_250 = lean_ctor_get(x_190, 1); -lean_inc(x_250); -lean_dec(x_190); -x_251 = !lean_is_exclusive(x_187); -if (x_251 == 0) -{ -uint8_t x_252; -x_252 = !lean_is_exclusive(x_191); -if (x_252 == 0) -{ -lean_object* x_253; uint8_t x_254; lean_object* x_255; -x_253 = lean_ctor_get(x_191, 0); -lean_dec(x_253); -x_254 = 1; -lean_ctor_set_uint8(x_187, sizeof(void*)*8, x_254); -lean_ctor_set(x_191, 0, x_187); -x_255 = lean_st_ref_set(x_10, x_191, x_250); -if (x_185 == 0) -{ -uint8_t x_256; -lean_dec(x_25); -x_256 = !lean_is_exclusive(x_255); -if (x_256 == 0) -{ -lean_object* x_257; -x_257 = lean_ctor_get(x_255, 0); -lean_dec(x_257); -lean_ctor_set(x_255, 0, x_6); -x_16 = x_255; -goto block_22; -} -else -{ -lean_object* x_258; lean_object* x_259; -x_258 = lean_ctor_get(x_255, 1); -lean_inc(x_258); -lean_dec(x_255); -x_259 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_259, 0, x_6); -lean_ctor_set(x_259, 1, x_258); -x_16 = x_259; -goto block_22; -} -} -else -{ -uint8_t x_260; -x_260 = !lean_is_exclusive(x_255); -if (x_260 == 0) -{ -lean_object* x_261; lean_object* x_262; -x_261 = lean_ctor_get(x_255, 0); -lean_dec(x_261); -x_262 = lean_array_push(x_6, x_25); -lean_ctor_set(x_255, 0, x_262); -x_16 = x_255; -goto block_22; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_255, 1); -lean_inc(x_263); -lean_dec(x_255); -x_264 = lean_array_push(x_6, x_25); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_263); -x_16 = x_265; -goto block_22; -} -} -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; lean_object* x_270; lean_object* x_271; -x_266 = lean_ctor_get(x_191, 1); -x_267 = lean_ctor_get(x_191, 2); -x_268 = lean_ctor_get(x_191, 3); -lean_inc(x_268); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_191); -x_269 = 1; -lean_ctor_set_uint8(x_187, sizeof(void*)*8, x_269); -x_270 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_270, 0, x_187); -lean_ctor_set(x_270, 1, x_266); -lean_ctor_set(x_270, 2, x_267); -lean_ctor_set(x_270, 3, x_268); -x_271 = lean_st_ref_set(x_10, x_270, x_250); -if (x_185 == 0) -{ -lean_object* x_272; lean_object* x_273; lean_object* x_274; -lean_dec(x_25); -x_272 = lean_ctor_get(x_271, 1); -lean_inc(x_272); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_273 = x_271; -} else { - lean_dec_ref(x_271); - x_273 = lean_box(0); -} -if (lean_is_scalar(x_273)) { - x_274 = lean_alloc_ctor(0, 2, 0); -} else { - x_274 = x_273; -} -lean_ctor_set(x_274, 0, x_6); -lean_ctor_set(x_274, 1, x_272); -x_16 = x_274; -goto block_22; -} -else -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_275 = lean_ctor_get(x_271, 1); -lean_inc(x_275); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_276 = x_271; -} else { - lean_dec_ref(x_271); - x_276 = lean_box(0); -} -x_277 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_276)) { - x_278 = lean_alloc_ctor(0, 2, 0); -} else { - x_278 = x_276; -} -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_275); -x_16 = x_278; -goto block_22; -} -} -} -else -{ -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; lean_object* x_290; uint8_t x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_279 = lean_ctor_get(x_187, 0); -x_280 = lean_ctor_get(x_187, 1); -x_281 = lean_ctor_get(x_187, 2); -x_282 = lean_ctor_get(x_187, 3); -x_283 = lean_ctor_get(x_187, 4); -x_284 = lean_ctor_get(x_187, 5); -x_285 = lean_ctor_get(x_187, 6); -x_286 = lean_ctor_get(x_187, 7); -lean_inc(x_286); -lean_inc(x_285); -lean_inc(x_284); -lean_inc(x_283); -lean_inc(x_282); -lean_inc(x_281); -lean_inc(x_280); -lean_inc(x_279); -lean_dec(x_187); -x_287 = lean_ctor_get(x_191, 1); -lean_inc(x_287); -x_288 = lean_ctor_get(x_191, 2); -lean_inc(x_288); -x_289 = lean_ctor_get(x_191, 3); -lean_inc(x_289); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - lean_ctor_release(x_191, 2); - lean_ctor_release(x_191, 3); - x_290 = x_191; -} else { - lean_dec_ref(x_191); - x_290 = lean_box(0); -} -x_291 = 1; -x_292 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_292, 0, x_279); -lean_ctor_set(x_292, 1, x_280); -lean_ctor_set(x_292, 2, x_281); -lean_ctor_set(x_292, 3, x_282); -lean_ctor_set(x_292, 4, x_283); -lean_ctor_set(x_292, 5, x_284); -lean_ctor_set(x_292, 6, x_285); -lean_ctor_set(x_292, 7, x_286); -lean_ctor_set_uint8(x_292, sizeof(void*)*8, x_291); -if (lean_is_scalar(x_290)) { - x_293 = lean_alloc_ctor(0, 4, 0); -} else { - x_293 = x_290; -} -lean_ctor_set(x_293, 0, x_292); -lean_ctor_set(x_293, 1, x_287); -lean_ctor_set(x_293, 2, x_288); -lean_ctor_set(x_293, 3, x_289); -x_294 = lean_st_ref_set(x_10, x_293, x_250); -if (x_185 == 0) -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; -lean_dec(x_25); -x_295 = lean_ctor_get(x_294, 1); -lean_inc(x_295); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_296 = x_294; -} else { - lean_dec_ref(x_294); - x_296 = lean_box(0); -} -if (lean_is_scalar(x_296)) { - x_297 = lean_alloc_ctor(0, 2, 0); -} else { - x_297 = x_296; -} -lean_ctor_set(x_297, 0, x_6); -lean_ctor_set(x_297, 1, x_295); -x_16 = x_297; -goto block_22; -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_298 = lean_ctor_get(x_294, 1); -lean_inc(x_298); -if (lean_is_exclusive(x_294)) { - lean_ctor_release(x_294, 0); - lean_ctor_release(x_294, 1); - x_299 = x_294; -} else { - lean_dec_ref(x_294); - x_299 = lean_box(0); -} -x_300 = lean_array_push(x_6, x_25); -if (lean_is_scalar(x_299)) { - x_301 = lean_alloc_ctor(0, 2, 0); -} else { - x_301 = x_299; -} -lean_ctor_set(x_301, 0, x_300); -lean_ctor_set(x_301, 1, x_298); -x_16 = x_301; -goto block_22; -} -} -} -} -block_316: -{ -if (x_303 == 0) -{ -uint8_t x_305; -x_305 = l_Lean_Expr_hasFVar(x_179); -if (x_305 == 0) -{ -uint8_t x_306; -x_306 = l_Lean_Expr_hasMVar(x_179); -if (x_306 == 0) -{ -uint8_t x_307; -lean_dec(x_179); -x_307 = 0; -x_185 = x_307; -x_186 = x_304; -goto block_302; -} -else -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; uint8_t x_311; -x_308 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__19(x_6, x_179, x_304); -x_309 = lean_ctor_get(x_308, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_308, 1); -lean_inc(x_310); -lean_dec(x_308); -x_311 = lean_unbox(x_309); -lean_dec(x_309); -x_185 = x_311; -x_186 = x_310; -goto block_302; -} -} -else -{ -lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; -x_312 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_CheckAssignment_checkMVar___spec__27(x_6, x_179, x_304); -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec(x_312); -x_315 = lean_unbox(x_313); -lean_dec(x_313); -x_185 = x_315; -x_186 = x_314; -goto block_302; -} -} -else -{ -lean_dec(x_179); -x_185 = x_303; -x_186 = x_304; -goto block_302; +lean_dec(x_140); +x_146 = x_180; +x_147 = x_181; +goto block_179; } } } @@ -46153,15 +43146,78 @@ goto block_302; } else { -lean_object* x_331; +lean_object* x_208; lean_dec(x_25); lean_dec(x_24); -x_331 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_331, 0, x_6); -lean_ctor_set(x_331, 1, x_13); -x_16 = x_331; +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_6); +lean_ctor_set(x_208, 1, x_13); +x_16 = x_208; goto block_22; } +block_39: +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_unbox(x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +uint8_t x_29; +lean_dec(x_25); +x_29 = !lean_is_exclusive(x_26); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_26, 0); +lean_dec(x_30); +lean_ctor_set(x_26, 0, x_6); +x_16 = x_26; +goto block_22; +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); +lean_dec(x_26); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_6); +lean_ctor_set(x_32, 1, x_31); +x_16 = x_32; +goto block_22; +} +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_26); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_26, 0); +lean_dec(x_34); +x_35 = lean_array_push(x_6, x_25); +lean_ctor_set(x_26, 0, x_35); +x_16 = x_26; +goto block_22; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_26, 1); +lean_inc(x_36); +lean_dec(x_26); +x_37 = lean_array_push(x_6, x_25); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_16 = x_38; +goto block_22; +} +} +} } block_22: { @@ -46181,12 +43237,12 @@ goto _start; } else { -lean_object* x_332; +lean_object* x_209; lean_dec(x_1); -x_332 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_332, 0, x_6); -lean_ctor_set(x_332, 1, x_13); -return x_332; +x_209 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_209, 0, x_6); +lean_ctor_set(x_209, 1, x_13); +return x_209; } } } @@ -46603,48 +43659,45 @@ lean_dec(x_17); x_18 = !lean_is_exclusive(x_14); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; uint8_t x_23; +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; x_19 = lean_ctor_get(x_14, 6); x_20 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_19, x_1, x_2); -x_21 = 1; lean_ctor_set(x_14, 6, x_20); -lean_ctor_set_uint8(x_14, sizeof(void*)*8, x_21); -x_22 = lean_st_ref_set(x_6, x_13, x_15); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +x_21 = lean_st_ref_set(x_6, x_13, x_15); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -x_25 = lean_box(0); -lean_ctor_set(x_22, 0, x_25); -return x_22; +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +x_24 = lean_box(0); +lean_ctor_set(x_21, 0, x_24); +return x_21; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); -lean_dec(x_22); -x_27 = lean_box(0); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -return x_28; +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_dec(x_21); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; } } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_29 = lean_ctor_get(x_14, 0); -x_30 = lean_ctor_get(x_14, 1); -x_31 = lean_ctor_get(x_14, 2); -x_32 = lean_ctor_get(x_14, 3); -x_33 = lean_ctor_get(x_14, 4); -x_34 = lean_ctor_get(x_14, 5); -x_35 = lean_ctor_get(x_14, 6); -x_36 = lean_ctor_get(x_14, 7); -lean_inc(x_36); +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; lean_object* x_42; +x_28 = lean_ctor_get(x_14, 0); +x_29 = lean_ctor_get(x_14, 1); +x_30 = lean_ctor_get(x_14, 2); +x_31 = lean_ctor_get(x_14, 3); +x_32 = lean_ctor_get(x_14, 4); +x_33 = lean_ctor_get(x_14, 5); +x_34 = lean_ctor_get(x_14, 6); +x_35 = lean_ctor_get(x_14, 7); lean_inc(x_35); lean_inc(x_34); lean_inc(x_33); @@ -46652,68 +43705,67 @@ lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); +lean_inc(x_28); lean_dec(x_14); -x_37 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_35, x_1, x_2); -x_38 = 1; -x_39 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_39, 0, x_29); -lean_ctor_set(x_39, 1, x_30); -lean_ctor_set(x_39, 2, x_31); -lean_ctor_set(x_39, 3, x_32); -lean_ctor_set(x_39, 4, x_33); -lean_ctor_set(x_39, 5, x_34); -lean_ctor_set(x_39, 6, x_37); -lean_ctor_set(x_39, 7, x_36); -lean_ctor_set_uint8(x_39, sizeof(void*)*8, x_38); -lean_ctor_set(x_13, 0, x_39); -x_40 = lean_st_ref_set(x_6, x_13, x_15); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); +x_36 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_34, x_1, x_2); +x_37 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_37, 0, x_28); +lean_ctor_set(x_37, 1, x_29); +lean_ctor_set(x_37, 2, x_30); +lean_ctor_set(x_37, 3, x_31); +lean_ctor_set(x_37, 4, x_32); +lean_ctor_set(x_37, 5, x_33); +lean_ctor_set(x_37, 6, x_36); +lean_ctor_set(x_37, 7, x_35); +lean_ctor_set(x_13, 0, x_37); +x_38 = lean_st_ref_set(x_6, x_13, x_15); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_40 = x_38; +} else { + lean_dec_ref(x_38); + x_40 = lean_box(0); +} +x_41 = lean_box(0); +if (lean_is_scalar(x_40)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { x_42 = x_40; -} else { - lean_dec_ref(x_40); - x_42 = lean_box(0); } -x_43 = lean_box(0); -if (lean_is_scalar(x_42)) { - x_44 = lean_alloc_ctor(0, 2, 0); -} else { - x_44 = x_42; -} -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_41); -return x_44; +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_39); +return x_42; } } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t 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; -x_45 = lean_ctor_get(x_13, 1); -x_46 = lean_ctor_get(x_13, 2); -x_47 = lean_ctor_get(x_13, 3); -lean_inc(x_47); -lean_inc(x_46); +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; lean_object* x_61; lean_object* x_62; +x_43 = lean_ctor_get(x_13, 1); +x_44 = lean_ctor_get(x_13, 2); +x_45 = lean_ctor_get(x_13, 3); lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_13); -x_48 = lean_ctor_get(x_14, 0); +x_46 = lean_ctor_get(x_14, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_14, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_14, 2); lean_inc(x_48); -x_49 = lean_ctor_get(x_14, 1); +x_49 = lean_ctor_get(x_14, 3); lean_inc(x_49); -x_50 = lean_ctor_get(x_14, 2); +x_50 = lean_ctor_get(x_14, 4); lean_inc(x_50); -x_51 = lean_ctor_get(x_14, 3); +x_51 = lean_ctor_get(x_14, 5); lean_inc(x_51); -x_52 = lean_ctor_get(x_14, 4); +x_52 = lean_ctor_get(x_14, 6); lean_inc(x_52); -x_53 = lean_ctor_get(x_14, 5); +x_53 = lean_ctor_get(x_14, 7); lean_inc(x_53); -x_54 = lean_ctor_get(x_14, 6); -lean_inc(x_54); -x_55 = lean_ctor_get(x_14, 7); -lean_inc(x_55); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); @@ -46723,52 +43775,50 @@ if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 5); lean_ctor_release(x_14, 6); lean_ctor_release(x_14, 7); - x_56 = x_14; + x_54 = x_14; } else { lean_dec_ref(x_14); - x_56 = lean_box(0); + x_54 = lean_box(0); } -x_57 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_54, x_1, x_2); -x_58 = 1; -if (lean_is_scalar(x_56)) { - x_59 = lean_alloc_ctor(0, 8, 1); +x_55 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_52, x_1, x_2); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 8, 0); } else { - x_59 = x_56; + x_56 = x_54; } -lean_ctor_set(x_59, 0, x_48); -lean_ctor_set(x_59, 1, x_49); -lean_ctor_set(x_59, 2, x_50); -lean_ctor_set(x_59, 3, x_51); -lean_ctor_set(x_59, 4, x_52); -lean_ctor_set(x_59, 5, x_53); -lean_ctor_set(x_59, 6, x_57); -lean_ctor_set(x_59, 7, x_55); -lean_ctor_set_uint8(x_59, sizeof(void*)*8, x_58); -x_60 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_45); -lean_ctor_set(x_60, 2, x_46); -lean_ctor_set(x_60, 3, x_47); -x_61 = lean_st_ref_set(x_6, x_60, x_15); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_63 = x_61; +lean_ctor_set(x_56, 0, x_46); +lean_ctor_set(x_56, 1, x_47); +lean_ctor_set(x_56, 2, x_48); +lean_ctor_set(x_56, 3, x_49); +lean_ctor_set(x_56, 4, x_50); +lean_ctor_set(x_56, 5, x_51); +lean_ctor_set(x_56, 6, x_55); +lean_ctor_set(x_56, 7, x_53); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_43); +lean_ctor_set(x_57, 2, x_44); +lean_ctor_set(x_57, 3, x_45); +x_58 = lean_st_ref_set(x_6, x_57, x_15); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_60 = x_58; } else { - lean_dec_ref(x_61); - x_63 = lean_box(0); + lean_dec_ref(x_58); + x_60 = lean_box(0); } -x_64 = lean_box(0); -if (lean_is_scalar(x_63)) { - x_65 = lean_alloc_ctor(0, 2, 0); +x_61 = lean_box(0); +if (lean_is_scalar(x_60)) { + x_62 = lean_alloc_ctor(0, 2, 0); } else { - x_65 = x_63; + x_62 = x_60; } -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_62); -return x_65; +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +return x_62; } } } @@ -48558,28 +45608,6 @@ x_13 = l_Array_mapMUnsafe_map___at_Lean_Meta_CheckAssignment_checkApp___spec__1( return x_13; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned___at_Lean_Meta_CheckAssignment_checkApp___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -48594,7 +45622,7 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; @@ -48602,7 +45630,7 @@ x_4 = lean_unbox_usize(x_2); lean_dec(x_2); x_5 = lean_unbox_usize(x_3); lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__4(x_1, x_4, x_5); +x_6 = l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkApp___spec__3(x_1, x_4, x_5); lean_dec(x_1); x_7 = lean_box(x_6); return x_7; @@ -48628,21 +45656,6 @@ x_11 = l_Lean_Meta_CheckAssignment_checkAssignmentAux(x_1, x_2, x_10, x_4, x_5, return x_11; } } -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_CheckAssignment_checkMVar___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_CheckAssignment_checkMVar___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_CheckAssignment_checkMVar___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: { @@ -50006,7 +47019,113 @@ x_10 = lean_box(x_9); return x_10; } } -static lean_object* _init_l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1() { +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_st_ref_get(x_4, x_9); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_13, x_1); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, 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_2); +lean_ctor_set(x_10, 0, x_16); +return x_10; +} +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_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_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_19, x_1); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_2); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_18); +return x_23; +} +} +} +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_st_ref_get(x_4, x_9); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get(x_13, 7); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_14, x_1); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, 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_2); +lean_ctor_set(x_10, 0, x_17); +return x_10; +} +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; +x_18 = lean_ctor_get(x_10, 0); +x_19 = lean_ctor_get(x_10, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_10); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_ctor_get(x_20, 7); +lean_inc(x_21); +lean_dec(x_20); +x_22 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_21, x_1); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_2); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_19); +return x_25; +} +} +} +static lean_object* _init_l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -50016,338 +47135,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___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) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_7 = lean_st_ref_get(x_5, x_6); -x_8 = lean_ctor_get(x_7, 1); -lean_inc(x_8); -lean_dec(x_7); -x_9 = lean_st_ref_take(x_3, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -lean_dec(x_9); -x_13 = !lean_is_exclusive(x_10); -if (x_13 == 0) -{ -lean_object* x_14; uint8_t x_15; -x_14 = lean_ctor_get(x_10, 0); -lean_dec(x_14); -x_15 = !lean_is_exclusive(x_11); -if (x_15 == 0) -{ -uint8_t x_16; lean_object* x_17; uint8_t x_18; -x_16 = 1; -lean_ctor_set_uint8(x_11, sizeof(void*)*8, x_16); -x_17 = lean_st_ref_set(x_3, x_10, x_12); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -x_20 = l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1; -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_1); -lean_ctor_set(x_17, 0, x_21); -return x_17; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_17, 1); -lean_inc(x_22); -lean_dec(x_17); -x_23 = l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1; -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_1); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_22); -return x_25; -} -} -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; uint8_t 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_26 = lean_ctor_get(x_11, 0); -x_27 = lean_ctor_get(x_11, 1); -x_28 = lean_ctor_get(x_11, 2); -x_29 = lean_ctor_get(x_11, 3); -x_30 = lean_ctor_get(x_11, 4); -x_31 = lean_ctor_get(x_11, 5); -x_32 = lean_ctor_get(x_11, 6); -x_33 = lean_ctor_get(x_11, 7); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_11); -x_34 = 1; -x_35 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_35, 0, x_26); -lean_ctor_set(x_35, 1, x_27); -lean_ctor_set(x_35, 2, x_28); -lean_ctor_set(x_35, 3, x_29); -lean_ctor_set(x_35, 4, x_30); -lean_ctor_set(x_35, 5, x_31); -lean_ctor_set(x_35, 6, x_32); -lean_ctor_set(x_35, 7, x_33); -lean_ctor_set_uint8(x_35, sizeof(void*)*8, x_34); -lean_ctor_set(x_10, 0, x_35); -x_36 = lean_st_ref_set(x_3, x_10, x_12); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - x_38 = x_36; -} else { - lean_dec_ref(x_36); - x_38 = lean_box(0); -} -x_39 = l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1; -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_1); -if (lean_is_scalar(x_38)) { - x_41 = lean_alloc_ctor(0, 2, 0); -} else { - x_41 = x_38; -} -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_37); -return x_41; -} -} -else -{ -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; 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; lean_object* x_61; lean_object* x_62; -x_42 = lean_ctor_get(x_10, 1); -x_43 = lean_ctor_get(x_10, 2); -x_44 = lean_ctor_get(x_10, 3); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_10); -x_45 = lean_ctor_get(x_11, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_11, 1); -lean_inc(x_46); -x_47 = lean_ctor_get(x_11, 2); -lean_inc(x_47); -x_48 = lean_ctor_get(x_11, 3); -lean_inc(x_48); -x_49 = lean_ctor_get(x_11, 4); -lean_inc(x_49); -x_50 = lean_ctor_get(x_11, 5); -lean_inc(x_50); -x_51 = lean_ctor_get(x_11, 6); -lean_inc(x_51); -x_52 = lean_ctor_get(x_11, 7); -lean_inc(x_52); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - lean_ctor_release(x_11, 2); - lean_ctor_release(x_11, 3); - lean_ctor_release(x_11, 4); - lean_ctor_release(x_11, 5); - lean_ctor_release(x_11, 6); - lean_ctor_release(x_11, 7); - x_53 = x_11; -} else { - lean_dec_ref(x_11); - x_53 = lean_box(0); -} -x_54 = 1; -if (lean_is_scalar(x_53)) { - x_55 = lean_alloc_ctor(0, 8, 1); -} else { - x_55 = x_53; -} -lean_ctor_set(x_55, 0, x_45); -lean_ctor_set(x_55, 1, x_46); -lean_ctor_set(x_55, 2, x_47); -lean_ctor_set(x_55, 3, x_48); -lean_ctor_set(x_55, 4, x_49); -lean_ctor_set(x_55, 5, x_50); -lean_ctor_set(x_55, 6, x_51); -lean_ctor_set(x_55, 7, x_52); -lean_ctor_set_uint8(x_55, sizeof(void*)*8, x_54); -x_56 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_42); -lean_ctor_set(x_56, 2, x_43); -lean_ctor_set(x_56, 3, x_44); -x_57 = lean_st_ref_set(x_3, x_56, x_12); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_59 = x_57; -} else { - lean_dec_ref(x_57); - x_59 = lean_box(0); -} -x_60 = l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1; -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_1); -if (lean_is_scalar(x_59)) { - x_62 = lean_alloc_ctor(0, 2, 0); -} else { - x_62 = x_59; -} -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_58); -return x_62; -} -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, 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); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_8); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_8 = lean_st_ref_get(x_6, x_7); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_st_ref_get(x_4, x_9); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_13, x_1); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_box(0); -x_16 = l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4___lambda__1(x_14, x_15, x_2, x_3, x_4, x_5, x_6, x_12); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_17 = l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5(x_2, x_3, x_4, x_5, x_6, x_12); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -x_22 = lean_ctor_get(x_19, 0); -lean_inc(x_22); -lean_dec(x_19); -x_23 = l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4___lambda__1(x_14, x_22, x_21, x_3, x_4, x_5, x_6, x_20); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_22); -return x_23; -} -} -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_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_8 = lean_st_ref_get(x_6, x_7); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_st_ref_get(x_4, x_9); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_ctor_get(x_13, 7); -lean_inc(x_14); -lean_dec(x_13); -x_15 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_14, x_1); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_box(0); -x_17 = l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4___lambda__1(x_15, x_16, x_2, x_3, x_4, x_5, x_6, x_12); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_18 = l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5(x_2, x_3, x_4, x_5, x_6, x_12); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_ctor_get(x_20, 0); -lean_inc(x_23); -lean_dec(x_20); -x_24 = l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4___lambda__1(x_15, x_23, x_22, x_3, x_4, x_5, x_6, x_21); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_23); -return x_24; -} -} -} -static lean_object* _init_l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__1() { +static lean_object* _init_l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -50365,10 +47153,6 @@ x_9 = lean_name_eq(x_1, x_2); if (x_9 == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); x_10 = l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_8); x_11 = lean_ctor_get(x_10, 0); @@ -50387,11 +47171,7 @@ lean_dec(x_10); x_15 = lean_ctor_get(x_11, 1); lean_inc(x_15); lean_dec(x_11); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_16 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__6(x_2, x_15, x_4, x_5, x_6, x_7, x_14); +x_16 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__5(x_2, x_15, x_4, x_5, x_6, x_7, x_14); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_17, 0); @@ -50402,10 +47182,6 @@ lean_dec(x_18); if (lean_obj_tag(x_19) == 0) { uint8_t x_20; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); x_20 = !lean_is_exclusive(x_16); if (x_20 == 0) { @@ -50418,7 +47194,7 @@ if (x_22 == 0) lean_object* x_23; lean_object* x_24; x_23 = lean_ctor_get(x_17, 0); lean_dec(x_23); -x_24 = l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1; +x_24 = l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__1; lean_ctor_set(x_17, 0, x_24); return x_16; } @@ -50428,7 +47204,7 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; x_25 = lean_ctor_get(x_17, 1); lean_inc(x_25); lean_dec(x_17); -x_26 = l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1; +x_26 = l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__1; x_27 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); @@ -50452,7 +47228,7 @@ if (lean_is_exclusive(x_17)) { lean_dec_ref(x_17); x_30 = lean_box(0); } -x_31 = l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1; +x_31 = l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__1; if (lean_is_scalar(x_30)) { x_32 = lean_alloc_ctor(0, 2, 0); } else { @@ -50507,12 +47283,8 @@ return x_42; else { lean_object* x_43; lean_object* x_44; lean_object* x_45; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); -x_43 = l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__1; +x_43 = l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__2; x_44 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_3); @@ -50531,12 +47303,8 @@ x_9 = l_Lean_Expr_hasExprMVar(x_2); if (x_9 == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); -x_10 = l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1; +x_10 = l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_3); @@ -50574,10 +47342,6 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_2, 1); lean_inc(x_18); lean_dec(x_2); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); x_19 = l_Lean_occursCheck_visit___at_Lean_Meta_checkAssignment___spec__2(x_1, x_17, x_14, x_4, x_5, x_6, x_7, x_8); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); @@ -50587,10 +47351,6 @@ if (lean_obj_tag(x_21) == 0) { uint8_t x_22; lean_dec(x_18); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); x_22 = !lean_is_exclusive(x_19); if (x_22 == 0) { @@ -50716,10 +47476,6 @@ lean_inc(x_45); x_46 = lean_ctor_get(x_2, 2); lean_inc(x_46); lean_dec(x_2); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); x_47 = l_Lean_occursCheck_visit___at_Lean_Meta_checkAssignment___spec__2(x_1, x_45, x_14, x_4, x_5, x_6, x_7, x_8); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); @@ -50729,10 +47485,6 @@ if (lean_obj_tag(x_49) == 0) { uint8_t x_50; lean_dec(x_46); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); x_50 = !lean_is_exclusive(x_47); if (x_50 == 0) { @@ -50858,10 +47610,6 @@ lean_inc(x_73); x_74 = lean_ctor_get(x_2, 2); lean_inc(x_74); lean_dec(x_2); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); x_75 = l_Lean_occursCheck_visit___at_Lean_Meta_checkAssignment___spec__2(x_1, x_73, x_14, x_4, x_5, x_6, x_7, x_8); x_76 = lean_ctor_get(x_75, 0); lean_inc(x_76); @@ -50871,10 +47619,6 @@ if (lean_obj_tag(x_77) == 0) { uint8_t x_78; lean_dec(x_74); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); x_78 = !lean_is_exclusive(x_75); if (x_78 == 0) { @@ -51002,10 +47746,6 @@ lean_inc(x_102); x_103 = lean_ctor_get(x_2, 3); lean_inc(x_103); lean_dec(x_2); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); x_104 = l_Lean_occursCheck_visit___at_Lean_Meta_checkAssignment___spec__2(x_1, x_101, x_14, x_4, x_5, x_6, x_7, x_8); x_105 = lean_ctor_get(x_104, 0); lean_inc(x_105); @@ -51016,10 +47756,6 @@ if (lean_obj_tag(x_106) == 0) uint8_t x_107; lean_dec(x_103); lean_dec(x_102); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); x_107 = !lean_is_exclusive(x_104); if (x_107 == 0) { @@ -51131,10 +47867,6 @@ lean_dec(x_104); x_128 = lean_ctor_get(x_105, 1); lean_inc(x_128); lean_dec(x_105); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); x_129 = l_Lean_occursCheck_visit___at_Lean_Meta_checkAssignment___spec__2(x_1, x_102, x_128, x_4, x_5, x_6, x_7, x_127); x_130 = lean_ctor_get(x_129, 0); lean_inc(x_130); @@ -51144,10 +47876,6 @@ if (lean_obj_tag(x_131) == 0) { uint8_t x_132; lean_dec(x_103); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); x_132 = !lean_is_exclusive(x_129); if (x_132 == 0) { @@ -51289,12 +48017,8 @@ goto _start; default: { lean_object* x_159; lean_object* x_160; lean_object* x_161; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); -x_159 = l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1; +x_159 = l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__1; x_160 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_160, 0, x_159); lean_ctor_set(x_160, 1, x_14); @@ -51308,12 +48032,8 @@ return x_161; else { lean_object* x_162; lean_object* x_163; lean_object* x_164; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); -x_162 = l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1; +x_162 = l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__1; x_163 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_163, 0, x_162); lean_ctor_set(x_163, 1, x_3); @@ -51333,10 +48053,6 @@ x_8 = l_Lean_Expr_hasExprMVar(x_2); if (x_8 == 0) { uint8_t x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); x_9 = 1; x_10 = lean_box(x_9); @@ -51416,7 +48132,7 @@ return x_31; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -51426,11 +48142,11 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___closed__1; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___closed__1; x_2 = lean_box(0); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51438,7 +48154,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -51474,10 +48190,6 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); x_18 = l_Lean_occursCheck___at_Lean_Meta_checkAssignment___spec__1(x_1, x_16, x_7, x_8, x_9, x_10, x_17); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); @@ -51497,7 +48209,7 @@ if (x_21 == 0) lean_object* x_22; lean_object* x_23; x_22 = lean_ctor_get(x_18, 0); lean_dec(x_22); -x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___closed__2; +x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___closed__2; lean_ctor_set(x_18, 0, x_23); return x_18; } @@ -51507,7 +48219,7 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; x_24 = lean_ctor_get(x_18, 1); lean_inc(x_24); lean_dec(x_18); -x_25 = l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___closed__2; +x_25 = l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___closed__2; x_26 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); @@ -51564,7 +48276,7 @@ return x_34; } } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__8(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; @@ -51691,7 +48403,7 @@ x_51 = lean_ctor_get(x_45, 1); lean_inc(x_51); lean_dec(x_45); lean_inc(x_15); -x_52 = l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__8(x_15, x_2, x_5, x_6); +x_52 = l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__7(x_15, x_2, x_5, x_6); x_17 = x_52; x_18 = x_51; goto block_42; @@ -51832,7 +48544,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7(x_1, x_12, x_2, x_10, x_11, x_12, x_4, x_5, x_6, x_7, x_8); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6(x_1, x_12, x_2, x_10, x_11, x_12, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; @@ -51923,29 +48635,28 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___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_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_7; -x_7 = l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); +lean_object* x_8; +x_8 = l_Lean_getExprMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -return x_9; +lean_dec(x_3); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Meta_checkAssignment___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -51953,6 +48664,10 @@ _start: { lean_object* x_9; x_9 = l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); return x_9; } @@ -51962,6 +48677,10 @@ _start: { lean_object* x_9; x_9 = l_Lean_occursCheck_visit___at_Lean_Meta_checkAssignment___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); return x_9; } @@ -51971,11 +48690,15 @@ _start: { lean_object* x_8; x_8 = l_Lean_occursCheck___at_Lean_Meta_checkAssignment___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -51983,13 +48706,13 @@ x_12 = lean_unbox_usize(x_4); lean_dec(x_4); x_13 = lean_unbox_usize(x_5); lean_dec(x_5); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_3); lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; @@ -51997,7 +48720,7 @@ x_5 = lean_unbox_usize(x_3); lean_dec(x_3); x_6 = lean_unbox_usize(x_4); lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__8(x_1, x_2, x_5, x_6); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Meta_checkAssignment___spec__7(x_1, x_2, x_5, x_6); lean_dec(x_2); x_8 = lean_box(x_7); return x_8; @@ -52180,7 +48903,7 @@ return x_9; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___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* 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; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_25; +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; uint8_t x_20; x_10 = l_Lean_Expr_headBeta(x_3); x_11 = l_Lean_Meta_saveState___rarg(x_6, x_7, x_8, x_9); x_12 = lean_ctor_get(x_11, 0); @@ -52188,216 +48911,737 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_Meta_getResetPostponed(x_5, x_6, x_7, x_8, x_13); -x_15 = lean_ctor_get(x_14, 0); +x_14 = lean_st_ref_get(x_8, x_13); +x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); lean_dec(x_14); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_25 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApproxAux(x_1, x_2, x_10, x_5, x_6, x_7, x_8, x_16); -if (lean_obj_tag(x_25) == 0) +x_16 = lean_st_ref_take(x_6, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) { -lean_object* x_26; uint8_t x_27; -x_26 = lean_ctor_get(x_25, 0); +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_17, 1); +lean_dec(x_21); +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) +{ +lean_object* x_23; 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_38; +x_23 = lean_ctor_get(x_18, 5); +lean_dec(x_23); +x_24 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +lean_ctor_set(x_18, 5, x_24); +x_25 = lean_st_ref_set(x_6, x_17, x_19); +x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); -x_27 = lean_unbox(x_26); -lean_dec(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; uint8_t x_30; -lean_dec(x_15); -x_28 = lean_ctor_get(x_25, 1); +lean_dec(x_25); +x_27 = l_Lean_Meta_getResetPostponed(x_5, x_6, x_7, x_8, x_26); +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_dec(x_25); -x_29 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_28); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) -{ -lean_object* x_31; uint8_t x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_29, 0); -lean_dec(x_31); -x_32 = 0; -x_33 = lean_box(x_32); -lean_ctor_set(x_29, 0, x_33); -return x_29; -} -else -{ -lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_29, 1); -lean_inc(x_34); -lean_dec(x_29); -x_35 = 0; -x_36 = lean_box(x_35); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; -} -} -else -{ -lean_object* x_38; uint8_t x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_25, 1); -lean_inc(x_38); -lean_dec(x_25); -x_39 = 0; +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_40 = l_Lean_Meta_processPostponed(x_4, x_39, x_5, x_6, x_7, x_8, x_38); -if (lean_obj_tag(x_40) == 0) +x_38 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApproxAux(x_1, x_2, x_10, x_5, x_6, x_7, x_8, x_29); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_41; uint8_t x_42; -x_41 = lean_ctor_get(x_40, 0); +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_unbox(x_39); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; uint8_t x_43; +lean_dec(x_28); +x_41 = lean_ctor_get(x_38, 1); lean_inc(x_41); -x_42 = lean_unbox(x_41); -lean_dec(x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; uint8_t x_45; -lean_dec(x_15); -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -lean_dec(x_40); -x_44 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_43); +lean_dec(x_38); +x_42 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_41); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) +lean_dec(x_12); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) { -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_44, 0); -lean_dec(x_46); -x_47 = lean_box(x_39); -lean_ctor_set(x_44, 0, x_47); -return x_44; +lean_object* x_44; uint8_t x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_42, 0); +lean_dec(x_44); +x_45 = 0; +x_46 = lean_box(x_45); +lean_ctor_set(x_42, 0, x_46); +return x_42; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_44, 1); -lean_inc(x_48); -lean_dec(x_44); -x_49 = lean_box(x_39); +lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; +x_47 = lean_ctor_get(x_42, 1); +lean_inc(x_47); +lean_dec(x_42); +x_48 = 0; +x_49 = lean_box(x_48); x_50 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); +lean_ctor_set(x_50, 1, x_47); return x_50; } } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -lean_dec(x_12); -x_51 = lean_ctor_get(x_40, 1); +lean_object* x_51; uint8_t x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_38, 1); lean_inc(x_51); -lean_dec(x_40); -x_52 = l_Lean_Meta_getPostponed___rarg(x_6, x_7, x_8, x_51); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); +lean_dec(x_38); +x_52 = 0; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_53 = l_Lean_Meta_processPostponed(x_4, x_52, x_5, x_6, x_7, x_8, x_51); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; uint8_t x_55; +x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); -lean_dec(x_52); -x_55 = l_Std_PersistentArray_append___rarg(x_15, x_53); -x_56 = l_Lean_Meta_setPostponed(x_55, x_5, x_6, x_7, x_8, x_54); +x_55 = lean_unbox(x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; uint8_t x_58; +lean_dec(x_28); +x_56 = lean_ctor_get(x_53, 1); +lean_inc(x_56); +lean_dec(x_53); +x_57 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_56); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) +lean_dec(x_12); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) { -lean_object* x_58; uint8_t x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_56, 0); -lean_dec(x_58); -x_59 = 1; -x_60 = lean_box(x_59); -lean_ctor_set(x_56, 0, x_60); -return x_56; +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_57, 0); +lean_dec(x_59); +x_60 = lean_box(x_52); +lean_ctor_set(x_57, 0, x_60); +return x_57; } else { -lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_56, 1); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_57, 1); lean_inc(x_61); -lean_dec(x_56); -x_62 = 1; -x_63 = lean_box(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_61); -return x_64; -} +lean_dec(x_57); +x_62 = lean_box(x_52); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +return x_63; } } else { -lean_object* x_65; lean_object* x_66; -lean_dec(x_15); -x_65 = lean_ctor_get(x_40, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_40, 1); +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_dec(x_12); +x_64 = lean_ctor_get(x_53, 1); +lean_inc(x_64); +lean_dec(x_53); +x_65 = l_Lean_Meta_getPostponed___rarg(x_6, x_7, x_8, x_64); +x_66 = lean_ctor_get(x_65, 0); lean_inc(x_66); -lean_dec(x_40); -x_17 = x_65; -x_18 = x_66; -goto block_24; -} -} -} -else -{ -lean_object* x_67; lean_object* x_68; -lean_dec(x_15); -x_67 = lean_ctor_get(x_25, 0); +x_67 = lean_ctor_get(x_65, 1); lean_inc(x_67); -x_68 = lean_ctor_get(x_25, 1); -lean_inc(x_68); -lean_dec(x_25); -x_17 = x_67; -x_18 = x_68; -goto block_24; -} -block_24: -{ -lean_object* x_19; uint8_t x_20; -x_19 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_18); +lean_dec(x_65); +x_68 = l_Std_PersistentArray_append___rarg(x_28, x_66); +x_69 = l_Lean_Meta_setPostponed(x_68, x_5, x_6, x_7, x_8, x_67); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) { -lean_object* x_21; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -lean_ctor_set_tag(x_19, 1); -lean_ctor_set(x_19, 0, x_17); -return x_19; +lean_object* x_71; uint8_t x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_69, 0); +lean_dec(x_71); +x_72 = 1; +x_73 = lean_box(x_72); +lean_ctor_set(x_69, 0, x_73); +return x_69; } else { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_17); -lean_ctor_set(x_23, 1, x_22); -return x_23; +lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; +x_74 = lean_ctor_get(x_69, 1); +lean_inc(x_74); +lean_dec(x_69); +x_75 = 1; +x_76 = lean_box(x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_74); +return x_77; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_28); +x_78 = lean_ctor_get(x_53, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_53, 1); +lean_inc(x_79); +lean_dec(x_53); +x_30 = x_78; +x_31 = x_79; +goto block_37; +} +} +} +else +{ +lean_object* x_80; lean_object* x_81; +lean_dec(x_28); +x_80 = lean_ctor_get(x_38, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_38, 1); +lean_inc(x_81); +lean_dec(x_38); +x_30 = x_80; +x_31 = x_81; +goto block_37; +} +block_37: +{ +lean_object* x_32; uint8_t x_33; +x_32 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_31); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_12); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_32, 0); +lean_dec(x_34); +lean_ctor_set_tag(x_32, 1); +lean_ctor_set(x_32, 0, x_30); +return x_32; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_30); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; 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_101; +x_82 = lean_ctor_get(x_18, 0); +x_83 = lean_ctor_get(x_18, 1); +x_84 = lean_ctor_get(x_18, 2); +x_85 = lean_ctor_get(x_18, 3); +x_86 = lean_ctor_get(x_18, 4); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_18); +x_87 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +x_88 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_88, 0, x_82); +lean_ctor_set(x_88, 1, x_83); +lean_ctor_set(x_88, 2, x_84); +lean_ctor_set(x_88, 3, x_85); +lean_ctor_set(x_88, 4, x_86); +lean_ctor_set(x_88, 5, x_87); +lean_ctor_set(x_17, 1, x_88); +x_89 = lean_st_ref_set(x_6, x_17, x_19); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +x_91 = l_Lean_Meta_getResetPostponed(x_5, x_6, x_7, x_8, x_90); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_101 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApproxAux(x_1, x_2, x_10, x_5, x_6, x_7, x_8, x_93); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_102; uint8_t x_103; +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_unbox(x_102); +lean_dec(x_102); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_92); +x_104 = lean_ctor_get(x_101, 1); +lean_inc(x_104); +lean_dec(x_101); +x_105 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_104); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_12); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_107 = x_105; +} else { + lean_dec_ref(x_105); + x_107 = lean_box(0); +} +x_108 = 0; +x_109 = lean_box(x_108); +if (lean_is_scalar(x_107)) { + x_110 = lean_alloc_ctor(0, 2, 0); +} else { + x_110 = x_107; +} +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_106); +return x_110; +} +else +{ +lean_object* x_111; uint8_t x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_101, 1); +lean_inc(x_111); +lean_dec(x_101); +x_112 = 0; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_113 = l_Lean_Meta_processPostponed(x_4, x_112, x_5, x_6, x_7, x_8, x_111); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; uint8_t x_115; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +lean_dec(x_114); +if (x_115 == 0) +{ +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_dec(x_92); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +x_117 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_116); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_12); +x_118 = lean_ctor_get(x_117, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_119 = x_117; +} else { + lean_dec_ref(x_117); + x_119 = lean_box(0); +} +x_120 = lean_box(x_112); +if (lean_is_scalar(x_119)) { + x_121 = lean_alloc_ctor(0, 2, 0); +} else { + x_121 = x_119; +} +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_118); +return x_121; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; +lean_dec(x_12); +x_122 = lean_ctor_get(x_113, 1); +lean_inc(x_122); +lean_dec(x_113); +x_123 = l_Lean_Meta_getPostponed___rarg(x_6, x_7, x_8, x_122); +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_Std_PersistentArray_append___rarg(x_92, x_124); +x_127 = l_Lean_Meta_setPostponed(x_126, x_5, x_6, x_7, x_8, x_125); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_128 = lean_ctor_get(x_127, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_129 = x_127; +} else { + lean_dec_ref(x_127); + x_129 = lean_box(0); +} +x_130 = 1; +x_131 = lean_box(x_130); +if (lean_is_scalar(x_129)) { + x_132 = lean_alloc_ctor(0, 2, 0); +} else { + x_132 = x_129; +} +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_128); +return x_132; +} +} +else +{ +lean_object* x_133; lean_object* x_134; +lean_dec(x_92); +x_133 = lean_ctor_get(x_113, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_113, 1); +lean_inc(x_134); +lean_dec(x_113); +x_94 = x_133; +x_95 = x_134; +goto block_100; +} +} +} +else +{ +lean_object* x_135; lean_object* x_136; +lean_dec(x_92); +x_135 = lean_ctor_get(x_101, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_101, 1); +lean_inc(x_136); +lean_dec(x_101); +x_94 = x_135; +x_95 = x_136; +goto block_100; +} +block_100: +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_96 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_95); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_12); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_98 = x_96; +} else { + lean_dec_ref(x_96); + x_98 = lean_box(0); +} +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(1, 2, 0); +} else { + x_99 = x_98; + lean_ctor_set_tag(x_99, 1); +} +lean_ctor_set(x_99, 0, x_94); +lean_ctor_set(x_99, 1, x_97); +return x_99; +} +} +} +else +{ +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_161; +x_137 = lean_ctor_get(x_17, 0); +x_138 = lean_ctor_get(x_17, 2); +x_139 = lean_ctor_get(x_17, 3); +lean_inc(x_139); +lean_inc(x_138); +lean_inc(x_137); +lean_dec(x_17); +x_140 = lean_ctor_get(x_18, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_18, 1); +lean_inc(x_141); +x_142 = lean_ctor_get(x_18, 2); +lean_inc(x_142); +x_143 = lean_ctor_get(x_18, 3); +lean_inc(x_143); +x_144 = lean_ctor_get(x_18, 4); +lean_inc(x_144); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + lean_ctor_release(x_18, 2); + lean_ctor_release(x_18, 3); + lean_ctor_release(x_18, 4); + lean_ctor_release(x_18, 5); + x_145 = x_18; +} else { + lean_dec_ref(x_18); + x_145 = lean_box(0); +} +x_146 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +if (lean_is_scalar(x_145)) { + x_147 = lean_alloc_ctor(0, 6, 0); +} else { + x_147 = x_145; +} +lean_ctor_set(x_147, 0, x_140); +lean_ctor_set(x_147, 1, x_141); +lean_ctor_set(x_147, 2, x_142); +lean_ctor_set(x_147, 3, x_143); +lean_ctor_set(x_147, 4, x_144); +lean_ctor_set(x_147, 5, x_146); +x_148 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_148, 0, x_137); +lean_ctor_set(x_148, 1, x_147); +lean_ctor_set(x_148, 2, x_138); +lean_ctor_set(x_148, 3, x_139); +x_149 = lean_st_ref_set(x_6, x_148, x_19); +x_150 = lean_ctor_get(x_149, 1); +lean_inc(x_150); +lean_dec(x_149); +x_151 = l_Lean_Meta_getResetPostponed(x_5, x_6, x_7, x_8, x_150); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_161 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApproxAux(x_1, x_2, x_10, x_5, x_6, x_7, x_8, x_153); +if (lean_obj_tag(x_161) == 0) +{ +lean_object* x_162; uint8_t x_163; +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +x_163 = lean_unbox(x_162); +lean_dec(x_162); +if (x_163 == 0) +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; lean_object* x_170; +lean_dec(x_152); +x_164 = lean_ctor_get(x_161, 1); +lean_inc(x_164); +lean_dec(x_161); +x_165 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_164); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_12); +x_166 = lean_ctor_get(x_165, 1); +lean_inc(x_166); +if (lean_is_exclusive(x_165)) { + lean_ctor_release(x_165, 0); + lean_ctor_release(x_165, 1); + x_167 = x_165; +} else { + lean_dec_ref(x_165); + x_167 = lean_box(0); +} +x_168 = 0; +x_169 = lean_box(x_168); +if (lean_is_scalar(x_167)) { + x_170 = lean_alloc_ctor(0, 2, 0); +} else { + x_170 = x_167; +} +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_166); +return x_170; +} +else +{ +lean_object* x_171; uint8_t x_172; lean_object* x_173; +x_171 = lean_ctor_get(x_161, 1); +lean_inc(x_171); +lean_dec(x_161); +x_172 = 0; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_173 = l_Lean_Meta_processPostponed(x_4, x_172, x_5, x_6, x_7, x_8, x_171); +if (lean_obj_tag(x_173) == 0) +{ +lean_object* x_174; uint8_t x_175; +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +x_175 = lean_unbox(x_174); +lean_dec(x_174); +if (x_175 == 0) +{ +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_dec(x_152); +x_176 = lean_ctor_get(x_173, 1); +lean_inc(x_176); +lean_dec(x_173); +x_177 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_176); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_12); +x_178 = lean_ctor_get(x_177, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_177)) { + lean_ctor_release(x_177, 0); + lean_ctor_release(x_177, 1); + x_179 = x_177; +} else { + lean_dec_ref(x_177); + x_179 = lean_box(0); +} +x_180 = lean_box(x_172); +if (lean_is_scalar(x_179)) { + x_181 = lean_alloc_ctor(0, 2, 0); +} else { + x_181 = x_179; +} +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_178); +return x_181; +} +else +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; lean_object* x_191; lean_object* x_192; +lean_dec(x_12); +x_182 = lean_ctor_get(x_173, 1); +lean_inc(x_182); +lean_dec(x_173); +x_183 = l_Lean_Meta_getPostponed___rarg(x_6, x_7, x_8, x_182); +x_184 = lean_ctor_get(x_183, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_183, 1); +lean_inc(x_185); +lean_dec(x_183); +x_186 = l_Std_PersistentArray_append___rarg(x_152, x_184); +x_187 = l_Lean_Meta_setPostponed(x_186, x_5, x_6, x_7, x_8, x_185); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_188 = lean_ctor_get(x_187, 1); +lean_inc(x_188); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + x_189 = x_187; +} else { + lean_dec_ref(x_187); + x_189 = lean_box(0); +} +x_190 = 1; +x_191 = lean_box(x_190); +if (lean_is_scalar(x_189)) { + x_192 = lean_alloc_ctor(0, 2, 0); +} else { + x_192 = x_189; +} +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_188); +return x_192; +} +} +else +{ +lean_object* x_193; lean_object* x_194; +lean_dec(x_152); +x_193 = lean_ctor_get(x_173, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_173, 1); +lean_inc(x_194); +lean_dec(x_173); +x_154 = x_193; +x_155 = x_194; +goto block_160; +} +} +} +else +{ +lean_object* x_195; lean_object* x_196; +lean_dec(x_152); +x_195 = lean_ctor_get(x_161, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_161, 1); +lean_inc(x_196); +lean_dec(x_161); +x_154 = x_195; +x_155 = x_196; +goto block_160; +} +block_160: +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_156 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_155); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_12); +x_157 = lean_ctor_get(x_156, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_158 = x_156; +} else { + lean_dec_ref(x_156); + x_158 = lean_box(0); +} +if (lean_is_scalar(x_158)) { + x_159 = lean_alloc_ctor(1, 2, 0); +} else { + x_159 = x_158; + lean_ctor_set_tag(x_159, 1); +} +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_157); +return x_159; } } } @@ -58670,62 +55914,351 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_28; lean_object* x_29; uint8_t x_68; lean_object* x_69; lean_object* x_96; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; x_14 = l_Lean_Meta_saveState___rarg(x_10, x_11, x_12, x_13); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = l_Lean_Meta_getResetPostponed(x_9, x_10, x_11, x_12, x_16); -x_18 = lean_ctor_get(x_17, 0); +x_17 = lean_st_ref_get(x_12, x_16); +x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); lean_dec(x_17); +x_19 = lean_st_ref_take(x_10, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = !lean_is_exclusive(x_20); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_20, 1); +lean_dec(x_24); +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_41; lean_object* x_42; uint8_t x_81; lean_object* x_82; lean_object* x_109; +x_26 = lean_ctor_get(x_21, 5); +lean_dec(x_26); +x_27 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +lean_ctor_set(x_21, 5, x_27); +x_28 = lean_st_ref_set(x_10, x_20, x_22); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = l_Lean_Meta_getResetPostponed(x_9, x_10, x_11, x_12, x_29); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_3); -x_96 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_3, x_6, x_7, x_9, x_10, x_11, x_12, x_19); -if (lean_obj_tag(x_96) == 0) +x_109 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_3, x_6, x_7, x_9, x_10, x_11, x_12, x_32); +if (lean_obj_tag(x_109) == 0) { -lean_object* x_97; uint8_t x_98; -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_unbox(x_97); -if (x_98 == 0) +lean_object* x_110; uint8_t x_111; +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_unbox(x_110); +if (x_111 == 0) { -lean_object* x_99; uint8_t x_100; +lean_object* x_112; uint8_t x_113; lean_dec(x_4); lean_dec(x_3); -x_99 = lean_ctor_get(x_96, 1); -lean_inc(x_99); -lean_dec(x_96); -x_100 = lean_unbox(x_97); -lean_dec(x_97); -x_68 = x_100; -x_69 = x_99; -goto block_95; +x_112 = lean_ctor_get(x_109, 1); +lean_inc(x_112); +lean_dec(x_109); +x_113 = lean_unbox(x_110); +lean_dec(x_110); +x_81 = x_113; +x_82 = x_112; +goto block_108; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -lean_dec(x_97); -x_101 = lean_ctor_get(x_96, 1); -lean_inc(x_101); -lean_dec(x_96); -x_102 = l_Lean_Expr_constLevels_x21(x_3); -x_103 = l_Lean_Expr_constLevels_x21(x_4); +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_110); +x_114 = lean_ctor_get(x_109, 1); +lean_inc(x_114); +lean_dec(x_109); +x_115 = l_Lean_Expr_constLevels_x21(x_3); +x_116 = l_Lean_Expr_constLevels_x21(x_4); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_104 = l_Lean_Meta_isListLevelDefEqAux(x_102, x_103, x_9, x_10, x_11, x_12, x_101); -if (lean_obj_tag(x_104) == 0) +x_117 = l_Lean_Meta_isListLevelDefEqAux(x_115, x_116, x_9, x_10, x_11, x_12, x_114); +if (lean_obj_tag(x_117) == 0) { -lean_object* x_105; lean_object* x_106; uint8_t x_107; +lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +x_120 = lean_unbox(x_118); +lean_dec(x_118); +x_81 = x_120; +x_82 = x_119; +goto block_108; +} +else +{ +lean_object* x_121; lean_object* x_122; +lean_dec(x_31); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_121 = lean_ctor_get(x_117, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_33 = x_121; +x_34 = x_122; +goto block_40; +} +} +} +else +{ +lean_object* x_123; lean_object* x_124; +lean_dec(x_31); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_123 = lean_ctor_get(x_109, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_109, 1); +lean_inc(x_124); +lean_dec(x_109); +x_33 = x_123; +x_34 = x_124; +goto block_40; +} +block_40: +{ +lean_object* x_35; uint8_t x_36; +x_35 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_34); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_15); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +lean_ctor_set_tag(x_35, 1); +lean_ctor_set(x_35, 0, x_33); +return x_35; +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_33); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +block_80: +{ +if (x_41 == 0) +{ +lean_object* x_43; uint8_t x_44; +lean_dec(x_31); +x_43 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_42); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_15); +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; uint8_t x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_43, 0); +lean_dec(x_45); +x_46 = 0; +x_47 = lean_box(x_46); +lean_ctor_set(x_43, 0, x_47); +return x_43; +} +else +{ +lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_43, 1); +lean_inc(x_48); +lean_dec(x_43); +x_49 = 0; +x_50 = lean_box(x_49); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +} +else +{ +uint8_t x_52; lean_object* x_53; +x_52 = 0; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_53 = l_Lean_Meta_processPostponed(x_8, x_52, x_9, x_10, x_11, x_12, x_42); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; uint8_t x_55; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_unbox(x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; uint8_t x_58; +lean_dec(x_31); +x_56 = lean_ctor_get(x_53, 1); +lean_inc(x_56); +lean_dec(x_53); +x_57 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_56); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_15); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_57, 0); +lean_dec(x_59); +x_60 = lean_box(x_52); +lean_ctor_set(x_57, 0, x_60); +return x_57; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +lean_dec(x_57); +x_62 = lean_box(x_52); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_dec(x_15); +x_64 = lean_ctor_get(x_53, 1); +lean_inc(x_64); +lean_dec(x_53); +x_65 = l_Lean_Meta_getPostponed___rarg(x_10, x_11, x_12, 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 = l_Std_PersistentArray_append___rarg(x_31, x_66); +x_69 = l_Lean_Meta_setPostponed(x_68, x_9, x_10, x_11, x_12, x_67); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) +{ +lean_object* x_71; uint8_t x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_69, 0); +lean_dec(x_71); +x_72 = 1; +x_73 = lean_box(x_72); +lean_ctor_set(x_69, 0, x_73); +return x_69; +} +else +{ +lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; +x_74 = lean_ctor_get(x_69, 1); +lean_inc(x_74); +lean_dec(x_69); +x_75 = 1; +x_76 = lean_box(x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_74); +return x_77; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_31); +x_78 = lean_ctor_get(x_53, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_53, 1); +lean_inc(x_79); +lean_dec(x_53); +x_33 = x_78; +x_34 = x_79; +goto block_40; +} +} +} +block_108: +{ +if (x_81 == 0) +{ +uint8_t x_83; lean_object* x_84; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_97 = lean_st_ref_get(x_12, x_82); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_98, 3); +lean_inc(x_99); +lean_dec(x_98); +x_100 = lean_ctor_get_uint8(x_99, sizeof(void*)*1); +lean_dec(x_99); +if (x_100 == 0) +{ +lean_object* x_101; uint8_t x_102; +x_101 = lean_ctor_get(x_97, 1); +lean_inc(x_101); +lean_dec(x_97); +x_102 = 0; +x_83 = x_102; +x_84 = x_101; +goto block_96; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_103 = lean_ctor_get(x_97, 1); +lean_inc(x_103); +lean_dec(x_97); +lean_inc(x_5); +x_104 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_5, x_9, x_10, x_11, x_12, x_103); x_105 = lean_ctor_get(x_104, 0); lean_inc(x_105); x_106 = lean_ctor_get(x_104, 1); @@ -58733,306 +56266,437 @@ lean_inc(x_106); lean_dec(x_104); x_107 = lean_unbox(x_105); lean_dec(x_105); -x_68 = x_107; -x_69 = x_106; -goto block_95; +x_83 = x_107; +x_84 = x_106; +goto block_96; } -else +block_96: +{ +if (x_83 == 0) { -lean_object* x_108; lean_object* x_109; -lean_dec(x_18); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_108 = lean_ctor_get(x_104, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_104, 1); -lean_inc(x_109); -lean_dec(x_104); -x_20 = x_108; -x_21 = x_109; -goto block_27; +x_41 = x_81; +x_42 = x_84; +goto block_80; +} +else +{ +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; +x_85 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_85, 0, x_1); +x_86 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__2; +x_87 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_85); +x_88 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_89 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_90, 0, x_2); +x_91 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_93 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_5, x_93, x_9, x_10, x_11, x_12, x_84); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +lean_dec(x_94); +x_41 = x_81; +x_42 = x_95; +goto block_80; } } } else { -lean_object* x_110; lean_object* x_111; -lean_dec(x_18); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_41 = x_81; +x_42 = x_82; +goto block_80; +} +} +} +else +{ +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; lean_object* x_137; lean_object* x_138; uint8_t x_144; lean_object* x_145; uint8_t x_176; lean_object* x_177; lean_object* x_204; +x_125 = lean_ctor_get(x_21, 0); +x_126 = lean_ctor_get(x_21, 1); +x_127 = lean_ctor_get(x_21, 2); +x_128 = lean_ctor_get(x_21, 3); +x_129 = lean_ctor_get(x_21, 4); +lean_inc(x_129); +lean_inc(x_128); +lean_inc(x_127); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_21); +x_130 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +x_131 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_131, 0, x_125); +lean_ctor_set(x_131, 1, x_126); +lean_ctor_set(x_131, 2, x_127); +lean_ctor_set(x_131, 3, x_128); +lean_ctor_set(x_131, 4, x_129); +lean_ctor_set(x_131, 5, x_130); +lean_ctor_set(x_20, 1, x_131); +x_132 = lean_st_ref_set(x_10, x_20, x_22); +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_134 = l_Lean_Meta_getResetPostponed(x_9, x_10, x_11, x_12, x_133); +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec(x_134); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_3); +x_204 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_3, x_6, x_7, x_9, x_10, x_11, x_12, x_136); +if (lean_obj_tag(x_204) == 0) +{ +lean_object* x_205; uint8_t x_206; +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_unbox(x_205); +if (x_206 == 0) +{ +lean_object* x_207; uint8_t x_208; +lean_dec(x_4); +lean_dec(x_3); +x_207 = lean_ctor_get(x_204, 1); +lean_inc(x_207); +lean_dec(x_204); +x_208 = lean_unbox(x_205); +lean_dec(x_205); +x_176 = x_208; +x_177 = x_207; +goto block_203; +} +else +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; +lean_dec(x_205); +x_209 = lean_ctor_get(x_204, 1); +lean_inc(x_209); +lean_dec(x_204); +x_210 = l_Lean_Expr_constLevels_x21(x_3); +x_211 = l_Lean_Expr_constLevels_x21(x_4); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_212 = l_Lean_Meta_isListLevelDefEqAux(x_210, x_211, x_9, x_10, x_11, x_12, x_209); +if (lean_obj_tag(x_212) == 0) +{ +lean_object* x_213; lean_object* x_214; uint8_t x_215; +x_213 = lean_ctor_get(x_212, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_212, 1); +lean_inc(x_214); +lean_dec(x_212); +x_215 = lean_unbox(x_213); +lean_dec(x_213); +x_176 = x_215; +x_177 = x_214; +goto block_203; +} +else +{ +lean_object* x_216; lean_object* x_217; +lean_dec(x_135); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_216 = lean_ctor_get(x_212, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_212, 1); +lean_inc(x_217); +lean_dec(x_212); +x_137 = x_216; +x_138 = x_217; +goto block_143; +} +} +} +else +{ +lean_object* x_218; lean_object* x_219; +lean_dec(x_135); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_110 = lean_ctor_get(x_96, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_96, 1); -lean_inc(x_111); -lean_dec(x_96); -x_20 = x_110; -x_21 = x_111; -goto block_27; +x_218 = lean_ctor_get(x_204, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_204, 1); +lean_inc(x_219); +lean_dec(x_204); +x_137 = x_218; +x_138 = x_219; +goto block_143; } -block_27: +block_143: { -lean_object* x_22; uint8_t x_23; -x_22 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_21); +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_139 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_138); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -lean_ctor_set_tag(x_22, 1); -lean_ctor_set(x_22, 0, x_20); -return x_22; +lean_dec(x_15); +x_140 = lean_ctor_get(x_139, 1); +lean_inc(x_140); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_141 = x_139; +} else { + lean_dec_ref(x_139); + x_141 = lean_box(0); } -else -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -lean_dec(x_22); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_20); -lean_ctor_set(x_26, 1, x_25); -return x_26; +if (lean_is_scalar(x_141)) { + x_142 = lean_alloc_ctor(1, 2, 0); +} else { + x_142 = x_141; + lean_ctor_set_tag(x_142, 1); } +lean_ctor_set(x_142, 0, x_137); +lean_ctor_set(x_142, 1, x_140); +return x_142; } -block_67: +block_175: { -if (x_28 == 0) +if (x_144 == 0) { -lean_object* x_30; uint8_t x_31; -lean_dec(x_18); -x_30 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_29); +lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; lean_object* x_150; lean_object* x_151; +lean_dec(x_135); +x_146 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_145); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -x_33 = 0; -x_34 = lean_box(x_33); -lean_ctor_set(x_30, 0, x_34); -return x_30; +lean_dec(x_15); +x_147 = lean_ctor_get(x_146, 1); +lean_inc(x_147); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + x_148 = x_146; +} else { + lean_dec_ref(x_146); + x_148 = lean_box(0); +} +x_149 = 0; +x_150 = lean_box(x_149); +if (lean_is_scalar(x_148)) { + x_151 = lean_alloc_ctor(0, 2, 0); +} else { + x_151 = x_148; +} +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_147); +return x_151; } else { -lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; -x_35 = lean_ctor_get(x_30, 1); -lean_inc(x_35); -lean_dec(x_30); -x_36 = 0; -x_37 = lean_box(x_36); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_35); -return x_38; -} -} -else -{ -uint8_t x_39; lean_object* x_40; -x_39 = 0; +uint8_t x_152; lean_object* x_153; +x_152 = 0; lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_40 = l_Lean_Meta_processPostponed(x_8, x_39, x_9, x_10, x_11, x_12, x_29); -if (lean_obj_tag(x_40) == 0) +x_153 = l_Lean_Meta_processPostponed(x_8, x_152, x_9, x_10, x_11, x_12, x_145); +if (lean_obj_tag(x_153) == 0) { -lean_object* x_41; uint8_t x_42; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_unbox(x_41); -lean_dec(x_41); -if (x_42 == 0) +lean_object* x_154; uint8_t x_155; +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +lean_dec(x_154); +if (x_155 == 0) { -lean_object* x_43; lean_object* x_44; uint8_t x_45; -lean_dec(x_18); -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -lean_dec(x_40); -x_44 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_43); +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_135); +x_156 = lean_ctor_get(x_153, 1); +lean_inc(x_156); +lean_dec(x_153); +x_157 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_156); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_44, 0); -lean_dec(x_46); -x_47 = lean_box(x_39); -lean_ctor_set(x_44, 0, x_47); -return x_44; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_44, 1); -lean_inc(x_48); -lean_dec(x_44); -x_49 = lean_box(x_39); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -return x_50; -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_dec(x_15); -x_51 = lean_ctor_get(x_40, 1); -lean_inc(x_51); -lean_dec(x_40); -x_52 = l_Lean_Meta_getPostponed___rarg(x_10, x_11, x_12, x_51); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_55 = l_Std_PersistentArray_append___rarg(x_18, x_53); -x_56 = l_Lean_Meta_setPostponed(x_55, x_9, x_10, x_11, x_12, x_54); +x_158 = lean_ctor_get(x_157, 1); +lean_inc(x_158); +if (lean_is_exclusive(x_157)) { + lean_ctor_release(x_157, 0); + lean_ctor_release(x_157, 1); + x_159 = x_157; +} else { + lean_dec_ref(x_157); + x_159 = lean_box(0); +} +x_160 = lean_box(x_152); +if (lean_is_scalar(x_159)) { + x_161 = lean_alloc_ctor(0, 2, 0); +} else { + x_161 = x_159; +} +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_158); +return x_161; +} +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; uint8_t x_170; lean_object* x_171; lean_object* x_172; +lean_dec(x_15); +x_162 = lean_ctor_get(x_153, 1); +lean_inc(x_162); +lean_dec(x_153); +x_163 = l_Lean_Meta_getPostponed___rarg(x_10, x_11, x_12, x_162); +x_164 = lean_ctor_get(x_163, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_163, 1); +lean_inc(x_165); +lean_dec(x_163); +x_166 = l_Std_PersistentArray_append___rarg(x_135, x_164); +x_167 = l_Lean_Meta_setPostponed(x_166, x_9, x_10, x_11, x_12, x_165); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) -{ -lean_object* x_58; uint8_t x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_56, 0); -lean_dec(x_58); -x_59 = 1; -x_60 = lean_box(x_59); -lean_ctor_set(x_56, 0, x_60); -return x_56; +x_168 = lean_ctor_get(x_167, 1); +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); } -else -{ -lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_56, 1); -lean_inc(x_61); -lean_dec(x_56); -x_62 = 1; -x_63 = lean_box(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_61); -return x_64; +x_170 = 1; +x_171 = lean_box(x_170); +if (lean_is_scalar(x_169)) { + x_172 = lean_alloc_ctor(0, 2, 0); +} else { + x_172 = x_169; } +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_168); +return x_172; } } else { -lean_object* x_65; lean_object* x_66; -lean_dec(x_18); -x_65 = lean_ctor_get(x_40, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_40, 1); -lean_inc(x_66); -lean_dec(x_40); -x_20 = x_65; -x_21 = x_66; -goto block_27; +lean_object* x_173; lean_object* x_174; +lean_dec(x_135); +x_173 = lean_ctor_get(x_153, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_153, 1); +lean_inc(x_174); +lean_dec(x_153); +x_137 = x_173; +x_138 = x_174; +goto block_143; } } } -block_95: +block_203: { -if (x_68 == 0) +if (x_176 == 0) { -uint8_t x_70; lean_object* x_71; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_84 = lean_st_ref_get(x_12, x_69); -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_85, 3); -lean_inc(x_86); -lean_dec(x_85); -x_87 = lean_ctor_get_uint8(x_86, sizeof(void*)*1); -lean_dec(x_86); -if (x_87 == 0) +uint8_t x_178; lean_object* x_179; lean_object* x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; +x_192 = lean_st_ref_get(x_12, x_177); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_193, 3); +lean_inc(x_194); +lean_dec(x_193); +x_195 = lean_ctor_get_uint8(x_194, sizeof(void*)*1); +lean_dec(x_194); +if (x_195 == 0) { -lean_object* x_88; uint8_t x_89; -x_88 = lean_ctor_get(x_84, 1); -lean_inc(x_88); -lean_dec(x_84); -x_89 = 0; -x_70 = x_89; -x_71 = x_88; -goto block_83; +lean_object* x_196; uint8_t x_197; +x_196 = lean_ctor_get(x_192, 1); +lean_inc(x_196); +lean_dec(x_192); +x_197 = 0; +x_178 = x_197; +x_179 = x_196; +goto block_191; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_90 = lean_ctor_get(x_84, 1); -lean_inc(x_90); -lean_dec(x_84); +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; +x_198 = lean_ctor_get(x_192, 1); +lean_inc(x_198); +lean_dec(x_192); lean_inc(x_5); -x_91 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_5, x_9, x_10, x_11, x_12, x_90); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_unbox(x_92); -lean_dec(x_92); -x_70 = x_94; -x_71 = x_93; -goto block_83; +x_199 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_5, x_9, x_10, x_11, x_12, x_198); +x_200 = lean_ctor_get(x_199, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_199, 1); +lean_inc(x_201); +lean_dec(x_199); +x_202 = lean_unbox(x_200); +lean_dec(x_200); +x_178 = x_202; +x_179 = x_201; +goto block_191; } -block_83: +block_191: { -if (x_70 == 0) +if (x_178 == 0) { lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_28 = x_68; -x_29 = x_71; -goto block_67; +x_144 = x_176; +x_145 = x_179; +goto block_175; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_72 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_72, 0, x_1); -x_73 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__2; -x_74 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -x_75 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_76 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -x_77 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_77, 0, x_2); -x_78 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_80 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_5, x_80, x_9, x_10, x_11, x_12, x_71); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec(x_81); -x_28 = x_68; -x_29 = x_82; -goto block_67; +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; +x_180 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_180, 0, x_1); +x_181 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__2; +x_182 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_180); +x_183 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_184 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_184, 0, x_182); +lean_ctor_set(x_184, 1, x_183); +x_185 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_185, 0, x_2); +x_186 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +x_187 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_188 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set(x_188, 1, x_187); +x_189 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_5, x_188, x_9, x_10, x_11, x_12, x_179); +x_190 = lean_ctor_get(x_189, 1); +lean_inc(x_190); +lean_dec(x_189); +x_144 = x_176; +x_145 = x_190; +goto block_175; } } } @@ -59041,9 +56705,424 @@ else lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_28 = x_68; -x_29 = x_69; -goto block_67; +x_144 = x_176; +x_145 = x_177; +goto block_175; +} +} +} +} +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; 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; uint8_t x_244; lean_object* x_245; uint8_t x_276; lean_object* x_277; lean_object* x_304; +x_220 = lean_ctor_get(x_20, 0); +x_221 = lean_ctor_get(x_20, 2); +x_222 = lean_ctor_get(x_20, 3); +lean_inc(x_222); +lean_inc(x_221); +lean_inc(x_220); +lean_dec(x_20); +x_223 = lean_ctor_get(x_21, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_21, 1); +lean_inc(x_224); +x_225 = lean_ctor_get(x_21, 2); +lean_inc(x_225); +x_226 = lean_ctor_get(x_21, 3); +lean_inc(x_226); +x_227 = lean_ctor_get(x_21, 4); +lean_inc(x_227); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + lean_ctor_release(x_21, 2); + lean_ctor_release(x_21, 3); + lean_ctor_release(x_21, 4); + lean_ctor_release(x_21, 5); + x_228 = x_21; +} else { + lean_dec_ref(x_21); + x_228 = lean_box(0); +} +x_229 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +if (lean_is_scalar(x_228)) { + x_230 = lean_alloc_ctor(0, 6, 0); +} else { + x_230 = x_228; +} +lean_ctor_set(x_230, 0, x_223); +lean_ctor_set(x_230, 1, x_224); +lean_ctor_set(x_230, 2, x_225); +lean_ctor_set(x_230, 3, x_226); +lean_ctor_set(x_230, 4, x_227); +lean_ctor_set(x_230, 5, x_229); +x_231 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_231, 0, x_220); +lean_ctor_set(x_231, 1, x_230); +lean_ctor_set(x_231, 2, x_221); +lean_ctor_set(x_231, 3, x_222); +x_232 = lean_st_ref_set(x_10, x_231, x_22); +x_233 = lean_ctor_get(x_232, 1); +lean_inc(x_233); +lean_dec(x_232); +x_234 = l_Lean_Meta_getResetPostponed(x_9, x_10, x_11, x_12, x_233); +x_235 = lean_ctor_get(x_234, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_234, 1); +lean_inc(x_236); +lean_dec(x_234); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_3); +x_304 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_3, x_6, x_7, x_9, x_10, x_11, x_12, x_236); +if (lean_obj_tag(x_304) == 0) +{ +lean_object* x_305; uint8_t x_306; +x_305 = lean_ctor_get(x_304, 0); +lean_inc(x_305); +x_306 = lean_unbox(x_305); +if (x_306 == 0) +{ +lean_object* x_307; uint8_t x_308; +lean_dec(x_4); +lean_dec(x_3); +x_307 = lean_ctor_get(x_304, 1); +lean_inc(x_307); +lean_dec(x_304); +x_308 = lean_unbox(x_305); +lean_dec(x_305); +x_276 = x_308; +x_277 = x_307; +goto block_303; +} +else +{ +lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; +lean_dec(x_305); +x_309 = lean_ctor_get(x_304, 1); +lean_inc(x_309); +lean_dec(x_304); +x_310 = l_Lean_Expr_constLevels_x21(x_3); +x_311 = l_Lean_Expr_constLevels_x21(x_4); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_312 = l_Lean_Meta_isListLevelDefEqAux(x_310, x_311, x_9, x_10, x_11, x_12, x_309); +if (lean_obj_tag(x_312) == 0) +{ +lean_object* x_313; lean_object* x_314; uint8_t x_315; +x_313 = lean_ctor_get(x_312, 0); +lean_inc(x_313); +x_314 = lean_ctor_get(x_312, 1); +lean_inc(x_314); +lean_dec(x_312); +x_315 = lean_unbox(x_313); +lean_dec(x_313); +x_276 = x_315; +x_277 = x_314; +goto block_303; +} +else +{ +lean_object* x_316; lean_object* x_317; +lean_dec(x_235); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_316 = lean_ctor_get(x_312, 0); +lean_inc(x_316); +x_317 = lean_ctor_get(x_312, 1); +lean_inc(x_317); +lean_dec(x_312); +x_237 = x_316; +x_238 = x_317; +goto block_243; +} +} +} +else +{ +lean_object* x_318; lean_object* x_319; +lean_dec(x_235); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_318 = lean_ctor_get(x_304, 0); +lean_inc(x_318); +x_319 = lean_ctor_get(x_304, 1); +lean_inc(x_319); +lean_dec(x_304); +x_237 = x_318; +x_238 = x_319; +goto block_243; +} +block_243: +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +x_239 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_238); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_15); +x_240 = lean_ctor_get(x_239, 1); +lean_inc(x_240); +if (lean_is_exclusive(x_239)) { + lean_ctor_release(x_239, 0); + lean_ctor_release(x_239, 1); + x_241 = x_239; +} else { + lean_dec_ref(x_239); + x_241 = lean_box(0); +} +if (lean_is_scalar(x_241)) { + x_242 = lean_alloc_ctor(1, 2, 0); +} else { + x_242 = x_241; + lean_ctor_set_tag(x_242, 1); +} +lean_ctor_set(x_242, 0, x_237); +lean_ctor_set(x_242, 1, x_240); +return x_242; +} +block_275: +{ +if (x_244 == 0) +{ +lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; lean_object* x_250; lean_object* x_251; +lean_dec(x_235); +x_246 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_245); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_15); +x_247 = lean_ctor_get(x_246, 1); +lean_inc(x_247); +if (lean_is_exclusive(x_246)) { + lean_ctor_release(x_246, 0); + lean_ctor_release(x_246, 1); + x_248 = x_246; +} else { + lean_dec_ref(x_246); + x_248 = lean_box(0); +} +x_249 = 0; +x_250 = lean_box(x_249); +if (lean_is_scalar(x_248)) { + x_251 = lean_alloc_ctor(0, 2, 0); +} else { + x_251 = x_248; +} +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_247); +return x_251; +} +else +{ +uint8_t x_252; lean_object* x_253; +x_252 = 0; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_253 = l_Lean_Meta_processPostponed(x_8, x_252, x_9, x_10, x_11, x_12, x_245); +if (lean_obj_tag(x_253) == 0) +{ +lean_object* x_254; uint8_t x_255; +x_254 = lean_ctor_get(x_253, 0); +lean_inc(x_254); +x_255 = lean_unbox(x_254); +lean_dec(x_254); +if (x_255 == 0) +{ +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_dec(x_235); +x_256 = lean_ctor_get(x_253, 1); +lean_inc(x_256); +lean_dec(x_253); +x_257 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_256); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_15); +x_258 = lean_ctor_get(x_257, 1); +lean_inc(x_258); +if (lean_is_exclusive(x_257)) { + lean_ctor_release(x_257, 0); + lean_ctor_release(x_257, 1); + x_259 = x_257; +} else { + lean_dec_ref(x_257); + x_259 = lean_box(0); +} +x_260 = lean_box(x_252); +if (lean_is_scalar(x_259)) { + x_261 = lean_alloc_ctor(0, 2, 0); +} else { + x_261 = x_259; +} +lean_ctor_set(x_261, 0, x_260); +lean_ctor_set(x_261, 1, x_258); +return x_261; +} +else +{ +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; lean_object* x_269; uint8_t x_270; lean_object* x_271; lean_object* x_272; +lean_dec(x_15); +x_262 = lean_ctor_get(x_253, 1); +lean_inc(x_262); +lean_dec(x_253); +x_263 = l_Lean_Meta_getPostponed___rarg(x_10, x_11, x_12, x_262); +x_264 = lean_ctor_get(x_263, 0); +lean_inc(x_264); +x_265 = lean_ctor_get(x_263, 1); +lean_inc(x_265); +lean_dec(x_263); +x_266 = l_Std_PersistentArray_append___rarg(x_235, x_264); +x_267 = l_Lean_Meta_setPostponed(x_266, x_9, x_10, x_11, x_12, x_265); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_268 = lean_ctor_get(x_267, 1); +lean_inc(x_268); +if (lean_is_exclusive(x_267)) { + lean_ctor_release(x_267, 0); + lean_ctor_release(x_267, 1); + x_269 = x_267; +} else { + lean_dec_ref(x_267); + x_269 = lean_box(0); +} +x_270 = 1; +x_271 = lean_box(x_270); +if (lean_is_scalar(x_269)) { + x_272 = lean_alloc_ctor(0, 2, 0); +} else { + x_272 = x_269; +} +lean_ctor_set(x_272, 0, x_271); +lean_ctor_set(x_272, 1, x_268); +return x_272; +} +} +else +{ +lean_object* x_273; lean_object* x_274; +lean_dec(x_235); +x_273 = lean_ctor_get(x_253, 0); +lean_inc(x_273); +x_274 = lean_ctor_get(x_253, 1); +lean_inc(x_274); +lean_dec(x_253); +x_237 = x_273; +x_238 = x_274; +goto block_243; +} +} +} +block_303: +{ +if (x_276 == 0) +{ +uint8_t x_278; lean_object* x_279; lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; +x_292 = lean_st_ref_get(x_12, x_277); +x_293 = lean_ctor_get(x_292, 0); +lean_inc(x_293); +x_294 = lean_ctor_get(x_293, 3); +lean_inc(x_294); +lean_dec(x_293); +x_295 = lean_ctor_get_uint8(x_294, sizeof(void*)*1); +lean_dec(x_294); +if (x_295 == 0) +{ +lean_object* x_296; uint8_t x_297; +x_296 = lean_ctor_get(x_292, 1); +lean_inc(x_296); +lean_dec(x_292); +x_297 = 0; +x_278 = x_297; +x_279 = x_296; +goto block_291; +} +else +{ +lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; uint8_t x_302; +x_298 = lean_ctor_get(x_292, 1); +lean_inc(x_298); +lean_dec(x_292); +lean_inc(x_5); +x_299 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_5, x_9, x_10, x_11, x_12, x_298); +x_300 = lean_ctor_get(x_299, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_299, 1); +lean_inc(x_301); +lean_dec(x_299); +x_302 = lean_unbox(x_300); +lean_dec(x_300); +x_278 = x_302; +x_279 = x_301; +goto block_291; +} +block_291: +{ +if (x_278 == 0) +{ +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_244 = x_276; +x_245 = x_279; +goto block_275; +} +else +{ +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; lean_object* x_290; +x_280 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_280, 0, x_1); +x_281 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__2; +x_282 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_282, 0, x_281); +lean_ctor_set(x_282, 1, x_280); +x_283 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_284 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_284, 0, x_282); +lean_ctor_set(x_284, 1, x_283); +x_285 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_285, 0, x_2); +x_286 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_286, 0, x_284); +lean_ctor_set(x_286, 1, x_285); +x_287 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_288 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_288, 0, x_286); +lean_ctor_set(x_288, 1, x_287); +x_289 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_5, x_288, x_9, x_10, x_11, x_12, x_279); +x_290 = lean_ctor_get(x_289, 1); +lean_inc(x_290); +lean_dec(x_289); +x_244 = x_276; +x_245 = x_290; +goto block_275; +} +} +} +else +{ +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_244 = x_276; +x_245 = x_277; +goto block_275; +} } } } @@ -59051,62 +57130,351 @@ goto block_67; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_28; lean_object* x_29; uint8_t x_68; lean_object* x_69; lean_object* x_96; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; x_14 = l_Lean_Meta_saveState___rarg(x_10, x_11, x_12, x_13); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = l_Lean_Meta_getResetPostponed(x_9, x_10, x_11, x_12, x_16); -x_18 = lean_ctor_get(x_17, 0); +x_17 = lean_st_ref_get(x_12, x_16); +x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); lean_dec(x_17); +x_19 = lean_st_ref_take(x_10, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = !lean_is_exclusive(x_20); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_20, 1); +lean_dec(x_24); +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_41; lean_object* x_42; uint8_t x_81; lean_object* x_82; lean_object* x_109; +x_26 = lean_ctor_get(x_21, 5); +lean_dec(x_26); +x_27 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +lean_ctor_set(x_21, 5, x_27); +x_28 = lean_st_ref_set(x_10, x_20, x_22); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = l_Lean_Meta_getResetPostponed(x_9, x_10, x_11, x_12, x_29); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_3); -x_96 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_3, x_6, x_7, x_9, x_10, x_11, x_12, x_19); -if (lean_obj_tag(x_96) == 0) +x_109 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_3, x_6, x_7, x_9, x_10, x_11, x_12, x_32); +if (lean_obj_tag(x_109) == 0) { -lean_object* x_97; uint8_t x_98; -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_unbox(x_97); -if (x_98 == 0) +lean_object* x_110; uint8_t x_111; +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_unbox(x_110); +if (x_111 == 0) { -lean_object* x_99; uint8_t x_100; +lean_object* x_112; uint8_t x_113; lean_dec(x_4); lean_dec(x_3); -x_99 = lean_ctor_get(x_96, 1); -lean_inc(x_99); -lean_dec(x_96); -x_100 = lean_unbox(x_97); -lean_dec(x_97); -x_68 = x_100; -x_69 = x_99; -goto block_95; +x_112 = lean_ctor_get(x_109, 1); +lean_inc(x_112); +lean_dec(x_109); +x_113 = lean_unbox(x_110); +lean_dec(x_110); +x_81 = x_113; +x_82 = x_112; +goto block_108; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -lean_dec(x_97); -x_101 = lean_ctor_get(x_96, 1); -lean_inc(x_101); -lean_dec(x_96); -x_102 = l_Lean_Expr_constLevels_x21(x_3); -x_103 = l_Lean_Expr_constLevels_x21(x_4); +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_110); +x_114 = lean_ctor_get(x_109, 1); +lean_inc(x_114); +lean_dec(x_109); +x_115 = l_Lean_Expr_constLevels_x21(x_3); +x_116 = l_Lean_Expr_constLevels_x21(x_4); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_104 = l_Lean_Meta_isListLevelDefEqAux(x_102, x_103, x_9, x_10, x_11, x_12, x_101); -if (lean_obj_tag(x_104) == 0) +x_117 = l_Lean_Meta_isListLevelDefEqAux(x_115, x_116, x_9, x_10, x_11, x_12, x_114); +if (lean_obj_tag(x_117) == 0) { -lean_object* x_105; lean_object* x_106; uint8_t x_107; +lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +x_120 = lean_unbox(x_118); +lean_dec(x_118); +x_81 = x_120; +x_82 = x_119; +goto block_108; +} +else +{ +lean_object* x_121; lean_object* x_122; +lean_dec(x_31); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_121 = lean_ctor_get(x_117, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_33 = x_121; +x_34 = x_122; +goto block_40; +} +} +} +else +{ +lean_object* x_123; lean_object* x_124; +lean_dec(x_31); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_123 = lean_ctor_get(x_109, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_109, 1); +lean_inc(x_124); +lean_dec(x_109); +x_33 = x_123; +x_34 = x_124; +goto block_40; +} +block_40: +{ +lean_object* x_35; uint8_t x_36; +x_35 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_34); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_15); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +lean_ctor_set_tag(x_35, 1); +lean_ctor_set(x_35, 0, x_33); +return x_35; +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_33); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +block_80: +{ +if (x_41 == 0) +{ +lean_object* x_43; uint8_t x_44; +lean_dec(x_31); +x_43 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_42); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_15); +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; uint8_t x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_43, 0); +lean_dec(x_45); +x_46 = 0; +x_47 = lean_box(x_46); +lean_ctor_set(x_43, 0, x_47); +return x_43; +} +else +{ +lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_43, 1); +lean_inc(x_48); +lean_dec(x_43); +x_49 = 0; +x_50 = lean_box(x_49); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +} +else +{ +uint8_t x_52; lean_object* x_53; +x_52 = 0; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_53 = l_Lean_Meta_processPostponed(x_8, x_52, x_9, x_10, x_11, x_12, x_42); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; uint8_t x_55; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_unbox(x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; uint8_t x_58; +lean_dec(x_31); +x_56 = lean_ctor_get(x_53, 1); +lean_inc(x_56); +lean_dec(x_53); +x_57 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_56); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_15); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_57, 0); +lean_dec(x_59); +x_60 = lean_box(x_52); +lean_ctor_set(x_57, 0, x_60); +return x_57; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +lean_dec(x_57); +x_62 = lean_box(x_52); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +lean_dec(x_15); +x_64 = lean_ctor_get(x_53, 1); +lean_inc(x_64); +lean_dec(x_53); +x_65 = l_Lean_Meta_getPostponed___rarg(x_10, x_11, x_12, 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 = l_Std_PersistentArray_append___rarg(x_31, x_66); +x_69 = l_Lean_Meta_setPostponed(x_68, x_9, x_10, x_11, x_12, x_67); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) +{ +lean_object* x_71; uint8_t x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_69, 0); +lean_dec(x_71); +x_72 = 1; +x_73 = lean_box(x_72); +lean_ctor_set(x_69, 0, x_73); +return x_69; +} +else +{ +lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; +x_74 = lean_ctor_get(x_69, 1); +lean_inc(x_74); +lean_dec(x_69); +x_75 = 1; +x_76 = lean_box(x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_74); +return x_77; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_31); +x_78 = lean_ctor_get(x_53, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_53, 1); +lean_inc(x_79); +lean_dec(x_53); +x_33 = x_78; +x_34 = x_79; +goto block_40; +} +} +} +block_108: +{ +if (x_81 == 0) +{ +uint8_t x_83; lean_object* x_84; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_97 = lean_st_ref_get(x_12, x_82); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_98, 3); +lean_inc(x_99); +lean_dec(x_98); +x_100 = lean_ctor_get_uint8(x_99, sizeof(void*)*1); +lean_dec(x_99); +if (x_100 == 0) +{ +lean_object* x_101; uint8_t x_102; +x_101 = lean_ctor_get(x_97, 1); +lean_inc(x_101); +lean_dec(x_97); +x_102 = 0; +x_83 = x_102; +x_84 = x_101; +goto block_96; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_103 = lean_ctor_get(x_97, 1); +lean_inc(x_103); +lean_dec(x_97); +lean_inc(x_5); +x_104 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_5, x_9, x_10, x_11, x_12, x_103); x_105 = lean_ctor_get(x_104, 0); lean_inc(x_105); x_106 = lean_ctor_get(x_104, 1); @@ -59114,306 +57482,437 @@ lean_inc(x_106); lean_dec(x_104); x_107 = lean_unbox(x_105); lean_dec(x_105); -x_68 = x_107; -x_69 = x_106; -goto block_95; +x_83 = x_107; +x_84 = x_106; +goto block_96; } -else +block_96: +{ +if (x_83 == 0) { -lean_object* x_108; lean_object* x_109; -lean_dec(x_18); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_108 = lean_ctor_get(x_104, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_104, 1); -lean_inc(x_109); -lean_dec(x_104); -x_20 = x_108; -x_21 = x_109; -goto block_27; +x_41 = x_81; +x_42 = x_84; +goto block_80; +} +else +{ +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; +x_85 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_85, 0, x_1); +x_86 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__2; +x_87 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_85); +x_88 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_89 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_90, 0, x_2); +x_91 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_93 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_5, x_93, x_9, x_10, x_11, x_12, x_84); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +lean_dec(x_94); +x_41 = x_81; +x_42 = x_95; +goto block_80; } } } else { -lean_object* x_110; lean_object* x_111; -lean_dec(x_18); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_41 = x_81; +x_42 = x_82; +goto block_80; +} +} +} +else +{ +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; lean_object* x_137; lean_object* x_138; uint8_t x_144; lean_object* x_145; uint8_t x_176; lean_object* x_177; lean_object* x_204; +x_125 = lean_ctor_get(x_21, 0); +x_126 = lean_ctor_get(x_21, 1); +x_127 = lean_ctor_get(x_21, 2); +x_128 = lean_ctor_get(x_21, 3); +x_129 = lean_ctor_get(x_21, 4); +lean_inc(x_129); +lean_inc(x_128); +lean_inc(x_127); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_21); +x_130 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +x_131 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_131, 0, x_125); +lean_ctor_set(x_131, 1, x_126); +lean_ctor_set(x_131, 2, x_127); +lean_ctor_set(x_131, 3, x_128); +lean_ctor_set(x_131, 4, x_129); +lean_ctor_set(x_131, 5, x_130); +lean_ctor_set(x_20, 1, x_131); +x_132 = lean_st_ref_set(x_10, x_20, x_22); +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_134 = l_Lean_Meta_getResetPostponed(x_9, x_10, x_11, x_12, x_133); +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec(x_134); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_3); +x_204 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_3, x_6, x_7, x_9, x_10, x_11, x_12, x_136); +if (lean_obj_tag(x_204) == 0) +{ +lean_object* x_205; uint8_t x_206; +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_unbox(x_205); +if (x_206 == 0) +{ +lean_object* x_207; uint8_t x_208; +lean_dec(x_4); +lean_dec(x_3); +x_207 = lean_ctor_get(x_204, 1); +lean_inc(x_207); +lean_dec(x_204); +x_208 = lean_unbox(x_205); +lean_dec(x_205); +x_176 = x_208; +x_177 = x_207; +goto block_203; +} +else +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; +lean_dec(x_205); +x_209 = lean_ctor_get(x_204, 1); +lean_inc(x_209); +lean_dec(x_204); +x_210 = l_Lean_Expr_constLevels_x21(x_3); +x_211 = l_Lean_Expr_constLevels_x21(x_4); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_212 = l_Lean_Meta_isListLevelDefEqAux(x_210, x_211, x_9, x_10, x_11, x_12, x_209); +if (lean_obj_tag(x_212) == 0) +{ +lean_object* x_213; lean_object* x_214; uint8_t x_215; +x_213 = lean_ctor_get(x_212, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_212, 1); +lean_inc(x_214); +lean_dec(x_212); +x_215 = lean_unbox(x_213); +lean_dec(x_213); +x_176 = x_215; +x_177 = x_214; +goto block_203; +} +else +{ +lean_object* x_216; lean_object* x_217; +lean_dec(x_135); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_216 = lean_ctor_get(x_212, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_212, 1); +lean_inc(x_217); +lean_dec(x_212); +x_137 = x_216; +x_138 = x_217; +goto block_143; +} +} +} +else +{ +lean_object* x_218; lean_object* x_219; +lean_dec(x_135); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_110 = lean_ctor_get(x_96, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_96, 1); -lean_inc(x_111); -lean_dec(x_96); -x_20 = x_110; -x_21 = x_111; -goto block_27; +x_218 = lean_ctor_get(x_204, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_204, 1); +lean_inc(x_219); +lean_dec(x_204); +x_137 = x_218; +x_138 = x_219; +goto block_143; } -block_27: +block_143: { -lean_object* x_22; uint8_t x_23; -x_22 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_21); +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_139 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_138); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -lean_ctor_set_tag(x_22, 1); -lean_ctor_set(x_22, 0, x_20); -return x_22; +lean_dec(x_15); +x_140 = lean_ctor_get(x_139, 1); +lean_inc(x_140); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_141 = x_139; +} else { + lean_dec_ref(x_139); + x_141 = lean_box(0); } -else -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -lean_dec(x_22); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_20); -lean_ctor_set(x_26, 1, x_25); -return x_26; +if (lean_is_scalar(x_141)) { + x_142 = lean_alloc_ctor(1, 2, 0); +} else { + x_142 = x_141; + lean_ctor_set_tag(x_142, 1); } +lean_ctor_set(x_142, 0, x_137); +lean_ctor_set(x_142, 1, x_140); +return x_142; } -block_67: +block_175: { -if (x_28 == 0) +if (x_144 == 0) { -lean_object* x_30; uint8_t x_31; -lean_dec(x_18); -x_30 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_29); +lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; lean_object* x_150; lean_object* x_151; +lean_dec(x_135); +x_146 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_145); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -x_33 = 0; -x_34 = lean_box(x_33); -lean_ctor_set(x_30, 0, x_34); -return x_30; +lean_dec(x_15); +x_147 = lean_ctor_get(x_146, 1); +lean_inc(x_147); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + x_148 = x_146; +} else { + lean_dec_ref(x_146); + x_148 = lean_box(0); +} +x_149 = 0; +x_150 = lean_box(x_149); +if (lean_is_scalar(x_148)) { + x_151 = lean_alloc_ctor(0, 2, 0); +} else { + x_151 = x_148; +} +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_147); +return x_151; } else { -lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; -x_35 = lean_ctor_get(x_30, 1); -lean_inc(x_35); -lean_dec(x_30); -x_36 = 0; -x_37 = lean_box(x_36); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_35); -return x_38; -} -} -else -{ -uint8_t x_39; lean_object* x_40; -x_39 = 0; +uint8_t x_152; lean_object* x_153; +x_152 = 0; lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_40 = l_Lean_Meta_processPostponed(x_8, x_39, x_9, x_10, x_11, x_12, x_29); -if (lean_obj_tag(x_40) == 0) +x_153 = l_Lean_Meta_processPostponed(x_8, x_152, x_9, x_10, x_11, x_12, x_145); +if (lean_obj_tag(x_153) == 0) { -lean_object* x_41; uint8_t x_42; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_unbox(x_41); -lean_dec(x_41); -if (x_42 == 0) +lean_object* x_154; uint8_t x_155; +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +lean_dec(x_154); +if (x_155 == 0) { -lean_object* x_43; lean_object* x_44; uint8_t x_45; -lean_dec(x_18); -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -lean_dec(x_40); -x_44 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_43); +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_135); +x_156 = lean_ctor_get(x_153, 1); +lean_inc(x_156); +lean_dec(x_153); +x_157 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_156); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_44, 0); -lean_dec(x_46); -x_47 = lean_box(x_39); -lean_ctor_set(x_44, 0, x_47); -return x_44; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_44, 1); -lean_inc(x_48); -lean_dec(x_44); -x_49 = lean_box(x_39); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -return x_50; -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_dec(x_15); -x_51 = lean_ctor_get(x_40, 1); -lean_inc(x_51); -lean_dec(x_40); -x_52 = l_Lean_Meta_getPostponed___rarg(x_10, x_11, x_12, x_51); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_55 = l_Std_PersistentArray_append___rarg(x_18, x_53); -x_56 = l_Lean_Meta_setPostponed(x_55, x_9, x_10, x_11, x_12, x_54); +x_158 = lean_ctor_get(x_157, 1); +lean_inc(x_158); +if (lean_is_exclusive(x_157)) { + lean_ctor_release(x_157, 0); + lean_ctor_release(x_157, 1); + x_159 = x_157; +} else { + lean_dec_ref(x_157); + x_159 = lean_box(0); +} +x_160 = lean_box(x_152); +if (lean_is_scalar(x_159)) { + x_161 = lean_alloc_ctor(0, 2, 0); +} else { + x_161 = x_159; +} +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_158); +return x_161; +} +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; uint8_t x_170; lean_object* x_171; lean_object* x_172; +lean_dec(x_15); +x_162 = lean_ctor_get(x_153, 1); +lean_inc(x_162); +lean_dec(x_153); +x_163 = l_Lean_Meta_getPostponed___rarg(x_10, x_11, x_12, x_162); +x_164 = lean_ctor_get(x_163, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_163, 1); +lean_inc(x_165); +lean_dec(x_163); +x_166 = l_Std_PersistentArray_append___rarg(x_135, x_164); +x_167 = l_Lean_Meta_setPostponed(x_166, x_9, x_10, x_11, x_12, x_165); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) -{ -lean_object* x_58; uint8_t x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_56, 0); -lean_dec(x_58); -x_59 = 1; -x_60 = lean_box(x_59); -lean_ctor_set(x_56, 0, x_60); -return x_56; +x_168 = lean_ctor_get(x_167, 1); +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); } -else -{ -lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_56, 1); -lean_inc(x_61); -lean_dec(x_56); -x_62 = 1; -x_63 = lean_box(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_61); -return x_64; +x_170 = 1; +x_171 = lean_box(x_170); +if (lean_is_scalar(x_169)) { + x_172 = lean_alloc_ctor(0, 2, 0); +} else { + x_172 = x_169; } +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_168); +return x_172; } } else { -lean_object* x_65; lean_object* x_66; -lean_dec(x_18); -x_65 = lean_ctor_get(x_40, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_40, 1); -lean_inc(x_66); -lean_dec(x_40); -x_20 = x_65; -x_21 = x_66; -goto block_27; +lean_object* x_173; lean_object* x_174; +lean_dec(x_135); +x_173 = lean_ctor_get(x_153, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_153, 1); +lean_inc(x_174); +lean_dec(x_153); +x_137 = x_173; +x_138 = x_174; +goto block_143; } } } -block_95: +block_203: { -if (x_68 == 0) +if (x_176 == 0) { -uint8_t x_70; lean_object* x_71; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_84 = lean_st_ref_get(x_12, x_69); -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_85, 3); -lean_inc(x_86); -lean_dec(x_85); -x_87 = lean_ctor_get_uint8(x_86, sizeof(void*)*1); -lean_dec(x_86); -if (x_87 == 0) +uint8_t x_178; lean_object* x_179; lean_object* x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; +x_192 = lean_st_ref_get(x_12, x_177); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_193, 3); +lean_inc(x_194); +lean_dec(x_193); +x_195 = lean_ctor_get_uint8(x_194, sizeof(void*)*1); +lean_dec(x_194); +if (x_195 == 0) { -lean_object* x_88; uint8_t x_89; -x_88 = lean_ctor_get(x_84, 1); -lean_inc(x_88); -lean_dec(x_84); -x_89 = 0; -x_70 = x_89; -x_71 = x_88; -goto block_83; +lean_object* x_196; uint8_t x_197; +x_196 = lean_ctor_get(x_192, 1); +lean_inc(x_196); +lean_dec(x_192); +x_197 = 0; +x_178 = x_197; +x_179 = x_196; +goto block_191; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_90 = lean_ctor_get(x_84, 1); -lean_inc(x_90); -lean_dec(x_84); +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; +x_198 = lean_ctor_get(x_192, 1); +lean_inc(x_198); +lean_dec(x_192); lean_inc(x_5); -x_91 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_5, x_9, x_10, x_11, x_12, x_90); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_unbox(x_92); -lean_dec(x_92); -x_70 = x_94; -x_71 = x_93; -goto block_83; +x_199 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_5, x_9, x_10, x_11, x_12, x_198); +x_200 = lean_ctor_get(x_199, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_199, 1); +lean_inc(x_201); +lean_dec(x_199); +x_202 = lean_unbox(x_200); +lean_dec(x_200); +x_178 = x_202; +x_179 = x_201; +goto block_191; } -block_83: +block_191: { -if (x_70 == 0) +if (x_178 == 0) { lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_28 = x_68; -x_29 = x_71; -goto block_67; +x_144 = x_176; +x_145 = x_179; +goto block_175; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_72 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_72, 0, x_1); -x_73 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__2; -x_74 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -x_75 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_76 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -x_77 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_77, 0, x_2); -x_78 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_80 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_5, x_80, x_9, x_10, x_11, x_12, x_71); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec(x_81); -x_28 = x_68; -x_29 = x_82; -goto block_67; +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; +x_180 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_180, 0, x_1); +x_181 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__2; +x_182 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_180); +x_183 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_184 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_184, 0, x_182); +lean_ctor_set(x_184, 1, x_183); +x_185 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_185, 0, x_2); +x_186 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +x_187 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_188 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set(x_188, 1, x_187); +x_189 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_5, x_188, x_9, x_10, x_11, x_12, x_179); +x_190 = lean_ctor_get(x_189, 1); +lean_inc(x_190); +lean_dec(x_189); +x_144 = x_176; +x_145 = x_190; +goto block_175; } } } @@ -59422,9 +57921,424 @@ else lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_28 = x_68; -x_29 = x_69; -goto block_67; +x_144 = x_176; +x_145 = x_177; +goto block_175; +} +} +} +} +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; 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; uint8_t x_244; lean_object* x_245; uint8_t x_276; lean_object* x_277; lean_object* x_304; +x_220 = lean_ctor_get(x_20, 0); +x_221 = lean_ctor_get(x_20, 2); +x_222 = lean_ctor_get(x_20, 3); +lean_inc(x_222); +lean_inc(x_221); +lean_inc(x_220); +lean_dec(x_20); +x_223 = lean_ctor_get(x_21, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_21, 1); +lean_inc(x_224); +x_225 = lean_ctor_get(x_21, 2); +lean_inc(x_225); +x_226 = lean_ctor_get(x_21, 3); +lean_inc(x_226); +x_227 = lean_ctor_get(x_21, 4); +lean_inc(x_227); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + lean_ctor_release(x_21, 2); + lean_ctor_release(x_21, 3); + lean_ctor_release(x_21, 4); + lean_ctor_release(x_21, 5); + x_228 = x_21; +} else { + lean_dec_ref(x_21); + x_228 = lean_box(0); +} +x_229 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +if (lean_is_scalar(x_228)) { + x_230 = lean_alloc_ctor(0, 6, 0); +} else { + x_230 = x_228; +} +lean_ctor_set(x_230, 0, x_223); +lean_ctor_set(x_230, 1, x_224); +lean_ctor_set(x_230, 2, x_225); +lean_ctor_set(x_230, 3, x_226); +lean_ctor_set(x_230, 4, x_227); +lean_ctor_set(x_230, 5, x_229); +x_231 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_231, 0, x_220); +lean_ctor_set(x_231, 1, x_230); +lean_ctor_set(x_231, 2, x_221); +lean_ctor_set(x_231, 3, x_222); +x_232 = lean_st_ref_set(x_10, x_231, x_22); +x_233 = lean_ctor_get(x_232, 1); +lean_inc(x_233); +lean_dec(x_232); +x_234 = l_Lean_Meta_getResetPostponed(x_9, x_10, x_11, x_12, x_233); +x_235 = lean_ctor_get(x_234, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_234, 1); +lean_inc(x_236); +lean_dec(x_234); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_3); +x_304 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_3, x_6, x_7, x_9, x_10, x_11, x_12, x_236); +if (lean_obj_tag(x_304) == 0) +{ +lean_object* x_305; uint8_t x_306; +x_305 = lean_ctor_get(x_304, 0); +lean_inc(x_305); +x_306 = lean_unbox(x_305); +if (x_306 == 0) +{ +lean_object* x_307; uint8_t x_308; +lean_dec(x_4); +lean_dec(x_3); +x_307 = lean_ctor_get(x_304, 1); +lean_inc(x_307); +lean_dec(x_304); +x_308 = lean_unbox(x_305); +lean_dec(x_305); +x_276 = x_308; +x_277 = x_307; +goto block_303; +} +else +{ +lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; +lean_dec(x_305); +x_309 = lean_ctor_get(x_304, 1); +lean_inc(x_309); +lean_dec(x_304); +x_310 = l_Lean_Expr_constLevels_x21(x_3); +x_311 = l_Lean_Expr_constLevels_x21(x_4); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_312 = l_Lean_Meta_isListLevelDefEqAux(x_310, x_311, x_9, x_10, x_11, x_12, x_309); +if (lean_obj_tag(x_312) == 0) +{ +lean_object* x_313; lean_object* x_314; uint8_t x_315; +x_313 = lean_ctor_get(x_312, 0); +lean_inc(x_313); +x_314 = lean_ctor_get(x_312, 1); +lean_inc(x_314); +lean_dec(x_312); +x_315 = lean_unbox(x_313); +lean_dec(x_313); +x_276 = x_315; +x_277 = x_314; +goto block_303; +} +else +{ +lean_object* x_316; lean_object* x_317; +lean_dec(x_235); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_316 = lean_ctor_get(x_312, 0); +lean_inc(x_316); +x_317 = lean_ctor_get(x_312, 1); +lean_inc(x_317); +lean_dec(x_312); +x_237 = x_316; +x_238 = x_317; +goto block_243; +} +} +} +else +{ +lean_object* x_318; lean_object* x_319; +lean_dec(x_235); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_318 = lean_ctor_get(x_304, 0); +lean_inc(x_318); +x_319 = lean_ctor_get(x_304, 1); +lean_inc(x_319); +lean_dec(x_304); +x_237 = x_318; +x_238 = x_319; +goto block_243; +} +block_243: +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +x_239 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_238); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_15); +x_240 = lean_ctor_get(x_239, 1); +lean_inc(x_240); +if (lean_is_exclusive(x_239)) { + lean_ctor_release(x_239, 0); + lean_ctor_release(x_239, 1); + x_241 = x_239; +} else { + lean_dec_ref(x_239); + x_241 = lean_box(0); +} +if (lean_is_scalar(x_241)) { + x_242 = lean_alloc_ctor(1, 2, 0); +} else { + x_242 = x_241; + lean_ctor_set_tag(x_242, 1); +} +lean_ctor_set(x_242, 0, x_237); +lean_ctor_set(x_242, 1, x_240); +return x_242; +} +block_275: +{ +if (x_244 == 0) +{ +lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; lean_object* x_250; lean_object* x_251; +lean_dec(x_235); +x_246 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_245); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_15); +x_247 = lean_ctor_get(x_246, 1); +lean_inc(x_247); +if (lean_is_exclusive(x_246)) { + lean_ctor_release(x_246, 0); + lean_ctor_release(x_246, 1); + x_248 = x_246; +} else { + lean_dec_ref(x_246); + x_248 = lean_box(0); +} +x_249 = 0; +x_250 = lean_box(x_249); +if (lean_is_scalar(x_248)) { + x_251 = lean_alloc_ctor(0, 2, 0); +} else { + x_251 = x_248; +} +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_247); +return x_251; +} +else +{ +uint8_t x_252; lean_object* x_253; +x_252 = 0; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_253 = l_Lean_Meta_processPostponed(x_8, x_252, x_9, x_10, x_11, x_12, x_245); +if (lean_obj_tag(x_253) == 0) +{ +lean_object* x_254; uint8_t x_255; +x_254 = lean_ctor_get(x_253, 0); +lean_inc(x_254); +x_255 = lean_unbox(x_254); +lean_dec(x_254); +if (x_255 == 0) +{ +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_dec(x_235); +x_256 = lean_ctor_get(x_253, 1); +lean_inc(x_256); +lean_dec(x_253); +x_257 = l_Lean_Meta_SavedState_restore(x_15, x_9, x_10, x_11, x_12, x_256); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_15); +x_258 = lean_ctor_get(x_257, 1); +lean_inc(x_258); +if (lean_is_exclusive(x_257)) { + lean_ctor_release(x_257, 0); + lean_ctor_release(x_257, 1); + x_259 = x_257; +} else { + lean_dec_ref(x_257); + x_259 = lean_box(0); +} +x_260 = lean_box(x_252); +if (lean_is_scalar(x_259)) { + x_261 = lean_alloc_ctor(0, 2, 0); +} else { + x_261 = x_259; +} +lean_ctor_set(x_261, 0, x_260); +lean_ctor_set(x_261, 1, x_258); +return x_261; +} +else +{ +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; lean_object* x_269; uint8_t x_270; lean_object* x_271; lean_object* x_272; +lean_dec(x_15); +x_262 = lean_ctor_get(x_253, 1); +lean_inc(x_262); +lean_dec(x_253); +x_263 = l_Lean_Meta_getPostponed___rarg(x_10, x_11, x_12, x_262); +x_264 = lean_ctor_get(x_263, 0); +lean_inc(x_264); +x_265 = lean_ctor_get(x_263, 1); +lean_inc(x_265); +lean_dec(x_263); +x_266 = l_Std_PersistentArray_append___rarg(x_235, x_264); +x_267 = l_Lean_Meta_setPostponed(x_266, x_9, x_10, x_11, x_12, x_265); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_268 = lean_ctor_get(x_267, 1); +lean_inc(x_268); +if (lean_is_exclusive(x_267)) { + lean_ctor_release(x_267, 0); + lean_ctor_release(x_267, 1); + x_269 = x_267; +} else { + lean_dec_ref(x_267); + x_269 = lean_box(0); +} +x_270 = 1; +x_271 = lean_box(x_270); +if (lean_is_scalar(x_269)) { + x_272 = lean_alloc_ctor(0, 2, 0); +} else { + x_272 = x_269; +} +lean_ctor_set(x_272, 0, x_271); +lean_ctor_set(x_272, 1, x_268); +return x_272; +} +} +else +{ +lean_object* x_273; lean_object* x_274; +lean_dec(x_235); +x_273 = lean_ctor_get(x_253, 0); +lean_inc(x_273); +x_274 = lean_ctor_get(x_253, 1); +lean_inc(x_274); +lean_dec(x_253); +x_237 = x_273; +x_238 = x_274; +goto block_243; +} +} +} +block_303: +{ +if (x_276 == 0) +{ +uint8_t x_278; lean_object* x_279; lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; +x_292 = lean_st_ref_get(x_12, x_277); +x_293 = lean_ctor_get(x_292, 0); +lean_inc(x_293); +x_294 = lean_ctor_get(x_293, 3); +lean_inc(x_294); +lean_dec(x_293); +x_295 = lean_ctor_get_uint8(x_294, sizeof(void*)*1); +lean_dec(x_294); +if (x_295 == 0) +{ +lean_object* x_296; uint8_t x_297; +x_296 = lean_ctor_get(x_292, 1); +lean_inc(x_296); +lean_dec(x_292); +x_297 = 0; +x_278 = x_297; +x_279 = x_296; +goto block_291; +} +else +{ +lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; uint8_t x_302; +x_298 = lean_ctor_get(x_292, 1); +lean_inc(x_298); +lean_dec(x_292); +lean_inc(x_5); +x_299 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_5, x_9, x_10, x_11, x_12, x_298); +x_300 = lean_ctor_get(x_299, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_299, 1); +lean_inc(x_301); +lean_dec(x_299); +x_302 = lean_unbox(x_300); +lean_dec(x_300); +x_278 = x_302; +x_279 = x_301; +goto block_291; +} +block_291: +{ +if (x_278 == 0) +{ +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_244 = x_276; +x_245 = x_279; +goto block_275; +} +else +{ +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; lean_object* x_290; +x_280 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_280, 0, x_1); +x_281 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___closed__2; +x_282 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_282, 0, x_281); +lean_ctor_set(x_282, 1, x_280); +x_283 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_284 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_284, 0, x_282); +lean_ctor_set(x_284, 1, x_283); +x_285 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_285, 0, x_2); +x_286 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_286, 0, x_284); +lean_ctor_set(x_286, 1, x_285); +x_287 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_288 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_288, 0, x_286); +lean_ctor_set(x_288, 1, x_287); +x_289 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_5, x_288, x_9, x_10, x_11, x_12, x_279); +x_290 = lean_ctor_get(x_289, 1); +lean_inc(x_290); +lean_dec(x_289); +x_244 = x_276; +x_245 = x_290; +goto block_275; +} +} +} +else +{ +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_244 = x_276; +x_245 = x_277; +goto block_275; +} } } } @@ -64609,223 +63523,744 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickMVarMVar___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, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_23; +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; x_9 = l_Lean_Meta_saveState___rarg(x_5, x_6, x_7, x_8); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_12 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_11); -x_13 = lean_ctor_get(x_12, 0); +x_12 = lean_st_ref_get(x_7, x_11); +x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); lean_dec(x_12); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_23 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment(x_1, x_2, x_4, x_5, x_6, x_7, x_14); -if (lean_obj_tag(x_23) == 0) +x_14 = lean_st_ref_take(x_5, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) { -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_23, 0); +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_15, 1); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +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_36; +x_21 = lean_ctor_get(x_16, 5); +lean_dec(x_21); +x_22 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +lean_ctor_set(x_16, 5, x_22); +x_23 = lean_st_ref_set(x_5, x_15, x_17); +x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); -x_25 = lean_unbox(x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -lean_dec(x_13); -x_26 = lean_ctor_get(x_23, 1); +lean_dec(x_23); +x_25 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_24); +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_23); -x_27 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_26); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -x_30 = 0; -x_31 = lean_box(x_30); -lean_ctor_set(x_27, 0, x_31); -return x_27; -} -else -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_dec(x_27); -x_33 = 0; -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -else -{ -lean_object* x_36; uint8_t x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_23, 1); -lean_inc(x_36); -lean_dec(x_23); -x_37 = 0; +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_38 = l_Lean_Meta_processPostponed(x_3, x_37, x_4, x_5, x_6, x_7, x_36); -if (lean_obj_tag(x_38) == 0) +x_36 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment(x_1, x_2, x_4, x_5, x_6, x_7, x_27); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_39; uint8_t x_40; -x_39 = lean_ctor_get(x_38, 0); +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_unbox(x_37); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_dec(x_26); +x_39 = lean_ctor_get(x_36, 1); lean_inc(x_39); -x_40 = lean_unbox(x_39); -lean_dec(x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_13); -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_42 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_41); +lean_dec(x_36); +x_40 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_39); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +lean_dec(x_10); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -x_45 = lean_box(x_37); -lean_ctor_set(x_42, 0, x_45); -return x_42; +lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +x_43 = 0; +x_44 = lean_box(x_43); +lean_ctor_set(x_40, 0, x_44); +return x_40; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = lean_box(x_37); +lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = 0; +x_47 = lean_box(x_46); x_48 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 1, x_45); return x_48; } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -lean_dec(x_10); -x_49 = lean_ctor_get(x_38, 1); +lean_object* x_49; uint8_t x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_36, 1); lean_inc(x_49); -lean_dec(x_38); -x_50 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); +lean_dec(x_36); +x_50 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_51 = l_Lean_Meta_processPostponed(x_3, x_50, x_4, x_5, x_6, x_7, x_49); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Std_PersistentArray_append___rarg(x_13, x_51); -x_54 = l_Lean_Meta_setPostponed(x_53, x_4, x_5, x_6, x_7, x_52); +x_53 = lean_unbox(x_52); +lean_dec(x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_dec(x_26); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_54); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) +lean_dec(x_10); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) { -lean_object* x_56; uint8_t x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -x_57 = 1; -x_58 = lean_box(x_57); -lean_ctor_set(x_54, 0, x_58); -return x_54; +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +x_58 = lean_box(x_50); +lean_ctor_set(x_55, 0, x_58); +return x_55; } else { -lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_54, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_55, 1); lean_inc(x_59); -lean_dec(x_54); -x_60 = 1; -x_61 = lean_box(x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_59); -return x_62; -} +lean_dec(x_55); +x_60 = lean_box(x_50); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +return x_61; } } else { -lean_object* x_63; lean_object* x_64; -lean_dec(x_13); -x_63 = lean_ctor_get(x_38, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_38, 1); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_10); +x_62 = lean_ctor_get(x_51, 1); +lean_inc(x_62); +lean_dec(x_51); +x_63 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_62); +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec(x_38); -x_15 = x_63; -x_16 = x_64; -goto block_22; -} -} -} -else -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_13); -x_65 = lean_ctor_get(x_23, 0); +x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_23, 1); -lean_inc(x_66); -lean_dec(x_23); -x_15 = x_65; -x_16 = x_66; -goto block_22; -} -block_22: -{ -lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_16); +lean_dec(x_63); +x_66 = l_Std_PersistentArray_append___rarg(x_26, x_64); +x_67 = l_Lean_Meta_setPostponed(x_66, x_4, x_5, x_6, x_7, x_65); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -lean_ctor_set_tag(x_17, 1); -lean_ctor_set(x_17, 0, x_15); -return x_17; +lean_object* x_69; uint8_t x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_67, 0); +lean_dec(x_69); +x_70 = 1; +x_71 = lean_box(x_70); +lean_ctor_set(x_67, 0, x_71); +return x_67; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_15); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_67, 1); +lean_inc(x_72); +lean_dec(x_67); +x_73 = 1; +x_74 = lean_box(x_73); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_72); +return x_75; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_26); +x_76 = lean_ctor_get(x_51, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_51, 1); +lean_inc(x_77); +lean_dec(x_51); +x_28 = x_76; +x_29 = x_77; +goto block_35; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_26); +x_78 = lean_ctor_get(x_36, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_36, 1); +lean_inc(x_79); +lean_dec(x_36); +x_28 = x_78; +x_29 = x_79; +goto block_35; +} +block_35: +{ +lean_object* x_30; uint8_t x_31; +x_30 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_29); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_30, 0); +lean_dec(x_32); +lean_ctor_set_tag(x_30, 1); +lean_ctor_set(x_30, 0, x_28); +return x_30; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_28); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +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; lean_object* x_93; lean_object* x_99; +x_80 = lean_ctor_get(x_16, 0); +x_81 = lean_ctor_get(x_16, 1); +x_82 = lean_ctor_get(x_16, 2); +x_83 = lean_ctor_get(x_16, 3); +x_84 = lean_ctor_get(x_16, 4); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_16); +x_85 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +x_86 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_86, 0, x_80); +lean_ctor_set(x_86, 1, x_81); +lean_ctor_set(x_86, 2, x_82); +lean_ctor_set(x_86, 3, x_83); +lean_ctor_set(x_86, 4, x_84); +lean_ctor_set(x_86, 5, x_85); +lean_ctor_set(x_15, 1, x_86); +x_87 = lean_st_ref_set(x_5, x_15, x_17); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_99 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment(x_1, x_2, x_4, x_5, x_6, x_7, x_91); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; uint8_t x_101; +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; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_90); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +x_103 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_102); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_105 = x_103; +} else { + lean_dec_ref(x_103); + x_105 = lean_box(0); +} +x_106 = 0; +x_107 = lean_box(x_106); +if (lean_is_scalar(x_105)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_105; +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_104); +return x_108; +} +else +{ +lean_object* x_109; uint8_t x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_99, 1); +lean_inc(x_109); +lean_dec(x_99); +x_110 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_111 = l_Lean_Meta_processPostponed(x_3, x_110, x_4, x_5, x_6, x_7, x_109); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; uint8_t x_113; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_unbox(x_112); +lean_dec(x_112); +if (x_113 == 0) +{ +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_dec(x_90); +x_114 = lean_ctor_get(x_111, 1); +lean_inc(x_114); +lean_dec(x_111); +x_115 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_114); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_117 = x_115; +} else { + lean_dec_ref(x_115); + x_117 = lean_box(0); +} +x_118 = lean_box(x_110); +if (lean_is_scalar(x_117)) { + x_119 = lean_alloc_ctor(0, 2, 0); +} else { + x_119 = x_117; +} +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_116); +return x_119; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_10); +x_120 = lean_ctor_get(x_111, 1); +lean_inc(x_120); +lean_dec(x_111); +x_121 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = l_Std_PersistentArray_append___rarg(x_90, x_122); +x_125 = l_Lean_Meta_setPostponed(x_124, x_4, x_5, x_6, x_7, x_123); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_127 = x_125; +} else { + lean_dec_ref(x_125); + x_127 = lean_box(0); +} +x_128 = 1; +x_129 = lean_box(x_128); +if (lean_is_scalar(x_127)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_127; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_126); +return x_130; +} +} +else +{ +lean_object* x_131; lean_object* x_132; +lean_dec(x_90); +x_131 = lean_ctor_get(x_111, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_111, 1); +lean_inc(x_132); +lean_dec(x_111); +x_92 = x_131; +x_93 = x_132; +goto block_98; +} +} +} +else +{ +lean_object* x_133; lean_object* x_134; +lean_dec(x_90); +x_133 = lean_ctor_get(x_99, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_99, 1); +lean_inc(x_134); +lean_dec(x_99); +x_92 = x_133; +x_93 = x_134; +goto block_98; +} +block_98: +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_94 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_93); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_96 = x_94; +} else { + lean_dec_ref(x_94); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); +} else { + x_97 = x_96; + lean_ctor_set_tag(x_97, 1); +} +lean_ctor_set(x_97, 0, x_92); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_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_159; +x_135 = lean_ctor_get(x_15, 0); +x_136 = lean_ctor_get(x_15, 2); +x_137 = lean_ctor_get(x_15, 3); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_15); +x_138 = lean_ctor_get(x_16, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_16, 1); +lean_inc(x_139); +x_140 = lean_ctor_get(x_16, 2); +lean_inc(x_140); +x_141 = lean_ctor_get(x_16, 3); +lean_inc(x_141); +x_142 = lean_ctor_get(x_16, 4); +lean_inc(x_142); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + lean_ctor_release(x_16, 3); + lean_ctor_release(x_16, 4); + lean_ctor_release(x_16, 5); + x_143 = x_16; +} else { + lean_dec_ref(x_16); + x_143 = lean_box(0); +} +x_144 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +if (lean_is_scalar(x_143)) { + x_145 = lean_alloc_ctor(0, 6, 0); +} else { + x_145 = x_143; +} +lean_ctor_set(x_145, 0, x_138); +lean_ctor_set(x_145, 1, x_139); +lean_ctor_set(x_145, 2, x_140); +lean_ctor_set(x_145, 3, x_141); +lean_ctor_set(x_145, 4, x_142); +lean_ctor_set(x_145, 5, x_144); +x_146 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_146, 0, x_135); +lean_ctor_set(x_146, 1, x_145); +lean_ctor_set(x_146, 2, x_136); +lean_ctor_set(x_146, 3, x_137); +x_147 = lean_st_ref_set(x_5, x_146, x_17); +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_159 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment(x_1, x_2, x_4, x_5, x_6, x_7, x_151); +if (lean_obj_tag(x_159) == 0) +{ +lean_object* x_160; uint8_t x_161; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_unbox(x_160); +lean_dec(x_160); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_150); +x_162 = lean_ctor_get(x_159, 1); +lean_inc(x_162); +lean_dec(x_159); +x_163 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_162); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_165 = x_163; +} else { + lean_dec_ref(x_163); + x_165 = lean_box(0); +} +x_166 = 0; +x_167 = lean_box(x_166); +if (lean_is_scalar(x_165)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_165; +} +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_164); +return x_168; +} +else +{ +lean_object* x_169; uint8_t x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_159, 1); +lean_inc(x_169); +lean_dec(x_159); +x_170 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_171 = l_Lean_Meta_processPostponed(x_3, x_170, x_4, x_5, x_6, x_7, x_169); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; uint8_t x_173; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_unbox(x_172); +lean_dec(x_172); +if (x_173 == 0) +{ +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_dec(x_150); +x_174 = lean_ctor_get(x_171, 1); +lean_inc(x_174); +lean_dec(x_171); +x_175 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_174); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_177 = x_175; +} else { + lean_dec_ref(x_175); + x_177 = lean_box(0); +} +x_178 = lean_box(x_170); +if (lean_is_scalar(x_177)) { + x_179 = lean_alloc_ctor(0, 2, 0); +} else { + x_179 = x_177; +} +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_176); +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; uint8_t x_188; lean_object* x_189; lean_object* x_190; +lean_dec(x_10); +x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_180); +lean_dec(x_171); +x_181 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_180); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_184 = l_Std_PersistentArray_append___rarg(x_150, x_182); +x_185 = l_Lean_Meta_setPostponed(x_184, x_4, x_5, x_6, x_7, x_183); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_186 = lean_ctor_get(x_185, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + lean_ctor_release(x_185, 1); + x_187 = x_185; +} else { + lean_dec_ref(x_185); + x_187 = lean_box(0); +} +x_188 = 1; +x_189 = lean_box(x_188); +if (lean_is_scalar(x_187)) { + x_190 = lean_alloc_ctor(0, 2, 0); +} else { + x_190 = x_187; +} +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_186); +return x_190; +} +} +else +{ +lean_object* x_191; lean_object* x_192; +lean_dec(x_150); +x_191 = lean_ctor_get(x_171, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_171, 1); +lean_inc(x_192); +lean_dec(x_171); +x_152 = x_191; +x_153 = x_192; +goto block_158; +} +} +} +else +{ +lean_object* x_193; lean_object* x_194; +lean_dec(x_150); +x_193 = lean_ctor_get(x_159, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_159, 1); +lean_inc(x_194); +lean_dec(x_159); +x_152 = x_193; +x_153 = x_194; +goto block_158; +} +block_158: +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_154 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_153); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_156 = x_154; +} else { + lean_dec_ref(x_154); + x_156 = lean_box(0); +} +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 2, 0); +} else { + x_157 = x_156; + lean_ctor_set_tag(x_157, 1); +} +lean_ctor_set(x_157, 0, x_152); +lean_ctor_set(x_157, 1, x_155); +return x_157; } } } @@ -64833,223 +64268,744 @@ return x_21; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickMVarMVar___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_23; +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; x_9 = l_Lean_Meta_saveState___rarg(x_5, x_6, x_7, x_8); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_12 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_11); -x_13 = lean_ctor_get(x_12, 0); +x_12 = lean_st_ref_get(x_7, x_11); +x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); lean_dec(x_12); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_23 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment(x_2, x_1, x_4, x_5, x_6, x_7, x_14); -if (lean_obj_tag(x_23) == 0) +x_14 = lean_st_ref_take(x_5, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) { -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_23, 0); +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_15, 1); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +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_36; +x_21 = lean_ctor_get(x_16, 5); +lean_dec(x_21); +x_22 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +lean_ctor_set(x_16, 5, x_22); +x_23 = lean_st_ref_set(x_5, x_15, x_17); +x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); -x_25 = lean_unbox(x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -lean_dec(x_13); -x_26 = lean_ctor_get(x_23, 1); +lean_dec(x_23); +x_25 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_24); +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_23); -x_27 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_26); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -x_30 = 0; -x_31 = lean_box(x_30); -lean_ctor_set(x_27, 0, x_31); -return x_27; -} -else -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_dec(x_27); -x_33 = 0; -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -else -{ -lean_object* x_36; uint8_t x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_23, 1); -lean_inc(x_36); -lean_dec(x_23); -x_37 = 0; +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_38 = l_Lean_Meta_processPostponed(x_3, x_37, x_4, x_5, x_6, x_7, x_36); -if (lean_obj_tag(x_38) == 0) +x_36 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment(x_2, x_1, x_4, x_5, x_6, x_7, x_27); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_39; uint8_t x_40; -x_39 = lean_ctor_get(x_38, 0); +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_unbox(x_37); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_dec(x_26); +x_39 = lean_ctor_get(x_36, 1); lean_inc(x_39); -x_40 = lean_unbox(x_39); -lean_dec(x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_13); -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_42 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_41); +lean_dec(x_36); +x_40 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_39); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +lean_dec(x_10); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -x_45 = lean_box(x_37); -lean_ctor_set(x_42, 0, x_45); -return x_42; +lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +x_43 = 0; +x_44 = lean_box(x_43); +lean_ctor_set(x_40, 0, x_44); +return x_40; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = lean_box(x_37); +lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = 0; +x_47 = lean_box(x_46); x_48 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 1, x_45); return x_48; } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -lean_dec(x_10); -x_49 = lean_ctor_get(x_38, 1); +lean_object* x_49; uint8_t x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_36, 1); lean_inc(x_49); -lean_dec(x_38); -x_50 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); +lean_dec(x_36); +x_50 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_51 = l_Lean_Meta_processPostponed(x_3, x_50, x_4, x_5, x_6, x_7, x_49); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Std_PersistentArray_append___rarg(x_13, x_51); -x_54 = l_Lean_Meta_setPostponed(x_53, x_4, x_5, x_6, x_7, x_52); +x_53 = lean_unbox(x_52); +lean_dec(x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_dec(x_26); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_54); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) +lean_dec(x_10); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) { -lean_object* x_56; uint8_t x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -x_57 = 1; -x_58 = lean_box(x_57); -lean_ctor_set(x_54, 0, x_58); -return x_54; +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +x_58 = lean_box(x_50); +lean_ctor_set(x_55, 0, x_58); +return x_55; } else { -lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_54, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_55, 1); lean_inc(x_59); -lean_dec(x_54); -x_60 = 1; -x_61 = lean_box(x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_59); -return x_62; -} +lean_dec(x_55); +x_60 = lean_box(x_50); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +return x_61; } } else { -lean_object* x_63; lean_object* x_64; -lean_dec(x_13); -x_63 = lean_ctor_get(x_38, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_38, 1); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_10); +x_62 = lean_ctor_get(x_51, 1); +lean_inc(x_62); +lean_dec(x_51); +x_63 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_62); +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec(x_38); -x_15 = x_63; -x_16 = x_64; -goto block_22; -} -} -} -else -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_13); -x_65 = lean_ctor_get(x_23, 0); +x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_23, 1); -lean_inc(x_66); -lean_dec(x_23); -x_15 = x_65; -x_16 = x_66; -goto block_22; -} -block_22: -{ -lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_16); +lean_dec(x_63); +x_66 = l_Std_PersistentArray_append___rarg(x_26, x_64); +x_67 = l_Lean_Meta_setPostponed(x_66, x_4, x_5, x_6, x_7, x_65); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -lean_ctor_set_tag(x_17, 1); -lean_ctor_set(x_17, 0, x_15); -return x_17; +lean_object* x_69; uint8_t x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_67, 0); +lean_dec(x_69); +x_70 = 1; +x_71 = lean_box(x_70); +lean_ctor_set(x_67, 0, x_71); +return x_67; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_15); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_67, 1); +lean_inc(x_72); +lean_dec(x_67); +x_73 = 1; +x_74 = lean_box(x_73); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_72); +return x_75; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_26); +x_76 = lean_ctor_get(x_51, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_51, 1); +lean_inc(x_77); +lean_dec(x_51); +x_28 = x_76; +x_29 = x_77; +goto block_35; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_26); +x_78 = lean_ctor_get(x_36, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_36, 1); +lean_inc(x_79); +lean_dec(x_36); +x_28 = x_78; +x_29 = x_79; +goto block_35; +} +block_35: +{ +lean_object* x_30; uint8_t x_31; +x_30 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_29); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_30, 0); +lean_dec(x_32); +lean_ctor_set_tag(x_30, 1); +lean_ctor_set(x_30, 0, x_28); +return x_30; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_28); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +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; lean_object* x_93; lean_object* x_99; +x_80 = lean_ctor_get(x_16, 0); +x_81 = lean_ctor_get(x_16, 1); +x_82 = lean_ctor_get(x_16, 2); +x_83 = lean_ctor_get(x_16, 3); +x_84 = lean_ctor_get(x_16, 4); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_16); +x_85 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +x_86 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_86, 0, x_80); +lean_ctor_set(x_86, 1, x_81); +lean_ctor_set(x_86, 2, x_82); +lean_ctor_set(x_86, 3, x_83); +lean_ctor_set(x_86, 4, x_84); +lean_ctor_set(x_86, 5, x_85); +lean_ctor_set(x_15, 1, x_86); +x_87 = lean_st_ref_set(x_5, x_15, x_17); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_99 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment(x_2, x_1, x_4, x_5, x_6, x_7, x_91); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; uint8_t x_101; +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; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_90); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +x_103 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_102); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_105 = x_103; +} else { + lean_dec_ref(x_103); + x_105 = lean_box(0); +} +x_106 = 0; +x_107 = lean_box(x_106); +if (lean_is_scalar(x_105)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_105; +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_104); +return x_108; +} +else +{ +lean_object* x_109; uint8_t x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_99, 1); +lean_inc(x_109); +lean_dec(x_99); +x_110 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_111 = l_Lean_Meta_processPostponed(x_3, x_110, x_4, x_5, x_6, x_7, x_109); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; uint8_t x_113; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_unbox(x_112); +lean_dec(x_112); +if (x_113 == 0) +{ +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_dec(x_90); +x_114 = lean_ctor_get(x_111, 1); +lean_inc(x_114); +lean_dec(x_111); +x_115 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_114); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_117 = x_115; +} else { + lean_dec_ref(x_115); + x_117 = lean_box(0); +} +x_118 = lean_box(x_110); +if (lean_is_scalar(x_117)) { + x_119 = lean_alloc_ctor(0, 2, 0); +} else { + x_119 = x_117; +} +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_116); +return x_119; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_10); +x_120 = lean_ctor_get(x_111, 1); +lean_inc(x_120); +lean_dec(x_111); +x_121 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = l_Std_PersistentArray_append___rarg(x_90, x_122); +x_125 = l_Lean_Meta_setPostponed(x_124, x_4, x_5, x_6, x_7, x_123); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_127 = x_125; +} else { + lean_dec_ref(x_125); + x_127 = lean_box(0); +} +x_128 = 1; +x_129 = lean_box(x_128); +if (lean_is_scalar(x_127)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_127; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_126); +return x_130; +} +} +else +{ +lean_object* x_131; lean_object* x_132; +lean_dec(x_90); +x_131 = lean_ctor_get(x_111, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_111, 1); +lean_inc(x_132); +lean_dec(x_111); +x_92 = x_131; +x_93 = x_132; +goto block_98; +} +} +} +else +{ +lean_object* x_133; lean_object* x_134; +lean_dec(x_90); +x_133 = lean_ctor_get(x_99, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_99, 1); +lean_inc(x_134); +lean_dec(x_99); +x_92 = x_133; +x_93 = x_134; +goto block_98; +} +block_98: +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_94 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_93); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_96 = x_94; +} else { + lean_dec_ref(x_94); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); +} else { + x_97 = x_96; + lean_ctor_set_tag(x_97, 1); +} +lean_ctor_set(x_97, 0, x_92); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_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_159; +x_135 = lean_ctor_get(x_15, 0); +x_136 = lean_ctor_get(x_15, 2); +x_137 = lean_ctor_get(x_15, 3); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_15); +x_138 = lean_ctor_get(x_16, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_16, 1); +lean_inc(x_139); +x_140 = lean_ctor_get(x_16, 2); +lean_inc(x_140); +x_141 = lean_ctor_get(x_16, 3); +lean_inc(x_141); +x_142 = lean_ctor_get(x_16, 4); +lean_inc(x_142); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + lean_ctor_release(x_16, 3); + lean_ctor_release(x_16, 4); + lean_ctor_release(x_16, 5); + x_143 = x_16; +} else { + lean_dec_ref(x_16); + x_143 = lean_box(0); +} +x_144 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +if (lean_is_scalar(x_143)) { + x_145 = lean_alloc_ctor(0, 6, 0); +} else { + x_145 = x_143; +} +lean_ctor_set(x_145, 0, x_138); +lean_ctor_set(x_145, 1, x_139); +lean_ctor_set(x_145, 2, x_140); +lean_ctor_set(x_145, 3, x_141); +lean_ctor_set(x_145, 4, x_142); +lean_ctor_set(x_145, 5, x_144); +x_146 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_146, 0, x_135); +lean_ctor_set(x_146, 1, x_145); +lean_ctor_set(x_146, 2, x_136); +lean_ctor_set(x_146, 3, x_137); +x_147 = lean_st_ref_set(x_5, x_146, x_17); +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_159 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment(x_2, x_1, x_4, x_5, x_6, x_7, x_151); +if (lean_obj_tag(x_159) == 0) +{ +lean_object* x_160; uint8_t x_161; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_unbox(x_160); +lean_dec(x_160); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_150); +x_162 = lean_ctor_get(x_159, 1); +lean_inc(x_162); +lean_dec(x_159); +x_163 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_162); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_165 = x_163; +} else { + lean_dec_ref(x_163); + x_165 = lean_box(0); +} +x_166 = 0; +x_167 = lean_box(x_166); +if (lean_is_scalar(x_165)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_165; +} +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_164); +return x_168; +} +else +{ +lean_object* x_169; uint8_t x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_159, 1); +lean_inc(x_169); +lean_dec(x_159); +x_170 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_171 = l_Lean_Meta_processPostponed(x_3, x_170, x_4, x_5, x_6, x_7, x_169); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; uint8_t x_173; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_unbox(x_172); +lean_dec(x_172); +if (x_173 == 0) +{ +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_dec(x_150); +x_174 = lean_ctor_get(x_171, 1); +lean_inc(x_174); +lean_dec(x_171); +x_175 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_174); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_177 = x_175; +} else { + lean_dec_ref(x_175); + x_177 = lean_box(0); +} +x_178 = lean_box(x_170); +if (lean_is_scalar(x_177)) { + x_179 = lean_alloc_ctor(0, 2, 0); +} else { + x_179 = x_177; +} +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_176); +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; uint8_t x_188; lean_object* x_189; lean_object* x_190; +lean_dec(x_10); +x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_180); +lean_dec(x_171); +x_181 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_180); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_184 = l_Std_PersistentArray_append___rarg(x_150, x_182); +x_185 = l_Lean_Meta_setPostponed(x_184, x_4, x_5, x_6, x_7, x_183); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_186 = lean_ctor_get(x_185, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + lean_ctor_release(x_185, 1); + x_187 = x_185; +} else { + lean_dec_ref(x_185); + x_187 = lean_box(0); +} +x_188 = 1; +x_189 = lean_box(x_188); +if (lean_is_scalar(x_187)) { + x_190 = lean_alloc_ctor(0, 2, 0); +} else { + x_190 = x_187; +} +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_186); +return x_190; +} +} +else +{ +lean_object* x_191; lean_object* x_192; +lean_dec(x_150); +x_191 = lean_ctor_get(x_171, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_171, 1); +lean_inc(x_192); +lean_dec(x_171); +x_152 = x_191; +x_153 = x_192; +goto block_158; +} +} +} +else +{ +lean_object* x_193; lean_object* x_194; +lean_dec(x_150); +x_193 = lean_ctor_get(x_159, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_159, 1); +lean_inc(x_194); +lean_dec(x_159); +x_152 = x_193; +x_153 = x_194; +goto block_158; +} +block_158: +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_154 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_153); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_156 = x_154; +} else { + lean_dec_ref(x_154); + x_156 = lean_box(0); +} +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 2, 0); +} else { + x_157 = x_156; + lean_ctor_set_tag(x_157, 1); +} +lean_ctor_set(x_157, 0, x_152); +lean_ctor_set(x_157, 1, x_155); +return x_157; } } } @@ -69316,292 +69272,953 @@ return x_47; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_25; lean_object* x_26; lean_object* x_65; +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; uint8_t x_20; x_11 = l_Lean_Meta_saveState___rarg(x_7, x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_13); -x_15 = lean_ctor_get(x_14, 0); +x_14 = lean_st_ref_get(x_9, x_13); +x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); lean_dec(x_14); +x_16 = lean_st_ref_take(x_7, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_17, 1); +lean_dec(x_21); +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) +{ +lean_object* x_23; 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; uint8_t x_38; lean_object* x_39; lean_object* x_78; +x_23 = lean_ctor_get(x_18, 5); +lean_dec(x_23); +x_24 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +lean_ctor_set(x_18, 5, x_24); +x_25 = lean_st_ref_set(x_7, x_17, x_19); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_3); -x_65 = lean_is_expr_def_eq(x_3, x_4, x_6, x_7, x_8, x_9, x_16); -if (lean_obj_tag(x_65) == 0) +x_78 = lean_is_expr_def_eq(x_3, x_4, x_6, x_7, x_8, x_9, x_29); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_66; uint8_t x_67; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_unbox(x_66); +lean_object* x_79; uint8_t x_80; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_unbox(x_79); +if (x_80 == 0) +{ +lean_object* x_81; uint8_t x_82; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_81 = lean_ctor_get(x_78, 1); +lean_inc(x_81); +lean_dec(x_78); +x_82 = lean_unbox(x_79); +lean_dec(x_79); +x_38 = x_82; +x_39 = x_81; +goto block_77; +} +else +{ +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_dec(x_79); +x_83 = lean_ctor_get(x_78, 1); +lean_inc(x_83); +lean_dec(x_78); +x_84 = lean_unsigned_to_nat(0u); +x_85 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_84); +x_86 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__6; +lean_inc(x_85); +x_87 = lean_mk_array(x_85, x_86); +x_88 = lean_unsigned_to_nat(1u); +x_89 = lean_nat_sub(x_85, x_88); +lean_dec(x_85); +x_90 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_87, x_89); +x_91 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_2, x_84); +lean_inc(x_91); +x_92 = lean_mk_array(x_91, x_86); +x_93 = lean_nat_sub(x_91, x_88); +lean_dec(x_91); +x_94 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_92, x_93); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_95 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_3, x_90, x_94, x_6, x_7, x_8, x_9, x_83); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; lean_object* x_97; uint8_t x_98; +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_38 = x_98; +x_39 = x_97; +goto block_77; +} +else +{ +lean_object* x_99; lean_object* x_100; +lean_dec(x_28); +x_99 = lean_ctor_get(x_95, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_95, 1); +lean_inc(x_100); +lean_dec(x_95); +x_30 = x_99; +x_31 = x_100; +goto block_37; +} +} +} +else +{ +lean_object* x_101; lean_object* x_102; +lean_dec(x_28); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_101 = lean_ctor_get(x_78, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_78, 1); +lean_inc(x_102); +lean_dec(x_78); +x_30 = x_101; +x_31 = x_102; +goto block_37; +} +block_37: +{ +lean_object* x_32; uint8_t x_33; +x_32 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_31); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_32, 0); +lean_dec(x_34); +lean_ctor_set_tag(x_32, 1); +lean_ctor_set(x_32, 0, x_30); +return x_32; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_30); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +block_77: +{ +if (x_38 == 0) +{ +lean_object* x_40; uint8_t x_41; +lean_dec(x_28); +x_40 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_39); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +x_43 = 0; +x_44 = lean_box(x_43); +lean_ctor_set(x_40, 0, x_44); +return x_40; +} +else +{ +lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = 0; +x_47 = lean_box(x_46); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; +} +} +else +{ +uint8_t x_49; lean_object* x_50; +x_49 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_50 = l_Lean_Meta_processPostponed(x_5, x_49, x_6, x_7, x_8, x_9, x_39); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; uint8_t x_52; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +lean_dec(x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_28); +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_53); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_54, 0); +lean_dec(x_56); +x_57 = lean_box(x_49); +lean_ctor_set(x_54, 0, x_57); +return x_54; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_54, 1); +lean_inc(x_58); +lean_dec(x_54); +x_59 = lean_box(x_49); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +lean_dec(x_12); +x_61 = lean_ctor_get(x_50, 1); +lean_inc(x_61); +lean_dec(x_50); +x_62 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_61); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec(x_62); +x_65 = l_Std_PersistentArray_append___rarg(x_28, x_63); +x_66 = l_Lean_Meta_setPostponed(x_65, x_6, x_7, x_8, x_9, x_64); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_67 = !lean_is_exclusive(x_66); if (x_67 == 0) { -lean_object* x_68; uint8_t x_69; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); -lean_dec(x_65); -x_69 = lean_unbox(x_66); -lean_dec(x_66); -x_25 = x_69; -x_26 = x_68; -goto block_64; +lean_object* x_68; uint8_t x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_66, 0); +lean_dec(x_68); +x_69 = 1; +x_70 = lean_box(x_69); +lean_ctor_set(x_66, 0, x_70); +return x_66; } 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; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_66, 1); +lean_inc(x_71); lean_dec(x_66); -x_70 = lean_ctor_get(x_65, 1); -lean_inc(x_70); -lean_dec(x_65); -x_71 = lean_unsigned_to_nat(0u); -x_72 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_71); -x_73 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__6; -lean_inc(x_72); -x_74 = lean_mk_array(x_72, x_73); -x_75 = lean_unsigned_to_nat(1u); -x_76 = lean_nat_sub(x_72, x_75); -lean_dec(x_72); -x_77 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_74, x_76); -x_78 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_2, x_71); -lean_inc(x_78); -x_79 = lean_mk_array(x_78, x_73); -x_80 = lean_nat_sub(x_78, x_75); -lean_dec(x_78); -x_81 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_79, x_80); +x_72 = 1; +x_73 = lean_box(x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_71); +return x_74; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_28); +x_75 = lean_ctor_get(x_50, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_50, 1); +lean_inc(x_76); +lean_dec(x_50); +x_30 = x_75; +x_31 = x_76; +goto block_37; +} +} +} +} +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; uint8_t x_122; lean_object* x_123; lean_object* x_154; +x_103 = lean_ctor_get(x_18, 0); +x_104 = lean_ctor_get(x_18, 1); +x_105 = lean_ctor_get(x_18, 2); +x_106 = lean_ctor_get(x_18, 3); +x_107 = lean_ctor_get(x_18, 4); +lean_inc(x_107); +lean_inc(x_106); +lean_inc(x_105); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_18); +x_108 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +x_109 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_109, 0, x_103); +lean_ctor_set(x_109, 1, x_104); +lean_ctor_set(x_109, 2, x_105); +lean_ctor_set(x_109, 3, x_106); +lean_ctor_set(x_109, 4, x_107); +lean_ctor_set(x_109, 5, x_108); +lean_ctor_set(x_17, 1, x_109); +x_110 = lean_st_ref_set(x_7, x_17, x_19); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +lean_dec(x_110); +x_112 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_111); +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_82 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_3, x_77, x_81, x_6, x_7, x_8, x_9, x_70); -if (lean_obj_tag(x_82) == 0) +lean_inc(x_3); +x_154 = lean_is_expr_def_eq(x_3, x_4, x_6, x_7, x_8, x_9, x_114); +if (lean_obj_tag(x_154) == 0) { -lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_unbox(x_83); -lean_dec(x_83); -x_25 = x_85; -x_26 = x_84; -goto block_64; -} -else +lean_object* x_155; uint8_t x_156; +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_unbox(x_155); +if (x_156 == 0) { -lean_object* x_86; lean_object* x_87; -lean_dec(x_15); -x_86 = lean_ctor_get(x_82, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_82, 1); -lean_inc(x_87); -lean_dec(x_82); -x_17 = x_86; -x_18 = x_87; -goto block_24; -} -} -} -else -{ -lean_object* x_88; lean_object* x_89; -lean_dec(x_15); +lean_object* x_157; uint8_t x_158; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_88 = lean_ctor_get(x_65, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_65, 1); -lean_inc(x_89); -lean_dec(x_65); -x_17 = x_88; -x_18 = x_89; -goto block_24; -} -block_24: -{ -lean_object* x_19; uint8_t x_20; -x_19 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_18); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -lean_ctor_set_tag(x_19, 1); -lean_ctor_set(x_19, 0, x_17); -return x_19; +x_157 = lean_ctor_get(x_154, 1); +lean_inc(x_157); +lean_dec(x_154); +x_158 = lean_unbox(x_155); +lean_dec(x_155); +x_122 = x_158; +x_123 = x_157; +goto block_153; } else { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_17); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} -block_64: -{ -if (x_25 == 0) -{ -lean_object* x_27; uint8_t x_28; -lean_dec(x_15); -x_27 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_26); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -x_30 = 0; -x_31 = lean_box(x_30); -lean_ctor_set(x_27, 0, x_31); -return x_27; -} -else -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_dec(x_27); -x_33 = 0; -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -else -{ -uint8_t x_36; lean_object* x_37; -x_36 = 0; +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_dec(x_155); +x_159 = lean_ctor_get(x_154, 1); +lean_inc(x_159); +lean_dec(x_154); +x_160 = lean_unsigned_to_nat(0u); +x_161 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_160); +x_162 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__6; +lean_inc(x_161); +x_163 = lean_mk_array(x_161, x_162); +x_164 = lean_unsigned_to_nat(1u); +x_165 = lean_nat_sub(x_161, x_164); +lean_dec(x_161); +x_166 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_163, x_165); +x_167 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_2, x_160); +lean_inc(x_167); +x_168 = lean_mk_array(x_167, x_162); +x_169 = lean_nat_sub(x_167, x_164); +lean_dec(x_167); +x_170 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_168, x_169); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_37 = l_Lean_Meta_processPostponed(x_5, x_36, x_6, x_7, x_8, x_9, x_26); -if (lean_obj_tag(x_37) == 0) +x_171 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_3, x_166, x_170, x_6, x_7, x_8, x_9, x_159); +if (lean_obj_tag(x_171) == 0) { -lean_object* x_38; uint8_t x_39; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_unbox(x_38); -lean_dec(x_38); -if (x_39 == 0) +lean_object* x_172; lean_object* x_173; uint8_t x_174; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_171, 1); +lean_inc(x_173); +lean_dec(x_171); +x_174 = lean_unbox(x_172); +lean_dec(x_172); +x_122 = x_174; +x_123 = x_173; +goto block_153; +} +else { -lean_object* x_40; lean_object* x_41; uint8_t x_42; -lean_dec(x_15); -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_40); -lean_dec(x_37); -x_41 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_40); +lean_object* x_175; lean_object* x_176; +lean_dec(x_113); +x_175 = lean_ctor_get(x_171, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_171, 1); +lean_inc(x_176); +lean_dec(x_171); +x_115 = x_175; +x_116 = x_176; +goto block_121; +} +} +} +else +{ +lean_object* x_177; lean_object* x_178; +lean_dec(x_113); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_177 = lean_ctor_get(x_154, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_154, 1); +lean_inc(x_178); +lean_dec(x_154); +x_115 = x_177; +x_116 = x_178; +goto block_121; +} +block_121: +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_117 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_116); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_41, 0); -lean_dec(x_43); -x_44 = lean_box(x_36); -lean_ctor_set(x_41, 0, x_44); -return x_41; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_41, 1); -lean_inc(x_45); -lean_dec(x_41); -x_46 = lean_box(x_36); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -return x_47; -} -} -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; uint8_t x_54; lean_dec(x_12); -x_48 = lean_ctor_get(x_37, 1); -lean_inc(x_48); -lean_dec(x_37); -x_49 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_48); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = l_Std_PersistentArray_append___rarg(x_15, x_50); -x_53 = l_Lean_Meta_setPostponed(x_52, x_6, x_7, x_8, x_9, x_51); +x_118 = lean_ctor_get(x_117, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_119 = x_117; +} else { + lean_dec_ref(x_117); + x_119 = lean_box(0); +} +if (lean_is_scalar(x_119)) { + x_120 = lean_alloc_ctor(1, 2, 0); +} else { + x_120 = x_119; + lean_ctor_set_tag(x_120, 1); +} +lean_ctor_set(x_120, 0, x_115); +lean_ctor_set(x_120, 1, x_118); +return x_120; +} +block_153: +{ +if (x_122 == 0) +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; +lean_dec(x_113); +x_124 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_123); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_54 = !lean_is_exclusive(x_53); -if (x_54 == 0) -{ -lean_object* x_55; uint8_t x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_53, 0); -lean_dec(x_55); -x_56 = 1; -x_57 = lean_box(x_56); -lean_ctor_set(x_53, 0, x_57); -return x_53; +lean_dec(x_12); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_126 = x_124; +} else { + lean_dec_ref(x_124); + x_126 = lean_box(0); +} +x_127 = 0; +x_128 = lean_box(x_127); +if (lean_is_scalar(x_126)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_126; +} +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_125); +return x_129; } else { -lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_53, 1); -lean_inc(x_58); -lean_dec(x_53); -x_59 = 1; -x_60 = lean_box(x_59); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_58); -return x_61; +uint8_t x_130; lean_object* x_131; +x_130 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_131 = l_Lean_Meta_processPostponed(x_5, x_130, x_6, x_7, x_8, x_9, x_123); +if (lean_obj_tag(x_131) == 0) +{ +lean_object* x_132; uint8_t x_133; +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_unbox(x_132); +lean_dec(x_132); +if (x_133 == 0) +{ +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_dec(x_113); +x_134 = lean_ctor_get(x_131, 1); +lean_inc(x_134); +lean_dec(x_131); +x_135 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_134); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_137 = x_135; +} else { + lean_dec_ref(x_135); + x_137 = lean_box(0); +} +x_138 = lean_box(x_130); +if (lean_is_scalar(x_137)) { + x_139 = lean_alloc_ctor(0, 2, 0); +} else { + x_139 = x_137; +} +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_136); +return x_139; +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; lean_object* x_149; lean_object* x_150; +lean_dec(x_12); +x_140 = lean_ctor_get(x_131, 1); +lean_inc(x_140); +lean_dec(x_131); +x_141 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_140); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +x_144 = l_Std_PersistentArray_append___rarg(x_113, x_142); +x_145 = l_Lean_Meta_setPostponed(x_144, x_6, x_7, x_8, x_9, x_143); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_146 = lean_ctor_get(x_145, 1); +lean_inc(x_146); +if (lean_is_exclusive(x_145)) { + lean_ctor_release(x_145, 0); + lean_ctor_release(x_145, 1); + x_147 = x_145; +} else { + lean_dec_ref(x_145); + x_147 = lean_box(0); +} +x_148 = 1; +x_149 = lean_box(x_148); +if (lean_is_scalar(x_147)) { + x_150 = lean_alloc_ctor(0, 2, 0); +} else { + x_150 = x_147; +} +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_146); +return x_150; +} +} +else +{ +lean_object* x_151; lean_object* x_152; +lean_dec(x_113); +x_151 = lean_ctor_get(x_131, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_131, 1); +lean_inc(x_152); +lean_dec(x_131); +x_115 = x_151; +x_116 = x_152; +goto block_121; +} +} } } } else { -lean_object* x_62; lean_object* x_63; -lean_dec(x_15); -x_62 = lean_ctor_get(x_37, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_37, 1); -lean_inc(x_63); -lean_dec(x_37); -x_17 = x_62; -x_18 = x_63; -goto block_24; +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; 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; uint8_t x_203; lean_object* x_204; lean_object* x_235; +x_179 = lean_ctor_get(x_17, 0); +x_180 = lean_ctor_get(x_17, 2); +x_181 = lean_ctor_get(x_17, 3); +lean_inc(x_181); +lean_inc(x_180); +lean_inc(x_179); +lean_dec(x_17); +x_182 = lean_ctor_get(x_18, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_18, 1); +lean_inc(x_183); +x_184 = lean_ctor_get(x_18, 2); +lean_inc(x_184); +x_185 = lean_ctor_get(x_18, 3); +lean_inc(x_185); +x_186 = lean_ctor_get(x_18, 4); +lean_inc(x_186); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + lean_ctor_release(x_18, 2); + lean_ctor_release(x_18, 3); + lean_ctor_release(x_18, 4); + lean_ctor_release(x_18, 5); + x_187 = x_18; +} else { + lean_dec_ref(x_18); + x_187 = lean_box(0); +} +x_188 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +if (lean_is_scalar(x_187)) { + x_189 = lean_alloc_ctor(0, 6, 0); +} else { + x_189 = x_187; +} +lean_ctor_set(x_189, 0, x_182); +lean_ctor_set(x_189, 1, x_183); +lean_ctor_set(x_189, 2, x_184); +lean_ctor_set(x_189, 3, x_185); +lean_ctor_set(x_189, 4, x_186); +lean_ctor_set(x_189, 5, x_188); +x_190 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_190, 0, x_179); +lean_ctor_set(x_190, 1, x_189); +lean_ctor_set(x_190, 2, x_180); +lean_ctor_set(x_190, 3, x_181); +x_191 = lean_st_ref_set(x_7, x_190, x_19); +x_192 = lean_ctor_get(x_191, 1); +lean_inc(x_192); +lean_dec(x_191); +x_193 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_192); +x_194 = lean_ctor_get(x_193, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_193, 1); +lean_inc(x_195); +lean_dec(x_193); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_3); +x_235 = lean_is_expr_def_eq(x_3, x_4, x_6, x_7, x_8, x_9, x_195); +if (lean_obj_tag(x_235) == 0) +{ +lean_object* x_236; uint8_t x_237; +x_236 = lean_ctor_get(x_235, 0); +lean_inc(x_236); +x_237 = lean_unbox(x_236); +if (x_237 == 0) +{ +lean_object* x_238; uint8_t x_239; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_238 = lean_ctor_get(x_235, 1); +lean_inc(x_238); +lean_dec(x_235); +x_239 = lean_unbox(x_236); +lean_dec(x_236); +x_203 = x_239; +x_204 = x_238; +goto block_234; +} +else +{ +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_object* x_251; lean_object* x_252; +lean_dec(x_236); +x_240 = lean_ctor_get(x_235, 1); +lean_inc(x_240); +lean_dec(x_235); +x_241 = lean_unsigned_to_nat(0u); +x_242 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_241); +x_243 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__6; +lean_inc(x_242); +x_244 = lean_mk_array(x_242, x_243); +x_245 = lean_unsigned_to_nat(1u); +x_246 = lean_nat_sub(x_242, x_245); +lean_dec(x_242); +x_247 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_244, x_246); +x_248 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_2, x_241); +lean_inc(x_248); +x_249 = lean_mk_array(x_248, x_243); +x_250 = lean_nat_sub(x_248, x_245); +lean_dec(x_248); +x_251 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_249, x_250); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_252 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_3, x_247, x_251, x_6, x_7, x_8, x_9, x_240); +if (lean_obj_tag(x_252) == 0) +{ +lean_object* x_253; lean_object* x_254; uint8_t x_255; +x_253 = lean_ctor_get(x_252, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_252, 1); +lean_inc(x_254); +lean_dec(x_252); +x_255 = lean_unbox(x_253); +lean_dec(x_253); +x_203 = x_255; +x_204 = x_254; +goto block_234; +} +else +{ +lean_object* x_256; lean_object* x_257; +lean_dec(x_194); +x_256 = lean_ctor_get(x_252, 0); +lean_inc(x_256); +x_257 = lean_ctor_get(x_252, 1); +lean_inc(x_257); +lean_dec(x_252); +x_196 = x_256; +x_197 = x_257; +goto block_202; +} +} +} +else +{ +lean_object* x_258; lean_object* x_259; +lean_dec(x_194); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_258 = lean_ctor_get(x_235, 0); +lean_inc(x_258); +x_259 = lean_ctor_get(x_235, 1); +lean_inc(x_259); +lean_dec(x_235); +x_196 = x_258; +x_197 = x_259; +goto block_202; +} +block_202: +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_198 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_197); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_199 = lean_ctor_get(x_198, 1); +lean_inc(x_199); +if (lean_is_exclusive(x_198)) { + lean_ctor_release(x_198, 0); + lean_ctor_release(x_198, 1); + x_200 = x_198; +} else { + lean_dec_ref(x_198); + 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_tag(x_201, 1); +} +lean_ctor_set(x_201, 0, x_196); +lean_ctor_set(x_201, 1, x_199); +return x_201; +} +block_234: +{ +if (x_203 == 0) +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; lean_object* x_209; lean_object* x_210; +lean_dec(x_194); +x_205 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_204); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_206 = lean_ctor_get(x_205, 1); +lean_inc(x_206); +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + lean_ctor_release(x_205, 1); + x_207 = x_205; +} else { + lean_dec_ref(x_205); + x_207 = lean_box(0); +} +x_208 = 0; +x_209 = lean_box(x_208); +if (lean_is_scalar(x_207)) { + x_210 = lean_alloc_ctor(0, 2, 0); +} else { + x_210 = x_207; +} +lean_ctor_set(x_210, 0, x_209); +lean_ctor_set(x_210, 1, x_206); +return x_210; +} +else +{ +uint8_t x_211; lean_object* x_212; +x_211 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_212 = l_Lean_Meta_processPostponed(x_5, x_211, x_6, x_7, x_8, x_9, x_204); +if (lean_obj_tag(x_212) == 0) +{ +lean_object* x_213; uint8_t x_214; +x_213 = lean_ctor_get(x_212, 0); +lean_inc(x_213); +x_214 = lean_unbox(x_213); +lean_dec(x_213); +if (x_214 == 0) +{ +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_194); +x_215 = lean_ctor_get(x_212, 1); +lean_inc(x_215); +lean_dec(x_212); +x_216 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_215); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_217 = lean_ctor_get(x_216, 1); +lean_inc(x_217); +if (lean_is_exclusive(x_216)) { + lean_ctor_release(x_216, 0); + lean_ctor_release(x_216, 1); + x_218 = x_216; +} else { + lean_dec_ref(x_216); + x_218 = lean_box(0); +} +x_219 = lean_box(x_211); +if (lean_is_scalar(x_218)) { + x_220 = lean_alloc_ctor(0, 2, 0); +} else { + x_220 = x_218; +} +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_217); +return x_220; +} +else +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; lean_object* x_230; lean_object* x_231; +lean_dec(x_12); +x_221 = lean_ctor_get(x_212, 1); +lean_inc(x_221); +lean_dec(x_212); +x_222 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_221); +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_Std_PersistentArray_append___rarg(x_194, x_223); +x_226 = l_Lean_Meta_setPostponed(x_225, x_6, x_7, x_8, x_9, x_224); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_227 = lean_ctor_get(x_226, 1); +lean_inc(x_227); +if (lean_is_exclusive(x_226)) { + lean_ctor_release(x_226, 0); + lean_ctor_release(x_226, 1); + x_228 = x_226; +} else { + lean_dec_ref(x_226); + x_228 = lean_box(0); +} +x_229 = 1; +x_230 = lean_box(x_229); +if (lean_is_scalar(x_228)) { + x_231 = lean_alloc_ctor(0, 2, 0); +} else { + x_231 = x_228; +} +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_227); +return x_231; +} +} +else +{ +lean_object* x_232; lean_object* x_233; +lean_dec(x_194); +x_232 = lean_ctor_get(x_212, 0); +lean_inc(x_232); +x_233 = lean_ctor_get(x_212, 1); +lean_inc(x_233); +lean_dec(x_212); +x_196 = x_232; +x_197 = x_233; +goto block_202; +} } } } @@ -69610,277 +70227,908 @@ goto block_24; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqApp___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_25; lean_object* x_26; lean_object* x_65; +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; uint8_t x_20; x_11 = l_Lean_Meta_saveState___rarg(x_7, x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_13); -x_15 = lean_ctor_get(x_14, 0); +x_14 = lean_st_ref_get(x_9, x_13); +x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); lean_dec(x_14); +x_16 = lean_st_ref_take(x_7, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_17, 1); +lean_dec(x_21); +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) +{ +lean_object* x_23; 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; uint8_t x_38; lean_object* x_39; lean_object* x_78; +x_23 = lean_ctor_get(x_18, 5); +lean_dec(x_23); +x_24 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +lean_ctor_set(x_18, 5, x_24); +x_25 = lean_st_ref_set(x_7, x_17, x_19); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_65 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_1, x_3, x_4, x_6, x_7, x_8, x_9, x_16); -if (lean_obj_tag(x_65) == 0) +x_78 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_1, x_3, x_4, x_6, x_7, x_8, x_9, x_29); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_66; uint8_t x_67; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_unbox(x_66); +lean_object* x_79; uint8_t x_80; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_unbox(x_79); +if (x_80 == 0) +{ +lean_object* x_81; uint8_t x_82; +lean_dec(x_2); +lean_dec(x_1); +x_81 = lean_ctor_get(x_78, 1); +lean_inc(x_81); +lean_dec(x_78); +x_82 = lean_unbox(x_79); +lean_dec(x_79); +x_38 = x_82; +x_39 = x_81; +goto block_77; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec(x_79); +x_83 = lean_ctor_get(x_78, 1); +lean_inc(x_83); +lean_dec(x_78); +x_84 = l_Lean_Expr_constLevels_x21(x_1); +x_85 = l_Lean_Expr_constLevels_x21(x_2); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_86 = l_Lean_Meta_isListLevelDefEqAux(x_84, x_85, x_6, x_7, x_8, x_9, x_83); +if (lean_obj_tag(x_86) == 0) +{ +lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_unbox(x_87); +lean_dec(x_87); +x_38 = x_89; +x_39 = x_88; +goto block_77; +} +else +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_28); +x_90 = lean_ctor_get(x_86, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_86, 1); +lean_inc(x_91); +lean_dec(x_86); +x_30 = x_90; +x_31 = x_91; +goto block_37; +} +} +} +else +{ +lean_object* x_92; lean_object* x_93; +lean_dec(x_28); +lean_dec(x_2); +lean_dec(x_1); +x_92 = lean_ctor_get(x_78, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_78, 1); +lean_inc(x_93); +lean_dec(x_78); +x_30 = x_92; +x_31 = x_93; +goto block_37; +} +block_37: +{ +lean_object* x_32; uint8_t x_33; +x_32 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_31); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_32, 0); +lean_dec(x_34); +lean_ctor_set_tag(x_32, 1); +lean_ctor_set(x_32, 0, x_30); +return x_32; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_30); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +block_77: +{ +if (x_38 == 0) +{ +lean_object* x_40; uint8_t x_41; +lean_dec(x_28); +x_40 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_39); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +x_43 = 0; +x_44 = lean_box(x_43); +lean_ctor_set(x_40, 0, x_44); +return x_40; +} +else +{ +lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = 0; +x_47 = lean_box(x_46); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; +} +} +else +{ +uint8_t x_49; lean_object* x_50; +x_49 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_50 = l_Lean_Meta_processPostponed(x_5, x_49, x_6, x_7, x_8, x_9, x_39); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; uint8_t x_52; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +lean_dec(x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_28); +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_53); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_54, 0); +lean_dec(x_56); +x_57 = lean_box(x_49); +lean_ctor_set(x_54, 0, x_57); +return x_54; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_54, 1); +lean_inc(x_58); +lean_dec(x_54); +x_59 = lean_box(x_49); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +lean_dec(x_12); +x_61 = lean_ctor_get(x_50, 1); +lean_inc(x_61); +lean_dec(x_50); +x_62 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_61); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec(x_62); +x_65 = l_Std_PersistentArray_append___rarg(x_28, x_63); +x_66 = l_Lean_Meta_setPostponed(x_65, x_6, x_7, x_8, x_9, x_64); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_67 = !lean_is_exclusive(x_66); if (x_67 == 0) { -lean_object* x_68; uint8_t x_69; -lean_dec(x_2); -lean_dec(x_1); -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); -lean_dec(x_65); -x_69 = lean_unbox(x_66); -lean_dec(x_66); -x_25 = x_69; -x_26 = x_68; -goto block_64; +lean_object* x_68; uint8_t x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_66, 0); +lean_dec(x_68); +x_69 = 1; +x_70 = lean_box(x_69); +lean_ctor_set(x_66, 0, x_70); +return x_66; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_66, 1); +lean_inc(x_71); lean_dec(x_66); -x_70 = lean_ctor_get(x_65, 1); -lean_inc(x_70); -lean_dec(x_65); -x_71 = l_Lean_Expr_constLevels_x21(x_1); -x_72 = l_Lean_Expr_constLevels_x21(x_2); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_73 = l_Lean_Meta_isListLevelDefEqAux(x_71, x_72, x_6, x_7, x_8, x_9, x_70); -if (lean_obj_tag(x_73) == 0) +x_72 = 1; +x_73 = lean_box(x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_71); +return x_74; +} +} +} +else { -lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); +lean_object* x_75; lean_object* x_76; +lean_dec(x_28); +x_75 = lean_ctor_get(x_50, 0); lean_inc(x_75); -lean_dec(x_73); -x_76 = lean_unbox(x_74); -lean_dec(x_74); -x_25 = x_76; -x_26 = x_75; -goto block_64; +x_76 = lean_ctor_get(x_50, 1); +lean_inc(x_76); +lean_dec(x_50); +x_30 = x_75; +x_31 = x_76; +goto block_37; } -else -{ -lean_object* x_77; lean_object* x_78; -lean_dec(x_15); -x_77 = lean_ctor_get(x_73, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_73, 1); -lean_inc(x_78); -lean_dec(x_73); -x_17 = x_77; -x_18 = x_78; -goto block_24; } } } else { -lean_object* x_79; lean_object* x_80; -lean_dec(x_15); -lean_dec(x_2); -lean_dec(x_1); -x_79 = lean_ctor_get(x_65, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_65, 1); -lean_inc(x_80); -lean_dec(x_65); -x_17 = x_79; -x_18 = x_80; -goto block_24; -} -block_24: -{ -lean_object* x_19; uint8_t x_20; -x_19 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_18); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -lean_ctor_set_tag(x_19, 1); -lean_ctor_set(x_19, 0, x_17); -return x_19; -} -else -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_17); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} -block_64: -{ -if (x_25 == 0) -{ -lean_object* x_27; uint8_t x_28; -lean_dec(x_15); -x_27 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_26); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -x_30 = 0; -x_31 = lean_box(x_30); -lean_ctor_set(x_27, 0, x_31); -return x_27; -} -else -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_dec(x_27); -x_33 = 0; -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -else -{ -uint8_t x_36; lean_object* x_37; -x_36 = 0; +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; uint8_t x_113; lean_object* x_114; lean_object* x_145; +x_94 = lean_ctor_get(x_18, 0); +x_95 = lean_ctor_get(x_18, 1); +x_96 = lean_ctor_get(x_18, 2); +x_97 = lean_ctor_get(x_18, 3); +x_98 = lean_ctor_get(x_18, 4); +lean_inc(x_98); +lean_inc(x_97); +lean_inc(x_96); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_18); +x_99 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +x_100 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_100, 0, x_94); +lean_ctor_set(x_100, 1, x_95); +lean_ctor_set(x_100, 2, x_96); +lean_ctor_set(x_100, 3, x_97); +lean_ctor_set(x_100, 4, x_98); +lean_ctor_set(x_100, 5, x_99); +lean_ctor_set(x_17, 1, x_100); +x_101 = lean_st_ref_set(x_7, x_17, x_19); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +lean_dec(x_101); +x_103 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_37 = l_Lean_Meta_processPostponed(x_5, x_36, x_6, x_7, x_8, x_9, x_26); -if (lean_obj_tag(x_37) == 0) +lean_inc(x_1); +x_145 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_1, x_3, x_4, x_6, x_7, x_8, x_9, x_105); +if (lean_obj_tag(x_145) == 0) { -lean_object* x_38; uint8_t x_39; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_unbox(x_38); -lean_dec(x_38); -if (x_39 == 0) +lean_object* x_146; uint8_t x_147; +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +x_147 = lean_unbox(x_146); +if (x_147 == 0) { -lean_object* x_40; lean_object* x_41; uint8_t x_42; -lean_dec(x_15); -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_40); -lean_dec(x_37); -x_41 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_40); +lean_object* x_148; uint8_t x_149; +lean_dec(x_2); +lean_dec(x_1); +x_148 = lean_ctor_get(x_145, 1); +lean_inc(x_148); +lean_dec(x_145); +x_149 = lean_unbox(x_146); +lean_dec(x_146); +x_113 = x_149; +x_114 = x_148; +goto block_144; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +lean_dec(x_146); +x_150 = lean_ctor_get(x_145, 1); +lean_inc(x_150); +lean_dec(x_145); +x_151 = l_Lean_Expr_constLevels_x21(x_1); +x_152 = l_Lean_Expr_constLevels_x21(x_2); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_153 = l_Lean_Meta_isListLevelDefEqAux(x_151, x_152, x_6, x_7, x_8, x_9, x_150); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; uint8_t x_156; +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = lean_unbox(x_154); +lean_dec(x_154); +x_113 = x_156; +x_114 = x_155; +goto block_144; +} +else +{ +lean_object* x_157; lean_object* x_158; +lean_dec(x_104); +x_157 = lean_ctor_get(x_153, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_106 = x_157; +x_107 = x_158; +goto block_112; +} +} +} +else +{ +lean_object* x_159; lean_object* x_160; +lean_dec(x_104); +lean_dec(x_2); +lean_dec(x_1); +x_159 = lean_ctor_get(x_145, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_145, 1); +lean_inc(x_160); +lean_dec(x_145); +x_106 = x_159; +x_107 = x_160; +goto block_112; +} +block_112: +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_108 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_107); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_41, 0); -lean_dec(x_43); -x_44 = lean_box(x_36); -lean_ctor_set(x_41, 0, x_44); -return x_41; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_41, 1); -lean_inc(x_45); -lean_dec(x_41); -x_46 = lean_box(x_36); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -return x_47; -} -} -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; uint8_t x_54; lean_dec(x_12); -x_48 = lean_ctor_get(x_37, 1); -lean_inc(x_48); -lean_dec(x_37); -x_49 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_48); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = l_Std_PersistentArray_append___rarg(x_15, x_50); -x_53 = l_Lean_Meta_setPostponed(x_52, x_6, x_7, x_8, x_9, x_51); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + lean_ctor_release(x_108, 1); + x_110 = x_108; +} else { + lean_dec_ref(x_108); + x_110 = lean_box(0); +} +if (lean_is_scalar(x_110)) { + x_111 = lean_alloc_ctor(1, 2, 0); +} else { + x_111 = x_110; + lean_ctor_set_tag(x_111, 1); +} +lean_ctor_set(x_111, 0, x_106); +lean_ctor_set(x_111, 1, x_109); +return x_111; +} +block_144: +{ +if (x_113 == 0) +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_104); +x_115 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_114); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_54 = !lean_is_exclusive(x_53); -if (x_54 == 0) -{ -lean_object* x_55; uint8_t x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_53, 0); -lean_dec(x_55); -x_56 = 1; -x_57 = lean_box(x_56); -lean_ctor_set(x_53, 0, x_57); -return x_53; +lean_dec(x_12); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_117 = x_115; +} else { + lean_dec_ref(x_115); + x_117 = lean_box(0); +} +x_118 = 0; +x_119 = lean_box(x_118); +if (lean_is_scalar(x_117)) { + x_120 = lean_alloc_ctor(0, 2, 0); +} else { + x_120 = x_117; +} +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_116); +return x_120; } else { -lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_53, 1); -lean_inc(x_58); -lean_dec(x_53); -x_59 = 1; -x_60 = lean_box(x_59); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_58); -return x_61; +uint8_t x_121; lean_object* x_122; +x_121 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_122 = l_Lean_Meta_processPostponed(x_5, x_121, x_6, x_7, x_8, x_9, x_114); +if (lean_obj_tag(x_122) == 0) +{ +lean_object* x_123; uint8_t x_124; +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_unbox(x_123); +lean_dec(x_123); +if (x_124 == 0) +{ +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_dec(x_104); +x_125 = lean_ctor_get(x_122, 1); +lean_inc(x_125); +lean_dec(x_122); +x_126 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_125); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_127 = lean_ctor_get(x_126, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_128 = x_126; +} else { + lean_dec_ref(x_126); + x_128 = lean_box(0); +} +x_129 = lean_box(x_121); +if (lean_is_scalar(x_128)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_128; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_127); +return x_130; +} +else +{ +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; uint8_t x_139; lean_object* x_140; lean_object* x_141; +lean_dec(x_12); +x_131 = lean_ctor_get(x_122, 1); +lean_inc(x_131); +lean_dec(x_122); +x_132 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_131); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_135 = l_Std_PersistentArray_append___rarg(x_104, x_133); +x_136 = l_Lean_Meta_setPostponed(x_135, x_6, x_7, x_8, x_9, x_134); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + x_138 = x_136; +} else { + lean_dec_ref(x_136); + x_138 = lean_box(0); +} +x_139 = 1; +x_140 = lean_box(x_139); +if (lean_is_scalar(x_138)) { + x_141 = lean_alloc_ctor(0, 2, 0); +} else { + x_141 = x_138; +} +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_137); +return x_141; +} +} +else +{ +lean_object* x_142; lean_object* x_143; +lean_dec(x_104); +x_142 = lean_ctor_get(x_122, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_122, 1); +lean_inc(x_143); +lean_dec(x_122); +x_106 = x_142; +x_107 = x_143; +goto block_112; +} +} } } } else { -lean_object* x_62; lean_object* x_63; -lean_dec(x_15); -x_62 = lean_ctor_get(x_37, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_37, 1); -lean_inc(x_63); -lean_dec(x_37); -x_17 = x_62; -x_18 = x_63; -goto block_24; +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; uint8_t x_185; lean_object* x_186; lean_object* x_217; +x_161 = lean_ctor_get(x_17, 0); +x_162 = lean_ctor_get(x_17, 2); +x_163 = lean_ctor_get(x_17, 3); +lean_inc(x_163); +lean_inc(x_162); +lean_inc(x_161); +lean_dec(x_17); +x_164 = lean_ctor_get(x_18, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_18, 1); +lean_inc(x_165); +x_166 = lean_ctor_get(x_18, 2); +lean_inc(x_166); +x_167 = lean_ctor_get(x_18, 3); +lean_inc(x_167); +x_168 = lean_ctor_get(x_18, 4); +lean_inc(x_168); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + lean_ctor_release(x_18, 2); + lean_ctor_release(x_18, 3); + lean_ctor_release(x_18, 4); + lean_ctor_release(x_18, 5); + x_169 = x_18; +} else { + lean_dec_ref(x_18); + x_169 = lean_box(0); +} +x_170 = l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5; +if (lean_is_scalar(x_169)) { + x_171 = lean_alloc_ctor(0, 6, 0); +} else { + x_171 = x_169; +} +lean_ctor_set(x_171, 0, x_164); +lean_ctor_set(x_171, 1, x_165); +lean_ctor_set(x_171, 2, x_166); +lean_ctor_set(x_171, 3, x_167); +lean_ctor_set(x_171, 4, x_168); +lean_ctor_set(x_171, 5, x_170); +x_172 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_172, 0, x_161); +lean_ctor_set(x_172, 1, x_171); +lean_ctor_set(x_172, 2, x_162); +lean_ctor_set(x_172, 3, x_163); +x_173 = lean_st_ref_set(x_7, x_172, x_19); +x_174 = lean_ctor_get(x_173, 1); +lean_inc(x_174); +lean_dec(x_173); +x_175 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, 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); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_1); +x_217 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs(x_1, x_3, x_4, x_6, x_7, x_8, x_9, x_177); +if (lean_obj_tag(x_217) == 0) +{ +lean_object* x_218; uint8_t x_219; +x_218 = lean_ctor_get(x_217, 0); +lean_inc(x_218); +x_219 = lean_unbox(x_218); +if (x_219 == 0) +{ +lean_object* x_220; uint8_t x_221; +lean_dec(x_2); +lean_dec(x_1); +x_220 = lean_ctor_get(x_217, 1); +lean_inc(x_220); +lean_dec(x_217); +x_221 = lean_unbox(x_218); +lean_dec(x_218); +x_185 = x_221; +x_186 = x_220; +goto block_216; +} +else +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; +lean_dec(x_218); +x_222 = lean_ctor_get(x_217, 1); +lean_inc(x_222); +lean_dec(x_217); +x_223 = l_Lean_Expr_constLevels_x21(x_1); +x_224 = l_Lean_Expr_constLevels_x21(x_2); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_225 = l_Lean_Meta_isListLevelDefEqAux(x_223, x_224, x_6, x_7, x_8, x_9, x_222); +if (lean_obj_tag(x_225) == 0) +{ +lean_object* x_226; lean_object* x_227; uint8_t x_228; +x_226 = lean_ctor_get(x_225, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_225, 1); +lean_inc(x_227); +lean_dec(x_225); +x_228 = lean_unbox(x_226); +lean_dec(x_226); +x_185 = x_228; +x_186 = x_227; +goto block_216; +} +else +{ +lean_object* x_229; lean_object* x_230; +lean_dec(x_176); +x_229 = lean_ctor_get(x_225, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_225, 1); +lean_inc(x_230); +lean_dec(x_225); +x_178 = x_229; +x_179 = x_230; +goto block_184; +} +} +} +else +{ +lean_object* x_231; lean_object* x_232; +lean_dec(x_176); +lean_dec(x_2); +lean_dec(x_1); +x_231 = lean_ctor_get(x_217, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_217, 1); +lean_inc(x_232); +lean_dec(x_217); +x_178 = x_231; +x_179 = x_232; +goto block_184; +} +block_184: +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_180 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_179); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_181 = lean_ctor_get(x_180, 1); +lean_inc(x_181); +if (lean_is_exclusive(x_180)) { + lean_ctor_release(x_180, 0); + lean_ctor_release(x_180, 1); + x_182 = x_180; +} else { + lean_dec_ref(x_180); + x_182 = lean_box(0); +} +if (lean_is_scalar(x_182)) { + x_183 = lean_alloc_ctor(1, 2, 0); +} else { + x_183 = x_182; + lean_ctor_set_tag(x_183, 1); +} +lean_ctor_set(x_183, 0, x_178); +lean_ctor_set(x_183, 1, x_181); +return x_183; +} +block_216: +{ +if (x_185 == 0) +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; lean_object* x_191; lean_object* x_192; +lean_dec(x_176); +x_187 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_186); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_188 = lean_ctor_get(x_187, 1); +lean_inc(x_188); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + x_189 = x_187; +} else { + lean_dec_ref(x_187); + x_189 = lean_box(0); +} +x_190 = 0; +x_191 = lean_box(x_190); +if (lean_is_scalar(x_189)) { + x_192 = lean_alloc_ctor(0, 2, 0); +} else { + x_192 = x_189; +} +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_188); +return x_192; +} +else +{ +uint8_t x_193; lean_object* x_194; +x_193 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_194 = l_Lean_Meta_processPostponed(x_5, x_193, x_6, x_7, x_8, x_9, x_186); +if (lean_obj_tag(x_194) == 0) +{ +lean_object* x_195; uint8_t x_196; +x_195 = lean_ctor_get(x_194, 0); +lean_inc(x_195); +x_196 = lean_unbox(x_195); +lean_dec(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; lean_object* x_202; +lean_dec(x_176); +x_197 = lean_ctor_get(x_194, 1); +lean_inc(x_197); +lean_dec(x_194); +x_198 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_197); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_199 = lean_ctor_get(x_198, 1); +lean_inc(x_199); +if (lean_is_exclusive(x_198)) { + lean_ctor_release(x_198, 0); + lean_ctor_release(x_198, 1); + x_200 = x_198; +} else { + lean_dec_ref(x_198); + x_200 = lean_box(0); +} +x_201 = lean_box(x_193); +if (lean_is_scalar(x_200)) { + x_202 = lean_alloc_ctor(0, 2, 0); +} else { + x_202 = x_200; +} +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_199); +return x_202; +} +else +{ +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; uint8_t x_211; lean_object* x_212; lean_object* x_213; +lean_dec(x_12); +x_203 = lean_ctor_get(x_194, 1); +lean_inc(x_203); +lean_dec(x_194); +x_204 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_203); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +x_207 = l_Std_PersistentArray_append___rarg(x_176, x_205); +x_208 = l_Lean_Meta_setPostponed(x_207, x_6, x_7, x_8, x_9, x_206); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_209 = lean_ctor_get(x_208, 1); +lean_inc(x_209); +if (lean_is_exclusive(x_208)) { + lean_ctor_release(x_208, 0); + lean_ctor_release(x_208, 1); + x_210 = x_208; +} else { + lean_dec_ref(x_208); + x_210 = lean_box(0); +} +x_211 = 1; +x_212 = lean_box(x_211); +if (lean_is_scalar(x_210)) { + x_213 = lean_alloc_ctor(0, 2, 0); +} else { + x_213 = x_210; +} +lean_ctor_set(x_213, 0, x_212); +lean_ctor_set(x_213, 1, x_209); +return x_213; +} +} +else +{ +lean_object* x_214; lean_object* x_215; +lean_dec(x_176); +x_214 = lean_ctor_get(x_194, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_194, 1); +lean_inc(x_215); +lean_dec(x_194); +x_178 = x_214; +x_179 = x_215; +goto block_184; +} } } } @@ -74674,323 +75922,6 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___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: -{ -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = l_Lean_Meta_getConfig(x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get_uint8(x_8, 9); -if (x_9 == 0) -{ -uint8_t x_10; -lean_dec(x_8); -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; uint8_t x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_7, 0); -lean_dec(x_11); -x_12 = 1; -x_13 = lean_box(x_12); -lean_ctor_set(x_7, 0, x_13); -return x_7; -} -else -{ -lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_7, 1); -lean_inc(x_14); -lean_dec(x_7); -x_15 = 1; -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_14); -return x_17; -} -} -else -{ -uint8_t x_18; lean_object* x_19; -x_18 = lean_ctor_get_uint8(x_8, 13); -x_19 = lean_box(x_18); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -x_20 = lean_ctor_get_uint8(x_8, 6); -lean_dec(x_8); -if (x_20 == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_7); -if (x_21 == 0) -{ -lean_object* x_22; uint8_t x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_7, 0); -lean_dec(x_22); -x_23 = 1; -x_24 = lean_box(x_23); -lean_ctor_set(x_7, 0, x_24); -return x_7; -} -else -{ -lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_25 = lean_ctor_get(x_7, 1); -lean_inc(x_25); -lean_dec(x_7); -x_26 = 1; -x_27 = lean_box(x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_25); -return x_28; -} -} -else -{ -uint8_t x_29; -x_29 = !lean_is_exclusive(x_7); -if (x_29 == 0) -{ -lean_object* x_30; uint8_t x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_7, 0); -lean_dec(x_30); -x_31 = 0; -x_32 = lean_box(x_31); -lean_ctor_set(x_7, 0, x_32); -return x_7; -} -else -{ -lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_7, 1); -lean_inc(x_33); -lean_dec(x_7); -x_34 = 0; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -} -} -else -{ -uint8_t x_37; -lean_dec(x_19); -lean_dec(x_8); -x_37 = !lean_is_exclusive(x_7); -if (x_37 == 0) -{ -lean_object* x_38; uint8_t x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_7, 0); -lean_dec(x_38); -x_39 = 1; -x_40 = lean_box(x_39); -lean_ctor_set(x_7, 0, x_40); -return x_7; -} -else -{ -lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; -x_41 = lean_ctor_get(x_7, 1); -lean_inc(x_41); -lean_dec(x_7); -x_42 = 1; -x_43 = lean_box(x_42); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_41); -return x_44; -} -} -} -} -} -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___lambda__1___boxed), 6, 0); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Meta_smartUnfolding; -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; -x_6 = l_Lean_Meta_getConfig(x_1, x_2, x_3, x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get_uint8(x_7, 5); -lean_dec(x_7); -x_9 = lean_box(x_8); -switch (lean_obj_tag(x_9)) { -case 2: -{ -uint8_t x_10; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_10 = !lean_is_exclusive(x_6); -if (x_10 == 0) -{ -lean_object* x_11; uint8_t x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_6, 0); -lean_dec(x_11); -x_12 = 1; -x_13 = lean_box(x_12); -lean_ctor_set(x_6, 0, x_13); -return x_6; -} -else -{ -lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_6, 1); -lean_inc(x_14); -lean_dec(x_6); -x_15 = 1; -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_14); -return x_17; -} -} -case 3: -{ -uint8_t x_18; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_18 = !lean_is_exclusive(x_6); -if (x_18 == 0) -{ -lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_6, 0); -lean_dec(x_19); -x_20 = 1; -x_21 = lean_box(x_20); -lean_ctor_set(x_6, 0, x_21); -return x_6; -} -else -{ -lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_6, 1); -lean_inc(x_22); -lean_dec(x_6); -x_23 = 1; -x_24 = lean_box(x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_22); -return x_25; -} -} -default: -{ -uint8_t x_26; -lean_dec(x_9); -x_26 = !lean_is_exclusive(x_6); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_27 = lean_ctor_get(x_6, 1); -x_28 = lean_ctor_get(x_6, 0); -lean_dec(x_28); -x_29 = lean_ctor_get(x_3, 2); -lean_inc(x_29); -x_30 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__1; -x_31 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__2; -x_32 = l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(x_29, x_31); -lean_dec(x_29); -if (x_32 == 0) -{ -uint8_t x_33; lean_object* x_34; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_33 = 1; -x_34 = lean_box(x_33); -lean_ctor_set(x_6, 0, x_34); -return x_6; -} -else -{ -lean_object* x_35; lean_object* x_36; -lean_free_object(x_6); -x_35 = lean_box(0); -x_36 = lean_apply_6(x_30, x_35, x_1, x_2, x_3, x_4, x_27); -return x_36; -} -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_37 = lean_ctor_get(x_6, 1); -lean_inc(x_37); -lean_dec(x_6); -x_38 = lean_ctor_get(x_3, 2); -lean_inc(x_38); -x_39 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__1; -x_40 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__2; -x_41 = l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(x_38, x_40); -lean_dec(x_38); -if (x_41 == 0) -{ -uint8_t x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_42 = 1; -x_43 = lean_box(x_42); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_37); -return x_44; -} -else -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_box(0); -x_46 = lean_apply_6(x_39, x_45, x_1, x_2, x_3, x_4, x_37); -return x_46; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkCacheKey(lean_object* x_1, lean_object* x_2) { _start: { @@ -75224,141 +76155,89 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___spec__1(x_2, x_1); -if (lean_obj_tag(x_8) == 0) -{ -uint8_t x_9; lean_object* x_10; lean_object* x_11; -x_9 = 2; -x_10 = lean_box(x_9); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_7); -return x_11; -} -else -{ -lean_object* x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_8, 0); -lean_inc(x_12); -lean_dec(x_8); -x_13 = lean_unbox(x_12); -lean_dec(x_12); -x_14 = l_Bool_toLBool(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_7); -return x_16; -} -} -} LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; -x_7 = l_Lean_Meta_getConfig(x_2, x_3, x_4, x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); -x_9 = lean_ctor_get_uint8(x_8, 5); -lean_dec(x_8); -x_10 = lean_box(x_9); -switch (lean_obj_tag(x_10)) { -case 0: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_11 = lean_ctor_get(x_7, 1); -lean_inc(x_11); lean_dec(x_7); -x_12 = lean_st_ref_get(x_5, x_11); -x_13 = lean_ctor_get(x_12, 1); +x_9 = lean_st_ref_get(x_3, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 5); lean_inc(x_13); lean_dec(x_12); -x_14 = lean_st_ref_get(x_3, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_17, 6); -lean_inc(x_18); -lean_dec(x_17); -x_19 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___lambda__1(x_1, x_18, x_2, x_3, x_4, x_5, x_16); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_19; -} -case 1: +x_14 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___spec__1(x_13, x_1); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_20 = lean_ctor_get(x_7, 1); -lean_inc(x_20); -lean_dec(x_7); -x_21 = lean_st_ref_get(x_5, x_20); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_st_ref_get(x_3, x_22); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_ctor_get(x_26, 5); -lean_inc(x_27); -lean_dec(x_26); -x_28 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___lambda__1(x_1, x_27, x_2, x_3, x_4, x_5, x_25); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_28; -} -default: -{ -uint8_t x_29; -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_29 = !lean_is_exclusive(x_7); -if (x_29 == 0) -{ -lean_object* x_30; uint8_t x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_7, 0); -lean_dec(x_30); -x_31 = 2; -x_32 = lean_box(x_31); -lean_ctor_set(x_7, 0, x_32); -return x_7; +uint8_t x_15; lean_object* x_16; +x_15 = 2; +x_16 = lean_box(x_15); +lean_ctor_set(x_9, 0, x_16); +return x_9; } else { -lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_7, 1); -lean_inc(x_33); -lean_dec(x_7); -x_34 = 2; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; +lean_object* x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_unbox(x_17); +lean_dec(x_17); +x_19 = l_Bool_toLBool(x_18); +x_20 = lean_box(x_19); +lean_ctor_set(x_9, 0, x_20); +return x_9; } } +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_9, 0); +x_22 = lean_ctor_get(x_9, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_9); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get(x_23, 5); +lean_inc(x_24); +lean_dec(x_23); +x_25 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___spec__1(x_24, x_1); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; lean_object* x_27; lean_object* x_28; +x_26 = 2; +x_27 = lean_box(x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_22); +return x_28; +} +else +{ +lean_object* x_29; uint8_t x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_25, 0); +lean_inc(x_29); +lean_dec(x_25); +x_30 = lean_unbox(x_29); +lean_dec(x_29); +x_31 = l_Bool_toLBool(x_30); +x_32 = lean_box(x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_22); +return x_33; +} } } } @@ -75384,16 +76263,16 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___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_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___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_8; -x_8 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); +lean_object* x_7; +x_7 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__3(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -76041,28 +76920,6 @@ return x_134; } } } -static lean_object* _init_l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Expr_instBEqExpr; -x_2 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2); -lean_closure_set(x_2, 0, x_1); -lean_closure_set(x_2, 1, x_1); -return x_2; -} -} -static lean_object* _init_l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Expr_instHashableExpr; -x_2 = lean_alloc_closure((void*)(l_instHashableProd___rarg___boxed), 3, 2); -lean_closure_set(x_2, 0, x_1); -lean_closure_set(x_2, 1, x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3) { _start: { @@ -76125,406 +76982,174 @@ return x_29; LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; -x_8 = l_Lean_Meta_getConfig(x_3, x_4, x_5, x_6, x_7); -x_9 = lean_ctor_get(x_8, 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; uint8_t x_14; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); -x_10 = lean_ctor_get_uint8(x_9, 5); -lean_dec(x_9); -x_11 = lean_box(x_10); -switch (lean_obj_tag(x_11)) { -case 0: -{ -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; -x_12 = lean_ctor_get(x_8, 1); +lean_dec(x_8); +x_10 = lean_st_ref_take(x_4, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); -lean_dec(x_8); -x_13 = lean_st_ref_get(x_6, x_12); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_st_ref_take(x_4, x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_dec(x_10); +x_14 = !lean_is_exclusive(x_11); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_11, 1); lean_dec(x_15); -x_19 = !lean_is_exclusive(x_16); -if (x_19 == 0) +x_16 = !lean_is_exclusive(x_12); +if (x_16 == 0) { -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_16, 1); -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_17); -if (x_21 == 0) +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_ctor_get(x_12, 5); +x_18 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1(x_17, x_1, x_2); +lean_ctor_set(x_12, 5, x_18); +x_19 = lean_st_ref_set(x_4, x_11, x_13); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = lean_ctor_get(x_17, 6); -x_23 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1(x_22, x_1, x_2); -lean_ctor_set(x_17, 6, x_23); -x_24 = lean_st_ref_set(x_4, x_16, x_18); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -x_27 = lean_box(0); -lean_ctor_set(x_24, 0, x_27); -return x_24; +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +x_22 = lean_box(0); +lean_ctor_set(x_19, 0, x_22); +return x_19; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -lean_dec(x_24); -x_29 = lean_box(0); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_dec(x_19); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +return x_25; } } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_31 = lean_ctor_get(x_17, 0); -x_32 = lean_ctor_get(x_17, 1); -x_33 = lean_ctor_get(x_17, 2); -x_34 = lean_ctor_get(x_17, 3); -x_35 = lean_ctor_get(x_17, 4); -x_36 = lean_ctor_get(x_17, 5); -x_37 = lean_ctor_get(x_17, 6); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); +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; +x_26 = lean_ctor_get(x_12, 0); +x_27 = lean_ctor_get(x_12, 1); +x_28 = lean_ctor_get(x_12, 2); +x_29 = lean_ctor_get(x_12, 3); +x_30 = lean_ctor_get(x_12, 4); +x_31 = lean_ctor_get(x_12, 5); lean_inc(x_31); -lean_dec(x_17); -x_38 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1(x_37, x_1, x_2); -x_39 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_39, 0, x_31); -lean_ctor_set(x_39, 1, x_32); -lean_ctor_set(x_39, 2, x_33); -lean_ctor_set(x_39, 3, x_34); -lean_ctor_set(x_39, 4, x_35); -lean_ctor_set(x_39, 5, x_36); -lean_ctor_set(x_39, 6, x_38); -lean_ctor_set(x_16, 1, x_39); -x_40 = lean_st_ref_set(x_4, x_16, x_18); -x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_12); +x_32 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1(x_31, x_1, x_2); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_26); +lean_ctor_set(x_33, 1, x_27); +lean_ctor_set(x_33, 2, x_28); +lean_ctor_set(x_33, 3, x_29); +lean_ctor_set(x_33, 4, x_30); +lean_ctor_set(x_33, 5, x_32); +lean_ctor_set(x_11, 1, x_33); +x_34 = lean_st_ref_set(x_4, x_11, x_13); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; +} else { + lean_dec_ref(x_34); + x_36 = lean_box(0); +} +x_37 = lean_box(0); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(0, 2, 0); +} else { + x_38 = x_36; +} +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +return x_38; +} +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 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; +x_39 = lean_ctor_get(x_11, 0); +x_40 = lean_ctor_get(x_11, 2); +x_41 = lean_ctor_get(x_11, 3); lean_inc(x_41); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_42 = x_40; -} else { - lean_dec_ref(x_40); - x_42 = lean_box(0); -} -x_43 = lean_box(0); -if (lean_is_scalar(x_42)) { - x_44 = lean_alloc_ctor(0, 2, 0); -} else { - x_44 = x_42; -} -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_41); -return x_44; -} -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_45 = lean_ctor_get(x_16, 0); -x_46 = lean_ctor_get(x_16, 2); -x_47 = lean_ctor_get(x_16, 3); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_16); -x_48 = lean_ctor_get(x_17, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_17, 1); -lean_inc(x_49); -x_50 = lean_ctor_get(x_17, 2); -lean_inc(x_50); -x_51 = lean_ctor_get(x_17, 3); -lean_inc(x_51); -x_52 = lean_ctor_get(x_17, 4); -lean_inc(x_52); -x_53 = lean_ctor_get(x_17, 5); -lean_inc(x_53); -x_54 = lean_ctor_get(x_17, 6); -lean_inc(x_54); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - lean_ctor_release(x_17, 2); - lean_ctor_release(x_17, 3); - lean_ctor_release(x_17, 4); - lean_ctor_release(x_17, 5); - lean_ctor_release(x_17, 6); - x_55 = x_17; -} else { - lean_dec_ref(x_17); - x_55 = lean_box(0); -} -x_56 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1(x_54, x_1, x_2); -if (lean_is_scalar(x_55)) { - x_57 = lean_alloc_ctor(0, 7, 0); -} else { - x_57 = x_55; -} -lean_ctor_set(x_57, 0, x_48); -lean_ctor_set(x_57, 1, x_49); -lean_ctor_set(x_57, 2, x_50); -lean_ctor_set(x_57, 3, x_51); -lean_ctor_set(x_57, 4, x_52); -lean_ctor_set(x_57, 5, x_53); -lean_ctor_set(x_57, 6, x_56); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_45); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_58, 2, x_46); -lean_ctor_set(x_58, 3, x_47); -x_59 = lean_st_ref_set(x_4, x_58, x_18); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; -} else { - lean_dec_ref(x_59); - x_61 = lean_box(0); -} -x_62 = lean_box(0); -if (lean_is_scalar(x_61)) { - x_63 = lean_alloc_ctor(0, 2, 0); -} else { - x_63 = x_61; -} -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_60); -return x_63; -} -} -case 1: -{ -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; uint8_t x_71; -x_64 = lean_ctor_get(x_8, 1); -lean_inc(x_64); -lean_dec(x_8); -x_65 = lean_st_ref_get(x_6, x_64); -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_st_ref_take(x_4, x_66); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -x_70 = lean_ctor_get(x_67, 1); -lean_inc(x_70); -lean_dec(x_67); -x_71 = !lean_is_exclusive(x_68); -if (x_71 == 0) -{ -lean_object* x_72; uint8_t x_73; -x_72 = lean_ctor_get(x_68, 1); -lean_dec(x_72); -x_73 = !lean_is_exclusive(x_69); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_74 = lean_ctor_get(x_69, 5); -x_75 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1(x_74, x_1, x_2); -lean_ctor_set(x_69, 5, x_75); -x_76 = lean_st_ref_set(x_4, x_68, x_70); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_76, 0); -lean_dec(x_78); -x_79 = lean_box(0); -lean_ctor_set(x_76, 0, x_79); -return x_76; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_76, 1); -lean_inc(x_80); -lean_dec(x_76); -x_81 = lean_box(0); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -return x_82; -} -} -else -{ -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; -x_83 = lean_ctor_get(x_69, 0); -x_84 = lean_ctor_get(x_69, 1); -x_85 = lean_ctor_get(x_69, 2); -x_86 = lean_ctor_get(x_69, 3); -x_87 = lean_ctor_get(x_69, 4); -x_88 = lean_ctor_get(x_69, 6); -x_89 = lean_ctor_get(x_69, 5); -lean_inc(x_88); -lean_inc(x_89); -lean_inc(x_87); -lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_69); -x_90 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1(x_89, x_1, x_2); -x_91 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_91, 0, x_83); -lean_ctor_set(x_91, 1, x_84); -lean_ctor_set(x_91, 2, x_85); -lean_ctor_set(x_91, 3, x_86); -lean_ctor_set(x_91, 4, x_87); -lean_ctor_set(x_91, 5, x_90); -lean_ctor_set(x_91, 6, x_88); -lean_ctor_set(x_68, 1, x_91); -x_92 = lean_st_ref_set(x_4, x_68, x_70); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -if (lean_is_exclusive(x_92)) { - lean_ctor_release(x_92, 0); - lean_ctor_release(x_92, 1); - x_94 = x_92; -} else { - lean_dec_ref(x_92); - x_94 = lean_box(0); -} -x_95 = lean_box(0); -if (lean_is_scalar(x_94)) { - x_96 = lean_alloc_ctor(0, 2, 0); -} else { - x_96 = x_94; -} -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_93); -return x_96; -} -} -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; 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_97 = lean_ctor_get(x_68, 0); -x_98 = lean_ctor_get(x_68, 2); -x_99 = lean_ctor_get(x_68, 3); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_68); -x_100 = lean_ctor_get(x_69, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_69, 1); -lean_inc(x_101); -x_102 = lean_ctor_get(x_69, 2); -lean_inc(x_102); -x_103 = lean_ctor_get(x_69, 3); -lean_inc(x_103); -x_104 = lean_ctor_get(x_69, 4); -lean_inc(x_104); -x_105 = lean_ctor_get(x_69, 6); -lean_inc(x_105); -x_106 = lean_ctor_get(x_69, 5); -lean_inc(x_106); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - lean_ctor_release(x_69, 2); - lean_ctor_release(x_69, 3); - lean_ctor_release(x_69, 4); - lean_ctor_release(x_69, 5); - lean_ctor_release(x_69, 6); - x_107 = x_69; -} else { - lean_dec_ref(x_69); - x_107 = lean_box(0); -} -x_108 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1(x_106, x_1, x_2); -if (lean_is_scalar(x_107)) { - x_109 = lean_alloc_ctor(0, 7, 0); -} else { - x_109 = x_107; -} -lean_ctor_set(x_109, 0, x_100); -lean_ctor_set(x_109, 1, x_101); -lean_ctor_set(x_109, 2, x_102); -lean_ctor_set(x_109, 3, x_103); -lean_ctor_set(x_109, 4, x_104); -lean_ctor_set(x_109, 5, x_108); -lean_ctor_set(x_109, 6, x_105); -x_110 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_110, 0, x_97); -lean_ctor_set(x_110, 1, x_109); -lean_ctor_set(x_110, 2, x_98); -lean_ctor_set(x_110, 3, x_99); -x_111 = lean_st_ref_set(x_4, x_110, x_70); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_113 = x_111; -} else { - lean_dec_ref(x_111); - x_113 = lean_box(0); -} -x_114 = lean_box(0); -if (lean_is_scalar(x_113)) { - x_115 = lean_alloc_ctor(0, 2, 0); -} else { - x_115 = x_113; -} -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_112); -return x_115; -} -} -default: -{ -uint8_t x_116; +lean_inc(x_40); +lean_inc(x_39); lean_dec(x_11); -lean_dec(x_1); -x_116 = !lean_is_exclusive(x_8); -if (x_116 == 0) -{ -lean_object* x_117; lean_object* x_118; -x_117 = lean_ctor_get(x_8, 0); -lean_dec(x_117); -x_118 = lean_box(0); -lean_ctor_set(x_8, 0, x_118); -return x_8; +x_42 = lean_ctor_get(x_12, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_12, 1); +lean_inc(x_43); +x_44 = lean_ctor_get(x_12, 2); +lean_inc(x_44); +x_45 = lean_ctor_get(x_12, 3); +lean_inc(x_45); +x_46 = lean_ctor_get(x_12, 4); +lean_inc(x_46); +x_47 = lean_ctor_get(x_12, 5); +lean_inc(x_47); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + lean_ctor_release(x_12, 2); + lean_ctor_release(x_12, 3); + lean_ctor_release(x_12, 4); + lean_ctor_release(x_12, 5); + x_48 = x_12; +} else { + lean_dec_ref(x_12); + x_48 = lean_box(0); } -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_8, 1); -lean_inc(x_119); -lean_dec(x_8); -x_120 = lean_box(0); -x_121 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -return x_121; +x_49 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1(x_47, x_1, x_2); +if (lean_is_scalar(x_48)) { + x_50 = lean_alloc_ctor(0, 6, 0); +} else { + x_50 = x_48; } +lean_ctor_set(x_50, 0, x_42); +lean_ctor_set(x_50, 1, x_43); +lean_ctor_set(x_50, 2, x_44); +lean_ctor_set(x_50, 3, x_45); +lean_ctor_set(x_50, 4, x_46); +lean_ctor_set(x_50, 5, x_49); +x_51 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_51, 0, x_39); +lean_ctor_set(x_51, 1, x_50); +lean_ctor_set(x_51, 2, x_40); +lean_ctor_set(x_51, 3, x_41); +x_52 = lean_st_ref_set(x_4, x_51, x_13); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_54 = x_52; +} else { + lean_dec_ref(x_52); + x_54 = lean_box(0); } +x_55 = lean_box(0); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; } } } @@ -76588,1908 +77213,6 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_withResetUsedAssignment___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_20 = lean_st_ref_get(x_5, x_6); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_st_ref_get(x_3, x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_ctor_get_uint8(x_25, sizeof(void*)*8); -lean_dec(x_25); -x_27 = lean_st_ref_get(x_5, x_24); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec(x_27); -x_29 = lean_st_ref_take(x_3, x_28); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_dec(x_29); -x_33 = !lean_is_exclusive(x_30); -if (x_33 == 0) -{ -lean_object* x_34; uint8_t x_35; -x_34 = lean_ctor_get(x_30, 0); -lean_dec(x_34); -x_35 = !lean_is_exclusive(x_31); -if (x_35 == 0) -{ -uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_36 = 0; -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_36); -x_37 = lean_st_ref_set(x_3, x_30, x_32); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -lean_inc(x_5); -lean_inc(x_3); -x_39 = lean_apply_5(x_1, x_2, x_3, x_4, x_5, x_38); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -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_st_ref_get(x_5, x_41); -lean_dec(x_5); -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); -x_44 = lean_st_ref_take(x_3, x_43); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -if (x_26 == 0) -{ -lean_object* x_47; uint8_t x_48; -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -lean_dec(x_44); -x_48 = !lean_is_exclusive(x_45); -if (x_48 == 0) -{ -lean_object* x_49; uint8_t x_50; -x_49 = lean_ctor_get(x_45, 0); -lean_dec(x_49); -x_50 = !lean_is_exclusive(x_46); -if (x_50 == 0) -{ -lean_object* x_51; uint8_t x_52; -x_51 = lean_st_ref_set(x_3, x_45, x_47); -lean_dec(x_3); -x_52 = !lean_is_exclusive(x_51); -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_51, 0); -lean_dec(x_53); -x_54 = lean_box(0); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_40); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_51, 0, x_55); -x_7 = x_51; -goto block_19; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_ctor_get(x_51, 1); -lean_inc(x_56); -lean_dec(x_51); -x_57 = lean_box(0); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_40); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_56); -x_7 = x_59; -goto block_19; -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t 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; -x_60 = lean_ctor_get(x_46, 0); -x_61 = lean_ctor_get(x_46, 1); -x_62 = lean_ctor_get(x_46, 2); -x_63 = lean_ctor_get(x_46, 3); -x_64 = lean_ctor_get(x_46, 4); -x_65 = lean_ctor_get(x_46, 5); -x_66 = lean_ctor_get(x_46, 6); -x_67 = lean_ctor_get(x_46, 7); -x_68 = lean_ctor_get_uint8(x_46, sizeof(void*)*8); -lean_inc(x_67); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_46); -x_69 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_69, 0, x_60); -lean_ctor_set(x_69, 1, x_61); -lean_ctor_set(x_69, 2, x_62); -lean_ctor_set(x_69, 3, x_63); -lean_ctor_set(x_69, 4, x_64); -lean_ctor_set(x_69, 5, x_65); -lean_ctor_set(x_69, 6, x_66); -lean_ctor_set(x_69, 7, x_67); -lean_ctor_set_uint8(x_69, sizeof(void*)*8, x_68); -lean_ctor_set(x_45, 0, x_69); -x_70 = lean_st_ref_set(x_3, x_45, x_47); -lean_dec(x_3); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_72 = x_70; -} else { - lean_dec_ref(x_70); - x_72 = lean_box(0); -} -x_73 = lean_box(0); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_40); -lean_ctor_set(x_74, 1, x_73); -if (lean_is_scalar(x_72)) { - x_75 = lean_alloc_ctor(0, 2, 0); -} else { - x_75 = x_72; -} -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_71); -x_7 = x_75; -goto block_19; -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t 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_76 = lean_ctor_get(x_45, 1); -x_77 = lean_ctor_get(x_45, 2); -x_78 = lean_ctor_get(x_45, 3); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_45); -x_79 = lean_ctor_get(x_46, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_46, 1); -lean_inc(x_80); -x_81 = lean_ctor_get(x_46, 2); -lean_inc(x_81); -x_82 = lean_ctor_get(x_46, 3); -lean_inc(x_82); -x_83 = lean_ctor_get(x_46, 4); -lean_inc(x_83); -x_84 = lean_ctor_get(x_46, 5); -lean_inc(x_84); -x_85 = lean_ctor_get(x_46, 6); -lean_inc(x_85); -x_86 = lean_ctor_get(x_46, 7); -lean_inc(x_86); -x_87 = lean_ctor_get_uint8(x_46, sizeof(void*)*8); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - lean_ctor_release(x_46, 2); - lean_ctor_release(x_46, 3); - lean_ctor_release(x_46, 4); - lean_ctor_release(x_46, 5); - lean_ctor_release(x_46, 6); - lean_ctor_release(x_46, 7); - x_88 = x_46; -} else { - lean_dec_ref(x_46); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(0, 8, 1); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_79); -lean_ctor_set(x_89, 1, x_80); -lean_ctor_set(x_89, 2, x_81); -lean_ctor_set(x_89, 3, x_82); -lean_ctor_set(x_89, 4, x_83); -lean_ctor_set(x_89, 5, x_84); -lean_ctor_set(x_89, 6, x_85); -lean_ctor_set(x_89, 7, x_86); -lean_ctor_set_uint8(x_89, sizeof(void*)*8, x_87); -x_90 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_76); -lean_ctor_set(x_90, 2, x_77); -lean_ctor_set(x_90, 3, x_78); -x_91 = lean_st_ref_set(x_3, x_90, x_47); -lean_dec(x_3); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - x_93 = x_91; -} else { - lean_dec_ref(x_91); - x_93 = lean_box(0); -} -x_94 = lean_box(0); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_40); -lean_ctor_set(x_95, 1, x_94); -if (lean_is_scalar(x_93)) { - x_96 = lean_alloc_ctor(0, 2, 0); -} else { - x_96 = x_93; -} -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_92); -x_7 = x_96; -goto block_19; -} -} -else -{ -lean_object* x_97; uint8_t x_98; -x_97 = lean_ctor_get(x_44, 1); -lean_inc(x_97); -lean_dec(x_44); -x_98 = !lean_is_exclusive(x_45); -if (x_98 == 0) -{ -lean_object* x_99; uint8_t x_100; -x_99 = lean_ctor_get(x_45, 0); -lean_dec(x_99); -x_100 = !lean_is_exclusive(x_46); -if (x_100 == 0) -{ -uint8_t x_101; lean_object* x_102; uint8_t x_103; -x_101 = 1; -lean_ctor_set_uint8(x_46, sizeof(void*)*8, x_101); -x_102 = lean_st_ref_set(x_3, x_45, x_97); -lean_dec(x_3); -x_103 = !lean_is_exclusive(x_102); -if (x_103 == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_102, 0); -lean_dec(x_104); -x_105 = lean_box(0); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_40); -lean_ctor_set(x_106, 1, x_105); -lean_ctor_set(x_102, 0, x_106); -x_7 = x_102; -goto block_19; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_102, 1); -lean_inc(x_107); -lean_dec(x_102); -x_108 = lean_box(0); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_40); -lean_ctor_set(x_109, 1, x_108); -x_110 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -x_7 = x_110; -goto block_19; -} -} -else -{ -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; uint8_t 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_111 = lean_ctor_get(x_46, 0); -x_112 = lean_ctor_get(x_46, 1); -x_113 = lean_ctor_get(x_46, 2); -x_114 = lean_ctor_get(x_46, 3); -x_115 = lean_ctor_get(x_46, 4); -x_116 = lean_ctor_get(x_46, 5); -x_117 = lean_ctor_get(x_46, 6); -x_118 = lean_ctor_get(x_46, 7); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_46); -x_119 = 1; -x_120 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_120, 0, x_111); -lean_ctor_set(x_120, 1, x_112); -lean_ctor_set(x_120, 2, x_113); -lean_ctor_set(x_120, 3, x_114); -lean_ctor_set(x_120, 4, x_115); -lean_ctor_set(x_120, 5, x_116); -lean_ctor_set(x_120, 6, x_117); -lean_ctor_set(x_120, 7, x_118); -lean_ctor_set_uint8(x_120, sizeof(void*)*8, x_119); -lean_ctor_set(x_45, 0, x_120); -x_121 = lean_st_ref_set(x_3, x_45, x_97); -lean_dec(x_3); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - lean_ctor_release(x_121, 1); - x_123 = x_121; -} else { - lean_dec_ref(x_121); - x_123 = lean_box(0); -} -x_124 = lean_box(0); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_40); -lean_ctor_set(x_125, 1, x_124); -if (lean_is_scalar(x_123)) { - x_126 = lean_alloc_ctor(0, 2, 0); -} else { - x_126 = x_123; -} -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_122); -x_7 = x_126; -goto block_19; -} -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_127 = lean_ctor_get(x_45, 1); -x_128 = lean_ctor_get(x_45, 2); -x_129 = lean_ctor_get(x_45, 3); -lean_inc(x_129); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_45); -x_130 = lean_ctor_get(x_46, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_46, 1); -lean_inc(x_131); -x_132 = lean_ctor_get(x_46, 2); -lean_inc(x_132); -x_133 = lean_ctor_get(x_46, 3); -lean_inc(x_133); -x_134 = lean_ctor_get(x_46, 4); -lean_inc(x_134); -x_135 = lean_ctor_get(x_46, 5); -lean_inc(x_135); -x_136 = lean_ctor_get(x_46, 6); -lean_inc(x_136); -x_137 = lean_ctor_get(x_46, 7); -lean_inc(x_137); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - lean_ctor_release(x_46, 2); - lean_ctor_release(x_46, 3); - lean_ctor_release(x_46, 4); - lean_ctor_release(x_46, 5); - lean_ctor_release(x_46, 6); - lean_ctor_release(x_46, 7); - x_138 = x_46; -} else { - lean_dec_ref(x_46); - x_138 = lean_box(0); -} -x_139 = 1; -if (lean_is_scalar(x_138)) { - x_140 = lean_alloc_ctor(0, 8, 1); -} else { - x_140 = x_138; -} -lean_ctor_set(x_140, 0, x_130); -lean_ctor_set(x_140, 1, x_131); -lean_ctor_set(x_140, 2, x_132); -lean_ctor_set(x_140, 3, x_133); -lean_ctor_set(x_140, 4, x_134); -lean_ctor_set(x_140, 5, x_135); -lean_ctor_set(x_140, 6, x_136); -lean_ctor_set(x_140, 7, x_137); -lean_ctor_set_uint8(x_140, sizeof(void*)*8, x_139); -x_141 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_127); -lean_ctor_set(x_141, 2, x_128); -lean_ctor_set(x_141, 3, x_129); -x_142 = lean_st_ref_set(x_3, x_141, x_97); -lean_dec(x_3); -x_143 = lean_ctor_get(x_142, 1); -lean_inc(x_143); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_144 = x_142; -} else { - lean_dec_ref(x_142); - x_144 = lean_box(0); -} -x_145 = lean_box(0); -x_146 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_146, 0, x_40); -lean_ctor_set(x_146, 1, x_145); -if (lean_is_scalar(x_144)) { - x_147 = lean_alloc_ctor(0, 2, 0); -} else { - x_147 = x_144; -} -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_143); -x_7 = x_147; -goto block_19; -} -} -} -else -{ -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; -x_148 = lean_ctor_get(x_39, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_39, 1); -lean_inc(x_149); -lean_dec(x_39); -x_150 = lean_st_ref_get(x_5, x_149); -lean_dec(x_5); -x_151 = lean_ctor_get(x_150, 1); -lean_inc(x_151); -lean_dec(x_150); -x_152 = lean_st_ref_take(x_3, x_151); -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -if (x_26 == 0) -{ -lean_object* x_155; uint8_t x_156; -x_155 = lean_ctor_get(x_152, 1); -lean_inc(x_155); -lean_dec(x_152); -x_156 = !lean_is_exclusive(x_153); -if (x_156 == 0) -{ -lean_object* x_157; uint8_t x_158; -x_157 = lean_ctor_get(x_153, 0); -lean_dec(x_157); -x_158 = !lean_is_exclusive(x_154); -if (x_158 == 0) -{ -lean_object* x_159; uint8_t x_160; -x_159 = lean_st_ref_set(x_3, x_153, x_155); -lean_dec(x_3); -x_160 = !lean_is_exclusive(x_159); -if (x_160 == 0) -{ -lean_object* x_161; -x_161 = lean_ctor_get(x_159, 0); -lean_dec(x_161); -lean_ctor_set_tag(x_159, 1); -lean_ctor_set(x_159, 0, x_148); -x_7 = x_159; -goto block_19; -} -else -{ -lean_object* x_162; lean_object* x_163; -x_162 = lean_ctor_get(x_159, 1); -lean_inc(x_162); -lean_dec(x_159); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_148); -lean_ctor_set(x_163, 1, x_162); -x_7 = x_163; -goto block_19; -} -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_164 = lean_ctor_get(x_154, 0); -x_165 = lean_ctor_get(x_154, 1); -x_166 = lean_ctor_get(x_154, 2); -x_167 = lean_ctor_get(x_154, 3); -x_168 = lean_ctor_get(x_154, 4); -x_169 = lean_ctor_get(x_154, 5); -x_170 = lean_ctor_get(x_154, 6); -x_171 = lean_ctor_get(x_154, 7); -x_172 = lean_ctor_get_uint8(x_154, sizeof(void*)*8); -lean_inc(x_171); -lean_inc(x_170); -lean_inc(x_169); -lean_inc(x_168); -lean_inc(x_167); -lean_inc(x_166); -lean_inc(x_165); -lean_inc(x_164); -lean_dec(x_154); -x_173 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_173, 0, x_164); -lean_ctor_set(x_173, 1, x_165); -lean_ctor_set(x_173, 2, x_166); -lean_ctor_set(x_173, 3, x_167); -lean_ctor_set(x_173, 4, x_168); -lean_ctor_set(x_173, 5, x_169); -lean_ctor_set(x_173, 6, x_170); -lean_ctor_set(x_173, 7, x_171); -lean_ctor_set_uint8(x_173, sizeof(void*)*8, x_172); -lean_ctor_set(x_153, 0, x_173); -x_174 = lean_st_ref_set(x_3, x_153, x_155); -lean_dec(x_3); -x_175 = lean_ctor_get(x_174, 1); -lean_inc(x_175); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - lean_ctor_release(x_174, 1); - x_176 = x_174; -} else { - lean_dec_ref(x_174); - x_176 = lean_box(0); -} -if (lean_is_scalar(x_176)) { - x_177 = lean_alloc_ctor(1, 2, 0); -} else { - x_177 = x_176; - lean_ctor_set_tag(x_177, 1); -} -lean_ctor_set(x_177, 0, x_148); -lean_ctor_set(x_177, 1, x_175); -x_7 = x_177; -goto block_19; -} -} -else -{ -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; lean_object* x_188; uint8_t 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; -x_178 = lean_ctor_get(x_153, 1); -x_179 = lean_ctor_get(x_153, 2); -x_180 = lean_ctor_get(x_153, 3); -lean_inc(x_180); -lean_inc(x_179); -lean_inc(x_178); -lean_dec(x_153); -x_181 = lean_ctor_get(x_154, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_154, 1); -lean_inc(x_182); -x_183 = lean_ctor_get(x_154, 2); -lean_inc(x_183); -x_184 = lean_ctor_get(x_154, 3); -lean_inc(x_184); -x_185 = lean_ctor_get(x_154, 4); -lean_inc(x_185); -x_186 = lean_ctor_get(x_154, 5); -lean_inc(x_186); -x_187 = lean_ctor_get(x_154, 6); -lean_inc(x_187); -x_188 = lean_ctor_get(x_154, 7); -lean_inc(x_188); -x_189 = lean_ctor_get_uint8(x_154, sizeof(void*)*8); -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); - lean_ctor_release(x_154, 6); - lean_ctor_release(x_154, 7); - x_190 = x_154; -} else { - lean_dec_ref(x_154); - x_190 = lean_box(0); -} -if (lean_is_scalar(x_190)) { - x_191 = lean_alloc_ctor(0, 8, 1); -} else { - x_191 = x_190; -} -lean_ctor_set(x_191, 0, x_181); -lean_ctor_set(x_191, 1, x_182); -lean_ctor_set(x_191, 2, x_183); -lean_ctor_set(x_191, 3, x_184); -lean_ctor_set(x_191, 4, x_185); -lean_ctor_set(x_191, 5, x_186); -lean_ctor_set(x_191, 6, x_187); -lean_ctor_set(x_191, 7, x_188); -lean_ctor_set_uint8(x_191, sizeof(void*)*8, x_189); -x_192 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_178); -lean_ctor_set(x_192, 2, x_179); -lean_ctor_set(x_192, 3, x_180); -x_193 = lean_st_ref_set(x_3, x_192, x_155); -lean_dec(x_3); -x_194 = lean_ctor_get(x_193, 1); -lean_inc(x_194); -if (lean_is_exclusive(x_193)) { - lean_ctor_release(x_193, 0); - lean_ctor_release(x_193, 1); - x_195 = x_193; -} else { - lean_dec_ref(x_193); - x_195 = lean_box(0); -} -if (lean_is_scalar(x_195)) { - x_196 = lean_alloc_ctor(1, 2, 0); -} else { - x_196 = x_195; - lean_ctor_set_tag(x_196, 1); -} -lean_ctor_set(x_196, 0, x_148); -lean_ctor_set(x_196, 1, x_194); -x_7 = x_196; -goto block_19; -} -} -else -{ -lean_object* x_197; uint8_t x_198; -x_197 = lean_ctor_get(x_152, 1); -lean_inc(x_197); -lean_dec(x_152); -x_198 = !lean_is_exclusive(x_153); -if (x_198 == 0) -{ -lean_object* x_199; uint8_t x_200; -x_199 = lean_ctor_get(x_153, 0); -lean_dec(x_199); -x_200 = !lean_is_exclusive(x_154); -if (x_200 == 0) -{ -uint8_t x_201; lean_object* x_202; uint8_t x_203; -x_201 = 1; -lean_ctor_set_uint8(x_154, sizeof(void*)*8, x_201); -x_202 = lean_st_ref_set(x_3, x_153, x_197); -lean_dec(x_3); -x_203 = !lean_is_exclusive(x_202); -if (x_203 == 0) -{ -lean_object* x_204; -x_204 = lean_ctor_get(x_202, 0); -lean_dec(x_204); -lean_ctor_set_tag(x_202, 1); -lean_ctor_set(x_202, 0, x_148); -x_7 = x_202; -goto block_19; -} -else -{ -lean_object* x_205; lean_object* x_206; -x_205 = lean_ctor_get(x_202, 1); -lean_inc(x_205); -lean_dec(x_202); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_148); -lean_ctor_set(x_206, 1, x_205); -x_7 = x_206; -goto block_19; -} -} -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; uint8_t x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_207 = lean_ctor_get(x_154, 0); -x_208 = lean_ctor_get(x_154, 1); -x_209 = lean_ctor_get(x_154, 2); -x_210 = lean_ctor_get(x_154, 3); -x_211 = lean_ctor_get(x_154, 4); -x_212 = lean_ctor_get(x_154, 5); -x_213 = lean_ctor_get(x_154, 6); -x_214 = lean_ctor_get(x_154, 7); -lean_inc(x_214); -lean_inc(x_213); -lean_inc(x_212); -lean_inc(x_211); -lean_inc(x_210); -lean_inc(x_209); -lean_inc(x_208); -lean_inc(x_207); -lean_dec(x_154); -x_215 = 1; -x_216 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_216, 0, x_207); -lean_ctor_set(x_216, 1, x_208); -lean_ctor_set(x_216, 2, x_209); -lean_ctor_set(x_216, 3, x_210); -lean_ctor_set(x_216, 4, x_211); -lean_ctor_set(x_216, 5, x_212); -lean_ctor_set(x_216, 6, x_213); -lean_ctor_set(x_216, 7, x_214); -lean_ctor_set_uint8(x_216, sizeof(void*)*8, x_215); -lean_ctor_set(x_153, 0, x_216); -x_217 = lean_st_ref_set(x_3, x_153, x_197); -lean_dec(x_3); -x_218 = lean_ctor_get(x_217, 1); -lean_inc(x_218); -if (lean_is_exclusive(x_217)) { - lean_ctor_release(x_217, 0); - lean_ctor_release(x_217, 1); - x_219 = x_217; -} else { - lean_dec_ref(x_217); - x_219 = lean_box(0); -} -if (lean_is_scalar(x_219)) { - x_220 = lean_alloc_ctor(1, 2, 0); -} else { - x_220 = x_219; - lean_ctor_set_tag(x_220, 1); -} -lean_ctor_set(x_220, 0, x_148); -lean_ctor_set(x_220, 1, x_218); -x_7 = x_220; -goto block_19; -} -} -else -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t 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; -x_221 = lean_ctor_get(x_153, 1); -x_222 = lean_ctor_get(x_153, 2); -x_223 = lean_ctor_get(x_153, 3); -lean_inc(x_223); -lean_inc(x_222); -lean_inc(x_221); -lean_dec(x_153); -x_224 = lean_ctor_get(x_154, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_154, 1); -lean_inc(x_225); -x_226 = lean_ctor_get(x_154, 2); -lean_inc(x_226); -x_227 = lean_ctor_get(x_154, 3); -lean_inc(x_227); -x_228 = lean_ctor_get(x_154, 4); -lean_inc(x_228); -x_229 = lean_ctor_get(x_154, 5); -lean_inc(x_229); -x_230 = lean_ctor_get(x_154, 6); -lean_inc(x_230); -x_231 = lean_ctor_get(x_154, 7); -lean_inc(x_231); -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); - lean_ctor_release(x_154, 6); - lean_ctor_release(x_154, 7); - x_232 = x_154; -} else { - lean_dec_ref(x_154); - x_232 = lean_box(0); -} -x_233 = 1; -if (lean_is_scalar(x_232)) { - x_234 = lean_alloc_ctor(0, 8, 1); -} else { - x_234 = x_232; -} -lean_ctor_set(x_234, 0, x_224); -lean_ctor_set(x_234, 1, x_225); -lean_ctor_set(x_234, 2, x_226); -lean_ctor_set(x_234, 3, x_227); -lean_ctor_set(x_234, 4, x_228); -lean_ctor_set(x_234, 5, x_229); -lean_ctor_set(x_234, 6, x_230); -lean_ctor_set(x_234, 7, x_231); -lean_ctor_set_uint8(x_234, sizeof(void*)*8, x_233); -x_235 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_221); -lean_ctor_set(x_235, 2, x_222); -lean_ctor_set(x_235, 3, x_223); -x_236 = lean_st_ref_set(x_3, x_235, x_197); -lean_dec(x_3); -x_237 = lean_ctor_get(x_236, 1); -lean_inc(x_237); -if (lean_is_exclusive(x_236)) { - lean_ctor_release(x_236, 0); - lean_ctor_release(x_236, 1); - x_238 = x_236; -} else { - lean_dec_ref(x_236); - x_238 = lean_box(0); -} -if (lean_is_scalar(x_238)) { - x_239 = lean_alloc_ctor(1, 2, 0); -} else { - x_239 = x_238; - lean_ctor_set_tag(x_239, 1); -} -lean_ctor_set(x_239, 0, x_148); -lean_ctor_set(x_239, 1, x_237); -x_7 = x_239; -goto block_19; -} -} -} -} -else -{ -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; uint8_t x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; -x_240 = lean_ctor_get(x_31, 0); -x_241 = lean_ctor_get(x_31, 1); -x_242 = lean_ctor_get(x_31, 2); -x_243 = lean_ctor_get(x_31, 3); -x_244 = lean_ctor_get(x_31, 4); -x_245 = lean_ctor_get(x_31, 5); -x_246 = lean_ctor_get(x_31, 6); -x_247 = lean_ctor_get(x_31, 7); -lean_inc(x_247); -lean_inc(x_246); -lean_inc(x_245); -lean_inc(x_244); -lean_inc(x_243); -lean_inc(x_242); -lean_inc(x_241); -lean_inc(x_240); -lean_dec(x_31); -x_248 = 0; -x_249 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_249, 0, x_240); -lean_ctor_set(x_249, 1, x_241); -lean_ctor_set(x_249, 2, x_242); -lean_ctor_set(x_249, 3, x_243); -lean_ctor_set(x_249, 4, x_244); -lean_ctor_set(x_249, 5, x_245); -lean_ctor_set(x_249, 6, x_246); -lean_ctor_set(x_249, 7, x_247); -lean_ctor_set_uint8(x_249, sizeof(void*)*8, x_248); -lean_ctor_set(x_30, 0, x_249); -x_250 = lean_st_ref_set(x_3, x_30, x_32); -x_251 = lean_ctor_get(x_250, 1); -lean_inc(x_251); -lean_dec(x_250); -lean_inc(x_5); -lean_inc(x_3); -x_252 = lean_apply_5(x_1, x_2, x_3, x_4, x_5, x_251); -if (lean_obj_tag(x_252) == 0) -{ -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; -x_253 = lean_ctor_get(x_252, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_252, 1); -lean_inc(x_254); -lean_dec(x_252); -x_255 = lean_st_ref_get(x_5, x_254); -lean_dec(x_5); -x_256 = lean_ctor_get(x_255, 1); -lean_inc(x_256); -lean_dec(x_255); -x_257 = lean_st_ref_take(x_3, x_256); -x_258 = lean_ctor_get(x_257, 0); -lean_inc(x_258); -x_259 = lean_ctor_get(x_258, 0); -lean_inc(x_259); -if (x_26 == 0) -{ -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; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; -x_260 = lean_ctor_get(x_257, 1); -lean_inc(x_260); -lean_dec(x_257); -x_261 = lean_ctor_get(x_258, 1); -lean_inc(x_261); -x_262 = lean_ctor_get(x_258, 2); -lean_inc(x_262); -x_263 = lean_ctor_get(x_258, 3); -lean_inc(x_263); -if (lean_is_exclusive(x_258)) { - lean_ctor_release(x_258, 0); - lean_ctor_release(x_258, 1); - lean_ctor_release(x_258, 2); - lean_ctor_release(x_258, 3); - x_264 = x_258; -} else { - lean_dec_ref(x_258); - x_264 = lean_box(0); -} -x_265 = lean_ctor_get(x_259, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_259, 1); -lean_inc(x_266); -x_267 = lean_ctor_get(x_259, 2); -lean_inc(x_267); -x_268 = lean_ctor_get(x_259, 3); -lean_inc(x_268); -x_269 = lean_ctor_get(x_259, 4); -lean_inc(x_269); -x_270 = lean_ctor_get(x_259, 5); -lean_inc(x_270); -x_271 = lean_ctor_get(x_259, 6); -lean_inc(x_271); -x_272 = lean_ctor_get(x_259, 7); -lean_inc(x_272); -x_273 = lean_ctor_get_uint8(x_259, sizeof(void*)*8); -if (lean_is_exclusive(x_259)) { - lean_ctor_release(x_259, 0); - lean_ctor_release(x_259, 1); - lean_ctor_release(x_259, 2); - lean_ctor_release(x_259, 3); - lean_ctor_release(x_259, 4); - lean_ctor_release(x_259, 5); - lean_ctor_release(x_259, 6); - lean_ctor_release(x_259, 7); - x_274 = x_259; -} else { - lean_dec_ref(x_259); - x_274 = lean_box(0); -} -if (lean_is_scalar(x_274)) { - x_275 = lean_alloc_ctor(0, 8, 1); -} else { - x_275 = x_274; -} -lean_ctor_set(x_275, 0, x_265); -lean_ctor_set(x_275, 1, x_266); -lean_ctor_set(x_275, 2, x_267); -lean_ctor_set(x_275, 3, x_268); -lean_ctor_set(x_275, 4, x_269); -lean_ctor_set(x_275, 5, x_270); -lean_ctor_set(x_275, 6, x_271); -lean_ctor_set(x_275, 7, x_272); -lean_ctor_set_uint8(x_275, sizeof(void*)*8, x_273); -if (lean_is_scalar(x_264)) { - x_276 = lean_alloc_ctor(0, 4, 0); -} else { - x_276 = x_264; -} -lean_ctor_set(x_276, 0, x_275); -lean_ctor_set(x_276, 1, x_261); -lean_ctor_set(x_276, 2, x_262); -lean_ctor_set(x_276, 3, x_263); -x_277 = lean_st_ref_set(x_3, x_276, x_260); -lean_dec(x_3); -x_278 = lean_ctor_get(x_277, 1); -lean_inc(x_278); -if (lean_is_exclusive(x_277)) { - lean_ctor_release(x_277, 0); - lean_ctor_release(x_277, 1); - x_279 = x_277; -} else { - lean_dec_ref(x_277); - x_279 = lean_box(0); -} -x_280 = lean_box(0); -x_281 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_281, 0, x_253); -lean_ctor_set(x_281, 1, x_280); -if (lean_is_scalar(x_279)) { - x_282 = lean_alloc_ctor(0, 2, 0); -} else { - x_282 = x_279; -} -lean_ctor_set(x_282, 0, x_281); -lean_ctor_set(x_282, 1, x_278); -x_7 = x_282; -goto block_19; -} -else -{ -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; uint8_t 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; -x_283 = lean_ctor_get(x_257, 1); -lean_inc(x_283); -lean_dec(x_257); -x_284 = lean_ctor_get(x_258, 1); -lean_inc(x_284); -x_285 = lean_ctor_get(x_258, 2); -lean_inc(x_285); -x_286 = lean_ctor_get(x_258, 3); -lean_inc(x_286); -if (lean_is_exclusive(x_258)) { - lean_ctor_release(x_258, 0); - lean_ctor_release(x_258, 1); - lean_ctor_release(x_258, 2); - lean_ctor_release(x_258, 3); - x_287 = x_258; -} else { - lean_dec_ref(x_258); - x_287 = lean_box(0); -} -x_288 = lean_ctor_get(x_259, 0); -lean_inc(x_288); -x_289 = lean_ctor_get(x_259, 1); -lean_inc(x_289); -x_290 = lean_ctor_get(x_259, 2); -lean_inc(x_290); -x_291 = lean_ctor_get(x_259, 3); -lean_inc(x_291); -x_292 = lean_ctor_get(x_259, 4); -lean_inc(x_292); -x_293 = lean_ctor_get(x_259, 5); -lean_inc(x_293); -x_294 = lean_ctor_get(x_259, 6); -lean_inc(x_294); -x_295 = lean_ctor_get(x_259, 7); -lean_inc(x_295); -if (lean_is_exclusive(x_259)) { - lean_ctor_release(x_259, 0); - lean_ctor_release(x_259, 1); - lean_ctor_release(x_259, 2); - lean_ctor_release(x_259, 3); - lean_ctor_release(x_259, 4); - lean_ctor_release(x_259, 5); - lean_ctor_release(x_259, 6); - lean_ctor_release(x_259, 7); - x_296 = x_259; -} else { - lean_dec_ref(x_259); - x_296 = lean_box(0); -} -x_297 = 1; -if (lean_is_scalar(x_296)) { - x_298 = lean_alloc_ctor(0, 8, 1); -} else { - x_298 = x_296; -} -lean_ctor_set(x_298, 0, x_288); -lean_ctor_set(x_298, 1, x_289); -lean_ctor_set(x_298, 2, x_290); -lean_ctor_set(x_298, 3, x_291); -lean_ctor_set(x_298, 4, x_292); -lean_ctor_set(x_298, 5, x_293); -lean_ctor_set(x_298, 6, x_294); -lean_ctor_set(x_298, 7, x_295); -lean_ctor_set_uint8(x_298, sizeof(void*)*8, x_297); -if (lean_is_scalar(x_287)) { - x_299 = lean_alloc_ctor(0, 4, 0); -} else { - x_299 = x_287; -} -lean_ctor_set(x_299, 0, x_298); -lean_ctor_set(x_299, 1, x_284); -lean_ctor_set(x_299, 2, x_285); -lean_ctor_set(x_299, 3, x_286); -x_300 = lean_st_ref_set(x_3, x_299, x_283); -lean_dec(x_3); -x_301 = lean_ctor_get(x_300, 1); -lean_inc(x_301); -if (lean_is_exclusive(x_300)) { - lean_ctor_release(x_300, 0); - lean_ctor_release(x_300, 1); - x_302 = x_300; -} else { - lean_dec_ref(x_300); - x_302 = lean_box(0); -} -x_303 = lean_box(0); -x_304 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_304, 0, x_253); -lean_ctor_set(x_304, 1, x_303); -if (lean_is_scalar(x_302)) { - x_305 = lean_alloc_ctor(0, 2, 0); -} else { - x_305 = x_302; -} -lean_ctor_set(x_305, 0, x_304); -lean_ctor_set(x_305, 1, x_301); -x_7 = x_305; -goto block_19; -} -} -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; -x_306 = lean_ctor_get(x_252, 0); -lean_inc(x_306); -x_307 = lean_ctor_get(x_252, 1); -lean_inc(x_307); -lean_dec(x_252); -x_308 = lean_st_ref_get(x_5, x_307); -lean_dec(x_5); -x_309 = lean_ctor_get(x_308, 1); -lean_inc(x_309); -lean_dec(x_308); -x_310 = lean_st_ref_take(x_3, x_309); -x_311 = lean_ctor_get(x_310, 0); -lean_inc(x_311); -x_312 = lean_ctor_get(x_311, 0); -lean_inc(x_312); -if (x_26 == 0) -{ -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; uint8_t x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; -x_313 = lean_ctor_get(x_310, 1); -lean_inc(x_313); -lean_dec(x_310); -x_314 = lean_ctor_get(x_311, 1); -lean_inc(x_314); -x_315 = lean_ctor_get(x_311, 2); -lean_inc(x_315); -x_316 = lean_ctor_get(x_311, 3); -lean_inc(x_316); -if (lean_is_exclusive(x_311)) { - lean_ctor_release(x_311, 0); - lean_ctor_release(x_311, 1); - lean_ctor_release(x_311, 2); - lean_ctor_release(x_311, 3); - x_317 = x_311; -} else { - lean_dec_ref(x_311); - x_317 = lean_box(0); -} -x_318 = lean_ctor_get(x_312, 0); -lean_inc(x_318); -x_319 = lean_ctor_get(x_312, 1); -lean_inc(x_319); -x_320 = lean_ctor_get(x_312, 2); -lean_inc(x_320); -x_321 = lean_ctor_get(x_312, 3); -lean_inc(x_321); -x_322 = lean_ctor_get(x_312, 4); -lean_inc(x_322); -x_323 = lean_ctor_get(x_312, 5); -lean_inc(x_323); -x_324 = lean_ctor_get(x_312, 6); -lean_inc(x_324); -x_325 = lean_ctor_get(x_312, 7); -lean_inc(x_325); -x_326 = lean_ctor_get_uint8(x_312, sizeof(void*)*8); -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); - lean_ctor_release(x_312, 6); - lean_ctor_release(x_312, 7); - x_327 = x_312; -} else { - lean_dec_ref(x_312); - x_327 = lean_box(0); -} -if (lean_is_scalar(x_327)) { - x_328 = lean_alloc_ctor(0, 8, 1); -} else { - x_328 = x_327; -} -lean_ctor_set(x_328, 0, x_318); -lean_ctor_set(x_328, 1, x_319); -lean_ctor_set(x_328, 2, x_320); -lean_ctor_set(x_328, 3, x_321); -lean_ctor_set(x_328, 4, x_322); -lean_ctor_set(x_328, 5, x_323); -lean_ctor_set(x_328, 6, x_324); -lean_ctor_set(x_328, 7, x_325); -lean_ctor_set_uint8(x_328, sizeof(void*)*8, x_326); -if (lean_is_scalar(x_317)) { - x_329 = lean_alloc_ctor(0, 4, 0); -} else { - x_329 = x_317; -} -lean_ctor_set(x_329, 0, x_328); -lean_ctor_set(x_329, 1, x_314); -lean_ctor_set(x_329, 2, x_315); -lean_ctor_set(x_329, 3, x_316); -x_330 = lean_st_ref_set(x_3, x_329, x_313); -lean_dec(x_3); -x_331 = lean_ctor_get(x_330, 1); -lean_inc(x_331); -if (lean_is_exclusive(x_330)) { - lean_ctor_release(x_330, 0); - lean_ctor_release(x_330, 1); - x_332 = x_330; -} else { - lean_dec_ref(x_330); - x_332 = lean_box(0); -} -if (lean_is_scalar(x_332)) { - x_333 = lean_alloc_ctor(1, 2, 0); -} else { - x_333 = x_332; - lean_ctor_set_tag(x_333, 1); -} -lean_ctor_set(x_333, 0, x_306); -lean_ctor_set(x_333, 1, x_331); -x_7 = x_333; -goto block_19; -} -else -{ -lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; uint8_t 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; -x_334 = lean_ctor_get(x_310, 1); -lean_inc(x_334); -lean_dec(x_310); -x_335 = lean_ctor_get(x_311, 1); -lean_inc(x_335); -x_336 = lean_ctor_get(x_311, 2); -lean_inc(x_336); -x_337 = lean_ctor_get(x_311, 3); -lean_inc(x_337); -if (lean_is_exclusive(x_311)) { - lean_ctor_release(x_311, 0); - lean_ctor_release(x_311, 1); - lean_ctor_release(x_311, 2); - lean_ctor_release(x_311, 3); - x_338 = x_311; -} else { - lean_dec_ref(x_311); - x_338 = lean_box(0); -} -x_339 = lean_ctor_get(x_312, 0); -lean_inc(x_339); -x_340 = lean_ctor_get(x_312, 1); -lean_inc(x_340); -x_341 = lean_ctor_get(x_312, 2); -lean_inc(x_341); -x_342 = lean_ctor_get(x_312, 3); -lean_inc(x_342); -x_343 = lean_ctor_get(x_312, 4); -lean_inc(x_343); -x_344 = lean_ctor_get(x_312, 5); -lean_inc(x_344); -x_345 = lean_ctor_get(x_312, 6); -lean_inc(x_345); -x_346 = lean_ctor_get(x_312, 7); -lean_inc(x_346); -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); - lean_ctor_release(x_312, 6); - lean_ctor_release(x_312, 7); - x_347 = x_312; -} else { - lean_dec_ref(x_312); - x_347 = lean_box(0); -} -x_348 = 1; -if (lean_is_scalar(x_347)) { - x_349 = lean_alloc_ctor(0, 8, 1); -} else { - x_349 = x_347; -} -lean_ctor_set(x_349, 0, x_339); -lean_ctor_set(x_349, 1, x_340); -lean_ctor_set(x_349, 2, x_341); -lean_ctor_set(x_349, 3, x_342); -lean_ctor_set(x_349, 4, x_343); -lean_ctor_set(x_349, 5, x_344); -lean_ctor_set(x_349, 6, x_345); -lean_ctor_set(x_349, 7, x_346); -lean_ctor_set_uint8(x_349, sizeof(void*)*8, x_348); -if (lean_is_scalar(x_338)) { - x_350 = lean_alloc_ctor(0, 4, 0); -} else { - x_350 = x_338; -} -lean_ctor_set(x_350, 0, x_349); -lean_ctor_set(x_350, 1, x_335); -lean_ctor_set(x_350, 2, x_336); -lean_ctor_set(x_350, 3, x_337); -x_351 = lean_st_ref_set(x_3, x_350, x_334); -lean_dec(x_3); -x_352 = lean_ctor_get(x_351, 1); -lean_inc(x_352); -if (lean_is_exclusive(x_351)) { - lean_ctor_release(x_351, 0); - lean_ctor_release(x_351, 1); - x_353 = x_351; -} else { - lean_dec_ref(x_351); - x_353 = lean_box(0); -} -if (lean_is_scalar(x_353)) { - x_354 = lean_alloc_ctor(1, 2, 0); -} else { - x_354 = x_353; - lean_ctor_set_tag(x_354, 1); -} -lean_ctor_set(x_354, 0, x_306); -lean_ctor_set(x_354, 1, x_352); -x_7 = x_354; -goto block_19; -} -} -} -} -else -{ -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_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; -x_355 = lean_ctor_get(x_30, 1); -x_356 = lean_ctor_get(x_30, 2); -x_357 = lean_ctor_get(x_30, 3); -lean_inc(x_357); -lean_inc(x_356); -lean_inc(x_355); -lean_dec(x_30); -x_358 = lean_ctor_get(x_31, 0); -lean_inc(x_358); -x_359 = lean_ctor_get(x_31, 1); -lean_inc(x_359); -x_360 = lean_ctor_get(x_31, 2); -lean_inc(x_360); -x_361 = lean_ctor_get(x_31, 3); -lean_inc(x_361); -x_362 = lean_ctor_get(x_31, 4); -lean_inc(x_362); -x_363 = lean_ctor_get(x_31, 5); -lean_inc(x_363); -x_364 = lean_ctor_get(x_31, 6); -lean_inc(x_364); -x_365 = lean_ctor_get(x_31, 7); -lean_inc(x_365); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - lean_ctor_release(x_31, 2); - lean_ctor_release(x_31, 3); - lean_ctor_release(x_31, 4); - lean_ctor_release(x_31, 5); - lean_ctor_release(x_31, 6); - lean_ctor_release(x_31, 7); - x_366 = x_31; -} else { - lean_dec_ref(x_31); - x_366 = lean_box(0); -} -x_367 = 0; -if (lean_is_scalar(x_366)) { - x_368 = lean_alloc_ctor(0, 8, 1); -} else { - x_368 = x_366; -} -lean_ctor_set(x_368, 0, x_358); -lean_ctor_set(x_368, 1, x_359); -lean_ctor_set(x_368, 2, x_360); -lean_ctor_set(x_368, 3, x_361); -lean_ctor_set(x_368, 4, x_362); -lean_ctor_set(x_368, 5, x_363); -lean_ctor_set(x_368, 6, x_364); -lean_ctor_set(x_368, 7, x_365); -lean_ctor_set_uint8(x_368, sizeof(void*)*8, x_367); -x_369 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_369, 0, x_368); -lean_ctor_set(x_369, 1, x_355); -lean_ctor_set(x_369, 2, x_356); -lean_ctor_set(x_369, 3, x_357); -x_370 = lean_st_ref_set(x_3, x_369, x_32); -x_371 = lean_ctor_get(x_370, 1); -lean_inc(x_371); -lean_dec(x_370); -lean_inc(x_5); -lean_inc(x_3); -x_372 = lean_apply_5(x_1, x_2, x_3, x_4, x_5, x_371); -if (lean_obj_tag(x_372) == 0) -{ -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_373 = lean_ctor_get(x_372, 0); -lean_inc(x_373); -x_374 = lean_ctor_get(x_372, 1); -lean_inc(x_374); -lean_dec(x_372); -x_375 = lean_st_ref_get(x_5, x_374); -lean_dec(x_5); -x_376 = lean_ctor_get(x_375, 1); -lean_inc(x_376); -lean_dec(x_375); -x_377 = lean_st_ref_take(x_3, x_376); -x_378 = lean_ctor_get(x_377, 0); -lean_inc(x_378); -x_379 = lean_ctor_get(x_378, 0); -lean_inc(x_379); -if (x_26 == 0) -{ -lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* 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; lean_object* x_391; lean_object* x_392; uint8_t 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; -x_380 = lean_ctor_get(x_377, 1); -lean_inc(x_380); -lean_dec(x_377); -x_381 = lean_ctor_get(x_378, 1); -lean_inc(x_381); -x_382 = lean_ctor_get(x_378, 2); -lean_inc(x_382); -x_383 = lean_ctor_get(x_378, 3); -lean_inc(x_383); -if (lean_is_exclusive(x_378)) { - lean_ctor_release(x_378, 0); - lean_ctor_release(x_378, 1); - lean_ctor_release(x_378, 2); - lean_ctor_release(x_378, 3); - x_384 = x_378; -} else { - lean_dec_ref(x_378); - x_384 = lean_box(0); -} -x_385 = lean_ctor_get(x_379, 0); -lean_inc(x_385); -x_386 = lean_ctor_get(x_379, 1); -lean_inc(x_386); -x_387 = lean_ctor_get(x_379, 2); -lean_inc(x_387); -x_388 = lean_ctor_get(x_379, 3); -lean_inc(x_388); -x_389 = lean_ctor_get(x_379, 4); -lean_inc(x_389); -x_390 = lean_ctor_get(x_379, 5); -lean_inc(x_390); -x_391 = lean_ctor_get(x_379, 6); -lean_inc(x_391); -x_392 = lean_ctor_get(x_379, 7); -lean_inc(x_392); -x_393 = lean_ctor_get_uint8(x_379, sizeof(void*)*8); -if (lean_is_exclusive(x_379)) { - lean_ctor_release(x_379, 0); - lean_ctor_release(x_379, 1); - lean_ctor_release(x_379, 2); - lean_ctor_release(x_379, 3); - lean_ctor_release(x_379, 4); - lean_ctor_release(x_379, 5); - lean_ctor_release(x_379, 6); - lean_ctor_release(x_379, 7); - x_394 = x_379; -} else { - lean_dec_ref(x_379); - x_394 = lean_box(0); -} -if (lean_is_scalar(x_394)) { - x_395 = lean_alloc_ctor(0, 8, 1); -} else { - x_395 = x_394; -} -lean_ctor_set(x_395, 0, x_385); -lean_ctor_set(x_395, 1, x_386); -lean_ctor_set(x_395, 2, x_387); -lean_ctor_set(x_395, 3, x_388); -lean_ctor_set(x_395, 4, x_389); -lean_ctor_set(x_395, 5, x_390); -lean_ctor_set(x_395, 6, x_391); -lean_ctor_set(x_395, 7, x_392); -lean_ctor_set_uint8(x_395, sizeof(void*)*8, x_393); -if (lean_is_scalar(x_384)) { - x_396 = lean_alloc_ctor(0, 4, 0); -} else { - x_396 = x_384; -} -lean_ctor_set(x_396, 0, x_395); -lean_ctor_set(x_396, 1, x_381); -lean_ctor_set(x_396, 2, x_382); -lean_ctor_set(x_396, 3, x_383); -x_397 = lean_st_ref_set(x_3, x_396, x_380); -lean_dec(x_3); -x_398 = lean_ctor_get(x_397, 1); -lean_inc(x_398); -if (lean_is_exclusive(x_397)) { - lean_ctor_release(x_397, 0); - lean_ctor_release(x_397, 1); - x_399 = x_397; -} else { - lean_dec_ref(x_397); - x_399 = lean_box(0); -} -x_400 = lean_box(0); -x_401 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_401, 0, x_373); -lean_ctor_set(x_401, 1, x_400); -if (lean_is_scalar(x_399)) { - x_402 = lean_alloc_ctor(0, 2, 0); -} else { - x_402 = x_399; -} -lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_398); -x_7 = x_402; -goto block_19; -} -else -{ -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; uint8_t x_417; 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; -x_403 = lean_ctor_get(x_377, 1); -lean_inc(x_403); -lean_dec(x_377); -x_404 = lean_ctor_get(x_378, 1); -lean_inc(x_404); -x_405 = lean_ctor_get(x_378, 2); -lean_inc(x_405); -x_406 = lean_ctor_get(x_378, 3); -lean_inc(x_406); -if (lean_is_exclusive(x_378)) { - lean_ctor_release(x_378, 0); - lean_ctor_release(x_378, 1); - lean_ctor_release(x_378, 2); - lean_ctor_release(x_378, 3); - x_407 = x_378; -} else { - lean_dec_ref(x_378); - x_407 = lean_box(0); -} -x_408 = lean_ctor_get(x_379, 0); -lean_inc(x_408); -x_409 = lean_ctor_get(x_379, 1); -lean_inc(x_409); -x_410 = lean_ctor_get(x_379, 2); -lean_inc(x_410); -x_411 = lean_ctor_get(x_379, 3); -lean_inc(x_411); -x_412 = lean_ctor_get(x_379, 4); -lean_inc(x_412); -x_413 = lean_ctor_get(x_379, 5); -lean_inc(x_413); -x_414 = lean_ctor_get(x_379, 6); -lean_inc(x_414); -x_415 = lean_ctor_get(x_379, 7); -lean_inc(x_415); -if (lean_is_exclusive(x_379)) { - lean_ctor_release(x_379, 0); - lean_ctor_release(x_379, 1); - lean_ctor_release(x_379, 2); - lean_ctor_release(x_379, 3); - lean_ctor_release(x_379, 4); - lean_ctor_release(x_379, 5); - lean_ctor_release(x_379, 6); - lean_ctor_release(x_379, 7); - x_416 = x_379; -} else { - lean_dec_ref(x_379); - x_416 = lean_box(0); -} -x_417 = 1; -if (lean_is_scalar(x_416)) { - x_418 = lean_alloc_ctor(0, 8, 1); -} else { - x_418 = x_416; -} -lean_ctor_set(x_418, 0, x_408); -lean_ctor_set(x_418, 1, x_409); -lean_ctor_set(x_418, 2, x_410); -lean_ctor_set(x_418, 3, x_411); -lean_ctor_set(x_418, 4, x_412); -lean_ctor_set(x_418, 5, x_413); -lean_ctor_set(x_418, 6, x_414); -lean_ctor_set(x_418, 7, x_415); -lean_ctor_set_uint8(x_418, sizeof(void*)*8, x_417); -if (lean_is_scalar(x_407)) { - x_419 = lean_alloc_ctor(0, 4, 0); -} else { - x_419 = x_407; -} -lean_ctor_set(x_419, 0, x_418); -lean_ctor_set(x_419, 1, x_404); -lean_ctor_set(x_419, 2, x_405); -lean_ctor_set(x_419, 3, x_406); -x_420 = lean_st_ref_set(x_3, x_419, x_403); -lean_dec(x_3); -x_421 = lean_ctor_get(x_420, 1); -lean_inc(x_421); -if (lean_is_exclusive(x_420)) { - lean_ctor_release(x_420, 0); - lean_ctor_release(x_420, 1); - x_422 = x_420; -} else { - lean_dec_ref(x_420); - x_422 = lean_box(0); -} -x_423 = lean_box(0); -x_424 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_424, 0, x_373); -lean_ctor_set(x_424, 1, x_423); -if (lean_is_scalar(x_422)) { - x_425 = lean_alloc_ctor(0, 2, 0); -} else { - x_425 = x_422; -} -lean_ctor_set(x_425, 0, x_424); -lean_ctor_set(x_425, 1, x_421); -x_7 = x_425; -goto block_19; -} -} -else -{ -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; -x_426 = lean_ctor_get(x_372, 0); -lean_inc(x_426); -x_427 = lean_ctor_get(x_372, 1); -lean_inc(x_427); -lean_dec(x_372); -x_428 = lean_st_ref_get(x_5, x_427); -lean_dec(x_5); -x_429 = lean_ctor_get(x_428, 1); -lean_inc(x_429); -lean_dec(x_428); -x_430 = lean_st_ref_take(x_3, x_429); -x_431 = lean_ctor_get(x_430, 0); -lean_inc(x_431); -x_432 = lean_ctor_get(x_431, 0); -lean_inc(x_432); -if (x_26 == 0) -{ -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; uint8_t x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; -x_433 = lean_ctor_get(x_430, 1); -lean_inc(x_433); -lean_dec(x_430); -x_434 = lean_ctor_get(x_431, 1); -lean_inc(x_434); -x_435 = lean_ctor_get(x_431, 2); -lean_inc(x_435); -x_436 = lean_ctor_get(x_431, 3); -lean_inc(x_436); -if (lean_is_exclusive(x_431)) { - lean_ctor_release(x_431, 0); - lean_ctor_release(x_431, 1); - lean_ctor_release(x_431, 2); - lean_ctor_release(x_431, 3); - x_437 = x_431; -} else { - lean_dec_ref(x_431); - x_437 = lean_box(0); -} -x_438 = lean_ctor_get(x_432, 0); -lean_inc(x_438); -x_439 = lean_ctor_get(x_432, 1); -lean_inc(x_439); -x_440 = lean_ctor_get(x_432, 2); -lean_inc(x_440); -x_441 = lean_ctor_get(x_432, 3); -lean_inc(x_441); -x_442 = lean_ctor_get(x_432, 4); -lean_inc(x_442); -x_443 = lean_ctor_get(x_432, 5); -lean_inc(x_443); -x_444 = lean_ctor_get(x_432, 6); -lean_inc(x_444); -x_445 = lean_ctor_get(x_432, 7); -lean_inc(x_445); -x_446 = lean_ctor_get_uint8(x_432, sizeof(void*)*8); -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); - lean_ctor_release(x_432, 6); - lean_ctor_release(x_432, 7); - x_447 = x_432; -} else { - lean_dec_ref(x_432); - x_447 = lean_box(0); -} -if (lean_is_scalar(x_447)) { - x_448 = lean_alloc_ctor(0, 8, 1); -} else { - x_448 = x_447; -} -lean_ctor_set(x_448, 0, x_438); -lean_ctor_set(x_448, 1, x_439); -lean_ctor_set(x_448, 2, x_440); -lean_ctor_set(x_448, 3, x_441); -lean_ctor_set(x_448, 4, x_442); -lean_ctor_set(x_448, 5, x_443); -lean_ctor_set(x_448, 6, x_444); -lean_ctor_set(x_448, 7, x_445); -lean_ctor_set_uint8(x_448, sizeof(void*)*8, x_446); -if (lean_is_scalar(x_437)) { - x_449 = lean_alloc_ctor(0, 4, 0); -} else { - x_449 = x_437; -} -lean_ctor_set(x_449, 0, x_448); -lean_ctor_set(x_449, 1, x_434); -lean_ctor_set(x_449, 2, x_435); -lean_ctor_set(x_449, 3, x_436); -x_450 = lean_st_ref_set(x_3, x_449, x_433); -lean_dec(x_3); -x_451 = lean_ctor_get(x_450, 1); -lean_inc(x_451); -if (lean_is_exclusive(x_450)) { - lean_ctor_release(x_450, 0); - lean_ctor_release(x_450, 1); - x_452 = x_450; -} else { - lean_dec_ref(x_450); - x_452 = lean_box(0); -} -if (lean_is_scalar(x_452)) { - x_453 = lean_alloc_ctor(1, 2, 0); -} else { - x_453 = x_452; - lean_ctor_set_tag(x_453, 1); -} -lean_ctor_set(x_453, 0, x_426); -lean_ctor_set(x_453, 1, x_451); -x_7 = x_453; -goto block_19; -} -else -{ -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; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; uint8_t x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; -x_454 = lean_ctor_get(x_430, 1); -lean_inc(x_454); -lean_dec(x_430); -x_455 = lean_ctor_get(x_431, 1); -lean_inc(x_455); -x_456 = lean_ctor_get(x_431, 2); -lean_inc(x_456); -x_457 = lean_ctor_get(x_431, 3); -lean_inc(x_457); -if (lean_is_exclusive(x_431)) { - lean_ctor_release(x_431, 0); - lean_ctor_release(x_431, 1); - lean_ctor_release(x_431, 2); - lean_ctor_release(x_431, 3); - x_458 = x_431; -} else { - lean_dec_ref(x_431); - x_458 = lean_box(0); -} -x_459 = lean_ctor_get(x_432, 0); -lean_inc(x_459); -x_460 = lean_ctor_get(x_432, 1); -lean_inc(x_460); -x_461 = lean_ctor_get(x_432, 2); -lean_inc(x_461); -x_462 = lean_ctor_get(x_432, 3); -lean_inc(x_462); -x_463 = lean_ctor_get(x_432, 4); -lean_inc(x_463); -x_464 = lean_ctor_get(x_432, 5); -lean_inc(x_464); -x_465 = lean_ctor_get(x_432, 6); -lean_inc(x_465); -x_466 = lean_ctor_get(x_432, 7); -lean_inc(x_466); -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); - lean_ctor_release(x_432, 6); - lean_ctor_release(x_432, 7); - x_467 = x_432; -} else { - lean_dec_ref(x_432); - x_467 = lean_box(0); -} -x_468 = 1; -if (lean_is_scalar(x_467)) { - x_469 = lean_alloc_ctor(0, 8, 1); -} else { - x_469 = x_467; -} -lean_ctor_set(x_469, 0, x_459); -lean_ctor_set(x_469, 1, x_460); -lean_ctor_set(x_469, 2, x_461); -lean_ctor_set(x_469, 3, x_462); -lean_ctor_set(x_469, 4, x_463); -lean_ctor_set(x_469, 5, x_464); -lean_ctor_set(x_469, 6, x_465); -lean_ctor_set(x_469, 7, x_466); -lean_ctor_set_uint8(x_469, sizeof(void*)*8, x_468); -if (lean_is_scalar(x_458)) { - x_470 = lean_alloc_ctor(0, 4, 0); -} else { - x_470 = x_458; -} -lean_ctor_set(x_470, 0, x_469); -lean_ctor_set(x_470, 1, x_455); -lean_ctor_set(x_470, 2, x_456); -lean_ctor_set(x_470, 3, x_457); -x_471 = lean_st_ref_set(x_3, x_470, x_454); -lean_dec(x_3); -x_472 = lean_ctor_get(x_471, 1); -lean_inc(x_472); -if (lean_is_exclusive(x_471)) { - lean_ctor_release(x_471, 0); - lean_ctor_release(x_471, 1); - x_473 = x_471; -} else { - lean_dec_ref(x_471); - x_473 = lean_box(0); -} -if (lean_is_scalar(x_473)) { - x_474 = lean_alloc_ctor(1, 2, 0); -} else { - x_474 = x_473; - lean_ctor_set_tag(x_474, 1); -} -lean_ctor_set(x_474, 0, x_426); -lean_ctor_set(x_474, 1, x_472); -x_7 = x_474; -goto block_19; -} -} -} -block_19: -{ -if (lean_obj_tag(x_7) == 0) -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -lean_ctor_set(x_7, 0, x_10); -return x_7; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_7, 0); -x_12 = lean_ctor_get(x_7, 1); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_7); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_7); -if (x_15 == 0) -{ -return x_7; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_7, 0); -x_17 = lean_ctor_get(x_7, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_7); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_withResetUsedAssignment(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_withResetUsedAssignment___rarg), 6, 0); -return x_2; -} -} LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -79055,7 +77778,7 @@ lean_dec(x_36); x_37 = !lean_is_exclusive(x_33); if (x_37 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_53; lean_object* x_54; lean_object* x_61; lean_object* x_80; lean_object* x_93; +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_53; lean_object* x_72; lean_object* x_73; lean_object* x_80; x_38 = lean_ctor_get(x_33, 0); lean_dec(x_38); x_39 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__3; @@ -79072,2469 +77795,906 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_2); lean_inc(x_1); -x_93 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_2, x_5, x_6, x_7, x_8, x_41); -if (lean_obj_tag(x_93) == 0) +x_80 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_2, x_5, x_6, x_7, x_8, x_41); +if (lean_obj_tag(x_80) == 0) { -lean_object* x_94; uint8_t x_95; -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_unbox(x_94); -lean_dec(x_94); -switch (x_95) { +lean_object* x_81; uint8_t x_82; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +lean_dec(x_81); +switch (x_82) { case 0: { -lean_object* x_96; uint8_t x_97; +lean_object* x_83; uint8_t x_84; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_96 = lean_ctor_get(x_93, 1); -lean_inc(x_96); -lean_dec(x_93); -x_97 = 0; -x_43 = x_97; -x_44 = x_96; +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +x_84 = 0; +x_43 = x_84; +x_44 = x_83; goto block_52; } case 1: { -lean_object* x_98; uint8_t x_99; +lean_object* x_85; uint8_t x_86; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_98 = lean_ctor_get(x_93, 1); -lean_inc(x_98); -lean_dec(x_93); -x_99 = 1; -x_43 = x_99; -x_44 = x_98; +x_85 = lean_ctor_get(x_80, 1); +lean_inc(x_85); +lean_dec(x_80); +x_86 = 1; +x_43 = x_86; +x_44 = x_85; goto block_52; } default: { -lean_object* x_100; lean_object* x_101; -x_100 = lean_ctor_get(x_93, 1); -lean_inc(x_100); -lean_dec(x_93); +lean_object* x_87; lean_object* x_88; +x_87 = lean_ctor_get(x_80, 1); +lean_inc(x_87); +lean_dec(x_80); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_2); lean_inc(x_1); -x_101 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(x_1, x_2, x_5, x_6, x_7, x_8, x_100); -if (lean_obj_tag(x_101) == 0) +x_88 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(x_1, x_2, x_5, x_6, x_7, x_8, x_87); +if (lean_obj_tag(x_88) == 0) { -lean_object* x_102; uint8_t x_103; -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_unbox(x_102); -lean_dec(x_102); -switch (x_103) { +lean_object* x_89; uint8_t x_90; +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_unbox(x_89); +lean_dec(x_89); +switch (x_90) { case 0: { -lean_object* x_104; uint8_t x_105; +lean_object* x_91; uint8_t x_92; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_104 = lean_ctor_get(x_101, 1); -lean_inc(x_104); -lean_dec(x_101); -x_105 = 0; -x_43 = x_105; -x_44 = x_104; +x_91 = lean_ctor_get(x_88, 1); +lean_inc(x_91); +lean_dec(x_88); +x_92 = 0; +x_43 = x_92; +x_44 = x_91; goto block_52; } case 1: { -lean_object* x_106; uint8_t x_107; +lean_object* x_93; uint8_t x_94; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_106 = lean_ctor_get(x_101, 1); -lean_inc(x_106); -lean_dec(x_101); -x_107 = 1; -x_43 = x_107; -x_44 = x_106; +x_93 = lean_ctor_get(x_88, 1); +lean_inc(x_93); +lean_dec(x_88); +x_94 = 1; +x_43 = x_94; +x_44 = x_93; goto block_52; } default: { -lean_object* x_108; uint8_t x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_101, 1); -lean_inc(x_108); -lean_dec(x_101); -x_109 = 0; +lean_object* x_95; uint8_t x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_88, 1); +lean_inc(x_95); +lean_dec(x_88); +x_96 = 0; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); -x_110 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_109, x_1, x_5, x_6, x_7, x_8, x_108); -if (lean_obj_tag(x_110) == 0) +x_97 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_96, x_1, x_5, x_6, x_7, x_8, x_95); +if (lean_obj_tag(x_97) == 0) { -lean_object* x_111; lean_object* x_112; lean_object* x_113; +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +x_100 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_96, x_2, x_5, x_6, x_7, x_8, x_99); +if (lean_obj_tag(x_100) == 0) +{ +lean_object* x_101; lean_object* x_102; uint8_t x_103; +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +x_103 = lean_expr_eqv(x_1, x_98); +if (x_103 == 0) +{ +lean_object* x_104; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_104 = lean_is_expr_def_eq(x_98, x_101, x_5, x_6, x_7, x_8, x_102); +x_53 = x_104; +goto block_71; +} +else +{ +uint8_t x_105; +x_105 = lean_expr_eqv(x_2, x_101); +if (x_105 == 0) +{ +lean_object* x_106; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_106 = lean_is_expr_def_eq(x_98, x_101, x_5, x_6, x_7, x_8, x_102); +x_53 = x_106; +goto block_71; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_101); +lean_dec(x_98); +x_107 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_1, x_5, x_6, x_7, x_8, x_102); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +lean_dec(x_107); +x_110 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_2, x_5, x_6, x_7, x_8, x_109); x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); x_112 = lean_ctor_get(x_110, 1); lean_inc(x_112); lean_dec(x_110); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_2); -x_113 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_109, x_2, x_5, x_6, x_7, x_8, x_112); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_113 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_112); x_114 = lean_ctor_get(x_113, 0); lean_inc(x_114); x_115 = lean_ctor_get(x_113, 1); lean_inc(x_115); lean_dec(x_113); -x_116 = lean_expr_eqv(x_1, x_111); -if (x_116 == 0) -{ -lean_object* x_117; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_117 = lean_is_expr_def_eq(x_111, x_114, x_5, x_6, x_7, x_8, x_115); -if (lean_obj_tag(x_117) == 0) -{ -lean_object* x_118; lean_object* x_119; uint8_t x_120; +lean_inc(x_111); +lean_inc(x_108); +x_116 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkCacheKey(x_108, x_111); +lean_inc(x_116); +x_117 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult(x_116, x_5, x_6, x_7, x_8, x_115); x_118 = lean_ctor_get(x_117, 0); lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = lean_unbox(x_118); +x_119 = lean_unbox(x_118); lean_dec(x_118); -x_43 = x_120; -x_44 = x_119; -goto block_52; -} -else -{ -lean_object* x_121; lean_object* x_122; -x_121 = lean_ctor_get(x_117, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_117, 1); -lean_inc(x_122); -lean_dec(x_117); -x_53 = x_121; -x_54 = x_122; -goto block_60; -} -} -else -{ -uint8_t x_123; -x_123 = lean_expr_eqv(x_2, x_114); -if (x_123 == 0) -{ -lean_object* x_124; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_124 = lean_is_expr_def_eq(x_111, x_114, x_5, x_6, x_7, x_8, x_115); -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, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = lean_unbox(x_125); -lean_dec(x_125); -x_43 = x_127; -x_44 = x_126; -goto block_52; -} -else -{ -lean_object* x_128; lean_object* x_129; -x_128 = lean_ctor_get(x_124, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_124, 1); -lean_inc(x_129); -lean_dec(x_124); -x_53 = x_128; -x_54 = x_129; -goto block_60; -} -} -else -{ -lean_object* x_130; -lean_dec(x_114); -lean_dec(x_111); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_130 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache(x_5, x_6, x_7, x_8, x_115); -if (lean_obj_tag(x_130) == 0) -{ -lean_object* x_131; uint8_t x_132; -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_unbox(x_131); -lean_dec(x_131); -if (x_132 == 0) -{ -lean_object* x_133; lean_object* x_134; 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; uint8_t x_146; -x_133 = lean_ctor_get(x_130, 1); -lean_inc(x_133); -lean_dec(x_130); -x_134 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_1, x_5, x_6, x_7, x_8, x_133); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_2, x_5, x_6, x_7, x_8, x_136); -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_137, 1); -lean_inc(x_139); -lean_dec(x_137); -x_140 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_139); -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); -lean_dec(x_140); -lean_inc(x_138); -lean_inc(x_135); -x_143 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkCacheKey(x_135, x_138); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_143); -x_144 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult(x_143, x_5, x_6, x_7, x_8, x_142); -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_unbox(x_145); -lean_dec(x_145); -switch (x_146) { +switch (x_119) { case 0: { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; lean_object* x_152; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; -lean_dec(x_143); -lean_dec(x_141); -x_147 = lean_ctor_get(x_144, 1); +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; +lean_dec(x_116); +lean_dec(x_114); +x_120 = lean_ctor_get(x_117, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_121 = x_117; +} else { + lean_dec_ref(x_117); + x_121 = lean_box(0); +} +x_122 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; +x_123 = l_Lean_Name_str___override(x_3, x_122); +x_145 = lean_st_ref_get(x_8, x_120); +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_146, 3); lean_inc(x_147); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_148 = x_144; -} else { - lean_dec_ref(x_144); - x_148 = lean_box(0); -} -x_149 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; -x_150 = l_Lean_Name_str___override(x_3, x_149); -x_172 = lean_st_ref_get(x_8, x_147); -x_173 = lean_ctor_get(x_172, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_173, 3); -lean_inc(x_174); -lean_dec(x_173); -x_175 = lean_ctor_get_uint8(x_174, sizeof(void*)*1); -lean_dec(x_174); -if (x_175 == 0) +lean_dec(x_146); +x_148 = lean_ctor_get_uint8(x_147, sizeof(void*)*1); +lean_dec(x_147); +if (x_148 == 0) { -lean_object* x_176; -x_176 = lean_ctor_get(x_172, 1); -lean_inc(x_176); -lean_dec(x_172); -x_151 = x_109; -x_152 = x_176; -goto block_171; +lean_object* x_149; +x_149 = lean_ctor_get(x_145, 1); +lean_inc(x_149); +lean_dec(x_145); +x_124 = x_96; +x_125 = x_149; +goto block_144; } else { -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; -x_177 = lean_ctor_get(x_172, 1); -lean_inc(x_177); -lean_dec(x_172); +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_150 = lean_ctor_get(x_145, 1); lean_inc(x_150); -x_178 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_150, x_5, x_6, x_7, x_8, x_177); -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); -lean_inc(x_180); -lean_dec(x_178); -x_181 = lean_unbox(x_179); -lean_dec(x_179); -x_151 = x_181; -x_152 = x_180; -goto block_171; +lean_dec(x_145); +lean_inc(x_123); +x_151 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_123, x_5, x_6, x_7, x_8, x_150); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); +x_154 = lean_unbox(x_152); +lean_dec(x_152); +x_124 = x_154; +x_125 = x_153; +goto block_144; } -block_171: +block_144: { -if (x_151 == 0) +if (x_124 == 0) { -lean_object* x_153; lean_object* x_154; -lean_dec(x_150); -lean_dec(x_138); -lean_dec(x_135); -x_153 = lean_box(x_109); -if (lean_is_scalar(x_148)) { - x_154 = lean_alloc_ctor(0, 2, 0); +lean_object* x_126; lean_object* x_127; +lean_dec(x_123); +lean_dec(x_111); +lean_dec(x_108); +x_126 = lean_box(x_96); +if (lean_is_scalar(x_121)) { + x_127 = lean_alloc_ctor(0, 2, 0); } else { - x_154 = x_148; + x_127 = x_121; } -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_152); -x_61 = x_154; -goto block_79; +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_125); +x_53 = x_127; +goto block_71; } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; -lean_dec(x_148); -x_155 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_155, 0, x_135); -x_156 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__6; -x_157 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_155); -x_158 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_159 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set(x_159, 1, x_158); -x_160 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_160, 0, x_138); -x_161 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_161, 0, x_159); -lean_ctor_set(x_161, 1, x_160); -x_162 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_163 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_162); -x_164 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_150, x_163, x_5, x_6, x_7, x_8, x_152); -x_165 = !lean_is_exclusive(x_164); -if (x_165 == 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; uint8_t x_138; +lean_dec(x_121); +x_128 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_128, 0, x_108); +x_129 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__6; +x_130 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_128); +x_131 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_132 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +x_133 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_133, 0, x_111); +x_134 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +x_135 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_136 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +x_137 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_123, x_136, x_5, x_6, x_7, x_8, x_125); +x_138 = !lean_is_exclusive(x_137); +if (x_138 == 0) { -lean_object* x_166; lean_object* x_167; -x_166 = lean_ctor_get(x_164, 0); -lean_dec(x_166); -x_167 = lean_box(x_109); -lean_ctor_set(x_164, 0, x_167); -x_61 = x_164; -goto block_79; +lean_object* x_139; lean_object* x_140; +x_139 = lean_ctor_get(x_137, 0); +lean_dec(x_139); +x_140 = lean_box(x_96); +lean_ctor_set(x_137, 0, x_140); +x_53 = x_137; +goto block_71; } else { -lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_168 = lean_ctor_get(x_164, 1); -lean_inc(x_168); -lean_dec(x_164); -x_169 = lean_box(x_109); -x_170 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_168); -x_61 = x_170; -goto block_79; +lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_141 = lean_ctor_get(x_137, 1); +lean_inc(x_141); +lean_dec(x_137); +x_142 = lean_box(x_96); +x_143 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_141); +x_53 = x_143; +goto block_71; } } } } case 1: { -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; lean_object* x_187; lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; -lean_dec(x_143); -lean_dec(x_141); -x_182 = lean_ctor_get(x_144, 1); -lean_inc(x_182); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_183 = x_144; +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; lean_object* x_160; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; +lean_dec(x_116); +lean_dec(x_114); +x_155 = lean_ctor_get(x_117, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_156 = x_117; } else { - lean_dec_ref(x_144); - x_183 = lean_box(0); + lean_dec_ref(x_117); + x_156 = lean_box(0); } -x_184 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; -x_185 = l_Lean_Name_str___override(x_3, x_184); -x_210 = lean_st_ref_get(x_8, x_182); -x_211 = lean_ctor_get(x_210, 0); -lean_inc(x_211); -x_212 = lean_ctor_get(x_211, 3); -lean_inc(x_212); -lean_dec(x_211); -x_213 = lean_ctor_get_uint8(x_212, sizeof(void*)*1); -lean_dec(x_212); -if (x_213 == 0) -{ -lean_object* x_214; -x_214 = lean_ctor_get(x_210, 1); -lean_inc(x_214); -lean_dec(x_210); -x_186 = x_109; -x_187 = x_214; -goto block_209; -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; uint8_t x_219; -x_215 = lean_ctor_get(x_210, 1); -lean_inc(x_215); -lean_dec(x_210); +x_157 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; +x_158 = l_Lean_Name_str___override(x_3, x_157); +x_183 = lean_st_ref_get(x_8, x_155); +x_184 = lean_ctor_get(x_183, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_184, 3); lean_inc(x_185); -x_216 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_185, x_5, x_6, x_7, x_8, x_215); -x_217 = lean_ctor_get(x_216, 0); -lean_inc(x_217); -x_218 = lean_ctor_get(x_216, 1); -lean_inc(x_218); -lean_dec(x_216); -x_219 = lean_unbox(x_217); -lean_dec(x_217); -x_186 = x_219; -x_187 = x_218; -goto block_209; -} -block_209: -{ +lean_dec(x_184); +x_186 = lean_ctor_get_uint8(x_185, sizeof(void*)*1); +lean_dec(x_185); if (x_186 == 0) { -uint8_t x_188; lean_object* x_189; lean_object* x_190; -lean_dec(x_185); -lean_dec(x_138); -lean_dec(x_135); -x_188 = 1; -x_189 = lean_box(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_187); -x_61 = x_190; -goto block_79; -} -else -{ -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; uint8_t x_201; +lean_object* x_187; +x_187 = lean_ctor_get(x_183, 1); +lean_inc(x_187); lean_dec(x_183); -x_191 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_191, 0, x_135); -x_192 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__8; -x_193 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_191); -x_194 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_195 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_195, 0, x_193); -lean_ctor_set(x_195, 1, x_194); -x_196 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_196, 0, x_138); -x_197 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -x_198 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_199 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_199, 0, x_197); -lean_ctor_set(x_199, 1, x_198); -x_200 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_185, x_199, x_5, x_6, x_7, x_8, x_187); -x_201 = !lean_is_exclusive(x_200); -if (x_201 == 0) -{ -lean_object* x_202; uint8_t x_203; lean_object* x_204; -x_202 = lean_ctor_get(x_200, 0); -lean_dec(x_202); -x_203 = 1; -x_204 = lean_box(x_203); -lean_ctor_set(x_200, 0, x_204); -x_61 = x_200; -goto block_79; +x_159 = x_96; +x_160 = x_187; +goto block_182; } else { -lean_object* x_205; uint8_t x_206; lean_object* x_207; lean_object* x_208; -x_205 = lean_ctor_get(x_200, 1); -lean_inc(x_205); -lean_dec(x_200); -x_206 = 1; -x_207 = lean_box(x_206); -x_208 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set(x_208, 1, x_205); -x_61 = x_208; -goto block_79; +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_188 = lean_ctor_get(x_183, 1); +lean_inc(x_188); +lean_dec(x_183); +lean_inc(x_158); +x_189 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_158, x_5, x_6, x_7, x_8, x_188); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); +lean_inc(x_191); +lean_dec(x_189); +x_192 = lean_unbox(x_190); +lean_dec(x_190); +x_159 = x_192; +x_160 = x_191; +goto block_182; +} +block_182: +{ +if (x_159 == 0) +{ +uint8_t x_161; lean_object* x_162; lean_object* x_163; +lean_dec(x_158); +lean_dec(x_111); +lean_dec(x_108); +x_161 = 1; +x_162 = lean_box(x_161); +if (lean_is_scalar(x_156)) { + x_163 = lean_alloc_ctor(0, 2, 0); +} else { + x_163 = x_156; +} +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_160); +x_53 = x_163; +goto block_71; +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; +lean_dec(x_156); +x_164 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_164, 0, x_108); +x_165 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__8; +x_166 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_164); +x_167 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_168 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set(x_168, 1, x_167); +x_169 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_169, 0, x_111); +x_170 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_170, 0, x_168); +lean_ctor_set(x_170, 1, x_169); +x_171 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_172 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +x_173 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_158, x_172, x_5, x_6, x_7, x_8, x_160); +x_174 = !lean_is_exclusive(x_173); +if (x_174 == 0) +{ +lean_object* x_175; uint8_t x_176; lean_object* x_177; +x_175 = lean_ctor_get(x_173, 0); +lean_dec(x_175); +x_176 = 1; +x_177 = lean_box(x_176); +lean_ctor_set(x_173, 0, x_177); +x_53 = x_173; +goto block_71; +} +else +{ +lean_object* x_178; uint8_t x_179; lean_object* x_180; lean_object* x_181; +x_178 = lean_ctor_get(x_173, 1); +lean_inc(x_178); +lean_dec(x_173); +x_179 = 1; +x_180 = lean_box(x_179); +x_181 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_178); +x_53 = x_181; +goto block_71; } } } } default: { -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; uint8_t x_227; uint8_t x_228; lean_object* x_229; lean_object* x_345; lean_object* x_346; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; uint8_t x_444; -x_220 = lean_ctor_get(x_144, 1); -lean_inc(x_220); -lean_dec(x_144); -x_221 = lean_st_ref_get(x_8, x_220); -x_222 = lean_ctor_get(x_221, 1); +lean_object* x_193; lean_object* x_194; +x_193 = lean_ctor_get(x_117, 1); +lean_inc(x_193); +lean_dec(x_117); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_111); +lean_inc(x_108); +x_194 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(x_108, x_111, x_5, x_6, x_7, x_8, x_193); +if (lean_obj_tag(x_194) == 0) +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; +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 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_196); +x_198 = !lean_is_exclusive(x_197); +if (x_198 == 0) +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; +x_199 = lean_ctor_get(x_197, 0); +x_200 = lean_ctor_get(x_197, 1); +lean_inc(x_195); +x_201 = lean_alloc_closure((void*)(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___lambda__1___boxed), 7, 1); +lean_closure_set(x_201, 0, x_195); +x_202 = lean_nat_dec_eq(x_114, x_199); +lean_dec(x_199); +lean_dec(x_114); +if (x_202 == 0) +{ +lean_dec(x_201); +lean_dec(x_116); +lean_dec(x_111); +lean_dec(x_108); +lean_dec(x_3); +lean_ctor_set(x_197, 0, x_195); +x_53 = x_197; +goto block_71; +} +else +{ +lean_object* x_203; lean_object* x_204; uint8_t x_205; lean_object* x_206; lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; +lean_free_object(x_197); +x_203 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; +x_204 = l_Lean_Name_str___override(x_3, x_203); +x_238 = lean_st_ref_get(x_8, x_200); +x_239 = lean_ctor_get(x_238, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_239, 3); +lean_inc(x_240); +lean_dec(x_239); +x_241 = lean_ctor_get_uint8(x_240, sizeof(void*)*1); +lean_dec(x_240); +if (x_241 == 0) +{ +lean_object* x_242; +x_242 = lean_ctor_get(x_238, 1); +lean_inc(x_242); +lean_dec(x_238); +x_205 = x_96; +x_206 = x_242; +goto block_237; +} +else +{ +lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; uint8_t x_247; +x_243 = lean_ctor_get(x_238, 1); +lean_inc(x_243); +lean_dec(x_238); +lean_inc(x_204); +x_244 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_204, x_5, x_6, x_7, x_8, x_243); +x_245 = lean_ctor_get(x_244, 0); +lean_inc(x_245); +x_246 = lean_ctor_get(x_244, 1); +lean_inc(x_246); +lean_dec(x_244); +x_247 = lean_unbox(x_245); +lean_dec(x_245); +x_205 = x_247; +x_206 = x_246; +goto block_237; +} +block_237: +{ +if (x_205 == 0) +{ +lean_object* x_207; uint8_t x_208; lean_object* x_209; +lean_dec(x_204); +lean_dec(x_111); +lean_dec(x_108); +x_207 = lean_box(0); +x_208 = lean_unbox(x_195); +lean_dec(x_195); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_209 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_116, x_208, x_201, x_207, x_5, x_6, x_7, x_8, x_206); +x_53 = x_209; +goto block_71; +} +else +{ +lean_object* x_210; lean_object* x_211; uint8_t x_212; +x_210 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_210, 0, x_108); +x_211 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_211, 0, x_111); +x_212 = lean_unbox(x_195); +if (x_212 == 0) +{ +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_object* x_221; lean_object* x_222; uint8_t x_223; lean_object* x_224; +x_213 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__17; +x_214 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_210); +x_215 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_216 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_216, 0, x_214); +lean_ctor_set(x_216, 1, x_215); +x_217 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_217, 0, x_216); +lean_ctor_set(x_217, 1, x_211); +x_218 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_219 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_219, 0, x_217); +lean_ctor_set(x_219, 1, x_218); +x_220 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_204, x_219, x_5, x_6, x_7, x_8, x_206); +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 = lean_unbox(x_195); +lean_dec(x_195); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_224 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_116, x_223, x_201, x_221, x_5, x_6, x_7, x_8, x_222); lean_dec(x_221); -x_223 = lean_st_ref_get(x_6, x_222); -x_224 = lean_ctor_get(x_223, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_223, 1); -lean_inc(x_225); -lean_dec(x_223); -x_226 = lean_ctor_get(x_224, 0); -lean_inc(x_226); -lean_dec(x_224); -x_227 = lean_ctor_get_uint8(x_226, sizeof(void*)*8); -lean_dec(x_226); -x_438 = lean_st_ref_get(x_8, x_225); -x_439 = lean_ctor_get(x_438, 1); -lean_inc(x_439); -lean_dec(x_438); -x_440 = lean_st_ref_take(x_6, x_439); -x_441 = lean_ctor_get(x_440, 0); -lean_inc(x_441); -x_442 = lean_ctor_get(x_441, 0); -lean_inc(x_442); -x_443 = lean_ctor_get(x_440, 1); -lean_inc(x_443); -lean_dec(x_440); -x_444 = !lean_is_exclusive(x_441); -if (x_444 == 0) -{ -lean_object* x_445; uint8_t x_446; -x_445 = lean_ctor_get(x_441, 0); -lean_dec(x_445); -x_446 = !lean_is_exclusive(x_442); -if (x_446 == 0) -{ -lean_object* x_447; lean_object* x_448; lean_object* x_449; -lean_ctor_set_uint8(x_442, sizeof(void*)*8, x_109); -x_447 = lean_st_ref_set(x_6, x_441, x_443); -x_448 = lean_ctor_get(x_447, 1); -lean_inc(x_448); -lean_dec(x_447); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_138); -lean_inc(x_135); -x_449 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(x_135, x_138, x_5, x_6, x_7, x_8, x_448); -if (lean_obj_tag(x_449) == 0) -{ -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; uint8_t x_462; -x_450 = lean_ctor_get(x_449, 0); -lean_inc(x_450); -x_451 = lean_ctor_get(x_449, 1); -lean_inc(x_451); -lean_dec(x_449); -x_452 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_451); -x_453 = lean_ctor_get(x_452, 0); -lean_inc(x_453); -x_454 = lean_ctor_get(x_452, 1); -lean_inc(x_454); -lean_dec(x_452); -x_455 = lean_st_ref_get(x_8, x_454); -x_456 = lean_ctor_get(x_455, 1); -lean_inc(x_456); -lean_dec(x_455); -x_457 = lean_st_ref_get(x_6, x_456); -x_458 = lean_ctor_get(x_457, 0); -lean_inc(x_458); -x_459 = lean_ctor_get(x_457, 1); -lean_inc(x_459); -lean_dec(x_457); -x_460 = lean_ctor_get(x_458, 0); -lean_inc(x_460); -lean_dec(x_458); -lean_inc(x_450); -x_461 = lean_alloc_closure((void*)(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___lambda__1___boxed), 7, 1); -lean_closure_set(x_461, 0, x_450); -x_462 = lean_nat_dec_eq(x_141, x_453); -lean_dec(x_453); -lean_dec(x_141); -if (x_462 == 0) -{ -uint8_t x_463; -lean_dec(x_461); -lean_dec(x_460); -lean_dec(x_143); -lean_dec(x_138); -lean_dec(x_135); -lean_dec(x_3); -x_463 = lean_unbox(x_450); -lean_dec(x_450); -x_228 = x_463; -x_229 = x_459; -goto block_344; +x_53 = x_224; +goto block_71; } else { -uint8_t x_464; -x_464 = lean_ctor_get_uint8(x_460, sizeof(void*)*8); -lean_dec(x_460); -if (x_464 == 0) -{ -lean_object* x_465; lean_object* x_466; uint8_t x_467; lean_object* x_468; lean_object* x_515; lean_object* x_516; lean_object* x_517; uint8_t x_518; -x_465 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; -x_466 = l_Lean_Name_str___override(x_3, x_465); -x_515 = lean_st_ref_get(x_8, x_459); -x_516 = lean_ctor_get(x_515, 0); -lean_inc(x_516); -x_517 = lean_ctor_get(x_516, 3); -lean_inc(x_517); -lean_dec(x_516); -x_518 = lean_ctor_get_uint8(x_517, sizeof(void*)*1); -lean_dec(x_517); -if (x_518 == 0) -{ -lean_object* x_519; -x_519 = lean_ctor_get(x_515, 1); -lean_inc(x_519); -lean_dec(x_515); -x_467 = x_109; -x_468 = x_519; -goto block_514; -} -else -{ -lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; uint8_t x_524; -x_520 = lean_ctor_get(x_515, 1); -lean_inc(x_520); -lean_dec(x_515); -lean_inc(x_466); -x_521 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_466, x_5, x_6, x_7, x_8, x_520); -x_522 = lean_ctor_get(x_521, 0); -lean_inc(x_522); -x_523 = lean_ctor_get(x_521, 1); -lean_inc(x_523); -lean_dec(x_521); -x_524 = lean_unbox(x_522); -lean_dec(x_522); -x_467 = x_524; -x_468 = x_523; -goto block_514; -} -block_514: -{ -if (x_467 == 0) -{ -lean_object* x_469; uint8_t x_470; lean_object* x_471; -lean_dec(x_466); -lean_dec(x_138); -lean_dec(x_135); -x_469 = lean_box(0); -x_470 = lean_unbox(x_450); -lean_dec(x_450); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_471 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_143, x_470, x_461, x_469, x_5, x_6, x_7, x_8, x_468); -if (lean_obj_tag(x_471) == 0) -{ -lean_object* x_472; lean_object* x_473; uint8_t x_474; -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_unbox(x_472); -lean_dec(x_472); -x_228 = x_474; -x_229 = x_473; -goto block_344; -} -else -{ -lean_object* x_475; lean_object* x_476; -x_475 = lean_ctor_get(x_471, 0); -lean_inc(x_475); -x_476 = lean_ctor_get(x_471, 1); -lean_inc(x_476); -lean_dec(x_471); -x_345 = x_475; -x_346 = x_476; -goto block_437; -} -} -else -{ -lean_object* x_477; lean_object* x_478; uint8_t x_479; -x_477 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_477, 0, x_135); -x_478 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_478, 0, x_138); -x_479 = lean_unbox(x_450); -if (x_479 == 0) -{ -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; uint8_t x_490; lean_object* x_491; -x_480 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__17; -x_481 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_481, 0, x_480); -lean_ctor_set(x_481, 1, x_477); -x_482 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_483 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_483, 0, x_481); -lean_ctor_set(x_483, 1, x_482); -x_484 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_484, 0, x_483); -lean_ctor_set(x_484, 1, x_478); -x_485 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_486 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_486, 0, x_484); -lean_ctor_set(x_486, 1, x_485); -x_487 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_466, x_486, x_5, x_6, x_7, x_8, x_468); -x_488 = lean_ctor_get(x_487, 0); -lean_inc(x_488); -x_489 = lean_ctor_get(x_487, 1); -lean_inc(x_489); -lean_dec(x_487); -x_490 = lean_unbox(x_450); -lean_dec(x_450); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_491 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_143, x_490, x_461, x_488, x_5, x_6, x_7, x_8, x_489); -lean_dec(x_488); -if (lean_obj_tag(x_491) == 0) -{ -lean_object* x_492; lean_object* x_493; uint8_t x_494; -x_492 = lean_ctor_get(x_491, 0); -lean_inc(x_492); -x_493 = lean_ctor_get(x_491, 1); -lean_inc(x_493); -lean_dec(x_491); -x_494 = lean_unbox(x_492); -lean_dec(x_492); -x_228 = x_494; -x_229 = x_493; -goto block_344; -} -else -{ -lean_object* x_495; lean_object* x_496; -x_495 = lean_ctor_get(x_491, 0); -lean_inc(x_495); -x_496 = lean_ctor_get(x_491, 1); -lean_inc(x_496); -lean_dec(x_491); -x_345 = x_495; -x_346 = x_496; -goto block_437; -} -} -else -{ -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; uint8_t x_507; lean_object* x_508; -x_497 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__22; -x_498 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_498, 0, x_497); -lean_ctor_set(x_498, 1, x_477); -x_499 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_500 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_500, 0, x_498); -lean_ctor_set(x_500, 1, x_499); -x_501 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_501, 0, x_500); -lean_ctor_set(x_501, 1, x_478); -x_502 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_503 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_503, 0, x_501); -lean_ctor_set(x_503, 1, x_502); -x_504 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_466, x_503, x_5, x_6, x_7, x_8, x_468); -x_505 = lean_ctor_get(x_504, 0); -lean_inc(x_505); -x_506 = lean_ctor_get(x_504, 1); -lean_inc(x_506); -lean_dec(x_504); -x_507 = lean_unbox(x_450); -lean_dec(x_450); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_508 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_143, x_507, x_461, x_505, x_5, x_6, x_7, x_8, x_506); -lean_dec(x_505); -if (lean_obj_tag(x_508) == 0) -{ -lean_object* x_509; lean_object* x_510; uint8_t x_511; -x_509 = lean_ctor_get(x_508, 0); -lean_inc(x_509); -x_510 = lean_ctor_get(x_508, 1); -lean_inc(x_510); -lean_dec(x_508); -x_511 = lean_unbox(x_509); -lean_dec(x_509); -x_228 = x_511; -x_229 = x_510; -goto block_344; -} -else -{ -lean_object* x_512; lean_object* x_513; -x_512 = lean_ctor_get(x_508, 0); -lean_inc(x_512); -x_513 = lean_ctor_get(x_508, 1); -lean_inc(x_513); -lean_dec(x_508); -x_345 = x_512; -x_346 = x_513; -goto block_437; -} -} -} -} -} -else -{ -uint8_t x_525; -lean_dec(x_461); -lean_dec(x_143); -lean_dec(x_138); -lean_dec(x_135); -lean_dec(x_3); -x_525 = lean_unbox(x_450); -lean_dec(x_450); -x_228 = x_525; -x_229 = x_459; -goto block_344; -} -} -} -else -{ -lean_object* x_526; lean_object* x_527; -lean_dec(x_143); -lean_dec(x_141); -lean_dec(x_138); -lean_dec(x_135); -lean_dec(x_3); -x_526 = lean_ctor_get(x_449, 0); -lean_inc(x_526); -x_527 = lean_ctor_get(x_449, 1); -lean_inc(x_527); -lean_dec(x_449); -x_345 = x_526; -x_346 = x_527; -goto block_437; -} -} -else -{ -lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; -x_528 = lean_ctor_get(x_442, 0); -x_529 = lean_ctor_get(x_442, 1); -x_530 = lean_ctor_get(x_442, 2); -x_531 = lean_ctor_get(x_442, 3); -x_532 = lean_ctor_get(x_442, 4); -x_533 = lean_ctor_get(x_442, 5); -x_534 = lean_ctor_get(x_442, 6); -x_535 = lean_ctor_get(x_442, 7); -lean_inc(x_535); -lean_inc(x_534); -lean_inc(x_533); -lean_inc(x_532); -lean_inc(x_531); -lean_inc(x_530); -lean_inc(x_529); -lean_inc(x_528); -lean_dec(x_442); -x_536 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_536, 0, x_528); -lean_ctor_set(x_536, 1, x_529); -lean_ctor_set(x_536, 2, x_530); -lean_ctor_set(x_536, 3, x_531); -lean_ctor_set(x_536, 4, x_532); -lean_ctor_set(x_536, 5, x_533); -lean_ctor_set(x_536, 6, x_534); -lean_ctor_set(x_536, 7, x_535); -lean_ctor_set_uint8(x_536, sizeof(void*)*8, x_109); -lean_ctor_set(x_441, 0, x_536); -x_537 = lean_st_ref_set(x_6, x_441, x_443); -x_538 = lean_ctor_get(x_537, 1); -lean_inc(x_538); -lean_dec(x_537); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_138); -lean_inc(x_135); -x_539 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(x_135, x_138, x_5, x_6, x_7, x_8, x_538); -if (lean_obj_tag(x_539) == 0) -{ -lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; uint8_t x_552; -x_540 = lean_ctor_get(x_539, 0); -lean_inc(x_540); -x_541 = lean_ctor_get(x_539, 1); -lean_inc(x_541); -lean_dec(x_539); -x_542 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_541); -x_543 = lean_ctor_get(x_542, 0); -lean_inc(x_543); -x_544 = lean_ctor_get(x_542, 1); -lean_inc(x_544); -lean_dec(x_542); -x_545 = lean_st_ref_get(x_8, x_544); -x_546 = lean_ctor_get(x_545, 1); -lean_inc(x_546); -lean_dec(x_545); -x_547 = lean_st_ref_get(x_6, x_546); -x_548 = lean_ctor_get(x_547, 0); -lean_inc(x_548); -x_549 = lean_ctor_get(x_547, 1); -lean_inc(x_549); -lean_dec(x_547); -x_550 = lean_ctor_get(x_548, 0); -lean_inc(x_550); -lean_dec(x_548); -lean_inc(x_540); -x_551 = lean_alloc_closure((void*)(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___lambda__1___boxed), 7, 1); -lean_closure_set(x_551, 0, x_540); -x_552 = lean_nat_dec_eq(x_141, x_543); -lean_dec(x_543); -lean_dec(x_141); -if (x_552 == 0) -{ -uint8_t x_553; -lean_dec(x_551); -lean_dec(x_550); -lean_dec(x_143); -lean_dec(x_138); -lean_dec(x_135); -lean_dec(x_3); -x_553 = lean_unbox(x_540); -lean_dec(x_540); -x_228 = x_553; -x_229 = x_549; -goto block_344; -} -else -{ -uint8_t x_554; -x_554 = lean_ctor_get_uint8(x_550, sizeof(void*)*8); -lean_dec(x_550); -if (x_554 == 0) -{ -lean_object* x_555; lean_object* x_556; uint8_t x_557; lean_object* x_558; lean_object* x_605; lean_object* x_606; lean_object* x_607; uint8_t x_608; -x_555 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; -x_556 = l_Lean_Name_str___override(x_3, x_555); -x_605 = lean_st_ref_get(x_8, x_549); -x_606 = lean_ctor_get(x_605, 0); -lean_inc(x_606); -x_607 = lean_ctor_get(x_606, 3); -lean_inc(x_607); -lean_dec(x_606); -x_608 = lean_ctor_get_uint8(x_607, sizeof(void*)*1); -lean_dec(x_607); -if (x_608 == 0) -{ -lean_object* x_609; -x_609 = lean_ctor_get(x_605, 1); -lean_inc(x_609); -lean_dec(x_605); -x_557 = x_109; -x_558 = x_609; -goto block_604; -} -else -{ -lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; uint8_t x_614; -x_610 = lean_ctor_get(x_605, 1); -lean_inc(x_610); -lean_dec(x_605); -lean_inc(x_556); -x_611 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_556, x_5, x_6, x_7, x_8, x_610); -x_612 = lean_ctor_get(x_611, 0); -lean_inc(x_612); -x_613 = lean_ctor_get(x_611, 1); -lean_inc(x_613); -lean_dec(x_611); -x_614 = lean_unbox(x_612); -lean_dec(x_612); -x_557 = x_614; -x_558 = x_613; -goto block_604; -} -block_604: -{ -if (x_557 == 0) -{ -lean_object* x_559; uint8_t x_560; lean_object* x_561; -lean_dec(x_556); -lean_dec(x_138); -lean_dec(x_135); -x_559 = lean_box(0); -x_560 = lean_unbox(x_540); -lean_dec(x_540); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_561 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_143, x_560, x_551, x_559, x_5, x_6, x_7, x_8, x_558); -if (lean_obj_tag(x_561) == 0) -{ -lean_object* x_562; lean_object* x_563; uint8_t x_564; -x_562 = lean_ctor_get(x_561, 0); -lean_inc(x_562); -x_563 = lean_ctor_get(x_561, 1); -lean_inc(x_563); -lean_dec(x_561); -x_564 = lean_unbox(x_562); -lean_dec(x_562); -x_228 = x_564; -x_229 = x_563; -goto block_344; -} -else -{ -lean_object* x_565; lean_object* x_566; -x_565 = lean_ctor_get(x_561, 0); -lean_inc(x_565); -x_566 = lean_ctor_get(x_561, 1); -lean_inc(x_566); -lean_dec(x_561); -x_345 = x_565; -x_346 = x_566; -goto block_437; -} -} -else -{ -lean_object* x_567; lean_object* x_568; uint8_t x_569; -x_567 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_567, 0, x_135); -x_568 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_568, 0, x_138); -x_569 = lean_unbox(x_540); -if (x_569 == 0) -{ -lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; uint8_t x_580; lean_object* x_581; -x_570 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__17; -x_571 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_571, 0, x_570); -lean_ctor_set(x_571, 1, x_567); -x_572 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_573 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_573, 0, x_571); -lean_ctor_set(x_573, 1, x_572); -x_574 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_574, 0, x_573); -lean_ctor_set(x_574, 1, x_568); -x_575 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_576 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_576, 0, x_574); -lean_ctor_set(x_576, 1, x_575); -x_577 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_556, x_576, x_5, x_6, x_7, x_8, x_558); -x_578 = lean_ctor_get(x_577, 0); -lean_inc(x_578); -x_579 = lean_ctor_get(x_577, 1); -lean_inc(x_579); -lean_dec(x_577); -x_580 = lean_unbox(x_540); -lean_dec(x_540); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_581 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_143, x_580, x_551, x_578, x_5, x_6, x_7, x_8, x_579); -lean_dec(x_578); -if (lean_obj_tag(x_581) == 0) -{ -lean_object* x_582; lean_object* x_583; uint8_t x_584; -x_582 = lean_ctor_get(x_581, 0); -lean_inc(x_582); -x_583 = lean_ctor_get(x_581, 1); -lean_inc(x_583); -lean_dec(x_581); -x_584 = lean_unbox(x_582); -lean_dec(x_582); -x_228 = x_584; -x_229 = x_583; -goto block_344; -} -else -{ -lean_object* x_585; lean_object* x_586; -x_585 = lean_ctor_get(x_581, 0); -lean_inc(x_585); -x_586 = lean_ctor_get(x_581, 1); -lean_inc(x_586); -lean_dec(x_581); -x_345 = x_585; -x_346 = x_586; -goto block_437; -} -} -else -{ -lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; uint8_t x_597; lean_object* x_598; -x_587 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__22; -x_588 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_588, 0, x_587); -lean_ctor_set(x_588, 1, x_567); -x_589 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_590 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_590, 0, x_588); -lean_ctor_set(x_590, 1, x_589); -x_591 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_591, 0, x_590); -lean_ctor_set(x_591, 1, x_568); -x_592 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_593 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_593, 0, x_591); -lean_ctor_set(x_593, 1, x_592); -x_594 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_556, x_593, x_5, x_6, x_7, x_8, x_558); -x_595 = lean_ctor_get(x_594, 0); -lean_inc(x_595); -x_596 = lean_ctor_get(x_594, 1); -lean_inc(x_596); -lean_dec(x_594); -x_597 = lean_unbox(x_540); -lean_dec(x_540); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_598 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_143, x_597, x_551, x_595, x_5, x_6, x_7, x_8, x_596); -lean_dec(x_595); -if (lean_obj_tag(x_598) == 0) -{ -lean_object* x_599; lean_object* x_600; uint8_t x_601; -x_599 = lean_ctor_get(x_598, 0); -lean_inc(x_599); -x_600 = lean_ctor_get(x_598, 1); -lean_inc(x_600); -lean_dec(x_598); -x_601 = lean_unbox(x_599); -lean_dec(x_599); -x_228 = x_601; -x_229 = x_600; -goto block_344; -} -else -{ -lean_object* x_602; lean_object* x_603; -x_602 = lean_ctor_get(x_598, 0); -lean_inc(x_602); -x_603 = lean_ctor_get(x_598, 1); -lean_inc(x_603); -lean_dec(x_598); -x_345 = x_602; -x_346 = x_603; -goto block_437; -} -} -} -} -} -else -{ -uint8_t x_615; -lean_dec(x_551); -lean_dec(x_143); -lean_dec(x_138); -lean_dec(x_135); -lean_dec(x_3); -x_615 = lean_unbox(x_540); -lean_dec(x_540); -x_228 = x_615; -x_229 = x_549; -goto block_344; -} -} -} -else -{ -lean_object* x_616; lean_object* x_617; -lean_dec(x_143); -lean_dec(x_141); -lean_dec(x_138); -lean_dec(x_135); -lean_dec(x_3); -x_616 = lean_ctor_get(x_539, 0); -lean_inc(x_616); -x_617 = lean_ctor_get(x_539, 1); -lean_inc(x_617); -lean_dec(x_539); -x_345 = x_616; -x_346 = x_617; -goto block_437; -} -} -} -else -{ -lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; -x_618 = lean_ctor_get(x_441, 1); -x_619 = lean_ctor_get(x_441, 2); -x_620 = lean_ctor_get(x_441, 3); -lean_inc(x_620); -lean_inc(x_619); -lean_inc(x_618); -lean_dec(x_441); -x_621 = lean_ctor_get(x_442, 0); -lean_inc(x_621); -x_622 = lean_ctor_get(x_442, 1); -lean_inc(x_622); -x_623 = lean_ctor_get(x_442, 2); -lean_inc(x_623); -x_624 = lean_ctor_get(x_442, 3); -lean_inc(x_624); -x_625 = lean_ctor_get(x_442, 4); -lean_inc(x_625); -x_626 = lean_ctor_get(x_442, 5); -lean_inc(x_626); -x_627 = lean_ctor_get(x_442, 6); -lean_inc(x_627); -x_628 = lean_ctor_get(x_442, 7); -lean_inc(x_628); -if (lean_is_exclusive(x_442)) { - lean_ctor_release(x_442, 0); - lean_ctor_release(x_442, 1); - lean_ctor_release(x_442, 2); - lean_ctor_release(x_442, 3); - lean_ctor_release(x_442, 4); - lean_ctor_release(x_442, 5); - lean_ctor_release(x_442, 6); - lean_ctor_release(x_442, 7); - x_629 = x_442; -} else { - lean_dec_ref(x_442); - x_629 = lean_box(0); -} -if (lean_is_scalar(x_629)) { - x_630 = lean_alloc_ctor(0, 8, 1); -} else { - x_630 = x_629; -} -lean_ctor_set(x_630, 0, x_621); -lean_ctor_set(x_630, 1, x_622); -lean_ctor_set(x_630, 2, x_623); -lean_ctor_set(x_630, 3, x_624); -lean_ctor_set(x_630, 4, x_625); -lean_ctor_set(x_630, 5, x_626); -lean_ctor_set(x_630, 6, x_627); -lean_ctor_set(x_630, 7, x_628); -lean_ctor_set_uint8(x_630, sizeof(void*)*8, x_109); -x_631 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_631, 0, x_630); -lean_ctor_set(x_631, 1, x_618); -lean_ctor_set(x_631, 2, x_619); -lean_ctor_set(x_631, 3, x_620); -x_632 = lean_st_ref_set(x_6, x_631, x_443); -x_633 = lean_ctor_get(x_632, 1); -lean_inc(x_633); -lean_dec(x_632); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_138); -lean_inc(x_135); -x_634 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(x_135, x_138, x_5, x_6, x_7, x_8, x_633); -if (lean_obj_tag(x_634) == 0) -{ -lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; uint8_t x_647; -x_635 = lean_ctor_get(x_634, 0); -lean_inc(x_635); -x_636 = lean_ctor_get(x_634, 1); -lean_inc(x_636); -lean_dec(x_634); -x_637 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_636); -x_638 = lean_ctor_get(x_637, 0); -lean_inc(x_638); -x_639 = lean_ctor_get(x_637, 1); -lean_inc(x_639); -lean_dec(x_637); -x_640 = lean_st_ref_get(x_8, x_639); -x_641 = lean_ctor_get(x_640, 1); -lean_inc(x_641); -lean_dec(x_640); -x_642 = lean_st_ref_get(x_6, x_641); -x_643 = lean_ctor_get(x_642, 0); -lean_inc(x_643); -x_644 = lean_ctor_get(x_642, 1); -lean_inc(x_644); -lean_dec(x_642); -x_645 = lean_ctor_get(x_643, 0); -lean_inc(x_645); -lean_dec(x_643); -lean_inc(x_635); -x_646 = lean_alloc_closure((void*)(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___lambda__1___boxed), 7, 1); -lean_closure_set(x_646, 0, x_635); -x_647 = lean_nat_dec_eq(x_141, x_638); -lean_dec(x_638); -lean_dec(x_141); -if (x_647 == 0) -{ -uint8_t x_648; -lean_dec(x_646); -lean_dec(x_645); -lean_dec(x_143); -lean_dec(x_138); -lean_dec(x_135); -lean_dec(x_3); -x_648 = lean_unbox(x_635); -lean_dec(x_635); -x_228 = x_648; -x_229 = x_644; -goto block_344; -} -else -{ -uint8_t x_649; -x_649 = lean_ctor_get_uint8(x_645, sizeof(void*)*8); -lean_dec(x_645); -if (x_649 == 0) -{ -lean_object* x_650; lean_object* x_651; uint8_t x_652; lean_object* x_653; lean_object* x_700; lean_object* x_701; lean_object* x_702; uint8_t x_703; -x_650 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; -x_651 = l_Lean_Name_str___override(x_3, x_650); -x_700 = lean_st_ref_get(x_8, x_644); -x_701 = lean_ctor_get(x_700, 0); -lean_inc(x_701); -x_702 = lean_ctor_get(x_701, 3); -lean_inc(x_702); -lean_dec(x_701); -x_703 = lean_ctor_get_uint8(x_702, sizeof(void*)*1); -lean_dec(x_702); -if (x_703 == 0) -{ -lean_object* x_704; -x_704 = lean_ctor_get(x_700, 1); -lean_inc(x_704); -lean_dec(x_700); -x_652 = x_109; -x_653 = x_704; -goto block_699; -} -else -{ -lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; uint8_t x_709; -x_705 = lean_ctor_get(x_700, 1); -lean_inc(x_705); -lean_dec(x_700); -lean_inc(x_651); -x_706 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_651, x_5, x_6, x_7, x_8, x_705); -x_707 = lean_ctor_get(x_706, 0); -lean_inc(x_707); -x_708 = lean_ctor_get(x_706, 1); -lean_inc(x_708); -lean_dec(x_706); -x_709 = lean_unbox(x_707); -lean_dec(x_707); -x_652 = x_709; -x_653 = x_708; -goto block_699; -} -block_699: -{ -if (x_652 == 0) -{ -lean_object* x_654; uint8_t x_655; lean_object* x_656; -lean_dec(x_651); -lean_dec(x_138); -lean_dec(x_135); -x_654 = lean_box(0); -x_655 = lean_unbox(x_635); -lean_dec(x_635); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_656 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_143, x_655, x_646, x_654, x_5, x_6, x_7, x_8, x_653); -if (lean_obj_tag(x_656) == 0) -{ -lean_object* x_657; lean_object* x_658; uint8_t x_659; -x_657 = lean_ctor_get(x_656, 0); -lean_inc(x_657); -x_658 = lean_ctor_get(x_656, 1); -lean_inc(x_658); -lean_dec(x_656); -x_659 = lean_unbox(x_657); -lean_dec(x_657); -x_228 = x_659; -x_229 = x_658; -goto block_344; -} -else -{ -lean_object* x_660; lean_object* x_661; -x_660 = lean_ctor_get(x_656, 0); -lean_inc(x_660); -x_661 = lean_ctor_get(x_656, 1); -lean_inc(x_661); -lean_dec(x_656); -x_345 = x_660; -x_346 = x_661; -goto block_437; -} -} -else -{ -lean_object* x_662; lean_object* x_663; uint8_t x_664; -x_662 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_662, 0, x_135); -x_663 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_663, 0, x_138); -x_664 = lean_unbox(x_635); -if (x_664 == 0) -{ -lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; uint8_t x_675; lean_object* x_676; -x_665 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__17; -x_666 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_666, 0, x_665); -lean_ctor_set(x_666, 1, x_662); -x_667 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_668 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_668, 0, x_666); -lean_ctor_set(x_668, 1, x_667); -x_669 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_669, 0, x_668); -lean_ctor_set(x_669, 1, x_663); -x_670 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_671 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_671, 0, x_669); -lean_ctor_set(x_671, 1, x_670); -x_672 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_651, x_671, x_5, x_6, x_7, x_8, x_653); -x_673 = lean_ctor_get(x_672, 0); -lean_inc(x_673); -x_674 = lean_ctor_get(x_672, 1); -lean_inc(x_674); -lean_dec(x_672); -x_675 = lean_unbox(x_635); -lean_dec(x_635); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_676 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_143, x_675, x_646, x_673, x_5, x_6, x_7, x_8, x_674); -lean_dec(x_673); -if (lean_obj_tag(x_676) == 0) -{ -lean_object* x_677; lean_object* x_678; uint8_t x_679; -x_677 = lean_ctor_get(x_676, 0); -lean_inc(x_677); -x_678 = lean_ctor_get(x_676, 1); -lean_inc(x_678); -lean_dec(x_676); -x_679 = lean_unbox(x_677); -lean_dec(x_677); -x_228 = x_679; -x_229 = x_678; -goto block_344; -} -else -{ -lean_object* x_680; lean_object* x_681; -x_680 = lean_ctor_get(x_676, 0); -lean_inc(x_680); -x_681 = lean_ctor_get(x_676, 1); -lean_inc(x_681); -lean_dec(x_676); -x_345 = x_680; -x_346 = x_681; -goto block_437; -} -} -else -{ -lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; uint8_t x_692; lean_object* x_693; -x_682 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__22; -x_683 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_683, 0, x_682); -lean_ctor_set(x_683, 1, x_662); -x_684 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_685 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_685, 0, x_683); -lean_ctor_set(x_685, 1, x_684); -x_686 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_686, 0, x_685); -lean_ctor_set(x_686, 1, x_663); -x_687 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_688 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_688, 0, x_686); -lean_ctor_set(x_688, 1, x_687); -x_689 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_651, x_688, x_5, x_6, x_7, x_8, x_653); -x_690 = lean_ctor_get(x_689, 0); -lean_inc(x_690); -x_691 = lean_ctor_get(x_689, 1); -lean_inc(x_691); -lean_dec(x_689); -x_692 = lean_unbox(x_635); -lean_dec(x_635); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_693 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_143, x_692, x_646, x_690, x_5, x_6, x_7, x_8, x_691); -lean_dec(x_690); -if (lean_obj_tag(x_693) == 0) -{ -lean_object* x_694; lean_object* x_695; uint8_t x_696; -x_694 = lean_ctor_get(x_693, 0); -lean_inc(x_694); -x_695 = lean_ctor_get(x_693, 1); -lean_inc(x_695); -lean_dec(x_693); -x_696 = lean_unbox(x_694); -lean_dec(x_694); -x_228 = x_696; -x_229 = x_695; -goto block_344; -} -else -{ -lean_object* x_697; lean_object* x_698; -x_697 = lean_ctor_get(x_693, 0); -lean_inc(x_697); -x_698 = lean_ctor_get(x_693, 1); -lean_inc(x_698); -lean_dec(x_693); -x_345 = x_697; -x_346 = x_698; -goto block_437; -} -} -} -} -} -else -{ -uint8_t x_710; -lean_dec(x_646); -lean_dec(x_143); -lean_dec(x_138); -lean_dec(x_135); -lean_dec(x_3); -x_710 = lean_unbox(x_635); -lean_dec(x_635); -x_228 = x_710; -x_229 = x_644; -goto block_344; -} -} -} -else -{ -lean_object* x_711; lean_object* x_712; -lean_dec(x_143); -lean_dec(x_141); -lean_dec(x_138); -lean_dec(x_135); -lean_dec(x_3); -x_711 = lean_ctor_get(x_634, 0); -lean_inc(x_711); -x_712 = lean_ctor_get(x_634, 1); -lean_inc(x_712); -lean_dec(x_634); -x_345 = x_711; -x_346 = x_712; -goto block_437; -} -} -block_344: -{ -lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_230 = lean_st_ref_get(x_8, x_229); -x_231 = lean_ctor_get(x_230, 1); -lean_inc(x_231); -lean_dec(x_230); -x_232 = lean_st_ref_take(x_6, x_231); +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; uint8_t x_235; lean_object* x_236; +x_225 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__22; +x_226 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_210); +x_227 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_228 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_228, 0, x_226); +lean_ctor_set(x_228, 1, x_227); +x_229 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_211); +x_230 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_231 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_231, 0, x_229); +lean_ctor_set(x_231, 1, x_230); +x_232 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_204, x_231, x_5, x_6, x_7, x_8, x_206); x_233 = lean_ctor_get(x_232, 0); lean_inc(x_233); -x_234 = lean_ctor_get(x_233, 0); +x_234 = lean_ctor_get(x_232, 1); lean_inc(x_234); -if (x_227 == 0) -{ -lean_object* x_235; uint8_t x_236; -x_235 = lean_ctor_get(x_232, 1); -lean_inc(x_235); lean_dec(x_232); -x_236 = !lean_is_exclusive(x_233); -if (x_236 == 0) -{ -lean_object* x_237; uint8_t x_238; -x_237 = lean_ctor_get(x_233, 0); -lean_dec(x_237); -x_238 = !lean_is_exclusive(x_234); -if (x_238 == 0) -{ -lean_object* x_239; uint8_t x_240; -x_239 = lean_st_ref_set(x_6, x_233, x_235); -x_240 = !lean_is_exclusive(x_239); -if (x_240 == 0) -{ -lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; -x_241 = lean_ctor_get(x_239, 0); -lean_dec(x_241); -x_242 = lean_box(0); -x_243 = lean_box(x_228); -x_244 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_244, 0, x_243); -lean_ctor_set(x_244, 1, x_242); -lean_ctor_set(x_239, 0, x_244); -x_80 = x_239; -goto block_92; -} -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_239, 1); -lean_inc(x_245); -lean_dec(x_239); -x_246 = lean_box(0); -x_247 = lean_box(x_228); -x_248 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_248, 0, x_247); -lean_ctor_set(x_248, 1, x_246); -x_249 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_245); -x_80 = x_249; -goto block_92; -} -} -else -{ -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; uint8_t 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; -x_250 = lean_ctor_get(x_234, 0); -x_251 = lean_ctor_get(x_234, 1); -x_252 = lean_ctor_get(x_234, 2); -x_253 = lean_ctor_get(x_234, 3); -x_254 = lean_ctor_get(x_234, 4); -x_255 = lean_ctor_get(x_234, 5); -x_256 = lean_ctor_get(x_234, 6); -x_257 = lean_ctor_get(x_234, 7); -x_258 = lean_ctor_get_uint8(x_234, sizeof(void*)*8); -lean_inc(x_257); -lean_inc(x_256); -lean_inc(x_255); -lean_inc(x_254); -lean_inc(x_253); -lean_inc(x_252); -lean_inc(x_251); -lean_inc(x_250); -lean_dec(x_234); -x_259 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_259, 0, x_250); -lean_ctor_set(x_259, 1, x_251); -lean_ctor_set(x_259, 2, x_252); -lean_ctor_set(x_259, 3, x_253); -lean_ctor_set(x_259, 4, x_254); -lean_ctor_set(x_259, 5, x_255); -lean_ctor_set(x_259, 6, x_256); -lean_ctor_set(x_259, 7, x_257); -lean_ctor_set_uint8(x_259, sizeof(void*)*8, x_258); -lean_ctor_set(x_233, 0, x_259); -x_260 = lean_st_ref_set(x_6, x_233, x_235); -x_261 = lean_ctor_get(x_260, 1); -lean_inc(x_261); -if (lean_is_exclusive(x_260)) { - lean_ctor_release(x_260, 0); - lean_ctor_release(x_260, 1); - x_262 = x_260; -} else { - lean_dec_ref(x_260); - x_262 = lean_box(0); -} -x_263 = lean_box(0); -x_264 = lean_box(x_228); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_263); -if (lean_is_scalar(x_262)) { - x_266 = lean_alloc_ctor(0, 2, 0); -} else { - x_266 = x_262; -} -lean_ctor_set(x_266, 0, x_265); -lean_ctor_set(x_266, 1, x_261); -x_80 = x_266; -goto block_92; -} -} -else -{ -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; lean_object* x_276; lean_object* x_277; uint8_t 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; -x_267 = lean_ctor_get(x_233, 1); -x_268 = lean_ctor_get(x_233, 2); -x_269 = lean_ctor_get(x_233, 3); -lean_inc(x_269); -lean_inc(x_268); -lean_inc(x_267); -lean_dec(x_233); -x_270 = lean_ctor_get(x_234, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_234, 1); -lean_inc(x_271); -x_272 = lean_ctor_get(x_234, 2); -lean_inc(x_272); -x_273 = lean_ctor_get(x_234, 3); -lean_inc(x_273); -x_274 = lean_ctor_get(x_234, 4); -lean_inc(x_274); -x_275 = lean_ctor_get(x_234, 5); -lean_inc(x_275); -x_276 = lean_ctor_get(x_234, 6); -lean_inc(x_276); -x_277 = lean_ctor_get(x_234, 7); -lean_inc(x_277); -x_278 = lean_ctor_get_uint8(x_234, sizeof(void*)*8); -if (lean_is_exclusive(x_234)) { - lean_ctor_release(x_234, 0); - lean_ctor_release(x_234, 1); - lean_ctor_release(x_234, 2); - lean_ctor_release(x_234, 3); - lean_ctor_release(x_234, 4); - lean_ctor_release(x_234, 5); - lean_ctor_release(x_234, 6); - lean_ctor_release(x_234, 7); - x_279 = x_234; -} else { - lean_dec_ref(x_234); - x_279 = lean_box(0); -} -if (lean_is_scalar(x_279)) { - x_280 = lean_alloc_ctor(0, 8, 1); -} else { - x_280 = x_279; -} -lean_ctor_set(x_280, 0, x_270); -lean_ctor_set(x_280, 1, x_271); -lean_ctor_set(x_280, 2, x_272); -lean_ctor_set(x_280, 3, x_273); -lean_ctor_set(x_280, 4, x_274); -lean_ctor_set(x_280, 5, x_275); -lean_ctor_set(x_280, 6, x_276); -lean_ctor_set(x_280, 7, x_277); -lean_ctor_set_uint8(x_280, sizeof(void*)*8, x_278); -x_281 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_281, 0, x_280); -lean_ctor_set(x_281, 1, x_267); -lean_ctor_set(x_281, 2, x_268); -lean_ctor_set(x_281, 3, x_269); -x_282 = lean_st_ref_set(x_6, x_281, x_235); -x_283 = lean_ctor_get(x_282, 1); -lean_inc(x_283); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - x_284 = x_282; -} else { - lean_dec_ref(x_282); - x_284 = lean_box(0); -} -x_285 = lean_box(0); -x_286 = lean_box(x_228); -x_287 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_285); -if (lean_is_scalar(x_284)) { - x_288 = lean_alloc_ctor(0, 2, 0); -} else { - x_288 = x_284; -} -lean_ctor_set(x_288, 0, x_287); -lean_ctor_set(x_288, 1, x_283); -x_80 = x_288; -goto block_92; -} -} -else -{ -lean_object* x_289; uint8_t x_290; -x_289 = lean_ctor_get(x_232, 1); -lean_inc(x_289); -lean_dec(x_232); -x_290 = !lean_is_exclusive(x_233); -if (x_290 == 0) -{ -lean_object* x_291; uint8_t x_292; -x_291 = lean_ctor_get(x_233, 0); -lean_dec(x_291); -x_292 = !lean_is_exclusive(x_234); -if (x_292 == 0) -{ -uint8_t x_293; lean_object* x_294; uint8_t x_295; -x_293 = 1; -lean_ctor_set_uint8(x_234, sizeof(void*)*8, x_293); -x_294 = lean_st_ref_set(x_6, x_233, x_289); -x_295 = !lean_is_exclusive(x_294); -if (x_295 == 0) -{ -lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; -x_296 = lean_ctor_get(x_294, 0); -lean_dec(x_296); -x_297 = lean_box(0); -x_298 = lean_box(x_228); -x_299 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_299, 0, x_298); -lean_ctor_set(x_299, 1, x_297); -lean_ctor_set(x_294, 0, x_299); -x_80 = x_294; -goto block_92; -} -else -{ -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; -x_300 = lean_ctor_get(x_294, 1); -lean_inc(x_300); -lean_dec(x_294); -x_301 = lean_box(0); -x_302 = lean_box(x_228); -x_303 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_303, 0, x_302); -lean_ctor_set(x_303, 1, x_301); -x_304 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_304, 0, x_303); -lean_ctor_set(x_304, 1, x_300); -x_80 = x_304; -goto block_92; -} -} -else -{ -lean_object* x_305; 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; uint8_t 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; -x_305 = lean_ctor_get(x_234, 0); -x_306 = lean_ctor_get(x_234, 1); -x_307 = lean_ctor_get(x_234, 2); -x_308 = lean_ctor_get(x_234, 3); -x_309 = lean_ctor_get(x_234, 4); -x_310 = lean_ctor_get(x_234, 5); -x_311 = lean_ctor_get(x_234, 6); -x_312 = lean_ctor_get(x_234, 7); -lean_inc(x_312); -lean_inc(x_311); -lean_inc(x_310); -lean_inc(x_309); -lean_inc(x_308); -lean_inc(x_307); -lean_inc(x_306); -lean_inc(x_305); -lean_dec(x_234); -x_313 = 1; -x_314 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_314, 0, x_305); -lean_ctor_set(x_314, 1, x_306); -lean_ctor_set(x_314, 2, x_307); -lean_ctor_set(x_314, 3, x_308); -lean_ctor_set(x_314, 4, x_309); -lean_ctor_set(x_314, 5, x_310); -lean_ctor_set(x_314, 6, x_311); -lean_ctor_set(x_314, 7, x_312); -lean_ctor_set_uint8(x_314, sizeof(void*)*8, x_313); -lean_ctor_set(x_233, 0, x_314); -x_315 = lean_st_ref_set(x_6, x_233, x_289); -x_316 = lean_ctor_get(x_315, 1); -lean_inc(x_316); -if (lean_is_exclusive(x_315)) { - lean_ctor_release(x_315, 0); - lean_ctor_release(x_315, 1); - x_317 = x_315; -} else { - lean_dec_ref(x_315); - x_317 = lean_box(0); -} -x_318 = lean_box(0); -x_319 = lean_box(x_228); -x_320 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_320, 0, x_319); -lean_ctor_set(x_320, 1, x_318); -if (lean_is_scalar(x_317)) { - x_321 = lean_alloc_ctor(0, 2, 0); -} else { - x_321 = x_317; -} -lean_ctor_set(x_321, 0, x_320); -lean_ctor_set(x_321, 1, x_316); -x_80 = x_321; -goto block_92; -} -} -else -{ -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_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; uint8_t 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; lean_object* x_343; -x_322 = lean_ctor_get(x_233, 1); -x_323 = lean_ctor_get(x_233, 2); -x_324 = lean_ctor_get(x_233, 3); -lean_inc(x_324); -lean_inc(x_323); -lean_inc(x_322); -lean_dec(x_233); -x_325 = lean_ctor_get(x_234, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_234, 1); -lean_inc(x_326); -x_327 = lean_ctor_get(x_234, 2); -lean_inc(x_327); -x_328 = lean_ctor_get(x_234, 3); -lean_inc(x_328); -x_329 = lean_ctor_get(x_234, 4); -lean_inc(x_329); -x_330 = lean_ctor_get(x_234, 5); -lean_inc(x_330); -x_331 = lean_ctor_get(x_234, 6); -lean_inc(x_331); -x_332 = lean_ctor_get(x_234, 7); -lean_inc(x_332); -if (lean_is_exclusive(x_234)) { - lean_ctor_release(x_234, 0); - lean_ctor_release(x_234, 1); - lean_ctor_release(x_234, 2); - lean_ctor_release(x_234, 3); - lean_ctor_release(x_234, 4); - lean_ctor_release(x_234, 5); - lean_ctor_release(x_234, 6); - lean_ctor_release(x_234, 7); - x_333 = x_234; -} else { - lean_dec_ref(x_234); - x_333 = lean_box(0); -} -x_334 = 1; -if (lean_is_scalar(x_333)) { - x_335 = lean_alloc_ctor(0, 8, 1); -} else { - x_335 = x_333; -} -lean_ctor_set(x_335, 0, x_325); -lean_ctor_set(x_335, 1, x_326); -lean_ctor_set(x_335, 2, x_327); -lean_ctor_set(x_335, 3, x_328); -lean_ctor_set(x_335, 4, x_329); -lean_ctor_set(x_335, 5, x_330); -lean_ctor_set(x_335, 6, x_331); -lean_ctor_set(x_335, 7, x_332); -lean_ctor_set_uint8(x_335, sizeof(void*)*8, x_334); -x_336 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_336, 0, x_335); -lean_ctor_set(x_336, 1, x_322); -lean_ctor_set(x_336, 2, x_323); -lean_ctor_set(x_336, 3, x_324); -x_337 = lean_st_ref_set(x_6, x_336, x_289); -x_338 = lean_ctor_get(x_337, 1); -lean_inc(x_338); -if (lean_is_exclusive(x_337)) { - lean_ctor_release(x_337, 0); - lean_ctor_release(x_337, 1); - x_339 = x_337; -} else { - lean_dec_ref(x_337); - x_339 = lean_box(0); -} -x_340 = lean_box(0); -x_341 = lean_box(x_228); -x_342 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_342, 0, x_341); -lean_ctor_set(x_342, 1, x_340); -if (lean_is_scalar(x_339)) { - x_343 = lean_alloc_ctor(0, 2, 0); -} else { - x_343 = x_339; -} -lean_ctor_set(x_343, 0, x_342); -lean_ctor_set(x_343, 1, x_338); -x_80 = x_343; -goto block_92; -} -} -} -block_437: -{ -lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; -x_347 = lean_st_ref_get(x_8, x_346); -x_348 = lean_ctor_get(x_347, 1); -lean_inc(x_348); -lean_dec(x_347); -x_349 = lean_st_ref_take(x_6, x_348); -x_350 = lean_ctor_get(x_349, 0); -lean_inc(x_350); -x_351 = lean_ctor_get(x_350, 0); -lean_inc(x_351); -if (x_227 == 0) -{ -lean_object* x_352; uint8_t x_353; -x_352 = lean_ctor_get(x_349, 1); -lean_inc(x_352); -lean_dec(x_349); -x_353 = !lean_is_exclusive(x_350); -if (x_353 == 0) -{ -lean_object* x_354; uint8_t x_355; -x_354 = lean_ctor_get(x_350, 0); -lean_dec(x_354); -x_355 = !lean_is_exclusive(x_351); -if (x_355 == 0) -{ -lean_object* x_356; uint8_t x_357; -x_356 = lean_st_ref_set(x_6, x_350, x_352); -x_357 = !lean_is_exclusive(x_356); -if (x_357 == 0) -{ -lean_object* x_358; -x_358 = lean_ctor_get(x_356, 0); -lean_dec(x_358); -lean_ctor_set_tag(x_356, 1); -lean_ctor_set(x_356, 0, x_345); -x_80 = x_356; -goto block_92; -} -else -{ -lean_object* x_359; lean_object* x_360; -x_359 = lean_ctor_get(x_356, 1); -lean_inc(x_359); -lean_dec(x_356); -x_360 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_360, 0, x_345); -lean_ctor_set(x_360, 1, x_359); -x_80 = x_360; -goto block_92; -} -} -else -{ -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; uint8_t x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; -x_361 = lean_ctor_get(x_351, 0); -x_362 = lean_ctor_get(x_351, 1); -x_363 = lean_ctor_get(x_351, 2); -x_364 = lean_ctor_get(x_351, 3); -x_365 = lean_ctor_get(x_351, 4); -x_366 = lean_ctor_get(x_351, 5); -x_367 = lean_ctor_get(x_351, 6); -x_368 = lean_ctor_get(x_351, 7); -x_369 = lean_ctor_get_uint8(x_351, sizeof(void*)*8); -lean_inc(x_368); -lean_inc(x_367); -lean_inc(x_366); -lean_inc(x_365); -lean_inc(x_364); -lean_inc(x_363); -lean_inc(x_362); -lean_inc(x_361); -lean_dec(x_351); -x_370 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_370, 0, x_361); -lean_ctor_set(x_370, 1, x_362); -lean_ctor_set(x_370, 2, x_363); -lean_ctor_set(x_370, 3, x_364); -lean_ctor_set(x_370, 4, x_365); -lean_ctor_set(x_370, 5, x_366); -lean_ctor_set(x_370, 6, x_367); -lean_ctor_set(x_370, 7, x_368); -lean_ctor_set_uint8(x_370, sizeof(void*)*8, x_369); -lean_ctor_set(x_350, 0, x_370); -x_371 = lean_st_ref_set(x_6, x_350, x_352); -x_372 = lean_ctor_get(x_371, 1); -lean_inc(x_372); -if (lean_is_exclusive(x_371)) { - lean_ctor_release(x_371, 0); - lean_ctor_release(x_371, 1); - x_373 = x_371; -} else { - lean_dec_ref(x_371); - x_373 = lean_box(0); -} -if (lean_is_scalar(x_373)) { - x_374 = lean_alloc_ctor(1, 2, 0); -} else { - x_374 = x_373; - lean_ctor_set_tag(x_374, 1); -} -lean_ctor_set(x_374, 0, x_345); -lean_ctor_set(x_374, 1, x_372); -x_80 = x_374; -goto block_92; -} -} -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; lean_object* x_383; lean_object* x_384; lean_object* x_385; uint8_t 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; -x_375 = lean_ctor_get(x_350, 1); -x_376 = lean_ctor_get(x_350, 2); -x_377 = lean_ctor_get(x_350, 3); -lean_inc(x_377); -lean_inc(x_376); -lean_inc(x_375); -lean_dec(x_350); -x_378 = lean_ctor_get(x_351, 0); -lean_inc(x_378); -x_379 = lean_ctor_get(x_351, 1); -lean_inc(x_379); -x_380 = lean_ctor_get(x_351, 2); -lean_inc(x_380); -x_381 = lean_ctor_get(x_351, 3); -lean_inc(x_381); -x_382 = lean_ctor_get(x_351, 4); -lean_inc(x_382); -x_383 = lean_ctor_get(x_351, 5); -lean_inc(x_383); -x_384 = lean_ctor_get(x_351, 6); -lean_inc(x_384); -x_385 = lean_ctor_get(x_351, 7); -lean_inc(x_385); -x_386 = lean_ctor_get_uint8(x_351, sizeof(void*)*8); -if (lean_is_exclusive(x_351)) { - lean_ctor_release(x_351, 0); - lean_ctor_release(x_351, 1); - lean_ctor_release(x_351, 2); - lean_ctor_release(x_351, 3); - lean_ctor_release(x_351, 4); - lean_ctor_release(x_351, 5); - lean_ctor_release(x_351, 6); - lean_ctor_release(x_351, 7); - x_387 = x_351; -} else { - lean_dec_ref(x_351); - x_387 = lean_box(0); -} -if (lean_is_scalar(x_387)) { - x_388 = lean_alloc_ctor(0, 8, 1); -} else { - x_388 = x_387; -} -lean_ctor_set(x_388, 0, x_378); -lean_ctor_set(x_388, 1, x_379); -lean_ctor_set(x_388, 2, x_380); -lean_ctor_set(x_388, 3, x_381); -lean_ctor_set(x_388, 4, x_382); -lean_ctor_set(x_388, 5, x_383); -lean_ctor_set(x_388, 6, x_384); -lean_ctor_set(x_388, 7, x_385); -lean_ctor_set_uint8(x_388, sizeof(void*)*8, x_386); -x_389 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_389, 0, x_388); -lean_ctor_set(x_389, 1, x_375); -lean_ctor_set(x_389, 2, x_376); -lean_ctor_set(x_389, 3, x_377); -x_390 = lean_st_ref_set(x_6, x_389, x_352); -x_391 = lean_ctor_get(x_390, 1); -lean_inc(x_391); -if (lean_is_exclusive(x_390)) { - lean_ctor_release(x_390, 0); - lean_ctor_release(x_390, 1); - x_392 = x_390; -} else { - lean_dec_ref(x_390); - x_392 = lean_box(0); -} -if (lean_is_scalar(x_392)) { - x_393 = lean_alloc_ctor(1, 2, 0); -} else { - x_393 = x_392; - lean_ctor_set_tag(x_393, 1); -} -lean_ctor_set(x_393, 0, x_345); -lean_ctor_set(x_393, 1, x_391); -x_80 = x_393; -goto block_92; -} -} -else -{ -lean_object* x_394; uint8_t x_395; -x_394 = lean_ctor_get(x_349, 1); -lean_inc(x_394); -lean_dec(x_349); -x_395 = !lean_is_exclusive(x_350); -if (x_395 == 0) -{ -lean_object* x_396; uint8_t x_397; -x_396 = lean_ctor_get(x_350, 0); -lean_dec(x_396); -x_397 = !lean_is_exclusive(x_351); -if (x_397 == 0) -{ -uint8_t x_398; lean_object* x_399; uint8_t x_400; -x_398 = 1; -lean_ctor_set_uint8(x_351, sizeof(void*)*8, x_398); -x_399 = lean_st_ref_set(x_6, x_350, x_394); -x_400 = !lean_is_exclusive(x_399); -if (x_400 == 0) -{ -lean_object* x_401; -x_401 = lean_ctor_get(x_399, 0); -lean_dec(x_401); -lean_ctor_set_tag(x_399, 1); -lean_ctor_set(x_399, 0, x_345); -x_80 = x_399; -goto block_92; -} -else -{ -lean_object* x_402; lean_object* x_403; -x_402 = lean_ctor_get(x_399, 1); -lean_inc(x_402); -lean_dec(x_399); -x_403 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_403, 0, x_345); -lean_ctor_set(x_403, 1, x_402); -x_80 = x_403; -goto block_92; -} -} -else -{ -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; uint8_t x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; -x_404 = lean_ctor_get(x_351, 0); -x_405 = lean_ctor_get(x_351, 1); -x_406 = lean_ctor_get(x_351, 2); -x_407 = lean_ctor_get(x_351, 3); -x_408 = lean_ctor_get(x_351, 4); -x_409 = lean_ctor_get(x_351, 5); -x_410 = lean_ctor_get(x_351, 6); -x_411 = lean_ctor_get(x_351, 7); -lean_inc(x_411); -lean_inc(x_410); -lean_inc(x_409); -lean_inc(x_408); -lean_inc(x_407); -lean_inc(x_406); -lean_inc(x_405); -lean_inc(x_404); -lean_dec(x_351); -x_412 = 1; -x_413 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_413, 0, x_404); -lean_ctor_set(x_413, 1, x_405); -lean_ctor_set(x_413, 2, x_406); -lean_ctor_set(x_413, 3, x_407); -lean_ctor_set(x_413, 4, x_408); -lean_ctor_set(x_413, 5, x_409); -lean_ctor_set(x_413, 6, x_410); -lean_ctor_set(x_413, 7, x_411); -lean_ctor_set_uint8(x_413, sizeof(void*)*8, x_412); -lean_ctor_set(x_350, 0, x_413); -x_414 = lean_st_ref_set(x_6, x_350, x_394); -x_415 = lean_ctor_get(x_414, 1); -lean_inc(x_415); -if (lean_is_exclusive(x_414)) { - lean_ctor_release(x_414, 0); - lean_ctor_release(x_414, 1); - x_416 = x_414; -} else { - lean_dec_ref(x_414); - 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_tag(x_417, 1); -} -lean_ctor_set(x_417, 0, x_345); -lean_ctor_set(x_417, 1, x_415); -x_80 = x_417; -goto block_92; -} -} -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; lean_object* x_429; uint8_t 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; -x_418 = lean_ctor_get(x_350, 1); -x_419 = lean_ctor_get(x_350, 2); -x_420 = lean_ctor_get(x_350, 3); -lean_inc(x_420); -lean_inc(x_419); -lean_inc(x_418); -lean_dec(x_350); -x_421 = lean_ctor_get(x_351, 0); -lean_inc(x_421); -x_422 = lean_ctor_get(x_351, 1); -lean_inc(x_422); -x_423 = lean_ctor_get(x_351, 2); -lean_inc(x_423); -x_424 = lean_ctor_get(x_351, 3); -lean_inc(x_424); -x_425 = lean_ctor_get(x_351, 4); -lean_inc(x_425); -x_426 = lean_ctor_get(x_351, 5); -lean_inc(x_426); -x_427 = lean_ctor_get(x_351, 6); -lean_inc(x_427); -x_428 = lean_ctor_get(x_351, 7); -lean_inc(x_428); -if (lean_is_exclusive(x_351)) { - lean_ctor_release(x_351, 0); - lean_ctor_release(x_351, 1); - lean_ctor_release(x_351, 2); - lean_ctor_release(x_351, 3); - lean_ctor_release(x_351, 4); - lean_ctor_release(x_351, 5); - lean_ctor_release(x_351, 6); - lean_ctor_release(x_351, 7); - x_429 = x_351; -} else { - lean_dec_ref(x_351); - x_429 = lean_box(0); -} -x_430 = 1; -if (lean_is_scalar(x_429)) { - x_431 = lean_alloc_ctor(0, 8, 1); -} else { - x_431 = x_429; -} -lean_ctor_set(x_431, 0, x_421); -lean_ctor_set(x_431, 1, x_422); -lean_ctor_set(x_431, 2, x_423); -lean_ctor_set(x_431, 3, x_424); -lean_ctor_set(x_431, 4, x_425); -lean_ctor_set(x_431, 5, x_426); -lean_ctor_set(x_431, 6, x_427); -lean_ctor_set(x_431, 7, x_428); -lean_ctor_set_uint8(x_431, sizeof(void*)*8, x_430); -x_432 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_432, 0, x_431); -lean_ctor_set(x_432, 1, x_418); -lean_ctor_set(x_432, 2, x_419); -lean_ctor_set(x_432, 3, x_420); -x_433 = lean_st_ref_set(x_6, x_432, x_394); -x_434 = lean_ctor_get(x_433, 1); -lean_inc(x_434); -if (lean_is_exclusive(x_433)) { - lean_ctor_release(x_433, 0); - lean_ctor_release(x_433, 1); - x_435 = x_433; -} else { - lean_dec_ref(x_433); - x_435 = lean_box(0); -} -if (lean_is_scalar(x_435)) { - x_436 = lean_alloc_ctor(1, 2, 0); -} else { - x_436 = x_435; - lean_ctor_set_tag(x_436, 1); -} -lean_ctor_set(x_436, 0, x_345); -lean_ctor_set(x_436, 1, x_434); -x_80 = x_436; -goto block_92; -} -} -} -} -} -} -else -{ -lean_object* x_713; lean_object* x_714; -lean_dec(x_3); -x_713 = lean_ctor_get(x_130, 1); -lean_inc(x_713); -lean_dec(x_130); +x_235 = lean_unbox(x_195); +lean_dec(x_195); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_714 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(x_1, x_2, x_5, x_6, x_7, x_8, x_713); -x_61 = x_714; +x_236 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_116, x_235, x_201, x_233, x_5, x_6, x_7, x_8, x_234); +lean_dec(x_233); +x_53 = x_236; +goto block_71; +} +} +} +} +} +else +{ +lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; +x_248 = lean_ctor_get(x_197, 0); +x_249 = lean_ctor_get(x_197, 1); +lean_inc(x_249); +lean_inc(x_248); +lean_dec(x_197); +lean_inc(x_195); +x_250 = lean_alloc_closure((void*)(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___lambda__1___boxed), 7, 1); +lean_closure_set(x_250, 0, x_195); +x_251 = lean_nat_dec_eq(x_114, x_248); +lean_dec(x_248); +lean_dec(x_114); +if (x_251 == 0) +{ +lean_object* x_252; +lean_dec(x_250); +lean_dec(x_116); +lean_dec(x_111); +lean_dec(x_108); +lean_dec(x_3); +x_252 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_252, 0, x_195); +lean_ctor_set(x_252, 1, x_249); +x_53 = x_252; +goto block_71; +} +else +{ +lean_object* x_253; lean_object* x_254; uint8_t x_255; lean_object* x_256; lean_object* x_288; lean_object* x_289; lean_object* x_290; uint8_t x_291; +x_253 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; +x_254 = l_Lean_Name_str___override(x_3, x_253); +x_288 = lean_st_ref_get(x_8, x_249); +x_289 = lean_ctor_get(x_288, 0); +lean_inc(x_289); +x_290 = lean_ctor_get(x_289, 3); +lean_inc(x_290); +lean_dec(x_289); +x_291 = lean_ctor_get_uint8(x_290, sizeof(void*)*1); +lean_dec(x_290); +if (x_291 == 0) +{ +lean_object* x_292; +x_292 = lean_ctor_get(x_288, 1); +lean_inc(x_292); +lean_dec(x_288); +x_255 = x_96; +x_256 = x_292; +goto block_287; +} +else +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; +x_293 = lean_ctor_get(x_288, 1); +lean_inc(x_293); +lean_dec(x_288); +lean_inc(x_254); +x_294 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_254, x_5, x_6, x_7, x_8, x_293); +x_295 = lean_ctor_get(x_294, 0); +lean_inc(x_295); +x_296 = lean_ctor_get(x_294, 1); +lean_inc(x_296); +lean_dec(x_294); +x_297 = lean_unbox(x_295); +lean_dec(x_295); +x_255 = x_297; +x_256 = x_296; +goto block_287; +} +block_287: +{ +if (x_255 == 0) +{ +lean_object* x_257; uint8_t x_258; lean_object* x_259; +lean_dec(x_254); +lean_dec(x_111); +lean_dec(x_108); +x_257 = lean_box(0); +x_258 = lean_unbox(x_195); +lean_dec(x_195); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_259 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_116, x_258, x_250, x_257, x_5, x_6, x_7, x_8, x_256); +x_53 = x_259; +goto block_71; +} +else +{ +lean_object* x_260; lean_object* x_261; uint8_t x_262; +x_260 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_260, 0, x_108); +x_261 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_261, 0, x_111); +x_262 = lean_unbox(x_195); +if (x_262 == 0) +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; lean_object* x_274; +x_263 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__17; +x_264 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_260); +x_265 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_266 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_266, 0, x_264); +lean_ctor_set(x_266, 1, x_265); +x_267 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_261); +x_268 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_269 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_269, 0, x_267); +lean_ctor_set(x_269, 1, x_268); +x_270 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_254, x_269, x_5, x_6, x_7, x_8, x_256); +x_271 = lean_ctor_get(x_270, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_270, 1); +lean_inc(x_272); +lean_dec(x_270); +x_273 = lean_unbox(x_195); +lean_dec(x_195); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_274 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_116, x_273, x_250, x_271, x_5, x_6, x_7, x_8, x_272); +lean_dec(x_271); +x_53 = x_274; +goto block_71; +} +else +{ +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; uint8_t x_285; lean_object* x_286; +x_275 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__22; +x_276 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_276, 0, x_275); +lean_ctor_set(x_276, 1, x_260); +x_277 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_278 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_278, 0, x_276); +lean_ctor_set(x_278, 1, x_277); +x_279 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_279, 0, x_278); +lean_ctor_set(x_279, 1, x_261); +x_280 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_281 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_281, 0, x_279); +lean_ctor_set(x_281, 1, x_280); +x_282 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_254, x_281, x_5, x_6, x_7, x_8, x_256); +x_283 = lean_ctor_get(x_282, 0); +lean_inc(x_283); +x_284 = lean_ctor_get(x_282, 1); +lean_inc(x_284); +lean_dec(x_282); +x_285 = lean_unbox(x_195); +lean_dec(x_195); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_286 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_116, x_285, x_250, x_283, x_5, x_6, x_7, x_8, x_284); +lean_dec(x_283); +x_53 = x_286; +goto block_71; +} +} +} +} +} +} +else +{ +uint8_t x_298; +lean_dec(x_116); +lean_dec(x_114); +lean_dec(x_111); +lean_dec(x_108); +lean_dec(x_3); +x_298 = !lean_is_exclusive(x_194); +if (x_298 == 0) +{ +x_53 = x_194; +goto block_71; +} +else +{ +lean_object* x_299; lean_object* x_300; lean_object* x_301; +x_299 = lean_ctor_get(x_194, 0); +x_300 = lean_ctor_get(x_194, 1); +lean_inc(x_300); +lean_inc(x_299); +lean_dec(x_194); +x_301 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_301, 0, x_299); +lean_ctor_set(x_301, 1, x_300); +x_53 = x_301; +goto block_71; +} +} +} +} +} +} +} +else +{ +lean_object* x_302; lean_object* x_303; +lean_dec(x_98); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_302 = lean_ctor_get(x_100, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_100, 1); +lean_inc(x_303); +lean_dec(x_100); +x_72 = x_302; +x_73 = x_303; goto block_79; } } else { -lean_object* x_715; lean_object* x_716; +lean_object* x_304; lean_object* x_305; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_715 = lean_ctor_get(x_130, 0); -lean_inc(x_715); -x_716 = lean_ctor_get(x_130, 1); -lean_inc(x_716); -lean_dec(x_130); -x_53 = x_715; -x_54 = x_716; -goto block_60; +x_304 = lean_ctor_get(x_97, 0); +lean_inc(x_304); +x_305 = lean_ctor_get(x_97, 1); +lean_inc(x_305); +lean_dec(x_97); +x_72 = x_304; +x_73 = x_305; +goto block_79; } } } } else { -lean_object* x_717; lean_object* x_718; -lean_dec(x_111); +lean_object* x_306; lean_object* x_307; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_717 = lean_ctor_get(x_113, 0); -lean_inc(x_717); -x_718 = lean_ctor_get(x_113, 1); -lean_inc(x_718); -lean_dec(x_113); -x_53 = x_717; -x_54 = x_718; -goto block_60; -} -} -else -{ -lean_object* x_719; lean_object* x_720; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_719 = lean_ctor_get(x_110, 0); -lean_inc(x_719); -x_720 = lean_ctor_get(x_110, 1); -lean_inc(x_720); -lean_dec(x_110); -x_53 = x_719; -x_54 = x_720; -goto block_60; +x_306 = lean_ctor_get(x_88, 0); +lean_inc(x_306); +x_307 = lean_ctor_get(x_88, 1); +lean_inc(x_307); +lean_dec(x_88); +x_72 = x_306; +x_73 = x_307; +goto block_79; } } } } else { -lean_object* x_721; lean_object* x_722; +lean_object* x_308; lean_object* x_309; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_721 = lean_ctor_get(x_101, 0); -lean_inc(x_721); -x_722 = lean_ctor_get(x_101, 1); -lean_inc(x_722); -lean_dec(x_101); -x_53 = x_721; -x_54 = x_722; -goto block_60; -} -} -} -} -else -{ -lean_object* x_723; lean_object* x_724; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_723 = lean_ctor_get(x_93, 0); -lean_inc(x_723); -x_724 = lean_ctor_get(x_93, 1); -lean_inc(x_724); -lean_dec(x_93); -x_53 = x_723; -x_54 = x_724; -goto block_60; +x_308 = lean_ctor_get(x_80, 0); +lean_inc(x_308); +x_309 = lean_ctor_get(x_80, 1); +lean_inc(x_309); +lean_dec(x_80); +x_72 = x_308; +x_73 = x_309; +goto block_79; } block_52: { @@ -81567,89 +78727,92 @@ lean_ctor_set(x_51, 1, x_49); return x_51; } } -block_60: +block_71: { -lean_object* x_55; uint8_t x_56; -x_55 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_42, x_30, x_5, x_6, x_7, x_8, x_54); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_42, x_30, x_5, x_6, x_7, x_8, x_55); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_56 = !lean_is_exclusive(x_55); -if (x_56 == 0) +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) { -lean_object* x_57; -x_57 = lean_ctor_get(x_55, 0); -lean_dec(x_57); -lean_ctor_set_tag(x_55, 1); -lean_ctor_set(x_55, 0, x_53); -return x_55; +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_56, 0); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_54); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_56, 0, x_59); +x_10 = x_56; +goto block_22; } else { -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_55, 1); -lean_inc(x_58); -lean_dec(x_55); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_53); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_56, 0); +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_56); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_54); +lean_ctor_set(x_62, 1, x_60); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +x_10 = x_63; +goto block_22; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_64 = lean_ctor_get(x_53, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_53, 1); +lean_inc(x_65); +lean_dec(x_53); +x_66 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_42, x_30, x_5, x_6, x_7, x_8, x_65); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_67 = !lean_is_exclusive(x_66); +if (x_67 == 0) +{ +lean_object* x_68; +x_68 = lean_ctor_get(x_66, 0); +lean_dec(x_68); +lean_ctor_set_tag(x_66, 1); +lean_ctor_set(x_66, 0, x_64); +x_10 = x_66; +goto block_22; +} +else +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_64); +lean_ctor_set(x_70, 1, x_69); +x_10 = x_70; +goto block_22; +} } } block_79: { -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -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 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_42, x_30, x_5, x_6, x_7, x_8, x_63); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_65 = !lean_is_exclusive(x_64); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_64, 0); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_62); -lean_ctor_set(x_67, 1, x_66); -lean_ctor_set(x_64, 0, x_67); -x_10 = x_64; -goto block_22; -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_68 = lean_ctor_get(x_64, 0); -x_69 = lean_ctor_get(x_64, 1); -lean_inc(x_69); -lean_inc(x_68); -lean_dec(x_64); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_62); -lean_ctor_set(x_70, 1, x_68); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -x_10 = x_71; -goto block_22; -} -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_72 = lean_ctor_get(x_61, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_61, 1); -lean_inc(x_73); -lean_dec(x_61); +lean_object* x_74; uint8_t x_75; x_74 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_42, x_30, x_5, x_6, x_7, x_8, x_73); lean_dec(x_8); lean_dec(x_7); @@ -81663,8 +78826,7 @@ x_76 = lean_ctor_get(x_74, 0); lean_dec(x_76); lean_ctor_set_tag(x_74, 1); lean_ctor_set(x_74, 0, x_72); -x_10 = x_74; -goto block_22; +return x_74; } else { @@ -81675,219 +78837,157 @@ lean_dec(x_74); x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_72); lean_ctor_set(x_78, 1, x_77); -x_10 = x_78; -goto block_22; -} -} -} -block_92: -{ -if (lean_obj_tag(x_80) == 0) -{ -uint8_t x_81; -x_81 = !lean_is_exclusive(x_80); -if (x_81 == 0) -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_80, 0); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -lean_dec(x_82); -lean_ctor_set(x_80, 0, x_83); -x_61 = x_80; -goto block_79; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_84 = lean_ctor_get(x_80, 0); -x_85 = lean_ctor_get(x_80, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_80); -x_86 = lean_ctor_get(x_84, 0); -lean_inc(x_86); -lean_dec(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_61 = x_87; -goto block_79; -} -} -else -{ -uint8_t x_88; -x_88 = !lean_is_exclusive(x_80); -if (x_88 == 0) -{ -x_61 = x_80; -goto block_79; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_80, 0); -x_90 = lean_ctor_get(x_80, 1); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_80); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -x_61 = x_91; -goto block_79; -} +return x_78; } } } else { -uint8_t x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; uint8_t x_731; lean_object* x_732; lean_object* x_739; lean_object* x_740; lean_object* x_746; lean_object* x_762; lean_object* x_773; -x_725 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); +uint8_t x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; uint8_t x_316; lean_object* x_317; lean_object* x_324; lean_object* x_340; lean_object* x_341; lean_object* x_347; +x_310 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); lean_dec(x_33); -x_726 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__3; -x_727 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_727, 0, x_726); -lean_ctor_set_uint8(x_727, sizeof(void*)*1, x_725); -lean_ctor_set(x_32, 3, x_727); -x_728 = lean_st_ref_set(x_8, x_32, x_34); -x_729 = lean_ctor_get(x_728, 1); -lean_inc(x_729); -lean_dec(x_728); -x_730 = lean_ctor_get(x_7, 5); -lean_inc(x_730); +x_311 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__3; +x_312 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_312, 0, x_311); +lean_ctor_set_uint8(x_312, sizeof(void*)*1, x_310); +lean_ctor_set(x_32, 3, x_312); +x_313 = lean_st_ref_set(x_8, x_32, x_34); +x_314 = lean_ctor_get(x_313, 1); +lean_inc(x_314); +lean_dec(x_313); +x_315 = lean_ctor_get(x_7, 5); +lean_inc(x_315); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_2); lean_inc(x_1); -x_773 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_2, x_5, x_6, x_7, x_8, x_729); -if (lean_obj_tag(x_773) == 0) +x_347 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_2, x_5, x_6, x_7, x_8, x_314); +if (lean_obj_tag(x_347) == 0) { -lean_object* x_774; uint8_t x_775; -x_774 = lean_ctor_get(x_773, 0); -lean_inc(x_774); -x_775 = lean_unbox(x_774); -lean_dec(x_774); -switch (x_775) { +lean_object* x_348; uint8_t x_349; +x_348 = lean_ctor_get(x_347, 0); +lean_inc(x_348); +x_349 = lean_unbox(x_348); +lean_dec(x_348); +switch (x_349) { case 0: { -lean_object* x_776; uint8_t x_777; +lean_object* x_350; uint8_t x_351; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_776 = lean_ctor_get(x_773, 1); -lean_inc(x_776); -lean_dec(x_773); -x_777 = 0; -x_731 = x_777; -x_732 = x_776; -goto block_738; +x_350 = lean_ctor_get(x_347, 1); +lean_inc(x_350); +lean_dec(x_347); +x_351 = 0; +x_316 = x_351; +x_317 = x_350; +goto block_323; } case 1: { -lean_object* x_778; uint8_t x_779; +lean_object* x_352; uint8_t x_353; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_778 = lean_ctor_get(x_773, 1); -lean_inc(x_778); -lean_dec(x_773); -x_779 = 1; -x_731 = x_779; -x_732 = x_778; -goto block_738; +x_352 = lean_ctor_get(x_347, 1); +lean_inc(x_352); +lean_dec(x_347); +x_353 = 1; +x_316 = x_353; +x_317 = x_352; +goto block_323; } default: { -lean_object* x_780; lean_object* x_781; -x_780 = lean_ctor_get(x_773, 1); -lean_inc(x_780); -lean_dec(x_773); +lean_object* x_354; lean_object* x_355; +x_354 = lean_ctor_get(x_347, 1); +lean_inc(x_354); +lean_dec(x_347); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_2); lean_inc(x_1); -x_781 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(x_1, x_2, x_5, x_6, x_7, x_8, x_780); -if (lean_obj_tag(x_781) == 0) +x_355 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(x_1, x_2, x_5, x_6, x_7, x_8, x_354); +if (lean_obj_tag(x_355) == 0) { -lean_object* x_782; uint8_t x_783; -x_782 = lean_ctor_get(x_781, 0); -lean_inc(x_782); -x_783 = lean_unbox(x_782); -lean_dec(x_782); -switch (x_783) { +lean_object* x_356; uint8_t x_357; +x_356 = lean_ctor_get(x_355, 0); +lean_inc(x_356); +x_357 = lean_unbox(x_356); +lean_dec(x_356); +switch (x_357) { case 0: { -lean_object* x_784; uint8_t x_785; +lean_object* x_358; uint8_t x_359; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_784 = lean_ctor_get(x_781, 1); -lean_inc(x_784); -lean_dec(x_781); -x_785 = 0; -x_731 = x_785; -x_732 = x_784; -goto block_738; +x_358 = lean_ctor_get(x_355, 1); +lean_inc(x_358); +lean_dec(x_355); +x_359 = 0; +x_316 = x_359; +x_317 = x_358; +goto block_323; } case 1: { -lean_object* x_786; uint8_t x_787; +lean_object* x_360; uint8_t x_361; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_786 = lean_ctor_get(x_781, 1); -lean_inc(x_786); -lean_dec(x_781); -x_787 = 1; -x_731 = x_787; -x_732 = x_786; -goto block_738; +x_360 = lean_ctor_get(x_355, 1); +lean_inc(x_360); +lean_dec(x_355); +x_361 = 1; +x_316 = x_361; +x_317 = x_360; +goto block_323; } default: { -lean_object* x_788; uint8_t x_789; lean_object* x_790; -x_788 = lean_ctor_get(x_781, 1); -lean_inc(x_788); -lean_dec(x_781); -x_789 = 0; +lean_object* x_362; uint8_t x_363; lean_object* x_364; +x_362 = lean_ctor_get(x_355, 1); +lean_inc(x_362); +lean_dec(x_355); +x_363 = 0; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); -x_790 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_789, x_1, x_5, x_6, x_7, x_8, x_788); -if (lean_obj_tag(x_790) == 0) +x_364 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_363, x_1, x_5, x_6, x_7, x_8, x_362); +if (lean_obj_tag(x_364) == 0) { -lean_object* x_791; lean_object* x_792; lean_object* x_793; -x_791 = lean_ctor_get(x_790, 0); -lean_inc(x_791); -x_792 = lean_ctor_get(x_790, 1); -lean_inc(x_792); -lean_dec(x_790); +lean_object* x_365; lean_object* x_366; lean_object* x_367; +x_365 = lean_ctor_get(x_364, 0); +lean_inc(x_365); +x_366 = lean_ctor_get(x_364, 1); +lean_inc(x_366); +lean_dec(x_364); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_2); -x_793 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_789, x_2, x_5, x_6, x_7, x_8, x_792); -if (lean_obj_tag(x_793) == 0) +x_367 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_363, x_2, x_5, x_6, x_7, x_8, x_366); +if (lean_obj_tag(x_367) == 0) { -lean_object* x_794; lean_object* x_795; uint8_t x_796; -x_794 = lean_ctor_get(x_793, 0); -lean_inc(x_794); -x_795 = lean_ctor_get(x_793, 1); -lean_inc(x_795); -lean_dec(x_793); -x_796 = lean_expr_eqv(x_1, x_791); -if (x_796 == 0) +lean_object* x_368; lean_object* x_369; uint8_t x_370; +x_368 = lean_ctor_get(x_367, 0); +lean_inc(x_368); +x_369 = lean_ctor_get(x_367, 1); +lean_inc(x_369); +lean_dec(x_367); +x_370 = lean_expr_eqv(x_1, x_365); +if (x_370 == 0) { -lean_object* x_797; +lean_object* x_371; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -81895,41 +78995,17 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_797 = lean_is_expr_def_eq(x_791, x_794, x_5, x_6, x_7, x_8, x_795); -if (lean_obj_tag(x_797) == 0) -{ -lean_object* x_798; lean_object* x_799; uint8_t x_800; -x_798 = lean_ctor_get(x_797, 0); -lean_inc(x_798); -x_799 = lean_ctor_get(x_797, 1); -lean_inc(x_799); -lean_dec(x_797); -x_800 = lean_unbox(x_798); -lean_dec(x_798); -x_731 = x_800; -x_732 = x_799; -goto block_738; +x_371 = lean_is_expr_def_eq(x_365, x_368, x_5, x_6, x_7, x_8, x_369); +x_324 = x_371; +goto block_339; } else { -lean_object* x_801; lean_object* x_802; -x_801 = lean_ctor_get(x_797, 0); -lean_inc(x_801); -x_802 = lean_ctor_get(x_797, 1); -lean_inc(x_802); -lean_dec(x_797); -x_739 = x_801; -x_740 = x_802; -goto block_745; -} -} -else +uint8_t x_372; +x_372 = lean_expr_eqv(x_2, x_368); +if (x_372 == 0) { -uint8_t x_803; -x_803 = lean_expr_eqv(x_2, x_794); -if (x_803 == 0) -{ -lean_object* x_804; +lean_object* x_373; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -81937,706 +79013,482 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_804 = lean_is_expr_def_eq(x_791, x_794, x_5, x_6, x_7, x_8, x_795); -if (lean_obj_tag(x_804) == 0) -{ -lean_object* x_805; lean_object* x_806; uint8_t x_807; -x_805 = lean_ctor_get(x_804, 0); -lean_inc(x_805); -x_806 = lean_ctor_get(x_804, 1); -lean_inc(x_806); -lean_dec(x_804); -x_807 = lean_unbox(x_805); -lean_dec(x_805); -x_731 = x_807; -x_732 = x_806; -goto block_738; +x_373 = lean_is_expr_def_eq(x_365, x_368, x_5, x_6, x_7, x_8, x_369); +x_324 = x_373; +goto block_339; } else { -lean_object* x_808; lean_object* x_809; -x_808 = lean_ctor_get(x_804, 0); -lean_inc(x_808); -x_809 = lean_ctor_get(x_804, 1); -lean_inc(x_809); -lean_dec(x_804); -x_739 = x_808; -x_740 = x_809; -goto block_745; -} -} -else -{ -lean_object* x_810; -lean_dec(x_794); -lean_dec(x_791); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_810 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache(x_5, x_6, x_7, x_8, x_795); -if (lean_obj_tag(x_810) == 0) -{ -lean_object* x_811; uint8_t x_812; -x_811 = lean_ctor_get(x_810, 0); -lean_inc(x_811); -x_812 = lean_unbox(x_811); -lean_dec(x_811); -if (x_812 == 0) -{ -lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; uint8_t x_826; -x_813 = lean_ctor_get(x_810, 1); -lean_inc(x_813); -lean_dec(x_810); -x_814 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_1, x_5, x_6, x_7, x_8, x_813); -x_815 = lean_ctor_get(x_814, 0); -lean_inc(x_815); -x_816 = lean_ctor_get(x_814, 1); -lean_inc(x_816); -lean_dec(x_814); -x_817 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_2, x_5, x_6, x_7, x_8, x_816); -x_818 = lean_ctor_get(x_817, 0); -lean_inc(x_818); -x_819 = lean_ctor_get(x_817, 1); -lean_inc(x_819); -lean_dec(x_817); -x_820 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_819); -x_821 = lean_ctor_get(x_820, 0); -lean_inc(x_821); -x_822 = lean_ctor_get(x_820, 1); -lean_inc(x_822); -lean_dec(x_820); -lean_inc(x_818); -lean_inc(x_815); -x_823 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkCacheKey(x_815, x_818); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_823); -x_824 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult(x_823, x_5, x_6, x_7, x_8, x_822); -x_825 = lean_ctor_get(x_824, 0); -lean_inc(x_825); -x_826 = lean_unbox(x_825); -lean_dec(x_825); -switch (x_826) { +lean_object* x_374; 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_object* x_384; lean_object* x_385; uint8_t x_386; +lean_dec(x_368); +lean_dec(x_365); +x_374 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_1, x_5, x_6, x_7, x_8, x_369); +x_375 = lean_ctor_get(x_374, 0); +lean_inc(x_375); +x_376 = lean_ctor_get(x_374, 1); +lean_inc(x_376); +lean_dec(x_374); +x_377 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_2, x_5, x_6, x_7, x_8, x_376); +x_378 = lean_ctor_get(x_377, 0); +lean_inc(x_378); +x_379 = lean_ctor_get(x_377, 1); +lean_inc(x_379); +lean_dec(x_377); +x_380 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_379); +x_381 = lean_ctor_get(x_380, 0); +lean_inc(x_381); +x_382 = lean_ctor_get(x_380, 1); +lean_inc(x_382); +lean_dec(x_380); +lean_inc(x_378); +lean_inc(x_375); +x_383 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkCacheKey(x_375, x_378); +lean_inc(x_383); +x_384 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult(x_383, x_5, x_6, x_7, x_8, x_382); +x_385 = lean_ctor_get(x_384, 0); +lean_inc(x_385); +x_386 = lean_unbox(x_385); +lean_dec(x_385); +switch (x_386) { case 0: { -lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; uint8_t x_831; lean_object* x_832; lean_object* x_850; lean_object* x_851; lean_object* x_852; uint8_t x_853; -lean_dec(x_823); -lean_dec(x_821); -x_827 = lean_ctor_get(x_824, 1); -lean_inc(x_827); -if (lean_is_exclusive(x_824)) { - lean_ctor_release(x_824, 0); - lean_ctor_release(x_824, 1); - x_828 = x_824; +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_410; lean_object* x_411; lean_object* x_412; uint8_t x_413; +lean_dec(x_383); +lean_dec(x_381); +x_387 = lean_ctor_get(x_384, 1); +lean_inc(x_387); +if (lean_is_exclusive(x_384)) { + lean_ctor_release(x_384, 0); + lean_ctor_release(x_384, 1); + x_388 = x_384; } else { - lean_dec_ref(x_824); - x_828 = lean_box(0); + lean_dec_ref(x_384); + x_388 = lean_box(0); } -x_829 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; -x_830 = l_Lean_Name_str___override(x_3, x_829); -x_850 = lean_st_ref_get(x_8, x_827); -x_851 = lean_ctor_get(x_850, 0); -lean_inc(x_851); -x_852 = lean_ctor_get(x_851, 3); -lean_inc(x_852); -lean_dec(x_851); -x_853 = lean_ctor_get_uint8(x_852, sizeof(void*)*1); -lean_dec(x_852); -if (x_853 == 0) +x_389 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; +x_390 = l_Lean_Name_str___override(x_3, x_389); +x_410 = lean_st_ref_get(x_8, x_387); +x_411 = lean_ctor_get(x_410, 0); +lean_inc(x_411); +x_412 = lean_ctor_get(x_411, 3); +lean_inc(x_412); +lean_dec(x_411); +x_413 = lean_ctor_get_uint8(x_412, sizeof(void*)*1); +lean_dec(x_412); +if (x_413 == 0) { -lean_object* x_854; -x_854 = lean_ctor_get(x_850, 1); -lean_inc(x_854); -lean_dec(x_850); -x_831 = x_789; -x_832 = x_854; -goto block_849; +lean_object* x_414; +x_414 = lean_ctor_get(x_410, 1); +lean_inc(x_414); +lean_dec(x_410); +x_391 = x_363; +x_392 = x_414; +goto block_409; } else { -lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; uint8_t x_859; -x_855 = lean_ctor_get(x_850, 1); -lean_inc(x_855); -lean_dec(x_850); -lean_inc(x_830); -x_856 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_830, x_5, x_6, x_7, x_8, x_855); -x_857 = lean_ctor_get(x_856, 0); -lean_inc(x_857); -x_858 = lean_ctor_get(x_856, 1); -lean_inc(x_858); -lean_dec(x_856); -x_859 = lean_unbox(x_857); -lean_dec(x_857); -x_831 = x_859; -x_832 = x_858; -goto block_849; +lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; uint8_t x_419; +x_415 = lean_ctor_get(x_410, 1); +lean_inc(x_415); +lean_dec(x_410); +lean_inc(x_390); +x_416 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_390, x_5, x_6, x_7, x_8, x_415); +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_419 = lean_unbox(x_417); +lean_dec(x_417); +x_391 = x_419; +x_392 = x_418; +goto block_409; } -block_849: +block_409: { -if (x_831 == 0) +if (x_391 == 0) { -lean_object* x_833; lean_object* x_834; -lean_dec(x_830); -lean_dec(x_818); -lean_dec(x_815); -x_833 = lean_box(x_789); -if (lean_is_scalar(x_828)) { - x_834 = lean_alloc_ctor(0, 2, 0); +lean_object* x_393; lean_object* x_394; +lean_dec(x_390); +lean_dec(x_378); +lean_dec(x_375); +x_393 = lean_box(x_363); +if (lean_is_scalar(x_388)) { + x_394 = lean_alloc_ctor(0, 2, 0); } else { - x_834 = x_828; + x_394 = x_388; } -lean_ctor_set(x_834, 0, x_833); -lean_ctor_set(x_834, 1, x_832); -x_746 = x_834; -goto block_761; +lean_ctor_set(x_394, 0, x_393); +lean_ctor_set(x_394, 1, x_392); +x_324 = x_394; +goto block_339; } else { -lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; -lean_dec(x_828); -x_835 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_835, 0, x_815); -x_836 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__6; -x_837 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_837, 0, x_836); -lean_ctor_set(x_837, 1, x_835); -x_838 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_839 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_839, 0, x_837); -lean_ctor_set(x_839, 1, x_838); -x_840 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_840, 0, x_818); -x_841 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_841, 0, x_839); -lean_ctor_set(x_841, 1, x_840); -x_842 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_843 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_843, 0, x_841); -lean_ctor_set(x_843, 1, x_842); -x_844 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_830, x_843, x_5, x_6, x_7, x_8, x_832); -x_845 = lean_ctor_get(x_844, 1); -lean_inc(x_845); -if (lean_is_exclusive(x_844)) { - lean_ctor_release(x_844, 0); - lean_ctor_release(x_844, 1); - x_846 = x_844; +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; lean_object* x_408; +lean_dec(x_388); +x_395 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_395, 0, x_375); +x_396 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__6; +x_397 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_397, 0, x_396); +lean_ctor_set(x_397, 1, x_395); +x_398 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_399 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_399, 0, x_397); +lean_ctor_set(x_399, 1, x_398); +x_400 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_400, 0, x_378); +x_401 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_401, 0, x_399); +lean_ctor_set(x_401, 1, x_400); +x_402 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_403 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_403, 0, x_401); +lean_ctor_set(x_403, 1, x_402); +x_404 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_390, x_403, x_5, x_6, x_7, x_8, x_392); +x_405 = lean_ctor_get(x_404, 1); +lean_inc(x_405); +if (lean_is_exclusive(x_404)) { + lean_ctor_release(x_404, 0); + lean_ctor_release(x_404, 1); + x_406 = x_404; } else { - lean_dec_ref(x_844); - x_846 = lean_box(0); + lean_dec_ref(x_404); + x_406 = lean_box(0); } -x_847 = lean_box(x_789); -if (lean_is_scalar(x_846)) { - x_848 = lean_alloc_ctor(0, 2, 0); +x_407 = lean_box(x_363); +if (lean_is_scalar(x_406)) { + x_408 = lean_alloc_ctor(0, 2, 0); } else { - x_848 = x_846; + x_408 = x_406; } -lean_ctor_set(x_848, 0, x_847); -lean_ctor_set(x_848, 1, x_845); -x_746 = x_848; -goto block_761; +lean_ctor_set(x_408, 0, x_407); +lean_ctor_set(x_408, 1, x_405); +x_324 = x_408; +goto block_339; } } } case 1: { -lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; uint8_t x_864; lean_object* x_865; lean_object* x_885; lean_object* x_886; lean_object* x_887; uint8_t x_888; -lean_dec(x_823); -lean_dec(x_821); -x_860 = lean_ctor_get(x_824, 1); -lean_inc(x_860); -if (lean_is_exclusive(x_824)) { - lean_ctor_release(x_824, 0); - lean_ctor_release(x_824, 1); - x_861 = x_824; +lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; uint8_t x_424; lean_object* x_425; lean_object* x_445; lean_object* x_446; lean_object* x_447; uint8_t x_448; +lean_dec(x_383); +lean_dec(x_381); +x_420 = lean_ctor_get(x_384, 1); +lean_inc(x_420); +if (lean_is_exclusive(x_384)) { + lean_ctor_release(x_384, 0); + lean_ctor_release(x_384, 1); + x_421 = x_384; } else { - lean_dec_ref(x_824); - x_861 = lean_box(0); + lean_dec_ref(x_384); + x_421 = lean_box(0); } -x_862 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; -x_863 = l_Lean_Name_str___override(x_3, x_862); -x_885 = lean_st_ref_get(x_8, x_860); -x_886 = lean_ctor_get(x_885, 0); -lean_inc(x_886); -x_887 = lean_ctor_get(x_886, 3); -lean_inc(x_887); -lean_dec(x_886); -x_888 = lean_ctor_get_uint8(x_887, sizeof(void*)*1); -lean_dec(x_887); -if (x_888 == 0) +x_422 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; +x_423 = l_Lean_Name_str___override(x_3, x_422); +x_445 = lean_st_ref_get(x_8, x_420); +x_446 = lean_ctor_get(x_445, 0); +lean_inc(x_446); +x_447 = lean_ctor_get(x_446, 3); +lean_inc(x_447); +lean_dec(x_446); +x_448 = lean_ctor_get_uint8(x_447, sizeof(void*)*1); +lean_dec(x_447); +if (x_448 == 0) { -lean_object* x_889; -x_889 = lean_ctor_get(x_885, 1); -lean_inc(x_889); -lean_dec(x_885); -x_864 = x_789; -x_865 = x_889; -goto block_884; +lean_object* x_449; +x_449 = lean_ctor_get(x_445, 1); +lean_inc(x_449); +lean_dec(x_445); +x_424 = x_363; +x_425 = x_449; +goto block_444; } else { -lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; uint8_t x_894; -x_890 = lean_ctor_get(x_885, 1); -lean_inc(x_890); -lean_dec(x_885); -lean_inc(x_863); -x_891 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_863, x_5, x_6, x_7, x_8, x_890); -x_892 = lean_ctor_get(x_891, 0); -lean_inc(x_892); -x_893 = lean_ctor_get(x_891, 1); -lean_inc(x_893); -lean_dec(x_891); -x_894 = lean_unbox(x_892); -lean_dec(x_892); -x_864 = x_894; -x_865 = x_893; -goto block_884; +lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; uint8_t x_454; +x_450 = lean_ctor_get(x_445, 1); +lean_inc(x_450); +lean_dec(x_445); +lean_inc(x_423); +x_451 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_423, x_5, x_6, x_7, x_8, x_450); +x_452 = lean_ctor_get(x_451, 0); +lean_inc(x_452); +x_453 = lean_ctor_get(x_451, 1); +lean_inc(x_453); +lean_dec(x_451); +x_454 = lean_unbox(x_452); +lean_dec(x_452); +x_424 = x_454; +x_425 = x_453; +goto block_444; } -block_884: +block_444: { -if (x_864 == 0) +if (x_424 == 0) { -uint8_t x_866; lean_object* x_867; lean_object* x_868; -lean_dec(x_863); -lean_dec(x_818); -lean_dec(x_815); -x_866 = 1; -x_867 = lean_box(x_866); -if (lean_is_scalar(x_861)) { - x_868 = lean_alloc_ctor(0, 2, 0); +uint8_t x_426; lean_object* x_427; lean_object* x_428; +lean_dec(x_423); +lean_dec(x_378); +lean_dec(x_375); +x_426 = 1; +x_427 = lean_box(x_426); +if (lean_is_scalar(x_421)) { + x_428 = lean_alloc_ctor(0, 2, 0); } else { - x_868 = x_861; + x_428 = x_421; } -lean_ctor_set(x_868, 0, x_867); -lean_ctor_set(x_868, 1, x_865); -x_746 = x_868; -goto block_761; +lean_ctor_set(x_428, 0, x_427); +lean_ctor_set(x_428, 1, x_425); +x_324 = x_428; +goto block_339; } else { -lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; uint8_t x_881; lean_object* x_882; lean_object* x_883; -lean_dec(x_861); -x_869 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_869, 0, x_815); -x_870 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__8; -x_871 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_871, 0, x_870); -lean_ctor_set(x_871, 1, x_869); -x_872 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_873 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_873, 0, x_871); -lean_ctor_set(x_873, 1, x_872); -x_874 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_874, 0, x_818); -x_875 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_875, 0, x_873); -lean_ctor_set(x_875, 1, x_874); -x_876 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_877 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_877, 0, x_875); -lean_ctor_set(x_877, 1, x_876); -x_878 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_863, x_877, x_5, x_6, x_7, x_8, x_865); -x_879 = lean_ctor_get(x_878, 1); -lean_inc(x_879); -if (lean_is_exclusive(x_878)) { - lean_ctor_release(x_878, 0); - lean_ctor_release(x_878, 1); - x_880 = x_878; +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; lean_object* x_442; lean_object* x_443; +lean_dec(x_421); +x_429 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_429, 0, x_375); +x_430 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__8; +x_431 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_431, 0, x_430); +lean_ctor_set(x_431, 1, x_429); +x_432 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_433 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_433, 0, x_431); +lean_ctor_set(x_433, 1, x_432); +x_434 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_434, 0, x_378); +x_435 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_435, 0, x_433); +lean_ctor_set(x_435, 1, x_434); +x_436 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_437 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_437, 0, x_435); +lean_ctor_set(x_437, 1, x_436); +x_438 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_423, x_437, x_5, x_6, x_7, x_8, x_425); +x_439 = lean_ctor_get(x_438, 1); +lean_inc(x_439); +if (lean_is_exclusive(x_438)) { + lean_ctor_release(x_438, 0); + lean_ctor_release(x_438, 1); + x_440 = x_438; } else { - lean_dec_ref(x_878); - x_880 = lean_box(0); + lean_dec_ref(x_438); + x_440 = lean_box(0); } -x_881 = 1; -x_882 = lean_box(x_881); -if (lean_is_scalar(x_880)) { - x_883 = lean_alloc_ctor(0, 2, 0); +x_441 = 1; +x_442 = lean_box(x_441); +if (lean_is_scalar(x_440)) { + x_443 = lean_alloc_ctor(0, 2, 0); } else { - x_883 = x_880; + x_443 = x_440; } -lean_ctor_set(x_883, 0, x_882); -lean_ctor_set(x_883, 1, x_879); -x_746 = x_883; -goto block_761; +lean_ctor_set(x_443, 0, x_442); +lean_ctor_set(x_443, 1, x_439); +x_324 = x_443; +goto block_339; } } } default: { -lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; uint8_t x_902; uint8_t x_903; lean_object* x_904; lean_object* x_959; lean_object* x_960; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; -x_895 = lean_ctor_get(x_824, 1); -lean_inc(x_895); -lean_dec(x_824); -x_896 = lean_st_ref_get(x_8, x_895); -x_897 = lean_ctor_get(x_896, 1); -lean_inc(x_897); -lean_dec(x_896); -x_898 = lean_st_ref_get(x_6, x_897); -x_899 = lean_ctor_get(x_898, 0); -lean_inc(x_899); -x_900 = lean_ctor_get(x_898, 1); -lean_inc(x_900); -lean_dec(x_898); -x_901 = lean_ctor_get(x_899, 0); -lean_inc(x_901); -lean_dec(x_899); -x_902 = lean_ctor_get_uint8(x_901, sizeof(void*)*8); -lean_dec(x_901); -x_1009 = lean_st_ref_get(x_8, x_900); -x_1010 = lean_ctor_get(x_1009, 1); -lean_inc(x_1010); -lean_dec(x_1009); -x_1011 = lean_st_ref_take(x_6, x_1010); -x_1012 = lean_ctor_get(x_1011, 0); -lean_inc(x_1012); -x_1013 = lean_ctor_get(x_1012, 0); -lean_inc(x_1013); -x_1014 = lean_ctor_get(x_1011, 1); -lean_inc(x_1014); -lean_dec(x_1011); -x_1015 = lean_ctor_get(x_1012, 1); -lean_inc(x_1015); -x_1016 = lean_ctor_get(x_1012, 2); -lean_inc(x_1016); -x_1017 = lean_ctor_get(x_1012, 3); -lean_inc(x_1017); -if (lean_is_exclusive(x_1012)) { - lean_ctor_release(x_1012, 0); - lean_ctor_release(x_1012, 1); - lean_ctor_release(x_1012, 2); - lean_ctor_release(x_1012, 3); - x_1018 = x_1012; -} else { - lean_dec_ref(x_1012); - x_1018 = lean_box(0); -} -x_1019 = lean_ctor_get(x_1013, 0); -lean_inc(x_1019); -x_1020 = lean_ctor_get(x_1013, 1); -lean_inc(x_1020); -x_1021 = lean_ctor_get(x_1013, 2); -lean_inc(x_1021); -x_1022 = lean_ctor_get(x_1013, 3); -lean_inc(x_1022); -x_1023 = lean_ctor_get(x_1013, 4); -lean_inc(x_1023); -x_1024 = lean_ctor_get(x_1013, 5); -lean_inc(x_1024); -x_1025 = lean_ctor_get(x_1013, 6); -lean_inc(x_1025); -x_1026 = lean_ctor_get(x_1013, 7); -lean_inc(x_1026); -if (lean_is_exclusive(x_1013)) { - lean_ctor_release(x_1013, 0); - lean_ctor_release(x_1013, 1); - lean_ctor_release(x_1013, 2); - lean_ctor_release(x_1013, 3); - lean_ctor_release(x_1013, 4); - lean_ctor_release(x_1013, 5); - lean_ctor_release(x_1013, 6); - lean_ctor_release(x_1013, 7); - x_1027 = x_1013; -} else { - lean_dec_ref(x_1013); - x_1027 = lean_box(0); -} -if (lean_is_scalar(x_1027)) { - x_1028 = lean_alloc_ctor(0, 8, 1); -} else { - x_1028 = x_1027; -} -lean_ctor_set(x_1028, 0, x_1019); -lean_ctor_set(x_1028, 1, x_1020); -lean_ctor_set(x_1028, 2, x_1021); -lean_ctor_set(x_1028, 3, x_1022); -lean_ctor_set(x_1028, 4, x_1023); -lean_ctor_set(x_1028, 5, x_1024); -lean_ctor_set(x_1028, 6, x_1025); -lean_ctor_set(x_1028, 7, x_1026); -lean_ctor_set_uint8(x_1028, sizeof(void*)*8, x_789); -if (lean_is_scalar(x_1018)) { - x_1029 = lean_alloc_ctor(0, 4, 0); -} else { - x_1029 = x_1018; -} -lean_ctor_set(x_1029, 0, x_1028); -lean_ctor_set(x_1029, 1, x_1015); -lean_ctor_set(x_1029, 2, x_1016); -lean_ctor_set(x_1029, 3, x_1017); -x_1030 = lean_st_ref_set(x_6, x_1029, x_1014); -x_1031 = lean_ctor_get(x_1030, 1); -lean_inc(x_1031); -lean_dec(x_1030); +lean_object* x_455; lean_object* x_456; +x_455 = lean_ctor_get(x_384, 1); +lean_inc(x_455); +lean_dec(x_384); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_818); -lean_inc(x_815); -x_1032 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(x_815, x_818, x_5, x_6, x_7, x_8, x_1031); -if (lean_obj_tag(x_1032) == 0) +lean_inc(x_378); +lean_inc(x_375); +x_456 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(x_375, x_378, x_5, x_6, x_7, x_8, x_455); +if (lean_obj_tag(x_456) == 0) { -lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; uint8_t x_1045; -x_1033 = lean_ctor_get(x_1032, 0); -lean_inc(x_1033); -x_1034 = lean_ctor_get(x_1032, 1); -lean_inc(x_1034); -lean_dec(x_1032); -x_1035 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_1034); -x_1036 = lean_ctor_get(x_1035, 0); -lean_inc(x_1036); -x_1037 = lean_ctor_get(x_1035, 1); -lean_inc(x_1037); -lean_dec(x_1035); -x_1038 = lean_st_ref_get(x_8, x_1037); -x_1039 = lean_ctor_get(x_1038, 1); -lean_inc(x_1039); -lean_dec(x_1038); -x_1040 = lean_st_ref_get(x_6, x_1039); -x_1041 = lean_ctor_get(x_1040, 0); -lean_inc(x_1041); -x_1042 = lean_ctor_get(x_1040, 1); -lean_inc(x_1042); -lean_dec(x_1040); -x_1043 = lean_ctor_get(x_1041, 0); -lean_inc(x_1043); -lean_dec(x_1041); -lean_inc(x_1033); -x_1044 = lean_alloc_closure((void*)(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___lambda__1___boxed), 7, 1); -lean_closure_set(x_1044, 0, x_1033); -x_1045 = lean_nat_dec_eq(x_821, x_1036); -lean_dec(x_1036); -lean_dec(x_821); -if (x_1045 == 0) +lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; uint8_t x_464; +x_457 = lean_ctor_get(x_456, 0); +lean_inc(x_457); +x_458 = lean_ctor_get(x_456, 1); +lean_inc(x_458); +lean_dec(x_456); +x_459 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_458); +x_460 = lean_ctor_get(x_459, 0); +lean_inc(x_460); +x_461 = lean_ctor_get(x_459, 1); +lean_inc(x_461); +if (lean_is_exclusive(x_459)) { + lean_ctor_release(x_459, 0); + lean_ctor_release(x_459, 1); + x_462 = x_459; +} else { + lean_dec_ref(x_459); + x_462 = lean_box(0); +} +lean_inc(x_457); +x_463 = lean_alloc_closure((void*)(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___lambda__1___boxed), 7, 1); +lean_closure_set(x_463, 0, x_457); +x_464 = lean_nat_dec_eq(x_381, x_460); +lean_dec(x_460); +lean_dec(x_381); +if (x_464 == 0) { -uint8_t x_1046; -lean_dec(x_1044); -lean_dec(x_1043); -lean_dec(x_823); -lean_dec(x_818); -lean_dec(x_815); +lean_object* x_465; +lean_dec(x_463); +lean_dec(x_383); +lean_dec(x_378); +lean_dec(x_375); lean_dec(x_3); -x_1046 = lean_unbox(x_1033); -lean_dec(x_1033); -x_903 = x_1046; -x_904 = x_1042; -goto block_958; +if (lean_is_scalar(x_462)) { + x_465 = lean_alloc_ctor(0, 2, 0); +} else { + x_465 = x_462; +} +lean_ctor_set(x_465, 0, x_457); +lean_ctor_set(x_465, 1, x_461); +x_324 = x_465; +goto block_339; } else { -uint8_t x_1047; -x_1047 = lean_ctor_get_uint8(x_1043, sizeof(void*)*8); -lean_dec(x_1043); -if (x_1047 == 0) +lean_object* x_466; lean_object* x_467; uint8_t x_468; lean_object* x_469; lean_object* x_501; lean_object* x_502; lean_object* x_503; uint8_t x_504; +lean_dec(x_462); +x_466 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; +x_467 = l_Lean_Name_str___override(x_3, x_466); +x_501 = lean_st_ref_get(x_8, x_461); +x_502 = lean_ctor_get(x_501, 0); +lean_inc(x_502); +x_503 = lean_ctor_get(x_502, 3); +lean_inc(x_503); +lean_dec(x_502); +x_504 = lean_ctor_get_uint8(x_503, sizeof(void*)*1); +lean_dec(x_503); +if (x_504 == 0) { -lean_object* x_1048; lean_object* x_1049; uint8_t x_1050; lean_object* x_1051; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; uint8_t x_1101; -x_1048 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; -x_1049 = l_Lean_Name_str___override(x_3, x_1048); -x_1098 = lean_st_ref_get(x_8, x_1042); -x_1099 = lean_ctor_get(x_1098, 0); -lean_inc(x_1099); -x_1100 = lean_ctor_get(x_1099, 3); -lean_inc(x_1100); -lean_dec(x_1099); -x_1101 = lean_ctor_get_uint8(x_1100, sizeof(void*)*1); -lean_dec(x_1100); -if (x_1101 == 0) -{ -lean_object* x_1102; -x_1102 = lean_ctor_get(x_1098, 1); -lean_inc(x_1102); -lean_dec(x_1098); -x_1050 = x_789; -x_1051 = x_1102; -goto block_1097; +lean_object* x_505; +x_505 = lean_ctor_get(x_501, 1); +lean_inc(x_505); +lean_dec(x_501); +x_468 = x_363; +x_469 = x_505; +goto block_500; } else { -lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; uint8_t x_1107; -x_1103 = lean_ctor_get(x_1098, 1); -lean_inc(x_1103); -lean_dec(x_1098); -lean_inc(x_1049); -x_1104 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_1049, x_5, x_6, x_7, x_8, x_1103); -x_1105 = lean_ctor_get(x_1104, 0); -lean_inc(x_1105); -x_1106 = lean_ctor_get(x_1104, 1); -lean_inc(x_1106); -lean_dec(x_1104); -x_1107 = lean_unbox(x_1105); -lean_dec(x_1105); -x_1050 = x_1107; -x_1051 = x_1106; -goto block_1097; +lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; uint8_t x_510; +x_506 = lean_ctor_get(x_501, 1); +lean_inc(x_506); +lean_dec(x_501); +lean_inc(x_467); +x_507 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_467, x_5, x_6, x_7, x_8, x_506); +x_508 = lean_ctor_get(x_507, 0); +lean_inc(x_508); +x_509 = lean_ctor_get(x_507, 1); +lean_inc(x_509); +lean_dec(x_507); +x_510 = lean_unbox(x_508); +lean_dec(x_508); +x_468 = x_510; +x_469 = x_509; +goto block_500; } -block_1097: +block_500: { -if (x_1050 == 0) +if (x_468 == 0) { -lean_object* x_1052; uint8_t x_1053; lean_object* x_1054; -lean_dec(x_1049); -lean_dec(x_818); -lean_dec(x_815); -x_1052 = lean_box(0); -x_1053 = lean_unbox(x_1033); -lean_dec(x_1033); +lean_object* x_470; uint8_t x_471; lean_object* x_472; +lean_dec(x_467); +lean_dec(x_378); +lean_dec(x_375); +x_470 = lean_box(0); +x_471 = lean_unbox(x_457); +lean_dec(x_457); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_1054 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_823, x_1053, x_1044, x_1052, x_5, x_6, x_7, x_8, x_1051); -if (lean_obj_tag(x_1054) == 0) -{ -lean_object* x_1055; lean_object* x_1056; uint8_t x_1057; -x_1055 = lean_ctor_get(x_1054, 0); -lean_inc(x_1055); -x_1056 = lean_ctor_get(x_1054, 1); -lean_inc(x_1056); -lean_dec(x_1054); -x_1057 = lean_unbox(x_1055); -lean_dec(x_1055); -x_903 = x_1057; -x_904 = x_1056; -goto block_958; +x_472 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_383, x_471, x_463, x_470, x_5, x_6, x_7, x_8, x_469); +x_324 = x_472; +goto block_339; } else { -lean_object* x_1058; lean_object* x_1059; -x_1058 = lean_ctor_get(x_1054, 0); -lean_inc(x_1058); -x_1059 = lean_ctor_get(x_1054, 1); -lean_inc(x_1059); -lean_dec(x_1054); -x_959 = x_1058; -x_960 = x_1059; -goto block_1008; -} -} -else +lean_object* x_473; lean_object* x_474; uint8_t x_475; +x_473 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_473, 0, x_375); +x_474 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_474, 0, x_378); +x_475 = lean_unbox(x_457); +if (x_475 == 0) { -lean_object* x_1060; lean_object* x_1061; uint8_t x_1062; -x_1060 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1060, 0, x_815); -x_1061 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1061, 0, x_818); -x_1062 = lean_unbox(x_1033); -if (x_1062 == 0) -{ -lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; uint8_t x_1073; lean_object* x_1074; -x_1063 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__17; -x_1064 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1064, 0, x_1063); -lean_ctor_set(x_1064, 1, x_1060); -x_1065 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_1066 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1066, 0, x_1064); -lean_ctor_set(x_1066, 1, x_1065); -x_1067 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1067, 0, x_1066); -lean_ctor_set(x_1067, 1, x_1061); -x_1068 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_1069 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1069, 0, x_1067); -lean_ctor_set(x_1069, 1, x_1068); -x_1070 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_1049, x_1069, x_5, x_6, x_7, x_8, x_1051); -x_1071 = lean_ctor_get(x_1070, 0); -lean_inc(x_1071); -x_1072 = lean_ctor_get(x_1070, 1); -lean_inc(x_1072); -lean_dec(x_1070); -x_1073 = lean_unbox(x_1033); -lean_dec(x_1033); +lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* 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; uint8_t x_486; lean_object* x_487; +x_476 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__17; +x_477 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_477, 0, x_476); +lean_ctor_set(x_477, 1, x_473); +x_478 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_479 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_479, 0, x_477); +lean_ctor_set(x_479, 1, x_478); +x_480 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_480, 0, x_479); +lean_ctor_set(x_480, 1, x_474); +x_481 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_482 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_482, 0, x_480); +lean_ctor_set(x_482, 1, x_481); +x_483 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_467, x_482, x_5, x_6, x_7, x_8, x_469); +x_484 = lean_ctor_get(x_483, 0); +lean_inc(x_484); +x_485 = lean_ctor_get(x_483, 1); +lean_inc(x_485); +lean_dec(x_483); +x_486 = lean_unbox(x_457); +lean_dec(x_457); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_1074 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_823, x_1073, x_1044, x_1071, x_5, x_6, x_7, x_8, x_1072); -lean_dec(x_1071); -if (lean_obj_tag(x_1074) == 0) -{ -lean_object* x_1075; lean_object* x_1076; uint8_t x_1077; -x_1075 = lean_ctor_get(x_1074, 0); -lean_inc(x_1075); -x_1076 = lean_ctor_get(x_1074, 1); -lean_inc(x_1076); -lean_dec(x_1074); -x_1077 = lean_unbox(x_1075); -lean_dec(x_1075); -x_903 = x_1077; -x_904 = x_1076; -goto block_958; +x_487 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_383, x_486, x_463, x_484, x_5, x_6, x_7, x_8, x_485); +lean_dec(x_484); +x_324 = x_487; +goto block_339; } else { -lean_object* x_1078; lean_object* x_1079; -x_1078 = lean_ctor_get(x_1074, 0); -lean_inc(x_1078); -x_1079 = lean_ctor_get(x_1074, 1); -lean_inc(x_1079); -lean_dec(x_1074); -x_959 = x_1078; -x_960 = x_1079; -goto block_1008; -} -} -else -{ -lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; uint8_t x_1090; lean_object* x_1091; -x_1080 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__22; -x_1081 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1081, 0, x_1080); -lean_ctor_set(x_1081, 1, x_1060); -x_1082 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_1083 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1083, 0, x_1081); -lean_ctor_set(x_1083, 1, x_1082); -x_1084 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1084, 0, x_1083); -lean_ctor_set(x_1084, 1, x_1061); -x_1085 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_1086 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1086, 0, x_1084); -lean_ctor_set(x_1086, 1, x_1085); -x_1087 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_1049, x_1086, x_5, x_6, x_7, x_8, x_1051); -x_1088 = lean_ctor_get(x_1087, 0); -lean_inc(x_1088); -x_1089 = lean_ctor_get(x_1087, 1); -lean_inc(x_1089); -lean_dec(x_1087); -x_1090 = lean_unbox(x_1033); -lean_dec(x_1033); +lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; uint8_t x_498; lean_object* x_499; +x_488 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__22; +x_489 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_489, 0, x_488); +lean_ctor_set(x_489, 1, x_473); +x_490 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_491 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_491, 0, x_489); +lean_ctor_set(x_491, 1, x_490); +x_492 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_492, 0, x_491); +lean_ctor_set(x_492, 1, x_474); +x_493 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_494 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_494, 0, x_492); +lean_ctor_set(x_494, 1, x_493); +x_495 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_467, x_494, x_5, x_6, x_7, x_8, x_469); +x_496 = lean_ctor_get(x_495, 0); +lean_inc(x_496); +x_497 = lean_ctor_get(x_495, 1); +lean_inc(x_497); +lean_dec(x_495); +x_498 = lean_unbox(x_457); +lean_dec(x_457); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_1091 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_823, x_1090, x_1044, x_1088, x_5, x_6, x_7, x_8, x_1089); -lean_dec(x_1088); -if (lean_obj_tag(x_1091) == 0) -{ -lean_object* x_1092; lean_object* x_1093; uint8_t x_1094; -x_1092 = lean_ctor_get(x_1091, 0); -lean_inc(x_1092); -x_1093 = lean_ctor_get(x_1091, 1); -lean_inc(x_1093); -lean_dec(x_1091); -x_1094 = lean_unbox(x_1092); -lean_dec(x_1092); -x_903 = x_1094; -x_904 = x_1093; -goto block_958; -} -else -{ -lean_object* x_1095; lean_object* x_1096; -x_1095 = lean_ctor_get(x_1091, 0); -lean_inc(x_1095); -x_1096 = lean_ctor_get(x_1091, 1); -lean_inc(x_1096); -lean_dec(x_1091); -x_959 = x_1095; -x_960 = x_1096; -goto block_1008; +x_499 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_383, x_498, x_463, x_496, x_5, x_6, x_7, x_8, x_497); +lean_dec(x_496); +x_324 = x_499; +goto block_339; } } } @@ -82644,461 +79496,34 @@ goto block_1008; } else { -uint8_t x_1108; -lean_dec(x_1044); -lean_dec(x_823); -lean_dec(x_818); -lean_dec(x_815); +lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; +lean_dec(x_383); +lean_dec(x_381); +lean_dec(x_378); +lean_dec(x_375); lean_dec(x_3); -x_1108 = lean_unbox(x_1033); -lean_dec(x_1033); -x_903 = x_1108; -x_904 = x_1042; -goto block_958; -} -} -} -else -{ -lean_object* x_1109; lean_object* x_1110; -lean_dec(x_823); -lean_dec(x_821); -lean_dec(x_818); -lean_dec(x_815); -lean_dec(x_3); -x_1109 = lean_ctor_get(x_1032, 0); -lean_inc(x_1109); -x_1110 = lean_ctor_get(x_1032, 1); -lean_inc(x_1110); -lean_dec(x_1032); -x_959 = x_1109; -x_960 = x_1110; -goto block_1008; -} -block_958: -{ -lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; -x_905 = lean_st_ref_get(x_8, x_904); -x_906 = lean_ctor_get(x_905, 1); -lean_inc(x_906); -lean_dec(x_905); -x_907 = lean_st_ref_take(x_6, x_906); -x_908 = lean_ctor_get(x_907, 0); -lean_inc(x_908); -x_909 = lean_ctor_get(x_908, 0); -lean_inc(x_909); -if (x_902 == 0) -{ -lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; uint8_t x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; -x_910 = lean_ctor_get(x_907, 1); -lean_inc(x_910); -lean_dec(x_907); -x_911 = lean_ctor_get(x_908, 1); -lean_inc(x_911); -x_912 = lean_ctor_get(x_908, 2); -lean_inc(x_912); -x_913 = lean_ctor_get(x_908, 3); -lean_inc(x_913); -if (lean_is_exclusive(x_908)) { - lean_ctor_release(x_908, 0); - lean_ctor_release(x_908, 1); - lean_ctor_release(x_908, 2); - lean_ctor_release(x_908, 3); - x_914 = x_908; +x_511 = lean_ctor_get(x_456, 0); +lean_inc(x_511); +x_512 = lean_ctor_get(x_456, 1); +lean_inc(x_512); +if (lean_is_exclusive(x_456)) { + lean_ctor_release(x_456, 0); + lean_ctor_release(x_456, 1); + x_513 = x_456; } else { - lean_dec_ref(x_908); - x_914 = lean_box(0); + lean_dec_ref(x_456); + x_513 = lean_box(0); } -x_915 = lean_ctor_get(x_909, 0); -lean_inc(x_915); -x_916 = lean_ctor_get(x_909, 1); -lean_inc(x_916); -x_917 = lean_ctor_get(x_909, 2); -lean_inc(x_917); -x_918 = lean_ctor_get(x_909, 3); -lean_inc(x_918); -x_919 = lean_ctor_get(x_909, 4); -lean_inc(x_919); -x_920 = lean_ctor_get(x_909, 5); -lean_inc(x_920); -x_921 = lean_ctor_get(x_909, 6); -lean_inc(x_921); -x_922 = lean_ctor_get(x_909, 7); -lean_inc(x_922); -x_923 = lean_ctor_get_uint8(x_909, sizeof(void*)*8); -if (lean_is_exclusive(x_909)) { - lean_ctor_release(x_909, 0); - lean_ctor_release(x_909, 1); - lean_ctor_release(x_909, 2); - lean_ctor_release(x_909, 3); - lean_ctor_release(x_909, 4); - lean_ctor_release(x_909, 5); - lean_ctor_release(x_909, 6); - lean_ctor_release(x_909, 7); - x_924 = x_909; +if (lean_is_scalar(x_513)) { + x_514 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_909); - x_924 = lean_box(0); + x_514 = x_513; } -if (lean_is_scalar(x_924)) { - x_925 = lean_alloc_ctor(0, 8, 1); -} else { - x_925 = x_924; +lean_ctor_set(x_514, 0, x_511); +lean_ctor_set(x_514, 1, x_512); +x_324 = x_514; +goto block_339; } -lean_ctor_set(x_925, 0, x_915); -lean_ctor_set(x_925, 1, x_916); -lean_ctor_set(x_925, 2, x_917); -lean_ctor_set(x_925, 3, x_918); -lean_ctor_set(x_925, 4, x_919); -lean_ctor_set(x_925, 5, x_920); -lean_ctor_set(x_925, 6, x_921); -lean_ctor_set(x_925, 7, x_922); -lean_ctor_set_uint8(x_925, sizeof(void*)*8, x_923); -if (lean_is_scalar(x_914)) { - x_926 = lean_alloc_ctor(0, 4, 0); -} else { - x_926 = x_914; -} -lean_ctor_set(x_926, 0, x_925); -lean_ctor_set(x_926, 1, x_911); -lean_ctor_set(x_926, 2, x_912); -lean_ctor_set(x_926, 3, x_913); -x_927 = lean_st_ref_set(x_6, x_926, x_910); -x_928 = lean_ctor_get(x_927, 1); -lean_inc(x_928); -if (lean_is_exclusive(x_927)) { - lean_ctor_release(x_927, 0); - lean_ctor_release(x_927, 1); - x_929 = x_927; -} else { - lean_dec_ref(x_927); - x_929 = lean_box(0); -} -x_930 = lean_box(0); -x_931 = lean_box(x_903); -x_932 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_932, 0, x_931); -lean_ctor_set(x_932, 1, x_930); -if (lean_is_scalar(x_929)) { - x_933 = lean_alloc_ctor(0, 2, 0); -} else { - x_933 = x_929; -} -lean_ctor_set(x_933, 0, x_932); -lean_ctor_set(x_933, 1, x_928); -x_762 = x_933; -goto block_772; -} -else -{ -lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; uint8_t x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; -x_934 = lean_ctor_get(x_907, 1); -lean_inc(x_934); -lean_dec(x_907); -x_935 = lean_ctor_get(x_908, 1); -lean_inc(x_935); -x_936 = lean_ctor_get(x_908, 2); -lean_inc(x_936); -x_937 = lean_ctor_get(x_908, 3); -lean_inc(x_937); -if (lean_is_exclusive(x_908)) { - lean_ctor_release(x_908, 0); - lean_ctor_release(x_908, 1); - lean_ctor_release(x_908, 2); - lean_ctor_release(x_908, 3); - x_938 = x_908; -} else { - lean_dec_ref(x_908); - x_938 = lean_box(0); -} -x_939 = lean_ctor_get(x_909, 0); -lean_inc(x_939); -x_940 = lean_ctor_get(x_909, 1); -lean_inc(x_940); -x_941 = lean_ctor_get(x_909, 2); -lean_inc(x_941); -x_942 = lean_ctor_get(x_909, 3); -lean_inc(x_942); -x_943 = lean_ctor_get(x_909, 4); -lean_inc(x_943); -x_944 = lean_ctor_get(x_909, 5); -lean_inc(x_944); -x_945 = lean_ctor_get(x_909, 6); -lean_inc(x_945); -x_946 = lean_ctor_get(x_909, 7); -lean_inc(x_946); -if (lean_is_exclusive(x_909)) { - lean_ctor_release(x_909, 0); - lean_ctor_release(x_909, 1); - lean_ctor_release(x_909, 2); - lean_ctor_release(x_909, 3); - lean_ctor_release(x_909, 4); - lean_ctor_release(x_909, 5); - lean_ctor_release(x_909, 6); - lean_ctor_release(x_909, 7); - x_947 = x_909; -} else { - lean_dec_ref(x_909); - x_947 = lean_box(0); -} -x_948 = 1; -if (lean_is_scalar(x_947)) { - x_949 = lean_alloc_ctor(0, 8, 1); -} else { - x_949 = x_947; -} -lean_ctor_set(x_949, 0, x_939); -lean_ctor_set(x_949, 1, x_940); -lean_ctor_set(x_949, 2, x_941); -lean_ctor_set(x_949, 3, x_942); -lean_ctor_set(x_949, 4, x_943); -lean_ctor_set(x_949, 5, x_944); -lean_ctor_set(x_949, 6, x_945); -lean_ctor_set(x_949, 7, x_946); -lean_ctor_set_uint8(x_949, sizeof(void*)*8, x_948); -if (lean_is_scalar(x_938)) { - x_950 = lean_alloc_ctor(0, 4, 0); -} else { - x_950 = x_938; -} -lean_ctor_set(x_950, 0, x_949); -lean_ctor_set(x_950, 1, x_935); -lean_ctor_set(x_950, 2, x_936); -lean_ctor_set(x_950, 3, x_937); -x_951 = lean_st_ref_set(x_6, x_950, x_934); -x_952 = lean_ctor_get(x_951, 1); -lean_inc(x_952); -if (lean_is_exclusive(x_951)) { - lean_ctor_release(x_951, 0); - lean_ctor_release(x_951, 1); - x_953 = x_951; -} else { - lean_dec_ref(x_951); - x_953 = lean_box(0); -} -x_954 = lean_box(0); -x_955 = lean_box(x_903); -x_956 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_956, 0, x_955); -lean_ctor_set(x_956, 1, x_954); -if (lean_is_scalar(x_953)) { - x_957 = lean_alloc_ctor(0, 2, 0); -} else { - x_957 = x_953; -} -lean_ctor_set(x_957, 0, x_956); -lean_ctor_set(x_957, 1, x_952); -x_762 = x_957; -goto block_772; -} -} -block_1008: -{ -lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; -x_961 = lean_st_ref_get(x_8, x_960); -x_962 = lean_ctor_get(x_961, 1); -lean_inc(x_962); -lean_dec(x_961); -x_963 = lean_st_ref_take(x_6, x_962); -x_964 = lean_ctor_get(x_963, 0); -lean_inc(x_964); -x_965 = lean_ctor_get(x_964, 0); -lean_inc(x_965); -if (x_902 == 0) -{ -lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; uint8_t x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; -x_966 = lean_ctor_get(x_963, 1); -lean_inc(x_966); -lean_dec(x_963); -x_967 = lean_ctor_get(x_964, 1); -lean_inc(x_967); -x_968 = lean_ctor_get(x_964, 2); -lean_inc(x_968); -x_969 = lean_ctor_get(x_964, 3); -lean_inc(x_969); -if (lean_is_exclusive(x_964)) { - lean_ctor_release(x_964, 0); - lean_ctor_release(x_964, 1); - lean_ctor_release(x_964, 2); - lean_ctor_release(x_964, 3); - x_970 = x_964; -} else { - lean_dec_ref(x_964); - x_970 = lean_box(0); -} -x_971 = lean_ctor_get(x_965, 0); -lean_inc(x_971); -x_972 = lean_ctor_get(x_965, 1); -lean_inc(x_972); -x_973 = lean_ctor_get(x_965, 2); -lean_inc(x_973); -x_974 = lean_ctor_get(x_965, 3); -lean_inc(x_974); -x_975 = lean_ctor_get(x_965, 4); -lean_inc(x_975); -x_976 = lean_ctor_get(x_965, 5); -lean_inc(x_976); -x_977 = lean_ctor_get(x_965, 6); -lean_inc(x_977); -x_978 = lean_ctor_get(x_965, 7); -lean_inc(x_978); -x_979 = lean_ctor_get_uint8(x_965, sizeof(void*)*8); -if (lean_is_exclusive(x_965)) { - lean_ctor_release(x_965, 0); - lean_ctor_release(x_965, 1); - lean_ctor_release(x_965, 2); - lean_ctor_release(x_965, 3); - lean_ctor_release(x_965, 4); - lean_ctor_release(x_965, 5); - lean_ctor_release(x_965, 6); - lean_ctor_release(x_965, 7); - x_980 = x_965; -} else { - lean_dec_ref(x_965); - x_980 = lean_box(0); -} -if (lean_is_scalar(x_980)) { - x_981 = lean_alloc_ctor(0, 8, 1); -} else { - x_981 = x_980; -} -lean_ctor_set(x_981, 0, x_971); -lean_ctor_set(x_981, 1, x_972); -lean_ctor_set(x_981, 2, x_973); -lean_ctor_set(x_981, 3, x_974); -lean_ctor_set(x_981, 4, x_975); -lean_ctor_set(x_981, 5, x_976); -lean_ctor_set(x_981, 6, x_977); -lean_ctor_set(x_981, 7, x_978); -lean_ctor_set_uint8(x_981, sizeof(void*)*8, x_979); -if (lean_is_scalar(x_970)) { - x_982 = lean_alloc_ctor(0, 4, 0); -} else { - x_982 = x_970; -} -lean_ctor_set(x_982, 0, x_981); -lean_ctor_set(x_982, 1, x_967); -lean_ctor_set(x_982, 2, x_968); -lean_ctor_set(x_982, 3, x_969); -x_983 = lean_st_ref_set(x_6, x_982, x_966); -x_984 = lean_ctor_get(x_983, 1); -lean_inc(x_984); -if (lean_is_exclusive(x_983)) { - lean_ctor_release(x_983, 0); - lean_ctor_release(x_983, 1); - x_985 = x_983; -} else { - lean_dec_ref(x_983); - x_985 = lean_box(0); -} -if (lean_is_scalar(x_985)) { - x_986 = lean_alloc_ctor(1, 2, 0); -} else { - x_986 = x_985; - lean_ctor_set_tag(x_986, 1); -} -lean_ctor_set(x_986, 0, x_959); -lean_ctor_set(x_986, 1, x_984); -x_762 = x_986; -goto block_772; -} -else -{ -lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; uint8_t x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; -x_987 = lean_ctor_get(x_963, 1); -lean_inc(x_987); -lean_dec(x_963); -x_988 = lean_ctor_get(x_964, 1); -lean_inc(x_988); -x_989 = lean_ctor_get(x_964, 2); -lean_inc(x_989); -x_990 = lean_ctor_get(x_964, 3); -lean_inc(x_990); -if (lean_is_exclusive(x_964)) { - lean_ctor_release(x_964, 0); - lean_ctor_release(x_964, 1); - lean_ctor_release(x_964, 2); - lean_ctor_release(x_964, 3); - x_991 = x_964; -} else { - lean_dec_ref(x_964); - x_991 = lean_box(0); -} -x_992 = lean_ctor_get(x_965, 0); -lean_inc(x_992); -x_993 = lean_ctor_get(x_965, 1); -lean_inc(x_993); -x_994 = lean_ctor_get(x_965, 2); -lean_inc(x_994); -x_995 = lean_ctor_get(x_965, 3); -lean_inc(x_995); -x_996 = lean_ctor_get(x_965, 4); -lean_inc(x_996); -x_997 = lean_ctor_get(x_965, 5); -lean_inc(x_997); -x_998 = lean_ctor_get(x_965, 6); -lean_inc(x_998); -x_999 = lean_ctor_get(x_965, 7); -lean_inc(x_999); -if (lean_is_exclusive(x_965)) { - lean_ctor_release(x_965, 0); - lean_ctor_release(x_965, 1); - lean_ctor_release(x_965, 2); - lean_ctor_release(x_965, 3); - lean_ctor_release(x_965, 4); - lean_ctor_release(x_965, 5); - lean_ctor_release(x_965, 6); - lean_ctor_release(x_965, 7); - x_1000 = x_965; -} else { - lean_dec_ref(x_965); - x_1000 = lean_box(0); -} -x_1001 = 1; -if (lean_is_scalar(x_1000)) { - x_1002 = lean_alloc_ctor(0, 8, 1); -} else { - x_1002 = x_1000; -} -lean_ctor_set(x_1002, 0, x_992); -lean_ctor_set(x_1002, 1, x_993); -lean_ctor_set(x_1002, 2, x_994); -lean_ctor_set(x_1002, 3, x_995); -lean_ctor_set(x_1002, 4, x_996); -lean_ctor_set(x_1002, 5, x_997); -lean_ctor_set(x_1002, 6, x_998); -lean_ctor_set(x_1002, 7, x_999); -lean_ctor_set_uint8(x_1002, sizeof(void*)*8, x_1001); -if (lean_is_scalar(x_991)) { - x_1003 = lean_alloc_ctor(0, 4, 0); -} else { - x_1003 = x_991; -} -lean_ctor_set(x_1003, 0, x_1002); -lean_ctor_set(x_1003, 1, x_988); -lean_ctor_set(x_1003, 2, x_989); -lean_ctor_set(x_1003, 3, x_990); -x_1004 = lean_st_ref_set(x_6, x_1003, x_987); -x_1005 = lean_ctor_get(x_1004, 1); -lean_inc(x_1005); -if (lean_is_exclusive(x_1004)) { - lean_ctor_release(x_1004, 0); - lean_ctor_release(x_1004, 1); - x_1006 = x_1004; -} else { - lean_dec_ref(x_1004); - x_1006 = lean_box(0); -} -if (lean_is_scalar(x_1006)) { - x_1007 = lean_alloc_ctor(1, 2, 0); -} else { - x_1007 = x_1006; - lean_ctor_set_tag(x_1007, 1); -} -lean_ctor_set(x_1007, 0, x_959); -lean_ctor_set(x_1007, 1, x_1005); -x_762 = x_1007; -goto block_772; } } } @@ -83106,472 +79531,382 @@ goto block_772; } else { -lean_object* x_1111; lean_object* x_1112; -lean_dec(x_3); -x_1111 = lean_ctor_get(x_810, 1); -lean_inc(x_1111); -lean_dec(x_810); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_1112 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(x_1, x_2, x_5, x_6, x_7, x_8, x_1111); -x_746 = x_1112; -goto block_761; -} -} -else -{ -lean_object* x_1113; lean_object* x_1114; +lean_object* x_515; lean_object* x_516; +lean_dec(x_365); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1113 = lean_ctor_get(x_810, 0); -lean_inc(x_1113); -x_1114 = lean_ctor_get(x_810, 1); -lean_inc(x_1114); -lean_dec(x_810); -x_739 = x_1113; -x_740 = x_1114; -goto block_745; +x_515 = lean_ctor_get(x_367, 0); +lean_inc(x_515); +x_516 = lean_ctor_get(x_367, 1); +lean_inc(x_516); +lean_dec(x_367); +x_340 = x_515; +x_341 = x_516; +goto block_346; +} +} +else +{ +lean_object* x_517; lean_object* x_518; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_517 = lean_ctor_get(x_364, 0); +lean_inc(x_517); +x_518 = lean_ctor_get(x_364, 1); +lean_inc(x_518); +lean_dec(x_364); +x_340 = x_517; +x_341 = x_518; +goto block_346; } } } } else { -lean_object* x_1115; lean_object* x_1116; -lean_dec(x_791); +lean_object* x_519; lean_object* x_520; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1115 = lean_ctor_get(x_793, 0); -lean_inc(x_1115); -x_1116 = lean_ctor_get(x_793, 1); -lean_inc(x_1116); -lean_dec(x_793); -x_739 = x_1115; -x_740 = x_1116; -goto block_745; -} -} -else -{ -lean_object* x_1117; lean_object* x_1118; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_1117 = lean_ctor_get(x_790, 0); -lean_inc(x_1117); -x_1118 = lean_ctor_get(x_790, 1); -lean_inc(x_1118); -lean_dec(x_790); -x_739 = x_1117; -x_740 = x_1118; -goto block_745; +x_519 = lean_ctor_get(x_355, 0); +lean_inc(x_519); +x_520 = lean_ctor_get(x_355, 1); +lean_inc(x_520); +lean_dec(x_355); +x_340 = x_519; +x_341 = x_520; +goto block_346; } } } } else { -lean_object* x_1119; lean_object* x_1120; +lean_object* x_521; lean_object* x_522; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1119 = lean_ctor_get(x_781, 0); -lean_inc(x_1119); -x_1120 = lean_ctor_get(x_781, 1); -lean_inc(x_1120); -lean_dec(x_781); -x_739 = x_1119; -x_740 = x_1120; -goto block_745; +x_521 = lean_ctor_get(x_347, 0); +lean_inc(x_521); +x_522 = lean_ctor_get(x_347, 1); +lean_inc(x_522); +lean_dec(x_347); +x_340 = x_521; +x_341 = x_522; +goto block_346; } -} -} -} -else +block_323: { -lean_object* x_1121; lean_object* x_1122; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_1121 = lean_ctor_get(x_773, 0); -lean_inc(x_1121); -x_1122 = lean_ctor_get(x_773, 1); -lean_inc(x_1122); -lean_dec(x_773); -x_739 = x_1121; -x_740 = x_1122; -goto block_745; -} -block_738: -{ -lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; -x_733 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_730, x_30, x_5, x_6, x_7, x_8, x_732); +lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; +x_318 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_315, x_30, x_5, x_6, x_7, x_8, x_317); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_734 = lean_ctor_get(x_733, 1); -lean_inc(x_734); -if (lean_is_exclusive(x_733)) { - lean_ctor_release(x_733, 0); - lean_ctor_release(x_733, 1); - x_735 = x_733; +x_319 = lean_ctor_get(x_318, 1); +lean_inc(x_319); +if (lean_is_exclusive(x_318)) { + lean_ctor_release(x_318, 0); + lean_ctor_release(x_318, 1); + x_320 = x_318; } else { - lean_dec_ref(x_733); - x_735 = lean_box(0); + lean_dec_ref(x_318); + x_320 = lean_box(0); } -x_736 = lean_box(x_731); -if (lean_is_scalar(x_735)) { - x_737 = lean_alloc_ctor(0, 2, 0); +x_321 = lean_box(x_316); +if (lean_is_scalar(x_320)) { + x_322 = lean_alloc_ctor(0, 2, 0); } else { - x_737 = x_735; + x_322 = x_320; } -lean_ctor_set(x_737, 0, x_736); -lean_ctor_set(x_737, 1, x_734); -return x_737; +lean_ctor_set(x_322, 0, x_321); +lean_ctor_set(x_322, 1, x_319); +return x_322; } -block_745: +block_339: { -lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; -x_741 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_730, x_30, x_5, x_6, x_7, x_8, x_740); +if (lean_obj_tag(x_324) == 0) +{ +lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; +x_325 = lean_ctor_get(x_324, 0); +lean_inc(x_325); +x_326 = lean_ctor_get(x_324, 1); +lean_inc(x_326); +lean_dec(x_324); +x_327 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_315, x_30, x_5, x_6, x_7, x_8, x_326); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_742 = lean_ctor_get(x_741, 1); -lean_inc(x_742); -if (lean_is_exclusive(x_741)) { - lean_ctor_release(x_741, 0); - lean_ctor_release(x_741, 1); - x_743 = x_741; +x_328 = lean_ctor_get(x_327, 0); +lean_inc(x_328); +x_329 = lean_ctor_get(x_327, 1); +lean_inc(x_329); +if (lean_is_exclusive(x_327)) { + lean_ctor_release(x_327, 0); + lean_ctor_release(x_327, 1); + x_330 = x_327; } else { - lean_dec_ref(x_741); - x_743 = lean_box(0); + lean_dec_ref(x_327); + x_330 = lean_box(0); } -if (lean_is_scalar(x_743)) { - x_744 = lean_alloc_ctor(1, 2, 0); +x_331 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_331, 0, x_325); +lean_ctor_set(x_331, 1, x_328); +if (lean_is_scalar(x_330)) { + x_332 = lean_alloc_ctor(0, 2, 0); } else { - x_744 = x_743; - lean_ctor_set_tag(x_744, 1); + x_332 = x_330; } -lean_ctor_set(x_744, 0, x_739); -lean_ctor_set(x_744, 1, x_742); -return x_744; -} -block_761: -{ -if (lean_obj_tag(x_746) == 0) -{ -lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; -x_747 = lean_ctor_get(x_746, 0); -lean_inc(x_747); -x_748 = lean_ctor_get(x_746, 1); -lean_inc(x_748); -lean_dec(x_746); -x_749 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_730, x_30, x_5, x_6, x_7, x_8, x_748); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_750 = lean_ctor_get(x_749, 0); -lean_inc(x_750); -x_751 = lean_ctor_get(x_749, 1); -lean_inc(x_751); -if (lean_is_exclusive(x_749)) { - lean_ctor_release(x_749, 0); - lean_ctor_release(x_749, 1); - x_752 = x_749; -} else { - lean_dec_ref(x_749); - x_752 = lean_box(0); -} -x_753 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_753, 0, x_747); -lean_ctor_set(x_753, 1, x_750); -if (lean_is_scalar(x_752)) { - x_754 = lean_alloc_ctor(0, 2, 0); -} else { - x_754 = x_752; -} -lean_ctor_set(x_754, 0, x_753); -lean_ctor_set(x_754, 1, x_751); -x_10 = x_754; +lean_ctor_set(x_332, 0, x_331); +lean_ctor_set(x_332, 1, x_329); +x_10 = x_332; goto block_22; } else { -lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; -x_755 = lean_ctor_get(x_746, 0); -lean_inc(x_755); -x_756 = lean_ctor_get(x_746, 1); -lean_inc(x_756); -lean_dec(x_746); -x_757 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_730, x_30, x_5, x_6, x_7, x_8, x_756); +lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; +x_333 = lean_ctor_get(x_324, 0); +lean_inc(x_333); +x_334 = lean_ctor_get(x_324, 1); +lean_inc(x_334); +lean_dec(x_324); +x_335 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_315, x_30, x_5, x_6, x_7, x_8, x_334); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_758 = lean_ctor_get(x_757, 1); -lean_inc(x_758); -if (lean_is_exclusive(x_757)) { - lean_ctor_release(x_757, 0); - lean_ctor_release(x_757, 1); - x_759 = x_757; +x_336 = lean_ctor_get(x_335, 1); +lean_inc(x_336); +if (lean_is_exclusive(x_335)) { + lean_ctor_release(x_335, 0); + lean_ctor_release(x_335, 1); + x_337 = x_335; } else { - lean_dec_ref(x_757); - x_759 = lean_box(0); + lean_dec_ref(x_335); + x_337 = lean_box(0); } -if (lean_is_scalar(x_759)) { - x_760 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_337)) { + x_338 = lean_alloc_ctor(1, 2, 0); } else { - x_760 = x_759; - lean_ctor_set_tag(x_760, 1); + x_338 = x_337; + lean_ctor_set_tag(x_338, 1); } -lean_ctor_set(x_760, 0, x_755); -lean_ctor_set(x_760, 1, x_758); -x_10 = x_760; +lean_ctor_set(x_338, 0, x_333); +lean_ctor_set(x_338, 1, x_336); +x_10 = x_338; goto block_22; } } -block_772: +block_346: { -if (lean_obj_tag(x_762) == 0) -{ -lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; -x_763 = lean_ctor_get(x_762, 0); -lean_inc(x_763); -x_764 = lean_ctor_get(x_762, 1); -lean_inc(x_764); -if (lean_is_exclusive(x_762)) { - lean_ctor_release(x_762, 0); - lean_ctor_release(x_762, 1); - x_765 = x_762; +lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; +x_342 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_315, x_30, x_5, x_6, x_7, x_8, x_341); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_343 = lean_ctor_get(x_342, 1); +lean_inc(x_343); +if (lean_is_exclusive(x_342)) { + lean_ctor_release(x_342, 0); + lean_ctor_release(x_342, 1); + x_344 = x_342; } else { - lean_dec_ref(x_762); - x_765 = lean_box(0); + lean_dec_ref(x_342); + x_344 = lean_box(0); } -x_766 = lean_ctor_get(x_763, 0); -lean_inc(x_766); -lean_dec(x_763); -if (lean_is_scalar(x_765)) { - x_767 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_344)) { + x_345 = lean_alloc_ctor(1, 2, 0); } else { - x_767 = x_765; -} -lean_ctor_set(x_767, 0, x_766); -lean_ctor_set(x_767, 1, x_764); -x_746 = x_767; -goto block_761; -} -else -{ -lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; -x_768 = lean_ctor_get(x_762, 0); -lean_inc(x_768); -x_769 = lean_ctor_get(x_762, 1); -lean_inc(x_769); -if (lean_is_exclusive(x_762)) { - lean_ctor_release(x_762, 0); - lean_ctor_release(x_762, 1); - x_770 = x_762; -} else { - lean_dec_ref(x_762); - x_770 = lean_box(0); -} -if (lean_is_scalar(x_770)) { - x_771 = lean_alloc_ctor(1, 2, 0); -} else { - x_771 = x_770; -} -lean_ctor_set(x_771, 0, x_768); -lean_ctor_set(x_771, 1, x_769); -x_746 = x_771; -goto block_761; + x_345 = x_344; + lean_ctor_set_tag(x_345, 1); } +lean_ctor_set(x_345, 0, x_340); +lean_ctor_set(x_345, 1, x_343); +return x_345; } } } else { -lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; uint8_t x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; uint8_t x_1137; lean_object* x_1138; lean_object* x_1145; lean_object* x_1146; lean_object* x_1152; lean_object* x_1168; lean_object* x_1179; -x_1123 = lean_ctor_get(x_32, 0); -x_1124 = lean_ctor_get(x_32, 1); -x_1125 = lean_ctor_get(x_32, 2); -x_1126 = lean_ctor_get(x_32, 4); -x_1127 = lean_ctor_get(x_32, 5); -x_1128 = lean_ctor_get(x_32, 6); -lean_inc(x_1128); -lean_inc(x_1127); -lean_inc(x_1126); -lean_inc(x_1125); -lean_inc(x_1124); -lean_inc(x_1123); +lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; uint8_t x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; uint8_t x_537; lean_object* x_538; lean_object* x_545; lean_object* x_561; lean_object* x_562; lean_object* x_568; +x_523 = lean_ctor_get(x_32, 0); +x_524 = lean_ctor_get(x_32, 1); +x_525 = lean_ctor_get(x_32, 2); +x_526 = lean_ctor_get(x_32, 4); +x_527 = lean_ctor_get(x_32, 5); +x_528 = lean_ctor_get(x_32, 6); +lean_inc(x_528); +lean_inc(x_527); +lean_inc(x_526); +lean_inc(x_525); +lean_inc(x_524); +lean_inc(x_523); lean_dec(x_32); -x_1129 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); +x_529 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); if (lean_is_exclusive(x_33)) { lean_ctor_release(x_33, 0); - x_1130 = x_33; + x_530 = x_33; } else { lean_dec_ref(x_33); - x_1130 = lean_box(0); + x_530 = lean_box(0); } -x_1131 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__3; -if (lean_is_scalar(x_1130)) { - x_1132 = lean_alloc_ctor(0, 1, 1); +x_531 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__3; +if (lean_is_scalar(x_530)) { + x_532 = lean_alloc_ctor(0, 1, 1); } else { - x_1132 = x_1130; + x_532 = x_530; } -lean_ctor_set(x_1132, 0, x_1131); -lean_ctor_set_uint8(x_1132, sizeof(void*)*1, x_1129); -x_1133 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_1133, 0, x_1123); -lean_ctor_set(x_1133, 1, x_1124); -lean_ctor_set(x_1133, 2, x_1125); -lean_ctor_set(x_1133, 3, x_1132); -lean_ctor_set(x_1133, 4, x_1126); -lean_ctor_set(x_1133, 5, x_1127); -lean_ctor_set(x_1133, 6, x_1128); -x_1134 = lean_st_ref_set(x_8, x_1133, x_34); -x_1135 = lean_ctor_get(x_1134, 1); -lean_inc(x_1135); -lean_dec(x_1134); -x_1136 = lean_ctor_get(x_7, 5); -lean_inc(x_1136); +lean_ctor_set(x_532, 0, x_531); +lean_ctor_set_uint8(x_532, sizeof(void*)*1, x_529); +x_533 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_533, 0, x_523); +lean_ctor_set(x_533, 1, x_524); +lean_ctor_set(x_533, 2, x_525); +lean_ctor_set(x_533, 3, x_532); +lean_ctor_set(x_533, 4, x_526); +lean_ctor_set(x_533, 5, x_527); +lean_ctor_set(x_533, 6, x_528); +x_534 = lean_st_ref_set(x_8, x_533, x_34); +x_535 = lean_ctor_get(x_534, 1); +lean_inc(x_535); +lean_dec(x_534); +x_536 = lean_ctor_get(x_7, 5); +lean_inc(x_536); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_2); lean_inc(x_1); -x_1179 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_2, x_5, x_6, x_7, x_8, x_1135); -if (lean_obj_tag(x_1179) == 0) +x_568 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuick(x_1, x_2, x_5, x_6, x_7, x_8, x_535); +if (lean_obj_tag(x_568) == 0) { -lean_object* x_1180; uint8_t x_1181; -x_1180 = lean_ctor_get(x_1179, 0); -lean_inc(x_1180); -x_1181 = lean_unbox(x_1180); -lean_dec(x_1180); -switch (x_1181) { +lean_object* x_569; uint8_t x_570; +x_569 = lean_ctor_get(x_568, 0); +lean_inc(x_569); +x_570 = lean_unbox(x_569); +lean_dec(x_569); +switch (x_570) { case 0: { -lean_object* x_1182; uint8_t x_1183; +lean_object* x_571; uint8_t x_572; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1182 = lean_ctor_get(x_1179, 1); -lean_inc(x_1182); -lean_dec(x_1179); -x_1183 = 0; -x_1137 = x_1183; -x_1138 = x_1182; -goto block_1144; +x_571 = lean_ctor_get(x_568, 1); +lean_inc(x_571); +lean_dec(x_568); +x_572 = 0; +x_537 = x_572; +x_538 = x_571; +goto block_544; } case 1: { -lean_object* x_1184; uint8_t x_1185; +lean_object* x_573; uint8_t x_574; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1184 = lean_ctor_get(x_1179, 1); -lean_inc(x_1184); -lean_dec(x_1179); -x_1185 = 1; -x_1137 = x_1185; -x_1138 = x_1184; -goto block_1144; +x_573 = lean_ctor_get(x_568, 1); +lean_inc(x_573); +lean_dec(x_568); +x_574 = 1; +x_537 = x_574; +x_538 = x_573; +goto block_544; } default: { -lean_object* x_1186; lean_object* x_1187; -x_1186 = lean_ctor_get(x_1179, 1); -lean_inc(x_1186); -lean_dec(x_1179); +lean_object* x_575; lean_object* x_576; +x_575 = lean_ctor_get(x_568, 1); +lean_inc(x_575); +lean_dec(x_568); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_2); lean_inc(x_1); -x_1187 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(x_1, x_2, x_5, x_6, x_7, x_8, x_1186); -if (lean_obj_tag(x_1187) == 0) +x_576 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqProofIrrel(x_1, x_2, x_5, x_6, x_7, x_8, x_575); +if (lean_obj_tag(x_576) == 0) { -lean_object* x_1188; uint8_t x_1189; -x_1188 = lean_ctor_get(x_1187, 0); -lean_inc(x_1188); -x_1189 = lean_unbox(x_1188); -lean_dec(x_1188); -switch (x_1189) { +lean_object* x_577; uint8_t x_578; +x_577 = lean_ctor_get(x_576, 0); +lean_inc(x_577); +x_578 = lean_unbox(x_577); +lean_dec(x_577); +switch (x_578) { case 0: { -lean_object* x_1190; uint8_t x_1191; +lean_object* x_579; uint8_t x_580; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1190 = lean_ctor_get(x_1187, 1); -lean_inc(x_1190); -lean_dec(x_1187); -x_1191 = 0; -x_1137 = x_1191; -x_1138 = x_1190; -goto block_1144; +x_579 = lean_ctor_get(x_576, 1); +lean_inc(x_579); +lean_dec(x_576); +x_580 = 0; +x_537 = x_580; +x_538 = x_579; +goto block_544; } case 1: { -lean_object* x_1192; uint8_t x_1193; +lean_object* x_581; uint8_t x_582; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1192 = lean_ctor_get(x_1187, 1); -lean_inc(x_1192); -lean_dec(x_1187); -x_1193 = 1; -x_1137 = x_1193; -x_1138 = x_1192; -goto block_1144; +x_581 = lean_ctor_get(x_576, 1); +lean_inc(x_581); +lean_dec(x_576); +x_582 = 1; +x_537 = x_582; +x_538 = x_581; +goto block_544; } default: { -lean_object* x_1194; uint8_t x_1195; lean_object* x_1196; -x_1194 = lean_ctor_get(x_1187, 1); -lean_inc(x_1194); -lean_dec(x_1187); -x_1195 = 0; +lean_object* x_583; uint8_t x_584; lean_object* x_585; +x_583 = lean_ctor_get(x_576, 1); +lean_inc(x_583); +lean_dec(x_576); +x_584 = 0; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); -x_1196 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_1195, x_1, x_5, x_6, x_7, x_8, x_1194); -if (lean_obj_tag(x_1196) == 0) +x_585 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_584, x_1, x_5, x_6, x_7, x_8, x_583); +if (lean_obj_tag(x_585) == 0) { -lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; -x_1197 = lean_ctor_get(x_1196, 0); -lean_inc(x_1197); -x_1198 = lean_ctor_get(x_1196, 1); -lean_inc(x_1198); -lean_dec(x_1196); +lean_object* x_586; lean_object* x_587; lean_object* x_588; +x_586 = lean_ctor_get(x_585, 0); +lean_inc(x_586); +x_587 = lean_ctor_get(x_585, 1); +lean_inc(x_587); +lean_dec(x_585); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_2); -x_1199 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_1195, x_2, x_5, x_6, x_7, x_8, x_1198); -if (lean_obj_tag(x_1199) == 0) +x_588 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_584, x_2, x_5, x_6, x_7, x_8, x_587); +if (lean_obj_tag(x_588) == 0) { -lean_object* x_1200; lean_object* x_1201; uint8_t x_1202; -x_1200 = lean_ctor_get(x_1199, 0); -lean_inc(x_1200); -x_1201 = lean_ctor_get(x_1199, 1); -lean_inc(x_1201); -lean_dec(x_1199); -x_1202 = lean_expr_eqv(x_1, x_1197); -if (x_1202 == 0) +lean_object* x_589; lean_object* x_590; uint8_t x_591; +x_589 = lean_ctor_get(x_588, 0); +lean_inc(x_589); +x_590 = lean_ctor_get(x_588, 1); +lean_inc(x_590); +lean_dec(x_588); +x_591 = lean_expr_eqv(x_1, x_586); +if (x_591 == 0) { -lean_object* x_1203; +lean_object* x_592; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -83579,41 +79914,17 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_1203 = lean_is_expr_def_eq(x_1197, x_1200, x_5, x_6, x_7, x_8, x_1201); -if (lean_obj_tag(x_1203) == 0) -{ -lean_object* x_1204; lean_object* x_1205; uint8_t x_1206; -x_1204 = lean_ctor_get(x_1203, 0); -lean_inc(x_1204); -x_1205 = lean_ctor_get(x_1203, 1); -lean_inc(x_1205); -lean_dec(x_1203); -x_1206 = lean_unbox(x_1204); -lean_dec(x_1204); -x_1137 = x_1206; -x_1138 = x_1205; -goto block_1144; +x_592 = lean_is_expr_def_eq(x_586, x_589, x_5, x_6, x_7, x_8, x_590); +x_545 = x_592; +goto block_560; } else { -lean_object* x_1207; lean_object* x_1208; -x_1207 = lean_ctor_get(x_1203, 0); -lean_inc(x_1207); -x_1208 = lean_ctor_get(x_1203, 1); -lean_inc(x_1208); -lean_dec(x_1203); -x_1145 = x_1207; -x_1146 = x_1208; -goto block_1151; -} -} -else +uint8_t x_593; +x_593 = lean_expr_eqv(x_2, x_589); +if (x_593 == 0) { -uint8_t x_1209; -x_1209 = lean_expr_eqv(x_2, x_1200); -if (x_1209 == 0) -{ -lean_object* x_1210; +lean_object* x_594; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -83621,706 +79932,482 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_1210 = lean_is_expr_def_eq(x_1197, x_1200, x_5, x_6, x_7, x_8, x_1201); -if (lean_obj_tag(x_1210) == 0) -{ -lean_object* x_1211; lean_object* x_1212; uint8_t x_1213; -x_1211 = lean_ctor_get(x_1210, 0); -lean_inc(x_1211); -x_1212 = lean_ctor_get(x_1210, 1); -lean_inc(x_1212); -lean_dec(x_1210); -x_1213 = lean_unbox(x_1211); -lean_dec(x_1211); -x_1137 = x_1213; -x_1138 = x_1212; -goto block_1144; +x_594 = lean_is_expr_def_eq(x_586, x_589, x_5, x_6, x_7, x_8, x_590); +x_545 = x_594; +goto block_560; } else { -lean_object* x_1214; lean_object* x_1215; -x_1214 = lean_ctor_get(x_1210, 0); -lean_inc(x_1214); -x_1215 = lean_ctor_get(x_1210, 1); -lean_inc(x_1215); -lean_dec(x_1210); -x_1145 = x_1214; -x_1146 = x_1215; -goto block_1151; -} -} -else -{ -lean_object* x_1216; -lean_dec(x_1200); -lean_dec(x_1197); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_1216 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache(x_5, x_6, x_7, x_8, x_1201); -if (lean_obj_tag(x_1216) == 0) -{ -lean_object* x_1217; uint8_t x_1218; -x_1217 = lean_ctor_get(x_1216, 0); -lean_inc(x_1217); -x_1218 = lean_unbox(x_1217); -lean_dec(x_1217); -if (x_1218 == 0) -{ -lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; uint8_t x_1232; -x_1219 = lean_ctor_get(x_1216, 1); -lean_inc(x_1219); -lean_dec(x_1216); -x_1220 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_1, x_5, x_6, x_7, x_8, x_1219); -x_1221 = lean_ctor_get(x_1220, 0); -lean_inc(x_1221); -x_1222 = lean_ctor_get(x_1220, 1); -lean_inc(x_1222); -lean_dec(x_1220); -x_1223 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_2, x_5, x_6, x_7, x_8, x_1222); -x_1224 = lean_ctor_get(x_1223, 0); -lean_inc(x_1224); -x_1225 = lean_ctor_get(x_1223, 1); -lean_inc(x_1225); -lean_dec(x_1223); -x_1226 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_1225); -x_1227 = lean_ctor_get(x_1226, 0); -lean_inc(x_1227); -x_1228 = lean_ctor_get(x_1226, 1); -lean_inc(x_1228); -lean_dec(x_1226); -lean_inc(x_1224); -lean_inc(x_1221); -x_1229 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkCacheKey(x_1221, x_1224); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_1229); -x_1230 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult(x_1229, x_5, x_6, x_7, x_8, x_1228); -x_1231 = lean_ctor_get(x_1230, 0); -lean_inc(x_1231); -x_1232 = lean_unbox(x_1231); -lean_dec(x_1231); -switch (x_1232) { +lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; uint8_t x_607; +lean_dec(x_589); +lean_dec(x_586); +x_595 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_1, x_5, x_6, x_7, x_8, x_590); +x_596 = lean_ctor_get(x_595, 0); +lean_inc(x_596); +x_597 = lean_ctor_get(x_595, 1); +lean_inc(x_597); +lean_dec(x_595); +x_598 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_2, x_5, x_6, x_7, x_8, x_597); +x_599 = lean_ctor_get(x_598, 0); +lean_inc(x_599); +x_600 = lean_ctor_get(x_598, 1); +lean_inc(x_600); +lean_dec(x_598); +x_601 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_600); +x_602 = lean_ctor_get(x_601, 0); +lean_inc(x_602); +x_603 = lean_ctor_get(x_601, 1); +lean_inc(x_603); +lean_dec(x_601); +lean_inc(x_599); +lean_inc(x_596); +x_604 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkCacheKey(x_596, x_599); +lean_inc(x_604); +x_605 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult(x_604, x_5, x_6, x_7, x_8, x_603); +x_606 = lean_ctor_get(x_605, 0); +lean_inc(x_606); +x_607 = lean_unbox(x_606); +lean_dec(x_606); +switch (x_607) { case 0: { -lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; uint8_t x_1237; lean_object* x_1238; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; uint8_t x_1259; -lean_dec(x_1229); -lean_dec(x_1227); -x_1233 = lean_ctor_get(x_1230, 1); -lean_inc(x_1233); -if (lean_is_exclusive(x_1230)) { - lean_ctor_release(x_1230, 0); - lean_ctor_release(x_1230, 1); - x_1234 = x_1230; +lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; uint8_t x_612; lean_object* x_613; lean_object* x_631; lean_object* x_632; lean_object* x_633; uint8_t x_634; +lean_dec(x_604); +lean_dec(x_602); +x_608 = lean_ctor_get(x_605, 1); +lean_inc(x_608); +if (lean_is_exclusive(x_605)) { + lean_ctor_release(x_605, 0); + lean_ctor_release(x_605, 1); + x_609 = x_605; } else { - lean_dec_ref(x_1230); - x_1234 = lean_box(0); + lean_dec_ref(x_605); + x_609 = lean_box(0); } -x_1235 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; -x_1236 = l_Lean_Name_str___override(x_3, x_1235); -x_1256 = lean_st_ref_get(x_8, x_1233); -x_1257 = lean_ctor_get(x_1256, 0); -lean_inc(x_1257); -x_1258 = lean_ctor_get(x_1257, 3); -lean_inc(x_1258); -lean_dec(x_1257); -x_1259 = lean_ctor_get_uint8(x_1258, sizeof(void*)*1); -lean_dec(x_1258); -if (x_1259 == 0) +x_610 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; +x_611 = l_Lean_Name_str___override(x_3, x_610); +x_631 = lean_st_ref_get(x_8, x_608); +x_632 = lean_ctor_get(x_631, 0); +lean_inc(x_632); +x_633 = lean_ctor_get(x_632, 3); +lean_inc(x_633); +lean_dec(x_632); +x_634 = lean_ctor_get_uint8(x_633, sizeof(void*)*1); +lean_dec(x_633); +if (x_634 == 0) { -lean_object* x_1260; -x_1260 = lean_ctor_get(x_1256, 1); -lean_inc(x_1260); -lean_dec(x_1256); -x_1237 = x_1195; -x_1238 = x_1260; -goto block_1255; +lean_object* x_635; +x_635 = lean_ctor_get(x_631, 1); +lean_inc(x_635); +lean_dec(x_631); +x_612 = x_584; +x_613 = x_635; +goto block_630; } else { -lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; uint8_t x_1265; -x_1261 = lean_ctor_get(x_1256, 1); -lean_inc(x_1261); -lean_dec(x_1256); -lean_inc(x_1236); -x_1262 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_1236, x_5, x_6, x_7, x_8, x_1261); -x_1263 = lean_ctor_get(x_1262, 0); -lean_inc(x_1263); -x_1264 = lean_ctor_get(x_1262, 1); -lean_inc(x_1264); -lean_dec(x_1262); -x_1265 = lean_unbox(x_1263); -lean_dec(x_1263); -x_1237 = x_1265; -x_1238 = x_1264; -goto block_1255; +lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; uint8_t x_640; +x_636 = lean_ctor_get(x_631, 1); +lean_inc(x_636); +lean_dec(x_631); +lean_inc(x_611); +x_637 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_611, x_5, x_6, x_7, x_8, x_636); +x_638 = lean_ctor_get(x_637, 0); +lean_inc(x_638); +x_639 = lean_ctor_get(x_637, 1); +lean_inc(x_639); +lean_dec(x_637); +x_640 = lean_unbox(x_638); +lean_dec(x_638); +x_612 = x_640; +x_613 = x_639; +goto block_630; } -block_1255: +block_630: { -if (x_1237 == 0) +if (x_612 == 0) { -lean_object* x_1239; lean_object* x_1240; -lean_dec(x_1236); -lean_dec(x_1224); -lean_dec(x_1221); -x_1239 = lean_box(x_1195); -if (lean_is_scalar(x_1234)) { - x_1240 = lean_alloc_ctor(0, 2, 0); +lean_object* x_614; lean_object* x_615; +lean_dec(x_611); +lean_dec(x_599); +lean_dec(x_596); +x_614 = lean_box(x_584); +if (lean_is_scalar(x_609)) { + x_615 = lean_alloc_ctor(0, 2, 0); } else { - x_1240 = x_1234; + x_615 = x_609; } -lean_ctor_set(x_1240, 0, x_1239); -lean_ctor_set(x_1240, 1, x_1238); -x_1152 = x_1240; -goto block_1167; +lean_ctor_set(x_615, 0, x_614); +lean_ctor_set(x_615, 1, x_613); +x_545 = x_615; +goto block_560; } else { -lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; -lean_dec(x_1234); -x_1241 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1241, 0, x_1221); -x_1242 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__6; -x_1243 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1243, 0, x_1242); -lean_ctor_set(x_1243, 1, x_1241); -x_1244 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_1245 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1245, 0, x_1243); -lean_ctor_set(x_1245, 1, x_1244); -x_1246 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1246, 0, x_1224); -x_1247 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1247, 0, x_1245); -lean_ctor_set(x_1247, 1, x_1246); -x_1248 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_1249 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1249, 0, x_1247); -lean_ctor_set(x_1249, 1, x_1248); -x_1250 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_1236, x_1249, x_5, x_6, x_7, x_8, x_1238); -x_1251 = lean_ctor_get(x_1250, 1); -lean_inc(x_1251); -if (lean_is_exclusive(x_1250)) { - lean_ctor_release(x_1250, 0); - lean_ctor_release(x_1250, 1); - x_1252 = x_1250; +lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; +lean_dec(x_609); +x_616 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_616, 0, x_596); +x_617 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__6; +x_618 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_618, 0, x_617); +lean_ctor_set(x_618, 1, x_616); +x_619 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_620 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_620, 0, x_618); +lean_ctor_set(x_620, 1, x_619); +x_621 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_621, 0, x_599); +x_622 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_622, 0, x_620); +lean_ctor_set(x_622, 1, x_621); +x_623 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_624 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_624, 0, x_622); +lean_ctor_set(x_624, 1, x_623); +x_625 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_611, x_624, x_5, x_6, x_7, x_8, x_613); +x_626 = lean_ctor_get(x_625, 1); +lean_inc(x_626); +if (lean_is_exclusive(x_625)) { + lean_ctor_release(x_625, 0); + lean_ctor_release(x_625, 1); + x_627 = x_625; } else { - lean_dec_ref(x_1250); - x_1252 = lean_box(0); + lean_dec_ref(x_625); + x_627 = lean_box(0); } -x_1253 = lean_box(x_1195); -if (lean_is_scalar(x_1252)) { - x_1254 = lean_alloc_ctor(0, 2, 0); +x_628 = lean_box(x_584); +if (lean_is_scalar(x_627)) { + x_629 = lean_alloc_ctor(0, 2, 0); } else { - x_1254 = x_1252; + x_629 = x_627; } -lean_ctor_set(x_1254, 0, x_1253); -lean_ctor_set(x_1254, 1, x_1251); -x_1152 = x_1254; -goto block_1167; +lean_ctor_set(x_629, 0, x_628); +lean_ctor_set(x_629, 1, x_626); +x_545 = x_629; +goto block_560; } } } case 1: { -lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; uint8_t x_1270; lean_object* x_1271; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; uint8_t x_1294; -lean_dec(x_1229); -lean_dec(x_1227); -x_1266 = lean_ctor_get(x_1230, 1); -lean_inc(x_1266); -if (lean_is_exclusive(x_1230)) { - lean_ctor_release(x_1230, 0); - lean_ctor_release(x_1230, 1); - x_1267 = x_1230; +lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; uint8_t x_645; lean_object* x_646; lean_object* x_666; lean_object* x_667; lean_object* x_668; uint8_t x_669; +lean_dec(x_604); +lean_dec(x_602); +x_641 = lean_ctor_get(x_605, 1); +lean_inc(x_641); +if (lean_is_exclusive(x_605)) { + lean_ctor_release(x_605, 0); + lean_ctor_release(x_605, 1); + x_642 = x_605; } else { - lean_dec_ref(x_1230); - x_1267 = lean_box(0); + lean_dec_ref(x_605); + x_642 = lean_box(0); } -x_1268 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; -x_1269 = l_Lean_Name_str___override(x_3, x_1268); -x_1291 = lean_st_ref_get(x_8, x_1266); -x_1292 = lean_ctor_get(x_1291, 0); -lean_inc(x_1292); -x_1293 = lean_ctor_get(x_1292, 3); -lean_inc(x_1293); -lean_dec(x_1292); -x_1294 = lean_ctor_get_uint8(x_1293, sizeof(void*)*1); -lean_dec(x_1293); -if (x_1294 == 0) +x_643 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; +x_644 = l_Lean_Name_str___override(x_3, x_643); +x_666 = lean_st_ref_get(x_8, x_641); +x_667 = lean_ctor_get(x_666, 0); +lean_inc(x_667); +x_668 = lean_ctor_get(x_667, 3); +lean_inc(x_668); +lean_dec(x_667); +x_669 = lean_ctor_get_uint8(x_668, sizeof(void*)*1); +lean_dec(x_668); +if (x_669 == 0) { -lean_object* x_1295; -x_1295 = lean_ctor_get(x_1291, 1); -lean_inc(x_1295); -lean_dec(x_1291); -x_1270 = x_1195; -x_1271 = x_1295; -goto block_1290; +lean_object* x_670; +x_670 = lean_ctor_get(x_666, 1); +lean_inc(x_670); +lean_dec(x_666); +x_645 = x_584; +x_646 = x_670; +goto block_665; } else { -lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; uint8_t x_1300; -x_1296 = lean_ctor_get(x_1291, 1); -lean_inc(x_1296); -lean_dec(x_1291); -lean_inc(x_1269); -x_1297 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_1269, x_5, x_6, x_7, x_8, x_1296); -x_1298 = lean_ctor_get(x_1297, 0); -lean_inc(x_1298); -x_1299 = lean_ctor_get(x_1297, 1); -lean_inc(x_1299); -lean_dec(x_1297); -x_1300 = lean_unbox(x_1298); -lean_dec(x_1298); -x_1270 = x_1300; -x_1271 = x_1299; -goto block_1290; +lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; uint8_t x_675; +x_671 = lean_ctor_get(x_666, 1); +lean_inc(x_671); +lean_dec(x_666); +lean_inc(x_644); +x_672 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_644, x_5, x_6, x_7, x_8, x_671); +x_673 = lean_ctor_get(x_672, 0); +lean_inc(x_673); +x_674 = lean_ctor_get(x_672, 1); +lean_inc(x_674); +lean_dec(x_672); +x_675 = lean_unbox(x_673); +lean_dec(x_673); +x_645 = x_675; +x_646 = x_674; +goto block_665; } -block_1290: +block_665: { -if (x_1270 == 0) +if (x_645 == 0) { -uint8_t x_1272; lean_object* x_1273; lean_object* x_1274; -lean_dec(x_1269); -lean_dec(x_1224); -lean_dec(x_1221); -x_1272 = 1; -x_1273 = lean_box(x_1272); -if (lean_is_scalar(x_1267)) { - x_1274 = lean_alloc_ctor(0, 2, 0); +uint8_t x_647; lean_object* x_648; lean_object* x_649; +lean_dec(x_644); +lean_dec(x_599); +lean_dec(x_596); +x_647 = 1; +x_648 = lean_box(x_647); +if (lean_is_scalar(x_642)) { + x_649 = lean_alloc_ctor(0, 2, 0); } else { - x_1274 = x_1267; + x_649 = x_642; } -lean_ctor_set(x_1274, 0, x_1273); -lean_ctor_set(x_1274, 1, x_1271); -x_1152 = x_1274; -goto block_1167; +lean_ctor_set(x_649, 0, x_648); +lean_ctor_set(x_649, 1, x_646); +x_545 = x_649; +goto block_560; } else { -lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; uint8_t x_1287; lean_object* x_1288; lean_object* x_1289; -lean_dec(x_1267); -x_1275 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1275, 0, x_1221); -x_1276 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__8; -x_1277 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1277, 0, x_1276); -lean_ctor_set(x_1277, 1, x_1275); -x_1278 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_1279 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1279, 0, x_1277); -lean_ctor_set(x_1279, 1, x_1278); -x_1280 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1280, 0, x_1224); -x_1281 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1281, 0, x_1279); -lean_ctor_set(x_1281, 1, x_1280); -x_1282 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_1283 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1283, 0, x_1281); -lean_ctor_set(x_1283, 1, x_1282); -x_1284 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_1269, x_1283, x_5, x_6, x_7, x_8, x_1271); -x_1285 = lean_ctor_get(x_1284, 1); -lean_inc(x_1285); -if (lean_is_exclusive(x_1284)) { - lean_ctor_release(x_1284, 0); - lean_ctor_release(x_1284, 1); - x_1286 = x_1284; +lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; uint8_t x_662; lean_object* x_663; lean_object* x_664; +lean_dec(x_642); +x_650 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_650, 0, x_596); +x_651 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__8; +x_652 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_652, 0, x_651); +lean_ctor_set(x_652, 1, x_650); +x_653 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_654 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_654, 0, x_652); +lean_ctor_set(x_654, 1, x_653); +x_655 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_655, 0, x_599); +x_656 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_656, 0, x_654); +lean_ctor_set(x_656, 1, x_655); +x_657 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_658 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_658, 0, x_656); +lean_ctor_set(x_658, 1, x_657); +x_659 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_644, x_658, x_5, x_6, x_7, x_8, x_646); +x_660 = lean_ctor_get(x_659, 1); +lean_inc(x_660); +if (lean_is_exclusive(x_659)) { + lean_ctor_release(x_659, 0); + lean_ctor_release(x_659, 1); + x_661 = x_659; } else { - lean_dec_ref(x_1284); - x_1286 = lean_box(0); + lean_dec_ref(x_659); + x_661 = lean_box(0); } -x_1287 = 1; -x_1288 = lean_box(x_1287); -if (lean_is_scalar(x_1286)) { - x_1289 = lean_alloc_ctor(0, 2, 0); +x_662 = 1; +x_663 = lean_box(x_662); +if (lean_is_scalar(x_661)) { + x_664 = lean_alloc_ctor(0, 2, 0); } else { - x_1289 = x_1286; + x_664 = x_661; } -lean_ctor_set(x_1289, 0, x_1288); -lean_ctor_set(x_1289, 1, x_1285); -x_1152 = x_1289; -goto block_1167; +lean_ctor_set(x_664, 0, x_663); +lean_ctor_set(x_664, 1, x_660); +x_545 = x_664; +goto block_560; } } } default: { -lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; uint8_t x_1308; uint8_t x_1309; lean_object* x_1310; lean_object* x_1365; lean_object* x_1366; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; -x_1301 = lean_ctor_get(x_1230, 1); -lean_inc(x_1301); -lean_dec(x_1230); -x_1302 = lean_st_ref_get(x_8, x_1301); -x_1303 = lean_ctor_get(x_1302, 1); -lean_inc(x_1303); -lean_dec(x_1302); -x_1304 = lean_st_ref_get(x_6, x_1303); -x_1305 = lean_ctor_get(x_1304, 0); -lean_inc(x_1305); -x_1306 = lean_ctor_get(x_1304, 1); -lean_inc(x_1306); -lean_dec(x_1304); -x_1307 = lean_ctor_get(x_1305, 0); -lean_inc(x_1307); -lean_dec(x_1305); -x_1308 = lean_ctor_get_uint8(x_1307, sizeof(void*)*8); -lean_dec(x_1307); -x_1415 = lean_st_ref_get(x_8, x_1306); -x_1416 = lean_ctor_get(x_1415, 1); -lean_inc(x_1416); -lean_dec(x_1415); -x_1417 = lean_st_ref_take(x_6, x_1416); -x_1418 = lean_ctor_get(x_1417, 0); -lean_inc(x_1418); -x_1419 = lean_ctor_get(x_1418, 0); -lean_inc(x_1419); -x_1420 = lean_ctor_get(x_1417, 1); -lean_inc(x_1420); -lean_dec(x_1417); -x_1421 = lean_ctor_get(x_1418, 1); -lean_inc(x_1421); -x_1422 = lean_ctor_get(x_1418, 2); -lean_inc(x_1422); -x_1423 = lean_ctor_get(x_1418, 3); -lean_inc(x_1423); -if (lean_is_exclusive(x_1418)) { - lean_ctor_release(x_1418, 0); - lean_ctor_release(x_1418, 1); - lean_ctor_release(x_1418, 2); - lean_ctor_release(x_1418, 3); - x_1424 = x_1418; -} else { - lean_dec_ref(x_1418); - x_1424 = lean_box(0); -} -x_1425 = lean_ctor_get(x_1419, 0); -lean_inc(x_1425); -x_1426 = lean_ctor_get(x_1419, 1); -lean_inc(x_1426); -x_1427 = lean_ctor_get(x_1419, 2); -lean_inc(x_1427); -x_1428 = lean_ctor_get(x_1419, 3); -lean_inc(x_1428); -x_1429 = lean_ctor_get(x_1419, 4); -lean_inc(x_1429); -x_1430 = lean_ctor_get(x_1419, 5); -lean_inc(x_1430); -x_1431 = lean_ctor_get(x_1419, 6); -lean_inc(x_1431); -x_1432 = lean_ctor_get(x_1419, 7); -lean_inc(x_1432); -if (lean_is_exclusive(x_1419)) { - lean_ctor_release(x_1419, 0); - lean_ctor_release(x_1419, 1); - lean_ctor_release(x_1419, 2); - lean_ctor_release(x_1419, 3); - lean_ctor_release(x_1419, 4); - lean_ctor_release(x_1419, 5); - lean_ctor_release(x_1419, 6); - lean_ctor_release(x_1419, 7); - x_1433 = x_1419; -} else { - lean_dec_ref(x_1419); - x_1433 = lean_box(0); -} -if (lean_is_scalar(x_1433)) { - x_1434 = lean_alloc_ctor(0, 8, 1); -} else { - x_1434 = x_1433; -} -lean_ctor_set(x_1434, 0, x_1425); -lean_ctor_set(x_1434, 1, x_1426); -lean_ctor_set(x_1434, 2, x_1427); -lean_ctor_set(x_1434, 3, x_1428); -lean_ctor_set(x_1434, 4, x_1429); -lean_ctor_set(x_1434, 5, x_1430); -lean_ctor_set(x_1434, 6, x_1431); -lean_ctor_set(x_1434, 7, x_1432); -lean_ctor_set_uint8(x_1434, sizeof(void*)*8, x_1195); -if (lean_is_scalar(x_1424)) { - x_1435 = lean_alloc_ctor(0, 4, 0); -} else { - x_1435 = x_1424; -} -lean_ctor_set(x_1435, 0, x_1434); -lean_ctor_set(x_1435, 1, x_1421); -lean_ctor_set(x_1435, 2, x_1422); -lean_ctor_set(x_1435, 3, x_1423); -x_1436 = lean_st_ref_set(x_6, x_1435, x_1420); -x_1437 = lean_ctor_get(x_1436, 1); -lean_inc(x_1437); -lean_dec(x_1436); +lean_object* x_676; lean_object* x_677; +x_676 = lean_ctor_get(x_605, 1); +lean_inc(x_676); +lean_dec(x_605); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_1224); -lean_inc(x_1221); -x_1438 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(x_1221, x_1224, x_5, x_6, x_7, x_8, x_1437); -if (lean_obj_tag(x_1438) == 0) +lean_inc(x_599); +lean_inc(x_596); +x_677 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(x_596, x_599, x_5, x_6, x_7, x_8, x_676); +if (lean_obj_tag(x_677) == 0) { -lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; uint8_t x_1451; -x_1439 = lean_ctor_get(x_1438, 0); -lean_inc(x_1439); -x_1440 = lean_ctor_get(x_1438, 1); -lean_inc(x_1440); -lean_dec(x_1438); -x_1441 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_1440); -x_1442 = lean_ctor_get(x_1441, 0); -lean_inc(x_1442); -x_1443 = lean_ctor_get(x_1441, 1); -lean_inc(x_1443); -lean_dec(x_1441); -x_1444 = lean_st_ref_get(x_8, x_1443); -x_1445 = lean_ctor_get(x_1444, 1); -lean_inc(x_1445); -lean_dec(x_1444); -x_1446 = lean_st_ref_get(x_6, x_1445); -x_1447 = lean_ctor_get(x_1446, 0); -lean_inc(x_1447); -x_1448 = lean_ctor_get(x_1446, 1); -lean_inc(x_1448); -lean_dec(x_1446); -x_1449 = lean_ctor_get(x_1447, 0); -lean_inc(x_1449); -lean_dec(x_1447); -lean_inc(x_1439); -x_1450 = lean_alloc_closure((void*)(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___lambda__1___boxed), 7, 1); -lean_closure_set(x_1450, 0, x_1439); -x_1451 = lean_nat_dec_eq(x_1227, x_1442); -lean_dec(x_1442); -lean_dec(x_1227); -if (x_1451 == 0) +lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; uint8_t x_685; +x_678 = lean_ctor_get(x_677, 0); +lean_inc(x_678); +x_679 = lean_ctor_get(x_677, 1); +lean_inc(x_679); +lean_dec(x_677); +x_680 = l_Lean_Meta_getNumPostponed___rarg(x_6, x_7, x_8, x_679); +x_681 = lean_ctor_get(x_680, 0); +lean_inc(x_681); +x_682 = lean_ctor_get(x_680, 1); +lean_inc(x_682); +if (lean_is_exclusive(x_680)) { + lean_ctor_release(x_680, 0); + lean_ctor_release(x_680, 1); + x_683 = x_680; +} else { + lean_dec_ref(x_680); + x_683 = lean_box(0); +} +lean_inc(x_678); +x_684 = lean_alloc_closure((void*)(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_tryHeuristic___spec__1___lambda__1___boxed), 7, 1); +lean_closure_set(x_684, 0, x_678); +x_685 = lean_nat_dec_eq(x_602, x_681); +lean_dec(x_681); +lean_dec(x_602); +if (x_685 == 0) { -uint8_t x_1452; -lean_dec(x_1450); -lean_dec(x_1449); -lean_dec(x_1229); -lean_dec(x_1224); -lean_dec(x_1221); +lean_object* x_686; +lean_dec(x_684); +lean_dec(x_604); +lean_dec(x_599); +lean_dec(x_596); lean_dec(x_3); -x_1452 = lean_unbox(x_1439); -lean_dec(x_1439); -x_1309 = x_1452; -x_1310 = x_1448; -goto block_1364; +if (lean_is_scalar(x_683)) { + x_686 = lean_alloc_ctor(0, 2, 0); +} else { + x_686 = x_683; +} +lean_ctor_set(x_686, 0, x_678); +lean_ctor_set(x_686, 1, x_682); +x_545 = x_686; +goto block_560; } else { -uint8_t x_1453; -x_1453 = lean_ctor_get_uint8(x_1449, sizeof(void*)*8); -lean_dec(x_1449); -if (x_1453 == 0) +lean_object* x_687; lean_object* x_688; uint8_t x_689; lean_object* x_690; lean_object* x_722; lean_object* x_723; lean_object* x_724; uint8_t x_725; +lean_dec(x_683); +x_687 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; +x_688 = l_Lean_Name_str___override(x_3, x_687); +x_722 = lean_st_ref_get(x_8, x_682); +x_723 = lean_ctor_get(x_722, 0); +lean_inc(x_723); +x_724 = lean_ctor_get(x_723, 3); +lean_inc(x_724); +lean_dec(x_723); +x_725 = lean_ctor_get_uint8(x_724, sizeof(void*)*1); +lean_dec(x_724); +if (x_725 == 0) { -lean_object* x_1454; lean_object* x_1455; uint8_t x_1456; lean_object* x_1457; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; uint8_t x_1507; -x_1454 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__4; -x_1455 = l_Lean_Name_str___override(x_3, x_1454); -x_1504 = lean_st_ref_get(x_8, x_1448); -x_1505 = lean_ctor_get(x_1504, 0); -lean_inc(x_1505); -x_1506 = lean_ctor_get(x_1505, 3); -lean_inc(x_1506); -lean_dec(x_1505); -x_1507 = lean_ctor_get_uint8(x_1506, sizeof(void*)*1); -lean_dec(x_1506); -if (x_1507 == 0) -{ -lean_object* x_1508; -x_1508 = lean_ctor_get(x_1504, 1); -lean_inc(x_1508); -lean_dec(x_1504); -x_1456 = x_1195; -x_1457 = x_1508; -goto block_1503; +lean_object* x_726; +x_726 = lean_ctor_get(x_722, 1); +lean_inc(x_726); +lean_dec(x_722); +x_689 = x_584; +x_690 = x_726; +goto block_721; } else { -lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; uint8_t x_1513; -x_1509 = lean_ctor_get(x_1504, 1); -lean_inc(x_1509); -lean_dec(x_1504); -lean_inc(x_1455); -x_1510 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_1455, x_5, x_6, x_7, x_8, x_1509); -x_1511 = lean_ctor_get(x_1510, 0); -lean_inc(x_1511); -x_1512 = lean_ctor_get(x_1510, 1); -lean_inc(x_1512); -lean_dec(x_1510); -x_1513 = lean_unbox(x_1511); -lean_dec(x_1511); -x_1456 = x_1513; -x_1457 = x_1512; -goto block_1503; +lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; uint8_t x_731; +x_727 = lean_ctor_get(x_722, 1); +lean_inc(x_727); +lean_dec(x_722); +lean_inc(x_688); +x_728 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_688, x_5, x_6, x_7, x_8, x_727); +x_729 = lean_ctor_get(x_728, 0); +lean_inc(x_729); +x_730 = lean_ctor_get(x_728, 1); +lean_inc(x_730); +lean_dec(x_728); +x_731 = lean_unbox(x_729); +lean_dec(x_729); +x_689 = x_731; +x_690 = x_730; +goto block_721; } -block_1503: +block_721: { -if (x_1456 == 0) +if (x_689 == 0) { -lean_object* x_1458; uint8_t x_1459; lean_object* x_1460; -lean_dec(x_1455); -lean_dec(x_1224); -lean_dec(x_1221); -x_1458 = lean_box(0); -x_1459 = lean_unbox(x_1439); -lean_dec(x_1439); +lean_object* x_691; uint8_t x_692; lean_object* x_693; +lean_dec(x_688); +lean_dec(x_599); +lean_dec(x_596); +x_691 = lean_box(0); +x_692 = lean_unbox(x_678); +lean_dec(x_678); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_1460 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_1229, x_1459, x_1450, x_1458, x_5, x_6, x_7, x_8, x_1457); -if (lean_obj_tag(x_1460) == 0) -{ -lean_object* x_1461; lean_object* x_1462; uint8_t x_1463; -x_1461 = lean_ctor_get(x_1460, 0); -lean_inc(x_1461); -x_1462 = lean_ctor_get(x_1460, 1); -lean_inc(x_1462); -lean_dec(x_1460); -x_1463 = lean_unbox(x_1461); -lean_dec(x_1461); -x_1309 = x_1463; -x_1310 = x_1462; -goto block_1364; +x_693 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_604, x_692, x_684, x_691, x_5, x_6, x_7, x_8, x_690); +x_545 = x_693; +goto block_560; } else { -lean_object* x_1464; lean_object* x_1465; -x_1464 = lean_ctor_get(x_1460, 0); -lean_inc(x_1464); -x_1465 = lean_ctor_get(x_1460, 1); -lean_inc(x_1465); -lean_dec(x_1460); -x_1365 = x_1464; -x_1366 = x_1465; -goto block_1414; -} -} -else +lean_object* x_694; lean_object* x_695; uint8_t x_696; +x_694 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_694, 0, x_596); +x_695 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_695, 0, x_599); +x_696 = lean_unbox(x_678); +if (x_696 == 0) { -lean_object* x_1466; lean_object* x_1467; uint8_t x_1468; -x_1466 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1466, 0, x_1221); -x_1467 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1467, 0, x_1224); -x_1468 = lean_unbox(x_1439); -if (x_1468 == 0) -{ -lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; uint8_t x_1479; lean_object* x_1480; -x_1469 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__17; -x_1470 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1470, 0, x_1469); -lean_ctor_set(x_1470, 1, x_1466); -x_1471 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_1472 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1472, 0, x_1470); -lean_ctor_set(x_1472, 1, x_1471); -x_1473 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1473, 0, x_1472); -lean_ctor_set(x_1473, 1, x_1467); -x_1474 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_1475 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1475, 0, x_1473); -lean_ctor_set(x_1475, 1, x_1474); -x_1476 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_1455, x_1475, x_5, x_6, x_7, x_8, x_1457); -x_1477 = lean_ctor_get(x_1476, 0); -lean_inc(x_1477); -x_1478 = lean_ctor_get(x_1476, 1); -lean_inc(x_1478); -lean_dec(x_1476); -x_1479 = lean_unbox(x_1439); -lean_dec(x_1439); +lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; uint8_t x_707; lean_object* x_708; +x_697 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__17; +x_698 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_698, 0, x_697); +lean_ctor_set(x_698, 1, x_694); +x_699 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_700 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_700, 0, x_698); +lean_ctor_set(x_700, 1, x_699); +x_701 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_701, 0, x_700); +lean_ctor_set(x_701, 1, x_695); +x_702 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_703 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_703, 0, x_701); +lean_ctor_set(x_703, 1, x_702); +x_704 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_688, x_703, x_5, x_6, x_7, x_8, x_690); +x_705 = lean_ctor_get(x_704, 0); +lean_inc(x_705); +x_706 = lean_ctor_get(x_704, 1); +lean_inc(x_706); +lean_dec(x_704); +x_707 = lean_unbox(x_678); +lean_dec(x_678); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_1480 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_1229, x_1479, x_1450, x_1477, x_5, x_6, x_7, x_8, x_1478); -lean_dec(x_1477); -if (lean_obj_tag(x_1480) == 0) -{ -lean_object* x_1481; lean_object* x_1482; uint8_t x_1483; -x_1481 = lean_ctor_get(x_1480, 0); -lean_inc(x_1481); -x_1482 = lean_ctor_get(x_1480, 1); -lean_inc(x_1482); -lean_dec(x_1480); -x_1483 = lean_unbox(x_1481); -lean_dec(x_1481); -x_1309 = x_1483; -x_1310 = x_1482; -goto block_1364; +x_708 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_604, x_707, x_684, x_705, x_5, x_6, x_7, x_8, x_706); +lean_dec(x_705); +x_545 = x_708; +goto block_560; } else { -lean_object* x_1484; lean_object* x_1485; -x_1484 = lean_ctor_get(x_1480, 0); -lean_inc(x_1484); -x_1485 = lean_ctor_get(x_1480, 1); -lean_inc(x_1485); -lean_dec(x_1480); -x_1365 = x_1484; -x_1366 = x_1485; -goto block_1414; -} -} -else -{ -lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; uint8_t x_1496; lean_object* x_1497; -x_1486 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__22; -x_1487 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1487, 0, x_1486); -lean_ctor_set(x_1487, 1, x_1466); -x_1488 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; -x_1489 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1489, 0, x_1487); -lean_ctor_set(x_1489, 1, x_1488); -x_1490 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1490, 0, x_1489); -lean_ctor_set(x_1490, 1, x_1467); -x_1491 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; -x_1492 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1492, 0, x_1490); -lean_ctor_set(x_1492, 1, x_1491); -x_1493 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_1455, x_1492, x_5, x_6, x_7, x_8, x_1457); -x_1494 = lean_ctor_get(x_1493, 0); -lean_inc(x_1494); -x_1495 = lean_ctor_get(x_1493, 1); -lean_inc(x_1495); -lean_dec(x_1493); -x_1496 = lean_unbox(x_1439); -lean_dec(x_1439); +lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; uint8_t x_719; lean_object* x_720; +x_709 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__22; +x_710 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_710, 0, x_709); +lean_ctor_set(x_710, 1, x_694); +x_711 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__10; +x_712 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_712, 0, x_710); +lean_ctor_set(x_712, 1, x_711); +x_713 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_713, 0, x_712); +lean_ctor_set(x_713, 1, x_695); +x_714 = l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___lambda__2___closed__9; +x_715 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_715, 0, x_713); +lean_ctor_set(x_715, 1, x_714); +x_716 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_688, x_715, x_5, x_6, x_7, x_8, x_690); +x_717 = lean_ctor_get(x_716, 0); +lean_inc(x_717); +x_718 = lean_ctor_get(x_716, 1); +lean_inc(x_718); +lean_dec(x_716); +x_719 = lean_unbox(x_678); +lean_dec(x_678); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_1497 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_1229, x_1496, x_1450, x_1494, x_5, x_6, x_7, x_8, x_1495); -lean_dec(x_1494); -if (lean_obj_tag(x_1497) == 0) -{ -lean_object* x_1498; lean_object* x_1499; uint8_t x_1500; -x_1498 = lean_ctor_get(x_1497, 0); -lean_inc(x_1498); -x_1499 = lean_ctor_get(x_1497, 1); -lean_inc(x_1499); -lean_dec(x_1497); -x_1500 = lean_unbox(x_1498); -lean_dec(x_1498); -x_1309 = x_1500; -x_1310 = x_1499; -goto block_1364; -} -else -{ -lean_object* x_1501; lean_object* x_1502; -x_1501 = lean_ctor_get(x_1497, 0); -lean_inc(x_1501); -x_1502 = lean_ctor_get(x_1497, 1); -lean_inc(x_1502); -lean_dec(x_1497); -x_1365 = x_1501; -x_1366 = x_1502; -goto block_1414; +x_720 = l_Lean_Meta_isExprDefEqAuxImpl___lambda__1(x_604, x_719, x_684, x_717, x_5, x_6, x_7, x_8, x_718); +lean_dec(x_717); +x_545 = x_720; +goto block_560; } } } @@ -84328,461 +80415,34 @@ goto block_1414; } else { -uint8_t x_1514; -lean_dec(x_1450); -lean_dec(x_1229); -lean_dec(x_1224); -lean_dec(x_1221); +lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; +lean_dec(x_604); +lean_dec(x_602); +lean_dec(x_599); +lean_dec(x_596); lean_dec(x_3); -x_1514 = lean_unbox(x_1439); -lean_dec(x_1439); -x_1309 = x_1514; -x_1310 = x_1448; -goto block_1364; -} -} -} -else -{ -lean_object* x_1515; lean_object* x_1516; -lean_dec(x_1229); -lean_dec(x_1227); -lean_dec(x_1224); -lean_dec(x_1221); -lean_dec(x_3); -x_1515 = lean_ctor_get(x_1438, 0); -lean_inc(x_1515); -x_1516 = lean_ctor_get(x_1438, 1); -lean_inc(x_1516); -lean_dec(x_1438); -x_1365 = x_1515; -x_1366 = x_1516; -goto block_1414; -} -block_1364: -{ -lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; -x_1311 = lean_st_ref_get(x_8, x_1310); -x_1312 = lean_ctor_get(x_1311, 1); -lean_inc(x_1312); -lean_dec(x_1311); -x_1313 = lean_st_ref_take(x_6, x_1312); -x_1314 = lean_ctor_get(x_1313, 0); -lean_inc(x_1314); -x_1315 = lean_ctor_get(x_1314, 0); -lean_inc(x_1315); -if (x_1308 == 0) -{ -lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; uint8_t x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; -x_1316 = lean_ctor_get(x_1313, 1); -lean_inc(x_1316); -lean_dec(x_1313); -x_1317 = lean_ctor_get(x_1314, 1); -lean_inc(x_1317); -x_1318 = lean_ctor_get(x_1314, 2); -lean_inc(x_1318); -x_1319 = lean_ctor_get(x_1314, 3); -lean_inc(x_1319); -if (lean_is_exclusive(x_1314)) { - lean_ctor_release(x_1314, 0); - lean_ctor_release(x_1314, 1); - lean_ctor_release(x_1314, 2); - lean_ctor_release(x_1314, 3); - x_1320 = x_1314; +x_732 = lean_ctor_get(x_677, 0); +lean_inc(x_732); +x_733 = lean_ctor_get(x_677, 1); +lean_inc(x_733); +if (lean_is_exclusive(x_677)) { + lean_ctor_release(x_677, 0); + lean_ctor_release(x_677, 1); + x_734 = x_677; } else { - lean_dec_ref(x_1314); - x_1320 = lean_box(0); + lean_dec_ref(x_677); + x_734 = lean_box(0); } -x_1321 = lean_ctor_get(x_1315, 0); -lean_inc(x_1321); -x_1322 = lean_ctor_get(x_1315, 1); -lean_inc(x_1322); -x_1323 = lean_ctor_get(x_1315, 2); -lean_inc(x_1323); -x_1324 = lean_ctor_get(x_1315, 3); -lean_inc(x_1324); -x_1325 = lean_ctor_get(x_1315, 4); -lean_inc(x_1325); -x_1326 = lean_ctor_get(x_1315, 5); -lean_inc(x_1326); -x_1327 = lean_ctor_get(x_1315, 6); -lean_inc(x_1327); -x_1328 = lean_ctor_get(x_1315, 7); -lean_inc(x_1328); -x_1329 = lean_ctor_get_uint8(x_1315, sizeof(void*)*8); -if (lean_is_exclusive(x_1315)) { - lean_ctor_release(x_1315, 0); - lean_ctor_release(x_1315, 1); - lean_ctor_release(x_1315, 2); - lean_ctor_release(x_1315, 3); - lean_ctor_release(x_1315, 4); - lean_ctor_release(x_1315, 5); - lean_ctor_release(x_1315, 6); - lean_ctor_release(x_1315, 7); - x_1330 = x_1315; +if (lean_is_scalar(x_734)) { + x_735 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_1315); - x_1330 = lean_box(0); + x_735 = x_734; } -if (lean_is_scalar(x_1330)) { - x_1331 = lean_alloc_ctor(0, 8, 1); -} else { - x_1331 = x_1330; +lean_ctor_set(x_735, 0, x_732); +lean_ctor_set(x_735, 1, x_733); +x_545 = x_735; +goto block_560; } -lean_ctor_set(x_1331, 0, x_1321); -lean_ctor_set(x_1331, 1, x_1322); -lean_ctor_set(x_1331, 2, x_1323); -lean_ctor_set(x_1331, 3, x_1324); -lean_ctor_set(x_1331, 4, x_1325); -lean_ctor_set(x_1331, 5, x_1326); -lean_ctor_set(x_1331, 6, x_1327); -lean_ctor_set(x_1331, 7, x_1328); -lean_ctor_set_uint8(x_1331, sizeof(void*)*8, x_1329); -if (lean_is_scalar(x_1320)) { - x_1332 = lean_alloc_ctor(0, 4, 0); -} else { - x_1332 = x_1320; -} -lean_ctor_set(x_1332, 0, x_1331); -lean_ctor_set(x_1332, 1, x_1317); -lean_ctor_set(x_1332, 2, x_1318); -lean_ctor_set(x_1332, 3, x_1319); -x_1333 = lean_st_ref_set(x_6, x_1332, x_1316); -x_1334 = lean_ctor_get(x_1333, 1); -lean_inc(x_1334); -if (lean_is_exclusive(x_1333)) { - lean_ctor_release(x_1333, 0); - lean_ctor_release(x_1333, 1); - x_1335 = x_1333; -} else { - lean_dec_ref(x_1333); - x_1335 = lean_box(0); -} -x_1336 = lean_box(0); -x_1337 = lean_box(x_1309); -x_1338 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1338, 0, x_1337); -lean_ctor_set(x_1338, 1, x_1336); -if (lean_is_scalar(x_1335)) { - x_1339 = lean_alloc_ctor(0, 2, 0); -} else { - x_1339 = x_1335; -} -lean_ctor_set(x_1339, 0, x_1338); -lean_ctor_set(x_1339, 1, x_1334); -x_1168 = x_1339; -goto block_1178; -} -else -{ -lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; uint8_t x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; -x_1340 = lean_ctor_get(x_1313, 1); -lean_inc(x_1340); -lean_dec(x_1313); -x_1341 = lean_ctor_get(x_1314, 1); -lean_inc(x_1341); -x_1342 = lean_ctor_get(x_1314, 2); -lean_inc(x_1342); -x_1343 = lean_ctor_get(x_1314, 3); -lean_inc(x_1343); -if (lean_is_exclusive(x_1314)) { - lean_ctor_release(x_1314, 0); - lean_ctor_release(x_1314, 1); - lean_ctor_release(x_1314, 2); - lean_ctor_release(x_1314, 3); - x_1344 = x_1314; -} else { - lean_dec_ref(x_1314); - x_1344 = lean_box(0); -} -x_1345 = lean_ctor_get(x_1315, 0); -lean_inc(x_1345); -x_1346 = lean_ctor_get(x_1315, 1); -lean_inc(x_1346); -x_1347 = lean_ctor_get(x_1315, 2); -lean_inc(x_1347); -x_1348 = lean_ctor_get(x_1315, 3); -lean_inc(x_1348); -x_1349 = lean_ctor_get(x_1315, 4); -lean_inc(x_1349); -x_1350 = lean_ctor_get(x_1315, 5); -lean_inc(x_1350); -x_1351 = lean_ctor_get(x_1315, 6); -lean_inc(x_1351); -x_1352 = lean_ctor_get(x_1315, 7); -lean_inc(x_1352); -if (lean_is_exclusive(x_1315)) { - lean_ctor_release(x_1315, 0); - lean_ctor_release(x_1315, 1); - lean_ctor_release(x_1315, 2); - lean_ctor_release(x_1315, 3); - lean_ctor_release(x_1315, 4); - lean_ctor_release(x_1315, 5); - lean_ctor_release(x_1315, 6); - lean_ctor_release(x_1315, 7); - x_1353 = x_1315; -} else { - lean_dec_ref(x_1315); - x_1353 = lean_box(0); -} -x_1354 = 1; -if (lean_is_scalar(x_1353)) { - x_1355 = lean_alloc_ctor(0, 8, 1); -} else { - x_1355 = x_1353; -} -lean_ctor_set(x_1355, 0, x_1345); -lean_ctor_set(x_1355, 1, x_1346); -lean_ctor_set(x_1355, 2, x_1347); -lean_ctor_set(x_1355, 3, x_1348); -lean_ctor_set(x_1355, 4, x_1349); -lean_ctor_set(x_1355, 5, x_1350); -lean_ctor_set(x_1355, 6, x_1351); -lean_ctor_set(x_1355, 7, x_1352); -lean_ctor_set_uint8(x_1355, sizeof(void*)*8, x_1354); -if (lean_is_scalar(x_1344)) { - x_1356 = lean_alloc_ctor(0, 4, 0); -} else { - x_1356 = x_1344; -} -lean_ctor_set(x_1356, 0, x_1355); -lean_ctor_set(x_1356, 1, x_1341); -lean_ctor_set(x_1356, 2, x_1342); -lean_ctor_set(x_1356, 3, x_1343); -x_1357 = lean_st_ref_set(x_6, x_1356, x_1340); -x_1358 = lean_ctor_get(x_1357, 1); -lean_inc(x_1358); -if (lean_is_exclusive(x_1357)) { - lean_ctor_release(x_1357, 0); - lean_ctor_release(x_1357, 1); - x_1359 = x_1357; -} else { - lean_dec_ref(x_1357); - x_1359 = lean_box(0); -} -x_1360 = lean_box(0); -x_1361 = lean_box(x_1309); -x_1362 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1362, 0, x_1361); -lean_ctor_set(x_1362, 1, x_1360); -if (lean_is_scalar(x_1359)) { - x_1363 = lean_alloc_ctor(0, 2, 0); -} else { - x_1363 = x_1359; -} -lean_ctor_set(x_1363, 0, x_1362); -lean_ctor_set(x_1363, 1, x_1358); -x_1168 = x_1363; -goto block_1178; -} -} -block_1414: -{ -lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; -x_1367 = lean_st_ref_get(x_8, x_1366); -x_1368 = lean_ctor_get(x_1367, 1); -lean_inc(x_1368); -lean_dec(x_1367); -x_1369 = lean_st_ref_take(x_6, x_1368); -x_1370 = lean_ctor_get(x_1369, 0); -lean_inc(x_1370); -x_1371 = lean_ctor_get(x_1370, 0); -lean_inc(x_1371); -if (x_1308 == 0) -{ -lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; uint8_t x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; -x_1372 = lean_ctor_get(x_1369, 1); -lean_inc(x_1372); -lean_dec(x_1369); -x_1373 = lean_ctor_get(x_1370, 1); -lean_inc(x_1373); -x_1374 = lean_ctor_get(x_1370, 2); -lean_inc(x_1374); -x_1375 = lean_ctor_get(x_1370, 3); -lean_inc(x_1375); -if (lean_is_exclusive(x_1370)) { - lean_ctor_release(x_1370, 0); - lean_ctor_release(x_1370, 1); - lean_ctor_release(x_1370, 2); - lean_ctor_release(x_1370, 3); - x_1376 = x_1370; -} else { - lean_dec_ref(x_1370); - x_1376 = lean_box(0); -} -x_1377 = lean_ctor_get(x_1371, 0); -lean_inc(x_1377); -x_1378 = lean_ctor_get(x_1371, 1); -lean_inc(x_1378); -x_1379 = lean_ctor_get(x_1371, 2); -lean_inc(x_1379); -x_1380 = lean_ctor_get(x_1371, 3); -lean_inc(x_1380); -x_1381 = lean_ctor_get(x_1371, 4); -lean_inc(x_1381); -x_1382 = lean_ctor_get(x_1371, 5); -lean_inc(x_1382); -x_1383 = lean_ctor_get(x_1371, 6); -lean_inc(x_1383); -x_1384 = lean_ctor_get(x_1371, 7); -lean_inc(x_1384); -x_1385 = lean_ctor_get_uint8(x_1371, sizeof(void*)*8); -if (lean_is_exclusive(x_1371)) { - lean_ctor_release(x_1371, 0); - lean_ctor_release(x_1371, 1); - lean_ctor_release(x_1371, 2); - lean_ctor_release(x_1371, 3); - lean_ctor_release(x_1371, 4); - lean_ctor_release(x_1371, 5); - lean_ctor_release(x_1371, 6); - lean_ctor_release(x_1371, 7); - x_1386 = x_1371; -} else { - lean_dec_ref(x_1371); - x_1386 = lean_box(0); -} -if (lean_is_scalar(x_1386)) { - x_1387 = lean_alloc_ctor(0, 8, 1); -} else { - x_1387 = x_1386; -} -lean_ctor_set(x_1387, 0, x_1377); -lean_ctor_set(x_1387, 1, x_1378); -lean_ctor_set(x_1387, 2, x_1379); -lean_ctor_set(x_1387, 3, x_1380); -lean_ctor_set(x_1387, 4, x_1381); -lean_ctor_set(x_1387, 5, x_1382); -lean_ctor_set(x_1387, 6, x_1383); -lean_ctor_set(x_1387, 7, x_1384); -lean_ctor_set_uint8(x_1387, sizeof(void*)*8, x_1385); -if (lean_is_scalar(x_1376)) { - x_1388 = lean_alloc_ctor(0, 4, 0); -} else { - x_1388 = x_1376; -} -lean_ctor_set(x_1388, 0, x_1387); -lean_ctor_set(x_1388, 1, x_1373); -lean_ctor_set(x_1388, 2, x_1374); -lean_ctor_set(x_1388, 3, x_1375); -x_1389 = lean_st_ref_set(x_6, x_1388, x_1372); -x_1390 = lean_ctor_get(x_1389, 1); -lean_inc(x_1390); -if (lean_is_exclusive(x_1389)) { - lean_ctor_release(x_1389, 0); - lean_ctor_release(x_1389, 1); - x_1391 = x_1389; -} else { - lean_dec_ref(x_1389); - x_1391 = lean_box(0); -} -if (lean_is_scalar(x_1391)) { - x_1392 = lean_alloc_ctor(1, 2, 0); -} else { - x_1392 = x_1391; - lean_ctor_set_tag(x_1392, 1); -} -lean_ctor_set(x_1392, 0, x_1365); -lean_ctor_set(x_1392, 1, x_1390); -x_1168 = x_1392; -goto block_1178; -} -else -{ -lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; uint8_t x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; -x_1393 = lean_ctor_get(x_1369, 1); -lean_inc(x_1393); -lean_dec(x_1369); -x_1394 = lean_ctor_get(x_1370, 1); -lean_inc(x_1394); -x_1395 = lean_ctor_get(x_1370, 2); -lean_inc(x_1395); -x_1396 = lean_ctor_get(x_1370, 3); -lean_inc(x_1396); -if (lean_is_exclusive(x_1370)) { - lean_ctor_release(x_1370, 0); - lean_ctor_release(x_1370, 1); - lean_ctor_release(x_1370, 2); - lean_ctor_release(x_1370, 3); - x_1397 = x_1370; -} else { - lean_dec_ref(x_1370); - x_1397 = lean_box(0); -} -x_1398 = lean_ctor_get(x_1371, 0); -lean_inc(x_1398); -x_1399 = lean_ctor_get(x_1371, 1); -lean_inc(x_1399); -x_1400 = lean_ctor_get(x_1371, 2); -lean_inc(x_1400); -x_1401 = lean_ctor_get(x_1371, 3); -lean_inc(x_1401); -x_1402 = lean_ctor_get(x_1371, 4); -lean_inc(x_1402); -x_1403 = lean_ctor_get(x_1371, 5); -lean_inc(x_1403); -x_1404 = lean_ctor_get(x_1371, 6); -lean_inc(x_1404); -x_1405 = lean_ctor_get(x_1371, 7); -lean_inc(x_1405); -if (lean_is_exclusive(x_1371)) { - lean_ctor_release(x_1371, 0); - lean_ctor_release(x_1371, 1); - lean_ctor_release(x_1371, 2); - lean_ctor_release(x_1371, 3); - lean_ctor_release(x_1371, 4); - lean_ctor_release(x_1371, 5); - lean_ctor_release(x_1371, 6); - lean_ctor_release(x_1371, 7); - x_1406 = x_1371; -} else { - lean_dec_ref(x_1371); - x_1406 = lean_box(0); -} -x_1407 = 1; -if (lean_is_scalar(x_1406)) { - x_1408 = lean_alloc_ctor(0, 8, 1); -} else { - x_1408 = x_1406; -} -lean_ctor_set(x_1408, 0, x_1398); -lean_ctor_set(x_1408, 1, x_1399); -lean_ctor_set(x_1408, 2, x_1400); -lean_ctor_set(x_1408, 3, x_1401); -lean_ctor_set(x_1408, 4, x_1402); -lean_ctor_set(x_1408, 5, x_1403); -lean_ctor_set(x_1408, 6, x_1404); -lean_ctor_set(x_1408, 7, x_1405); -lean_ctor_set_uint8(x_1408, sizeof(void*)*8, x_1407); -if (lean_is_scalar(x_1397)) { - x_1409 = lean_alloc_ctor(0, 4, 0); -} else { - x_1409 = x_1397; -} -lean_ctor_set(x_1409, 0, x_1408); -lean_ctor_set(x_1409, 1, x_1394); -lean_ctor_set(x_1409, 2, x_1395); -lean_ctor_set(x_1409, 3, x_1396); -x_1410 = lean_st_ref_set(x_6, x_1409, x_1393); -x_1411 = lean_ctor_get(x_1410, 1); -lean_inc(x_1411); -if (lean_is_exclusive(x_1410)) { - lean_ctor_release(x_1410, 0); - lean_ctor_release(x_1410, 1); - x_1412 = x_1410; -} else { - lean_dec_ref(x_1410); - x_1412 = lean_box(0); -} -if (lean_is_scalar(x_1412)) { - x_1413 = lean_alloc_ctor(1, 2, 0); -} else { - x_1413 = x_1412; - lean_ctor_set_tag(x_1413, 1); -} -lean_ctor_set(x_1413, 0, x_1365); -lean_ctor_set(x_1413, 1, x_1411); -x_1168 = x_1413; -goto block_1178; } } } @@ -84790,298 +80450,208 @@ goto block_1178; } else { -lean_object* x_1517; lean_object* x_1518; -lean_dec(x_3); -x_1517 = lean_ctor_get(x_1216, 1); -lean_inc(x_1517); -lean_dec(x_1216); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_1518 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isExprDefEqExpensive(x_1, x_2, x_5, x_6, x_7, x_8, x_1517); -x_1152 = x_1518; -goto block_1167; -} -} -else -{ -lean_object* x_1519; lean_object* x_1520; +lean_object* x_736; lean_object* x_737; +lean_dec(x_586); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1519 = lean_ctor_get(x_1216, 0); -lean_inc(x_1519); -x_1520 = lean_ctor_get(x_1216, 1); -lean_inc(x_1520); -lean_dec(x_1216); -x_1145 = x_1519; -x_1146 = x_1520; -goto block_1151; +x_736 = lean_ctor_get(x_588, 0); +lean_inc(x_736); +x_737 = lean_ctor_get(x_588, 1); +lean_inc(x_737); +lean_dec(x_588); +x_561 = x_736; +x_562 = x_737; +goto block_567; +} +} +else +{ +lean_object* x_738; lean_object* x_739; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_738 = lean_ctor_get(x_585, 0); +lean_inc(x_738); +x_739 = lean_ctor_get(x_585, 1); +lean_inc(x_739); +lean_dec(x_585); +x_561 = x_738; +x_562 = x_739; +goto block_567; } } } } else { -lean_object* x_1521; lean_object* x_1522; -lean_dec(x_1197); +lean_object* x_740; lean_object* x_741; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1521 = lean_ctor_get(x_1199, 0); -lean_inc(x_1521); -x_1522 = lean_ctor_get(x_1199, 1); -lean_inc(x_1522); -lean_dec(x_1199); -x_1145 = x_1521; -x_1146 = x_1522; -goto block_1151; -} -} -else -{ -lean_object* x_1523; lean_object* x_1524; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_1523 = lean_ctor_get(x_1196, 0); -lean_inc(x_1523); -x_1524 = lean_ctor_get(x_1196, 1); -lean_inc(x_1524); -lean_dec(x_1196); -x_1145 = x_1523; -x_1146 = x_1524; -goto block_1151; +x_740 = lean_ctor_get(x_576, 0); +lean_inc(x_740); +x_741 = lean_ctor_get(x_576, 1); +lean_inc(x_741); +lean_dec(x_576); +x_561 = x_740; +x_562 = x_741; +goto block_567; } } } } else { -lean_object* x_1525; lean_object* x_1526; +lean_object* x_742; lean_object* x_743; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1525 = lean_ctor_get(x_1187, 0); -lean_inc(x_1525); -x_1526 = lean_ctor_get(x_1187, 1); -lean_inc(x_1526); -lean_dec(x_1187); -x_1145 = x_1525; -x_1146 = x_1526; -goto block_1151; +x_742 = lean_ctor_get(x_568, 0); +lean_inc(x_742); +x_743 = lean_ctor_get(x_568, 1); +lean_inc(x_743); +lean_dec(x_568); +x_561 = x_742; +x_562 = x_743; +goto block_567; } -} -} -} -else +block_544: { -lean_object* x_1527; lean_object* x_1528; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_1527 = lean_ctor_get(x_1179, 0); -lean_inc(x_1527); -x_1528 = lean_ctor_get(x_1179, 1); -lean_inc(x_1528); -lean_dec(x_1179); -x_1145 = x_1527; -x_1146 = x_1528; -goto block_1151; -} -block_1144: -{ -lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; -x_1139 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_1136, x_30, x_5, x_6, x_7, x_8, x_1138); +lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; +x_539 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_536, x_30, x_5, x_6, x_7, x_8, x_538); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_1140 = lean_ctor_get(x_1139, 1); -lean_inc(x_1140); -if (lean_is_exclusive(x_1139)) { - lean_ctor_release(x_1139, 0); - lean_ctor_release(x_1139, 1); - x_1141 = x_1139; +x_540 = lean_ctor_get(x_539, 1); +lean_inc(x_540); +if (lean_is_exclusive(x_539)) { + lean_ctor_release(x_539, 0); + lean_ctor_release(x_539, 1); + x_541 = x_539; } else { - lean_dec_ref(x_1139); - x_1141 = lean_box(0); + lean_dec_ref(x_539); + x_541 = lean_box(0); } -x_1142 = lean_box(x_1137); -if (lean_is_scalar(x_1141)) { - x_1143 = lean_alloc_ctor(0, 2, 0); +x_542 = lean_box(x_537); +if (lean_is_scalar(x_541)) { + x_543 = lean_alloc_ctor(0, 2, 0); } else { - x_1143 = x_1141; + x_543 = x_541; } -lean_ctor_set(x_1143, 0, x_1142); -lean_ctor_set(x_1143, 1, x_1140); -return x_1143; +lean_ctor_set(x_543, 0, x_542); +lean_ctor_set(x_543, 1, x_540); +return x_543; } -block_1151: +block_560: { -lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; -x_1147 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_1136, x_30, x_5, x_6, x_7, x_8, x_1146); +if (lean_obj_tag(x_545) == 0) +{ +lean_object* x_546; 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; +x_546 = lean_ctor_get(x_545, 0); +lean_inc(x_546); +x_547 = lean_ctor_get(x_545, 1); +lean_inc(x_547); +lean_dec(x_545); +x_548 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_536, x_30, x_5, x_6, x_7, x_8, x_547); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_1148 = lean_ctor_get(x_1147, 1); -lean_inc(x_1148); -if (lean_is_exclusive(x_1147)) { - lean_ctor_release(x_1147, 0); - lean_ctor_release(x_1147, 1); - x_1149 = x_1147; +x_549 = lean_ctor_get(x_548, 0); +lean_inc(x_549); +x_550 = lean_ctor_get(x_548, 1); +lean_inc(x_550); +if (lean_is_exclusive(x_548)) { + lean_ctor_release(x_548, 0); + lean_ctor_release(x_548, 1); + x_551 = x_548; } else { - lean_dec_ref(x_1147); - x_1149 = lean_box(0); + lean_dec_ref(x_548); + x_551 = lean_box(0); } -if (lean_is_scalar(x_1149)) { - x_1150 = lean_alloc_ctor(1, 2, 0); +x_552 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_552, 0, x_546); +lean_ctor_set(x_552, 1, x_549); +if (lean_is_scalar(x_551)) { + x_553 = lean_alloc_ctor(0, 2, 0); } else { - x_1150 = x_1149; - lean_ctor_set_tag(x_1150, 1); + x_553 = x_551; } -lean_ctor_set(x_1150, 0, x_1145); -lean_ctor_set(x_1150, 1, x_1148); -return x_1150; -} -block_1167: -{ -if (lean_obj_tag(x_1152) == 0) -{ -lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; -x_1153 = lean_ctor_get(x_1152, 0); -lean_inc(x_1153); -x_1154 = lean_ctor_get(x_1152, 1); -lean_inc(x_1154); -lean_dec(x_1152); -x_1155 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_1136, x_30, x_5, x_6, x_7, x_8, x_1154); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_1156 = lean_ctor_get(x_1155, 0); -lean_inc(x_1156); -x_1157 = lean_ctor_get(x_1155, 1); -lean_inc(x_1157); -if (lean_is_exclusive(x_1155)) { - lean_ctor_release(x_1155, 0); - lean_ctor_release(x_1155, 1); - x_1158 = x_1155; -} else { - lean_dec_ref(x_1155); - x_1158 = lean_box(0); -} -x_1159 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1159, 0, x_1153); -lean_ctor_set(x_1159, 1, x_1156); -if (lean_is_scalar(x_1158)) { - x_1160 = lean_alloc_ctor(0, 2, 0); -} else { - x_1160 = x_1158; -} -lean_ctor_set(x_1160, 0, x_1159); -lean_ctor_set(x_1160, 1, x_1157); -x_10 = x_1160; +lean_ctor_set(x_553, 0, x_552); +lean_ctor_set(x_553, 1, x_550); +x_10 = x_553; goto block_22; } else { -lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; -x_1161 = lean_ctor_get(x_1152, 0); -lean_inc(x_1161); -x_1162 = lean_ctor_get(x_1152, 1); -lean_inc(x_1162); -lean_dec(x_1152); -x_1163 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_1136, x_30, x_5, x_6, x_7, x_8, x_1162); +lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; +x_554 = lean_ctor_get(x_545, 0); +lean_inc(x_554); +x_555 = lean_ctor_get(x_545, 1); +lean_inc(x_555); +lean_dec(x_545); +x_556 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_536, x_30, x_5, x_6, x_7, x_8, x_555); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_1164 = lean_ctor_get(x_1163, 1); -lean_inc(x_1164); -if (lean_is_exclusive(x_1163)) { - lean_ctor_release(x_1163, 0); - lean_ctor_release(x_1163, 1); - x_1165 = x_1163; +x_557 = lean_ctor_get(x_556, 1); +lean_inc(x_557); +if (lean_is_exclusive(x_556)) { + lean_ctor_release(x_556, 0); + lean_ctor_release(x_556, 1); + x_558 = x_556; } else { - lean_dec_ref(x_1163); - x_1165 = lean_box(0); + lean_dec_ref(x_556); + x_558 = lean_box(0); } -if (lean_is_scalar(x_1165)) { - x_1166 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_558)) { + x_559 = lean_alloc_ctor(1, 2, 0); } else { - x_1166 = x_1165; - lean_ctor_set_tag(x_1166, 1); + x_559 = x_558; + lean_ctor_set_tag(x_559, 1); } -lean_ctor_set(x_1166, 0, x_1161); -lean_ctor_set(x_1166, 1, x_1164); -x_10 = x_1166; +lean_ctor_set(x_559, 0, x_554); +lean_ctor_set(x_559, 1, x_557); +x_10 = x_559; goto block_22; } } -block_1178: +block_567: { -if (lean_obj_tag(x_1168) == 0) -{ -lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; -x_1169 = lean_ctor_get(x_1168, 0); -lean_inc(x_1169); -x_1170 = lean_ctor_get(x_1168, 1); -lean_inc(x_1170); -if (lean_is_exclusive(x_1168)) { - lean_ctor_release(x_1168, 0); - lean_ctor_release(x_1168, 1); - x_1171 = x_1168; +lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; +x_563 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at_Lean_Meta_isExprDefEqAuxImpl___spec__1(x_536, x_30, x_5, x_6, x_7, x_8, x_562); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_564 = lean_ctor_get(x_563, 1); +lean_inc(x_564); +if (lean_is_exclusive(x_563)) { + lean_ctor_release(x_563, 0); + lean_ctor_release(x_563, 1); + x_565 = x_563; } else { - lean_dec_ref(x_1168); - x_1171 = lean_box(0); + lean_dec_ref(x_563); + x_565 = lean_box(0); } -x_1172 = lean_ctor_get(x_1169, 0); -lean_inc(x_1172); -lean_dec(x_1169); -if (lean_is_scalar(x_1171)) { - x_1173 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_565)) { + x_566 = lean_alloc_ctor(1, 2, 0); } else { - x_1173 = x_1171; -} -lean_ctor_set(x_1173, 0, x_1172); -lean_ctor_set(x_1173, 1, x_1170); -x_1152 = x_1173; -goto block_1167; -} -else -{ -lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; -x_1174 = lean_ctor_get(x_1168, 0); -lean_inc(x_1174); -x_1175 = lean_ctor_get(x_1168, 1); -lean_inc(x_1175); -if (lean_is_exclusive(x_1168)) { - lean_ctor_release(x_1168, 0); - lean_ctor_release(x_1168, 1); - x_1176 = x_1168; -} else { - lean_dec_ref(x_1168); - x_1176 = lean_box(0); -} -if (lean_is_scalar(x_1176)) { - x_1177 = lean_alloc_ctor(1, 2, 0); -} else { - x_1177 = x_1176; -} -lean_ctor_set(x_1177, 0, x_1174); -lean_ctor_set(x_1177, 1, x_1175); -x_1152 = x_1177; -goto block_1167; + x_566 = x_565; + lean_ctor_set_tag(x_566, 1); } +lean_ctor_set(x_566, 0, x_561); +lean_ctor_set(x_566, 1, x_564); +return x_566; } } } else { -uint8_t x_1529; +uint8_t x_744; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -85089,23 +80659,23 @@ lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1529 = !lean_is_exclusive(x_24); -if (x_1529 == 0) +x_744 = !lean_is_exclusive(x_24); +if (x_744 == 0) { return x_24; } else { -lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; -x_1530 = lean_ctor_get(x_24, 0); -x_1531 = lean_ctor_get(x_24, 1); -lean_inc(x_1531); -lean_inc(x_1530); +lean_object* x_745; lean_object* x_746; lean_object* x_747; +x_745 = lean_ctor_get(x_24, 0); +x_746 = lean_ctor_get(x_24, 1); +lean_inc(x_746); +lean_inc(x_745); lean_dec(x_24); -x_1532 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1532, 0, x_1530); -lean_ctor_set(x_1532, 1, x_1531); -return x_1532; +x_747 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_747, 0, x_745); +lean_ctor_set(x_747, 1, x_746); +return x_747; } } block_22: @@ -85487,7 +81057,7 @@ lean_dec(x_4); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_17288_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_16761_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -85789,6 +81359,16 @@ l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEt lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__14); l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__1 = _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__1(); lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__1); +l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__2 = _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__2); +l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__3 = _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__3(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__3); +l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__4 = _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__4(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__4); +l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5 = _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__5); +l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__6 = _init_l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__6(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__2___closed__6); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__1(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__1); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___closed__2(); @@ -85977,14 +81557,14 @@ l_Lean_Meta_CheckAssignment_checkMVar___closed__6 = _init_l_Lean_Meta_CheckAssig lean_mark_persistent(l_Lean_Meta_CheckAssignment_checkMVar___closed__6); l_Lean_Meta_CheckAssignment_checkMVar___closed__7 = _init_l_Lean_Meta_CheckAssignment_checkMVar___closed__7(); lean_mark_persistent(l_Lean_Meta_CheckAssignment_checkMVar___closed__7); -l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1 = _init_l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1(); -lean_mark_persistent(l_Lean_markUsedAssignment___at_Lean_Meta_checkAssignment___spec__5___closed__1); l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__1 = _init_l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__1(); lean_mark_persistent(l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__7___closed__2); +l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__2 = _init_l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__2(); +lean_mark_persistent(l_Lean_occursCheck_visitMVar___at_Lean_Meta_checkAssignment___spec__3___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_checkAssignment___spec__6___closed__2); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___closed__1(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___closed__1); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___closed__2(); @@ -86077,18 +81657,10 @@ l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___closed__1 = _ini lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___closed__1); l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___closed__2(); lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqOnFailure___closed__2); -l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__1 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__1); -l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__2 = _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_skipDefEqCache___closed__2); l_Std_PersistentHashMap_findAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___spec__2___closed__1 = _init_l_Std_PersistentHashMap_findAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___spec__2___closed__1(); l_Std_PersistentHashMap_findAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___spec__2___closed__2 = _init_l_Std_PersistentHashMap_findAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_getCachedResult___spec__2___closed__2(); l_Std_PersistentHashMap_insertAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__2___closed__1 = _init_l_Std_PersistentHashMap_insertAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__2___closed__1(); lean_mark_persistent(l_Std_PersistentHashMap_insertAux___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__2___closed__1); -l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1___closed__1 = _init_l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1___closed__1(); -lean_mark_persistent(l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1___closed__1); -l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1___closed__2 = _init_l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1___closed__2(); -lean_mark_persistent(l_Std_PersistentHashMap_insert___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_cacheResult___spec__1___closed__2); l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__1 = _init_l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__1); l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__2 = _init_l_Lean_Meta_isExprDefEqAuxImpl___lambda__2___closed__2(); @@ -86137,7 +81709,7 @@ l_Lean_Meta_isExprDefEqAuxImpl___closed__1 = _init_l_Lean_Meta_isExprDefEqAuxImp lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__1); l_Lean_Meta_isExprDefEqAuxImpl___closed__2 = _init_l_Lean_Meta_isExprDefEqAuxImpl___closed__2(); lean_mark_persistent(l_Lean_Meta_isExprDefEqAuxImpl___closed__2); -res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_17288_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_ExprDefEq___hyg_16761_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/FunInfo.c b/stage0/stdlib/Lean/Meta/FunInfo.c index e47261277d..72b7f5981b 100644 --- a/stage0/stdlib/Lean/Meta/FunInfo.c +++ b/stage0/stdlib/Lean/Meta/FunInfo.c @@ -1094,79 +1094,74 @@ return x_41; } else { -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_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; x_42 = lean_ctor_get(x_30, 0); x_43 = lean_ctor_get(x_30, 2); x_44 = lean_ctor_get(x_30, 3); x_45 = lean_ctor_get(x_30, 4); x_46 = lean_ctor_get(x_30, 5); -x_47 = lean_ctor_get(x_30, 6); -x_48 = lean_ctor_get(x_30, 1); -lean_inc(x_47); +x_47 = lean_ctor_get(x_30, 1); lean_inc(x_46); lean_inc(x_45); lean_inc(x_44); lean_inc(x_43); -lean_inc(x_48); +lean_inc(x_47); lean_inc(x_42); lean_dec(x_30); lean_inc(x_24); -x_49 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_48, x_20, x_24); -x_50 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_50, 0, x_42); -lean_ctor_set(x_50, 1, x_49); -lean_ctor_set(x_50, 2, x_43); -lean_ctor_set(x_50, 3, x_44); -lean_ctor_set(x_50, 4, x_45); -lean_ctor_set(x_50, 5, x_46); -lean_ctor_set(x_50, 6, x_47); -lean_ctor_set(x_29, 1, x_50); -x_51 = lean_st_ref_set(x_5, x_29, x_31); +x_48 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_47, x_20, x_24); +x_49 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_49, 0, x_42); +lean_ctor_set(x_49, 1, x_48); +lean_ctor_set(x_49, 2, x_43); +lean_ctor_set(x_49, 3, x_44); +lean_ctor_set(x_49, 4, x_45); +lean_ctor_set(x_49, 5, x_46); +lean_ctor_set(x_29, 1, x_49); +x_50 = lean_st_ref_set(x_5, x_29, x_31); lean_dec(x_5); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - x_53 = x_51; +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_52 = x_50; } else { - lean_dec_ref(x_51); - x_53 = lean_box(0); + lean_dec_ref(x_50); + x_52 = lean_box(0); } -if (lean_is_scalar(x_53)) { - x_54 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_52)) { + x_53 = lean_alloc_ctor(0, 2, 0); } else { - x_54 = x_53; + x_53 = x_52; } -lean_ctor_set(x_54, 0, x_24); -lean_ctor_set(x_54, 1, x_52); -return x_54; +lean_ctor_set(x_53, 0, x_24); +lean_ctor_set(x_53, 1, x_51); +return x_53; } } else { -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; 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_55 = lean_ctor_get(x_29, 0); -x_56 = lean_ctor_get(x_29, 2); -x_57 = lean_ctor_get(x_29, 3); -lean_inc(x_57); +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; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_54 = lean_ctor_get(x_29, 0); +x_55 = lean_ctor_get(x_29, 2); +x_56 = lean_ctor_get(x_29, 3); lean_inc(x_56); lean_inc(x_55); +lean_inc(x_54); lean_dec(x_29); -x_58 = lean_ctor_get(x_30, 0); +x_57 = lean_ctor_get(x_30, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_30, 2); lean_inc(x_58); -x_59 = lean_ctor_get(x_30, 2); +x_59 = lean_ctor_get(x_30, 3); lean_inc(x_59); -x_60 = lean_ctor_get(x_30, 3); +x_60 = lean_ctor_get(x_30, 4); lean_inc(x_60); -x_61 = lean_ctor_get(x_30, 4); +x_61 = lean_ctor_get(x_30, 5); lean_inc(x_61); -x_62 = lean_ctor_get(x_30, 5); +x_62 = lean_ctor_get(x_30, 1); lean_inc(x_62); -x_63 = lean_ctor_get(x_30, 6); -lean_inc(x_63); -x_64 = lean_ctor_get(x_30, 1); -lean_inc(x_64); if (lean_is_exclusive(x_30)) { lean_ctor_release(x_30, 0); lean_ctor_release(x_30, 1); @@ -1174,275 +1169,269 @@ if (lean_is_exclusive(x_30)) { lean_ctor_release(x_30, 3); lean_ctor_release(x_30, 4); lean_ctor_release(x_30, 5); - lean_ctor_release(x_30, 6); - x_65 = x_30; + x_63 = x_30; } else { lean_dec_ref(x_30); - x_65 = lean_box(0); + x_63 = lean_box(0); } lean_inc(x_24); -x_66 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_64, x_20, x_24); -if (lean_is_scalar(x_65)) { - x_67 = lean_alloc_ctor(0, 7, 0); +x_64 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_62, x_20, x_24); +if (lean_is_scalar(x_63)) { + x_65 = lean_alloc_ctor(0, 6, 0); } else { - x_67 = x_65; + x_65 = x_63; } -lean_ctor_set(x_67, 0, x_58); -lean_ctor_set(x_67, 1, x_66); -lean_ctor_set(x_67, 2, x_59); -lean_ctor_set(x_67, 3, x_60); -lean_ctor_set(x_67, 4, x_61); -lean_ctor_set(x_67, 5, x_62); -lean_ctor_set(x_67, 6, x_63); -x_68 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_68, 0, x_55); -lean_ctor_set(x_68, 1, x_67); -lean_ctor_set(x_68, 2, x_56); -lean_ctor_set(x_68, 3, x_57); -x_69 = lean_st_ref_set(x_5, x_68, x_31); +lean_ctor_set(x_65, 0, x_57); +lean_ctor_set(x_65, 1, x_64); +lean_ctor_set(x_65, 2, x_58); +lean_ctor_set(x_65, 3, x_59); +lean_ctor_set(x_65, 4, x_60); +lean_ctor_set(x_65, 5, x_61); +x_66 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_66, 0, x_54); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_66, 2, x_55); +lean_ctor_set(x_66, 3, x_56); +x_67 = lean_st_ref_set(x_5, x_66, x_31); lean_dec(x_5); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - x_71 = x_69; +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_69 = x_67; } else { - lean_dec_ref(x_69); - x_71 = lean_box(0); + lean_dec_ref(x_67); + x_69 = lean_box(0); } -if (lean_is_scalar(x_71)) { - x_72 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_69)) { + x_70 = lean_alloc_ctor(0, 2, 0); } else { - x_72 = x_71; + x_70 = x_69; } -lean_ctor_set(x_72, 0, x_24); -lean_ctor_set(x_72, 1, x_70); -return x_72; +lean_ctor_set(x_70, 0, x_24); +lean_ctor_set(x_70, 1, x_68); +return x_70; } } else { -uint8_t x_73; +uint8_t x_71; lean_dec(x_20); lean_dec(x_7); lean_dec(x_5); -x_73 = !lean_is_exclusive(x_23); -if (x_73 == 0) +x_71 = !lean_is_exclusive(x_23); +if (x_71 == 0) { return x_23; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_23, 0); -x_75 = lean_ctor_get(x_23, 1); -lean_inc(x_75); -lean_inc(x_74); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_23, 0); +x_73 = lean_ctor_get(x_23, 1); +lean_inc(x_73); +lean_inc(x_72); lean_dec(x_23); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; +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_77; +lean_object* x_75; lean_dec(x_20); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_77 = lean_ctor_get(x_22, 0); -lean_inc(x_77); +x_75 = lean_ctor_get(x_22, 0); +lean_inc(x_75); lean_dec(x_22); -lean_ctor_set(x_14, 0, x_77); +lean_ctor_set(x_14, 0, x_75); return x_14; } } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; -x_78 = lean_ctor_get(x_14, 0); -x_79 = lean_ctor_get(x_14, 1); -lean_inc(x_79); -lean_inc(x_78); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; +x_76 = lean_ctor_get(x_14, 0); +x_77 = lean_ctor_get(x_14, 1); +lean_inc(x_77); +lean_inc(x_76); lean_dec(x_14); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); lean_dec(x_78); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_82 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_82, 0, x_1); -lean_ctor_set(x_82, 1, x_2); -x_83 = lean_unbox(x_10); +x_80 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_80, 0, x_1); +lean_ctor_set(x_80, 1, x_2); +x_81 = lean_unbox(x_10); lean_dec(x_10); -lean_ctor_set_uint8(x_82, sizeof(void*)*2, x_83); -lean_inc(x_82); -x_84 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__1(x_81, x_82); -if (lean_obj_tag(x_84) == 0) +lean_ctor_set_uint8(x_80, sizeof(void*)*2, x_81); +lean_inc(x_80); +x_82 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__1(x_79, x_80); +if (lean_obj_tag(x_82) == 0) { -lean_object* x_85; +lean_object* x_83; lean_inc(x_7); lean_inc(x_5); -x_85 = lean_apply_5(x_3, x_4, x_5, x_6, x_7, x_79); -if (lean_obj_tag(x_85) == 0) +x_83 = lean_apply_5(x_3, x_4, x_5, x_6, x_7, x_77); +if (lean_obj_tag(x_83) == 0) { -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; 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; -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); +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; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +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_st_ref_get(x_7, x_85); +lean_dec(x_7); +x_87 = lean_ctor_get(x_86, 1); lean_inc(x_87); -lean_dec(x_85); -x_88 = lean_st_ref_get(x_7, x_87); -lean_dec(x_7); -x_89 = lean_ctor_get(x_88, 1); +lean_dec(x_86); +x_88 = lean_st_ref_take(x_5, x_87); +x_89 = lean_ctor_get(x_88, 0); lean_inc(x_89); -lean_dec(x_88); -x_90 = lean_st_ref_take(x_5, x_89); -x_91 = lean_ctor_get(x_90, 0); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +x_91 = lean_ctor_get(x_88, 1); lean_inc(x_91); -x_92 = lean_ctor_get(x_91, 1); +lean_dec(x_88); +x_92 = lean_ctor_get(x_89, 0); lean_inc(x_92); -x_93 = lean_ctor_get(x_90, 1); +x_93 = lean_ctor_get(x_89, 2); lean_inc(x_93); -lean_dec(x_90); -x_94 = lean_ctor_get(x_91, 0); +x_94 = lean_ctor_get(x_89, 3); lean_inc(x_94); -x_95 = lean_ctor_get(x_91, 2); -lean_inc(x_95); -x_96 = lean_ctor_get(x_91, 3); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + lean_ctor_release(x_89, 2); + lean_ctor_release(x_89, 3); + x_95 = x_89; +} else { + lean_dec_ref(x_89); + x_95 = lean_box(0); +} +x_96 = lean_ctor_get(x_90, 0); lean_inc(x_96); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - lean_ctor_release(x_91, 2); - lean_ctor_release(x_91, 3); - x_97 = x_91; -} else { - lean_dec_ref(x_91); - x_97 = lean_box(0); -} -x_98 = lean_ctor_get(x_92, 0); +x_97 = lean_ctor_get(x_90, 2); +lean_inc(x_97); +x_98 = lean_ctor_get(x_90, 3); lean_inc(x_98); -x_99 = lean_ctor_get(x_92, 2); +x_99 = lean_ctor_get(x_90, 4); lean_inc(x_99); -x_100 = lean_ctor_get(x_92, 3); +x_100 = lean_ctor_get(x_90, 5); lean_inc(x_100); -x_101 = lean_ctor_get(x_92, 4); +x_101 = lean_ctor_get(x_90, 1); lean_inc(x_101); -x_102 = lean_ctor_get(x_92, 5); -lean_inc(x_102); -x_103 = lean_ctor_get(x_92, 6); -lean_inc(x_103); -x_104 = lean_ctor_get(x_92, 1); -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); - lean_ctor_release(x_92, 3); - lean_ctor_release(x_92, 4); - lean_ctor_release(x_92, 5); - lean_ctor_release(x_92, 6); - x_105 = x_92; +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + lean_ctor_release(x_90, 2); + lean_ctor_release(x_90, 3); + lean_ctor_release(x_90, 4); + lean_ctor_release(x_90, 5); + x_102 = x_90; } else { - lean_dec_ref(x_92); - x_105 = lean_box(0); + lean_dec_ref(x_90); + x_102 = lean_box(0); } -lean_inc(x_86); -x_106 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_104, x_82, x_86); -if (lean_is_scalar(x_105)) { - x_107 = lean_alloc_ctor(0, 7, 0); +lean_inc(x_84); +x_103 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_101, x_80, x_84); +if (lean_is_scalar(x_102)) { + x_104 = lean_alloc_ctor(0, 6, 0); } else { - x_107 = x_105; + x_104 = x_102; } -lean_ctor_set(x_107, 0, x_98); -lean_ctor_set(x_107, 1, x_106); -lean_ctor_set(x_107, 2, x_99); -lean_ctor_set(x_107, 3, x_100); -lean_ctor_set(x_107, 4, x_101); -lean_ctor_set(x_107, 5, x_102); -lean_ctor_set(x_107, 6, x_103); -if (lean_is_scalar(x_97)) { - x_108 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_104, 0, x_96); +lean_ctor_set(x_104, 1, x_103); +lean_ctor_set(x_104, 2, x_97); +lean_ctor_set(x_104, 3, x_98); +lean_ctor_set(x_104, 4, x_99); +lean_ctor_set(x_104, 5, x_100); +if (lean_is_scalar(x_95)) { + x_105 = lean_alloc_ctor(0, 4, 0); } else { - x_108 = x_97; + x_105 = x_95; } -lean_ctor_set(x_108, 0, x_94); -lean_ctor_set(x_108, 1, x_107); -lean_ctor_set(x_108, 2, x_95); -lean_ctor_set(x_108, 3, x_96); -x_109 = lean_st_ref_set(x_5, x_108, x_93); +lean_ctor_set(x_105, 0, x_92); +lean_ctor_set(x_105, 1, x_104); +lean_ctor_set(x_105, 2, x_93); +lean_ctor_set(x_105, 3, x_94); +x_106 = lean_st_ref_set(x_5, x_105, x_91); lean_dec(x_5); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_111 = x_109; +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_108 = x_106; } else { - lean_dec_ref(x_109); - x_111 = lean_box(0); + lean_dec_ref(x_106); + x_108 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_108)) { + x_109 = lean_alloc_ctor(0, 2, 0); } else { - x_112 = x_111; + x_109 = x_108; } -lean_ctor_set(x_112, 0, x_86); -lean_ctor_set(x_112, 1, x_110); -return x_112; +lean_ctor_set(x_109, 0, x_84); +lean_ctor_set(x_109, 1, x_107); +return x_109; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -lean_dec(x_82); +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +lean_dec(x_80); lean_dec(x_7); lean_dec(x_5); -x_113 = lean_ctor_get(x_85, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_85, 1); -lean_inc(x_114); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_115 = x_85; +x_110 = lean_ctor_get(x_83, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_83, 1); +lean_inc(x_111); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_112 = x_83; } else { - lean_dec_ref(x_85); - x_115 = lean_box(0); + lean_dec_ref(x_83); + x_112 = lean_box(0); } -if (lean_is_scalar(x_115)) { - x_116 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_112)) { + x_113 = lean_alloc_ctor(1, 2, 0); } else { - x_116 = x_115; + x_113 = x_112; } -lean_ctor_set(x_116, 0, x_113); -lean_ctor_set(x_116, 1, x_114); -return x_116; +lean_ctor_set(x_113, 0, x_110); +lean_ctor_set(x_113, 1, x_111); +return x_113; } } else { -lean_object* x_117; lean_object* x_118; -lean_dec(x_82); +lean_object* x_114; lean_object* x_115; +lean_dec(x_80); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_117 = lean_ctor_get(x_84, 0); -lean_inc(x_117); -lean_dec(x_84); -x_118 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_79); -return x_118; +x_114 = lean_ctor_get(x_82, 0); +lean_inc(x_114); +lean_dec(x_82); +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_77); +return x_115; } } } @@ -6969,79 +6958,74 @@ return x_49; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; 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_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; x_50 = lean_ctor_get(x_38, 0); x_51 = lean_ctor_get(x_38, 2); x_52 = lean_ctor_get(x_38, 3); x_53 = lean_ctor_get(x_38, 4); x_54 = lean_ctor_get(x_38, 5); -x_55 = lean_ctor_get(x_38, 6); -x_56 = lean_ctor_get(x_38, 1); -lean_inc(x_55); +x_55 = lean_ctor_get(x_38, 1); lean_inc(x_54); lean_inc(x_53); lean_inc(x_52); lean_inc(x_51); -lean_inc(x_56); +lean_inc(x_55); lean_inc(x_50); lean_dec(x_38); lean_inc(x_32); -x_57 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_56, x_19, x_32); -x_58 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_58, 0, x_50); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_58, 2, x_51); -lean_ctor_set(x_58, 3, x_52); -lean_ctor_set(x_58, 4, x_53); -lean_ctor_set(x_58, 5, x_54); -lean_ctor_set(x_58, 6, x_55); -lean_ctor_set(x_37, 1, x_58); -x_59 = lean_st_ref_set(x_4, x_37, x_39); +x_56 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_55, x_19, x_32); +x_57 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_57, 0, x_50); +lean_ctor_set(x_57, 1, x_56); +lean_ctor_set(x_57, 2, x_51); +lean_ctor_set(x_57, 3, x_52); +lean_ctor_set(x_57, 4, x_53); +lean_ctor_set(x_57, 5, x_54); +lean_ctor_set(x_37, 1, x_57); +x_58 = lean_st_ref_set(x_4, x_37, x_39); lean_dec(x_4); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_60 = x_58; } else { - lean_dec_ref(x_59); - x_61 = lean_box(0); + lean_dec_ref(x_58); + x_60 = lean_box(0); } -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_60)) { + x_61 = lean_alloc_ctor(0, 2, 0); } else { - x_62 = x_61; + x_61 = x_60; } -lean_ctor_set(x_62, 0, x_32); -lean_ctor_set(x_62, 1, x_60); -return x_62; +lean_ctor_set(x_61, 0, x_32); +lean_ctor_set(x_61, 1, x_59); +return x_61; } } 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; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_63 = lean_ctor_get(x_37, 0); -x_64 = lean_ctor_get(x_37, 2); -x_65 = lean_ctor_get(x_37, 3); -lean_inc(x_65); +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_object* x_76; lean_object* x_77; lean_object* x_78; +x_62 = lean_ctor_get(x_37, 0); +x_63 = lean_ctor_get(x_37, 2); +x_64 = lean_ctor_get(x_37, 3); lean_inc(x_64); lean_inc(x_63); +lean_inc(x_62); lean_dec(x_37); -x_66 = lean_ctor_get(x_38, 0); +x_65 = lean_ctor_get(x_38, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_38, 2); lean_inc(x_66); -x_67 = lean_ctor_get(x_38, 2); +x_67 = lean_ctor_get(x_38, 3); lean_inc(x_67); -x_68 = lean_ctor_get(x_38, 3); +x_68 = lean_ctor_get(x_38, 4); lean_inc(x_68); -x_69 = lean_ctor_get(x_38, 4); +x_69 = lean_ctor_get(x_38, 5); lean_inc(x_69); -x_70 = lean_ctor_get(x_38, 5); +x_70 = lean_ctor_get(x_38, 1); lean_inc(x_70); -x_71 = lean_ctor_get(x_38, 6); -lean_inc(x_71); -x_72 = lean_ctor_get(x_38, 1); -lean_inc(x_72); if (lean_is_exclusive(x_38)) { lean_ctor_release(x_38, 0); lean_ctor_release(x_38, 1); @@ -7049,487 +7033,477 @@ if (lean_is_exclusive(x_38)) { lean_ctor_release(x_38, 3); lean_ctor_release(x_38, 4); lean_ctor_release(x_38, 5); - lean_ctor_release(x_38, 6); - x_73 = x_38; + x_71 = x_38; } else { lean_dec_ref(x_38); - x_73 = lean_box(0); + x_71 = lean_box(0); } lean_inc(x_32); -x_74 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_72, x_19, x_32); -if (lean_is_scalar(x_73)) { - x_75 = lean_alloc_ctor(0, 7, 0); +x_72 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_70, x_19, x_32); +if (lean_is_scalar(x_71)) { + x_73 = lean_alloc_ctor(0, 6, 0); } else { - x_75 = x_73; + x_73 = x_71; } -lean_ctor_set(x_75, 0, x_66); -lean_ctor_set(x_75, 1, x_74); -lean_ctor_set(x_75, 2, x_67); -lean_ctor_set(x_75, 3, x_68); -lean_ctor_set(x_75, 4, x_69); -lean_ctor_set(x_75, 5, x_70); -lean_ctor_set(x_75, 6, x_71); -x_76 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_76, 0, x_63); -lean_ctor_set(x_76, 1, x_75); -lean_ctor_set(x_76, 2, x_64); -lean_ctor_set(x_76, 3, x_65); -x_77 = lean_st_ref_set(x_4, x_76, x_39); +lean_ctor_set(x_73, 0, x_65); +lean_ctor_set(x_73, 1, x_72); +lean_ctor_set(x_73, 2, x_66); +lean_ctor_set(x_73, 3, x_67); +lean_ctor_set(x_73, 4, x_68); +lean_ctor_set(x_73, 5, x_69); +x_74 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_74, 0, x_62); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_74, 2, x_63); +lean_ctor_set(x_74, 3, x_64); +x_75 = lean_st_ref_set(x_4, x_74, x_39); lean_dec(x_4); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_79 = x_77; +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_77 = x_75; } else { - lean_dec_ref(x_77); - x_79 = lean_box(0); + lean_dec_ref(x_75); + x_77 = lean_box(0); } -if (lean_is_scalar(x_79)) { - x_80 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_77)) { + x_78 = lean_alloc_ctor(0, 2, 0); } else { - x_80 = x_79; + x_78 = x_77; } -lean_ctor_set(x_80, 0, x_32); -lean_ctor_set(x_80, 1, x_78); -return x_80; +lean_ctor_set(x_78, 0, x_32); +lean_ctor_set(x_78, 1, x_76); +return x_78; } } else { -uint8_t x_81; +uint8_t x_79; lean_dec(x_19); lean_dec(x_6); lean_dec(x_4); -x_81 = !lean_is_exclusive(x_31); -if (x_81 == 0) +x_79 = !lean_is_exclusive(x_31); +if (x_79 == 0) { return x_31; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_31, 0); -x_83 = lean_ctor_get(x_31, 1); -lean_inc(x_83); -lean_inc(x_82); +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_31, 0); +x_81 = lean_ctor_get(x_31, 1); +lean_inc(x_81); +lean_inc(x_80); lean_dec(x_31); -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; +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +return x_82; } } } else { -uint8_t x_85; uint8_t x_86; uint8_t x_87; uint8_t x_88; uint8_t x_89; uint8_t x_90; uint8_t x_91; uint8_t x_92; uint8_t x_93; uint8_t x_94; uint8_t x_95; uint8_t x_96; uint8_t x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; -x_85 = lean_ctor_get_uint8(x_28, 0); -x_86 = lean_ctor_get_uint8(x_28, 1); -x_87 = lean_ctor_get_uint8(x_28, 2); -x_88 = lean_ctor_get_uint8(x_28, 3); -x_89 = lean_ctor_get_uint8(x_28, 4); -x_90 = lean_ctor_get_uint8(x_28, 6); -x_91 = lean_ctor_get_uint8(x_28, 7); -x_92 = lean_ctor_get_uint8(x_28, 8); -x_93 = lean_ctor_get_uint8(x_28, 9); -x_94 = lean_ctor_get_uint8(x_28, 10); -x_95 = lean_ctor_get_uint8(x_28, 11); -x_96 = lean_ctor_get_uint8(x_28, 12); -x_97 = lean_ctor_get_uint8(x_28, 13); +uint8_t x_83; uint8_t x_84; uint8_t x_85; uint8_t x_86; uint8_t x_87; uint8_t x_88; uint8_t x_89; uint8_t x_90; uint8_t x_91; uint8_t x_92; uint8_t x_93; uint8_t x_94; uint8_t x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; +x_83 = lean_ctor_get_uint8(x_28, 0); +x_84 = lean_ctor_get_uint8(x_28, 1); +x_85 = lean_ctor_get_uint8(x_28, 2); +x_86 = lean_ctor_get_uint8(x_28, 3); +x_87 = lean_ctor_get_uint8(x_28, 4); +x_88 = lean_ctor_get_uint8(x_28, 6); +x_89 = lean_ctor_get_uint8(x_28, 7); +x_90 = lean_ctor_get_uint8(x_28, 8); +x_91 = lean_ctor_get_uint8(x_28, 9); +x_92 = lean_ctor_get_uint8(x_28, 10); +x_93 = lean_ctor_get_uint8(x_28, 11); +x_94 = lean_ctor_get_uint8(x_28, 12); +x_95 = lean_ctor_get_uint8(x_28, 13); lean_dec(x_28); -x_98 = 1; -x_99 = lean_alloc_ctor(0, 0, 14); -lean_ctor_set_uint8(x_99, 0, x_85); -lean_ctor_set_uint8(x_99, 1, x_86); -lean_ctor_set_uint8(x_99, 2, x_87); -lean_ctor_set_uint8(x_99, 3, x_88); -lean_ctor_set_uint8(x_99, 4, x_89); -lean_ctor_set_uint8(x_99, 5, x_98); -lean_ctor_set_uint8(x_99, 6, x_90); -lean_ctor_set_uint8(x_99, 7, x_91); -lean_ctor_set_uint8(x_99, 8, x_92); -lean_ctor_set_uint8(x_99, 9, x_93); -lean_ctor_set_uint8(x_99, 10, x_94); -lean_ctor_set_uint8(x_99, 11, x_95); -lean_ctor_set_uint8(x_99, 12, x_96); -lean_ctor_set_uint8(x_99, 13, x_97); -lean_ctor_set(x_3, 0, x_99); +x_96 = 1; +x_97 = lean_alloc_ctor(0, 0, 14); +lean_ctor_set_uint8(x_97, 0, x_83); +lean_ctor_set_uint8(x_97, 1, x_84); +lean_ctor_set_uint8(x_97, 2, x_85); +lean_ctor_set_uint8(x_97, 3, x_86); +lean_ctor_set_uint8(x_97, 4, x_87); +lean_ctor_set_uint8(x_97, 5, x_96); +lean_ctor_set_uint8(x_97, 6, x_88); +lean_ctor_set_uint8(x_97, 7, x_89); +lean_ctor_set_uint8(x_97, 8, x_90); +lean_ctor_set_uint8(x_97, 9, x_91); +lean_ctor_set_uint8(x_97, 10, x_92); +lean_ctor_set_uint8(x_97, 11, x_93); +lean_ctor_set_uint8(x_97, 12, x_94); +lean_ctor_set_uint8(x_97, 13, x_95); +lean_ctor_set(x_3, 0, x_97); lean_inc(x_6); lean_inc(x_4); -x_100 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__8___rarg(x_23, x_2, x_26, x_3, x_4, x_5, x_6, x_24); -if (lean_obj_tag(x_100) == 0) +x_98 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__8___rarg(x_23, x_2, x_26, x_3, x_4, x_5, x_6, x_24); +if (lean_obj_tag(x_98) == 0) { -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; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_st_ref_get(x_6, x_102); +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; 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_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_101 = lean_st_ref_get(x_6, x_100); lean_dec(x_6); -x_104 = lean_ctor_get(x_103, 1); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +lean_dec(x_101); +x_103 = lean_st_ref_take(x_4, x_102); +x_104 = lean_ctor_get(x_103, 0); lean_inc(x_104); -lean_dec(x_103); -x_105 = lean_st_ref_take(x_4, x_104); -x_106 = lean_ctor_get(x_105, 0); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +x_106 = lean_ctor_get(x_103, 1); lean_inc(x_106); -x_107 = lean_ctor_get(x_106, 1); +lean_dec(x_103); +x_107 = lean_ctor_get(x_104, 0); lean_inc(x_107); -x_108 = lean_ctor_get(x_105, 1); +x_108 = lean_ctor_get(x_104, 2); lean_inc(x_108); -lean_dec(x_105); -x_109 = lean_ctor_get(x_106, 0); +x_109 = lean_ctor_get(x_104, 3); lean_inc(x_109); -x_110 = lean_ctor_get(x_106, 2); -lean_inc(x_110); -x_111 = lean_ctor_get(x_106, 3); +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); + x_110 = x_104; +} else { + lean_dec_ref(x_104); + x_110 = lean_box(0); +} +x_111 = lean_ctor_get(x_105, 0); lean_inc(x_111); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - lean_ctor_release(x_106, 2); - lean_ctor_release(x_106, 3); - x_112 = x_106; -} else { - lean_dec_ref(x_106); - x_112 = lean_box(0); -} -x_113 = lean_ctor_get(x_107, 0); +x_112 = lean_ctor_get(x_105, 2); +lean_inc(x_112); +x_113 = lean_ctor_get(x_105, 3); lean_inc(x_113); -x_114 = lean_ctor_get(x_107, 2); +x_114 = lean_ctor_get(x_105, 4); lean_inc(x_114); -x_115 = lean_ctor_get(x_107, 3); +x_115 = lean_ctor_get(x_105, 5); lean_inc(x_115); -x_116 = lean_ctor_get(x_107, 4); +x_116 = lean_ctor_get(x_105, 1); lean_inc(x_116); -x_117 = lean_ctor_get(x_107, 5); -lean_inc(x_117); -x_118 = lean_ctor_get(x_107, 6); -lean_inc(x_118); -x_119 = lean_ctor_get(x_107, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - lean_ctor_release(x_107, 2); - lean_ctor_release(x_107, 3); - lean_ctor_release(x_107, 4); - lean_ctor_release(x_107, 5); - lean_ctor_release(x_107, 6); - x_120 = x_107; +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + lean_ctor_release(x_105, 2); + lean_ctor_release(x_105, 3); + lean_ctor_release(x_105, 4); + lean_ctor_release(x_105, 5); + x_117 = x_105; } else { - lean_dec_ref(x_107); - x_120 = lean_box(0); + lean_dec_ref(x_105); + x_117 = lean_box(0); } -lean_inc(x_101); -x_121 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_119, x_19, x_101); -if (lean_is_scalar(x_120)) { - x_122 = lean_alloc_ctor(0, 7, 0); +lean_inc(x_99); +x_118 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_116, x_19, x_99); +if (lean_is_scalar(x_117)) { + x_119 = lean_alloc_ctor(0, 6, 0); } else { - x_122 = x_120; + x_119 = x_117; } -lean_ctor_set(x_122, 0, x_113); -lean_ctor_set(x_122, 1, x_121); -lean_ctor_set(x_122, 2, x_114); -lean_ctor_set(x_122, 3, x_115); -lean_ctor_set(x_122, 4, x_116); -lean_ctor_set(x_122, 5, x_117); -lean_ctor_set(x_122, 6, x_118); -if (lean_is_scalar(x_112)) { - x_123 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_119, 0, x_111); +lean_ctor_set(x_119, 1, x_118); +lean_ctor_set(x_119, 2, x_112); +lean_ctor_set(x_119, 3, x_113); +lean_ctor_set(x_119, 4, x_114); +lean_ctor_set(x_119, 5, x_115); +if (lean_is_scalar(x_110)) { + x_120 = lean_alloc_ctor(0, 4, 0); } else { - x_123 = x_112; + x_120 = x_110; } -lean_ctor_set(x_123, 0, x_109); -lean_ctor_set(x_123, 1, x_122); -lean_ctor_set(x_123, 2, x_110); -lean_ctor_set(x_123, 3, x_111); -x_124 = lean_st_ref_set(x_4, x_123, x_108); +lean_ctor_set(x_120, 0, x_107); +lean_ctor_set(x_120, 1, x_119); +lean_ctor_set(x_120, 2, x_108); +lean_ctor_set(x_120, 3, x_109); +x_121 = lean_st_ref_set(x_4, x_120, x_106); lean_dec(x_4); -x_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_126 = x_124; +x_122 = lean_ctor_get(x_121, 1); +lean_inc(x_122); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + x_123 = x_121; } else { - lean_dec_ref(x_124); - x_126 = lean_box(0); + lean_dec_ref(x_121); + x_123 = lean_box(0); } -if (lean_is_scalar(x_126)) { - x_127 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_123)) { + x_124 = lean_alloc_ctor(0, 2, 0); } else { - x_127 = x_126; + x_124 = x_123; } -lean_ctor_set(x_127, 0, x_101); -lean_ctor_set(x_127, 1, x_125); -return x_127; +lean_ctor_set(x_124, 0, x_99); +lean_ctor_set(x_124, 1, x_122); +return x_124; } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_dec(x_19); lean_dec(x_6); lean_dec(x_4); -x_128 = lean_ctor_get(x_100, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_100, 1); -lean_inc(x_129); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_130 = x_100; +x_125 = lean_ctor_get(x_98, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_98, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_127 = x_98; } else { - lean_dec_ref(x_100); - x_130 = lean_box(0); + lean_dec_ref(x_98); + x_127 = lean_box(0); } -if (lean_is_scalar(x_130)) { - x_131 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_127)) { + x_128 = lean_alloc_ctor(1, 2, 0); } else { - x_131 = x_130; + x_128 = x_127; } -lean_ctor_set(x_131, 0, x_128); -lean_ctor_set(x_131, 1, x_129); -return x_131; +lean_ctor_set(x_128, 0, x_125); +lean_ctor_set(x_128, 1, x_126); +return x_128; } } } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; uint8_t x_139; uint8_t x_140; uint8_t x_141; uint8_t x_142; uint8_t x_143; uint8_t x_144; uint8_t x_145; uint8_t x_146; uint8_t x_147; uint8_t x_148; uint8_t x_149; uint8_t x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_132 = lean_ctor_get(x_3, 0); -x_133 = lean_ctor_get(x_3, 1); -x_134 = lean_ctor_get(x_3, 2); -x_135 = lean_ctor_get(x_3, 3); -x_136 = lean_ctor_get(x_3, 4); -x_137 = lean_ctor_get(x_3, 5); -lean_inc(x_137); -lean_inc(x_136); -lean_inc(x_135); +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; uint8_t x_136; uint8_t x_137; uint8_t x_138; uint8_t x_139; uint8_t x_140; uint8_t x_141; uint8_t x_142; uint8_t x_143; uint8_t x_144; uint8_t x_145; uint8_t x_146; uint8_t x_147; lean_object* x_148; uint8_t x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_129 = lean_ctor_get(x_3, 0); +x_130 = lean_ctor_get(x_3, 1); +x_131 = lean_ctor_get(x_3, 2); +x_132 = lean_ctor_get(x_3, 3); +x_133 = lean_ctor_get(x_3, 4); +x_134 = lean_ctor_get(x_3, 5); lean_inc(x_134); lean_inc(x_133); lean_inc(x_132); +lean_inc(x_131); +lean_inc(x_130); +lean_inc(x_129); lean_dec(x_3); -x_138 = lean_ctor_get_uint8(x_132, 0); -x_139 = lean_ctor_get_uint8(x_132, 1); -x_140 = lean_ctor_get_uint8(x_132, 2); -x_141 = lean_ctor_get_uint8(x_132, 3); -x_142 = lean_ctor_get_uint8(x_132, 4); -x_143 = lean_ctor_get_uint8(x_132, 6); -x_144 = lean_ctor_get_uint8(x_132, 7); -x_145 = lean_ctor_get_uint8(x_132, 8); -x_146 = lean_ctor_get_uint8(x_132, 9); -x_147 = lean_ctor_get_uint8(x_132, 10); -x_148 = lean_ctor_get_uint8(x_132, 11); -x_149 = lean_ctor_get_uint8(x_132, 12); -x_150 = lean_ctor_get_uint8(x_132, 13); -if (lean_is_exclusive(x_132)) { - x_151 = x_132; +x_135 = lean_ctor_get_uint8(x_129, 0); +x_136 = lean_ctor_get_uint8(x_129, 1); +x_137 = lean_ctor_get_uint8(x_129, 2); +x_138 = lean_ctor_get_uint8(x_129, 3); +x_139 = lean_ctor_get_uint8(x_129, 4); +x_140 = lean_ctor_get_uint8(x_129, 6); +x_141 = lean_ctor_get_uint8(x_129, 7); +x_142 = lean_ctor_get_uint8(x_129, 8); +x_143 = lean_ctor_get_uint8(x_129, 9); +x_144 = lean_ctor_get_uint8(x_129, 10); +x_145 = lean_ctor_get_uint8(x_129, 11); +x_146 = lean_ctor_get_uint8(x_129, 12); +x_147 = lean_ctor_get_uint8(x_129, 13); +if (lean_is_exclusive(x_129)) { + x_148 = x_129; } else { - lean_dec_ref(x_132); - x_151 = lean_box(0); + lean_dec_ref(x_129); + x_148 = lean_box(0); } -x_152 = 1; -if (lean_is_scalar(x_151)) { - x_153 = lean_alloc_ctor(0, 0, 14); +x_149 = 1; +if (lean_is_scalar(x_148)) { + x_150 = lean_alloc_ctor(0, 0, 14); } else { - x_153 = x_151; + x_150 = x_148; } -lean_ctor_set_uint8(x_153, 0, x_138); -lean_ctor_set_uint8(x_153, 1, x_139); -lean_ctor_set_uint8(x_153, 2, x_140); -lean_ctor_set_uint8(x_153, 3, x_141); -lean_ctor_set_uint8(x_153, 4, x_142); -lean_ctor_set_uint8(x_153, 5, x_152); -lean_ctor_set_uint8(x_153, 6, x_143); -lean_ctor_set_uint8(x_153, 7, x_144); -lean_ctor_set_uint8(x_153, 8, x_145); -lean_ctor_set_uint8(x_153, 9, x_146); -lean_ctor_set_uint8(x_153, 10, x_147); -lean_ctor_set_uint8(x_153, 11, x_148); -lean_ctor_set_uint8(x_153, 12, x_149); -lean_ctor_set_uint8(x_153, 13, x_150); -x_154 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_133); -lean_ctor_set(x_154, 2, x_134); -lean_ctor_set(x_154, 3, x_135); -lean_ctor_set(x_154, 4, x_136); -lean_ctor_set(x_154, 5, x_137); +lean_ctor_set_uint8(x_150, 0, x_135); +lean_ctor_set_uint8(x_150, 1, x_136); +lean_ctor_set_uint8(x_150, 2, x_137); +lean_ctor_set_uint8(x_150, 3, x_138); +lean_ctor_set_uint8(x_150, 4, x_139); +lean_ctor_set_uint8(x_150, 5, x_149); +lean_ctor_set_uint8(x_150, 6, x_140); +lean_ctor_set_uint8(x_150, 7, x_141); +lean_ctor_set_uint8(x_150, 8, x_142); +lean_ctor_set_uint8(x_150, 9, x_143); +lean_ctor_set_uint8(x_150, 10, x_144); +lean_ctor_set_uint8(x_150, 11, x_145); +lean_ctor_set_uint8(x_150, 12, x_146); +lean_ctor_set_uint8(x_150, 13, x_147); +x_151 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_130); +lean_ctor_set(x_151, 2, x_131); +lean_ctor_set(x_151, 3, x_132); +lean_ctor_set(x_151, 4, x_133); +lean_ctor_set(x_151, 5, x_134); lean_inc(x_6); lean_inc(x_4); -x_155 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__8___rarg(x_23, x_2, x_26, x_154, x_4, x_5, x_6, x_24); -if (lean_obj_tag(x_155) == 0) +x_152 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__8___rarg(x_23, x_2, x_26, x_151, x_4, x_5, x_6, x_24); +if (lean_obj_tag(x_152) == 0) { -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_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_st_ref_get(x_6, x_157); +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_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +lean_dec(x_152); +x_155 = lean_st_ref_get(x_6, x_154); lean_dec(x_6); +x_156 = lean_ctor_get(x_155, 1); +lean_inc(x_156); +lean_dec(x_155); +x_157 = lean_st_ref_take(x_4, x_156); +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); x_159 = lean_ctor_get(x_158, 1); lean_inc(x_159); -lean_dec(x_158); -x_160 = lean_st_ref_take(x_4, x_159); -x_161 = lean_ctor_get(x_160, 0); +x_160 = lean_ctor_get(x_157, 1); +lean_inc(x_160); +lean_dec(x_157); +x_161 = lean_ctor_get(x_158, 0); lean_inc(x_161); -x_162 = lean_ctor_get(x_161, 1); +x_162 = lean_ctor_get(x_158, 2); lean_inc(x_162); -x_163 = lean_ctor_get(x_160, 1); +x_163 = lean_ctor_get(x_158, 3); lean_inc(x_163); -lean_dec(x_160); -x_164 = lean_ctor_get(x_161, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_161, 2); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + lean_ctor_release(x_158, 1); + lean_ctor_release(x_158, 2); + lean_ctor_release(x_158, 3); + x_164 = x_158; +} else { + lean_dec_ref(x_158); + x_164 = lean_box(0); +} +x_165 = lean_ctor_get(x_159, 0); lean_inc(x_165); -x_166 = lean_ctor_get(x_161, 3); +x_166 = lean_ctor_get(x_159, 2); lean_inc(x_166); -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); - x_167 = x_161; -} else { - lean_dec_ref(x_161); - x_167 = lean_box(0); -} -x_168 = lean_ctor_get(x_162, 0); +x_167 = lean_ctor_get(x_159, 3); +lean_inc(x_167); +x_168 = lean_ctor_get(x_159, 4); lean_inc(x_168); -x_169 = lean_ctor_get(x_162, 2); +x_169 = lean_ctor_get(x_159, 5); lean_inc(x_169); -x_170 = lean_ctor_get(x_162, 3); +x_170 = lean_ctor_get(x_159, 1); lean_inc(x_170); -x_171 = lean_ctor_get(x_162, 4); -lean_inc(x_171); -x_172 = lean_ctor_get(x_162, 5); -lean_inc(x_172); -x_173 = lean_ctor_get(x_162, 6); -lean_inc(x_173); -x_174 = lean_ctor_get(x_162, 1); -lean_inc(x_174); -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); - lean_ctor_release(x_162, 6); - x_175 = x_162; +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + lean_ctor_release(x_159, 2); + lean_ctor_release(x_159, 3); + lean_ctor_release(x_159, 4); + lean_ctor_release(x_159, 5); + x_171 = x_159; } else { - lean_dec_ref(x_162); - x_175 = lean_box(0); + lean_dec_ref(x_159); + x_171 = lean_box(0); } -lean_inc(x_156); -x_176 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_174, x_19, x_156); -if (lean_is_scalar(x_175)) { - x_177 = lean_alloc_ctor(0, 7, 0); +lean_inc(x_153); +x_172 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_170, x_19, x_153); +if (lean_is_scalar(x_171)) { + x_173 = lean_alloc_ctor(0, 6, 0); } else { - x_177 = x_175; + x_173 = x_171; } -lean_ctor_set(x_177, 0, x_168); -lean_ctor_set(x_177, 1, x_176); -lean_ctor_set(x_177, 2, x_169); -lean_ctor_set(x_177, 3, x_170); -lean_ctor_set(x_177, 4, x_171); -lean_ctor_set(x_177, 5, x_172); -lean_ctor_set(x_177, 6, x_173); -if (lean_is_scalar(x_167)) { - x_178 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_173, 0, x_165); +lean_ctor_set(x_173, 1, x_172); +lean_ctor_set(x_173, 2, x_166); +lean_ctor_set(x_173, 3, x_167); +lean_ctor_set(x_173, 4, x_168); +lean_ctor_set(x_173, 5, x_169); +if (lean_is_scalar(x_164)) { + x_174 = lean_alloc_ctor(0, 4, 0); } else { - x_178 = x_167; + x_174 = x_164; } -lean_ctor_set(x_178, 0, x_164); -lean_ctor_set(x_178, 1, x_177); -lean_ctor_set(x_178, 2, x_165); -lean_ctor_set(x_178, 3, x_166); -x_179 = lean_st_ref_set(x_4, x_178, x_163); +lean_ctor_set(x_174, 0, x_161); +lean_ctor_set(x_174, 1, x_173); +lean_ctor_set(x_174, 2, x_162); +lean_ctor_set(x_174, 3, x_163); +x_175 = lean_st_ref_set(x_4, x_174, x_160); lean_dec(x_4); -x_180 = lean_ctor_get(x_179, 1); -lean_inc(x_180); -if (lean_is_exclusive(x_179)) { - lean_ctor_release(x_179, 0); - lean_ctor_release(x_179, 1); - x_181 = x_179; +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_177 = x_175; } else { - lean_dec_ref(x_179); - x_181 = lean_box(0); + lean_dec_ref(x_175); + x_177 = lean_box(0); } -if (lean_is_scalar(x_181)) { - x_182 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_177)) { + x_178 = lean_alloc_ctor(0, 2, 0); } else { - x_182 = x_181; + x_178 = x_177; } -lean_ctor_set(x_182, 0, x_156); -lean_ctor_set(x_182, 1, x_180); -return x_182; +lean_ctor_set(x_178, 0, x_153); +lean_ctor_set(x_178, 1, x_176); +return x_178; } else { -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_dec(x_19); lean_dec(x_6); lean_dec(x_4); -x_183 = lean_ctor_get(x_155, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_155, 1); -lean_inc(x_184); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_185 = x_155; +x_179 = lean_ctor_get(x_152, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_152, 1); +lean_inc(x_180); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_181 = x_152; } else { - lean_dec_ref(x_155); - x_185 = lean_box(0); + lean_dec_ref(x_152); + x_181 = lean_box(0); } -if (lean_is_scalar(x_185)) { - x_186 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_181)) { + x_182 = lean_alloc_ctor(1, 2, 0); } else { - x_186 = x_185; + x_182 = x_181; } -lean_ctor_set(x_186, 0, x_183); -lean_ctor_set(x_186, 1, x_184); -return x_186; +lean_ctor_set(x_182, 0, x_179); +lean_ctor_set(x_182, 1, x_180); +return x_182; } } } else { -uint8_t x_187; +uint8_t x_183; lean_dec(x_19); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_187 = !lean_is_exclusive(x_22); -if (x_187 == 0) +x_183 = !lean_is_exclusive(x_22); +if (x_183 == 0) { return x_22; } else { -lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_188 = lean_ctor_get(x_22, 0); -x_189 = lean_ctor_get(x_22, 1); -lean_inc(x_189); -lean_inc(x_188); +lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_184 = lean_ctor_get(x_22, 0); +x_185 = lean_ctor_get(x_22, 1); +lean_inc(x_185); +lean_inc(x_184); lean_dec(x_22); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_188); -lean_ctor_set(x_190, 1, x_189); -return x_190; +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +return x_186; } } } else { -lean_object* x_191; +lean_object* x_187; lean_dec(x_19); lean_dec(x_6); lean_dec(x_5); @@ -7537,68 +7511,68 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_191 = lean_ctor_get(x_21, 0); -lean_inc(x_191); +x_187 = lean_ctor_get(x_21, 0); +lean_inc(x_187); lean_dec(x_21); -lean_ctor_set(x_13, 0, x_191); +lean_ctor_set(x_13, 0, x_187); return x_13; } } else { -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; lean_object* x_198; -x_192 = lean_ctor_get(x_13, 0); -x_193 = lean_ctor_get(x_13, 1); -lean_inc(x_193); -lean_inc(x_192); +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; lean_object* x_194; +x_188 = lean_ctor_get(x_13, 0); +x_189 = lean_ctor_get(x_13, 1); +lean_inc(x_189); +lean_inc(x_188); lean_dec(x_13); -x_194 = lean_ctor_get(x_192, 1); -lean_inc(x_194); -lean_dec(x_192); -x_195 = lean_ctor_get(x_194, 1); -lean_inc(x_195); -lean_dec(x_194); +x_190 = lean_ctor_get(x_188, 1); +lean_inc(x_190); +lean_dec(x_188); +x_191 = lean_ctor_get(x_190, 1); +lean_inc(x_191); +lean_dec(x_190); lean_inc(x_2); lean_inc(x_1); -x_196 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_196, 0, x_1); -lean_ctor_set(x_196, 1, x_2); -x_197 = lean_unbox(x_9); +x_192 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_192, 0, x_1); +lean_ctor_set(x_192, 1, x_2); +x_193 = lean_unbox(x_9); lean_dec(x_9); -lean_ctor_set_uint8(x_196, sizeof(void*)*2, x_197); -lean_inc(x_196); -x_198 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__1(x_195, x_196); -if (lean_obj_tag(x_198) == 0) +lean_ctor_set_uint8(x_192, sizeof(void*)*2, x_193); +lean_inc(x_192); +x_194 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__1(x_191, x_192); +if (lean_obj_tag(x_194) == 0) { -lean_object* x_199; +lean_object* x_195; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_199 = lean_infer_type(x_1, x_3, x_4, x_5, x_6, x_193); -if (lean_obj_tag(x_199) == 0) +x_195 = lean_infer_type(x_1, x_3, x_4, x_5, x_6, x_189); +if (lean_obj_tag(x_195) == 0) { -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; uint8_t x_211; uint8_t x_212; uint8_t x_213; uint8_t x_214; uint8_t x_215; uint8_t x_216; uint8_t x_217; uint8_t x_218; uint8_t x_219; uint8_t x_220; uint8_t x_221; uint8_t x_222; uint8_t x_223; lean_object* x_224; uint8_t x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; -x_200 = lean_ctor_get(x_199, 0); +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; uint8_t x_207; uint8_t x_208; uint8_t x_209; uint8_t x_210; uint8_t x_211; uint8_t x_212; uint8_t x_213; uint8_t x_214; uint8_t x_215; uint8_t x_216; uint8_t x_217; uint8_t x_218; uint8_t x_219; lean_object* x_220; uint8_t x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +x_196 = lean_ctor_get(x_195, 0); +lean_inc(x_196); +x_197 = lean_ctor_get(x_195, 1); +lean_inc(x_197); +lean_dec(x_195); +x_198 = l___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___closed__1; +x_199 = lean_alloc_closure((void*)(l___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___lambda__1___boxed), 8, 1); +lean_closure_set(x_199, 0, x_198); +x_200 = lean_ctor_get(x_3, 0); lean_inc(x_200); -x_201 = lean_ctor_get(x_199, 1); +x_201 = lean_ctor_get(x_3, 1); lean_inc(x_201); -lean_dec(x_199); -x_202 = l___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___closed__1; -x_203 = lean_alloc_closure((void*)(l___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___lambda__1___boxed), 8, 1); -lean_closure_set(x_203, 0, x_202); -x_204 = lean_ctor_get(x_3, 0); +x_202 = lean_ctor_get(x_3, 2); +lean_inc(x_202); +x_203 = lean_ctor_get(x_3, 3); +lean_inc(x_203); +x_204 = lean_ctor_get(x_3, 4); lean_inc(x_204); -x_205 = lean_ctor_get(x_3, 1); +x_205 = lean_ctor_get(x_3, 5); lean_inc(x_205); -x_206 = lean_ctor_get(x_3, 2); -lean_inc(x_206); -x_207 = lean_ctor_get(x_3, 3); -lean_inc(x_207); -x_208 = lean_ctor_get(x_3, 4); -lean_inc(x_208); -x_209 = lean_ctor_get(x_3, 5); -lean_inc(x_209); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); @@ -7606,248 +7580,244 @@ if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 3); lean_ctor_release(x_3, 4); lean_ctor_release(x_3, 5); - x_210 = x_3; + x_206 = x_3; } else { lean_dec_ref(x_3); - x_210 = lean_box(0); + x_206 = lean_box(0); } -x_211 = lean_ctor_get_uint8(x_204, 0); -x_212 = lean_ctor_get_uint8(x_204, 1); -x_213 = lean_ctor_get_uint8(x_204, 2); -x_214 = lean_ctor_get_uint8(x_204, 3); -x_215 = lean_ctor_get_uint8(x_204, 4); -x_216 = lean_ctor_get_uint8(x_204, 6); -x_217 = lean_ctor_get_uint8(x_204, 7); -x_218 = lean_ctor_get_uint8(x_204, 8); -x_219 = lean_ctor_get_uint8(x_204, 9); -x_220 = lean_ctor_get_uint8(x_204, 10); -x_221 = lean_ctor_get_uint8(x_204, 11); -x_222 = lean_ctor_get_uint8(x_204, 12); -x_223 = lean_ctor_get_uint8(x_204, 13); -if (lean_is_exclusive(x_204)) { - x_224 = x_204; +x_207 = lean_ctor_get_uint8(x_200, 0); +x_208 = lean_ctor_get_uint8(x_200, 1); +x_209 = lean_ctor_get_uint8(x_200, 2); +x_210 = lean_ctor_get_uint8(x_200, 3); +x_211 = lean_ctor_get_uint8(x_200, 4); +x_212 = lean_ctor_get_uint8(x_200, 6); +x_213 = lean_ctor_get_uint8(x_200, 7); +x_214 = lean_ctor_get_uint8(x_200, 8); +x_215 = lean_ctor_get_uint8(x_200, 9); +x_216 = lean_ctor_get_uint8(x_200, 10); +x_217 = lean_ctor_get_uint8(x_200, 11); +x_218 = lean_ctor_get_uint8(x_200, 12); +x_219 = lean_ctor_get_uint8(x_200, 13); +if (lean_is_exclusive(x_200)) { + x_220 = x_200; } else { - lean_dec_ref(x_204); - x_224 = lean_box(0); + lean_dec_ref(x_200); + x_220 = lean_box(0); } -x_225 = 1; -if (lean_is_scalar(x_224)) { - x_226 = lean_alloc_ctor(0, 0, 14); +x_221 = 1; +if (lean_is_scalar(x_220)) { + x_222 = lean_alloc_ctor(0, 0, 14); } else { - x_226 = x_224; + x_222 = x_220; } -lean_ctor_set_uint8(x_226, 0, x_211); -lean_ctor_set_uint8(x_226, 1, x_212); -lean_ctor_set_uint8(x_226, 2, x_213); -lean_ctor_set_uint8(x_226, 3, x_214); -lean_ctor_set_uint8(x_226, 4, x_215); -lean_ctor_set_uint8(x_226, 5, x_225); -lean_ctor_set_uint8(x_226, 6, x_216); -lean_ctor_set_uint8(x_226, 7, x_217); -lean_ctor_set_uint8(x_226, 8, x_218); -lean_ctor_set_uint8(x_226, 9, x_219); -lean_ctor_set_uint8(x_226, 10, x_220); -lean_ctor_set_uint8(x_226, 11, x_221); -lean_ctor_set_uint8(x_226, 12, x_222); -lean_ctor_set_uint8(x_226, 13, x_223); -if (lean_is_scalar(x_210)) { - x_227 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set_uint8(x_222, 0, x_207); +lean_ctor_set_uint8(x_222, 1, x_208); +lean_ctor_set_uint8(x_222, 2, x_209); +lean_ctor_set_uint8(x_222, 3, x_210); +lean_ctor_set_uint8(x_222, 4, x_211); +lean_ctor_set_uint8(x_222, 5, x_221); +lean_ctor_set_uint8(x_222, 6, x_212); +lean_ctor_set_uint8(x_222, 7, x_213); +lean_ctor_set_uint8(x_222, 8, x_214); +lean_ctor_set_uint8(x_222, 9, x_215); +lean_ctor_set_uint8(x_222, 10, x_216); +lean_ctor_set_uint8(x_222, 11, x_217); +lean_ctor_set_uint8(x_222, 12, x_218); +lean_ctor_set_uint8(x_222, 13, x_219); +if (lean_is_scalar(x_206)) { + x_223 = lean_alloc_ctor(0, 6, 0); } else { - x_227 = x_210; + x_223 = x_206; } -lean_ctor_set(x_227, 0, x_226); -lean_ctor_set(x_227, 1, x_205); -lean_ctor_set(x_227, 2, x_206); -lean_ctor_set(x_227, 3, x_207); -lean_ctor_set(x_227, 4, x_208); -lean_ctor_set(x_227, 5, x_209); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_201); +lean_ctor_set(x_223, 2, x_202); +lean_ctor_set(x_223, 3, x_203); +lean_ctor_set(x_223, 4, x_204); +lean_ctor_set(x_223, 5, x_205); lean_inc(x_6); lean_inc(x_4); -x_228 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__8___rarg(x_200, x_2, x_203, x_227, x_4, x_5, x_6, x_201); -if (lean_obj_tag(x_228) == 0) +x_224 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__8___rarg(x_196, x_2, x_199, x_223, x_4, x_5, x_6, x_197); +if (lean_obj_tag(x_224) == 0) { -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_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; -x_229 = lean_ctor_get(x_228, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_228, 1); +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_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_224, 1); +lean_inc(x_226); +lean_dec(x_224); +x_227 = lean_st_ref_get(x_6, x_226); +lean_dec(x_6); +x_228 = lean_ctor_get(x_227, 1); +lean_inc(x_228); +lean_dec(x_227); +x_229 = lean_st_ref_take(x_4, x_228); +x_230 = lean_ctor_get(x_229, 0); lean_inc(x_230); -lean_dec(x_228); -x_231 = lean_st_ref_get(x_6, x_230); -lean_dec(x_6); -x_232 = lean_ctor_get(x_231, 1); +x_231 = lean_ctor_get(x_230, 1); +lean_inc(x_231); +x_232 = lean_ctor_get(x_229, 1); lean_inc(x_232); -lean_dec(x_231); -x_233 = lean_st_ref_take(x_4, x_232); -x_234 = lean_ctor_get(x_233, 0); +lean_dec(x_229); +x_233 = lean_ctor_get(x_230, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_230, 2); lean_inc(x_234); -x_235 = lean_ctor_get(x_234, 1); +x_235 = lean_ctor_get(x_230, 3); lean_inc(x_235); -x_236 = lean_ctor_get(x_233, 1); -lean_inc(x_236); -lean_dec(x_233); -x_237 = lean_ctor_get(x_234, 0); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + lean_ctor_release(x_230, 2); + lean_ctor_release(x_230, 3); + x_236 = x_230; +} else { + lean_dec_ref(x_230); + x_236 = lean_box(0); +} +x_237 = lean_ctor_get(x_231, 0); lean_inc(x_237); -x_238 = lean_ctor_get(x_234, 2); +x_238 = lean_ctor_get(x_231, 2); lean_inc(x_238); -x_239 = lean_ctor_get(x_234, 3); +x_239 = lean_ctor_get(x_231, 3); lean_inc(x_239); -if (lean_is_exclusive(x_234)) { - lean_ctor_release(x_234, 0); - lean_ctor_release(x_234, 1); - lean_ctor_release(x_234, 2); - lean_ctor_release(x_234, 3); - x_240 = x_234; -} else { - lean_dec_ref(x_234); - x_240 = lean_box(0); -} -x_241 = lean_ctor_get(x_235, 0); +x_240 = lean_ctor_get(x_231, 4); +lean_inc(x_240); +x_241 = lean_ctor_get(x_231, 5); lean_inc(x_241); -x_242 = lean_ctor_get(x_235, 2); +x_242 = lean_ctor_get(x_231, 1); lean_inc(x_242); -x_243 = lean_ctor_get(x_235, 3); -lean_inc(x_243); -x_244 = lean_ctor_get(x_235, 4); -lean_inc(x_244); -x_245 = lean_ctor_get(x_235, 5); -lean_inc(x_245); -x_246 = lean_ctor_get(x_235, 6); -lean_inc(x_246); -x_247 = lean_ctor_get(x_235, 1); -lean_inc(x_247); -if (lean_is_exclusive(x_235)) { - lean_ctor_release(x_235, 0); - lean_ctor_release(x_235, 1); - lean_ctor_release(x_235, 2); - lean_ctor_release(x_235, 3); - lean_ctor_release(x_235, 4); - lean_ctor_release(x_235, 5); - lean_ctor_release(x_235, 6); - x_248 = x_235; +if (lean_is_exclusive(x_231)) { + lean_ctor_release(x_231, 0); + lean_ctor_release(x_231, 1); + lean_ctor_release(x_231, 2); + lean_ctor_release(x_231, 3); + lean_ctor_release(x_231, 4); + lean_ctor_release(x_231, 5); + x_243 = x_231; } else { - lean_dec_ref(x_235); - x_248 = lean_box(0); + lean_dec_ref(x_231); + x_243 = lean_box(0); } -lean_inc(x_229); -x_249 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_247, x_196, x_229); -if (lean_is_scalar(x_248)) { - x_250 = lean_alloc_ctor(0, 7, 0); +lean_inc(x_225); +x_244 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_FunInfo_0__Lean_Meta_checkFunInfoCache___spec__4(x_242, x_192, x_225); +if (lean_is_scalar(x_243)) { + x_245 = lean_alloc_ctor(0, 6, 0); } else { - x_250 = x_248; + x_245 = x_243; } -lean_ctor_set(x_250, 0, x_241); -lean_ctor_set(x_250, 1, x_249); -lean_ctor_set(x_250, 2, x_242); -lean_ctor_set(x_250, 3, x_243); -lean_ctor_set(x_250, 4, x_244); -lean_ctor_set(x_250, 5, x_245); -lean_ctor_set(x_250, 6, x_246); -if (lean_is_scalar(x_240)) { - x_251 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_245, 0, x_237); +lean_ctor_set(x_245, 1, x_244); +lean_ctor_set(x_245, 2, x_238); +lean_ctor_set(x_245, 3, x_239); +lean_ctor_set(x_245, 4, x_240); +lean_ctor_set(x_245, 5, x_241); +if (lean_is_scalar(x_236)) { + x_246 = lean_alloc_ctor(0, 4, 0); } else { - x_251 = x_240; + x_246 = x_236; } -lean_ctor_set(x_251, 0, x_237); -lean_ctor_set(x_251, 1, x_250); -lean_ctor_set(x_251, 2, x_238); -lean_ctor_set(x_251, 3, x_239); -x_252 = lean_st_ref_set(x_4, x_251, x_236); +lean_ctor_set(x_246, 0, x_233); +lean_ctor_set(x_246, 1, x_245); +lean_ctor_set(x_246, 2, x_234); +lean_ctor_set(x_246, 3, x_235); +x_247 = lean_st_ref_set(x_4, x_246, x_232); lean_dec(x_4); -x_253 = lean_ctor_get(x_252, 1); -lean_inc(x_253); -if (lean_is_exclusive(x_252)) { - lean_ctor_release(x_252, 0); - lean_ctor_release(x_252, 1); - x_254 = x_252; +x_248 = lean_ctor_get(x_247, 1); +lean_inc(x_248); +if (lean_is_exclusive(x_247)) { + lean_ctor_release(x_247, 0); + lean_ctor_release(x_247, 1); + x_249 = x_247; } else { - lean_dec_ref(x_252); - x_254 = lean_box(0); + lean_dec_ref(x_247); + x_249 = lean_box(0); } -if (lean_is_scalar(x_254)) { - x_255 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_249)) { + x_250 = lean_alloc_ctor(0, 2, 0); } else { - x_255 = x_254; + x_250 = x_249; } -lean_ctor_set(x_255, 0, x_229); -lean_ctor_set(x_255, 1, x_253); -return x_255; +lean_ctor_set(x_250, 0, x_225); +lean_ctor_set(x_250, 1, x_248); +return x_250; } else { -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -lean_dec(x_196); +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; +lean_dec(x_192); lean_dec(x_6); lean_dec(x_4); -x_256 = lean_ctor_get(x_228, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_228, 1); -lean_inc(x_257); -if (lean_is_exclusive(x_228)) { - lean_ctor_release(x_228, 0); - lean_ctor_release(x_228, 1); - x_258 = x_228; +x_251 = lean_ctor_get(x_224, 0); +lean_inc(x_251); +x_252 = lean_ctor_get(x_224, 1); +lean_inc(x_252); +if (lean_is_exclusive(x_224)) { + lean_ctor_release(x_224, 0); + lean_ctor_release(x_224, 1); + x_253 = x_224; } else { - lean_dec_ref(x_228); - x_258 = lean_box(0); + lean_dec_ref(x_224); + x_253 = lean_box(0); } -if (lean_is_scalar(x_258)) { - x_259 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_253)) { + x_254 = lean_alloc_ctor(1, 2, 0); } else { - x_259 = x_258; + x_254 = x_253; } -lean_ctor_set(x_259, 0, x_256); -lean_ctor_set(x_259, 1, x_257); -return x_259; +lean_ctor_set(x_254, 0, x_251); +lean_ctor_set(x_254, 1, x_252); +return x_254; } } else { -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; -lean_dec(x_196); +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; +lean_dec(x_192); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_260 = lean_ctor_get(x_199, 0); -lean_inc(x_260); -x_261 = lean_ctor_get(x_199, 1); -lean_inc(x_261); -if (lean_is_exclusive(x_199)) { - lean_ctor_release(x_199, 0); - lean_ctor_release(x_199, 1); - x_262 = x_199; +x_255 = lean_ctor_get(x_195, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_195, 1); +lean_inc(x_256); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + x_257 = x_195; } else { - lean_dec_ref(x_199); - x_262 = lean_box(0); + lean_dec_ref(x_195); + x_257 = lean_box(0); } -if (lean_is_scalar(x_262)) { - x_263 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_257)) { + x_258 = lean_alloc_ctor(1, 2, 0); } else { - x_263 = x_262; + x_258 = x_257; } -lean_ctor_set(x_263, 0, x_260); -lean_ctor_set(x_263, 1, x_261); -return x_263; +lean_ctor_set(x_258, 0, x_255); +lean_ctor_set(x_258, 1, x_256); +return x_258; } } else { -lean_object* x_264; lean_object* x_265; -lean_dec(x_196); +lean_object* x_259; lean_object* x_260; +lean_dec(x_192); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_264 = lean_ctor_get(x_198, 0); -lean_inc(x_264); -lean_dec(x_198); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_193); -return x_265; +x_259 = lean_ctor_get(x_194, 0); +lean_inc(x_259); +lean_dec(x_194); +x_260 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_260, 0, x_259); +lean_ctor_set(x_260, 1, x_189); +return x_260; } } } diff --git a/stage0/stdlib/Lean/Meta/GeneralizeVars.c b/stage0/stdlib/Lean/Meta/GeneralizeVars.c index 1649b50337..d70dc28ccf 100644 --- a/stage0/stdlib/Lean/Meta/GeneralizeVars.c +++ b/stage0/stdlib/Lean/Meta/GeneralizeVars.c @@ -67,6 +67,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_getFVarSetToGen static lean_object* l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__2; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Meta_getFVarSetToGeneralize___spec__41___at_Lean_Meta_getFVarSetToGeneralize___spec__49(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkGeneralizationForbiddenSet_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_getFVarSetToGeneralize___spec__36___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_getFVarSetToGeneralize___spec__35(lean_object*, lean_object*, lean_object*); @@ -178,7 +179,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_getFVarSetToGen LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_getFVarSetToGeneralize___spec__51___at_Lean_Meta_getFVarSetToGeneralize___spec__59(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_getFVarSetToGeneralize___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_getFVarSetToGeneralize___spec__40(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_getFVarSetToGeneralize___spec__32(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1554,7 +1554,7 @@ else { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_inc(x_3); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_3, x_4); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_3, x_4); x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); @@ -2054,7 +2054,7 @@ else { lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_inc(x_2); -x_40 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_40 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); @@ -2845,7 +2845,7 @@ else { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_inc(x_3); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_3, x_4); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_3, x_4); x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); @@ -3337,7 +3337,7 @@ else { lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_inc(x_2); -x_40 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_40 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); @@ -4128,7 +4128,7 @@ else { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_inc(x_3); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_3, x_4); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_3, x_4); x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); @@ -4929,7 +4929,7 @@ else { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_inc(x_3); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_3, x_4); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_3, x_4); x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); @@ -5730,7 +5730,7 @@ else { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_inc(x_3); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_3, x_4); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_3, x_4); x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); @@ -6222,7 +6222,7 @@ else { lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_inc(x_2); -x_40 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_40 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); @@ -7013,7 +7013,7 @@ else { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_inc(x_3); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_3, x_4); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_3, x_4); x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); @@ -7505,7 +7505,7 @@ else { lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_inc(x_2); -x_40 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_40 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); @@ -8008,7 +8008,7 @@ goto _start; } else { -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_object* x_54; lean_object* x_65; lean_object* x_274; +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_object* x_54; lean_object* x_65; lean_object* x_70; lean_object* x_211; x_48 = lean_ctor_get(x_16, 0); lean_inc(x_48); lean_dec(x_16); @@ -8025,107 +8025,107 @@ if (lean_is_exclusive(x_25)) { x_51 = lean_box(0); } x_52 = l_Lean_LocalDecl_fvarId(x_48); -x_274 = l_Std_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_1, x_52); -if (lean_obj_tag(x_274) == 0) +x_211 = l_Std_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_1, x_52); +if (lean_obj_tag(x_211) == 0) { -uint8_t x_275; -x_275 = l_Lean_LocalDecl_isAuxDecl(x_48); -if (x_275 == 0) +uint8_t x_212; +x_212 = l_Lean_LocalDecl_isAuxDecl(x_48); +if (x_212 == 0) { -uint8_t x_276; uint8_t x_277; -x_276 = l_Lean_LocalDecl_binderInfo(x_48); -x_277 = l_Lean_BinderInfo_isInstImplicit(x_276); -if (x_277 == 0) +uint8_t x_213; uint8_t x_214; +x_213 = l_Lean_LocalDecl_binderInfo(x_48); +x_214 = l_Lean_BinderInfo_isInstImplicit(x_213); +if (x_214 == 0) { if (x_2 == 0) { -lean_object* x_278; -x_278 = lean_box(0); -x_65 = x_278; -goto block_273; +lean_object* x_215; +x_215 = lean_box(0); +x_70 = x_215; +goto block_210; } else { -uint8_t x_279; -x_279 = l_Lean_LocalDecl_isLet(x_48); -if (x_279 == 0) +uint8_t x_216; +x_216 = l_Lean_LocalDecl_isLet(x_48); +if (x_216 == 0) { -lean_object* x_280; -x_280 = lean_box(0); -x_65 = x_280; -goto block_273; +lean_object* x_217; +x_217 = lean_box(0); +x_70 = x_217; +goto block_210; } else { -lean_object* x_281; lean_object* x_282; lean_object* x_283; +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_281 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_281, 0, x_49); -lean_ctor_set(x_281, 1, x_50); -x_282 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_282, 0, x_281); -x_283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_13); -x_27 = x_283; +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_49); +lean_ctor_set(x_218, 1, x_50); +x_219 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_219, 0, x_218); +x_220 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_13); +x_27 = x_220; goto block_43; } } } else { -lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_284 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_284, 0, x_49); -lean_ctor_set(x_284, 1, x_50); -x_285 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_285, 0, 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_13); -x_27 = x_286; +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_49); +lean_ctor_set(x_221, 1, x_50); +x_222 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_222, 0, x_221); +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_13); +x_27 = x_223; goto block_43; } } else { -lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_287 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_287, 0, x_49); -lean_ctor_set(x_287, 1, x_50); -x_288 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_288, 0, x_287); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_13); -x_27 = x_289; +x_224 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_224, 0, x_49); +lean_ctor_set(x_224, 1, x_50); +x_225 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_225, 0, x_224); +x_226 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_13); +x_27 = x_226; goto block_43; } } else { -lean_object* x_290; lean_object* x_291; lean_object* x_292; -lean_dec(x_274); +lean_object* x_227; lean_object* x_228; lean_object* x_229; +lean_dec(x_211); lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_49); -lean_ctor_set(x_290, 1, x_50); -x_291 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_291, 0, x_290); -x_292 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_13); -x_27 = x_292; +x_227 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_227, 0, x_49); +lean_ctor_set(x_227, 1, x_50); +x_228 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_228, 0, x_227); +x_229 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_13); +x_27 = x_229; goto block_43; } block_64: @@ -8172,769 +8172,515 @@ x_27 = x_63; goto block_43; } } -block_273: +block_69: { +lean_object* x_66; lean_object* x_67; uint8_t x_68; +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_53 = x_68; +x_54 = x_67; +goto block_64; +} +block_210: +{ +lean_dec(x_70); if (lean_obj_tag(x_48) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; -x_66 = lean_ctor_get(x_48, 3); -lean_inc(x_66); -lean_dec(x_48); -x_67 = lean_st_ref_get(x_12, x_13); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_st_ref_get(x_10, x_68); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); +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; uint8_t x_80; +x_71 = lean_ctor_get(x_48, 3); lean_inc(x_71); -lean_dec(x_69); -x_148 = lean_ctor_get(x_70, 0); -lean_inc(x_148); -lean_dec(x_70); -x_149 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_148); -x_151 = l_Lean_Expr_hasFVar(x_66); -if (x_151 == 0) -{ -uint8_t x_152; -x_152 = l_Lean_Expr_hasMVar(x_66); -if (x_152 == 0) -{ -uint8_t x_153; -lean_dec(x_66); -x_153 = 0; -x_72 = x_153; -x_73 = x_150; -goto block_147; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; -lean_inc(x_50); -x_154 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__1___at_Lean_Meta_getFVarSetToGeneralize___spec__9(x_50, x_66, x_150); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_154, 1); -lean_inc(x_156); -lean_dec(x_154); -x_157 = lean_unbox(x_155); -lean_dec(x_155); -x_72 = x_157; -x_73 = x_156; -goto block_147; -} -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -lean_inc(x_50); -x_158 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__12___at_Lean_Meta_getFVarSetToGeneralize___spec__20(x_50, x_66, x_150); -x_159 = lean_ctor_get(x_158, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec(x_158); -x_161 = lean_unbox(x_159); -lean_dec(x_159); -x_72 = x_161; -x_73 = x_160; -goto block_147; -} -block_147: -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_st_ref_get(x_12, x_71); -x_76 = lean_ctor_get(x_75, 1); +lean_dec(x_48); +x_72 = lean_st_ref_get(x_12, x_13); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = lean_st_ref_get(x_10, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); -lean_dec(x_75); -x_77 = lean_st_ref_take(x_10, x_76); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get_uint8(x_74, sizeof(void*)*8); -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; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_80 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); -lean_dec(x_77); -x_82 = lean_ctor_get(x_74, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_74, 1); -lean_inc(x_83); -x_84 = lean_ctor_get(x_74, 2); -lean_inc(x_84); -x_85 = lean_ctor_get(x_74, 3); -lean_inc(x_85); -x_86 = lean_ctor_get(x_74, 4); -lean_inc(x_86); -x_87 = lean_ctor_get(x_74, 5); -lean_inc(x_87); -x_88 = lean_ctor_get(x_74, 6); -lean_inc(x_88); -x_89 = lean_ctor_get(x_74, 7); -lean_inc(x_89); lean_dec(x_74); -x_90 = !lean_is_exclusive(x_78); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec(x_75); +x_78 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; +lean_inc(x_77); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l_Lean_Expr_hasFVar(x_71); +if (x_80 == 0) +{ +uint8_t x_81; +x_81 = l_Lean_Expr_hasMVar(x_71); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_dec(x_79); +lean_dec(x_71); +x_82 = lean_st_ref_get(x_12, x_76); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_st_ref_take(x_10, x_83); +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_is_exclusive(x_85); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_88 = lean_ctor_get(x_85, 0); +lean_dec(x_88); +lean_ctor_set(x_85, 0, x_77); +x_89 = lean_st_ref_set(x_10, x_85, x_86); +x_90 = !lean_is_exclusive(x_89); if (x_90 == 0) { -lean_object* x_91; uint8_t x_92; -x_91 = lean_ctor_get(x_78, 0); +lean_object* x_91; uint8_t x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_89, 0); lean_dec(x_91); -x_92 = !lean_is_exclusive(x_80); -if (x_92 == 0) -{ -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_93 = lean_ctor_get(x_80, 7); -lean_dec(x_93); -x_94 = lean_ctor_get(x_80, 6); -lean_dec(x_94); -x_95 = lean_ctor_get(x_80, 5); -lean_dec(x_95); -x_96 = lean_ctor_get(x_80, 4); -lean_dec(x_96); -x_97 = lean_ctor_get(x_80, 3); -lean_dec(x_97); -x_98 = lean_ctor_get(x_80, 2); -lean_dec(x_98); -x_99 = lean_ctor_get(x_80, 1); -lean_dec(x_99); -x_100 = lean_ctor_get(x_80, 0); -lean_dec(x_100); -lean_ctor_set(x_80, 7, x_89); -lean_ctor_set(x_80, 6, x_88); -lean_ctor_set(x_80, 5, x_87); -lean_ctor_set(x_80, 4, x_86); -lean_ctor_set(x_80, 3, x_85); -lean_ctor_set(x_80, 2, x_84); -lean_ctor_set(x_80, 1, x_83); -lean_ctor_set(x_80, 0, x_82); -x_101 = lean_st_ref_set(x_10, x_78, x_81); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_53 = x_72; -x_54 = x_102; -goto block_64; +x_92 = 0; +x_93 = lean_box(x_92); +lean_ctor_set(x_89, 0, x_93); +x_65 = x_89; +goto block_69; } else { -uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_103 = lean_ctor_get_uint8(x_80, sizeof(void*)*8); -lean_dec(x_80); -x_104 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_104, 0, x_82); -lean_ctor_set(x_104, 1, x_83); -lean_ctor_set(x_104, 2, x_84); -lean_ctor_set(x_104, 3, x_85); -lean_ctor_set(x_104, 4, x_86); -lean_ctor_set(x_104, 5, x_87); -lean_ctor_set(x_104, 6, x_88); -lean_ctor_set(x_104, 7, x_89); -lean_ctor_set_uint8(x_104, sizeof(void*)*8, x_103); -lean_ctor_set(x_78, 0, x_104); -x_105 = lean_st_ref_set(x_10, x_78, x_81); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -lean_dec(x_105); -x_53 = x_72; -x_54 = x_106; -goto block_64; +lean_object* x_94; uint8_t x_95; lean_object* x_96; lean_object* x_97; +x_94 = lean_ctor_get(x_89, 1); +lean_inc(x_94); +lean_dec(x_89); +x_95 = 0; +x_96 = lean_box(x_95); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_94); +x_65 = x_97; +goto block_69; } } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_107 = lean_ctor_get(x_78, 1); -x_108 = lean_ctor_get(x_78, 2); -x_109 = lean_ctor_get(x_78, 3); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_78); -x_110 = lean_ctor_get_uint8(x_80, sizeof(void*)*8); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - lean_ctor_release(x_80, 2); - lean_ctor_release(x_80, 3); - lean_ctor_release(x_80, 4); - lean_ctor_release(x_80, 5); - lean_ctor_release(x_80, 6); - lean_ctor_release(x_80, 7); - x_111 = x_80; +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; uint8_t x_105; lean_object* x_106; lean_object* x_107; +x_98 = lean_ctor_get(x_85, 1); +x_99 = lean_ctor_get(x_85, 2); +x_100 = lean_ctor_get(x_85, 3); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_85); +x_101 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_101, 0, x_77); +lean_ctor_set(x_101, 1, x_98); +lean_ctor_set(x_101, 2, x_99); +lean_ctor_set(x_101, 3, x_100); +x_102 = lean_st_ref_set(x_10, x_101, x_86); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_104 = x_102; } else { - lean_dec_ref(x_80); - x_111 = lean_box(0); + lean_dec_ref(x_102); + x_104 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(0, 8, 1); +x_105 = 0; +x_106 = lean_box(x_105); +if (lean_is_scalar(x_104)) { + x_107 = lean_alloc_ctor(0, 2, 0); } else { - x_112 = x_111; + x_107 = x_104; } -lean_ctor_set(x_112, 0, x_82); -lean_ctor_set(x_112, 1, x_83); -lean_ctor_set(x_112, 2, x_84); -lean_ctor_set(x_112, 3, x_85); -lean_ctor_set(x_112, 4, x_86); -lean_ctor_set(x_112, 5, x_87); -lean_ctor_set(x_112, 6, x_88); -lean_ctor_set(x_112, 7, x_89); -lean_ctor_set_uint8(x_112, sizeof(void*)*8, x_110); -x_113 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_107); -lean_ctor_set(x_113, 2, x_108); -lean_ctor_set(x_113, 3, x_109); -x_114 = lean_st_ref_set(x_10, x_113, x_81); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_53 = x_72; -x_54 = x_115; -goto block_64; +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_103); +x_65 = x_107; +goto block_69; } } else { -lean_object* x_116; uint8_t x_117; -x_116 = lean_ctor_get(x_77, 1); -lean_inc(x_116); +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; uint8_t x_117; lean_dec(x_77); -x_117 = !lean_is_exclusive(x_74); +lean_inc(x_50); +x_108 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__1___at_Lean_Meta_getFVarSetToGeneralize___spec__9(x_50, x_71, x_79); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +lean_dec(x_108); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = lean_st_ref_get(x_12, x_76); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_114 = lean_st_ref_take(x_10, x_113); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = !lean_is_exclusive(x_115); if (x_117 == 0) { -uint8_t x_118; -x_118 = !lean_is_exclusive(x_78); -if (x_118 == 0) +lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_118 = lean_ctor_get(x_115, 0); +lean_dec(x_118); +lean_ctor_set(x_115, 0, x_111); +x_119 = lean_st_ref_set(x_10, x_115, x_116); +x_120 = !lean_is_exclusive(x_119); +if (x_120 == 0) { -lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; -x_119 = lean_ctor_get(x_78, 0); -lean_dec(x_119); -x_120 = 1; -lean_ctor_set_uint8(x_74, sizeof(void*)*8, x_120); -lean_ctor_set(x_78, 0, x_74); -x_121 = lean_st_ref_set(x_10, x_78, x_116); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); +lean_object* x_121; +x_121 = lean_ctor_get(x_119, 0); lean_dec(x_121); -x_53 = x_72; -x_54 = x_122; -goto block_64; +lean_ctor_set(x_119, 0, x_110); +x_65 = x_119; +goto block_69; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_123 = lean_ctor_get(x_78, 1); -x_124 = lean_ctor_get(x_78, 2); -x_125 = lean_ctor_get(x_78, 3); +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_119, 1); +lean_inc(x_122); +lean_dec(x_119); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_110); +lean_ctor_set(x_123, 1, x_122); +x_65 = x_123; +goto block_69; +} +} +else +{ +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; +x_124 = lean_ctor_get(x_115, 1); +x_125 = lean_ctor_get(x_115, 2); +x_126 = lean_ctor_get(x_115, 3); +lean_inc(x_126); lean_inc(x_125); lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_78); -x_126 = 1; -lean_ctor_set_uint8(x_74, sizeof(void*)*8, x_126); +lean_dec(x_115); x_127 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_127, 0, x_74); -lean_ctor_set(x_127, 1, x_123); -lean_ctor_set(x_127, 2, x_124); -lean_ctor_set(x_127, 3, x_125); +lean_ctor_set(x_127, 0, x_111); +lean_ctor_set(x_127, 1, x_124); +lean_ctor_set(x_127, 2, x_125); +lean_ctor_set(x_127, 3, x_126); x_128 = lean_st_ref_set(x_10, x_127, x_116); x_129 = lean_ctor_get(x_128, 1); lean_inc(x_129); -lean_dec(x_128); -x_53 = x_72; -x_54 = x_129; -goto block_64; +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_130 = x_128; +} else { + lean_dec_ref(x_128); + x_130 = lean_box(0); +} +if (lean_is_scalar(x_130)) { + x_131 = lean_alloc_ctor(0, 2, 0); +} else { + x_131 = x_130; +} +lean_ctor_set(x_131, 0, x_110); +lean_ctor_set(x_131, 1, x_129); +x_65 = x_131; +goto block_69; +} } } else { -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; uint8_t x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_130 = lean_ctor_get(x_74, 0); -x_131 = lean_ctor_get(x_74, 1); -x_132 = lean_ctor_get(x_74, 2); -x_133 = lean_ctor_get(x_74, 3); -x_134 = lean_ctor_get(x_74, 4); -x_135 = lean_ctor_get(x_74, 5); -x_136 = lean_ctor_get(x_74, 6); -x_137 = lean_ctor_get(x_74, 7); -lean_inc(x_137); -lean_inc(x_136); -lean_inc(x_135); -lean_inc(x_134); +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; uint8_t x_141; +lean_dec(x_77); +lean_inc(x_50); +x_132 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__12___at_Lean_Meta_getFVarSetToGeneralize___spec__20(x_50, x_71, x_79); +x_133 = lean_ctor_get(x_132, 1); lean_inc(x_133); -lean_inc(x_132); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_74); -x_138 = lean_ctor_get(x_78, 1); -lean_inc(x_138); -x_139 = lean_ctor_get(x_78, 2); +x_134 = lean_ctor_get(x_132, 0); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = lean_st_ref_get(x_12, x_76); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); +lean_dec(x_136); +x_138 = lean_st_ref_take(x_10, x_137); +x_139 = lean_ctor_get(x_138, 0); lean_inc(x_139); -x_140 = lean_ctor_get(x_78, 3); +x_140 = lean_ctor_get(x_138, 1); lean_inc(x_140); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - lean_ctor_release(x_78, 2); - lean_ctor_release(x_78, 3); - x_141 = x_78; -} else { - lean_dec_ref(x_78); - x_141 = lean_box(0); -} -x_142 = 1; -x_143 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_143, 0, x_130); -lean_ctor_set(x_143, 1, x_131); -lean_ctor_set(x_143, 2, x_132); -lean_ctor_set(x_143, 3, x_133); -lean_ctor_set(x_143, 4, x_134); -lean_ctor_set(x_143, 5, x_135); -lean_ctor_set(x_143, 6, x_136); -lean_ctor_set(x_143, 7, x_137); -lean_ctor_set_uint8(x_143, sizeof(void*)*8, x_142); -if (lean_is_scalar(x_141)) { - x_144 = lean_alloc_ctor(0, 4, 0); -} else { - x_144 = x_141; -} -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_138); -lean_ctor_set(x_144, 2, x_139); -lean_ctor_set(x_144, 3, x_140); -x_145 = lean_st_ref_set(x_10, x_144, x_116); -x_146 = lean_ctor_get(x_145, 1); -lean_inc(x_146); +lean_dec(x_138); +x_141 = !lean_is_exclusive(x_139); +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_142 = lean_ctor_get(x_139, 0); +lean_dec(x_142); +lean_ctor_set(x_139, 0, x_135); +x_143 = lean_st_ref_set(x_10, x_139, x_140); +x_144 = !lean_is_exclusive(x_143); +if (x_144 == 0) +{ +lean_object* x_145; +x_145 = lean_ctor_get(x_143, 0); lean_dec(x_145); -x_53 = x_72; -x_54 = x_146; -goto block_64; +lean_ctor_set(x_143, 0, x_134); +x_65 = x_143; +goto block_69; } +else +{ +lean_object* x_146; lean_object* x_147; +x_146 = lean_ctor_get(x_143, 1); +lean_inc(x_146); +lean_dec(x_143); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_134); +lean_ctor_set(x_147, 1, x_146); +x_65 = x_147; +goto block_69; +} +} +else +{ +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; +x_148 = lean_ctor_get(x_139, 1); +x_149 = lean_ctor_get(x_139, 2); +x_150 = lean_ctor_get(x_139, 3); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_139); +x_151 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_151, 0, x_135); +lean_ctor_set(x_151, 1, x_148); +lean_ctor_set(x_151, 2, x_149); +lean_ctor_set(x_151, 3, x_150); +x_152 = lean_st_ref_set(x_10, x_151, x_140); +x_153 = lean_ctor_get(x_152, 1); +lean_inc(x_153); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_154 = x_152; +} else { + lean_dec_ref(x_152); + x_154 = lean_box(0); +} +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(0, 2, 0); +} else { + x_155 = x_154; +} +lean_ctor_set(x_155, 0, x_134); +lean_ctor_set(x_155, 1, x_153); +x_65 = x_155; +goto block_69; } } } 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; uint8_t x_169; lean_object* x_170; uint8_t x_245; lean_object* x_246; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; -x_162 = lean_ctor_get(x_48, 3); -lean_inc(x_162); -x_163 = lean_ctor_get(x_48, 4); -lean_inc(x_163); +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; uint8_t x_163; lean_object* x_164; uint8_t x_182; lean_object* x_183; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; +x_156 = lean_ctor_get(x_48, 3); +lean_inc(x_156); +x_157 = lean_ctor_get(x_48, 4); +lean_inc(x_157); lean_dec(x_48); -x_164 = lean_st_ref_get(x_12, x_13); +x_158 = lean_st_ref_get(x_12, x_13); +x_159 = lean_ctor_get(x_158, 1); +lean_inc(x_159); +lean_dec(x_158); +x_160 = lean_st_ref_get(x_10, x_159); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_196 = lean_ctor_get(x_161, 0); +lean_inc(x_196); +lean_dec(x_161); +x_197 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; +x_198 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_196); +x_199 = l_Lean_Expr_hasFVar(x_156); +if (x_199 == 0) +{ +uint8_t x_200; +x_200 = l_Lean_Expr_hasMVar(x_156); +if (x_200 == 0) +{ +uint8_t x_201; +lean_dec(x_156); +x_201 = 0; +x_182 = x_201; +x_183 = x_198; +goto block_195; +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +lean_inc(x_50); +x_202 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__39___at_Lean_Meta_getFVarSetToGeneralize___spec__47(x_50, x_156, x_198); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +lean_dec(x_202); +x_205 = lean_unbox(x_203); +lean_dec(x_203); +x_182 = x_205; +x_183 = x_204; +goto block_195; +} +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; +lean_inc(x_50); +x_206 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__50___at_Lean_Meta_getFVarSetToGeneralize___spec__58(x_50, x_156, x_198); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_206, 1); +lean_inc(x_208); +lean_dec(x_206); +x_209 = lean_unbox(x_207); +lean_dec(x_207); +x_182 = x_209; +x_183 = x_208; +goto block_195; +} +block_181: +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; x_165 = lean_ctor_get(x_164, 1); lean_inc(x_165); lean_dec(x_164); -x_166 = lean_st_ref_get(x_10, x_165); -x_167 = lean_ctor_get(x_166, 0); +x_166 = lean_st_ref_get(x_12, x_162); +x_167 = lean_ctor_get(x_166, 1); lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); lean_dec(x_166); -x_259 = lean_ctor_get(x_167, 0); -lean_inc(x_259); -lean_dec(x_167); -x_260 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; -x_261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_259); -x_262 = l_Lean_Expr_hasFVar(x_162); -if (x_262 == 0) +x_168 = lean_st_ref_take(x_10, x_167); +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +x_171 = !lean_is_exclusive(x_169); +if (x_171 == 0) { -uint8_t x_263; -x_263 = l_Lean_Expr_hasMVar(x_162); -if (x_263 == 0) -{ -uint8_t x_264; -lean_dec(x_162); -x_264 = 0; -x_245 = x_264; -x_246 = x_261; -goto block_258; -} -else -{ -lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; -lean_inc(x_50); -x_265 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__39___at_Lean_Meta_getFVarSetToGeneralize___spec__47(x_50, x_162, x_261); -x_266 = lean_ctor_get(x_265, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_265, 1); -lean_inc(x_267); -lean_dec(x_265); -x_268 = lean_unbox(x_266); -lean_dec(x_266); -x_245 = x_268; -x_246 = x_267; -goto block_258; -} -} -else -{ -lean_object* x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; -lean_inc(x_50); -x_269 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__50___at_Lean_Meta_getFVarSetToGeneralize___spec__58(x_50, x_162, x_261); -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_269, 1); -lean_inc(x_271); -lean_dec(x_269); -x_272 = lean_unbox(x_270); -lean_dec(x_270); -x_245 = x_272; -x_246 = x_271; -goto block_258; -} -block_244: -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; -x_171 = lean_ctor_get(x_170, 1); -lean_inc(x_171); -lean_dec(x_170); -x_172 = lean_st_ref_get(x_12, x_168); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_169, 0); lean_dec(x_172); -x_174 = lean_st_ref_take(x_10, x_173); -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get_uint8(x_171, sizeof(void*)*8); -if (x_176 == 0) +lean_ctor_set(x_169, 0, x_165); +x_173 = lean_st_ref_set(x_10, x_169, x_170); +x_174 = lean_ctor_get(x_173, 1); +lean_inc(x_174); +lean_dec(x_173); +x_53 = x_163; +x_54 = x_174; +goto block_64; +} +else { -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; uint8_t x_187; -x_177 = lean_ctor_get(x_175, 0); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_175 = lean_ctor_get(x_169, 1); +x_176 = lean_ctor_get(x_169, 2); +x_177 = lean_ctor_get(x_169, 3); lean_inc(x_177); -x_178 = lean_ctor_get(x_174, 1); -lean_inc(x_178); -lean_dec(x_174); -x_179 = lean_ctor_get(x_171, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_169); +x_178 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_178, 0, x_165); +lean_ctor_set(x_178, 1, x_175); +lean_ctor_set(x_178, 2, x_176); +lean_ctor_set(x_178, 3, x_177); +x_179 = lean_st_ref_set(x_10, x_178, x_170); +x_180 = lean_ctor_get(x_179, 1); lean_inc(x_180); -x_181 = lean_ctor_get(x_171, 2); -lean_inc(x_181); -x_182 = lean_ctor_get(x_171, 3); -lean_inc(x_182); -x_183 = lean_ctor_get(x_171, 4); -lean_inc(x_183); -x_184 = lean_ctor_get(x_171, 5); -lean_inc(x_184); -x_185 = lean_ctor_get(x_171, 6); -lean_inc(x_185); -x_186 = lean_ctor_get(x_171, 7); -lean_inc(x_186); -lean_dec(x_171); -x_187 = !lean_is_exclusive(x_175); -if (x_187 == 0) +lean_dec(x_179); +x_53 = x_163; +x_54 = x_180; +goto block_64; +} +} +block_195: { -lean_object* x_188; uint8_t x_189; -x_188 = lean_ctor_get(x_175, 0); +if (x_182 == 0) +{ +uint8_t x_184; +x_184 = l_Lean_Expr_hasFVar(x_157); +if (x_184 == 0) +{ +uint8_t x_185; +x_185 = l_Lean_Expr_hasMVar(x_157); +if (x_185 == 0) +{ +uint8_t x_186; +lean_dec(x_157); +x_186 = 0; +x_163 = x_186; +x_164 = x_183; +goto block_181; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; +lean_inc(x_50); +lean_inc(x_3); +x_187 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__23(x_3, x_50, x_157, x_183); +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +lean_dec(x_187); +x_190 = lean_unbox(x_188); lean_dec(x_188); -x_189 = !lean_is_exclusive(x_177); -if (x_189 == 0) +x_163 = x_190; +x_164 = x_189; +goto block_181; +} +} +else { -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; -x_190 = lean_ctor_get(x_177, 7); -lean_dec(x_190); -x_191 = lean_ctor_get(x_177, 6); +lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; +lean_inc(x_50); +lean_inc(x_3); +x_191 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__31(x_3, x_50, x_157, x_183); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_191, 1); +lean_inc(x_193); lean_dec(x_191); -x_192 = lean_ctor_get(x_177, 5); +x_194 = lean_unbox(x_192); lean_dec(x_192); -x_193 = lean_ctor_get(x_177, 4); -lean_dec(x_193); -x_194 = lean_ctor_get(x_177, 3); -lean_dec(x_194); -x_195 = lean_ctor_get(x_177, 2); -lean_dec(x_195); -x_196 = lean_ctor_get(x_177, 1); -lean_dec(x_196); -x_197 = lean_ctor_get(x_177, 0); -lean_dec(x_197); -lean_ctor_set(x_177, 7, x_186); -lean_ctor_set(x_177, 6, x_185); -lean_ctor_set(x_177, 5, x_184); -lean_ctor_set(x_177, 4, x_183); -lean_ctor_set(x_177, 3, x_182); -lean_ctor_set(x_177, 2, x_181); -lean_ctor_set(x_177, 1, x_180); -lean_ctor_set(x_177, 0, x_179); -x_198 = lean_st_ref_set(x_10, x_175, x_178); -x_199 = lean_ctor_get(x_198, 1); -lean_inc(x_199); -lean_dec(x_198); -x_53 = x_169; -x_54 = x_199; -goto block_64; -} -else -{ -uint8_t x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -x_200 = lean_ctor_get_uint8(x_177, sizeof(void*)*8); -lean_dec(x_177); -x_201 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_201, 0, x_179); -lean_ctor_set(x_201, 1, x_180); -lean_ctor_set(x_201, 2, x_181); -lean_ctor_set(x_201, 3, x_182); -lean_ctor_set(x_201, 4, x_183); -lean_ctor_set(x_201, 5, x_184); -lean_ctor_set(x_201, 6, x_185); -lean_ctor_set(x_201, 7, x_186); -lean_ctor_set_uint8(x_201, sizeof(void*)*8, x_200); -lean_ctor_set(x_175, 0, x_201); -x_202 = lean_st_ref_set(x_10, x_175, x_178); -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -lean_dec(x_202); -x_53 = x_169; -x_54 = x_203; -goto block_64; +x_163 = x_194; +x_164 = x_193; +goto block_181; } } else { -lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_204 = lean_ctor_get(x_175, 1); -x_205 = lean_ctor_get(x_175, 2); -x_206 = lean_ctor_get(x_175, 3); -lean_inc(x_206); -lean_inc(x_205); -lean_inc(x_204); -lean_dec(x_175); -x_207 = lean_ctor_get_uint8(x_177, sizeof(void*)*8); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - lean_ctor_release(x_177, 2); - lean_ctor_release(x_177, 3); - lean_ctor_release(x_177, 4); - lean_ctor_release(x_177, 5); - lean_ctor_release(x_177, 6); - lean_ctor_release(x_177, 7); - x_208 = x_177; -} else { - lean_dec_ref(x_177); - x_208 = lean_box(0); -} -if (lean_is_scalar(x_208)) { - x_209 = lean_alloc_ctor(0, 8, 1); -} else { - x_209 = x_208; -} -lean_ctor_set(x_209, 0, x_179); -lean_ctor_set(x_209, 1, x_180); -lean_ctor_set(x_209, 2, x_181); -lean_ctor_set(x_209, 3, x_182); -lean_ctor_set(x_209, 4, x_183); -lean_ctor_set(x_209, 5, x_184); -lean_ctor_set(x_209, 6, x_185); -lean_ctor_set(x_209, 7, x_186); -lean_ctor_set_uint8(x_209, sizeof(void*)*8, x_207); -x_210 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_204); -lean_ctor_set(x_210, 2, x_205); -lean_ctor_set(x_210, 3, x_206); -x_211 = lean_st_ref_set(x_10, x_210, x_178); -x_212 = lean_ctor_get(x_211, 1); -lean_inc(x_212); -lean_dec(x_211); -x_53 = x_169; -x_54 = x_212; -goto block_64; -} -} -else -{ -lean_object* x_213; uint8_t x_214; -x_213 = lean_ctor_get(x_174, 1); -lean_inc(x_213); -lean_dec(x_174); -x_214 = !lean_is_exclusive(x_171); -if (x_214 == 0) -{ -uint8_t x_215; -x_215 = !lean_is_exclusive(x_175); -if (x_215 == 0) -{ -lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; -x_216 = lean_ctor_get(x_175, 0); -lean_dec(x_216); -x_217 = 1; -lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_217); -lean_ctor_set(x_175, 0, x_171); -x_218 = lean_st_ref_set(x_10, x_175, x_213); -x_219 = lean_ctor_get(x_218, 1); -lean_inc(x_219); -lean_dec(x_218); -x_53 = x_169; -x_54 = x_219; -goto block_64; -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_220 = lean_ctor_get(x_175, 1); -x_221 = lean_ctor_get(x_175, 2); -x_222 = lean_ctor_get(x_175, 3); -lean_inc(x_222); -lean_inc(x_221); -lean_inc(x_220); -lean_dec(x_175); -x_223 = 1; -lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_223); -x_224 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_224, 0, x_171); -lean_ctor_set(x_224, 1, x_220); -lean_ctor_set(x_224, 2, x_221); -lean_ctor_set(x_224, 3, x_222); -x_225 = lean_st_ref_set(x_10, x_224, x_213); -x_226 = lean_ctor_get(x_225, 1); -lean_inc(x_226); -lean_dec(x_225); -x_53 = x_169; -x_54 = x_226; -goto block_64; -} -} -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; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_227 = lean_ctor_get(x_171, 0); -x_228 = lean_ctor_get(x_171, 1); -x_229 = lean_ctor_get(x_171, 2); -x_230 = lean_ctor_get(x_171, 3); -x_231 = lean_ctor_get(x_171, 4); -x_232 = lean_ctor_get(x_171, 5); -x_233 = lean_ctor_get(x_171, 6); -x_234 = lean_ctor_get(x_171, 7); -lean_inc(x_234); -lean_inc(x_233); -lean_inc(x_232); -lean_inc(x_231); -lean_inc(x_230); -lean_inc(x_229); -lean_inc(x_228); -lean_inc(x_227); -lean_dec(x_171); -x_235 = lean_ctor_get(x_175, 1); -lean_inc(x_235); -x_236 = lean_ctor_get(x_175, 2); -lean_inc(x_236); -x_237 = lean_ctor_get(x_175, 3); -lean_inc(x_237); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - lean_ctor_release(x_175, 2); - lean_ctor_release(x_175, 3); - x_238 = x_175; -} else { - lean_dec_ref(x_175); - x_238 = lean_box(0); -} -x_239 = 1; -x_240 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_240, 0, x_227); -lean_ctor_set(x_240, 1, x_228); -lean_ctor_set(x_240, 2, x_229); -lean_ctor_set(x_240, 3, x_230); -lean_ctor_set(x_240, 4, x_231); -lean_ctor_set(x_240, 5, x_232); -lean_ctor_set(x_240, 6, x_233); -lean_ctor_set(x_240, 7, x_234); -lean_ctor_set_uint8(x_240, sizeof(void*)*8, x_239); -if (lean_is_scalar(x_238)) { - x_241 = lean_alloc_ctor(0, 4, 0); -} else { - x_241 = x_238; -} -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_235); -lean_ctor_set(x_241, 2, x_236); -lean_ctor_set(x_241, 3, x_237); -x_242 = lean_st_ref_set(x_10, x_241, x_213); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -lean_dec(x_242); -x_53 = x_169; -x_54 = x_243; -goto block_64; -} -} -} -block_258: -{ -if (x_245 == 0) -{ -uint8_t x_247; -x_247 = l_Lean_Expr_hasFVar(x_163); -if (x_247 == 0) -{ -uint8_t x_248; -x_248 = l_Lean_Expr_hasMVar(x_163); -if (x_248 == 0) -{ -uint8_t x_249; -lean_dec(x_163); -x_249 = 0; -x_169 = x_249; -x_170 = x_246; -goto block_244; -} -else -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; uint8_t x_253; -lean_inc(x_50); -lean_inc(x_3); -x_250 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__23(x_3, x_50, x_163, x_246); -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_unbox(x_251); -lean_dec(x_251); -x_169 = x_253; -x_170 = x_252; -goto block_244; -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; -lean_inc(x_50); -lean_inc(x_3); -x_254 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__31(x_3, x_50, x_163, x_246); -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -x_257 = lean_unbox(x_255); -lean_dec(x_255); -x_169 = x_257; -x_170 = x_256; -goto block_244; -} -} -else -{ -lean_dec(x_163); -x_169 = x_245; -x_170 = x_246; -goto block_244; +lean_dec(x_157); +x_163 = x_182; +x_164 = x_183; +goto block_181; } } } @@ -9237,7 +8983,7 @@ goto _start; } else { -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_object* x_54; lean_object* x_65; lean_object* x_274; +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_object* x_54; lean_object* x_65; lean_object* x_70; lean_object* x_211; x_48 = lean_ctor_get(x_16, 0); lean_inc(x_48); lean_dec(x_16); @@ -9254,107 +9000,107 @@ if (lean_is_exclusive(x_25)) { x_51 = lean_box(0); } x_52 = l_Lean_LocalDecl_fvarId(x_48); -x_274 = l_Std_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_1, x_52); -if (lean_obj_tag(x_274) == 0) +x_211 = l_Std_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_1, x_52); +if (lean_obj_tag(x_211) == 0) { -uint8_t x_275; -x_275 = l_Lean_LocalDecl_isAuxDecl(x_48); -if (x_275 == 0) +uint8_t x_212; +x_212 = l_Lean_LocalDecl_isAuxDecl(x_48); +if (x_212 == 0) { -uint8_t x_276; uint8_t x_277; -x_276 = l_Lean_LocalDecl_binderInfo(x_48); -x_277 = l_Lean_BinderInfo_isInstImplicit(x_276); -if (x_277 == 0) +uint8_t x_213; uint8_t x_214; +x_213 = l_Lean_LocalDecl_binderInfo(x_48); +x_214 = l_Lean_BinderInfo_isInstImplicit(x_213); +if (x_214 == 0) { if (x_2 == 0) { -lean_object* x_278; -x_278 = lean_box(0); -x_65 = x_278; -goto block_273; +lean_object* x_215; +x_215 = lean_box(0); +x_70 = x_215; +goto block_210; } else { -uint8_t x_279; -x_279 = l_Lean_LocalDecl_isLet(x_48); -if (x_279 == 0) +uint8_t x_216; +x_216 = l_Lean_LocalDecl_isLet(x_48); +if (x_216 == 0) { -lean_object* x_280; -x_280 = lean_box(0); -x_65 = x_280; -goto block_273; +lean_object* x_217; +x_217 = lean_box(0); +x_70 = x_217; +goto block_210; } else { -lean_object* x_281; lean_object* x_282; lean_object* x_283; +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_281 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_281, 0, x_49); -lean_ctor_set(x_281, 1, x_50); -x_282 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_282, 0, x_281); -x_283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_13); -x_27 = x_283; +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_49); +lean_ctor_set(x_218, 1, x_50); +x_219 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_219, 0, x_218); +x_220 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_13); +x_27 = x_220; goto block_43; } } } else { -lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_284 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_284, 0, x_49); -lean_ctor_set(x_284, 1, x_50); -x_285 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_285, 0, 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_13); -x_27 = x_286; +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_49); +lean_ctor_set(x_221, 1, x_50); +x_222 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_222, 0, x_221); +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_13); +x_27 = x_223; goto block_43; } } else { -lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_287 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_287, 0, x_49); -lean_ctor_set(x_287, 1, x_50); -x_288 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_288, 0, x_287); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_13); -x_27 = x_289; +x_224 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_224, 0, x_49); +lean_ctor_set(x_224, 1, x_50); +x_225 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_225, 0, x_224); +x_226 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_13); +x_27 = x_226; goto block_43; } } else { -lean_object* x_290; lean_object* x_291; lean_object* x_292; -lean_dec(x_274); +lean_object* x_227; lean_object* x_228; lean_object* x_229; +lean_dec(x_211); lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_49); -lean_ctor_set(x_290, 1, x_50); -x_291 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_291, 0, x_290); -x_292 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_13); -x_27 = x_292; +x_227 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_227, 0, x_49); +lean_ctor_set(x_227, 1, x_50); +x_228 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_228, 0, x_227); +x_229 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_13); +x_27 = x_229; goto block_43; } block_64: @@ -9401,769 +9147,515 @@ x_27 = x_63; goto block_43; } } -block_273: +block_69: { +lean_object* x_66; lean_object* x_67; uint8_t x_68; +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_53 = x_68; +x_54 = x_67; +goto block_64; +} +block_210: +{ +lean_dec(x_70); if (lean_obj_tag(x_48) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; -x_66 = lean_ctor_get(x_48, 3); -lean_inc(x_66); -lean_dec(x_48); -x_67 = lean_st_ref_get(x_12, x_13); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_st_ref_get(x_10, x_68); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); +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; uint8_t x_80; +x_71 = lean_ctor_get(x_48, 3); lean_inc(x_71); -lean_dec(x_69); -x_148 = lean_ctor_get(x_70, 0); -lean_inc(x_148); -lean_dec(x_70); -x_149 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_148); -x_151 = l_Lean_Expr_hasFVar(x_66); -if (x_151 == 0) -{ -uint8_t x_152; -x_152 = l_Lean_Expr_hasMVar(x_66); -if (x_152 == 0) -{ -uint8_t x_153; -lean_dec(x_66); -x_153 = 0; -x_72 = x_153; -x_73 = x_150; -goto block_147; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; -lean_inc(x_50); -x_154 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__1___at_Lean_Meta_getFVarSetToGeneralize___spec__9(x_50, x_66, x_150); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_154, 1); -lean_inc(x_156); -lean_dec(x_154); -x_157 = lean_unbox(x_155); -lean_dec(x_155); -x_72 = x_157; -x_73 = x_156; -goto block_147; -} -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -lean_inc(x_50); -x_158 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__12___at_Lean_Meta_getFVarSetToGeneralize___spec__20(x_50, x_66, x_150); -x_159 = lean_ctor_get(x_158, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec(x_158); -x_161 = lean_unbox(x_159); -lean_dec(x_159); -x_72 = x_161; -x_73 = x_160; -goto block_147; -} -block_147: -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_st_ref_get(x_12, x_71); -x_76 = lean_ctor_get(x_75, 1); +lean_dec(x_48); +x_72 = lean_st_ref_get(x_12, x_13); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = lean_st_ref_get(x_10, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); -lean_dec(x_75); -x_77 = lean_st_ref_take(x_10, x_76); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get_uint8(x_74, sizeof(void*)*8); -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; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_80 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); -lean_dec(x_77); -x_82 = lean_ctor_get(x_74, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_74, 1); -lean_inc(x_83); -x_84 = lean_ctor_get(x_74, 2); -lean_inc(x_84); -x_85 = lean_ctor_get(x_74, 3); -lean_inc(x_85); -x_86 = lean_ctor_get(x_74, 4); -lean_inc(x_86); -x_87 = lean_ctor_get(x_74, 5); -lean_inc(x_87); -x_88 = lean_ctor_get(x_74, 6); -lean_inc(x_88); -x_89 = lean_ctor_get(x_74, 7); -lean_inc(x_89); lean_dec(x_74); -x_90 = !lean_is_exclusive(x_78); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec(x_75); +x_78 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; +lean_inc(x_77); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l_Lean_Expr_hasFVar(x_71); +if (x_80 == 0) +{ +uint8_t x_81; +x_81 = l_Lean_Expr_hasMVar(x_71); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_dec(x_79); +lean_dec(x_71); +x_82 = lean_st_ref_get(x_12, x_76); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_st_ref_take(x_10, x_83); +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_is_exclusive(x_85); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_88 = lean_ctor_get(x_85, 0); +lean_dec(x_88); +lean_ctor_set(x_85, 0, x_77); +x_89 = lean_st_ref_set(x_10, x_85, x_86); +x_90 = !lean_is_exclusive(x_89); if (x_90 == 0) { -lean_object* x_91; uint8_t x_92; -x_91 = lean_ctor_get(x_78, 0); +lean_object* x_91; uint8_t x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_89, 0); lean_dec(x_91); -x_92 = !lean_is_exclusive(x_80); -if (x_92 == 0) -{ -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_93 = lean_ctor_get(x_80, 7); -lean_dec(x_93); -x_94 = lean_ctor_get(x_80, 6); -lean_dec(x_94); -x_95 = lean_ctor_get(x_80, 5); -lean_dec(x_95); -x_96 = lean_ctor_get(x_80, 4); -lean_dec(x_96); -x_97 = lean_ctor_get(x_80, 3); -lean_dec(x_97); -x_98 = lean_ctor_get(x_80, 2); -lean_dec(x_98); -x_99 = lean_ctor_get(x_80, 1); -lean_dec(x_99); -x_100 = lean_ctor_get(x_80, 0); -lean_dec(x_100); -lean_ctor_set(x_80, 7, x_89); -lean_ctor_set(x_80, 6, x_88); -lean_ctor_set(x_80, 5, x_87); -lean_ctor_set(x_80, 4, x_86); -lean_ctor_set(x_80, 3, x_85); -lean_ctor_set(x_80, 2, x_84); -lean_ctor_set(x_80, 1, x_83); -lean_ctor_set(x_80, 0, x_82); -x_101 = lean_st_ref_set(x_10, x_78, x_81); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_53 = x_72; -x_54 = x_102; -goto block_64; +x_92 = 0; +x_93 = lean_box(x_92); +lean_ctor_set(x_89, 0, x_93); +x_65 = x_89; +goto block_69; } else { -uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_103 = lean_ctor_get_uint8(x_80, sizeof(void*)*8); -lean_dec(x_80); -x_104 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_104, 0, x_82); -lean_ctor_set(x_104, 1, x_83); -lean_ctor_set(x_104, 2, x_84); -lean_ctor_set(x_104, 3, x_85); -lean_ctor_set(x_104, 4, x_86); -lean_ctor_set(x_104, 5, x_87); -lean_ctor_set(x_104, 6, x_88); -lean_ctor_set(x_104, 7, x_89); -lean_ctor_set_uint8(x_104, sizeof(void*)*8, x_103); -lean_ctor_set(x_78, 0, x_104); -x_105 = lean_st_ref_set(x_10, x_78, x_81); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -lean_dec(x_105); -x_53 = x_72; -x_54 = x_106; -goto block_64; +lean_object* x_94; uint8_t x_95; lean_object* x_96; lean_object* x_97; +x_94 = lean_ctor_get(x_89, 1); +lean_inc(x_94); +lean_dec(x_89); +x_95 = 0; +x_96 = lean_box(x_95); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_94); +x_65 = x_97; +goto block_69; } } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_107 = lean_ctor_get(x_78, 1); -x_108 = lean_ctor_get(x_78, 2); -x_109 = lean_ctor_get(x_78, 3); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_78); -x_110 = lean_ctor_get_uint8(x_80, sizeof(void*)*8); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - lean_ctor_release(x_80, 2); - lean_ctor_release(x_80, 3); - lean_ctor_release(x_80, 4); - lean_ctor_release(x_80, 5); - lean_ctor_release(x_80, 6); - lean_ctor_release(x_80, 7); - x_111 = x_80; +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; uint8_t x_105; lean_object* x_106; lean_object* x_107; +x_98 = lean_ctor_get(x_85, 1); +x_99 = lean_ctor_get(x_85, 2); +x_100 = lean_ctor_get(x_85, 3); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_85); +x_101 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_101, 0, x_77); +lean_ctor_set(x_101, 1, x_98); +lean_ctor_set(x_101, 2, x_99); +lean_ctor_set(x_101, 3, x_100); +x_102 = lean_st_ref_set(x_10, x_101, x_86); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_104 = x_102; } else { - lean_dec_ref(x_80); - x_111 = lean_box(0); + lean_dec_ref(x_102); + x_104 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(0, 8, 1); +x_105 = 0; +x_106 = lean_box(x_105); +if (lean_is_scalar(x_104)) { + x_107 = lean_alloc_ctor(0, 2, 0); } else { - x_112 = x_111; + x_107 = x_104; } -lean_ctor_set(x_112, 0, x_82); -lean_ctor_set(x_112, 1, x_83); -lean_ctor_set(x_112, 2, x_84); -lean_ctor_set(x_112, 3, x_85); -lean_ctor_set(x_112, 4, x_86); -lean_ctor_set(x_112, 5, x_87); -lean_ctor_set(x_112, 6, x_88); -lean_ctor_set(x_112, 7, x_89); -lean_ctor_set_uint8(x_112, sizeof(void*)*8, x_110); -x_113 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_107); -lean_ctor_set(x_113, 2, x_108); -lean_ctor_set(x_113, 3, x_109); -x_114 = lean_st_ref_set(x_10, x_113, x_81); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_53 = x_72; -x_54 = x_115; -goto block_64; +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_103); +x_65 = x_107; +goto block_69; } } else { -lean_object* x_116; uint8_t x_117; -x_116 = lean_ctor_get(x_77, 1); -lean_inc(x_116); +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; uint8_t x_117; lean_dec(x_77); -x_117 = !lean_is_exclusive(x_74); +lean_inc(x_50); +x_108 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__1___at_Lean_Meta_getFVarSetToGeneralize___spec__9(x_50, x_71, x_79); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +lean_dec(x_108); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = lean_st_ref_get(x_12, x_76); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_114 = lean_st_ref_take(x_10, x_113); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = !lean_is_exclusive(x_115); if (x_117 == 0) { -uint8_t x_118; -x_118 = !lean_is_exclusive(x_78); -if (x_118 == 0) +lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_118 = lean_ctor_get(x_115, 0); +lean_dec(x_118); +lean_ctor_set(x_115, 0, x_111); +x_119 = lean_st_ref_set(x_10, x_115, x_116); +x_120 = !lean_is_exclusive(x_119); +if (x_120 == 0) { -lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; -x_119 = lean_ctor_get(x_78, 0); -lean_dec(x_119); -x_120 = 1; -lean_ctor_set_uint8(x_74, sizeof(void*)*8, x_120); -lean_ctor_set(x_78, 0, x_74); -x_121 = lean_st_ref_set(x_10, x_78, x_116); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); +lean_object* x_121; +x_121 = lean_ctor_get(x_119, 0); lean_dec(x_121); -x_53 = x_72; -x_54 = x_122; -goto block_64; +lean_ctor_set(x_119, 0, x_110); +x_65 = x_119; +goto block_69; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_123 = lean_ctor_get(x_78, 1); -x_124 = lean_ctor_get(x_78, 2); -x_125 = lean_ctor_get(x_78, 3); +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_119, 1); +lean_inc(x_122); +lean_dec(x_119); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_110); +lean_ctor_set(x_123, 1, x_122); +x_65 = x_123; +goto block_69; +} +} +else +{ +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; +x_124 = lean_ctor_get(x_115, 1); +x_125 = lean_ctor_get(x_115, 2); +x_126 = lean_ctor_get(x_115, 3); +lean_inc(x_126); lean_inc(x_125); lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_78); -x_126 = 1; -lean_ctor_set_uint8(x_74, sizeof(void*)*8, x_126); +lean_dec(x_115); x_127 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_127, 0, x_74); -lean_ctor_set(x_127, 1, x_123); -lean_ctor_set(x_127, 2, x_124); -lean_ctor_set(x_127, 3, x_125); +lean_ctor_set(x_127, 0, x_111); +lean_ctor_set(x_127, 1, x_124); +lean_ctor_set(x_127, 2, x_125); +lean_ctor_set(x_127, 3, x_126); x_128 = lean_st_ref_set(x_10, x_127, x_116); x_129 = lean_ctor_get(x_128, 1); lean_inc(x_129); -lean_dec(x_128); -x_53 = x_72; -x_54 = x_129; -goto block_64; +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_130 = x_128; +} else { + lean_dec_ref(x_128); + x_130 = lean_box(0); +} +if (lean_is_scalar(x_130)) { + x_131 = lean_alloc_ctor(0, 2, 0); +} else { + x_131 = x_130; +} +lean_ctor_set(x_131, 0, x_110); +lean_ctor_set(x_131, 1, x_129); +x_65 = x_131; +goto block_69; +} } } else { -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; uint8_t x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_130 = lean_ctor_get(x_74, 0); -x_131 = lean_ctor_get(x_74, 1); -x_132 = lean_ctor_get(x_74, 2); -x_133 = lean_ctor_get(x_74, 3); -x_134 = lean_ctor_get(x_74, 4); -x_135 = lean_ctor_get(x_74, 5); -x_136 = lean_ctor_get(x_74, 6); -x_137 = lean_ctor_get(x_74, 7); -lean_inc(x_137); -lean_inc(x_136); -lean_inc(x_135); -lean_inc(x_134); +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; uint8_t x_141; +lean_dec(x_77); +lean_inc(x_50); +x_132 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__12___at_Lean_Meta_getFVarSetToGeneralize___spec__20(x_50, x_71, x_79); +x_133 = lean_ctor_get(x_132, 1); lean_inc(x_133); -lean_inc(x_132); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_74); -x_138 = lean_ctor_get(x_78, 1); -lean_inc(x_138); -x_139 = lean_ctor_get(x_78, 2); +x_134 = lean_ctor_get(x_132, 0); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = lean_st_ref_get(x_12, x_76); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); +lean_dec(x_136); +x_138 = lean_st_ref_take(x_10, x_137); +x_139 = lean_ctor_get(x_138, 0); lean_inc(x_139); -x_140 = lean_ctor_get(x_78, 3); +x_140 = lean_ctor_get(x_138, 1); lean_inc(x_140); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - lean_ctor_release(x_78, 2); - lean_ctor_release(x_78, 3); - x_141 = x_78; -} else { - lean_dec_ref(x_78); - x_141 = lean_box(0); -} -x_142 = 1; -x_143 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_143, 0, x_130); -lean_ctor_set(x_143, 1, x_131); -lean_ctor_set(x_143, 2, x_132); -lean_ctor_set(x_143, 3, x_133); -lean_ctor_set(x_143, 4, x_134); -lean_ctor_set(x_143, 5, x_135); -lean_ctor_set(x_143, 6, x_136); -lean_ctor_set(x_143, 7, x_137); -lean_ctor_set_uint8(x_143, sizeof(void*)*8, x_142); -if (lean_is_scalar(x_141)) { - x_144 = lean_alloc_ctor(0, 4, 0); -} else { - x_144 = x_141; -} -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_138); -lean_ctor_set(x_144, 2, x_139); -lean_ctor_set(x_144, 3, x_140); -x_145 = lean_st_ref_set(x_10, x_144, x_116); -x_146 = lean_ctor_get(x_145, 1); -lean_inc(x_146); +lean_dec(x_138); +x_141 = !lean_is_exclusive(x_139); +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_142 = lean_ctor_get(x_139, 0); +lean_dec(x_142); +lean_ctor_set(x_139, 0, x_135); +x_143 = lean_st_ref_set(x_10, x_139, x_140); +x_144 = !lean_is_exclusive(x_143); +if (x_144 == 0) +{ +lean_object* x_145; +x_145 = lean_ctor_get(x_143, 0); lean_dec(x_145); -x_53 = x_72; -x_54 = x_146; -goto block_64; +lean_ctor_set(x_143, 0, x_134); +x_65 = x_143; +goto block_69; } +else +{ +lean_object* x_146; lean_object* x_147; +x_146 = lean_ctor_get(x_143, 1); +lean_inc(x_146); +lean_dec(x_143); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_134); +lean_ctor_set(x_147, 1, x_146); +x_65 = x_147; +goto block_69; +} +} +else +{ +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; +x_148 = lean_ctor_get(x_139, 1); +x_149 = lean_ctor_get(x_139, 2); +x_150 = lean_ctor_get(x_139, 3); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_139); +x_151 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_151, 0, x_135); +lean_ctor_set(x_151, 1, x_148); +lean_ctor_set(x_151, 2, x_149); +lean_ctor_set(x_151, 3, x_150); +x_152 = lean_st_ref_set(x_10, x_151, x_140); +x_153 = lean_ctor_get(x_152, 1); +lean_inc(x_153); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_154 = x_152; +} else { + lean_dec_ref(x_152); + x_154 = lean_box(0); +} +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(0, 2, 0); +} else { + x_155 = x_154; +} +lean_ctor_set(x_155, 0, x_134); +lean_ctor_set(x_155, 1, x_153); +x_65 = x_155; +goto block_69; } } } 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; uint8_t x_169; lean_object* x_170; uint8_t x_245; lean_object* x_246; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; -x_162 = lean_ctor_get(x_48, 3); -lean_inc(x_162); -x_163 = lean_ctor_get(x_48, 4); -lean_inc(x_163); +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; uint8_t x_163; lean_object* x_164; uint8_t x_182; lean_object* x_183; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; +x_156 = lean_ctor_get(x_48, 3); +lean_inc(x_156); +x_157 = lean_ctor_get(x_48, 4); +lean_inc(x_157); lean_dec(x_48); -x_164 = lean_st_ref_get(x_12, x_13); +x_158 = lean_st_ref_get(x_12, x_13); +x_159 = lean_ctor_get(x_158, 1); +lean_inc(x_159); +lean_dec(x_158); +x_160 = lean_st_ref_get(x_10, x_159); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_196 = lean_ctor_get(x_161, 0); +lean_inc(x_196); +lean_dec(x_161); +x_197 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; +x_198 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_196); +x_199 = l_Lean_Expr_hasFVar(x_156); +if (x_199 == 0) +{ +uint8_t x_200; +x_200 = l_Lean_Expr_hasMVar(x_156); +if (x_200 == 0) +{ +uint8_t x_201; +lean_dec(x_156); +x_201 = 0; +x_182 = x_201; +x_183 = x_198; +goto block_195; +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +lean_inc(x_50); +x_202 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__39___at_Lean_Meta_getFVarSetToGeneralize___spec__47(x_50, x_156, x_198); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +lean_dec(x_202); +x_205 = lean_unbox(x_203); +lean_dec(x_203); +x_182 = x_205; +x_183 = x_204; +goto block_195; +} +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; +lean_inc(x_50); +x_206 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__50___at_Lean_Meta_getFVarSetToGeneralize___spec__58(x_50, x_156, x_198); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_206, 1); +lean_inc(x_208); +lean_dec(x_206); +x_209 = lean_unbox(x_207); +lean_dec(x_207); +x_182 = x_209; +x_183 = x_208; +goto block_195; +} +block_181: +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; x_165 = lean_ctor_get(x_164, 1); lean_inc(x_165); lean_dec(x_164); -x_166 = lean_st_ref_get(x_10, x_165); -x_167 = lean_ctor_get(x_166, 0); +x_166 = lean_st_ref_get(x_12, x_162); +x_167 = lean_ctor_get(x_166, 1); lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); lean_dec(x_166); -x_259 = lean_ctor_get(x_167, 0); -lean_inc(x_259); -lean_dec(x_167); -x_260 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; -x_261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_259); -x_262 = l_Lean_Expr_hasFVar(x_162); -if (x_262 == 0) +x_168 = lean_st_ref_take(x_10, x_167); +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +x_171 = !lean_is_exclusive(x_169); +if (x_171 == 0) { -uint8_t x_263; -x_263 = l_Lean_Expr_hasMVar(x_162); -if (x_263 == 0) -{ -uint8_t x_264; -lean_dec(x_162); -x_264 = 0; -x_245 = x_264; -x_246 = x_261; -goto block_258; -} -else -{ -lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; -lean_inc(x_50); -x_265 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__39___at_Lean_Meta_getFVarSetToGeneralize___spec__47(x_50, x_162, x_261); -x_266 = lean_ctor_get(x_265, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_265, 1); -lean_inc(x_267); -lean_dec(x_265); -x_268 = lean_unbox(x_266); -lean_dec(x_266); -x_245 = x_268; -x_246 = x_267; -goto block_258; -} -} -else -{ -lean_object* x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; -lean_inc(x_50); -x_269 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__50___at_Lean_Meta_getFVarSetToGeneralize___spec__58(x_50, x_162, x_261); -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_269, 1); -lean_inc(x_271); -lean_dec(x_269); -x_272 = lean_unbox(x_270); -lean_dec(x_270); -x_245 = x_272; -x_246 = x_271; -goto block_258; -} -block_244: -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; -x_171 = lean_ctor_get(x_170, 1); -lean_inc(x_171); -lean_dec(x_170); -x_172 = lean_st_ref_get(x_12, x_168); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_169, 0); lean_dec(x_172); -x_174 = lean_st_ref_take(x_10, x_173); -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get_uint8(x_171, sizeof(void*)*8); -if (x_176 == 0) +lean_ctor_set(x_169, 0, x_165); +x_173 = lean_st_ref_set(x_10, x_169, x_170); +x_174 = lean_ctor_get(x_173, 1); +lean_inc(x_174); +lean_dec(x_173); +x_53 = x_163; +x_54 = x_174; +goto block_64; +} +else { -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; uint8_t x_187; -x_177 = lean_ctor_get(x_175, 0); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_175 = lean_ctor_get(x_169, 1); +x_176 = lean_ctor_get(x_169, 2); +x_177 = lean_ctor_get(x_169, 3); lean_inc(x_177); -x_178 = lean_ctor_get(x_174, 1); -lean_inc(x_178); -lean_dec(x_174); -x_179 = lean_ctor_get(x_171, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_169); +x_178 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_178, 0, x_165); +lean_ctor_set(x_178, 1, x_175); +lean_ctor_set(x_178, 2, x_176); +lean_ctor_set(x_178, 3, x_177); +x_179 = lean_st_ref_set(x_10, x_178, x_170); +x_180 = lean_ctor_get(x_179, 1); lean_inc(x_180); -x_181 = lean_ctor_get(x_171, 2); -lean_inc(x_181); -x_182 = lean_ctor_get(x_171, 3); -lean_inc(x_182); -x_183 = lean_ctor_get(x_171, 4); -lean_inc(x_183); -x_184 = lean_ctor_get(x_171, 5); -lean_inc(x_184); -x_185 = lean_ctor_get(x_171, 6); -lean_inc(x_185); -x_186 = lean_ctor_get(x_171, 7); -lean_inc(x_186); -lean_dec(x_171); -x_187 = !lean_is_exclusive(x_175); -if (x_187 == 0) +lean_dec(x_179); +x_53 = x_163; +x_54 = x_180; +goto block_64; +} +} +block_195: { -lean_object* x_188; uint8_t x_189; -x_188 = lean_ctor_get(x_175, 0); +if (x_182 == 0) +{ +uint8_t x_184; +x_184 = l_Lean_Expr_hasFVar(x_157); +if (x_184 == 0) +{ +uint8_t x_185; +x_185 = l_Lean_Expr_hasMVar(x_157); +if (x_185 == 0) +{ +uint8_t x_186; +lean_dec(x_157); +x_186 = 0; +x_163 = x_186; +x_164 = x_183; +goto block_181; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; +lean_inc(x_50); +lean_inc(x_3); +x_187 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__23(x_3, x_50, x_157, x_183); +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +lean_dec(x_187); +x_190 = lean_unbox(x_188); lean_dec(x_188); -x_189 = !lean_is_exclusive(x_177); -if (x_189 == 0) +x_163 = x_190; +x_164 = x_189; +goto block_181; +} +} +else { -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; -x_190 = lean_ctor_get(x_177, 7); -lean_dec(x_190); -x_191 = lean_ctor_get(x_177, 6); +lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; +lean_inc(x_50); +lean_inc(x_3); +x_191 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__31(x_3, x_50, x_157, x_183); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_191, 1); +lean_inc(x_193); lean_dec(x_191); -x_192 = lean_ctor_get(x_177, 5); +x_194 = lean_unbox(x_192); lean_dec(x_192); -x_193 = lean_ctor_get(x_177, 4); -lean_dec(x_193); -x_194 = lean_ctor_get(x_177, 3); -lean_dec(x_194); -x_195 = lean_ctor_get(x_177, 2); -lean_dec(x_195); -x_196 = lean_ctor_get(x_177, 1); -lean_dec(x_196); -x_197 = lean_ctor_get(x_177, 0); -lean_dec(x_197); -lean_ctor_set(x_177, 7, x_186); -lean_ctor_set(x_177, 6, x_185); -lean_ctor_set(x_177, 5, x_184); -lean_ctor_set(x_177, 4, x_183); -lean_ctor_set(x_177, 3, x_182); -lean_ctor_set(x_177, 2, x_181); -lean_ctor_set(x_177, 1, x_180); -lean_ctor_set(x_177, 0, x_179); -x_198 = lean_st_ref_set(x_10, x_175, x_178); -x_199 = lean_ctor_get(x_198, 1); -lean_inc(x_199); -lean_dec(x_198); -x_53 = x_169; -x_54 = x_199; -goto block_64; -} -else -{ -uint8_t x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -x_200 = lean_ctor_get_uint8(x_177, sizeof(void*)*8); -lean_dec(x_177); -x_201 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_201, 0, x_179); -lean_ctor_set(x_201, 1, x_180); -lean_ctor_set(x_201, 2, x_181); -lean_ctor_set(x_201, 3, x_182); -lean_ctor_set(x_201, 4, x_183); -lean_ctor_set(x_201, 5, x_184); -lean_ctor_set(x_201, 6, x_185); -lean_ctor_set(x_201, 7, x_186); -lean_ctor_set_uint8(x_201, sizeof(void*)*8, x_200); -lean_ctor_set(x_175, 0, x_201); -x_202 = lean_st_ref_set(x_10, x_175, x_178); -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -lean_dec(x_202); -x_53 = x_169; -x_54 = x_203; -goto block_64; +x_163 = x_194; +x_164 = x_193; +goto block_181; } } else { -lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_204 = lean_ctor_get(x_175, 1); -x_205 = lean_ctor_get(x_175, 2); -x_206 = lean_ctor_get(x_175, 3); -lean_inc(x_206); -lean_inc(x_205); -lean_inc(x_204); -lean_dec(x_175); -x_207 = lean_ctor_get_uint8(x_177, sizeof(void*)*8); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - lean_ctor_release(x_177, 2); - lean_ctor_release(x_177, 3); - lean_ctor_release(x_177, 4); - lean_ctor_release(x_177, 5); - lean_ctor_release(x_177, 6); - lean_ctor_release(x_177, 7); - x_208 = x_177; -} else { - lean_dec_ref(x_177); - x_208 = lean_box(0); -} -if (lean_is_scalar(x_208)) { - x_209 = lean_alloc_ctor(0, 8, 1); -} else { - x_209 = x_208; -} -lean_ctor_set(x_209, 0, x_179); -lean_ctor_set(x_209, 1, x_180); -lean_ctor_set(x_209, 2, x_181); -lean_ctor_set(x_209, 3, x_182); -lean_ctor_set(x_209, 4, x_183); -lean_ctor_set(x_209, 5, x_184); -lean_ctor_set(x_209, 6, x_185); -lean_ctor_set(x_209, 7, x_186); -lean_ctor_set_uint8(x_209, sizeof(void*)*8, x_207); -x_210 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_204); -lean_ctor_set(x_210, 2, x_205); -lean_ctor_set(x_210, 3, x_206); -x_211 = lean_st_ref_set(x_10, x_210, x_178); -x_212 = lean_ctor_get(x_211, 1); -lean_inc(x_212); -lean_dec(x_211); -x_53 = x_169; -x_54 = x_212; -goto block_64; -} -} -else -{ -lean_object* x_213; uint8_t x_214; -x_213 = lean_ctor_get(x_174, 1); -lean_inc(x_213); -lean_dec(x_174); -x_214 = !lean_is_exclusive(x_171); -if (x_214 == 0) -{ -uint8_t x_215; -x_215 = !lean_is_exclusive(x_175); -if (x_215 == 0) -{ -lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; -x_216 = lean_ctor_get(x_175, 0); -lean_dec(x_216); -x_217 = 1; -lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_217); -lean_ctor_set(x_175, 0, x_171); -x_218 = lean_st_ref_set(x_10, x_175, x_213); -x_219 = lean_ctor_get(x_218, 1); -lean_inc(x_219); -lean_dec(x_218); -x_53 = x_169; -x_54 = x_219; -goto block_64; -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_220 = lean_ctor_get(x_175, 1); -x_221 = lean_ctor_get(x_175, 2); -x_222 = lean_ctor_get(x_175, 3); -lean_inc(x_222); -lean_inc(x_221); -lean_inc(x_220); -lean_dec(x_175); -x_223 = 1; -lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_223); -x_224 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_224, 0, x_171); -lean_ctor_set(x_224, 1, x_220); -lean_ctor_set(x_224, 2, x_221); -lean_ctor_set(x_224, 3, x_222); -x_225 = lean_st_ref_set(x_10, x_224, x_213); -x_226 = lean_ctor_get(x_225, 1); -lean_inc(x_226); -lean_dec(x_225); -x_53 = x_169; -x_54 = x_226; -goto block_64; -} -} -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; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_227 = lean_ctor_get(x_171, 0); -x_228 = lean_ctor_get(x_171, 1); -x_229 = lean_ctor_get(x_171, 2); -x_230 = lean_ctor_get(x_171, 3); -x_231 = lean_ctor_get(x_171, 4); -x_232 = lean_ctor_get(x_171, 5); -x_233 = lean_ctor_get(x_171, 6); -x_234 = lean_ctor_get(x_171, 7); -lean_inc(x_234); -lean_inc(x_233); -lean_inc(x_232); -lean_inc(x_231); -lean_inc(x_230); -lean_inc(x_229); -lean_inc(x_228); -lean_inc(x_227); -lean_dec(x_171); -x_235 = lean_ctor_get(x_175, 1); -lean_inc(x_235); -x_236 = lean_ctor_get(x_175, 2); -lean_inc(x_236); -x_237 = lean_ctor_get(x_175, 3); -lean_inc(x_237); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - lean_ctor_release(x_175, 2); - lean_ctor_release(x_175, 3); - x_238 = x_175; -} else { - lean_dec_ref(x_175); - x_238 = lean_box(0); -} -x_239 = 1; -x_240 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_240, 0, x_227); -lean_ctor_set(x_240, 1, x_228); -lean_ctor_set(x_240, 2, x_229); -lean_ctor_set(x_240, 3, x_230); -lean_ctor_set(x_240, 4, x_231); -lean_ctor_set(x_240, 5, x_232); -lean_ctor_set(x_240, 6, x_233); -lean_ctor_set(x_240, 7, x_234); -lean_ctor_set_uint8(x_240, sizeof(void*)*8, x_239); -if (lean_is_scalar(x_238)) { - x_241 = lean_alloc_ctor(0, 4, 0); -} else { - x_241 = x_238; -} -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_235); -lean_ctor_set(x_241, 2, x_236); -lean_ctor_set(x_241, 3, x_237); -x_242 = lean_st_ref_set(x_10, x_241, x_213); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -lean_dec(x_242); -x_53 = x_169; -x_54 = x_243; -goto block_64; -} -} -} -block_258: -{ -if (x_245 == 0) -{ -uint8_t x_247; -x_247 = l_Lean_Expr_hasFVar(x_163); -if (x_247 == 0) -{ -uint8_t x_248; -x_248 = l_Lean_Expr_hasMVar(x_163); -if (x_248 == 0) -{ -uint8_t x_249; -lean_dec(x_163); -x_249 = 0; -x_169 = x_249; -x_170 = x_246; -goto block_244; -} -else -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; uint8_t x_253; -lean_inc(x_50); -lean_inc(x_3); -x_250 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__23(x_3, x_50, x_163, x_246); -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_unbox(x_251); -lean_dec(x_251); -x_169 = x_253; -x_170 = x_252; -goto block_244; -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; -lean_inc(x_50); -lean_inc(x_3); -x_254 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__31(x_3, x_50, x_163, x_246); -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -x_257 = lean_unbox(x_255); -lean_dec(x_255); -x_169 = x_257; -x_170 = x_256; -goto block_244; -} -} -else -{ -lean_dec(x_163); -x_169 = x_245; -x_170 = x_246; -goto block_244; +lean_dec(x_157); +x_163 = x_182; +x_164 = x_183; +goto block_181; } } } @@ -10624,7 +10116,7 @@ goto _start; } else { -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_object* x_54; lean_object* x_65; lean_object* x_274; +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_object* x_54; lean_object* x_65; lean_object* x_70; lean_object* x_211; x_48 = lean_ctor_get(x_16, 0); lean_inc(x_48); lean_dec(x_16); @@ -10641,107 +10133,107 @@ if (lean_is_exclusive(x_25)) { x_51 = lean_box(0); } x_52 = l_Lean_LocalDecl_fvarId(x_48); -x_274 = l_Std_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_1, x_52); -if (lean_obj_tag(x_274) == 0) +x_211 = l_Std_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_1, x_52); +if (lean_obj_tag(x_211) == 0) { -uint8_t x_275; -x_275 = l_Lean_LocalDecl_isAuxDecl(x_48); -if (x_275 == 0) +uint8_t x_212; +x_212 = l_Lean_LocalDecl_isAuxDecl(x_48); +if (x_212 == 0) { -uint8_t x_276; uint8_t x_277; -x_276 = l_Lean_LocalDecl_binderInfo(x_48); -x_277 = l_Lean_BinderInfo_isInstImplicit(x_276); -if (x_277 == 0) +uint8_t x_213; uint8_t x_214; +x_213 = l_Lean_LocalDecl_binderInfo(x_48); +x_214 = l_Lean_BinderInfo_isInstImplicit(x_213); +if (x_214 == 0) { if (x_2 == 0) { -lean_object* x_278; -x_278 = lean_box(0); -x_65 = x_278; -goto block_273; +lean_object* x_215; +x_215 = lean_box(0); +x_70 = x_215; +goto block_210; } else { -uint8_t x_279; -x_279 = l_Lean_LocalDecl_isLet(x_48); -if (x_279 == 0) +uint8_t x_216; +x_216 = l_Lean_LocalDecl_isLet(x_48); +if (x_216 == 0) { -lean_object* x_280; -x_280 = lean_box(0); -x_65 = x_280; -goto block_273; +lean_object* x_217; +x_217 = lean_box(0); +x_70 = x_217; +goto block_210; } else { -lean_object* x_281; lean_object* x_282; lean_object* x_283; +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_281 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_281, 0, x_49); -lean_ctor_set(x_281, 1, x_50); -x_282 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_282, 0, x_281); -x_283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_13); -x_27 = x_283; +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_49); +lean_ctor_set(x_218, 1, x_50); +x_219 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_219, 0, x_218); +x_220 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_13); +x_27 = x_220; goto block_43; } } } else { -lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_284 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_284, 0, x_49); -lean_ctor_set(x_284, 1, x_50); -x_285 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_285, 0, 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_13); -x_27 = x_286; +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_49); +lean_ctor_set(x_221, 1, x_50); +x_222 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_222, 0, x_221); +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_13); +x_27 = x_223; goto block_43; } } else { -lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_287 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_287, 0, x_49); -lean_ctor_set(x_287, 1, x_50); -x_288 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_288, 0, x_287); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_13); -x_27 = x_289; +x_224 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_224, 0, x_49); +lean_ctor_set(x_224, 1, x_50); +x_225 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_225, 0, x_224); +x_226 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_13); +x_27 = x_226; goto block_43; } } else { -lean_object* x_290; lean_object* x_291; lean_object* x_292; -lean_dec(x_274); +lean_object* x_227; lean_object* x_228; lean_object* x_229; +lean_dec(x_211); lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_49); -lean_ctor_set(x_290, 1, x_50); -x_291 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_291, 0, x_290); -x_292 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_13); -x_27 = x_292; +x_227 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_227, 0, x_49); +lean_ctor_set(x_227, 1, x_50); +x_228 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_228, 0, x_227); +x_229 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_13); +x_27 = x_229; goto block_43; } block_64: @@ -10788,769 +10280,515 @@ x_27 = x_63; goto block_43; } } -block_273: +block_69: { +lean_object* x_66; lean_object* x_67; uint8_t x_68; +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_53 = x_68; +x_54 = x_67; +goto block_64; +} +block_210: +{ +lean_dec(x_70); if (lean_obj_tag(x_48) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; -x_66 = lean_ctor_get(x_48, 3); -lean_inc(x_66); -lean_dec(x_48); -x_67 = lean_st_ref_get(x_12, x_13); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_st_ref_get(x_10, x_68); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); +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; uint8_t x_80; +x_71 = lean_ctor_get(x_48, 3); lean_inc(x_71); -lean_dec(x_69); -x_148 = lean_ctor_get(x_70, 0); -lean_inc(x_148); -lean_dec(x_70); -x_149 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_148); -x_151 = l_Lean_Expr_hasFVar(x_66); -if (x_151 == 0) -{ -uint8_t x_152; -x_152 = l_Lean_Expr_hasMVar(x_66); -if (x_152 == 0) -{ -uint8_t x_153; -lean_dec(x_66); -x_153 = 0; -x_72 = x_153; -x_73 = x_150; -goto block_147; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; -lean_inc(x_50); -x_154 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__1___at_Lean_Meta_getFVarSetToGeneralize___spec__9(x_50, x_66, x_150); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_154, 1); -lean_inc(x_156); -lean_dec(x_154); -x_157 = lean_unbox(x_155); -lean_dec(x_155); -x_72 = x_157; -x_73 = x_156; -goto block_147; -} -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -lean_inc(x_50); -x_158 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__12___at_Lean_Meta_getFVarSetToGeneralize___spec__20(x_50, x_66, x_150); -x_159 = lean_ctor_get(x_158, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec(x_158); -x_161 = lean_unbox(x_159); -lean_dec(x_159); -x_72 = x_161; -x_73 = x_160; -goto block_147; -} -block_147: -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_st_ref_get(x_12, x_71); -x_76 = lean_ctor_get(x_75, 1); +lean_dec(x_48); +x_72 = lean_st_ref_get(x_12, x_13); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = lean_st_ref_get(x_10, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); -lean_dec(x_75); -x_77 = lean_st_ref_take(x_10, x_76); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get_uint8(x_74, sizeof(void*)*8); -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; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_80 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); -lean_dec(x_77); -x_82 = lean_ctor_get(x_74, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_74, 1); -lean_inc(x_83); -x_84 = lean_ctor_get(x_74, 2); -lean_inc(x_84); -x_85 = lean_ctor_get(x_74, 3); -lean_inc(x_85); -x_86 = lean_ctor_get(x_74, 4); -lean_inc(x_86); -x_87 = lean_ctor_get(x_74, 5); -lean_inc(x_87); -x_88 = lean_ctor_get(x_74, 6); -lean_inc(x_88); -x_89 = lean_ctor_get(x_74, 7); -lean_inc(x_89); lean_dec(x_74); -x_90 = !lean_is_exclusive(x_78); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec(x_75); +x_78 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; +lean_inc(x_77); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l_Lean_Expr_hasFVar(x_71); +if (x_80 == 0) +{ +uint8_t x_81; +x_81 = l_Lean_Expr_hasMVar(x_71); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_dec(x_79); +lean_dec(x_71); +x_82 = lean_st_ref_get(x_12, x_76); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_st_ref_take(x_10, x_83); +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_is_exclusive(x_85); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_88 = lean_ctor_get(x_85, 0); +lean_dec(x_88); +lean_ctor_set(x_85, 0, x_77); +x_89 = lean_st_ref_set(x_10, x_85, x_86); +x_90 = !lean_is_exclusive(x_89); if (x_90 == 0) { -lean_object* x_91; uint8_t x_92; -x_91 = lean_ctor_get(x_78, 0); +lean_object* x_91; uint8_t x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_89, 0); lean_dec(x_91); -x_92 = !lean_is_exclusive(x_80); -if (x_92 == 0) -{ -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_93 = lean_ctor_get(x_80, 7); -lean_dec(x_93); -x_94 = lean_ctor_get(x_80, 6); -lean_dec(x_94); -x_95 = lean_ctor_get(x_80, 5); -lean_dec(x_95); -x_96 = lean_ctor_get(x_80, 4); -lean_dec(x_96); -x_97 = lean_ctor_get(x_80, 3); -lean_dec(x_97); -x_98 = lean_ctor_get(x_80, 2); -lean_dec(x_98); -x_99 = lean_ctor_get(x_80, 1); -lean_dec(x_99); -x_100 = lean_ctor_get(x_80, 0); -lean_dec(x_100); -lean_ctor_set(x_80, 7, x_89); -lean_ctor_set(x_80, 6, x_88); -lean_ctor_set(x_80, 5, x_87); -lean_ctor_set(x_80, 4, x_86); -lean_ctor_set(x_80, 3, x_85); -lean_ctor_set(x_80, 2, x_84); -lean_ctor_set(x_80, 1, x_83); -lean_ctor_set(x_80, 0, x_82); -x_101 = lean_st_ref_set(x_10, x_78, x_81); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_53 = x_72; -x_54 = x_102; -goto block_64; +x_92 = 0; +x_93 = lean_box(x_92); +lean_ctor_set(x_89, 0, x_93); +x_65 = x_89; +goto block_69; } else { -uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_103 = lean_ctor_get_uint8(x_80, sizeof(void*)*8); -lean_dec(x_80); -x_104 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_104, 0, x_82); -lean_ctor_set(x_104, 1, x_83); -lean_ctor_set(x_104, 2, x_84); -lean_ctor_set(x_104, 3, x_85); -lean_ctor_set(x_104, 4, x_86); -lean_ctor_set(x_104, 5, x_87); -lean_ctor_set(x_104, 6, x_88); -lean_ctor_set(x_104, 7, x_89); -lean_ctor_set_uint8(x_104, sizeof(void*)*8, x_103); -lean_ctor_set(x_78, 0, x_104); -x_105 = lean_st_ref_set(x_10, x_78, x_81); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -lean_dec(x_105); -x_53 = x_72; -x_54 = x_106; -goto block_64; +lean_object* x_94; uint8_t x_95; lean_object* x_96; lean_object* x_97; +x_94 = lean_ctor_get(x_89, 1); +lean_inc(x_94); +lean_dec(x_89); +x_95 = 0; +x_96 = lean_box(x_95); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_94); +x_65 = x_97; +goto block_69; } } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_107 = lean_ctor_get(x_78, 1); -x_108 = lean_ctor_get(x_78, 2); -x_109 = lean_ctor_get(x_78, 3); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_78); -x_110 = lean_ctor_get_uint8(x_80, sizeof(void*)*8); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - lean_ctor_release(x_80, 2); - lean_ctor_release(x_80, 3); - lean_ctor_release(x_80, 4); - lean_ctor_release(x_80, 5); - lean_ctor_release(x_80, 6); - lean_ctor_release(x_80, 7); - x_111 = x_80; +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; uint8_t x_105; lean_object* x_106; lean_object* x_107; +x_98 = lean_ctor_get(x_85, 1); +x_99 = lean_ctor_get(x_85, 2); +x_100 = lean_ctor_get(x_85, 3); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_85); +x_101 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_101, 0, x_77); +lean_ctor_set(x_101, 1, x_98); +lean_ctor_set(x_101, 2, x_99); +lean_ctor_set(x_101, 3, x_100); +x_102 = lean_st_ref_set(x_10, x_101, x_86); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_104 = x_102; } else { - lean_dec_ref(x_80); - x_111 = lean_box(0); + lean_dec_ref(x_102); + x_104 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(0, 8, 1); +x_105 = 0; +x_106 = lean_box(x_105); +if (lean_is_scalar(x_104)) { + x_107 = lean_alloc_ctor(0, 2, 0); } else { - x_112 = x_111; + x_107 = x_104; } -lean_ctor_set(x_112, 0, x_82); -lean_ctor_set(x_112, 1, x_83); -lean_ctor_set(x_112, 2, x_84); -lean_ctor_set(x_112, 3, x_85); -lean_ctor_set(x_112, 4, x_86); -lean_ctor_set(x_112, 5, x_87); -lean_ctor_set(x_112, 6, x_88); -lean_ctor_set(x_112, 7, x_89); -lean_ctor_set_uint8(x_112, sizeof(void*)*8, x_110); -x_113 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_107); -lean_ctor_set(x_113, 2, x_108); -lean_ctor_set(x_113, 3, x_109); -x_114 = lean_st_ref_set(x_10, x_113, x_81); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_53 = x_72; -x_54 = x_115; -goto block_64; +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_103); +x_65 = x_107; +goto block_69; } } else { -lean_object* x_116; uint8_t x_117; -x_116 = lean_ctor_get(x_77, 1); -lean_inc(x_116); +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; uint8_t x_117; lean_dec(x_77); -x_117 = !lean_is_exclusive(x_74); +lean_inc(x_50); +x_108 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__1___at_Lean_Meta_getFVarSetToGeneralize___spec__9(x_50, x_71, x_79); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +lean_dec(x_108); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = lean_st_ref_get(x_12, x_76); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_114 = lean_st_ref_take(x_10, x_113); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = !lean_is_exclusive(x_115); if (x_117 == 0) { -uint8_t x_118; -x_118 = !lean_is_exclusive(x_78); -if (x_118 == 0) +lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_118 = lean_ctor_get(x_115, 0); +lean_dec(x_118); +lean_ctor_set(x_115, 0, x_111); +x_119 = lean_st_ref_set(x_10, x_115, x_116); +x_120 = !lean_is_exclusive(x_119); +if (x_120 == 0) { -lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; -x_119 = lean_ctor_get(x_78, 0); -lean_dec(x_119); -x_120 = 1; -lean_ctor_set_uint8(x_74, sizeof(void*)*8, x_120); -lean_ctor_set(x_78, 0, x_74); -x_121 = lean_st_ref_set(x_10, x_78, x_116); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); +lean_object* x_121; +x_121 = lean_ctor_get(x_119, 0); lean_dec(x_121); -x_53 = x_72; -x_54 = x_122; -goto block_64; +lean_ctor_set(x_119, 0, x_110); +x_65 = x_119; +goto block_69; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_123 = lean_ctor_get(x_78, 1); -x_124 = lean_ctor_get(x_78, 2); -x_125 = lean_ctor_get(x_78, 3); +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_119, 1); +lean_inc(x_122); +lean_dec(x_119); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_110); +lean_ctor_set(x_123, 1, x_122); +x_65 = x_123; +goto block_69; +} +} +else +{ +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; +x_124 = lean_ctor_get(x_115, 1); +x_125 = lean_ctor_get(x_115, 2); +x_126 = lean_ctor_get(x_115, 3); +lean_inc(x_126); lean_inc(x_125); lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_78); -x_126 = 1; -lean_ctor_set_uint8(x_74, sizeof(void*)*8, x_126); +lean_dec(x_115); x_127 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_127, 0, x_74); -lean_ctor_set(x_127, 1, x_123); -lean_ctor_set(x_127, 2, x_124); -lean_ctor_set(x_127, 3, x_125); +lean_ctor_set(x_127, 0, x_111); +lean_ctor_set(x_127, 1, x_124); +lean_ctor_set(x_127, 2, x_125); +lean_ctor_set(x_127, 3, x_126); x_128 = lean_st_ref_set(x_10, x_127, x_116); x_129 = lean_ctor_get(x_128, 1); lean_inc(x_129); -lean_dec(x_128); -x_53 = x_72; -x_54 = x_129; -goto block_64; +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_130 = x_128; +} else { + lean_dec_ref(x_128); + x_130 = lean_box(0); +} +if (lean_is_scalar(x_130)) { + x_131 = lean_alloc_ctor(0, 2, 0); +} else { + x_131 = x_130; +} +lean_ctor_set(x_131, 0, x_110); +lean_ctor_set(x_131, 1, x_129); +x_65 = x_131; +goto block_69; +} } } else { -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; uint8_t x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_130 = lean_ctor_get(x_74, 0); -x_131 = lean_ctor_get(x_74, 1); -x_132 = lean_ctor_get(x_74, 2); -x_133 = lean_ctor_get(x_74, 3); -x_134 = lean_ctor_get(x_74, 4); -x_135 = lean_ctor_get(x_74, 5); -x_136 = lean_ctor_get(x_74, 6); -x_137 = lean_ctor_get(x_74, 7); -lean_inc(x_137); -lean_inc(x_136); -lean_inc(x_135); -lean_inc(x_134); +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; uint8_t x_141; +lean_dec(x_77); +lean_inc(x_50); +x_132 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__12___at_Lean_Meta_getFVarSetToGeneralize___spec__20(x_50, x_71, x_79); +x_133 = lean_ctor_get(x_132, 1); lean_inc(x_133); -lean_inc(x_132); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_74); -x_138 = lean_ctor_get(x_78, 1); -lean_inc(x_138); -x_139 = lean_ctor_get(x_78, 2); +x_134 = lean_ctor_get(x_132, 0); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = lean_st_ref_get(x_12, x_76); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); +lean_dec(x_136); +x_138 = lean_st_ref_take(x_10, x_137); +x_139 = lean_ctor_get(x_138, 0); lean_inc(x_139); -x_140 = lean_ctor_get(x_78, 3); +x_140 = lean_ctor_get(x_138, 1); lean_inc(x_140); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - lean_ctor_release(x_78, 2); - lean_ctor_release(x_78, 3); - x_141 = x_78; -} else { - lean_dec_ref(x_78); - x_141 = lean_box(0); -} -x_142 = 1; -x_143 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_143, 0, x_130); -lean_ctor_set(x_143, 1, x_131); -lean_ctor_set(x_143, 2, x_132); -lean_ctor_set(x_143, 3, x_133); -lean_ctor_set(x_143, 4, x_134); -lean_ctor_set(x_143, 5, x_135); -lean_ctor_set(x_143, 6, x_136); -lean_ctor_set(x_143, 7, x_137); -lean_ctor_set_uint8(x_143, sizeof(void*)*8, x_142); -if (lean_is_scalar(x_141)) { - x_144 = lean_alloc_ctor(0, 4, 0); -} else { - x_144 = x_141; -} -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_138); -lean_ctor_set(x_144, 2, x_139); -lean_ctor_set(x_144, 3, x_140); -x_145 = lean_st_ref_set(x_10, x_144, x_116); -x_146 = lean_ctor_get(x_145, 1); -lean_inc(x_146); +lean_dec(x_138); +x_141 = !lean_is_exclusive(x_139); +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_142 = lean_ctor_get(x_139, 0); +lean_dec(x_142); +lean_ctor_set(x_139, 0, x_135); +x_143 = lean_st_ref_set(x_10, x_139, x_140); +x_144 = !lean_is_exclusive(x_143); +if (x_144 == 0) +{ +lean_object* x_145; +x_145 = lean_ctor_get(x_143, 0); lean_dec(x_145); -x_53 = x_72; -x_54 = x_146; -goto block_64; +lean_ctor_set(x_143, 0, x_134); +x_65 = x_143; +goto block_69; } +else +{ +lean_object* x_146; lean_object* x_147; +x_146 = lean_ctor_get(x_143, 1); +lean_inc(x_146); +lean_dec(x_143); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_134); +lean_ctor_set(x_147, 1, x_146); +x_65 = x_147; +goto block_69; +} +} +else +{ +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; +x_148 = lean_ctor_get(x_139, 1); +x_149 = lean_ctor_get(x_139, 2); +x_150 = lean_ctor_get(x_139, 3); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_139); +x_151 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_151, 0, x_135); +lean_ctor_set(x_151, 1, x_148); +lean_ctor_set(x_151, 2, x_149); +lean_ctor_set(x_151, 3, x_150); +x_152 = lean_st_ref_set(x_10, x_151, x_140); +x_153 = lean_ctor_get(x_152, 1); +lean_inc(x_153); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_154 = x_152; +} else { + lean_dec_ref(x_152); + x_154 = lean_box(0); +} +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(0, 2, 0); +} else { + x_155 = x_154; +} +lean_ctor_set(x_155, 0, x_134); +lean_ctor_set(x_155, 1, x_153); +x_65 = x_155; +goto block_69; } } } 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; uint8_t x_169; lean_object* x_170; uint8_t x_245; lean_object* x_246; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; -x_162 = lean_ctor_get(x_48, 3); -lean_inc(x_162); -x_163 = lean_ctor_get(x_48, 4); -lean_inc(x_163); +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; uint8_t x_163; lean_object* x_164; uint8_t x_182; lean_object* x_183; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; +x_156 = lean_ctor_get(x_48, 3); +lean_inc(x_156); +x_157 = lean_ctor_get(x_48, 4); +lean_inc(x_157); lean_dec(x_48); -x_164 = lean_st_ref_get(x_12, x_13); +x_158 = lean_st_ref_get(x_12, x_13); +x_159 = lean_ctor_get(x_158, 1); +lean_inc(x_159); +lean_dec(x_158); +x_160 = lean_st_ref_get(x_10, x_159); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_196 = lean_ctor_get(x_161, 0); +lean_inc(x_196); +lean_dec(x_161); +x_197 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; +x_198 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_196); +x_199 = l_Lean_Expr_hasFVar(x_156); +if (x_199 == 0) +{ +uint8_t x_200; +x_200 = l_Lean_Expr_hasMVar(x_156); +if (x_200 == 0) +{ +uint8_t x_201; +lean_dec(x_156); +x_201 = 0; +x_182 = x_201; +x_183 = x_198; +goto block_195; +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +lean_inc(x_50); +x_202 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__39___at_Lean_Meta_getFVarSetToGeneralize___spec__47(x_50, x_156, x_198); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +lean_dec(x_202); +x_205 = lean_unbox(x_203); +lean_dec(x_203); +x_182 = x_205; +x_183 = x_204; +goto block_195; +} +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; +lean_inc(x_50); +x_206 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__50___at_Lean_Meta_getFVarSetToGeneralize___spec__58(x_50, x_156, x_198); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_206, 1); +lean_inc(x_208); +lean_dec(x_206); +x_209 = lean_unbox(x_207); +lean_dec(x_207); +x_182 = x_209; +x_183 = x_208; +goto block_195; +} +block_181: +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; x_165 = lean_ctor_get(x_164, 1); lean_inc(x_165); lean_dec(x_164); -x_166 = lean_st_ref_get(x_10, x_165); -x_167 = lean_ctor_get(x_166, 0); +x_166 = lean_st_ref_get(x_12, x_162); +x_167 = lean_ctor_get(x_166, 1); lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); lean_dec(x_166); -x_259 = lean_ctor_get(x_167, 0); -lean_inc(x_259); -lean_dec(x_167); -x_260 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; -x_261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_259); -x_262 = l_Lean_Expr_hasFVar(x_162); -if (x_262 == 0) +x_168 = lean_st_ref_take(x_10, x_167); +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +x_171 = !lean_is_exclusive(x_169); +if (x_171 == 0) { -uint8_t x_263; -x_263 = l_Lean_Expr_hasMVar(x_162); -if (x_263 == 0) -{ -uint8_t x_264; -lean_dec(x_162); -x_264 = 0; -x_245 = x_264; -x_246 = x_261; -goto block_258; -} -else -{ -lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; -lean_inc(x_50); -x_265 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__39___at_Lean_Meta_getFVarSetToGeneralize___spec__47(x_50, x_162, x_261); -x_266 = lean_ctor_get(x_265, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_265, 1); -lean_inc(x_267); -lean_dec(x_265); -x_268 = lean_unbox(x_266); -lean_dec(x_266); -x_245 = x_268; -x_246 = x_267; -goto block_258; -} -} -else -{ -lean_object* x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; -lean_inc(x_50); -x_269 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__50___at_Lean_Meta_getFVarSetToGeneralize___spec__58(x_50, x_162, x_261); -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_269, 1); -lean_inc(x_271); -lean_dec(x_269); -x_272 = lean_unbox(x_270); -lean_dec(x_270); -x_245 = x_272; -x_246 = x_271; -goto block_258; -} -block_244: -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; -x_171 = lean_ctor_get(x_170, 1); -lean_inc(x_171); -lean_dec(x_170); -x_172 = lean_st_ref_get(x_12, x_168); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_169, 0); lean_dec(x_172); -x_174 = lean_st_ref_take(x_10, x_173); -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get_uint8(x_171, sizeof(void*)*8); -if (x_176 == 0) +lean_ctor_set(x_169, 0, x_165); +x_173 = lean_st_ref_set(x_10, x_169, x_170); +x_174 = lean_ctor_get(x_173, 1); +lean_inc(x_174); +lean_dec(x_173); +x_53 = x_163; +x_54 = x_174; +goto block_64; +} +else { -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; uint8_t x_187; -x_177 = lean_ctor_get(x_175, 0); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_175 = lean_ctor_get(x_169, 1); +x_176 = lean_ctor_get(x_169, 2); +x_177 = lean_ctor_get(x_169, 3); lean_inc(x_177); -x_178 = lean_ctor_get(x_174, 1); -lean_inc(x_178); -lean_dec(x_174); -x_179 = lean_ctor_get(x_171, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_169); +x_178 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_178, 0, x_165); +lean_ctor_set(x_178, 1, x_175); +lean_ctor_set(x_178, 2, x_176); +lean_ctor_set(x_178, 3, x_177); +x_179 = lean_st_ref_set(x_10, x_178, x_170); +x_180 = lean_ctor_get(x_179, 1); lean_inc(x_180); -x_181 = lean_ctor_get(x_171, 2); -lean_inc(x_181); -x_182 = lean_ctor_get(x_171, 3); -lean_inc(x_182); -x_183 = lean_ctor_get(x_171, 4); -lean_inc(x_183); -x_184 = lean_ctor_get(x_171, 5); -lean_inc(x_184); -x_185 = lean_ctor_get(x_171, 6); -lean_inc(x_185); -x_186 = lean_ctor_get(x_171, 7); -lean_inc(x_186); -lean_dec(x_171); -x_187 = !lean_is_exclusive(x_175); -if (x_187 == 0) +lean_dec(x_179); +x_53 = x_163; +x_54 = x_180; +goto block_64; +} +} +block_195: { -lean_object* x_188; uint8_t x_189; -x_188 = lean_ctor_get(x_175, 0); +if (x_182 == 0) +{ +uint8_t x_184; +x_184 = l_Lean_Expr_hasFVar(x_157); +if (x_184 == 0) +{ +uint8_t x_185; +x_185 = l_Lean_Expr_hasMVar(x_157); +if (x_185 == 0) +{ +uint8_t x_186; +lean_dec(x_157); +x_186 = 0; +x_163 = x_186; +x_164 = x_183; +goto block_181; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; +lean_inc(x_50); +lean_inc(x_3); +x_187 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__23(x_3, x_50, x_157, x_183); +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +lean_dec(x_187); +x_190 = lean_unbox(x_188); lean_dec(x_188); -x_189 = !lean_is_exclusive(x_177); -if (x_189 == 0) +x_163 = x_190; +x_164 = x_189; +goto block_181; +} +} +else { -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; -x_190 = lean_ctor_get(x_177, 7); -lean_dec(x_190); -x_191 = lean_ctor_get(x_177, 6); +lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; +lean_inc(x_50); +lean_inc(x_3); +x_191 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__31(x_3, x_50, x_157, x_183); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_191, 1); +lean_inc(x_193); lean_dec(x_191); -x_192 = lean_ctor_get(x_177, 5); +x_194 = lean_unbox(x_192); lean_dec(x_192); -x_193 = lean_ctor_get(x_177, 4); -lean_dec(x_193); -x_194 = lean_ctor_get(x_177, 3); -lean_dec(x_194); -x_195 = lean_ctor_get(x_177, 2); -lean_dec(x_195); -x_196 = lean_ctor_get(x_177, 1); -lean_dec(x_196); -x_197 = lean_ctor_get(x_177, 0); -lean_dec(x_197); -lean_ctor_set(x_177, 7, x_186); -lean_ctor_set(x_177, 6, x_185); -lean_ctor_set(x_177, 5, x_184); -lean_ctor_set(x_177, 4, x_183); -lean_ctor_set(x_177, 3, x_182); -lean_ctor_set(x_177, 2, x_181); -lean_ctor_set(x_177, 1, x_180); -lean_ctor_set(x_177, 0, x_179); -x_198 = lean_st_ref_set(x_10, x_175, x_178); -x_199 = lean_ctor_get(x_198, 1); -lean_inc(x_199); -lean_dec(x_198); -x_53 = x_169; -x_54 = x_199; -goto block_64; -} -else -{ -uint8_t x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -x_200 = lean_ctor_get_uint8(x_177, sizeof(void*)*8); -lean_dec(x_177); -x_201 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_201, 0, x_179); -lean_ctor_set(x_201, 1, x_180); -lean_ctor_set(x_201, 2, x_181); -lean_ctor_set(x_201, 3, x_182); -lean_ctor_set(x_201, 4, x_183); -lean_ctor_set(x_201, 5, x_184); -lean_ctor_set(x_201, 6, x_185); -lean_ctor_set(x_201, 7, x_186); -lean_ctor_set_uint8(x_201, sizeof(void*)*8, x_200); -lean_ctor_set(x_175, 0, x_201); -x_202 = lean_st_ref_set(x_10, x_175, x_178); -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -lean_dec(x_202); -x_53 = x_169; -x_54 = x_203; -goto block_64; +x_163 = x_194; +x_164 = x_193; +goto block_181; } } else { -lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_204 = lean_ctor_get(x_175, 1); -x_205 = lean_ctor_get(x_175, 2); -x_206 = lean_ctor_get(x_175, 3); -lean_inc(x_206); -lean_inc(x_205); -lean_inc(x_204); -lean_dec(x_175); -x_207 = lean_ctor_get_uint8(x_177, sizeof(void*)*8); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - lean_ctor_release(x_177, 2); - lean_ctor_release(x_177, 3); - lean_ctor_release(x_177, 4); - lean_ctor_release(x_177, 5); - lean_ctor_release(x_177, 6); - lean_ctor_release(x_177, 7); - x_208 = x_177; -} else { - lean_dec_ref(x_177); - x_208 = lean_box(0); -} -if (lean_is_scalar(x_208)) { - x_209 = lean_alloc_ctor(0, 8, 1); -} else { - x_209 = x_208; -} -lean_ctor_set(x_209, 0, x_179); -lean_ctor_set(x_209, 1, x_180); -lean_ctor_set(x_209, 2, x_181); -lean_ctor_set(x_209, 3, x_182); -lean_ctor_set(x_209, 4, x_183); -lean_ctor_set(x_209, 5, x_184); -lean_ctor_set(x_209, 6, x_185); -lean_ctor_set(x_209, 7, x_186); -lean_ctor_set_uint8(x_209, sizeof(void*)*8, x_207); -x_210 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_204); -lean_ctor_set(x_210, 2, x_205); -lean_ctor_set(x_210, 3, x_206); -x_211 = lean_st_ref_set(x_10, x_210, x_178); -x_212 = lean_ctor_get(x_211, 1); -lean_inc(x_212); -lean_dec(x_211); -x_53 = x_169; -x_54 = x_212; -goto block_64; -} -} -else -{ -lean_object* x_213; uint8_t x_214; -x_213 = lean_ctor_get(x_174, 1); -lean_inc(x_213); -lean_dec(x_174); -x_214 = !lean_is_exclusive(x_171); -if (x_214 == 0) -{ -uint8_t x_215; -x_215 = !lean_is_exclusive(x_175); -if (x_215 == 0) -{ -lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; -x_216 = lean_ctor_get(x_175, 0); -lean_dec(x_216); -x_217 = 1; -lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_217); -lean_ctor_set(x_175, 0, x_171); -x_218 = lean_st_ref_set(x_10, x_175, x_213); -x_219 = lean_ctor_get(x_218, 1); -lean_inc(x_219); -lean_dec(x_218); -x_53 = x_169; -x_54 = x_219; -goto block_64; -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_220 = lean_ctor_get(x_175, 1); -x_221 = lean_ctor_get(x_175, 2); -x_222 = lean_ctor_get(x_175, 3); -lean_inc(x_222); -lean_inc(x_221); -lean_inc(x_220); -lean_dec(x_175); -x_223 = 1; -lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_223); -x_224 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_224, 0, x_171); -lean_ctor_set(x_224, 1, x_220); -lean_ctor_set(x_224, 2, x_221); -lean_ctor_set(x_224, 3, x_222); -x_225 = lean_st_ref_set(x_10, x_224, x_213); -x_226 = lean_ctor_get(x_225, 1); -lean_inc(x_226); -lean_dec(x_225); -x_53 = x_169; -x_54 = x_226; -goto block_64; -} -} -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; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_227 = lean_ctor_get(x_171, 0); -x_228 = lean_ctor_get(x_171, 1); -x_229 = lean_ctor_get(x_171, 2); -x_230 = lean_ctor_get(x_171, 3); -x_231 = lean_ctor_get(x_171, 4); -x_232 = lean_ctor_get(x_171, 5); -x_233 = lean_ctor_get(x_171, 6); -x_234 = lean_ctor_get(x_171, 7); -lean_inc(x_234); -lean_inc(x_233); -lean_inc(x_232); -lean_inc(x_231); -lean_inc(x_230); -lean_inc(x_229); -lean_inc(x_228); -lean_inc(x_227); -lean_dec(x_171); -x_235 = lean_ctor_get(x_175, 1); -lean_inc(x_235); -x_236 = lean_ctor_get(x_175, 2); -lean_inc(x_236); -x_237 = lean_ctor_get(x_175, 3); -lean_inc(x_237); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - lean_ctor_release(x_175, 2); - lean_ctor_release(x_175, 3); - x_238 = x_175; -} else { - lean_dec_ref(x_175); - x_238 = lean_box(0); -} -x_239 = 1; -x_240 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_240, 0, x_227); -lean_ctor_set(x_240, 1, x_228); -lean_ctor_set(x_240, 2, x_229); -lean_ctor_set(x_240, 3, x_230); -lean_ctor_set(x_240, 4, x_231); -lean_ctor_set(x_240, 5, x_232); -lean_ctor_set(x_240, 6, x_233); -lean_ctor_set(x_240, 7, x_234); -lean_ctor_set_uint8(x_240, sizeof(void*)*8, x_239); -if (lean_is_scalar(x_238)) { - x_241 = lean_alloc_ctor(0, 4, 0); -} else { - x_241 = x_238; -} -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_235); -lean_ctor_set(x_241, 2, x_236); -lean_ctor_set(x_241, 3, x_237); -x_242 = lean_st_ref_set(x_10, x_241, x_213); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -lean_dec(x_242); -x_53 = x_169; -x_54 = x_243; -goto block_64; -} -} -} -block_258: -{ -if (x_245 == 0) -{ -uint8_t x_247; -x_247 = l_Lean_Expr_hasFVar(x_163); -if (x_247 == 0) -{ -uint8_t x_248; -x_248 = l_Lean_Expr_hasMVar(x_163); -if (x_248 == 0) -{ -uint8_t x_249; -lean_dec(x_163); -x_249 = 0; -x_169 = x_249; -x_170 = x_246; -goto block_244; -} -else -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; uint8_t x_253; -lean_inc(x_50); -lean_inc(x_3); -x_250 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__23(x_3, x_50, x_163, x_246); -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_unbox(x_251); -lean_dec(x_251); -x_169 = x_253; -x_170 = x_252; -goto block_244; -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; -lean_inc(x_50); -lean_inc(x_3); -x_254 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__31(x_3, x_50, x_163, x_246); -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -x_257 = lean_unbox(x_255); -lean_dec(x_255); -x_169 = x_257; -x_170 = x_256; -goto block_244; -} -} -else -{ -lean_dec(x_163); -x_169 = x_245; -x_170 = x_246; -goto block_244; +lean_dec(x_157); +x_163 = x_182; +x_164 = x_183; +goto block_181; } } } @@ -11841,7 +11079,7 @@ goto _start; } else { -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_object* x_54; lean_object* x_65; lean_object* x_274; +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_object* x_54; lean_object* x_65; lean_object* x_70; lean_object* x_211; x_48 = lean_ctor_get(x_16, 0); lean_inc(x_48); lean_dec(x_16); @@ -11858,107 +11096,107 @@ if (lean_is_exclusive(x_25)) { x_51 = lean_box(0); } x_52 = l_Lean_LocalDecl_fvarId(x_48); -x_274 = l_Std_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_1, x_52); -if (lean_obj_tag(x_274) == 0) +x_211 = l_Std_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_1, x_52); +if (lean_obj_tag(x_211) == 0) { -uint8_t x_275; -x_275 = l_Lean_LocalDecl_isAuxDecl(x_48); -if (x_275 == 0) +uint8_t x_212; +x_212 = l_Lean_LocalDecl_isAuxDecl(x_48); +if (x_212 == 0) { -uint8_t x_276; uint8_t x_277; -x_276 = l_Lean_LocalDecl_binderInfo(x_48); -x_277 = l_Lean_BinderInfo_isInstImplicit(x_276); -if (x_277 == 0) +uint8_t x_213; uint8_t x_214; +x_213 = l_Lean_LocalDecl_binderInfo(x_48); +x_214 = l_Lean_BinderInfo_isInstImplicit(x_213); +if (x_214 == 0) { if (x_2 == 0) { -lean_object* x_278; -x_278 = lean_box(0); -x_65 = x_278; -goto block_273; +lean_object* x_215; +x_215 = lean_box(0); +x_70 = x_215; +goto block_210; } else { -uint8_t x_279; -x_279 = l_Lean_LocalDecl_isLet(x_48); -if (x_279 == 0) +uint8_t x_216; +x_216 = l_Lean_LocalDecl_isLet(x_48); +if (x_216 == 0) { -lean_object* x_280; -x_280 = lean_box(0); -x_65 = x_280; -goto block_273; +lean_object* x_217; +x_217 = lean_box(0); +x_70 = x_217; +goto block_210; } else { -lean_object* x_281; lean_object* x_282; lean_object* x_283; +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_281 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_281, 0, x_49); -lean_ctor_set(x_281, 1, x_50); -x_282 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_282, 0, x_281); -x_283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_13); -x_27 = x_283; +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_49); +lean_ctor_set(x_218, 1, x_50); +x_219 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_219, 0, x_218); +x_220 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_13); +x_27 = x_220; goto block_43; } } } else { -lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_284 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_284, 0, x_49); -lean_ctor_set(x_284, 1, x_50); -x_285 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_285, 0, 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_13); -x_27 = x_286; +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_49); +lean_ctor_set(x_221, 1, x_50); +x_222 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_222, 0, x_221); +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_13); +x_27 = x_223; goto block_43; } } else { -lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_287 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_287, 0, x_49); -lean_ctor_set(x_287, 1, x_50); -x_288 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_288, 0, x_287); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_13); -x_27 = x_289; +x_224 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_224, 0, x_49); +lean_ctor_set(x_224, 1, x_50); +x_225 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_225, 0, x_224); +x_226 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_13); +x_27 = x_226; goto block_43; } } else { -lean_object* x_290; lean_object* x_291; lean_object* x_292; -lean_dec(x_274); +lean_object* x_227; lean_object* x_228; lean_object* x_229; +lean_dec(x_211); lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_49); -lean_ctor_set(x_290, 1, x_50); -x_291 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_291, 0, x_290); -x_292 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_13); -x_27 = x_292; +x_227 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_227, 0, x_49); +lean_ctor_set(x_227, 1, x_50); +x_228 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_228, 0, x_227); +x_229 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_13); +x_27 = x_229; goto block_43; } block_64: @@ -12005,769 +11243,515 @@ x_27 = x_63; goto block_43; } } -block_273: +block_69: { +lean_object* x_66; lean_object* x_67; uint8_t x_68; +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_53 = x_68; +x_54 = x_67; +goto block_64; +} +block_210: +{ +lean_dec(x_70); if (lean_obj_tag(x_48) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; -x_66 = lean_ctor_get(x_48, 3); -lean_inc(x_66); -lean_dec(x_48); -x_67 = lean_st_ref_get(x_12, x_13); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_st_ref_get(x_10, x_68); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); +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; uint8_t x_80; +x_71 = lean_ctor_get(x_48, 3); lean_inc(x_71); -lean_dec(x_69); -x_148 = lean_ctor_get(x_70, 0); -lean_inc(x_148); -lean_dec(x_70); -x_149 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_148); -x_151 = l_Lean_Expr_hasFVar(x_66); -if (x_151 == 0) -{ -uint8_t x_152; -x_152 = l_Lean_Expr_hasMVar(x_66); -if (x_152 == 0) -{ -uint8_t x_153; -lean_dec(x_66); -x_153 = 0; -x_72 = x_153; -x_73 = x_150; -goto block_147; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; -lean_inc(x_50); -x_154 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__1___at_Lean_Meta_getFVarSetToGeneralize___spec__9(x_50, x_66, x_150); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_154, 1); -lean_inc(x_156); -lean_dec(x_154); -x_157 = lean_unbox(x_155); -lean_dec(x_155); -x_72 = x_157; -x_73 = x_156; -goto block_147; -} -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -lean_inc(x_50); -x_158 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__12___at_Lean_Meta_getFVarSetToGeneralize___spec__20(x_50, x_66, x_150); -x_159 = lean_ctor_get(x_158, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec(x_158); -x_161 = lean_unbox(x_159); -lean_dec(x_159); -x_72 = x_161; -x_73 = x_160; -goto block_147; -} -block_147: -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_st_ref_get(x_12, x_71); -x_76 = lean_ctor_get(x_75, 1); +lean_dec(x_48); +x_72 = lean_st_ref_get(x_12, x_13); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = lean_st_ref_get(x_10, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); -lean_dec(x_75); -x_77 = lean_st_ref_take(x_10, x_76); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get_uint8(x_74, sizeof(void*)*8); -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; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_80 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); -lean_dec(x_77); -x_82 = lean_ctor_get(x_74, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_74, 1); -lean_inc(x_83); -x_84 = lean_ctor_get(x_74, 2); -lean_inc(x_84); -x_85 = lean_ctor_get(x_74, 3); -lean_inc(x_85); -x_86 = lean_ctor_get(x_74, 4); -lean_inc(x_86); -x_87 = lean_ctor_get(x_74, 5); -lean_inc(x_87); -x_88 = lean_ctor_get(x_74, 6); -lean_inc(x_88); -x_89 = lean_ctor_get(x_74, 7); -lean_inc(x_89); lean_dec(x_74); -x_90 = !lean_is_exclusive(x_78); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec(x_75); +x_78 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; +lean_inc(x_77); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l_Lean_Expr_hasFVar(x_71); +if (x_80 == 0) +{ +uint8_t x_81; +x_81 = l_Lean_Expr_hasMVar(x_71); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_dec(x_79); +lean_dec(x_71); +x_82 = lean_st_ref_get(x_12, x_76); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_st_ref_take(x_10, x_83); +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_is_exclusive(x_85); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_88 = lean_ctor_get(x_85, 0); +lean_dec(x_88); +lean_ctor_set(x_85, 0, x_77); +x_89 = lean_st_ref_set(x_10, x_85, x_86); +x_90 = !lean_is_exclusive(x_89); if (x_90 == 0) { -lean_object* x_91; uint8_t x_92; -x_91 = lean_ctor_get(x_78, 0); +lean_object* x_91; uint8_t x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_89, 0); lean_dec(x_91); -x_92 = !lean_is_exclusive(x_80); -if (x_92 == 0) -{ -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_93 = lean_ctor_get(x_80, 7); -lean_dec(x_93); -x_94 = lean_ctor_get(x_80, 6); -lean_dec(x_94); -x_95 = lean_ctor_get(x_80, 5); -lean_dec(x_95); -x_96 = lean_ctor_get(x_80, 4); -lean_dec(x_96); -x_97 = lean_ctor_get(x_80, 3); -lean_dec(x_97); -x_98 = lean_ctor_get(x_80, 2); -lean_dec(x_98); -x_99 = lean_ctor_get(x_80, 1); -lean_dec(x_99); -x_100 = lean_ctor_get(x_80, 0); -lean_dec(x_100); -lean_ctor_set(x_80, 7, x_89); -lean_ctor_set(x_80, 6, x_88); -lean_ctor_set(x_80, 5, x_87); -lean_ctor_set(x_80, 4, x_86); -lean_ctor_set(x_80, 3, x_85); -lean_ctor_set(x_80, 2, x_84); -lean_ctor_set(x_80, 1, x_83); -lean_ctor_set(x_80, 0, x_82); -x_101 = lean_st_ref_set(x_10, x_78, x_81); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_53 = x_72; -x_54 = x_102; -goto block_64; +x_92 = 0; +x_93 = lean_box(x_92); +lean_ctor_set(x_89, 0, x_93); +x_65 = x_89; +goto block_69; } else { -uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_103 = lean_ctor_get_uint8(x_80, sizeof(void*)*8); -lean_dec(x_80); -x_104 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_104, 0, x_82); -lean_ctor_set(x_104, 1, x_83); -lean_ctor_set(x_104, 2, x_84); -lean_ctor_set(x_104, 3, x_85); -lean_ctor_set(x_104, 4, x_86); -lean_ctor_set(x_104, 5, x_87); -lean_ctor_set(x_104, 6, x_88); -lean_ctor_set(x_104, 7, x_89); -lean_ctor_set_uint8(x_104, sizeof(void*)*8, x_103); -lean_ctor_set(x_78, 0, x_104); -x_105 = lean_st_ref_set(x_10, x_78, x_81); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -lean_dec(x_105); -x_53 = x_72; -x_54 = x_106; -goto block_64; +lean_object* x_94; uint8_t x_95; lean_object* x_96; lean_object* x_97; +x_94 = lean_ctor_get(x_89, 1); +lean_inc(x_94); +lean_dec(x_89); +x_95 = 0; +x_96 = lean_box(x_95); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_94); +x_65 = x_97; +goto block_69; } } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_107 = lean_ctor_get(x_78, 1); -x_108 = lean_ctor_get(x_78, 2); -x_109 = lean_ctor_get(x_78, 3); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_78); -x_110 = lean_ctor_get_uint8(x_80, sizeof(void*)*8); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - lean_ctor_release(x_80, 2); - lean_ctor_release(x_80, 3); - lean_ctor_release(x_80, 4); - lean_ctor_release(x_80, 5); - lean_ctor_release(x_80, 6); - lean_ctor_release(x_80, 7); - x_111 = x_80; +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; uint8_t x_105; lean_object* x_106; lean_object* x_107; +x_98 = lean_ctor_get(x_85, 1); +x_99 = lean_ctor_get(x_85, 2); +x_100 = lean_ctor_get(x_85, 3); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_85); +x_101 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_101, 0, x_77); +lean_ctor_set(x_101, 1, x_98); +lean_ctor_set(x_101, 2, x_99); +lean_ctor_set(x_101, 3, x_100); +x_102 = lean_st_ref_set(x_10, x_101, x_86); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_104 = x_102; } else { - lean_dec_ref(x_80); - x_111 = lean_box(0); + lean_dec_ref(x_102); + x_104 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(0, 8, 1); +x_105 = 0; +x_106 = lean_box(x_105); +if (lean_is_scalar(x_104)) { + x_107 = lean_alloc_ctor(0, 2, 0); } else { - x_112 = x_111; + x_107 = x_104; } -lean_ctor_set(x_112, 0, x_82); -lean_ctor_set(x_112, 1, x_83); -lean_ctor_set(x_112, 2, x_84); -lean_ctor_set(x_112, 3, x_85); -lean_ctor_set(x_112, 4, x_86); -lean_ctor_set(x_112, 5, x_87); -lean_ctor_set(x_112, 6, x_88); -lean_ctor_set(x_112, 7, x_89); -lean_ctor_set_uint8(x_112, sizeof(void*)*8, x_110); -x_113 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_107); -lean_ctor_set(x_113, 2, x_108); -lean_ctor_set(x_113, 3, x_109); -x_114 = lean_st_ref_set(x_10, x_113, x_81); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_53 = x_72; -x_54 = x_115; -goto block_64; +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_103); +x_65 = x_107; +goto block_69; } } else { -lean_object* x_116; uint8_t x_117; -x_116 = lean_ctor_get(x_77, 1); -lean_inc(x_116); +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; uint8_t x_117; lean_dec(x_77); -x_117 = !lean_is_exclusive(x_74); +lean_inc(x_50); +x_108 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__1___at_Lean_Meta_getFVarSetToGeneralize___spec__9(x_50, x_71, x_79); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +lean_dec(x_108); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = lean_st_ref_get(x_12, x_76); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_114 = lean_st_ref_take(x_10, x_113); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = !lean_is_exclusive(x_115); if (x_117 == 0) { -uint8_t x_118; -x_118 = !lean_is_exclusive(x_78); -if (x_118 == 0) +lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_118 = lean_ctor_get(x_115, 0); +lean_dec(x_118); +lean_ctor_set(x_115, 0, x_111); +x_119 = lean_st_ref_set(x_10, x_115, x_116); +x_120 = !lean_is_exclusive(x_119); +if (x_120 == 0) { -lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; -x_119 = lean_ctor_get(x_78, 0); -lean_dec(x_119); -x_120 = 1; -lean_ctor_set_uint8(x_74, sizeof(void*)*8, x_120); -lean_ctor_set(x_78, 0, x_74); -x_121 = lean_st_ref_set(x_10, x_78, x_116); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); +lean_object* x_121; +x_121 = lean_ctor_get(x_119, 0); lean_dec(x_121); -x_53 = x_72; -x_54 = x_122; -goto block_64; +lean_ctor_set(x_119, 0, x_110); +x_65 = x_119; +goto block_69; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_123 = lean_ctor_get(x_78, 1); -x_124 = lean_ctor_get(x_78, 2); -x_125 = lean_ctor_get(x_78, 3); +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_119, 1); +lean_inc(x_122); +lean_dec(x_119); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_110); +lean_ctor_set(x_123, 1, x_122); +x_65 = x_123; +goto block_69; +} +} +else +{ +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; +x_124 = lean_ctor_get(x_115, 1); +x_125 = lean_ctor_get(x_115, 2); +x_126 = lean_ctor_get(x_115, 3); +lean_inc(x_126); lean_inc(x_125); lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_78); -x_126 = 1; -lean_ctor_set_uint8(x_74, sizeof(void*)*8, x_126); +lean_dec(x_115); x_127 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_127, 0, x_74); -lean_ctor_set(x_127, 1, x_123); -lean_ctor_set(x_127, 2, x_124); -lean_ctor_set(x_127, 3, x_125); +lean_ctor_set(x_127, 0, x_111); +lean_ctor_set(x_127, 1, x_124); +lean_ctor_set(x_127, 2, x_125); +lean_ctor_set(x_127, 3, x_126); x_128 = lean_st_ref_set(x_10, x_127, x_116); x_129 = lean_ctor_get(x_128, 1); lean_inc(x_129); -lean_dec(x_128); -x_53 = x_72; -x_54 = x_129; -goto block_64; +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_130 = x_128; +} else { + lean_dec_ref(x_128); + x_130 = lean_box(0); +} +if (lean_is_scalar(x_130)) { + x_131 = lean_alloc_ctor(0, 2, 0); +} else { + x_131 = x_130; +} +lean_ctor_set(x_131, 0, x_110); +lean_ctor_set(x_131, 1, x_129); +x_65 = x_131; +goto block_69; +} } } else { -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; uint8_t x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_130 = lean_ctor_get(x_74, 0); -x_131 = lean_ctor_get(x_74, 1); -x_132 = lean_ctor_get(x_74, 2); -x_133 = lean_ctor_get(x_74, 3); -x_134 = lean_ctor_get(x_74, 4); -x_135 = lean_ctor_get(x_74, 5); -x_136 = lean_ctor_get(x_74, 6); -x_137 = lean_ctor_get(x_74, 7); -lean_inc(x_137); -lean_inc(x_136); -lean_inc(x_135); -lean_inc(x_134); +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; uint8_t x_141; +lean_dec(x_77); +lean_inc(x_50); +x_132 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__12___at_Lean_Meta_getFVarSetToGeneralize___spec__20(x_50, x_71, x_79); +x_133 = lean_ctor_get(x_132, 1); lean_inc(x_133); -lean_inc(x_132); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_74); -x_138 = lean_ctor_get(x_78, 1); -lean_inc(x_138); -x_139 = lean_ctor_get(x_78, 2); +x_134 = lean_ctor_get(x_132, 0); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = lean_st_ref_get(x_12, x_76); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); +lean_dec(x_136); +x_138 = lean_st_ref_take(x_10, x_137); +x_139 = lean_ctor_get(x_138, 0); lean_inc(x_139); -x_140 = lean_ctor_get(x_78, 3); +x_140 = lean_ctor_get(x_138, 1); lean_inc(x_140); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - lean_ctor_release(x_78, 2); - lean_ctor_release(x_78, 3); - x_141 = x_78; -} else { - lean_dec_ref(x_78); - x_141 = lean_box(0); -} -x_142 = 1; -x_143 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_143, 0, x_130); -lean_ctor_set(x_143, 1, x_131); -lean_ctor_set(x_143, 2, x_132); -lean_ctor_set(x_143, 3, x_133); -lean_ctor_set(x_143, 4, x_134); -lean_ctor_set(x_143, 5, x_135); -lean_ctor_set(x_143, 6, x_136); -lean_ctor_set(x_143, 7, x_137); -lean_ctor_set_uint8(x_143, sizeof(void*)*8, x_142); -if (lean_is_scalar(x_141)) { - x_144 = lean_alloc_ctor(0, 4, 0); -} else { - x_144 = x_141; -} -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_138); -lean_ctor_set(x_144, 2, x_139); -lean_ctor_set(x_144, 3, x_140); -x_145 = lean_st_ref_set(x_10, x_144, x_116); -x_146 = lean_ctor_get(x_145, 1); -lean_inc(x_146); +lean_dec(x_138); +x_141 = !lean_is_exclusive(x_139); +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_142 = lean_ctor_get(x_139, 0); +lean_dec(x_142); +lean_ctor_set(x_139, 0, x_135); +x_143 = lean_st_ref_set(x_10, x_139, x_140); +x_144 = !lean_is_exclusive(x_143); +if (x_144 == 0) +{ +lean_object* x_145; +x_145 = lean_ctor_get(x_143, 0); lean_dec(x_145); -x_53 = x_72; -x_54 = x_146; -goto block_64; +lean_ctor_set(x_143, 0, x_134); +x_65 = x_143; +goto block_69; } +else +{ +lean_object* x_146; lean_object* x_147; +x_146 = lean_ctor_get(x_143, 1); +lean_inc(x_146); +lean_dec(x_143); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_134); +lean_ctor_set(x_147, 1, x_146); +x_65 = x_147; +goto block_69; +} +} +else +{ +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; +x_148 = lean_ctor_get(x_139, 1); +x_149 = lean_ctor_get(x_139, 2); +x_150 = lean_ctor_get(x_139, 3); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_139); +x_151 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_151, 0, x_135); +lean_ctor_set(x_151, 1, x_148); +lean_ctor_set(x_151, 2, x_149); +lean_ctor_set(x_151, 3, x_150); +x_152 = lean_st_ref_set(x_10, x_151, x_140); +x_153 = lean_ctor_get(x_152, 1); +lean_inc(x_153); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_154 = x_152; +} else { + lean_dec_ref(x_152); + x_154 = lean_box(0); +} +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(0, 2, 0); +} else { + x_155 = x_154; +} +lean_ctor_set(x_155, 0, x_134); +lean_ctor_set(x_155, 1, x_153); +x_65 = x_155; +goto block_69; } } } 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; uint8_t x_169; lean_object* x_170; uint8_t x_245; lean_object* x_246; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; -x_162 = lean_ctor_get(x_48, 3); -lean_inc(x_162); -x_163 = lean_ctor_get(x_48, 4); -lean_inc(x_163); +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; uint8_t x_163; lean_object* x_164; uint8_t x_182; lean_object* x_183; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; +x_156 = lean_ctor_get(x_48, 3); +lean_inc(x_156); +x_157 = lean_ctor_get(x_48, 4); +lean_inc(x_157); lean_dec(x_48); -x_164 = lean_st_ref_get(x_12, x_13); +x_158 = lean_st_ref_get(x_12, x_13); +x_159 = lean_ctor_get(x_158, 1); +lean_inc(x_159); +lean_dec(x_158); +x_160 = lean_st_ref_get(x_10, x_159); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_196 = lean_ctor_get(x_161, 0); +lean_inc(x_196); +lean_dec(x_161); +x_197 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; +x_198 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_196); +x_199 = l_Lean_Expr_hasFVar(x_156); +if (x_199 == 0) +{ +uint8_t x_200; +x_200 = l_Lean_Expr_hasMVar(x_156); +if (x_200 == 0) +{ +uint8_t x_201; +lean_dec(x_156); +x_201 = 0; +x_182 = x_201; +x_183 = x_198; +goto block_195; +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +lean_inc(x_50); +x_202 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__39___at_Lean_Meta_getFVarSetToGeneralize___spec__47(x_50, x_156, x_198); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +lean_dec(x_202); +x_205 = lean_unbox(x_203); +lean_dec(x_203); +x_182 = x_205; +x_183 = x_204; +goto block_195; +} +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; +lean_inc(x_50); +x_206 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__50___at_Lean_Meta_getFVarSetToGeneralize___spec__58(x_50, x_156, x_198); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_206, 1); +lean_inc(x_208); +lean_dec(x_206); +x_209 = lean_unbox(x_207); +lean_dec(x_207); +x_182 = x_209; +x_183 = x_208; +goto block_195; +} +block_181: +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; x_165 = lean_ctor_get(x_164, 1); lean_inc(x_165); lean_dec(x_164); -x_166 = lean_st_ref_get(x_10, x_165); -x_167 = lean_ctor_get(x_166, 0); +x_166 = lean_st_ref_get(x_12, x_162); +x_167 = lean_ctor_get(x_166, 1); lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); lean_dec(x_166); -x_259 = lean_ctor_get(x_167, 0); -lean_inc(x_259); -lean_dec(x_167); -x_260 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; -x_261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_259); -x_262 = l_Lean_Expr_hasFVar(x_162); -if (x_262 == 0) +x_168 = lean_st_ref_take(x_10, x_167); +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +x_171 = !lean_is_exclusive(x_169); +if (x_171 == 0) { -uint8_t x_263; -x_263 = l_Lean_Expr_hasMVar(x_162); -if (x_263 == 0) -{ -uint8_t x_264; -lean_dec(x_162); -x_264 = 0; -x_245 = x_264; -x_246 = x_261; -goto block_258; -} -else -{ -lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; -lean_inc(x_50); -x_265 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__39___at_Lean_Meta_getFVarSetToGeneralize___spec__47(x_50, x_162, x_261); -x_266 = lean_ctor_get(x_265, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_265, 1); -lean_inc(x_267); -lean_dec(x_265); -x_268 = lean_unbox(x_266); -lean_dec(x_266); -x_245 = x_268; -x_246 = x_267; -goto block_258; -} -} -else -{ -lean_object* x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; -lean_inc(x_50); -x_269 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__50___at_Lean_Meta_getFVarSetToGeneralize___spec__58(x_50, x_162, x_261); -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_269, 1); -lean_inc(x_271); -lean_dec(x_269); -x_272 = lean_unbox(x_270); -lean_dec(x_270); -x_245 = x_272; -x_246 = x_271; -goto block_258; -} -block_244: -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; -x_171 = lean_ctor_get(x_170, 1); -lean_inc(x_171); -lean_dec(x_170); -x_172 = lean_st_ref_get(x_12, x_168); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_169, 0); lean_dec(x_172); -x_174 = lean_st_ref_take(x_10, x_173); -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get_uint8(x_171, sizeof(void*)*8); -if (x_176 == 0) +lean_ctor_set(x_169, 0, x_165); +x_173 = lean_st_ref_set(x_10, x_169, x_170); +x_174 = lean_ctor_get(x_173, 1); +lean_inc(x_174); +lean_dec(x_173); +x_53 = x_163; +x_54 = x_174; +goto block_64; +} +else { -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; uint8_t x_187; -x_177 = lean_ctor_get(x_175, 0); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_175 = lean_ctor_get(x_169, 1); +x_176 = lean_ctor_get(x_169, 2); +x_177 = lean_ctor_get(x_169, 3); lean_inc(x_177); -x_178 = lean_ctor_get(x_174, 1); -lean_inc(x_178); -lean_dec(x_174); -x_179 = lean_ctor_get(x_171, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_169); +x_178 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_178, 0, x_165); +lean_ctor_set(x_178, 1, x_175); +lean_ctor_set(x_178, 2, x_176); +lean_ctor_set(x_178, 3, x_177); +x_179 = lean_st_ref_set(x_10, x_178, x_170); +x_180 = lean_ctor_get(x_179, 1); lean_inc(x_180); -x_181 = lean_ctor_get(x_171, 2); -lean_inc(x_181); -x_182 = lean_ctor_get(x_171, 3); -lean_inc(x_182); -x_183 = lean_ctor_get(x_171, 4); -lean_inc(x_183); -x_184 = lean_ctor_get(x_171, 5); -lean_inc(x_184); -x_185 = lean_ctor_get(x_171, 6); -lean_inc(x_185); -x_186 = lean_ctor_get(x_171, 7); -lean_inc(x_186); -lean_dec(x_171); -x_187 = !lean_is_exclusive(x_175); -if (x_187 == 0) +lean_dec(x_179); +x_53 = x_163; +x_54 = x_180; +goto block_64; +} +} +block_195: { -lean_object* x_188; uint8_t x_189; -x_188 = lean_ctor_get(x_175, 0); +if (x_182 == 0) +{ +uint8_t x_184; +x_184 = l_Lean_Expr_hasFVar(x_157); +if (x_184 == 0) +{ +uint8_t x_185; +x_185 = l_Lean_Expr_hasMVar(x_157); +if (x_185 == 0) +{ +uint8_t x_186; +lean_dec(x_157); +x_186 = 0; +x_163 = x_186; +x_164 = x_183; +goto block_181; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; +lean_inc(x_50); +lean_inc(x_3); +x_187 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__23(x_3, x_50, x_157, x_183); +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +lean_dec(x_187); +x_190 = lean_unbox(x_188); lean_dec(x_188); -x_189 = !lean_is_exclusive(x_177); -if (x_189 == 0) +x_163 = x_190; +x_164 = x_189; +goto block_181; +} +} +else { -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; -x_190 = lean_ctor_get(x_177, 7); -lean_dec(x_190); -x_191 = lean_ctor_get(x_177, 6); +lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; +lean_inc(x_50); +lean_inc(x_3); +x_191 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__31(x_3, x_50, x_157, x_183); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_191, 1); +lean_inc(x_193); lean_dec(x_191); -x_192 = lean_ctor_get(x_177, 5); +x_194 = lean_unbox(x_192); lean_dec(x_192); -x_193 = lean_ctor_get(x_177, 4); -lean_dec(x_193); -x_194 = lean_ctor_get(x_177, 3); -lean_dec(x_194); -x_195 = lean_ctor_get(x_177, 2); -lean_dec(x_195); -x_196 = lean_ctor_get(x_177, 1); -lean_dec(x_196); -x_197 = lean_ctor_get(x_177, 0); -lean_dec(x_197); -lean_ctor_set(x_177, 7, x_186); -lean_ctor_set(x_177, 6, x_185); -lean_ctor_set(x_177, 5, x_184); -lean_ctor_set(x_177, 4, x_183); -lean_ctor_set(x_177, 3, x_182); -lean_ctor_set(x_177, 2, x_181); -lean_ctor_set(x_177, 1, x_180); -lean_ctor_set(x_177, 0, x_179); -x_198 = lean_st_ref_set(x_10, x_175, x_178); -x_199 = lean_ctor_get(x_198, 1); -lean_inc(x_199); -lean_dec(x_198); -x_53 = x_169; -x_54 = x_199; -goto block_64; -} -else -{ -uint8_t x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -x_200 = lean_ctor_get_uint8(x_177, sizeof(void*)*8); -lean_dec(x_177); -x_201 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_201, 0, x_179); -lean_ctor_set(x_201, 1, x_180); -lean_ctor_set(x_201, 2, x_181); -lean_ctor_set(x_201, 3, x_182); -lean_ctor_set(x_201, 4, x_183); -lean_ctor_set(x_201, 5, x_184); -lean_ctor_set(x_201, 6, x_185); -lean_ctor_set(x_201, 7, x_186); -lean_ctor_set_uint8(x_201, sizeof(void*)*8, x_200); -lean_ctor_set(x_175, 0, x_201); -x_202 = lean_st_ref_set(x_10, x_175, x_178); -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -lean_dec(x_202); -x_53 = x_169; -x_54 = x_203; -goto block_64; +x_163 = x_194; +x_164 = x_193; +goto block_181; } } else { -lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_204 = lean_ctor_get(x_175, 1); -x_205 = lean_ctor_get(x_175, 2); -x_206 = lean_ctor_get(x_175, 3); -lean_inc(x_206); -lean_inc(x_205); -lean_inc(x_204); -lean_dec(x_175); -x_207 = lean_ctor_get_uint8(x_177, sizeof(void*)*8); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - lean_ctor_release(x_177, 2); - lean_ctor_release(x_177, 3); - lean_ctor_release(x_177, 4); - lean_ctor_release(x_177, 5); - lean_ctor_release(x_177, 6); - lean_ctor_release(x_177, 7); - x_208 = x_177; -} else { - lean_dec_ref(x_177); - x_208 = lean_box(0); -} -if (lean_is_scalar(x_208)) { - x_209 = lean_alloc_ctor(0, 8, 1); -} else { - x_209 = x_208; -} -lean_ctor_set(x_209, 0, x_179); -lean_ctor_set(x_209, 1, x_180); -lean_ctor_set(x_209, 2, x_181); -lean_ctor_set(x_209, 3, x_182); -lean_ctor_set(x_209, 4, x_183); -lean_ctor_set(x_209, 5, x_184); -lean_ctor_set(x_209, 6, x_185); -lean_ctor_set(x_209, 7, x_186); -lean_ctor_set_uint8(x_209, sizeof(void*)*8, x_207); -x_210 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_204); -lean_ctor_set(x_210, 2, x_205); -lean_ctor_set(x_210, 3, x_206); -x_211 = lean_st_ref_set(x_10, x_210, x_178); -x_212 = lean_ctor_get(x_211, 1); -lean_inc(x_212); -lean_dec(x_211); -x_53 = x_169; -x_54 = x_212; -goto block_64; -} -} -else -{ -lean_object* x_213; uint8_t x_214; -x_213 = lean_ctor_get(x_174, 1); -lean_inc(x_213); -lean_dec(x_174); -x_214 = !lean_is_exclusive(x_171); -if (x_214 == 0) -{ -uint8_t x_215; -x_215 = !lean_is_exclusive(x_175); -if (x_215 == 0) -{ -lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; -x_216 = lean_ctor_get(x_175, 0); -lean_dec(x_216); -x_217 = 1; -lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_217); -lean_ctor_set(x_175, 0, x_171); -x_218 = lean_st_ref_set(x_10, x_175, x_213); -x_219 = lean_ctor_get(x_218, 1); -lean_inc(x_219); -lean_dec(x_218); -x_53 = x_169; -x_54 = x_219; -goto block_64; -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_220 = lean_ctor_get(x_175, 1); -x_221 = lean_ctor_get(x_175, 2); -x_222 = lean_ctor_get(x_175, 3); -lean_inc(x_222); -lean_inc(x_221); -lean_inc(x_220); -lean_dec(x_175); -x_223 = 1; -lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_223); -x_224 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_224, 0, x_171); -lean_ctor_set(x_224, 1, x_220); -lean_ctor_set(x_224, 2, x_221); -lean_ctor_set(x_224, 3, x_222); -x_225 = lean_st_ref_set(x_10, x_224, x_213); -x_226 = lean_ctor_get(x_225, 1); -lean_inc(x_226); -lean_dec(x_225); -x_53 = x_169; -x_54 = x_226; -goto block_64; -} -} -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; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_227 = lean_ctor_get(x_171, 0); -x_228 = lean_ctor_get(x_171, 1); -x_229 = lean_ctor_get(x_171, 2); -x_230 = lean_ctor_get(x_171, 3); -x_231 = lean_ctor_get(x_171, 4); -x_232 = lean_ctor_get(x_171, 5); -x_233 = lean_ctor_get(x_171, 6); -x_234 = lean_ctor_get(x_171, 7); -lean_inc(x_234); -lean_inc(x_233); -lean_inc(x_232); -lean_inc(x_231); -lean_inc(x_230); -lean_inc(x_229); -lean_inc(x_228); -lean_inc(x_227); -lean_dec(x_171); -x_235 = lean_ctor_get(x_175, 1); -lean_inc(x_235); -x_236 = lean_ctor_get(x_175, 2); -lean_inc(x_236); -x_237 = lean_ctor_get(x_175, 3); -lean_inc(x_237); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - lean_ctor_release(x_175, 2); - lean_ctor_release(x_175, 3); - x_238 = x_175; -} else { - lean_dec_ref(x_175); - x_238 = lean_box(0); -} -x_239 = 1; -x_240 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_240, 0, x_227); -lean_ctor_set(x_240, 1, x_228); -lean_ctor_set(x_240, 2, x_229); -lean_ctor_set(x_240, 3, x_230); -lean_ctor_set(x_240, 4, x_231); -lean_ctor_set(x_240, 5, x_232); -lean_ctor_set(x_240, 6, x_233); -lean_ctor_set(x_240, 7, x_234); -lean_ctor_set_uint8(x_240, sizeof(void*)*8, x_239); -if (lean_is_scalar(x_238)) { - x_241 = lean_alloc_ctor(0, 4, 0); -} else { - x_241 = x_238; -} -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_235); -lean_ctor_set(x_241, 2, x_236); -lean_ctor_set(x_241, 3, x_237); -x_242 = lean_st_ref_set(x_10, x_241, x_213); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -lean_dec(x_242); -x_53 = x_169; -x_54 = x_243; -goto block_64; -} -} -} -block_258: -{ -if (x_245 == 0) -{ -uint8_t x_247; -x_247 = l_Lean_Expr_hasFVar(x_163); -if (x_247 == 0) -{ -uint8_t x_248; -x_248 = l_Lean_Expr_hasMVar(x_163); -if (x_248 == 0) -{ -uint8_t x_249; -lean_dec(x_163); -x_249 = 0; -x_169 = x_249; -x_170 = x_246; -goto block_244; -} -else -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; uint8_t x_253; -lean_inc(x_50); -lean_inc(x_3); -x_250 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__23(x_3, x_50, x_163, x_246); -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_unbox(x_251); -lean_dec(x_251); -x_169 = x_253; -x_170 = x_252; -goto block_244; -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; -lean_inc(x_50); -lean_inc(x_3); -x_254 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__31(x_3, x_50, x_163, x_246); -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -x_257 = lean_unbox(x_255); -lean_dec(x_255); -x_169 = x_257; -x_170 = x_256; -goto block_244; -} -} -else -{ -lean_dec(x_163); -x_169 = x_245; -x_170 = x_246; -goto block_244; +lean_dec(x_157); +x_163 = x_182; +x_164 = x_183; +goto block_181; } } } @@ -13253,7 +12237,7 @@ goto _start; } else { -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_object* x_54; lean_object* x_65; lean_object* x_274; +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_object* x_54; lean_object* x_65; lean_object* x_70; lean_object* x_211; x_48 = lean_ctor_get(x_16, 0); lean_inc(x_48); lean_dec(x_16); @@ -13270,107 +12254,107 @@ if (lean_is_exclusive(x_25)) { x_51 = lean_box(0); } x_52 = l_Lean_LocalDecl_fvarId(x_48); -x_274 = l_Std_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_1, x_52); -if (lean_obj_tag(x_274) == 0) +x_211 = l_Std_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_1, x_52); +if (lean_obj_tag(x_211) == 0) { -uint8_t x_275; -x_275 = l_Lean_LocalDecl_isAuxDecl(x_48); -if (x_275 == 0) +uint8_t x_212; +x_212 = l_Lean_LocalDecl_isAuxDecl(x_48); +if (x_212 == 0) { -uint8_t x_276; uint8_t x_277; -x_276 = l_Lean_LocalDecl_binderInfo(x_48); -x_277 = l_Lean_BinderInfo_isInstImplicit(x_276); -if (x_277 == 0) +uint8_t x_213; uint8_t x_214; +x_213 = l_Lean_LocalDecl_binderInfo(x_48); +x_214 = l_Lean_BinderInfo_isInstImplicit(x_213); +if (x_214 == 0) { if (x_2 == 0) { -lean_object* x_278; -x_278 = lean_box(0); -x_65 = x_278; -goto block_273; +lean_object* x_215; +x_215 = lean_box(0); +x_70 = x_215; +goto block_210; } else { -uint8_t x_279; -x_279 = l_Lean_LocalDecl_isLet(x_48); -if (x_279 == 0) +uint8_t x_216; +x_216 = l_Lean_LocalDecl_isLet(x_48); +if (x_216 == 0) { -lean_object* x_280; -x_280 = lean_box(0); -x_65 = x_280; -goto block_273; +lean_object* x_217; +x_217 = lean_box(0); +x_70 = x_217; +goto block_210; } else { -lean_object* x_281; lean_object* x_282; lean_object* x_283; +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_281 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_281, 0, x_49); -lean_ctor_set(x_281, 1, x_50); -x_282 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_282, 0, x_281); -x_283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_13); -x_27 = x_283; +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_49); +lean_ctor_set(x_218, 1, x_50); +x_219 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_219, 0, x_218); +x_220 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_13); +x_27 = x_220; goto block_43; } } } else { -lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_284 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_284, 0, x_49); -lean_ctor_set(x_284, 1, x_50); -x_285 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_285, 0, 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_13); -x_27 = x_286; +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_49); +lean_ctor_set(x_221, 1, x_50); +x_222 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_222, 0, x_221); +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_13); +x_27 = x_223; goto block_43; } } else { -lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_287 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_287, 0, x_49); -lean_ctor_set(x_287, 1, x_50); -x_288 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_288, 0, x_287); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_13); -x_27 = x_289; +x_224 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_224, 0, x_49); +lean_ctor_set(x_224, 1, x_50); +x_225 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_225, 0, x_224); +x_226 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_13); +x_27 = x_226; goto block_43; } } else { -lean_object* x_290; lean_object* x_291; lean_object* x_292; -lean_dec(x_274); +lean_object* x_227; lean_object* x_228; lean_object* x_229; +lean_dec(x_211); lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_49); -lean_ctor_set(x_290, 1, x_50); -x_291 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_291, 0, x_290); -x_292 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_13); -x_27 = x_292; +x_227 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_227, 0, x_49); +lean_ctor_set(x_227, 1, x_50); +x_228 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_228, 0, x_227); +x_229 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_13); +x_27 = x_229; goto block_43; } block_64: @@ -13417,769 +12401,515 @@ x_27 = x_63; goto block_43; } } -block_273: +block_69: { +lean_object* x_66; lean_object* x_67; uint8_t x_68; +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_53 = x_68; +x_54 = x_67; +goto block_64; +} +block_210: +{ +lean_dec(x_70); if (lean_obj_tag(x_48) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; -x_66 = lean_ctor_get(x_48, 3); -lean_inc(x_66); -lean_dec(x_48); -x_67 = lean_st_ref_get(x_12, x_13); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_st_ref_get(x_10, x_68); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); +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; uint8_t x_80; +x_71 = lean_ctor_get(x_48, 3); lean_inc(x_71); -lean_dec(x_69); -x_148 = lean_ctor_get(x_70, 0); -lean_inc(x_148); -lean_dec(x_70); -x_149 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_148); -x_151 = l_Lean_Expr_hasFVar(x_66); -if (x_151 == 0) -{ -uint8_t x_152; -x_152 = l_Lean_Expr_hasMVar(x_66); -if (x_152 == 0) -{ -uint8_t x_153; -lean_dec(x_66); -x_153 = 0; -x_72 = x_153; -x_73 = x_150; -goto block_147; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; -lean_inc(x_50); -x_154 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__1___at_Lean_Meta_getFVarSetToGeneralize___spec__9(x_50, x_66, x_150); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_154, 1); -lean_inc(x_156); -lean_dec(x_154); -x_157 = lean_unbox(x_155); -lean_dec(x_155); -x_72 = x_157; -x_73 = x_156; -goto block_147; -} -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -lean_inc(x_50); -x_158 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__12___at_Lean_Meta_getFVarSetToGeneralize___spec__20(x_50, x_66, x_150); -x_159 = lean_ctor_get(x_158, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec(x_158); -x_161 = lean_unbox(x_159); -lean_dec(x_159); -x_72 = x_161; -x_73 = x_160; -goto block_147; -} -block_147: -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_st_ref_get(x_12, x_71); -x_76 = lean_ctor_get(x_75, 1); +lean_dec(x_48); +x_72 = lean_st_ref_get(x_12, x_13); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = lean_st_ref_get(x_10, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); -lean_dec(x_75); -x_77 = lean_st_ref_take(x_10, x_76); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get_uint8(x_74, sizeof(void*)*8); -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; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_80 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); -lean_dec(x_77); -x_82 = lean_ctor_get(x_74, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_74, 1); -lean_inc(x_83); -x_84 = lean_ctor_get(x_74, 2); -lean_inc(x_84); -x_85 = lean_ctor_get(x_74, 3); -lean_inc(x_85); -x_86 = lean_ctor_get(x_74, 4); -lean_inc(x_86); -x_87 = lean_ctor_get(x_74, 5); -lean_inc(x_87); -x_88 = lean_ctor_get(x_74, 6); -lean_inc(x_88); -x_89 = lean_ctor_get(x_74, 7); -lean_inc(x_89); lean_dec(x_74); -x_90 = !lean_is_exclusive(x_78); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec(x_75); +x_78 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; +lean_inc(x_77); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l_Lean_Expr_hasFVar(x_71); +if (x_80 == 0) +{ +uint8_t x_81; +x_81 = l_Lean_Expr_hasMVar(x_71); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_dec(x_79); +lean_dec(x_71); +x_82 = lean_st_ref_get(x_12, x_76); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_st_ref_take(x_10, x_83); +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_is_exclusive(x_85); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_88 = lean_ctor_get(x_85, 0); +lean_dec(x_88); +lean_ctor_set(x_85, 0, x_77); +x_89 = lean_st_ref_set(x_10, x_85, x_86); +x_90 = !lean_is_exclusive(x_89); if (x_90 == 0) { -lean_object* x_91; uint8_t x_92; -x_91 = lean_ctor_get(x_78, 0); +lean_object* x_91; uint8_t x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_89, 0); lean_dec(x_91); -x_92 = !lean_is_exclusive(x_80); -if (x_92 == 0) -{ -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_93 = lean_ctor_get(x_80, 7); -lean_dec(x_93); -x_94 = lean_ctor_get(x_80, 6); -lean_dec(x_94); -x_95 = lean_ctor_get(x_80, 5); -lean_dec(x_95); -x_96 = lean_ctor_get(x_80, 4); -lean_dec(x_96); -x_97 = lean_ctor_get(x_80, 3); -lean_dec(x_97); -x_98 = lean_ctor_get(x_80, 2); -lean_dec(x_98); -x_99 = lean_ctor_get(x_80, 1); -lean_dec(x_99); -x_100 = lean_ctor_get(x_80, 0); -lean_dec(x_100); -lean_ctor_set(x_80, 7, x_89); -lean_ctor_set(x_80, 6, x_88); -lean_ctor_set(x_80, 5, x_87); -lean_ctor_set(x_80, 4, x_86); -lean_ctor_set(x_80, 3, x_85); -lean_ctor_set(x_80, 2, x_84); -lean_ctor_set(x_80, 1, x_83); -lean_ctor_set(x_80, 0, x_82); -x_101 = lean_st_ref_set(x_10, x_78, x_81); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_53 = x_72; -x_54 = x_102; -goto block_64; +x_92 = 0; +x_93 = lean_box(x_92); +lean_ctor_set(x_89, 0, x_93); +x_65 = x_89; +goto block_69; } else { -uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_103 = lean_ctor_get_uint8(x_80, sizeof(void*)*8); -lean_dec(x_80); -x_104 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_104, 0, x_82); -lean_ctor_set(x_104, 1, x_83); -lean_ctor_set(x_104, 2, x_84); -lean_ctor_set(x_104, 3, x_85); -lean_ctor_set(x_104, 4, x_86); -lean_ctor_set(x_104, 5, x_87); -lean_ctor_set(x_104, 6, x_88); -lean_ctor_set(x_104, 7, x_89); -lean_ctor_set_uint8(x_104, sizeof(void*)*8, x_103); -lean_ctor_set(x_78, 0, x_104); -x_105 = lean_st_ref_set(x_10, x_78, x_81); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -lean_dec(x_105); -x_53 = x_72; -x_54 = x_106; -goto block_64; +lean_object* x_94; uint8_t x_95; lean_object* x_96; lean_object* x_97; +x_94 = lean_ctor_get(x_89, 1); +lean_inc(x_94); +lean_dec(x_89); +x_95 = 0; +x_96 = lean_box(x_95); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_94); +x_65 = x_97; +goto block_69; } } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_107 = lean_ctor_get(x_78, 1); -x_108 = lean_ctor_get(x_78, 2); -x_109 = lean_ctor_get(x_78, 3); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_78); -x_110 = lean_ctor_get_uint8(x_80, sizeof(void*)*8); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - lean_ctor_release(x_80, 2); - lean_ctor_release(x_80, 3); - lean_ctor_release(x_80, 4); - lean_ctor_release(x_80, 5); - lean_ctor_release(x_80, 6); - lean_ctor_release(x_80, 7); - x_111 = x_80; +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; uint8_t x_105; lean_object* x_106; lean_object* x_107; +x_98 = lean_ctor_get(x_85, 1); +x_99 = lean_ctor_get(x_85, 2); +x_100 = lean_ctor_get(x_85, 3); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_85); +x_101 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_101, 0, x_77); +lean_ctor_set(x_101, 1, x_98); +lean_ctor_set(x_101, 2, x_99); +lean_ctor_set(x_101, 3, x_100); +x_102 = lean_st_ref_set(x_10, x_101, x_86); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_104 = x_102; } else { - lean_dec_ref(x_80); - x_111 = lean_box(0); + lean_dec_ref(x_102); + x_104 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(0, 8, 1); +x_105 = 0; +x_106 = lean_box(x_105); +if (lean_is_scalar(x_104)) { + x_107 = lean_alloc_ctor(0, 2, 0); } else { - x_112 = x_111; + x_107 = x_104; } -lean_ctor_set(x_112, 0, x_82); -lean_ctor_set(x_112, 1, x_83); -lean_ctor_set(x_112, 2, x_84); -lean_ctor_set(x_112, 3, x_85); -lean_ctor_set(x_112, 4, x_86); -lean_ctor_set(x_112, 5, x_87); -lean_ctor_set(x_112, 6, x_88); -lean_ctor_set(x_112, 7, x_89); -lean_ctor_set_uint8(x_112, sizeof(void*)*8, x_110); -x_113 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_107); -lean_ctor_set(x_113, 2, x_108); -lean_ctor_set(x_113, 3, x_109); -x_114 = lean_st_ref_set(x_10, x_113, x_81); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_53 = x_72; -x_54 = x_115; -goto block_64; +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_103); +x_65 = x_107; +goto block_69; } } else { -lean_object* x_116; uint8_t x_117; -x_116 = lean_ctor_get(x_77, 1); -lean_inc(x_116); +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; uint8_t x_117; lean_dec(x_77); -x_117 = !lean_is_exclusive(x_74); +lean_inc(x_50); +x_108 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__1___at_Lean_Meta_getFVarSetToGeneralize___spec__9(x_50, x_71, x_79); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +lean_dec(x_108); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = lean_st_ref_get(x_12, x_76); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_114 = lean_st_ref_take(x_10, x_113); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = !lean_is_exclusive(x_115); if (x_117 == 0) { -uint8_t x_118; -x_118 = !lean_is_exclusive(x_78); -if (x_118 == 0) +lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_118 = lean_ctor_get(x_115, 0); +lean_dec(x_118); +lean_ctor_set(x_115, 0, x_111); +x_119 = lean_st_ref_set(x_10, x_115, x_116); +x_120 = !lean_is_exclusive(x_119); +if (x_120 == 0) { -lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; -x_119 = lean_ctor_get(x_78, 0); -lean_dec(x_119); -x_120 = 1; -lean_ctor_set_uint8(x_74, sizeof(void*)*8, x_120); -lean_ctor_set(x_78, 0, x_74); -x_121 = lean_st_ref_set(x_10, x_78, x_116); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); +lean_object* x_121; +x_121 = lean_ctor_get(x_119, 0); lean_dec(x_121); -x_53 = x_72; -x_54 = x_122; -goto block_64; +lean_ctor_set(x_119, 0, x_110); +x_65 = x_119; +goto block_69; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_123 = lean_ctor_get(x_78, 1); -x_124 = lean_ctor_get(x_78, 2); -x_125 = lean_ctor_get(x_78, 3); +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_119, 1); +lean_inc(x_122); +lean_dec(x_119); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_110); +lean_ctor_set(x_123, 1, x_122); +x_65 = x_123; +goto block_69; +} +} +else +{ +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; +x_124 = lean_ctor_get(x_115, 1); +x_125 = lean_ctor_get(x_115, 2); +x_126 = lean_ctor_get(x_115, 3); +lean_inc(x_126); lean_inc(x_125); lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_78); -x_126 = 1; -lean_ctor_set_uint8(x_74, sizeof(void*)*8, x_126); +lean_dec(x_115); x_127 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_127, 0, x_74); -lean_ctor_set(x_127, 1, x_123); -lean_ctor_set(x_127, 2, x_124); -lean_ctor_set(x_127, 3, x_125); +lean_ctor_set(x_127, 0, x_111); +lean_ctor_set(x_127, 1, x_124); +lean_ctor_set(x_127, 2, x_125); +lean_ctor_set(x_127, 3, x_126); x_128 = lean_st_ref_set(x_10, x_127, x_116); x_129 = lean_ctor_get(x_128, 1); lean_inc(x_129); -lean_dec(x_128); -x_53 = x_72; -x_54 = x_129; -goto block_64; +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_130 = x_128; +} else { + lean_dec_ref(x_128); + x_130 = lean_box(0); +} +if (lean_is_scalar(x_130)) { + x_131 = lean_alloc_ctor(0, 2, 0); +} else { + x_131 = x_130; +} +lean_ctor_set(x_131, 0, x_110); +lean_ctor_set(x_131, 1, x_129); +x_65 = x_131; +goto block_69; +} } } else { -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; uint8_t x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_130 = lean_ctor_get(x_74, 0); -x_131 = lean_ctor_get(x_74, 1); -x_132 = lean_ctor_get(x_74, 2); -x_133 = lean_ctor_get(x_74, 3); -x_134 = lean_ctor_get(x_74, 4); -x_135 = lean_ctor_get(x_74, 5); -x_136 = lean_ctor_get(x_74, 6); -x_137 = lean_ctor_get(x_74, 7); -lean_inc(x_137); -lean_inc(x_136); -lean_inc(x_135); -lean_inc(x_134); +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; uint8_t x_141; +lean_dec(x_77); +lean_inc(x_50); +x_132 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__12___at_Lean_Meta_getFVarSetToGeneralize___spec__20(x_50, x_71, x_79); +x_133 = lean_ctor_get(x_132, 1); lean_inc(x_133); -lean_inc(x_132); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_74); -x_138 = lean_ctor_get(x_78, 1); -lean_inc(x_138); -x_139 = lean_ctor_get(x_78, 2); +x_134 = lean_ctor_get(x_132, 0); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = lean_st_ref_get(x_12, x_76); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); +lean_dec(x_136); +x_138 = lean_st_ref_take(x_10, x_137); +x_139 = lean_ctor_get(x_138, 0); lean_inc(x_139); -x_140 = lean_ctor_get(x_78, 3); +x_140 = lean_ctor_get(x_138, 1); lean_inc(x_140); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - lean_ctor_release(x_78, 2); - lean_ctor_release(x_78, 3); - x_141 = x_78; -} else { - lean_dec_ref(x_78); - x_141 = lean_box(0); -} -x_142 = 1; -x_143 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_143, 0, x_130); -lean_ctor_set(x_143, 1, x_131); -lean_ctor_set(x_143, 2, x_132); -lean_ctor_set(x_143, 3, x_133); -lean_ctor_set(x_143, 4, x_134); -lean_ctor_set(x_143, 5, x_135); -lean_ctor_set(x_143, 6, x_136); -lean_ctor_set(x_143, 7, x_137); -lean_ctor_set_uint8(x_143, sizeof(void*)*8, x_142); -if (lean_is_scalar(x_141)) { - x_144 = lean_alloc_ctor(0, 4, 0); -} else { - x_144 = x_141; -} -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_138); -lean_ctor_set(x_144, 2, x_139); -lean_ctor_set(x_144, 3, x_140); -x_145 = lean_st_ref_set(x_10, x_144, x_116); -x_146 = lean_ctor_get(x_145, 1); -lean_inc(x_146); +lean_dec(x_138); +x_141 = !lean_is_exclusive(x_139); +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_142 = lean_ctor_get(x_139, 0); +lean_dec(x_142); +lean_ctor_set(x_139, 0, x_135); +x_143 = lean_st_ref_set(x_10, x_139, x_140); +x_144 = !lean_is_exclusive(x_143); +if (x_144 == 0) +{ +lean_object* x_145; +x_145 = lean_ctor_get(x_143, 0); lean_dec(x_145); -x_53 = x_72; -x_54 = x_146; -goto block_64; +lean_ctor_set(x_143, 0, x_134); +x_65 = x_143; +goto block_69; } +else +{ +lean_object* x_146; lean_object* x_147; +x_146 = lean_ctor_get(x_143, 1); +lean_inc(x_146); +lean_dec(x_143); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_134); +lean_ctor_set(x_147, 1, x_146); +x_65 = x_147; +goto block_69; +} +} +else +{ +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; +x_148 = lean_ctor_get(x_139, 1); +x_149 = lean_ctor_get(x_139, 2); +x_150 = lean_ctor_get(x_139, 3); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_139); +x_151 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_151, 0, x_135); +lean_ctor_set(x_151, 1, x_148); +lean_ctor_set(x_151, 2, x_149); +lean_ctor_set(x_151, 3, x_150); +x_152 = lean_st_ref_set(x_10, x_151, x_140); +x_153 = lean_ctor_get(x_152, 1); +lean_inc(x_153); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_154 = x_152; +} else { + lean_dec_ref(x_152); + x_154 = lean_box(0); +} +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(0, 2, 0); +} else { + x_155 = x_154; +} +lean_ctor_set(x_155, 0, x_134); +lean_ctor_set(x_155, 1, x_153); +x_65 = x_155; +goto block_69; } } } 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; uint8_t x_169; lean_object* x_170; uint8_t x_245; lean_object* x_246; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; -x_162 = lean_ctor_get(x_48, 3); -lean_inc(x_162); -x_163 = lean_ctor_get(x_48, 4); -lean_inc(x_163); +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; uint8_t x_163; lean_object* x_164; uint8_t x_182; lean_object* x_183; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; +x_156 = lean_ctor_get(x_48, 3); +lean_inc(x_156); +x_157 = lean_ctor_get(x_48, 4); +lean_inc(x_157); lean_dec(x_48); -x_164 = lean_st_ref_get(x_12, x_13); +x_158 = lean_st_ref_get(x_12, x_13); +x_159 = lean_ctor_get(x_158, 1); +lean_inc(x_159); +lean_dec(x_158); +x_160 = lean_st_ref_get(x_10, x_159); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_196 = lean_ctor_get(x_161, 0); +lean_inc(x_196); +lean_dec(x_161); +x_197 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; +x_198 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_196); +x_199 = l_Lean_Expr_hasFVar(x_156); +if (x_199 == 0) +{ +uint8_t x_200; +x_200 = l_Lean_Expr_hasMVar(x_156); +if (x_200 == 0) +{ +uint8_t x_201; +lean_dec(x_156); +x_201 = 0; +x_182 = x_201; +x_183 = x_198; +goto block_195; +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +lean_inc(x_50); +x_202 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__39___at_Lean_Meta_getFVarSetToGeneralize___spec__47(x_50, x_156, x_198); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +lean_dec(x_202); +x_205 = lean_unbox(x_203); +lean_dec(x_203); +x_182 = x_205; +x_183 = x_204; +goto block_195; +} +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; +lean_inc(x_50); +x_206 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__50___at_Lean_Meta_getFVarSetToGeneralize___spec__58(x_50, x_156, x_198); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_206, 1); +lean_inc(x_208); +lean_dec(x_206); +x_209 = lean_unbox(x_207); +lean_dec(x_207); +x_182 = x_209; +x_183 = x_208; +goto block_195; +} +block_181: +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; x_165 = lean_ctor_get(x_164, 1); lean_inc(x_165); lean_dec(x_164); -x_166 = lean_st_ref_get(x_10, x_165); -x_167 = lean_ctor_get(x_166, 0); +x_166 = lean_st_ref_get(x_12, x_162); +x_167 = lean_ctor_get(x_166, 1); lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); lean_dec(x_166); -x_259 = lean_ctor_get(x_167, 0); -lean_inc(x_259); -lean_dec(x_167); -x_260 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; -x_261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_259); -x_262 = l_Lean_Expr_hasFVar(x_162); -if (x_262 == 0) +x_168 = lean_st_ref_take(x_10, x_167); +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +x_171 = !lean_is_exclusive(x_169); +if (x_171 == 0) { -uint8_t x_263; -x_263 = l_Lean_Expr_hasMVar(x_162); -if (x_263 == 0) -{ -uint8_t x_264; -lean_dec(x_162); -x_264 = 0; -x_245 = x_264; -x_246 = x_261; -goto block_258; -} -else -{ -lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; -lean_inc(x_50); -x_265 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__39___at_Lean_Meta_getFVarSetToGeneralize___spec__47(x_50, x_162, x_261); -x_266 = lean_ctor_get(x_265, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_265, 1); -lean_inc(x_267); -lean_dec(x_265); -x_268 = lean_unbox(x_266); -lean_dec(x_266); -x_245 = x_268; -x_246 = x_267; -goto block_258; -} -} -else -{ -lean_object* x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; -lean_inc(x_50); -x_269 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__50___at_Lean_Meta_getFVarSetToGeneralize___spec__58(x_50, x_162, x_261); -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_269, 1); -lean_inc(x_271); -lean_dec(x_269); -x_272 = lean_unbox(x_270); -lean_dec(x_270); -x_245 = x_272; -x_246 = x_271; -goto block_258; -} -block_244: -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; -x_171 = lean_ctor_get(x_170, 1); -lean_inc(x_171); -lean_dec(x_170); -x_172 = lean_st_ref_get(x_12, x_168); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_169, 0); lean_dec(x_172); -x_174 = lean_st_ref_take(x_10, x_173); -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get_uint8(x_171, sizeof(void*)*8); -if (x_176 == 0) +lean_ctor_set(x_169, 0, x_165); +x_173 = lean_st_ref_set(x_10, x_169, x_170); +x_174 = lean_ctor_get(x_173, 1); +lean_inc(x_174); +lean_dec(x_173); +x_53 = x_163; +x_54 = x_174; +goto block_64; +} +else { -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; uint8_t x_187; -x_177 = lean_ctor_get(x_175, 0); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_175 = lean_ctor_get(x_169, 1); +x_176 = lean_ctor_get(x_169, 2); +x_177 = lean_ctor_get(x_169, 3); lean_inc(x_177); -x_178 = lean_ctor_get(x_174, 1); -lean_inc(x_178); -lean_dec(x_174); -x_179 = lean_ctor_get(x_171, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_169); +x_178 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_178, 0, x_165); +lean_ctor_set(x_178, 1, x_175); +lean_ctor_set(x_178, 2, x_176); +lean_ctor_set(x_178, 3, x_177); +x_179 = lean_st_ref_set(x_10, x_178, x_170); +x_180 = lean_ctor_get(x_179, 1); lean_inc(x_180); -x_181 = lean_ctor_get(x_171, 2); -lean_inc(x_181); -x_182 = lean_ctor_get(x_171, 3); -lean_inc(x_182); -x_183 = lean_ctor_get(x_171, 4); -lean_inc(x_183); -x_184 = lean_ctor_get(x_171, 5); -lean_inc(x_184); -x_185 = lean_ctor_get(x_171, 6); -lean_inc(x_185); -x_186 = lean_ctor_get(x_171, 7); -lean_inc(x_186); -lean_dec(x_171); -x_187 = !lean_is_exclusive(x_175); -if (x_187 == 0) +lean_dec(x_179); +x_53 = x_163; +x_54 = x_180; +goto block_64; +} +} +block_195: { -lean_object* x_188; uint8_t x_189; -x_188 = lean_ctor_get(x_175, 0); +if (x_182 == 0) +{ +uint8_t x_184; +x_184 = l_Lean_Expr_hasFVar(x_157); +if (x_184 == 0) +{ +uint8_t x_185; +x_185 = l_Lean_Expr_hasMVar(x_157); +if (x_185 == 0) +{ +uint8_t x_186; +lean_dec(x_157); +x_186 = 0; +x_163 = x_186; +x_164 = x_183; +goto block_181; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; +lean_inc(x_50); +lean_inc(x_3); +x_187 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__23(x_3, x_50, x_157, x_183); +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +lean_dec(x_187); +x_190 = lean_unbox(x_188); lean_dec(x_188); -x_189 = !lean_is_exclusive(x_177); -if (x_189 == 0) +x_163 = x_190; +x_164 = x_189; +goto block_181; +} +} +else { -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; -x_190 = lean_ctor_get(x_177, 7); -lean_dec(x_190); -x_191 = lean_ctor_get(x_177, 6); +lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; +lean_inc(x_50); +lean_inc(x_3); +x_191 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__31(x_3, x_50, x_157, x_183); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_191, 1); +lean_inc(x_193); lean_dec(x_191); -x_192 = lean_ctor_get(x_177, 5); +x_194 = lean_unbox(x_192); lean_dec(x_192); -x_193 = lean_ctor_get(x_177, 4); -lean_dec(x_193); -x_194 = lean_ctor_get(x_177, 3); -lean_dec(x_194); -x_195 = lean_ctor_get(x_177, 2); -lean_dec(x_195); -x_196 = lean_ctor_get(x_177, 1); -lean_dec(x_196); -x_197 = lean_ctor_get(x_177, 0); -lean_dec(x_197); -lean_ctor_set(x_177, 7, x_186); -lean_ctor_set(x_177, 6, x_185); -lean_ctor_set(x_177, 5, x_184); -lean_ctor_set(x_177, 4, x_183); -lean_ctor_set(x_177, 3, x_182); -lean_ctor_set(x_177, 2, x_181); -lean_ctor_set(x_177, 1, x_180); -lean_ctor_set(x_177, 0, x_179); -x_198 = lean_st_ref_set(x_10, x_175, x_178); -x_199 = lean_ctor_get(x_198, 1); -lean_inc(x_199); -lean_dec(x_198); -x_53 = x_169; -x_54 = x_199; -goto block_64; -} -else -{ -uint8_t x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -x_200 = lean_ctor_get_uint8(x_177, sizeof(void*)*8); -lean_dec(x_177); -x_201 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_201, 0, x_179); -lean_ctor_set(x_201, 1, x_180); -lean_ctor_set(x_201, 2, x_181); -lean_ctor_set(x_201, 3, x_182); -lean_ctor_set(x_201, 4, x_183); -lean_ctor_set(x_201, 5, x_184); -lean_ctor_set(x_201, 6, x_185); -lean_ctor_set(x_201, 7, x_186); -lean_ctor_set_uint8(x_201, sizeof(void*)*8, x_200); -lean_ctor_set(x_175, 0, x_201); -x_202 = lean_st_ref_set(x_10, x_175, x_178); -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -lean_dec(x_202); -x_53 = x_169; -x_54 = x_203; -goto block_64; +x_163 = x_194; +x_164 = x_193; +goto block_181; } } else { -lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_204 = lean_ctor_get(x_175, 1); -x_205 = lean_ctor_get(x_175, 2); -x_206 = lean_ctor_get(x_175, 3); -lean_inc(x_206); -lean_inc(x_205); -lean_inc(x_204); -lean_dec(x_175); -x_207 = lean_ctor_get_uint8(x_177, sizeof(void*)*8); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - lean_ctor_release(x_177, 2); - lean_ctor_release(x_177, 3); - lean_ctor_release(x_177, 4); - lean_ctor_release(x_177, 5); - lean_ctor_release(x_177, 6); - lean_ctor_release(x_177, 7); - x_208 = x_177; -} else { - lean_dec_ref(x_177); - x_208 = lean_box(0); -} -if (lean_is_scalar(x_208)) { - x_209 = lean_alloc_ctor(0, 8, 1); -} else { - x_209 = x_208; -} -lean_ctor_set(x_209, 0, x_179); -lean_ctor_set(x_209, 1, x_180); -lean_ctor_set(x_209, 2, x_181); -lean_ctor_set(x_209, 3, x_182); -lean_ctor_set(x_209, 4, x_183); -lean_ctor_set(x_209, 5, x_184); -lean_ctor_set(x_209, 6, x_185); -lean_ctor_set(x_209, 7, x_186); -lean_ctor_set_uint8(x_209, sizeof(void*)*8, x_207); -x_210 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_204); -lean_ctor_set(x_210, 2, x_205); -lean_ctor_set(x_210, 3, x_206); -x_211 = lean_st_ref_set(x_10, x_210, x_178); -x_212 = lean_ctor_get(x_211, 1); -lean_inc(x_212); -lean_dec(x_211); -x_53 = x_169; -x_54 = x_212; -goto block_64; -} -} -else -{ -lean_object* x_213; uint8_t x_214; -x_213 = lean_ctor_get(x_174, 1); -lean_inc(x_213); -lean_dec(x_174); -x_214 = !lean_is_exclusive(x_171); -if (x_214 == 0) -{ -uint8_t x_215; -x_215 = !lean_is_exclusive(x_175); -if (x_215 == 0) -{ -lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; -x_216 = lean_ctor_get(x_175, 0); -lean_dec(x_216); -x_217 = 1; -lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_217); -lean_ctor_set(x_175, 0, x_171); -x_218 = lean_st_ref_set(x_10, x_175, x_213); -x_219 = lean_ctor_get(x_218, 1); -lean_inc(x_219); -lean_dec(x_218); -x_53 = x_169; -x_54 = x_219; -goto block_64; -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_220 = lean_ctor_get(x_175, 1); -x_221 = lean_ctor_get(x_175, 2); -x_222 = lean_ctor_get(x_175, 3); -lean_inc(x_222); -lean_inc(x_221); -lean_inc(x_220); -lean_dec(x_175); -x_223 = 1; -lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_223); -x_224 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_224, 0, x_171); -lean_ctor_set(x_224, 1, x_220); -lean_ctor_set(x_224, 2, x_221); -lean_ctor_set(x_224, 3, x_222); -x_225 = lean_st_ref_set(x_10, x_224, x_213); -x_226 = lean_ctor_get(x_225, 1); -lean_inc(x_226); -lean_dec(x_225); -x_53 = x_169; -x_54 = x_226; -goto block_64; -} -} -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; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_227 = lean_ctor_get(x_171, 0); -x_228 = lean_ctor_get(x_171, 1); -x_229 = lean_ctor_get(x_171, 2); -x_230 = lean_ctor_get(x_171, 3); -x_231 = lean_ctor_get(x_171, 4); -x_232 = lean_ctor_get(x_171, 5); -x_233 = lean_ctor_get(x_171, 6); -x_234 = lean_ctor_get(x_171, 7); -lean_inc(x_234); -lean_inc(x_233); -lean_inc(x_232); -lean_inc(x_231); -lean_inc(x_230); -lean_inc(x_229); -lean_inc(x_228); -lean_inc(x_227); -lean_dec(x_171); -x_235 = lean_ctor_get(x_175, 1); -lean_inc(x_235); -x_236 = lean_ctor_get(x_175, 2); -lean_inc(x_236); -x_237 = lean_ctor_get(x_175, 3); -lean_inc(x_237); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - lean_ctor_release(x_175, 2); - lean_ctor_release(x_175, 3); - x_238 = x_175; -} else { - lean_dec_ref(x_175); - x_238 = lean_box(0); -} -x_239 = 1; -x_240 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_240, 0, x_227); -lean_ctor_set(x_240, 1, x_228); -lean_ctor_set(x_240, 2, x_229); -lean_ctor_set(x_240, 3, x_230); -lean_ctor_set(x_240, 4, x_231); -lean_ctor_set(x_240, 5, x_232); -lean_ctor_set(x_240, 6, x_233); -lean_ctor_set(x_240, 7, x_234); -lean_ctor_set_uint8(x_240, sizeof(void*)*8, x_239); -if (lean_is_scalar(x_238)) { - x_241 = lean_alloc_ctor(0, 4, 0); -} else { - x_241 = x_238; -} -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_235); -lean_ctor_set(x_241, 2, x_236); -lean_ctor_set(x_241, 3, x_237); -x_242 = lean_st_ref_set(x_10, x_241, x_213); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -lean_dec(x_242); -x_53 = x_169; -x_54 = x_243; -goto block_64; -} -} -} -block_258: -{ -if (x_245 == 0) -{ -uint8_t x_247; -x_247 = l_Lean_Expr_hasFVar(x_163); -if (x_247 == 0) -{ -uint8_t x_248; -x_248 = l_Lean_Expr_hasMVar(x_163); -if (x_248 == 0) -{ -uint8_t x_249; -lean_dec(x_163); -x_249 = 0; -x_169 = x_249; -x_170 = x_246; -goto block_244; -} -else -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; uint8_t x_253; -lean_inc(x_50); -lean_inc(x_3); -x_250 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__23(x_3, x_50, x_163, x_246); -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_unbox(x_251); -lean_dec(x_251); -x_169 = x_253; -x_170 = x_252; -goto block_244; -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; -lean_inc(x_50); -lean_inc(x_3); -x_254 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__31(x_3, x_50, x_163, x_246); -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -x_257 = lean_unbox(x_255); -lean_dec(x_255); -x_169 = x_257; -x_170 = x_256; -goto block_244; -} -} -else -{ -lean_dec(x_163); -x_169 = x_245; -x_170 = x_246; -goto block_244; +lean_dec(x_157); +x_163 = x_182; +x_164 = x_183; +goto block_181; } } } @@ -14470,7 +13200,7 @@ goto _start; } else { -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_object* x_54; lean_object* x_65; lean_object* x_274; +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_object* x_54; lean_object* x_65; lean_object* x_70; lean_object* x_211; x_48 = lean_ctor_get(x_16, 0); lean_inc(x_48); lean_dec(x_16); @@ -14487,107 +13217,107 @@ if (lean_is_exclusive(x_25)) { x_51 = lean_box(0); } x_52 = l_Lean_LocalDecl_fvarId(x_48); -x_274 = l_Std_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_1, x_52); -if (lean_obj_tag(x_274) == 0) +x_211 = l_Std_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_1, x_52); +if (lean_obj_tag(x_211) == 0) { -uint8_t x_275; -x_275 = l_Lean_LocalDecl_isAuxDecl(x_48); -if (x_275 == 0) +uint8_t x_212; +x_212 = l_Lean_LocalDecl_isAuxDecl(x_48); +if (x_212 == 0) { -uint8_t x_276; uint8_t x_277; -x_276 = l_Lean_LocalDecl_binderInfo(x_48); -x_277 = l_Lean_BinderInfo_isInstImplicit(x_276); -if (x_277 == 0) +uint8_t x_213; uint8_t x_214; +x_213 = l_Lean_LocalDecl_binderInfo(x_48); +x_214 = l_Lean_BinderInfo_isInstImplicit(x_213); +if (x_214 == 0) { if (x_2 == 0) { -lean_object* x_278; -x_278 = lean_box(0); -x_65 = x_278; -goto block_273; +lean_object* x_215; +x_215 = lean_box(0); +x_70 = x_215; +goto block_210; } else { -uint8_t x_279; -x_279 = l_Lean_LocalDecl_isLet(x_48); -if (x_279 == 0) +uint8_t x_216; +x_216 = l_Lean_LocalDecl_isLet(x_48); +if (x_216 == 0) { -lean_object* x_280; -x_280 = lean_box(0); -x_65 = x_280; -goto block_273; +lean_object* x_217; +x_217 = lean_box(0); +x_70 = x_217; +goto block_210; } else { -lean_object* x_281; lean_object* x_282; lean_object* x_283; +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_281 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_281, 0, x_49); -lean_ctor_set(x_281, 1, x_50); -x_282 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_282, 0, x_281); -x_283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_13); -x_27 = x_283; +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_49); +lean_ctor_set(x_218, 1, x_50); +x_219 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_219, 0, x_218); +x_220 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_13); +x_27 = x_220; goto block_43; } } } else { -lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_284 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_284, 0, x_49); -lean_ctor_set(x_284, 1, x_50); -x_285 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_285, 0, 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_13); -x_27 = x_286; +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_49); +lean_ctor_set(x_221, 1, x_50); +x_222 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_222, 0, x_221); +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_13); +x_27 = x_223; goto block_43; } } else { -lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_287 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_287, 0, x_49); -lean_ctor_set(x_287, 1, x_50); -x_288 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_288, 0, x_287); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_13); -x_27 = x_289; +x_224 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_224, 0, x_49); +lean_ctor_set(x_224, 1, x_50); +x_225 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_225, 0, x_224); +x_226 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_13); +x_27 = x_226; goto block_43; } } else { -lean_object* x_290; lean_object* x_291; lean_object* x_292; -lean_dec(x_274); +lean_object* x_227; lean_object* x_228; lean_object* x_229; +lean_dec(x_211); lean_dec(x_52); lean_dec(x_51); lean_dec(x_48); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_49); -lean_ctor_set(x_290, 1, x_50); -x_291 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_291, 0, x_290); -x_292 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_13); -x_27 = x_292; +x_227 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_227, 0, x_49); +lean_ctor_set(x_227, 1, x_50); +x_228 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_228, 0, x_227); +x_229 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_13); +x_27 = x_229; goto block_43; } block_64: @@ -14634,769 +13364,515 @@ x_27 = x_63; goto block_43; } } -block_273: +block_69: { +lean_object* x_66; lean_object* x_67; uint8_t x_68; +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_53 = x_68; +x_54 = x_67; +goto block_64; +} +block_210: +{ +lean_dec(x_70); if (lean_obj_tag(x_48) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; -x_66 = lean_ctor_get(x_48, 3); -lean_inc(x_66); -lean_dec(x_48); -x_67 = lean_st_ref_get(x_12, x_13); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_st_ref_get(x_10, x_68); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); +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; uint8_t x_80; +x_71 = lean_ctor_get(x_48, 3); lean_inc(x_71); -lean_dec(x_69); -x_148 = lean_ctor_get(x_70, 0); -lean_inc(x_148); -lean_dec(x_70); -x_149 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_148); -x_151 = l_Lean_Expr_hasFVar(x_66); -if (x_151 == 0) -{ -uint8_t x_152; -x_152 = l_Lean_Expr_hasMVar(x_66); -if (x_152 == 0) -{ -uint8_t x_153; -lean_dec(x_66); -x_153 = 0; -x_72 = x_153; -x_73 = x_150; -goto block_147; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; -lean_inc(x_50); -x_154 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__1___at_Lean_Meta_getFVarSetToGeneralize___spec__9(x_50, x_66, x_150); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_154, 1); -lean_inc(x_156); -lean_dec(x_154); -x_157 = lean_unbox(x_155); -lean_dec(x_155); -x_72 = x_157; -x_73 = x_156; -goto block_147; -} -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -lean_inc(x_50); -x_158 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__12___at_Lean_Meta_getFVarSetToGeneralize___spec__20(x_50, x_66, x_150); -x_159 = lean_ctor_get(x_158, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); -lean_inc(x_160); -lean_dec(x_158); -x_161 = lean_unbox(x_159); -lean_dec(x_159); -x_72 = x_161; -x_73 = x_160; -goto block_147; -} -block_147: -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_st_ref_get(x_12, x_71); -x_76 = lean_ctor_get(x_75, 1); +lean_dec(x_48); +x_72 = lean_st_ref_get(x_12, x_13); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = lean_st_ref_get(x_10, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); -lean_dec(x_75); -x_77 = lean_st_ref_take(x_10, x_76); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get_uint8(x_74, sizeof(void*)*8); -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; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_80 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); -lean_dec(x_77); -x_82 = lean_ctor_get(x_74, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_74, 1); -lean_inc(x_83); -x_84 = lean_ctor_get(x_74, 2); -lean_inc(x_84); -x_85 = lean_ctor_get(x_74, 3); -lean_inc(x_85); -x_86 = lean_ctor_get(x_74, 4); -lean_inc(x_86); -x_87 = lean_ctor_get(x_74, 5); -lean_inc(x_87); -x_88 = lean_ctor_get(x_74, 6); -lean_inc(x_88); -x_89 = lean_ctor_get(x_74, 7); -lean_inc(x_89); lean_dec(x_74); -x_90 = !lean_is_exclusive(x_78); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec(x_75); +x_78 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; +lean_inc(x_77); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l_Lean_Expr_hasFVar(x_71); +if (x_80 == 0) +{ +uint8_t x_81; +x_81 = l_Lean_Expr_hasMVar(x_71); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_dec(x_79); +lean_dec(x_71); +x_82 = lean_st_ref_get(x_12, x_76); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_st_ref_take(x_10, x_83); +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_is_exclusive(x_85); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_88 = lean_ctor_get(x_85, 0); +lean_dec(x_88); +lean_ctor_set(x_85, 0, x_77); +x_89 = lean_st_ref_set(x_10, x_85, x_86); +x_90 = !lean_is_exclusive(x_89); if (x_90 == 0) { -lean_object* x_91; uint8_t x_92; -x_91 = lean_ctor_get(x_78, 0); +lean_object* x_91; uint8_t x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_89, 0); lean_dec(x_91); -x_92 = !lean_is_exclusive(x_80); -if (x_92 == 0) -{ -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_93 = lean_ctor_get(x_80, 7); -lean_dec(x_93); -x_94 = lean_ctor_get(x_80, 6); -lean_dec(x_94); -x_95 = lean_ctor_get(x_80, 5); -lean_dec(x_95); -x_96 = lean_ctor_get(x_80, 4); -lean_dec(x_96); -x_97 = lean_ctor_get(x_80, 3); -lean_dec(x_97); -x_98 = lean_ctor_get(x_80, 2); -lean_dec(x_98); -x_99 = lean_ctor_get(x_80, 1); -lean_dec(x_99); -x_100 = lean_ctor_get(x_80, 0); -lean_dec(x_100); -lean_ctor_set(x_80, 7, x_89); -lean_ctor_set(x_80, 6, x_88); -lean_ctor_set(x_80, 5, x_87); -lean_ctor_set(x_80, 4, x_86); -lean_ctor_set(x_80, 3, x_85); -lean_ctor_set(x_80, 2, x_84); -lean_ctor_set(x_80, 1, x_83); -lean_ctor_set(x_80, 0, x_82); -x_101 = lean_st_ref_set(x_10, x_78, x_81); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_53 = x_72; -x_54 = x_102; -goto block_64; +x_92 = 0; +x_93 = lean_box(x_92); +lean_ctor_set(x_89, 0, x_93); +x_65 = x_89; +goto block_69; } else { -uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_103 = lean_ctor_get_uint8(x_80, sizeof(void*)*8); -lean_dec(x_80); -x_104 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_104, 0, x_82); -lean_ctor_set(x_104, 1, x_83); -lean_ctor_set(x_104, 2, x_84); -lean_ctor_set(x_104, 3, x_85); -lean_ctor_set(x_104, 4, x_86); -lean_ctor_set(x_104, 5, x_87); -lean_ctor_set(x_104, 6, x_88); -lean_ctor_set(x_104, 7, x_89); -lean_ctor_set_uint8(x_104, sizeof(void*)*8, x_103); -lean_ctor_set(x_78, 0, x_104); -x_105 = lean_st_ref_set(x_10, x_78, x_81); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -lean_dec(x_105); -x_53 = x_72; -x_54 = x_106; -goto block_64; +lean_object* x_94; uint8_t x_95; lean_object* x_96; lean_object* x_97; +x_94 = lean_ctor_get(x_89, 1); +lean_inc(x_94); +lean_dec(x_89); +x_95 = 0; +x_96 = lean_box(x_95); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_94); +x_65 = x_97; +goto block_69; } } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_107 = lean_ctor_get(x_78, 1); -x_108 = lean_ctor_get(x_78, 2); -x_109 = lean_ctor_get(x_78, 3); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_78); -x_110 = lean_ctor_get_uint8(x_80, sizeof(void*)*8); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - lean_ctor_release(x_80, 2); - lean_ctor_release(x_80, 3); - lean_ctor_release(x_80, 4); - lean_ctor_release(x_80, 5); - lean_ctor_release(x_80, 6); - lean_ctor_release(x_80, 7); - x_111 = x_80; +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; uint8_t x_105; lean_object* x_106; lean_object* x_107; +x_98 = lean_ctor_get(x_85, 1); +x_99 = lean_ctor_get(x_85, 2); +x_100 = lean_ctor_get(x_85, 3); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_85); +x_101 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_101, 0, x_77); +lean_ctor_set(x_101, 1, x_98); +lean_ctor_set(x_101, 2, x_99); +lean_ctor_set(x_101, 3, x_100); +x_102 = lean_st_ref_set(x_10, x_101, x_86); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_104 = x_102; } else { - lean_dec_ref(x_80); - x_111 = lean_box(0); + lean_dec_ref(x_102); + x_104 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(0, 8, 1); +x_105 = 0; +x_106 = lean_box(x_105); +if (lean_is_scalar(x_104)) { + x_107 = lean_alloc_ctor(0, 2, 0); } else { - x_112 = x_111; + x_107 = x_104; } -lean_ctor_set(x_112, 0, x_82); -lean_ctor_set(x_112, 1, x_83); -lean_ctor_set(x_112, 2, x_84); -lean_ctor_set(x_112, 3, x_85); -lean_ctor_set(x_112, 4, x_86); -lean_ctor_set(x_112, 5, x_87); -lean_ctor_set(x_112, 6, x_88); -lean_ctor_set(x_112, 7, x_89); -lean_ctor_set_uint8(x_112, sizeof(void*)*8, x_110); -x_113 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_107); -lean_ctor_set(x_113, 2, x_108); -lean_ctor_set(x_113, 3, x_109); -x_114 = lean_st_ref_set(x_10, x_113, x_81); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_53 = x_72; -x_54 = x_115; -goto block_64; +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_103); +x_65 = x_107; +goto block_69; } } else { -lean_object* x_116; uint8_t x_117; -x_116 = lean_ctor_get(x_77, 1); -lean_inc(x_116); +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; uint8_t x_117; lean_dec(x_77); -x_117 = !lean_is_exclusive(x_74); +lean_inc(x_50); +x_108 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__1___at_Lean_Meta_getFVarSetToGeneralize___spec__9(x_50, x_71, x_79); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +lean_dec(x_108); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = lean_st_ref_get(x_12, x_76); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_114 = lean_st_ref_take(x_10, x_113); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = !lean_is_exclusive(x_115); if (x_117 == 0) { -uint8_t x_118; -x_118 = !lean_is_exclusive(x_78); -if (x_118 == 0) +lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_118 = lean_ctor_get(x_115, 0); +lean_dec(x_118); +lean_ctor_set(x_115, 0, x_111); +x_119 = lean_st_ref_set(x_10, x_115, x_116); +x_120 = !lean_is_exclusive(x_119); +if (x_120 == 0) { -lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; -x_119 = lean_ctor_get(x_78, 0); -lean_dec(x_119); -x_120 = 1; -lean_ctor_set_uint8(x_74, sizeof(void*)*8, x_120); -lean_ctor_set(x_78, 0, x_74); -x_121 = lean_st_ref_set(x_10, x_78, x_116); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); +lean_object* x_121; +x_121 = lean_ctor_get(x_119, 0); lean_dec(x_121); -x_53 = x_72; -x_54 = x_122; -goto block_64; +lean_ctor_set(x_119, 0, x_110); +x_65 = x_119; +goto block_69; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_123 = lean_ctor_get(x_78, 1); -x_124 = lean_ctor_get(x_78, 2); -x_125 = lean_ctor_get(x_78, 3); +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_119, 1); +lean_inc(x_122); +lean_dec(x_119); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_110); +lean_ctor_set(x_123, 1, x_122); +x_65 = x_123; +goto block_69; +} +} +else +{ +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; +x_124 = lean_ctor_get(x_115, 1); +x_125 = lean_ctor_get(x_115, 2); +x_126 = lean_ctor_get(x_115, 3); +lean_inc(x_126); lean_inc(x_125); lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_78); -x_126 = 1; -lean_ctor_set_uint8(x_74, sizeof(void*)*8, x_126); +lean_dec(x_115); x_127 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_127, 0, x_74); -lean_ctor_set(x_127, 1, x_123); -lean_ctor_set(x_127, 2, x_124); -lean_ctor_set(x_127, 3, x_125); +lean_ctor_set(x_127, 0, x_111); +lean_ctor_set(x_127, 1, x_124); +lean_ctor_set(x_127, 2, x_125); +lean_ctor_set(x_127, 3, x_126); x_128 = lean_st_ref_set(x_10, x_127, x_116); x_129 = lean_ctor_get(x_128, 1); lean_inc(x_129); -lean_dec(x_128); -x_53 = x_72; -x_54 = x_129; -goto block_64; +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_130 = x_128; +} else { + lean_dec_ref(x_128); + x_130 = lean_box(0); +} +if (lean_is_scalar(x_130)) { + x_131 = lean_alloc_ctor(0, 2, 0); +} else { + x_131 = x_130; +} +lean_ctor_set(x_131, 0, x_110); +lean_ctor_set(x_131, 1, x_129); +x_65 = x_131; +goto block_69; +} } } else { -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; uint8_t x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_130 = lean_ctor_get(x_74, 0); -x_131 = lean_ctor_get(x_74, 1); -x_132 = lean_ctor_get(x_74, 2); -x_133 = lean_ctor_get(x_74, 3); -x_134 = lean_ctor_get(x_74, 4); -x_135 = lean_ctor_get(x_74, 5); -x_136 = lean_ctor_get(x_74, 6); -x_137 = lean_ctor_get(x_74, 7); -lean_inc(x_137); -lean_inc(x_136); -lean_inc(x_135); -lean_inc(x_134); +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; uint8_t x_141; +lean_dec(x_77); +lean_inc(x_50); +x_132 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__12___at_Lean_Meta_getFVarSetToGeneralize___spec__20(x_50, x_71, x_79); +x_133 = lean_ctor_get(x_132, 1); lean_inc(x_133); -lean_inc(x_132); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_74); -x_138 = lean_ctor_get(x_78, 1); -lean_inc(x_138); -x_139 = lean_ctor_get(x_78, 2); +x_134 = lean_ctor_get(x_132, 0); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = lean_st_ref_get(x_12, x_76); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); +lean_dec(x_136); +x_138 = lean_st_ref_take(x_10, x_137); +x_139 = lean_ctor_get(x_138, 0); lean_inc(x_139); -x_140 = lean_ctor_get(x_78, 3); +x_140 = lean_ctor_get(x_138, 1); lean_inc(x_140); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - lean_ctor_release(x_78, 2); - lean_ctor_release(x_78, 3); - x_141 = x_78; -} else { - lean_dec_ref(x_78); - x_141 = lean_box(0); -} -x_142 = 1; -x_143 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_143, 0, x_130); -lean_ctor_set(x_143, 1, x_131); -lean_ctor_set(x_143, 2, x_132); -lean_ctor_set(x_143, 3, x_133); -lean_ctor_set(x_143, 4, x_134); -lean_ctor_set(x_143, 5, x_135); -lean_ctor_set(x_143, 6, x_136); -lean_ctor_set(x_143, 7, x_137); -lean_ctor_set_uint8(x_143, sizeof(void*)*8, x_142); -if (lean_is_scalar(x_141)) { - x_144 = lean_alloc_ctor(0, 4, 0); -} else { - x_144 = x_141; -} -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_138); -lean_ctor_set(x_144, 2, x_139); -lean_ctor_set(x_144, 3, x_140); -x_145 = lean_st_ref_set(x_10, x_144, x_116); -x_146 = lean_ctor_get(x_145, 1); -lean_inc(x_146); +lean_dec(x_138); +x_141 = !lean_is_exclusive(x_139); +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_142 = lean_ctor_get(x_139, 0); +lean_dec(x_142); +lean_ctor_set(x_139, 0, x_135); +x_143 = lean_st_ref_set(x_10, x_139, x_140); +x_144 = !lean_is_exclusive(x_143); +if (x_144 == 0) +{ +lean_object* x_145; +x_145 = lean_ctor_get(x_143, 0); lean_dec(x_145); -x_53 = x_72; -x_54 = x_146; -goto block_64; +lean_ctor_set(x_143, 0, x_134); +x_65 = x_143; +goto block_69; } +else +{ +lean_object* x_146; lean_object* x_147; +x_146 = lean_ctor_get(x_143, 1); +lean_inc(x_146); +lean_dec(x_143); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_134); +lean_ctor_set(x_147, 1, x_146); +x_65 = x_147; +goto block_69; +} +} +else +{ +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; +x_148 = lean_ctor_get(x_139, 1); +x_149 = lean_ctor_get(x_139, 2); +x_150 = lean_ctor_get(x_139, 3); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_139); +x_151 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_151, 0, x_135); +lean_ctor_set(x_151, 1, x_148); +lean_ctor_set(x_151, 2, x_149); +lean_ctor_set(x_151, 3, x_150); +x_152 = lean_st_ref_set(x_10, x_151, x_140); +x_153 = lean_ctor_get(x_152, 1); +lean_inc(x_153); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_154 = x_152; +} else { + lean_dec_ref(x_152); + x_154 = lean_box(0); +} +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(0, 2, 0); +} else { + x_155 = x_154; +} +lean_ctor_set(x_155, 0, x_134); +lean_ctor_set(x_155, 1, x_153); +x_65 = x_155; +goto block_69; } } } 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; uint8_t x_169; lean_object* x_170; uint8_t x_245; lean_object* x_246; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; -x_162 = lean_ctor_get(x_48, 3); -lean_inc(x_162); -x_163 = lean_ctor_get(x_48, 4); -lean_inc(x_163); +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; uint8_t x_163; lean_object* x_164; uint8_t x_182; lean_object* x_183; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; +x_156 = lean_ctor_get(x_48, 3); +lean_inc(x_156); +x_157 = lean_ctor_get(x_48, 4); +lean_inc(x_157); lean_dec(x_48); -x_164 = lean_st_ref_get(x_12, x_13); +x_158 = lean_st_ref_get(x_12, x_13); +x_159 = lean_ctor_get(x_158, 1); +lean_inc(x_159); +lean_dec(x_158); +x_160 = lean_st_ref_get(x_10, x_159); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_196 = lean_ctor_get(x_161, 0); +lean_inc(x_196); +lean_dec(x_161); +x_197 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; +x_198 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_196); +x_199 = l_Lean_Expr_hasFVar(x_156); +if (x_199 == 0) +{ +uint8_t x_200; +x_200 = l_Lean_Expr_hasMVar(x_156); +if (x_200 == 0) +{ +uint8_t x_201; +lean_dec(x_156); +x_201 = 0; +x_182 = x_201; +x_183 = x_198; +goto block_195; +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +lean_inc(x_50); +x_202 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__39___at_Lean_Meta_getFVarSetToGeneralize___spec__47(x_50, x_156, x_198); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +lean_dec(x_202); +x_205 = lean_unbox(x_203); +lean_dec(x_203); +x_182 = x_205; +x_183 = x_204; +goto block_195; +} +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; +lean_inc(x_50); +x_206 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__50___at_Lean_Meta_getFVarSetToGeneralize___spec__58(x_50, x_156, x_198); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_206, 1); +lean_inc(x_208); +lean_dec(x_206); +x_209 = lean_unbox(x_207); +lean_dec(x_207); +x_182 = x_209; +x_183 = x_208; +goto block_195; +} +block_181: +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; x_165 = lean_ctor_get(x_164, 1); lean_inc(x_165); lean_dec(x_164); -x_166 = lean_st_ref_get(x_10, x_165); -x_167 = lean_ctor_get(x_166, 0); +x_166 = lean_st_ref_get(x_12, x_162); +x_167 = lean_ctor_get(x_166, 1); lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); lean_dec(x_166); -x_259 = lean_ctor_get(x_167, 0); -lean_inc(x_259); -lean_dec(x_167); -x_260 = l_Lean_Meta_mkGeneralizationForbiddenSet_visit___closed__1; -x_261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_259); -x_262 = l_Lean_Expr_hasFVar(x_162); -if (x_262 == 0) +x_168 = lean_st_ref_take(x_10, x_167); +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +x_171 = !lean_is_exclusive(x_169); +if (x_171 == 0) { -uint8_t x_263; -x_263 = l_Lean_Expr_hasMVar(x_162); -if (x_263 == 0) -{ -uint8_t x_264; -lean_dec(x_162); -x_264 = 0; -x_245 = x_264; -x_246 = x_261; -goto block_258; -} -else -{ -lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; -lean_inc(x_50); -x_265 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__39___at_Lean_Meta_getFVarSetToGeneralize___spec__47(x_50, x_162, x_261); -x_266 = lean_ctor_get(x_265, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_265, 1); -lean_inc(x_267); -lean_dec(x_265); -x_268 = lean_unbox(x_266); -lean_dec(x_266); -x_245 = x_268; -x_246 = x_267; -goto block_258; -} -} -else -{ -lean_object* x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; -lean_inc(x_50); -x_269 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__50___at_Lean_Meta_getFVarSetToGeneralize___spec__58(x_50, x_162, x_261); -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_269, 1); -lean_inc(x_271); -lean_dec(x_269); -x_272 = lean_unbox(x_270); -lean_dec(x_270); -x_245 = x_272; -x_246 = x_271; -goto block_258; -} -block_244: -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; -x_171 = lean_ctor_get(x_170, 1); -lean_inc(x_171); -lean_dec(x_170); -x_172 = lean_st_ref_get(x_12, x_168); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_169, 0); lean_dec(x_172); -x_174 = lean_st_ref_take(x_10, x_173); -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get_uint8(x_171, sizeof(void*)*8); -if (x_176 == 0) +lean_ctor_set(x_169, 0, x_165); +x_173 = lean_st_ref_set(x_10, x_169, x_170); +x_174 = lean_ctor_get(x_173, 1); +lean_inc(x_174); +lean_dec(x_173); +x_53 = x_163; +x_54 = x_174; +goto block_64; +} +else { -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; uint8_t x_187; -x_177 = lean_ctor_get(x_175, 0); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_175 = lean_ctor_get(x_169, 1); +x_176 = lean_ctor_get(x_169, 2); +x_177 = lean_ctor_get(x_169, 3); lean_inc(x_177); -x_178 = lean_ctor_get(x_174, 1); -lean_inc(x_178); -lean_dec(x_174); -x_179 = lean_ctor_get(x_171, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_169); +x_178 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_178, 0, x_165); +lean_ctor_set(x_178, 1, x_175); +lean_ctor_set(x_178, 2, x_176); +lean_ctor_set(x_178, 3, x_177); +x_179 = lean_st_ref_set(x_10, x_178, x_170); +x_180 = lean_ctor_get(x_179, 1); lean_inc(x_180); -x_181 = lean_ctor_get(x_171, 2); -lean_inc(x_181); -x_182 = lean_ctor_get(x_171, 3); -lean_inc(x_182); -x_183 = lean_ctor_get(x_171, 4); -lean_inc(x_183); -x_184 = lean_ctor_get(x_171, 5); -lean_inc(x_184); -x_185 = lean_ctor_get(x_171, 6); -lean_inc(x_185); -x_186 = lean_ctor_get(x_171, 7); -lean_inc(x_186); -lean_dec(x_171); -x_187 = !lean_is_exclusive(x_175); -if (x_187 == 0) +lean_dec(x_179); +x_53 = x_163; +x_54 = x_180; +goto block_64; +} +} +block_195: { -lean_object* x_188; uint8_t x_189; -x_188 = lean_ctor_get(x_175, 0); +if (x_182 == 0) +{ +uint8_t x_184; +x_184 = l_Lean_Expr_hasFVar(x_157); +if (x_184 == 0) +{ +uint8_t x_185; +x_185 = l_Lean_Expr_hasMVar(x_157); +if (x_185 == 0) +{ +uint8_t x_186; +lean_dec(x_157); +x_186 = 0; +x_163 = x_186; +x_164 = x_183; +goto block_181; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; +lean_inc(x_50); +lean_inc(x_3); +x_187 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__23(x_3, x_50, x_157, x_183); +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +lean_dec(x_187); +x_190 = lean_unbox(x_188); lean_dec(x_188); -x_189 = !lean_is_exclusive(x_177); -if (x_189 == 0) +x_163 = x_190; +x_164 = x_189; +goto block_181; +} +} +else { -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; -x_190 = lean_ctor_get(x_177, 7); -lean_dec(x_190); -x_191 = lean_ctor_get(x_177, 6); +lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; +lean_inc(x_50); +lean_inc(x_3); +x_191 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__31(x_3, x_50, x_157, x_183); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_191, 1); +lean_inc(x_193); lean_dec(x_191); -x_192 = lean_ctor_get(x_177, 5); +x_194 = lean_unbox(x_192); lean_dec(x_192); -x_193 = lean_ctor_get(x_177, 4); -lean_dec(x_193); -x_194 = lean_ctor_get(x_177, 3); -lean_dec(x_194); -x_195 = lean_ctor_get(x_177, 2); -lean_dec(x_195); -x_196 = lean_ctor_get(x_177, 1); -lean_dec(x_196); -x_197 = lean_ctor_get(x_177, 0); -lean_dec(x_197); -lean_ctor_set(x_177, 7, x_186); -lean_ctor_set(x_177, 6, x_185); -lean_ctor_set(x_177, 5, x_184); -lean_ctor_set(x_177, 4, x_183); -lean_ctor_set(x_177, 3, x_182); -lean_ctor_set(x_177, 2, x_181); -lean_ctor_set(x_177, 1, x_180); -lean_ctor_set(x_177, 0, x_179); -x_198 = lean_st_ref_set(x_10, x_175, x_178); -x_199 = lean_ctor_get(x_198, 1); -lean_inc(x_199); -lean_dec(x_198); -x_53 = x_169; -x_54 = x_199; -goto block_64; -} -else -{ -uint8_t x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -x_200 = lean_ctor_get_uint8(x_177, sizeof(void*)*8); -lean_dec(x_177); -x_201 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_201, 0, x_179); -lean_ctor_set(x_201, 1, x_180); -lean_ctor_set(x_201, 2, x_181); -lean_ctor_set(x_201, 3, x_182); -lean_ctor_set(x_201, 4, x_183); -lean_ctor_set(x_201, 5, x_184); -lean_ctor_set(x_201, 6, x_185); -lean_ctor_set(x_201, 7, x_186); -lean_ctor_set_uint8(x_201, sizeof(void*)*8, x_200); -lean_ctor_set(x_175, 0, x_201); -x_202 = lean_st_ref_set(x_10, x_175, x_178); -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -lean_dec(x_202); -x_53 = x_169; -x_54 = x_203; -goto block_64; +x_163 = x_194; +x_164 = x_193; +goto block_181; } } else { -lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_204 = lean_ctor_get(x_175, 1); -x_205 = lean_ctor_get(x_175, 2); -x_206 = lean_ctor_get(x_175, 3); -lean_inc(x_206); -lean_inc(x_205); -lean_inc(x_204); -lean_dec(x_175); -x_207 = lean_ctor_get_uint8(x_177, sizeof(void*)*8); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - lean_ctor_release(x_177, 2); - lean_ctor_release(x_177, 3); - lean_ctor_release(x_177, 4); - lean_ctor_release(x_177, 5); - lean_ctor_release(x_177, 6); - lean_ctor_release(x_177, 7); - x_208 = x_177; -} else { - lean_dec_ref(x_177); - x_208 = lean_box(0); -} -if (lean_is_scalar(x_208)) { - x_209 = lean_alloc_ctor(0, 8, 1); -} else { - x_209 = x_208; -} -lean_ctor_set(x_209, 0, x_179); -lean_ctor_set(x_209, 1, x_180); -lean_ctor_set(x_209, 2, x_181); -lean_ctor_set(x_209, 3, x_182); -lean_ctor_set(x_209, 4, x_183); -lean_ctor_set(x_209, 5, x_184); -lean_ctor_set(x_209, 6, x_185); -lean_ctor_set(x_209, 7, x_186); -lean_ctor_set_uint8(x_209, sizeof(void*)*8, x_207); -x_210 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_204); -lean_ctor_set(x_210, 2, x_205); -lean_ctor_set(x_210, 3, x_206); -x_211 = lean_st_ref_set(x_10, x_210, x_178); -x_212 = lean_ctor_get(x_211, 1); -lean_inc(x_212); -lean_dec(x_211); -x_53 = x_169; -x_54 = x_212; -goto block_64; -} -} -else -{ -lean_object* x_213; uint8_t x_214; -x_213 = lean_ctor_get(x_174, 1); -lean_inc(x_213); -lean_dec(x_174); -x_214 = !lean_is_exclusive(x_171); -if (x_214 == 0) -{ -uint8_t x_215; -x_215 = !lean_is_exclusive(x_175); -if (x_215 == 0) -{ -lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; -x_216 = lean_ctor_get(x_175, 0); -lean_dec(x_216); -x_217 = 1; -lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_217); -lean_ctor_set(x_175, 0, x_171); -x_218 = lean_st_ref_set(x_10, x_175, x_213); -x_219 = lean_ctor_get(x_218, 1); -lean_inc(x_219); -lean_dec(x_218); -x_53 = x_169; -x_54 = x_219; -goto block_64; -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_220 = lean_ctor_get(x_175, 1); -x_221 = lean_ctor_get(x_175, 2); -x_222 = lean_ctor_get(x_175, 3); -lean_inc(x_222); -lean_inc(x_221); -lean_inc(x_220); -lean_dec(x_175); -x_223 = 1; -lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_223); -x_224 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_224, 0, x_171); -lean_ctor_set(x_224, 1, x_220); -lean_ctor_set(x_224, 2, x_221); -lean_ctor_set(x_224, 3, x_222); -x_225 = lean_st_ref_set(x_10, x_224, x_213); -x_226 = lean_ctor_get(x_225, 1); -lean_inc(x_226); -lean_dec(x_225); -x_53 = x_169; -x_54 = x_226; -goto block_64; -} -} -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; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_227 = lean_ctor_get(x_171, 0); -x_228 = lean_ctor_get(x_171, 1); -x_229 = lean_ctor_get(x_171, 2); -x_230 = lean_ctor_get(x_171, 3); -x_231 = lean_ctor_get(x_171, 4); -x_232 = lean_ctor_get(x_171, 5); -x_233 = lean_ctor_get(x_171, 6); -x_234 = lean_ctor_get(x_171, 7); -lean_inc(x_234); -lean_inc(x_233); -lean_inc(x_232); -lean_inc(x_231); -lean_inc(x_230); -lean_inc(x_229); -lean_inc(x_228); -lean_inc(x_227); -lean_dec(x_171); -x_235 = lean_ctor_get(x_175, 1); -lean_inc(x_235); -x_236 = lean_ctor_get(x_175, 2); -lean_inc(x_236); -x_237 = lean_ctor_get(x_175, 3); -lean_inc(x_237); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - lean_ctor_release(x_175, 2); - lean_ctor_release(x_175, 3); - x_238 = x_175; -} else { - lean_dec_ref(x_175); - x_238 = lean_box(0); -} -x_239 = 1; -x_240 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_240, 0, x_227); -lean_ctor_set(x_240, 1, x_228); -lean_ctor_set(x_240, 2, x_229); -lean_ctor_set(x_240, 3, x_230); -lean_ctor_set(x_240, 4, x_231); -lean_ctor_set(x_240, 5, x_232); -lean_ctor_set(x_240, 6, x_233); -lean_ctor_set(x_240, 7, x_234); -lean_ctor_set_uint8(x_240, sizeof(void*)*8, x_239); -if (lean_is_scalar(x_238)) { - x_241 = lean_alloc_ctor(0, 4, 0); -} else { - x_241 = x_238; -} -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_235); -lean_ctor_set(x_241, 2, x_236); -lean_ctor_set(x_241, 3, x_237); -x_242 = lean_st_ref_set(x_10, x_241, x_213); -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -lean_dec(x_242); -x_53 = x_169; -x_54 = x_243; -goto block_64; -} -} -} -block_258: -{ -if (x_245 == 0) -{ -uint8_t x_247; -x_247 = l_Lean_Expr_hasFVar(x_163); -if (x_247 == 0) -{ -uint8_t x_248; -x_248 = l_Lean_Expr_hasMVar(x_163); -if (x_248 == 0) -{ -uint8_t x_249; -lean_dec(x_163); -x_249 = 0; -x_169 = x_249; -x_170 = x_246; -goto block_244; -} -else -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; uint8_t x_253; -lean_inc(x_50); -lean_inc(x_3); -x_250 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__23(x_3, x_50, x_163, x_246); -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_unbox(x_251); -lean_dec(x_251); -x_169 = x_253; -x_170 = x_252; -goto block_244; -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; -lean_inc(x_50); -lean_inc(x_3); -x_254 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_getFVarSetToGeneralize___spec__31(x_3, x_50, x_163, x_246); -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_254, 1); -lean_inc(x_256); -lean_dec(x_254); -x_257 = lean_unbox(x_255); -lean_dec(x_255); -x_169 = x_257; -x_170 = x_256; -goto block_244; -} -} -else -{ -lean_dec(x_163); -x_169 = x_245; -x_170 = x_246; -goto block_244; +lean_dec(x_157); +x_163 = x_182; +x_164 = x_183; +goto block_181; } } } diff --git a/stage0/stdlib/Lean/Meta/GlobalInstances.c b/stage0/stdlib/Lean/Meta/GlobalInstances.c index eedbf2be08..c10db24fc4 100644 --- a/stage0/stdlib/Lean/Meta/GlobalInstances.c +++ b/stage0/stdlib/Lean/Meta/GlobalInstances.c @@ -257,14 +257,13 @@ x_1 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addGlobalInstance___spec__1__ x_2 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addGlobalInstance___spec__1___closed__4; x_3 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addGlobalInstance___spec__1___closed__5; x_4 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addGlobalInstance___spec__1___closed__8; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/Meta/IndPredBelow.c b/stage0/stdlib/Lean/Meta/IndPredBelow.c index 966de21b2f..9c9392b6f1 100644 --- a/stage0/stdlib/Lean/Meta/IndPredBelow.c +++ b/stage0/stdlib/Lean/Meta/IndPredBelow.c @@ -25602,14 +25602,13 @@ x_1 = l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__5 x_2 = l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__7; x_3 = l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__8; x_4 = l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__11; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/Meta/InferType.c b/stage0/stdlib/Lean/Meta/InferType.c index 6693b3f9d3..3c310fadfa 100644 --- a/stage0/stdlib/Lean/Meta/InferType.c +++ b/stage0/stdlib/Lean/Meta/InferType.c @@ -4061,48 +4061,45 @@ lean_dec(x_15); x_16 = !lean_is_exclusive(x_12); if (x_16 == 0) { -lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; uint8_t x_21; +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; x_17 = lean_ctor_get(x_12, 6); x_18 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_17, x_1, x_2); -x_19 = 1; lean_ctor_set(x_12, 6, x_18); -lean_ctor_set_uint8(x_12, sizeof(void*)*8, x_19); -x_20 = lean_st_ref_set(x_4, x_11, x_13); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) +x_19 = lean_st_ref_set(x_4, x_11, x_13); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -lean_dec(x_22); -x_23 = lean_box(0); -lean_ctor_set(x_20, 0, x_23); -return x_20; +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +x_22 = lean_box(0); +lean_ctor_set(x_19, 0, x_22); +return x_19; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_dec(x_20); -x_25 = lean_box(0); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -return x_26; +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_dec(x_19); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +return x_25; } } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t 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_27 = lean_ctor_get(x_12, 0); -x_28 = lean_ctor_get(x_12, 1); -x_29 = lean_ctor_get(x_12, 2); -x_30 = lean_ctor_get(x_12, 3); -x_31 = lean_ctor_get(x_12, 4); -x_32 = lean_ctor_get(x_12, 5); -x_33 = lean_ctor_get(x_12, 6); -x_34 = lean_ctor_get(x_12, 7); -lean_inc(x_34); +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_object* x_40; +x_26 = lean_ctor_get(x_12, 0); +x_27 = lean_ctor_get(x_12, 1); +x_28 = lean_ctor_get(x_12, 2); +x_29 = lean_ctor_get(x_12, 3); +x_30 = lean_ctor_get(x_12, 4); +x_31 = lean_ctor_get(x_12, 5); +x_32 = lean_ctor_get(x_12, 6); +x_33 = lean_ctor_get(x_12, 7); lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); @@ -4110,68 +4107,67 @@ lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); +lean_inc(x_26); lean_dec(x_12); -x_35 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_33, x_1, x_2); -x_36 = 1; -x_37 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_37, 0, x_27); -lean_ctor_set(x_37, 1, x_28); -lean_ctor_set(x_37, 2, x_29); -lean_ctor_set(x_37, 3, x_30); -lean_ctor_set(x_37, 4, x_31); -lean_ctor_set(x_37, 5, x_32); -lean_ctor_set(x_37, 6, x_35); -lean_ctor_set(x_37, 7, x_34); -lean_ctor_set_uint8(x_37, sizeof(void*)*8, x_36); -lean_ctor_set(x_11, 0, x_37); -x_38 = lean_st_ref_set(x_4, x_11, x_13); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); +x_34 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_32, x_1, x_2); +x_35 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_27); +lean_ctor_set(x_35, 2, x_28); +lean_ctor_set(x_35, 3, x_29); +lean_ctor_set(x_35, 4, x_30); +lean_ctor_set(x_35, 5, x_31); +lean_ctor_set(x_35, 6, x_34); +lean_ctor_set(x_35, 7, x_33); +lean_ctor_set(x_11, 0, x_35); +x_36 = lean_st_ref_set(x_4, x_11, x_13); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_38 = x_36; +} else { + lean_dec_ref(x_36); + x_38 = lean_box(0); +} +x_39 = lean_box(0); +if (lean_is_scalar(x_38)) { + x_40 = lean_alloc_ctor(0, 2, 0); +} else { x_40 = x_38; -} else { - lean_dec_ref(x_38); - x_40 = lean_box(0); } -x_41 = lean_box(0); -if (lean_is_scalar(x_40)) { - x_42 = lean_alloc_ctor(0, 2, 0); -} else { - x_42 = x_40; -} -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_39); -return x_42; +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_37); +return x_40; } } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t 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; -x_43 = lean_ctor_get(x_11, 1); -x_44 = lean_ctor_get(x_11, 2); -x_45 = lean_ctor_get(x_11, 3); -lean_inc(x_45); -lean_inc(x_44); +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; +x_41 = lean_ctor_get(x_11, 1); +x_42 = lean_ctor_get(x_11, 2); +x_43 = lean_ctor_get(x_11, 3); lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); lean_dec(x_11); -x_46 = lean_ctor_get(x_12, 0); +x_44 = lean_ctor_get(x_12, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_12, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_12, 2); lean_inc(x_46); -x_47 = lean_ctor_get(x_12, 1); +x_47 = lean_ctor_get(x_12, 3); lean_inc(x_47); -x_48 = lean_ctor_get(x_12, 2); +x_48 = lean_ctor_get(x_12, 4); lean_inc(x_48); -x_49 = lean_ctor_get(x_12, 3); +x_49 = lean_ctor_get(x_12, 5); lean_inc(x_49); -x_50 = lean_ctor_get(x_12, 4); +x_50 = lean_ctor_get(x_12, 6); lean_inc(x_50); -x_51 = lean_ctor_get(x_12, 5); +x_51 = lean_ctor_get(x_12, 7); lean_inc(x_51); -x_52 = lean_ctor_get(x_12, 6); -lean_inc(x_52); -x_53 = lean_ctor_get(x_12, 7); -lean_inc(x_53); if (lean_is_exclusive(x_12)) { lean_ctor_release(x_12, 0); lean_ctor_release(x_12, 1); @@ -4181,52 +4177,50 @@ if (lean_is_exclusive(x_12)) { lean_ctor_release(x_12, 5); lean_ctor_release(x_12, 6); lean_ctor_release(x_12, 7); - x_54 = x_12; + x_52 = x_12; } else { lean_dec_ref(x_12); - x_54 = lean_box(0); + x_52 = lean_box(0); } -x_55 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_52, x_1, x_2); -x_56 = 1; -if (lean_is_scalar(x_54)) { - x_57 = lean_alloc_ctor(0, 8, 1); +x_53 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_50, x_1, x_2); +if (lean_is_scalar(x_52)) { + x_54 = lean_alloc_ctor(0, 8, 0); } else { - x_57 = x_54; + x_54 = x_52; } -lean_ctor_set(x_57, 0, x_46); -lean_ctor_set(x_57, 1, x_47); -lean_ctor_set(x_57, 2, x_48); -lean_ctor_set(x_57, 3, x_49); -lean_ctor_set(x_57, 4, x_50); -lean_ctor_set(x_57, 5, x_51); -lean_ctor_set(x_57, 6, x_55); -lean_ctor_set(x_57, 7, x_53); -lean_ctor_set_uint8(x_57, sizeof(void*)*8, x_56); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_43); -lean_ctor_set(x_58, 2, x_44); -lean_ctor_set(x_58, 3, x_45); -x_59 = lean_st_ref_set(x_4, x_58, x_13); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; +lean_ctor_set(x_54, 0, x_44); +lean_ctor_set(x_54, 1, x_45); +lean_ctor_set(x_54, 2, x_46); +lean_ctor_set(x_54, 3, x_47); +lean_ctor_set(x_54, 4, x_48); +lean_ctor_set(x_54, 5, x_49); +lean_ctor_set(x_54, 6, x_53); +lean_ctor_set(x_54, 7, x_51); +x_55 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_41); +lean_ctor_set(x_55, 2, x_42); +lean_ctor_set(x_55, 3, x_43); +x_56 = lean_st_ref_set(x_4, x_55, x_13); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_58 = x_56; } else { - lean_dec_ref(x_59); - x_61 = lean_box(0); + lean_dec_ref(x_56); + x_58 = lean_box(0); } -x_62 = lean_box(0); -if (lean_is_scalar(x_61)) { - x_63 = lean_alloc_ctor(0, 2, 0); +x_59 = lean_box(0); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(0, 2, 0); } else { - x_63 = x_61; + x_60 = x_58; } -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_60); -return x_63; +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_57); +return x_60; } } } @@ -6550,15 +6544,13 @@ return x_38; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +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; lean_object* x_49; lean_object* x_50; x_39 = lean_ctor_get(x_27, 0); x_40 = lean_ctor_get(x_27, 1); x_41 = lean_ctor_get(x_27, 2); x_42 = lean_ctor_get(x_27, 3); x_43 = lean_ctor_get(x_27, 4); x_44 = lean_ctor_get(x_27, 5); -x_45 = lean_ctor_get(x_27, 6); -lean_inc(x_45); lean_inc(x_44); lean_inc(x_43); lean_inc(x_42); @@ -6567,62 +6559,59 @@ lean_inc(x_40); lean_inc(x_39); lean_dec(x_27); lean_inc(x_19); -x_46 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_39, x_1, x_19); -x_47 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_40); -lean_ctor_set(x_47, 2, x_41); -lean_ctor_set(x_47, 3, x_42); -lean_ctor_set(x_47, 4, x_43); -lean_ctor_set(x_47, 5, x_44); -lean_ctor_set(x_47, 6, x_45); -lean_ctor_set(x_26, 1, x_47); -x_48 = lean_st_ref_set(x_4, x_26, x_28); +x_45 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_39, x_1, x_19); +x_46 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_40); +lean_ctor_set(x_46, 2, x_41); +lean_ctor_set(x_46, 3, x_42); +lean_ctor_set(x_46, 4, x_43); +lean_ctor_set(x_46, 5, x_44); +lean_ctor_set(x_26, 1, x_46); +x_47 = lean_st_ref_set(x_4, x_26, x_28); lean_dec(x_4); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -if (lean_is_exclusive(x_48)) { - lean_ctor_release(x_48, 0); - lean_ctor_release(x_48, 1); - x_50 = x_48; +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_49 = x_47; } else { - lean_dec_ref(x_48); - x_50 = lean_box(0); + lean_dec_ref(x_47); + x_49 = lean_box(0); } -if (lean_is_scalar(x_50)) { - x_51 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(0, 2, 0); } else { - x_51 = x_50; + x_50 = x_49; } -lean_ctor_set(x_51, 0, x_19); -lean_ctor_set(x_51, 1, x_49); -return x_51; +lean_ctor_set(x_50, 0, x_19); +lean_ctor_set(x_50, 1, x_48); +return x_50; } } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_52 = lean_ctor_get(x_26, 0); -x_53 = lean_ctor_get(x_26, 2); -x_54 = lean_ctor_get(x_26, 3); -lean_inc(x_54); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_51 = lean_ctor_get(x_26, 0); +x_52 = lean_ctor_get(x_26, 2); +x_53 = lean_ctor_get(x_26, 3); lean_inc(x_53); lean_inc(x_52); +lean_inc(x_51); lean_dec(x_26); -x_55 = lean_ctor_get(x_27, 0); +x_54 = lean_ctor_get(x_27, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_27, 1); lean_inc(x_55); -x_56 = lean_ctor_get(x_27, 1); +x_56 = lean_ctor_get(x_27, 2); lean_inc(x_56); -x_57 = lean_ctor_get(x_27, 2); +x_57 = lean_ctor_get(x_27, 3); lean_inc(x_57); -x_58 = lean_ctor_get(x_27, 3); +x_58 = lean_ctor_get(x_27, 4); lean_inc(x_58); -x_59 = lean_ctor_get(x_27, 4); +x_59 = lean_ctor_get(x_27, 5); lean_inc(x_59); -x_60 = lean_ctor_get(x_27, 5); -lean_inc(x_60); -x_61 = lean_ctor_get(x_27, 6); -lean_inc(x_61); if (lean_is_exclusive(x_27)) { lean_ctor_release(x_27, 0); lean_ctor_release(x_27, 1); @@ -6630,51 +6619,49 @@ if (lean_is_exclusive(x_27)) { lean_ctor_release(x_27, 3); lean_ctor_release(x_27, 4); lean_ctor_release(x_27, 5); - lean_ctor_release(x_27, 6); - x_62 = x_27; + x_60 = x_27; } else { lean_dec_ref(x_27); - x_62 = lean_box(0); + x_60 = lean_box(0); } lean_inc(x_19); -x_63 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_55, x_1, x_19); -if (lean_is_scalar(x_62)) { - x_64 = lean_alloc_ctor(0, 7, 0); +x_61 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_54, x_1, x_19); +if (lean_is_scalar(x_60)) { + x_62 = lean_alloc_ctor(0, 6, 0); } else { - x_64 = x_62; + x_62 = x_60; } -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_56); -lean_ctor_set(x_64, 2, x_57); -lean_ctor_set(x_64, 3, x_58); -lean_ctor_set(x_64, 4, x_59); -lean_ctor_set(x_64, 5, x_60); -lean_ctor_set(x_64, 6, x_61); -x_65 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_65, 0, x_52); -lean_ctor_set(x_65, 1, x_64); -lean_ctor_set(x_65, 2, x_53); -lean_ctor_set(x_65, 3, x_54); -x_66 = lean_st_ref_set(x_4, x_65, x_28); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_55); +lean_ctor_set(x_62, 2, x_56); +lean_ctor_set(x_62, 3, x_57); +lean_ctor_set(x_62, 4, x_58); +lean_ctor_set(x_62, 5, x_59); +x_63 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_63, 0, x_51); +lean_ctor_set(x_63, 1, x_62); +lean_ctor_set(x_63, 2, x_52); +lean_ctor_set(x_63, 3, x_53); +x_64 = lean_st_ref_set(x_4, x_63, x_28); lean_dec(x_4); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_68 = x_66; +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_66 = x_64; } else { - lean_dec_ref(x_66); - x_68 = lean_box(0); + lean_dec_ref(x_64); + x_66 = lean_box(0); } -if (lean_is_scalar(x_68)) { - x_69 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(0, 2, 0); } else { - x_69 = x_68; + x_67 = x_66; } -lean_ctor_set(x_69, 0, x_19); -lean_ctor_set(x_69, 1, x_67); -return x_69; +lean_ctor_set(x_67, 0, x_19); +lean_ctor_set(x_67, 1, x_65); +return x_67; } } else @@ -6695,409 +6682,401 @@ return x_17; } else { -lean_object* x_70; lean_object* x_71; uint8_t x_72; -x_70 = lean_ctor_get(x_17, 0); -x_71 = lean_ctor_get(x_17, 1); -lean_inc(x_71); -lean_inc(x_70); +lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_68 = lean_ctor_get(x_17, 0); +x_69 = lean_ctor_get(x_17, 1); +lean_inc(x_69); +lean_inc(x_68); lean_dec(x_17); -x_72 = l_Lean_Expr_hasMVar(x_1); -if (x_72 == 0) +x_70 = l_Lean_Expr_hasMVar(x_1); +if (x_70 == 0) { -uint8_t x_73; -x_73 = l_Lean_Expr_hasMVar(x_70); -if (x_73 == 0) +uint8_t x_71; +x_71 = l_Lean_Expr_hasMVar(x_68); +if (x_71 == 0) { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 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; -x_74 = lean_st_ref_get(x_6, 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; 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; +x_72 = lean_st_ref_get(x_6, x_69); lean_dec(x_6); -x_75 = lean_ctor_get(x_74, 1); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = lean_st_ref_take(x_4, x_73); +x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); -lean_dec(x_74); -x_76 = lean_st_ref_take(x_4, x_75); -x_77 = lean_ctor_get(x_76, 0); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_74, 1); lean_inc(x_77); -x_78 = lean_ctor_get(x_77, 1); +lean_dec(x_74); +x_78 = lean_ctor_get(x_75, 0); lean_inc(x_78); -x_79 = lean_ctor_get(x_76, 1); +x_79 = lean_ctor_get(x_75, 2); lean_inc(x_79); -lean_dec(x_76); -x_80 = lean_ctor_get(x_77, 0); +x_80 = lean_ctor_get(x_75, 3); lean_inc(x_80); -x_81 = lean_ctor_get(x_77, 2); -lean_inc(x_81); -x_82 = lean_ctor_get(x_77, 3); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + lean_ctor_release(x_75, 2); + lean_ctor_release(x_75, 3); + x_81 = x_75; +} else { + lean_dec_ref(x_75); + x_81 = lean_box(0); +} +x_82 = lean_ctor_get(x_76, 0); lean_inc(x_82); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - lean_ctor_release(x_77, 2); - lean_ctor_release(x_77, 3); - x_83 = x_77; -} else { - lean_dec_ref(x_77); - x_83 = lean_box(0); -} -x_84 = lean_ctor_get(x_78, 0); +x_83 = lean_ctor_get(x_76, 1); +lean_inc(x_83); +x_84 = lean_ctor_get(x_76, 2); lean_inc(x_84); -x_85 = lean_ctor_get(x_78, 1); +x_85 = lean_ctor_get(x_76, 3); lean_inc(x_85); -x_86 = lean_ctor_get(x_78, 2); +x_86 = lean_ctor_get(x_76, 4); lean_inc(x_86); -x_87 = lean_ctor_get(x_78, 3); +x_87 = lean_ctor_get(x_76, 5); lean_inc(x_87); -x_88 = lean_ctor_get(x_78, 4); -lean_inc(x_88); -x_89 = lean_ctor_get(x_78, 5); -lean_inc(x_89); -x_90 = lean_ctor_get(x_78, 6); -lean_inc(x_90); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - lean_ctor_release(x_78, 2); - lean_ctor_release(x_78, 3); - lean_ctor_release(x_78, 4); - lean_ctor_release(x_78, 5); - lean_ctor_release(x_78, 6); - x_91 = x_78; +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + lean_ctor_release(x_76, 2); + lean_ctor_release(x_76, 3); + lean_ctor_release(x_76, 4); + lean_ctor_release(x_76, 5); + x_88 = x_76; } else { - lean_dec_ref(x_78); - x_91 = lean_box(0); + lean_dec_ref(x_76); + x_88 = lean_box(0); } -lean_inc(x_70); -x_92 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_84, x_1, x_70); -if (lean_is_scalar(x_91)) { - x_93 = lean_alloc_ctor(0, 7, 0); +lean_inc(x_68); +x_89 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_82, x_1, x_68); +if (lean_is_scalar(x_88)) { + x_90 = lean_alloc_ctor(0, 6, 0); } else { - x_93 = x_91; + x_90 = x_88; } -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_85); -lean_ctor_set(x_93, 2, x_86); -lean_ctor_set(x_93, 3, x_87); -lean_ctor_set(x_93, 4, x_88); -lean_ctor_set(x_93, 5, x_89); -lean_ctor_set(x_93, 6, x_90); -if (lean_is_scalar(x_83)) { - x_94 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_83); +lean_ctor_set(x_90, 2, x_84); +lean_ctor_set(x_90, 3, x_85); +lean_ctor_set(x_90, 4, x_86); +lean_ctor_set(x_90, 5, x_87); +if (lean_is_scalar(x_81)) { + x_91 = lean_alloc_ctor(0, 4, 0); } else { - x_94 = x_83; + x_91 = x_81; } -lean_ctor_set(x_94, 0, x_80); -lean_ctor_set(x_94, 1, x_93); -lean_ctor_set(x_94, 2, x_81); -lean_ctor_set(x_94, 3, x_82); -x_95 = lean_st_ref_set(x_4, x_94, x_79); +lean_ctor_set(x_91, 0, x_78); +lean_ctor_set(x_91, 1, x_90); +lean_ctor_set(x_91, 2, x_79); +lean_ctor_set(x_91, 3, x_80); +x_92 = lean_st_ref_set(x_4, x_91, x_77); lean_dec(x_4); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_97 = x_95; +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + lean_ctor_release(x_92, 1); + x_94 = x_92; } else { - lean_dec_ref(x_95); - x_97 = lean_box(0); + lean_dec_ref(x_92); + x_94 = lean_box(0); } -if (lean_is_scalar(x_97)) { - x_98 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_94)) { + x_95 = lean_alloc_ctor(0, 2, 0); } else { - x_98 = x_97; + x_95 = x_94; } -lean_ctor_set(x_98, 0, x_70); -lean_ctor_set(x_98, 1, x_96); -return x_98; +lean_ctor_set(x_95, 0, x_68); +lean_ctor_set(x_95, 1, x_93); +return x_95; } else { -lean_object* x_99; +lean_object* x_96; lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_70); -lean_ctor_set(x_99, 1, x_71); -return x_99; +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_68); +lean_ctor_set(x_96, 1, x_69); +return x_96; } } else { -lean_object* x_100; +lean_object* x_97; lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -x_100 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_100, 0, x_70); -lean_ctor_set(x_100, 1, x_71); -return x_100; +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_68); +lean_ctor_set(x_97, 1, x_69); +return x_97; } } } else { -uint8_t x_101; +uint8_t x_98; lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -x_101 = !lean_is_exclusive(x_17); -if (x_101 == 0) +x_98 = !lean_is_exclusive(x_17); +if (x_98 == 0) { return x_17; } else { -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_17, 0); -x_103 = lean_ctor_get(x_17, 1); -lean_inc(x_103); -lean_inc(x_102); +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_17, 0); +x_100 = lean_ctor_get(x_17, 1); +lean_inc(x_100); +lean_inc(x_99); lean_dec(x_17); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; } } } else { -lean_object* x_105; +lean_object* x_102; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_105 = lean_ctor_get(x_16, 0); -lean_inc(x_105); +x_102 = lean_ctor_get(x_16, 0); +lean_inc(x_102); lean_dec(x_16); -lean_ctor_set(x_10, 0, x_105); +lean_ctor_set(x_10, 0, x_102); return x_10; } } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_106 = lean_ctor_get(x_10, 0); -x_107 = lean_ctor_get(x_10, 1); -lean_inc(x_107); -lean_inc(x_106); +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_10, 0); +x_104 = lean_ctor_get(x_10, 1); +lean_inc(x_104); +lean_inc(x_103); lean_dec(x_10); -x_108 = lean_ctor_get(x_106, 1); -lean_inc(x_108); -lean_dec(x_106); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -lean_dec(x_108); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +lean_dec(x_105); lean_inc(x_1); -x_110 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_109, x_1); -if (lean_obj_tag(x_110) == 0) +x_107 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_106, x_1); +if (lean_obj_tag(x_107) == 0) { -lean_object* x_111; +lean_object* x_108; lean_inc(x_6); lean_inc(x_4); -x_111 = lean_apply_5(x_2, x_3, x_4, x_5, x_6, x_107); -if (lean_obj_tag(x_111) == 0) +x_108 = lean_apply_5(x_2, x_3, x_4, x_5, x_6, x_104); +if (lean_obj_tag(x_108) == 0) { -lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); -lean_inc(x_113); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_114 = x_111; +lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + lean_ctor_release(x_108, 1); + x_111 = x_108; } else { - lean_dec_ref(x_111); - x_114 = lean_box(0); + lean_dec_ref(x_108); + x_111 = lean_box(0); } -x_115 = l_Lean_Expr_hasMVar(x_1); -if (x_115 == 0) +x_112 = l_Lean_Expr_hasMVar(x_1); +if (x_112 == 0) { -uint8_t x_116; -x_116 = l_Lean_Expr_hasMVar(x_112); -if (x_116 == 0) +uint8_t x_113; +x_113 = l_Lean_Expr_hasMVar(x_109); +if (x_113 == 0) { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; 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_dec(x_114); -x_117 = lean_st_ref_get(x_6, 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; 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; lean_object* x_137; +lean_dec(x_111); +x_114 = lean_st_ref_get(x_6, x_110); lean_dec(x_6); +x_115 = lean_ctor_get(x_114, 1); +lean_inc(x_115); +lean_dec(x_114); +x_116 = lean_st_ref_take(x_4, x_115); +x_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); x_118 = lean_ctor_get(x_117, 1); lean_inc(x_118); -lean_dec(x_117); -x_119 = lean_st_ref_take(x_4, x_118); -x_120 = lean_ctor_get(x_119, 0); +x_119 = lean_ctor_get(x_116, 1); +lean_inc(x_119); +lean_dec(x_116); +x_120 = lean_ctor_get(x_117, 0); lean_inc(x_120); -x_121 = lean_ctor_get(x_120, 1); +x_121 = lean_ctor_get(x_117, 2); lean_inc(x_121); -x_122 = lean_ctor_get(x_119, 1); +x_122 = lean_ctor_get(x_117, 3); lean_inc(x_122); -lean_dec(x_119); -x_123 = lean_ctor_get(x_120, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_120, 2); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + lean_ctor_release(x_117, 2); + lean_ctor_release(x_117, 3); + x_123 = x_117; +} else { + lean_dec_ref(x_117); + x_123 = lean_box(0); +} +x_124 = lean_ctor_get(x_118, 0); lean_inc(x_124); -x_125 = lean_ctor_get(x_120, 3); +x_125 = lean_ctor_get(x_118, 1); lean_inc(x_125); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - lean_ctor_release(x_120, 2); - lean_ctor_release(x_120, 3); - x_126 = x_120; -} else { - lean_dec_ref(x_120); - x_126 = lean_box(0); -} -x_127 = lean_ctor_get(x_121, 0); +x_126 = lean_ctor_get(x_118, 2); +lean_inc(x_126); +x_127 = lean_ctor_get(x_118, 3); lean_inc(x_127); -x_128 = lean_ctor_get(x_121, 1); +x_128 = lean_ctor_get(x_118, 4); lean_inc(x_128); -x_129 = lean_ctor_get(x_121, 2); +x_129 = lean_ctor_get(x_118, 5); lean_inc(x_129); -x_130 = lean_ctor_get(x_121, 3); -lean_inc(x_130); -x_131 = lean_ctor_get(x_121, 4); -lean_inc(x_131); -x_132 = lean_ctor_get(x_121, 5); -lean_inc(x_132); -x_133 = lean_ctor_get(x_121, 6); -lean_inc(x_133); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - lean_ctor_release(x_121, 1); - lean_ctor_release(x_121, 2); - lean_ctor_release(x_121, 3); - lean_ctor_release(x_121, 4); - lean_ctor_release(x_121, 5); - lean_ctor_release(x_121, 6); - x_134 = x_121; +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + lean_ctor_release(x_118, 2); + lean_ctor_release(x_118, 3); + lean_ctor_release(x_118, 4); + lean_ctor_release(x_118, 5); + x_130 = x_118; } else { - lean_dec_ref(x_121); - x_134 = lean_box(0); + lean_dec_ref(x_118); + x_130 = lean_box(0); } -lean_inc(x_112); -x_135 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_127, x_1, x_112); -if (lean_is_scalar(x_134)) { - x_136 = lean_alloc_ctor(0, 7, 0); +lean_inc(x_109); +x_131 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_124, x_1, x_109); +if (lean_is_scalar(x_130)) { + x_132 = lean_alloc_ctor(0, 6, 0); } else { + x_132 = x_130; +} +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_125); +lean_ctor_set(x_132, 2, x_126); +lean_ctor_set(x_132, 3, x_127); +lean_ctor_set(x_132, 4, x_128); +lean_ctor_set(x_132, 5, x_129); +if (lean_is_scalar(x_123)) { + x_133 = lean_alloc_ctor(0, 4, 0); +} else { + x_133 = x_123; +} +lean_ctor_set(x_133, 0, x_120); +lean_ctor_set(x_133, 1, x_132); +lean_ctor_set(x_133, 2, x_121); +lean_ctor_set(x_133, 3, x_122); +x_134 = lean_st_ref_set(x_4, x_133, x_119); +lean_dec(x_4); +x_135 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_134)) { + lean_ctor_release(x_134, 0); + lean_ctor_release(x_134, 1); x_136 = x_134; -} -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_128); -lean_ctor_set(x_136, 2, x_129); -lean_ctor_set(x_136, 3, x_130); -lean_ctor_set(x_136, 4, x_131); -lean_ctor_set(x_136, 5, x_132); -lean_ctor_set(x_136, 6, x_133); -if (lean_is_scalar(x_126)) { - x_137 = lean_alloc_ctor(0, 4, 0); } else { - x_137 = x_126; + lean_dec_ref(x_134); + x_136 = lean_box(0); } -lean_ctor_set(x_137, 0, x_123); -lean_ctor_set(x_137, 1, x_136); -lean_ctor_set(x_137, 2, x_124); -lean_ctor_set(x_137, 3, x_125); -x_138 = lean_st_ref_set(x_4, x_137, x_122); -lean_dec(x_4); -x_139 = lean_ctor_get(x_138, 1); -lean_inc(x_139); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_140 = x_138; +if (lean_is_scalar(x_136)) { + x_137 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_138); - x_140 = lean_box(0); + x_137 = x_136; } -if (lean_is_scalar(x_140)) { - x_141 = lean_alloc_ctor(0, 2, 0); -} else { - x_141 = x_140; -} -lean_ctor_set(x_141, 0, x_112); -lean_ctor_set(x_141, 1, x_139); -return x_141; +lean_ctor_set(x_137, 0, x_109); +lean_ctor_set(x_137, 1, x_135); +return x_137; } else { -lean_object* x_142; +lean_object* x_138; lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -if (lean_is_scalar(x_114)) { - x_142 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_111)) { + x_138 = lean_alloc_ctor(0, 2, 0); } else { - x_142 = x_114; + x_138 = x_111; } -lean_ctor_set(x_142, 0, x_112); -lean_ctor_set(x_142, 1, x_113); -return x_142; +lean_ctor_set(x_138, 0, x_109); +lean_ctor_set(x_138, 1, x_110); +return x_138; } } else { -lean_object* x_143; +lean_object* x_139; lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -if (lean_is_scalar(x_114)) { - x_143 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_111)) { + x_139 = lean_alloc_ctor(0, 2, 0); } else { - x_143 = x_114; + x_139 = x_111; } -lean_ctor_set(x_143, 0, x_112); -lean_ctor_set(x_143, 1, x_113); +lean_ctor_set(x_139, 0, x_109); +lean_ctor_set(x_139, 1, x_110); +return x_139; +} +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_1); +x_140 = lean_ctor_get(x_108, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_108, 1); +lean_inc(x_141); +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + lean_ctor_release(x_108, 1); + x_142 = x_108; +} else { + lean_dec_ref(x_108); + x_142 = lean_box(0); +} +if (lean_is_scalar(x_142)) { + x_143 = lean_alloc_ctor(1, 2, 0); +} else { + x_143 = x_142; +} +lean_ctor_set(x_143, 0, x_140); +lean_ctor_set(x_143, 1, x_141); return x_143; } } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -x_144 = lean_ctor_get(x_111, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_111, 1); -lean_inc(x_145); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_146 = x_111; -} else { - lean_dec_ref(x_111); - x_146 = lean_box(0); -} -if (lean_is_scalar(x_146)) { - x_147 = lean_alloc_ctor(1, 2, 0); -} else { - x_147 = x_146; -} -lean_ctor_set(x_147, 0, x_144); -lean_ctor_set(x_147, 1, x_145); -return x_147; -} -} -else -{ -lean_object* x_148; lean_object* x_149; +lean_object* x_144; lean_object* x_145; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_148 = lean_ctor_get(x_110, 0); -lean_inc(x_148); -lean_dec(x_110); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_107); -return x_149; +x_144 = lean_ctor_get(x_107, 0); +lean_inc(x_144); +lean_dec(x_107); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_104); +return x_145; } } } @@ -7364,15 +7343,13 @@ return x_58; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; 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_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; x_59 = lean_ctor_get(x_47, 0); x_60 = lean_ctor_get(x_47, 1); x_61 = lean_ctor_get(x_47, 2); x_62 = lean_ctor_get(x_47, 3); x_63 = lean_ctor_get(x_47, 4); x_64 = lean_ctor_get(x_47, 5); -x_65 = lean_ctor_get(x_47, 6); -lean_inc(x_65); lean_inc(x_64); lean_inc(x_63); lean_inc(x_62); @@ -7381,62 +7358,59 @@ lean_inc(x_60); lean_inc(x_59); lean_dec(x_47); lean_inc(x_39); -x_66 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_59, x_1, x_39); -x_67 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_60); -lean_ctor_set(x_67, 2, x_61); -lean_ctor_set(x_67, 3, x_62); -lean_ctor_set(x_67, 4, x_63); -lean_ctor_set(x_67, 5, x_64); -lean_ctor_set(x_67, 6, x_65); -lean_ctor_set(x_46, 1, x_67); -x_68 = lean_st_ref_set(x_3, x_46, x_48); +x_65 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_59, x_1, x_39); +x_66 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_60); +lean_ctor_set(x_66, 2, x_61); +lean_ctor_set(x_66, 3, x_62); +lean_ctor_set(x_66, 4, x_63); +lean_ctor_set(x_66, 5, x_64); +lean_ctor_set(x_46, 1, x_66); +x_67 = lean_st_ref_set(x_3, x_46, x_48); lean_dec(x_3); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_70 = x_68; +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_69 = x_67; } else { - lean_dec_ref(x_68); - x_70 = lean_box(0); + lean_dec_ref(x_67); + x_69 = lean_box(0); } -if (lean_is_scalar(x_70)) { - x_71 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_69)) { + x_70 = lean_alloc_ctor(0, 2, 0); } else { - x_71 = x_70; + x_70 = x_69; } -lean_ctor_set(x_71, 0, x_39); -lean_ctor_set(x_71, 1, x_69); -return x_71; +lean_ctor_set(x_70, 0, x_39); +lean_ctor_set(x_70, 1, x_68); +return x_70; } } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_72 = lean_ctor_get(x_46, 0); -x_73 = lean_ctor_get(x_46, 2); -x_74 = lean_ctor_get(x_46, 3); -lean_inc(x_74); +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; 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_71 = lean_ctor_get(x_46, 0); +x_72 = lean_ctor_get(x_46, 2); +x_73 = lean_ctor_get(x_46, 3); lean_inc(x_73); lean_inc(x_72); +lean_inc(x_71); lean_dec(x_46); -x_75 = lean_ctor_get(x_47, 0); +x_74 = lean_ctor_get(x_47, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_47, 1); lean_inc(x_75); -x_76 = lean_ctor_get(x_47, 1); +x_76 = lean_ctor_get(x_47, 2); lean_inc(x_76); -x_77 = lean_ctor_get(x_47, 2); +x_77 = lean_ctor_get(x_47, 3); lean_inc(x_77); -x_78 = lean_ctor_get(x_47, 3); +x_78 = lean_ctor_get(x_47, 4); lean_inc(x_78); -x_79 = lean_ctor_get(x_47, 4); +x_79 = lean_ctor_get(x_47, 5); lean_inc(x_79); -x_80 = lean_ctor_get(x_47, 5); -lean_inc(x_80); -x_81 = lean_ctor_get(x_47, 6); -lean_inc(x_81); if (lean_is_exclusive(x_47)) { lean_ctor_release(x_47, 0); lean_ctor_release(x_47, 1); @@ -7444,51 +7418,49 @@ if (lean_is_exclusive(x_47)) { lean_ctor_release(x_47, 3); lean_ctor_release(x_47, 4); lean_ctor_release(x_47, 5); - lean_ctor_release(x_47, 6); - x_82 = x_47; + x_80 = x_47; } else { lean_dec_ref(x_47); - x_82 = lean_box(0); + x_80 = lean_box(0); } lean_inc(x_39); -x_83 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_75, x_1, x_39); -if (lean_is_scalar(x_82)) { - x_84 = lean_alloc_ctor(0, 7, 0); +x_81 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_74, x_1, x_39); +if (lean_is_scalar(x_80)) { + x_82 = lean_alloc_ctor(0, 6, 0); } else { - x_84 = x_82; + x_82 = x_80; } -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_76); -lean_ctor_set(x_84, 2, x_77); -lean_ctor_set(x_84, 3, x_78); -lean_ctor_set(x_84, 4, x_79); -lean_ctor_set(x_84, 5, x_80); -lean_ctor_set(x_84, 6, x_81); -x_85 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_85, 0, x_72); -lean_ctor_set(x_85, 1, x_84); -lean_ctor_set(x_85, 2, x_73); -lean_ctor_set(x_85, 3, x_74); -x_86 = lean_st_ref_set(x_3, x_85, x_48); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_75); +lean_ctor_set(x_82, 2, x_76); +lean_ctor_set(x_82, 3, x_77); +lean_ctor_set(x_82, 4, x_78); +lean_ctor_set(x_82, 5, x_79); +x_83 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_83, 0, x_71); +lean_ctor_set(x_83, 1, x_82); +lean_ctor_set(x_83, 2, x_72); +lean_ctor_set(x_83, 3, x_73); +x_84 = lean_st_ref_set(x_3, x_83, x_48); lean_dec(x_3); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_88 = x_86; +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_86 = x_84; } else { - lean_dec_ref(x_86); - x_88 = lean_box(0); + lean_dec_ref(x_84); + x_86 = lean_box(0); } -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_86)) { + x_87 = lean_alloc_ctor(0, 2, 0); } else { - x_89 = x_88; + x_87 = x_86; } -lean_ctor_set(x_89, 0, x_39); -lean_ctor_set(x_89, 1, x_87); -return x_89; +lean_ctor_set(x_87, 0, x_39); +lean_ctor_set(x_87, 1, x_85); +return x_87; } } else @@ -7509,174 +7481,170 @@ return x_37; } else { -lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_90 = lean_ctor_get(x_37, 0); -x_91 = lean_ctor_get(x_37, 1); -lean_inc(x_91); -lean_inc(x_90); +lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_88 = lean_ctor_get(x_37, 0); +x_89 = lean_ctor_get(x_37, 1); +lean_inc(x_89); +lean_inc(x_88); lean_dec(x_37); -x_92 = l_Lean_Expr_hasMVar(x_1); -if (x_92 == 0) +x_90 = l_Lean_Expr_hasMVar(x_1); +if (x_90 == 0) { -uint8_t x_93; -x_93 = l_Lean_Expr_hasMVar(x_90); -if (x_93 == 0) +uint8_t x_91; +x_91 = l_Lean_Expr_hasMVar(x_88); +if (x_91 == 0) { -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; 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; -x_94 = lean_st_ref_get(x_5, x_91); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_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_92 = lean_st_ref_get(x_5, x_89); lean_dec(x_5); -x_95 = lean_ctor_get(x_94, 1); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +lean_dec(x_92); +x_94 = lean_st_ref_take(x_3, x_93); +x_95 = lean_ctor_get(x_94, 0); lean_inc(x_95); -lean_dec(x_94); -x_96 = lean_st_ref_take(x_3, x_95); -x_97 = lean_ctor_get(x_96, 0); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +x_97 = lean_ctor_get(x_94, 1); lean_inc(x_97); -x_98 = lean_ctor_get(x_97, 1); +lean_dec(x_94); +x_98 = lean_ctor_get(x_95, 0); lean_inc(x_98); -x_99 = lean_ctor_get(x_96, 1); +x_99 = lean_ctor_get(x_95, 2); lean_inc(x_99); -lean_dec(x_96); -x_100 = lean_ctor_get(x_97, 0); +x_100 = lean_ctor_get(x_95, 3); lean_inc(x_100); -x_101 = lean_ctor_get(x_97, 2); -lean_inc(x_101); -x_102 = lean_ctor_get(x_97, 3); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + lean_ctor_release(x_95, 2); + lean_ctor_release(x_95, 3); + x_101 = x_95; +} else { + lean_dec_ref(x_95); + x_101 = lean_box(0); +} +x_102 = lean_ctor_get(x_96, 0); lean_inc(x_102); -if (lean_is_exclusive(x_97)) { - lean_ctor_release(x_97, 0); - lean_ctor_release(x_97, 1); - lean_ctor_release(x_97, 2); - lean_ctor_release(x_97, 3); - x_103 = x_97; -} else { - lean_dec_ref(x_97); - x_103 = lean_box(0); -} -x_104 = lean_ctor_get(x_98, 0); +x_103 = lean_ctor_get(x_96, 1); +lean_inc(x_103); +x_104 = lean_ctor_get(x_96, 2); lean_inc(x_104); -x_105 = lean_ctor_get(x_98, 1); +x_105 = lean_ctor_get(x_96, 3); lean_inc(x_105); -x_106 = lean_ctor_get(x_98, 2); +x_106 = lean_ctor_get(x_96, 4); lean_inc(x_106); -x_107 = lean_ctor_get(x_98, 3); +x_107 = lean_ctor_get(x_96, 5); lean_inc(x_107); -x_108 = lean_ctor_get(x_98, 4); -lean_inc(x_108); -x_109 = lean_ctor_get(x_98, 5); -lean_inc(x_109); -x_110 = lean_ctor_get(x_98, 6); -lean_inc(x_110); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - lean_ctor_release(x_98, 2); - lean_ctor_release(x_98, 3); - lean_ctor_release(x_98, 4); - lean_ctor_release(x_98, 5); - lean_ctor_release(x_98, 6); - x_111 = x_98; +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + lean_ctor_release(x_96, 2); + lean_ctor_release(x_96, 3); + lean_ctor_release(x_96, 4); + lean_ctor_release(x_96, 5); + x_108 = x_96; } else { - lean_dec_ref(x_98); - x_111 = lean_box(0); + lean_dec_ref(x_96); + x_108 = lean_box(0); } -lean_inc(x_90); -x_112 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_104, x_1, x_90); -if (lean_is_scalar(x_111)) { - x_113 = lean_alloc_ctor(0, 7, 0); +lean_inc(x_88); +x_109 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_102, x_1, x_88); +if (lean_is_scalar(x_108)) { + x_110 = lean_alloc_ctor(0, 6, 0); } else { - x_113 = x_111; + x_110 = x_108; } -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_105); -lean_ctor_set(x_113, 2, x_106); -lean_ctor_set(x_113, 3, x_107); -lean_ctor_set(x_113, 4, x_108); -lean_ctor_set(x_113, 5, x_109); -lean_ctor_set(x_113, 6, x_110); -if (lean_is_scalar(x_103)) { - x_114 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_103); +lean_ctor_set(x_110, 2, x_104); +lean_ctor_set(x_110, 3, x_105); +lean_ctor_set(x_110, 4, x_106); +lean_ctor_set(x_110, 5, x_107); +if (lean_is_scalar(x_101)) { + x_111 = lean_alloc_ctor(0, 4, 0); } else { - x_114 = x_103; + x_111 = x_101; } -lean_ctor_set(x_114, 0, x_100); -lean_ctor_set(x_114, 1, x_113); -lean_ctor_set(x_114, 2, x_101); -lean_ctor_set(x_114, 3, x_102); -x_115 = lean_st_ref_set(x_3, x_114, x_99); +lean_ctor_set(x_111, 0, x_98); +lean_ctor_set(x_111, 1, x_110); +lean_ctor_set(x_111, 2, x_99); +lean_ctor_set(x_111, 3, x_100); +x_112 = lean_st_ref_set(x_3, x_111, x_97); lean_dec(x_3); -x_116 = lean_ctor_get(x_115, 1); -lean_inc(x_116); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - x_117 = x_115; +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_114 = x_112; } else { - lean_dec_ref(x_115); - x_117 = lean_box(0); + lean_dec_ref(x_112); + x_114 = lean_box(0); } -if (lean_is_scalar(x_117)) { - x_118 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_114)) { + x_115 = lean_alloc_ctor(0, 2, 0); } else { - x_118 = x_117; + x_115 = x_114; } -lean_ctor_set(x_118, 0, x_90); -lean_ctor_set(x_118, 1, x_116); -return x_118; +lean_ctor_set(x_115, 0, x_88); +lean_ctor_set(x_115, 1, x_113); +return x_115; } else { -lean_object* x_119; +lean_object* x_116; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_119 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_119, 0, x_90); -lean_ctor_set(x_119, 1, x_91); -return x_119; +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_88); +lean_ctor_set(x_116, 1, x_89); +return x_116; } } else { -lean_object* x_120; +lean_object* x_117; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_90); -lean_ctor_set(x_120, 1, x_91); -return x_120; +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_88); +lean_ctor_set(x_117, 1, x_89); +return x_117; } } } else { -uint8_t x_121; +uint8_t x_118; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_121 = !lean_is_exclusive(x_37); -if (x_121 == 0) +x_118 = !lean_is_exclusive(x_37); +if (x_118 == 0) { return x_37; } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_37, 0); -x_123 = lean_ctor_get(x_37, 1); -lean_inc(x_123); -lean_inc(x_122); +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_37, 0); +x_120 = lean_ctor_get(x_37, 1); +lean_inc(x_120); +lean_inc(x_119); lean_dec(x_37); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -return x_124; +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +return x_121; } } } else { -lean_object* x_125; +lean_object* x_122; lean_dec(x_27); lean_dec(x_23); lean_dec(x_5); @@ -7684,222 +7652,218 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_125 = lean_ctor_get(x_36, 0); -lean_inc(x_125); +x_122 = lean_ctor_get(x_36, 0); +lean_inc(x_122); lean_dec(x_36); -lean_ctor_set(x_30, 0, x_125); +lean_ctor_set(x_30, 0, x_122); return x_30; } } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_126 = lean_ctor_get(x_30, 0); -x_127 = lean_ctor_get(x_30, 1); -lean_inc(x_127); -lean_inc(x_126); +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_30, 0); +x_124 = lean_ctor_get(x_30, 1); +lean_inc(x_124); +lean_inc(x_123); lean_dec(x_30); -x_128 = lean_ctor_get(x_126, 1); -lean_inc(x_128); -lean_dec(x_126); -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -lean_dec(x_128); +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec(x_123); +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +lean_dec(x_125); lean_inc(x_1); -x_130 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_129, x_1); -if (lean_obj_tag(x_130) == 0) +x_127 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_126, x_1); +if (lean_obj_tag(x_127) == 0) { -lean_object* x_131; +lean_object* x_128; lean_inc(x_5); lean_inc(x_3); -x_131 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferConstType(x_27, x_23, x_2, x_3, x_4, x_5, x_127); -if (lean_obj_tag(x_131) == 0) +x_128 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferConstType(x_27, x_23, x_2, x_3, x_4, x_5, x_124); +if (lean_obj_tag(x_128) == 0) { -lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - x_134 = x_131; +lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); +lean_inc(x_130); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_131 = x_128; } else { - lean_dec_ref(x_131); - x_134 = lean_box(0); + lean_dec_ref(x_128); + x_131 = lean_box(0); } -x_135 = l_Lean_Expr_hasMVar(x_1); -if (x_135 == 0) +x_132 = l_Lean_Expr_hasMVar(x_1); +if (x_132 == 0) { -uint8_t x_136; -x_136 = l_Lean_Expr_hasMVar(x_132); -if (x_136 == 0) +uint8_t x_133; +x_133 = l_Lean_Expr_hasMVar(x_129); +if (x_133 == 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_object* x_159; lean_object* x_160; lean_object* x_161; -lean_dec(x_134); -x_137 = lean_st_ref_get(x_5, 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; 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_dec(x_131); +x_134 = lean_st_ref_get(x_5, x_130); lean_dec(x_5); +x_135 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +lean_dec(x_134); +x_136 = lean_st_ref_take(x_3, x_135); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); x_138 = lean_ctor_get(x_137, 1); lean_inc(x_138); -lean_dec(x_137); -x_139 = lean_st_ref_take(x_3, x_138); -x_140 = lean_ctor_get(x_139, 0); +x_139 = lean_ctor_get(x_136, 1); +lean_inc(x_139); +lean_dec(x_136); +x_140 = lean_ctor_get(x_137, 0); lean_inc(x_140); -x_141 = lean_ctor_get(x_140, 1); +x_141 = lean_ctor_get(x_137, 2); lean_inc(x_141); -x_142 = lean_ctor_get(x_139, 1); +x_142 = lean_ctor_get(x_137, 3); lean_inc(x_142); -lean_dec(x_139); -x_143 = lean_ctor_get(x_140, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_140, 2); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + lean_ctor_release(x_137, 2); + lean_ctor_release(x_137, 3); + x_143 = x_137; +} else { + lean_dec_ref(x_137); + x_143 = lean_box(0); +} +x_144 = lean_ctor_get(x_138, 0); lean_inc(x_144); -x_145 = lean_ctor_get(x_140, 3); +x_145 = lean_ctor_get(x_138, 1); lean_inc(x_145); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - lean_ctor_release(x_140, 1); - lean_ctor_release(x_140, 2); - lean_ctor_release(x_140, 3); - x_146 = x_140; -} else { - lean_dec_ref(x_140); - x_146 = lean_box(0); -} -x_147 = lean_ctor_get(x_141, 0); +x_146 = lean_ctor_get(x_138, 2); +lean_inc(x_146); +x_147 = lean_ctor_get(x_138, 3); lean_inc(x_147); -x_148 = lean_ctor_get(x_141, 1); +x_148 = lean_ctor_get(x_138, 4); lean_inc(x_148); -x_149 = lean_ctor_get(x_141, 2); +x_149 = lean_ctor_get(x_138, 5); lean_inc(x_149); -x_150 = lean_ctor_get(x_141, 3); -lean_inc(x_150); -x_151 = lean_ctor_get(x_141, 4); -lean_inc(x_151); -x_152 = lean_ctor_get(x_141, 5); -lean_inc(x_152); -x_153 = lean_ctor_get(x_141, 6); -lean_inc(x_153); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - lean_ctor_release(x_141, 2); - lean_ctor_release(x_141, 3); - lean_ctor_release(x_141, 4); - lean_ctor_release(x_141, 5); - lean_ctor_release(x_141, 6); - x_154 = x_141; +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_150 = x_138; } else { - lean_dec_ref(x_141); - x_154 = lean_box(0); + lean_dec_ref(x_138); + x_150 = lean_box(0); } -lean_inc(x_132); -x_155 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_147, x_1, x_132); -if (lean_is_scalar(x_154)) { - x_156 = lean_alloc_ctor(0, 7, 0); +lean_inc(x_129); +x_151 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_144, x_1, x_129); +if (lean_is_scalar(x_150)) { + x_152 = lean_alloc_ctor(0, 6, 0); } else { + x_152 = x_150; +} +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_145); +lean_ctor_set(x_152, 2, x_146); +lean_ctor_set(x_152, 3, x_147); +lean_ctor_set(x_152, 4, x_148); +lean_ctor_set(x_152, 5, x_149); +if (lean_is_scalar(x_143)) { + x_153 = lean_alloc_ctor(0, 4, 0); +} else { + x_153 = x_143; +} +lean_ctor_set(x_153, 0, x_140); +lean_ctor_set(x_153, 1, x_152); +lean_ctor_set(x_153, 2, x_141); +lean_ctor_set(x_153, 3, x_142); +x_154 = lean_st_ref_set(x_3, x_153, x_139); +lean_dec(x_3); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); x_156 = x_154; -} -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_148); -lean_ctor_set(x_156, 2, x_149); -lean_ctor_set(x_156, 3, x_150); -lean_ctor_set(x_156, 4, x_151); -lean_ctor_set(x_156, 5, x_152); -lean_ctor_set(x_156, 6, x_153); -if (lean_is_scalar(x_146)) { - x_157 = lean_alloc_ctor(0, 4, 0); } else { - x_157 = x_146; + lean_dec_ref(x_154); + x_156 = lean_box(0); } -lean_ctor_set(x_157, 0, x_143); -lean_ctor_set(x_157, 1, x_156); -lean_ctor_set(x_157, 2, x_144); -lean_ctor_set(x_157, 3, x_145); -x_158 = lean_st_ref_set(x_3, x_157, x_142); -lean_dec(x_3); -x_159 = lean_ctor_get(x_158, 1); -lean_inc(x_159); -if (lean_is_exclusive(x_158)) { - lean_ctor_release(x_158, 0); - lean_ctor_release(x_158, 1); - x_160 = x_158; +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_158); - x_160 = lean_box(0); + x_157 = x_156; } -if (lean_is_scalar(x_160)) { - x_161 = lean_alloc_ctor(0, 2, 0); -} else { - x_161 = x_160; -} -lean_ctor_set(x_161, 0, x_132); -lean_ctor_set(x_161, 1, x_159); -return x_161; +lean_ctor_set(x_157, 0, x_129); +lean_ctor_set(x_157, 1, x_155); +return x_157; } else { -lean_object* x_162; +lean_object* x_158; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -if (lean_is_scalar(x_134)) { - x_162 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_131)) { + x_158 = lean_alloc_ctor(0, 2, 0); } else { - x_162 = x_134; + x_158 = x_131; } -lean_ctor_set(x_162, 0, x_132); -lean_ctor_set(x_162, 1, x_133); -return x_162; +lean_ctor_set(x_158, 0, x_129); +lean_ctor_set(x_158, 1, x_130); +return x_158; } } else { -lean_object* x_163; +lean_object* x_159; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -if (lean_is_scalar(x_134)) { - x_163 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_131)) { + x_159 = lean_alloc_ctor(0, 2, 0); } else { - x_163 = x_134; + x_159 = x_131; } -lean_ctor_set(x_163, 0, x_132); -lean_ctor_set(x_163, 1, x_133); +lean_ctor_set(x_159, 0, x_129); +lean_ctor_set(x_159, 1, x_130); +return x_159; +} +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_160 = lean_ctor_get(x_128, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_128, 1); +lean_inc(x_161); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_162 = x_128; +} else { + lean_dec_ref(x_128); + x_162 = lean_box(0); +} +if (lean_is_scalar(x_162)) { + x_163 = lean_alloc_ctor(1, 2, 0); +} else { + x_163 = x_162; +} +lean_ctor_set(x_163, 0, x_160); +lean_ctor_set(x_163, 1, x_161); return x_163; } } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_164 = lean_ctor_get(x_131, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_131, 1); -lean_inc(x_165); -if (lean_is_exclusive(x_131)) { - lean_ctor_release(x_131, 0); - lean_ctor_release(x_131, 1); - x_166 = x_131; -} else { - lean_dec_ref(x_131); - x_166 = lean_box(0); -} -if (lean_is_scalar(x_166)) { - x_167 = lean_alloc_ctor(1, 2, 0); -} else { - x_167 = x_166; -} -lean_ctor_set(x_167, 0, x_164); -lean_ctor_set(x_167, 1, x_165); -return x_167; -} -} -else -{ -lean_object* x_168; lean_object* x_169; +lean_object* x_164; lean_object* x_165; lean_dec(x_27); lean_dec(x_23); lean_dec(x_5); @@ -7907,256 +7871,249 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_168 = lean_ctor_get(x_130, 0); -lean_inc(x_168); -lean_dec(x_130); -x_169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_127); -return x_169; +x_164 = lean_ctor_get(x_127, 0); +lean_inc(x_164); +lean_dec(x_127); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_124); +return x_165; } } } } case 5: { -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; uint8_t x_182; -x_170 = lean_ctor_get(x_1, 0); -lean_inc(x_170); -x_171 = l_Lean_Expr_getAppFn(x_170); -lean_dec(x_170); -x_172 = lean_unsigned_to_nat(0u); -x_173 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_172); -x_174 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___closed__1; -lean_inc(x_173); -x_175 = lean_mk_array(x_173, x_174); -x_176 = lean_unsigned_to_nat(1u); -x_177 = lean_nat_sub(x_173, x_176); -lean_dec(x_173); +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; uint8_t x_178; +x_166 = lean_ctor_get(x_1, 0); +lean_inc(x_166); +x_167 = l_Lean_Expr_getAppFn(x_166); +lean_dec(x_166); +x_168 = lean_unsigned_to_nat(0u); +x_169 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_168); +x_170 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___closed__1; +lean_inc(x_169); +x_171 = lean_mk_array(x_169, x_170); +x_172 = lean_unsigned_to_nat(1u); +x_173 = lean_nat_sub(x_169, x_172); +lean_dec(x_169); lean_inc(x_1); -x_178 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_175, x_177); -x_179 = lean_st_ref_get(x_5, x_6); -x_180 = lean_ctor_get(x_179, 1); -lean_inc(x_180); +x_174 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_171, x_173); +x_175 = lean_st_ref_get(x_5, x_6); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +lean_dec(x_175); +x_177 = lean_st_ref_get(x_3, x_176); +x_178 = !lean_is_exclusive(x_177); +if (x_178 == 0) +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_179 = lean_ctor_get(x_177, 0); +x_180 = lean_ctor_get(x_177, 1); +x_181 = lean_ctor_get(x_179, 1); +lean_inc(x_181); lean_dec(x_179); -x_181 = lean_st_ref_get(x_3, x_180); -x_182 = !lean_is_exclusive(x_181); -if (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_181, 0); -x_184 = lean_ctor_get(x_181, 1); -x_185 = lean_ctor_get(x_183, 1); -lean_inc(x_185); -lean_dec(x_183); -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -lean_dec(x_185); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +lean_dec(x_181); lean_inc(x_1); -x_187 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_186, x_1); -if (lean_obj_tag(x_187) == 0) +x_183 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_182, x_1); +if (lean_obj_tag(x_183) == 0) { -lean_object* x_188; -lean_free_object(x_181); +lean_object* x_184; +lean_free_object(x_177); lean_inc(x_5); lean_inc(x_3); -x_188 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType(x_171, x_178, x_2, x_3, x_4, x_5, x_184); -lean_dec(x_178); -if (lean_obj_tag(x_188) == 0) +x_184 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType(x_167, x_174, x_2, x_3, x_4, x_5, x_180); +lean_dec(x_174); +if (lean_obj_tag(x_184) == 0) +{ +uint8_t x_185; +x_185 = !lean_is_exclusive(x_184); +if (x_185 == 0) +{ +lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_186 = lean_ctor_get(x_184, 0); +x_187 = lean_ctor_get(x_184, 1); +x_188 = l_Lean_Expr_hasMVar(x_1); +if (x_188 == 0) { uint8_t x_189; -x_189 = !lean_is_exclusive(x_188); +x_189 = l_Lean_Expr_hasMVar(x_186); if (x_189 == 0) { -lean_object* x_190; lean_object* x_191; uint8_t x_192; -x_190 = lean_ctor_get(x_188, 0); -x_191 = lean_ctor_get(x_188, 1); -x_192 = l_Lean_Expr_hasMVar(x_1); -if (x_192 == 0) -{ -uint8_t x_193; -x_193 = l_Lean_Expr_hasMVar(x_190); -if (x_193 == 0) -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; -lean_free_object(x_188); -x_194 = lean_st_ref_get(x_5, x_191); +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; +lean_free_object(x_184); +x_190 = lean_st_ref_get(x_5, x_187); lean_dec(x_5); -x_195 = lean_ctor_get(x_194, 1); +x_191 = lean_ctor_get(x_190, 1); +lean_inc(x_191); +lean_dec(x_190); +x_192 = lean_st_ref_take(x_3, x_191); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_193, 1); +lean_inc(x_194); +x_195 = lean_ctor_get(x_192, 1); lean_inc(x_195); -lean_dec(x_194); -x_196 = lean_st_ref_take(x_3, x_195); -x_197 = lean_ctor_get(x_196, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_197, 1); -lean_inc(x_198); -x_199 = lean_ctor_get(x_196, 1); -lean_inc(x_199); -lean_dec(x_196); -x_200 = !lean_is_exclusive(x_197); -if (x_200 == 0) +lean_dec(x_192); +x_196 = !lean_is_exclusive(x_193); +if (x_196 == 0) { -lean_object* x_201; uint8_t x_202; -x_201 = lean_ctor_get(x_197, 1); -lean_dec(x_201); -x_202 = !lean_is_exclusive(x_198); +lean_object* x_197; uint8_t x_198; +x_197 = lean_ctor_get(x_193, 1); +lean_dec(x_197); +x_198 = !lean_is_exclusive(x_194); +if (x_198 == 0) +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; +x_199 = lean_ctor_get(x_194, 0); +lean_inc(x_186); +x_200 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_199, x_1, x_186); +lean_ctor_set(x_194, 0, x_200); +x_201 = lean_st_ref_set(x_3, x_193, x_195); +lean_dec(x_3); +x_202 = !lean_is_exclusive(x_201); if (x_202 == 0) { -lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t x_206; -x_203 = lean_ctor_get(x_198, 0); -lean_inc(x_190); -x_204 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_203, x_1, x_190); -lean_ctor_set(x_198, 0, x_204); -x_205 = lean_st_ref_set(x_3, x_197, x_199); -lean_dec(x_3); -x_206 = !lean_is_exclusive(x_205); -if (x_206 == 0) +lean_object* x_203; +x_203 = lean_ctor_get(x_201, 0); +lean_dec(x_203); +lean_ctor_set(x_201, 0, x_186); +return x_201; +} +else { -lean_object* x_207; -x_207 = lean_ctor_get(x_205, 0); -lean_dec(x_207); -lean_ctor_set(x_205, 0, x_190); +lean_object* x_204; lean_object* x_205; +x_204 = lean_ctor_get(x_201, 1); +lean_inc(x_204); +lean_dec(x_201); +x_205 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_205, 0, x_186); +lean_ctor_set(x_205, 1, x_204); return x_205; } -else -{ -lean_object* x_208; lean_object* x_209; -x_208 = lean_ctor_get(x_205, 1); -lean_inc(x_208); -lean_dec(x_205); -x_209 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_209, 0, x_190); -lean_ctor_set(x_209, 1, x_208); -return x_209; -} } else { -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_object* x_221; lean_object* x_222; -x_210 = lean_ctor_get(x_198, 0); -x_211 = lean_ctor_get(x_198, 1); -x_212 = lean_ctor_get(x_198, 2); -x_213 = lean_ctor_get(x_198, 3); -x_214 = lean_ctor_get(x_198, 4); -x_215 = lean_ctor_get(x_198, 5); -x_216 = lean_ctor_get(x_198, 6); -lean_inc(x_216); -lean_inc(x_215); -lean_inc(x_214); -lean_inc(x_213); -lean_inc(x_212); +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; +x_206 = lean_ctor_get(x_194, 0); +x_207 = lean_ctor_get(x_194, 1); +x_208 = lean_ctor_get(x_194, 2); +x_209 = lean_ctor_get(x_194, 3); +x_210 = lean_ctor_get(x_194, 4); +x_211 = lean_ctor_get(x_194, 5); lean_inc(x_211); lean_inc(x_210); -lean_dec(x_198); -lean_inc(x_190); -x_217 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_210, x_1, x_190); -x_218 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_211); -lean_ctor_set(x_218, 2, x_212); -lean_ctor_set(x_218, 3, x_213); -lean_ctor_set(x_218, 4, x_214); -lean_ctor_set(x_218, 5, x_215); -lean_ctor_set(x_218, 6, x_216); -lean_ctor_set(x_197, 1, x_218); -x_219 = lean_st_ref_set(x_3, x_197, x_199); +lean_inc(x_209); +lean_inc(x_208); +lean_inc(x_207); +lean_inc(x_206); +lean_dec(x_194); +lean_inc(x_186); +x_212 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_206, x_1, x_186); +x_213 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_213, 0, x_212); +lean_ctor_set(x_213, 1, x_207); +lean_ctor_set(x_213, 2, x_208); +lean_ctor_set(x_213, 3, x_209); +lean_ctor_set(x_213, 4, x_210); +lean_ctor_set(x_213, 5, x_211); +lean_ctor_set(x_193, 1, x_213); +x_214 = lean_st_ref_set(x_3, x_193, x_195); lean_dec(x_3); -x_220 = lean_ctor_get(x_219, 1); -lean_inc(x_220); -if (lean_is_exclusive(x_219)) { - lean_ctor_release(x_219, 0); - lean_ctor_release(x_219, 1); - x_221 = x_219; +x_215 = lean_ctor_get(x_214, 1); +lean_inc(x_215); +if (lean_is_exclusive(x_214)) { + lean_ctor_release(x_214, 0); + lean_ctor_release(x_214, 1); + x_216 = x_214; } else { - lean_dec_ref(x_219); - x_221 = lean_box(0); + lean_dec_ref(x_214); + x_216 = lean_box(0); } -if (lean_is_scalar(x_221)) { - x_222 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_216)) { + x_217 = lean_alloc_ctor(0, 2, 0); } else { - x_222 = x_221; + x_217 = x_216; } -lean_ctor_set(x_222, 0, x_190); -lean_ctor_set(x_222, 1, x_220); -return x_222; +lean_ctor_set(x_217, 0, x_186); +lean_ctor_set(x_217, 1, x_215); +return x_217; } } else { -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; -x_223 = lean_ctor_get(x_197, 0); -x_224 = lean_ctor_get(x_197, 2); -x_225 = lean_ctor_get(x_197, 3); -lean_inc(x_225); -lean_inc(x_224); +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; +x_218 = lean_ctor_get(x_193, 0); +x_219 = lean_ctor_get(x_193, 2); +x_220 = lean_ctor_get(x_193, 3); +lean_inc(x_220); +lean_inc(x_219); +lean_inc(x_218); +lean_dec(x_193); +x_221 = lean_ctor_get(x_194, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_194, 1); +lean_inc(x_222); +x_223 = lean_ctor_get(x_194, 2); lean_inc(x_223); -lean_dec(x_197); -x_226 = lean_ctor_get(x_198, 0); +x_224 = lean_ctor_get(x_194, 3); +lean_inc(x_224); +x_225 = lean_ctor_get(x_194, 4); +lean_inc(x_225); +x_226 = lean_ctor_get(x_194, 5); lean_inc(x_226); -x_227 = lean_ctor_get(x_198, 1); -lean_inc(x_227); -x_228 = lean_ctor_get(x_198, 2); -lean_inc(x_228); -x_229 = lean_ctor_get(x_198, 3); -lean_inc(x_229); -x_230 = lean_ctor_get(x_198, 4); -lean_inc(x_230); -x_231 = lean_ctor_get(x_198, 5); -lean_inc(x_231); -x_232 = lean_ctor_get(x_198, 6); -lean_inc(x_232); -if (lean_is_exclusive(x_198)) { - lean_ctor_release(x_198, 0); - lean_ctor_release(x_198, 1); - lean_ctor_release(x_198, 2); - lean_ctor_release(x_198, 3); - lean_ctor_release(x_198, 4); - lean_ctor_release(x_198, 5); - lean_ctor_release(x_198, 6); - x_233 = x_198; +if (lean_is_exclusive(x_194)) { + lean_ctor_release(x_194, 0); + lean_ctor_release(x_194, 1); + lean_ctor_release(x_194, 2); + lean_ctor_release(x_194, 3); + lean_ctor_release(x_194, 4); + lean_ctor_release(x_194, 5); + x_227 = x_194; } else { - lean_dec_ref(x_198); + lean_dec_ref(x_194); + x_227 = lean_box(0); +} +lean_inc(x_186); +x_228 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_221, x_1, x_186); +if (lean_is_scalar(x_227)) { + x_229 = lean_alloc_ctor(0, 6, 0); +} else { + x_229 = x_227; +} +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_222); +lean_ctor_set(x_229, 2, x_223); +lean_ctor_set(x_229, 3, x_224); +lean_ctor_set(x_229, 4, x_225); +lean_ctor_set(x_229, 5, x_226); +x_230 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_230, 0, x_218); +lean_ctor_set(x_230, 1, x_229); +lean_ctor_set(x_230, 2, x_219); +lean_ctor_set(x_230, 3, x_220); +x_231 = lean_st_ref_set(x_3, x_230, x_195); +lean_dec(x_3); +x_232 = lean_ctor_get(x_231, 1); +lean_inc(x_232); +if (lean_is_exclusive(x_231)) { + lean_ctor_release(x_231, 0); + lean_ctor_release(x_231, 1); + x_233 = x_231; +} else { + lean_dec_ref(x_231); x_233 = lean_box(0); } -lean_inc(x_190); -x_234 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_226, x_1, x_190); if (lean_is_scalar(x_233)) { - x_235 = lean_alloc_ctor(0, 7, 0); + x_234 = lean_alloc_ctor(0, 2, 0); } else { - x_235 = x_233; + x_234 = x_233; } -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_227); -lean_ctor_set(x_235, 2, x_228); -lean_ctor_set(x_235, 3, x_229); -lean_ctor_set(x_235, 4, x_230); -lean_ctor_set(x_235, 5, x_231); -lean_ctor_set(x_235, 6, x_232); -x_236 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_236, 0, x_223); -lean_ctor_set(x_236, 1, x_235); -lean_ctor_set(x_236, 2, x_224); -lean_ctor_set(x_236, 3, x_225); -x_237 = lean_st_ref_set(x_3, x_236, x_199); -lean_dec(x_3); -x_238 = lean_ctor_get(x_237, 1); -lean_inc(x_238); -if (lean_is_exclusive(x_237)) { - lean_ctor_release(x_237, 0); - lean_ctor_release(x_237, 1); - x_239 = x_237; -} else { - lean_dec_ref(x_237); - x_239 = lean_box(0); -} -if (lean_is_scalar(x_239)) { - x_240 = lean_alloc_ctor(0, 2, 0); -} else { - x_240 = x_239; -} -lean_ctor_set(x_240, 0, x_190); -lean_ctor_set(x_240, 1, x_238); -return x_240; +lean_ctor_set(x_234, 0, x_186); +lean_ctor_set(x_234, 1, x_232); +return x_234; } } else @@ -8164,7 +8121,7 @@ else lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -return x_188; +return x_184; } } else @@ -8172,646 +8129,631 @@ else lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -return x_188; +return x_184; } } else { -lean_object* x_241; lean_object* x_242; uint8_t x_243; -x_241 = lean_ctor_get(x_188, 0); -x_242 = lean_ctor_get(x_188, 1); +lean_object* x_235; lean_object* x_236; uint8_t x_237; +x_235 = lean_ctor_get(x_184, 0); +x_236 = lean_ctor_get(x_184, 1); +lean_inc(x_236); +lean_inc(x_235); +lean_dec(x_184); +x_237 = l_Lean_Expr_hasMVar(x_1); +if (x_237 == 0) +{ +uint8_t x_238; +x_238 = l_Lean_Expr_hasMVar(x_235); +if (x_238 == 0) +{ +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_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_260; lean_object* x_261; lean_object* x_262; +x_239 = lean_st_ref_get(x_5, x_236); +lean_dec(x_5); +x_240 = lean_ctor_get(x_239, 1); +lean_inc(x_240); +lean_dec(x_239); +x_241 = lean_st_ref_take(x_3, x_240); +x_242 = lean_ctor_get(x_241, 0); lean_inc(x_242); -lean_inc(x_241); -lean_dec(x_188); -x_243 = l_Lean_Expr_hasMVar(x_1); -if (x_243 == 0) -{ -uint8_t x_244; -x_244 = l_Lean_Expr_hasMVar(x_241); -if (x_244 == 0) -{ -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_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; lean_object* x_269; -x_245 = lean_st_ref_get(x_5, x_242); -lean_dec(x_5); -x_246 = lean_ctor_get(x_245, 1); +x_243 = lean_ctor_get(x_242, 1); +lean_inc(x_243); +x_244 = lean_ctor_get(x_241, 1); +lean_inc(x_244); +lean_dec(x_241); +x_245 = lean_ctor_get(x_242, 0); +lean_inc(x_245); +x_246 = lean_ctor_get(x_242, 2); lean_inc(x_246); -lean_dec(x_245); -x_247 = lean_st_ref_take(x_3, x_246); -x_248 = lean_ctor_get(x_247, 0); -lean_inc(x_248); -x_249 = lean_ctor_get(x_248, 1); +x_247 = lean_ctor_get(x_242, 3); +lean_inc(x_247); +if (lean_is_exclusive(x_242)) { + lean_ctor_release(x_242, 0); + lean_ctor_release(x_242, 1); + lean_ctor_release(x_242, 2); + lean_ctor_release(x_242, 3); + x_248 = x_242; +} else { + lean_dec_ref(x_242); + x_248 = lean_box(0); +} +x_249 = lean_ctor_get(x_243, 0); lean_inc(x_249); -x_250 = lean_ctor_get(x_247, 1); +x_250 = lean_ctor_get(x_243, 1); lean_inc(x_250); -lean_dec(x_247); -x_251 = lean_ctor_get(x_248, 0); +x_251 = lean_ctor_get(x_243, 2); lean_inc(x_251); -x_252 = lean_ctor_get(x_248, 2); +x_252 = lean_ctor_get(x_243, 3); lean_inc(x_252); -x_253 = lean_ctor_get(x_248, 3); +x_253 = lean_ctor_get(x_243, 4); lean_inc(x_253); -if (lean_is_exclusive(x_248)) { - lean_ctor_release(x_248, 0); - lean_ctor_release(x_248, 1); - lean_ctor_release(x_248, 2); - lean_ctor_release(x_248, 3); - x_254 = x_248; +x_254 = lean_ctor_get(x_243, 5); +lean_inc(x_254); +if (lean_is_exclusive(x_243)) { + lean_ctor_release(x_243, 0); + lean_ctor_release(x_243, 1); + lean_ctor_release(x_243, 2); + lean_ctor_release(x_243, 3); + lean_ctor_release(x_243, 4); + lean_ctor_release(x_243, 5); + x_255 = x_243; } else { - lean_dec_ref(x_248); - x_254 = lean_box(0); + lean_dec_ref(x_243); + x_255 = lean_box(0); } -x_255 = lean_ctor_get(x_249, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_249, 1); -lean_inc(x_256); -x_257 = lean_ctor_get(x_249, 2); -lean_inc(x_257); -x_258 = lean_ctor_get(x_249, 3); -lean_inc(x_258); -x_259 = lean_ctor_get(x_249, 4); -lean_inc(x_259); -x_260 = lean_ctor_get(x_249, 5); +lean_inc(x_235); +x_256 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_249, x_1, x_235); +if (lean_is_scalar(x_255)) { + x_257 = lean_alloc_ctor(0, 6, 0); +} else { + x_257 = x_255; +} +lean_ctor_set(x_257, 0, x_256); +lean_ctor_set(x_257, 1, x_250); +lean_ctor_set(x_257, 2, x_251); +lean_ctor_set(x_257, 3, x_252); +lean_ctor_set(x_257, 4, x_253); +lean_ctor_set(x_257, 5, x_254); +if (lean_is_scalar(x_248)) { + x_258 = lean_alloc_ctor(0, 4, 0); +} else { + x_258 = x_248; +} +lean_ctor_set(x_258, 0, x_245); +lean_ctor_set(x_258, 1, x_257); +lean_ctor_set(x_258, 2, x_246); +lean_ctor_set(x_258, 3, x_247); +x_259 = lean_st_ref_set(x_3, x_258, x_244); +lean_dec(x_3); +x_260 = lean_ctor_get(x_259, 1); lean_inc(x_260); -x_261 = lean_ctor_get(x_249, 6); -lean_inc(x_261); -if (lean_is_exclusive(x_249)) { - lean_ctor_release(x_249, 0); - lean_ctor_release(x_249, 1); - lean_ctor_release(x_249, 2); - lean_ctor_release(x_249, 3); - lean_ctor_release(x_249, 4); - lean_ctor_release(x_249, 5); - lean_ctor_release(x_249, 6); - x_262 = x_249; +if (lean_is_exclusive(x_259)) { + lean_ctor_release(x_259, 0); + lean_ctor_release(x_259, 1); + x_261 = x_259; } else { - lean_dec_ref(x_249); - x_262 = lean_box(0); + lean_dec_ref(x_259); + x_261 = lean_box(0); } -lean_inc(x_241); -x_263 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_255, x_1, x_241); -if (lean_is_scalar(x_262)) { - x_264 = lean_alloc_ctor(0, 7, 0); +if (lean_is_scalar(x_261)) { + x_262 = lean_alloc_ctor(0, 2, 0); } else { - x_264 = x_262; + x_262 = x_261; } -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_256); -lean_ctor_set(x_264, 2, x_257); -lean_ctor_set(x_264, 3, x_258); -lean_ctor_set(x_264, 4, x_259); -lean_ctor_set(x_264, 5, x_260); -lean_ctor_set(x_264, 6, x_261); -if (lean_is_scalar(x_254)) { - x_265 = lean_alloc_ctor(0, 4, 0); -} else { - x_265 = x_254; +lean_ctor_set(x_262, 0, x_235); +lean_ctor_set(x_262, 1, x_260); +return x_262; } -lean_ctor_set(x_265, 0, x_251); -lean_ctor_set(x_265, 1, x_264); -lean_ctor_set(x_265, 2, x_252); -lean_ctor_set(x_265, 3, x_253); -x_266 = lean_st_ref_set(x_3, x_265, x_250); +else +{ +lean_object* x_263; +lean_dec(x_5); lean_dec(x_3); -x_267 = lean_ctor_get(x_266, 1); +lean_dec(x_1); +x_263 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_263, 0, x_235); +lean_ctor_set(x_263, 1, x_236); +return x_263; +} +} +else +{ +lean_object* x_264; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_264 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_264, 0, x_235); +lean_ctor_set(x_264, 1, x_236); +return x_264; +} +} +} +else +{ +uint8_t x_265; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_265 = !lean_is_exclusive(x_184); +if (x_265 == 0) +{ +return x_184; +} +else +{ +lean_object* x_266; lean_object* x_267; lean_object* x_268; +x_266 = lean_ctor_get(x_184, 0); +x_267 = lean_ctor_get(x_184, 1); lean_inc(x_267); -if (lean_is_exclusive(x_266)) { - lean_ctor_release(x_266, 0); - lean_ctor_release(x_266, 1); - x_268 = x_266; -} else { - lean_dec_ref(x_266); - x_268 = lean_box(0); -} -if (lean_is_scalar(x_268)) { - x_269 = lean_alloc_ctor(0, 2, 0); -} else { - x_269 = x_268; -} -lean_ctor_set(x_269, 0, x_241); -lean_ctor_set(x_269, 1, x_267); -return x_269; -} -else -{ -lean_object* x_270; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_270 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_270, 0, x_241); -lean_ctor_set(x_270, 1, x_242); -return x_270; -} -} -else -{ -lean_object* x_271; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_241); -lean_ctor_set(x_271, 1, x_242); -return x_271; +lean_inc(x_266); +lean_dec(x_184); +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_266); +lean_ctor_set(x_268, 1, x_267); +return x_268; } } } else { -uint8_t x_272; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_272 = !lean_is_exclusive(x_188); -if (x_272 == 0) -{ -return x_188; -} -else -{ -lean_object* x_273; lean_object* x_274; lean_object* x_275; -x_273 = lean_ctor_get(x_188, 0); -x_274 = lean_ctor_get(x_188, 1); -lean_inc(x_274); -lean_inc(x_273); -lean_dec(x_188); -x_275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_275, 0, x_273); -lean_ctor_set(x_275, 1, x_274); -return x_275; -} -} -} -else -{ -lean_object* x_276; -lean_dec(x_178); -lean_dec(x_171); +lean_object* x_269; +lean_dec(x_174); +lean_dec(x_167); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_276 = lean_ctor_get(x_187, 0); -lean_inc(x_276); -lean_dec(x_187); -lean_ctor_set(x_181, 0, x_276); -return x_181; +x_269 = lean_ctor_get(x_183, 0); +lean_inc(x_269); +lean_dec(x_183); +lean_ctor_set(x_177, 0, x_269); +return x_177; } } else { -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_181, 0); -x_278 = lean_ctor_get(x_181, 1); -lean_inc(x_278); -lean_inc(x_277); -lean_dec(x_181); -x_279 = lean_ctor_get(x_277, 1); -lean_inc(x_279); -lean_dec(x_277); -x_280 = lean_ctor_get(x_279, 0); -lean_inc(x_280); -lean_dec(x_279); +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; +x_270 = lean_ctor_get(x_177, 0); +x_271 = lean_ctor_get(x_177, 1); +lean_inc(x_271); +lean_inc(x_270); +lean_dec(x_177); +x_272 = lean_ctor_get(x_270, 1); +lean_inc(x_272); +lean_dec(x_270); +x_273 = lean_ctor_get(x_272, 0); +lean_inc(x_273); +lean_dec(x_272); lean_inc(x_1); -x_281 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_280, x_1); -if (lean_obj_tag(x_281) == 0) +x_274 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_273, x_1); +if (lean_obj_tag(x_274) == 0) { -lean_object* x_282; +lean_object* x_275; lean_inc(x_5); lean_inc(x_3); -x_282 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType(x_171, x_178, x_2, x_3, x_4, x_5, x_278); -lean_dec(x_178); -if (lean_obj_tag(x_282) == 0) +x_275 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType(x_167, x_174, x_2, x_3, x_4, x_5, x_271); +lean_dec(x_174); +if (lean_obj_tag(x_275) == 0) { -lean_object* x_283; lean_object* x_284; lean_object* x_285; uint8_t x_286; -x_283 = lean_ctor_get(x_282, 0); -lean_inc(x_283); -x_284 = lean_ctor_get(x_282, 1); -lean_inc(x_284); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - x_285 = x_282; +lean_object* x_276; lean_object* x_277; lean_object* x_278; uint8_t x_279; +x_276 = lean_ctor_get(x_275, 0); +lean_inc(x_276); +x_277 = lean_ctor_get(x_275, 1); +lean_inc(x_277); +if (lean_is_exclusive(x_275)) { + lean_ctor_release(x_275, 0); + lean_ctor_release(x_275, 1); + x_278 = x_275; } else { - lean_dec_ref(x_282); - x_285 = lean_box(0); + lean_dec_ref(x_275); + x_278 = lean_box(0); } -x_286 = l_Lean_Expr_hasMVar(x_1); -if (x_286 == 0) +x_279 = l_Lean_Expr_hasMVar(x_1); +if (x_279 == 0) { -uint8_t x_287; -x_287 = l_Lean_Expr_hasMVar(x_283); -if (x_287 == 0) +uint8_t x_280; +x_280 = l_Lean_Expr_hasMVar(x_276); +if (x_280 == 0) { -lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; 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; lean_object* x_310; lean_object* x_311; lean_object* x_312; -lean_dec(x_285); -x_288 = lean_st_ref_get(x_5, x_284); +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_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; +lean_dec(x_278); +x_281 = lean_st_ref_get(x_5, x_277); lean_dec(x_5); -x_289 = lean_ctor_get(x_288, 1); +x_282 = lean_ctor_get(x_281, 1); +lean_inc(x_282); +lean_dec(x_281); +x_283 = lean_st_ref_take(x_3, x_282); +x_284 = lean_ctor_get(x_283, 0); +lean_inc(x_284); +x_285 = lean_ctor_get(x_284, 1); +lean_inc(x_285); +x_286 = lean_ctor_get(x_283, 1); +lean_inc(x_286); +lean_dec(x_283); +x_287 = lean_ctor_get(x_284, 0); +lean_inc(x_287); +x_288 = lean_ctor_get(x_284, 2); +lean_inc(x_288); +x_289 = lean_ctor_get(x_284, 3); lean_inc(x_289); -lean_dec(x_288); -x_290 = lean_st_ref_take(x_3, x_289); -x_291 = lean_ctor_get(x_290, 0); -lean_inc(x_291); -x_292 = lean_ctor_get(x_291, 1); -lean_inc(x_292); -x_293 = lean_ctor_get(x_290, 1); -lean_inc(x_293); -lean_dec(x_290); -x_294 = lean_ctor_get(x_291, 0); -lean_inc(x_294); -x_295 = lean_ctor_get(x_291, 2); -lean_inc(x_295); -x_296 = lean_ctor_get(x_291, 3); -lean_inc(x_296); -if (lean_is_exclusive(x_291)) { - lean_ctor_release(x_291, 0); - lean_ctor_release(x_291, 1); - lean_ctor_release(x_291, 2); - lean_ctor_release(x_291, 3); - x_297 = x_291; +if (lean_is_exclusive(x_284)) { + lean_ctor_release(x_284, 0); + lean_ctor_release(x_284, 1); + lean_ctor_release(x_284, 2); + lean_ctor_release(x_284, 3); + x_290 = x_284; } else { - lean_dec_ref(x_291); + lean_dec_ref(x_284); + x_290 = lean_box(0); +} +x_291 = lean_ctor_get(x_285, 0); +lean_inc(x_291); +x_292 = lean_ctor_get(x_285, 1); +lean_inc(x_292); +x_293 = lean_ctor_get(x_285, 2); +lean_inc(x_293); +x_294 = lean_ctor_get(x_285, 3); +lean_inc(x_294); +x_295 = lean_ctor_get(x_285, 4); +lean_inc(x_295); +x_296 = lean_ctor_get(x_285, 5); +lean_inc(x_296); +if (lean_is_exclusive(x_285)) { + lean_ctor_release(x_285, 0); + lean_ctor_release(x_285, 1); + lean_ctor_release(x_285, 2); + lean_ctor_release(x_285, 3); + lean_ctor_release(x_285, 4); + lean_ctor_release(x_285, 5); + x_297 = x_285; +} else { + lean_dec_ref(x_285); x_297 = lean_box(0); } -x_298 = lean_ctor_get(x_292, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_292, 1); -lean_inc(x_299); -x_300 = lean_ctor_get(x_292, 2); -lean_inc(x_300); -x_301 = lean_ctor_get(x_292, 3); -lean_inc(x_301); -x_302 = lean_ctor_get(x_292, 4); -lean_inc(x_302); -x_303 = lean_ctor_get(x_292, 5); -lean_inc(x_303); -x_304 = lean_ctor_get(x_292, 6); -lean_inc(x_304); -if (lean_is_exclusive(x_292)) { - lean_ctor_release(x_292, 0); - lean_ctor_release(x_292, 1); - lean_ctor_release(x_292, 2); - lean_ctor_release(x_292, 3); - lean_ctor_release(x_292, 4); - lean_ctor_release(x_292, 5); - lean_ctor_release(x_292, 6); - x_305 = x_292; -} else { - lean_dec_ref(x_292); - x_305 = lean_box(0); -} -lean_inc(x_283); -x_306 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_298, x_1, x_283); -if (lean_is_scalar(x_305)) { - x_307 = lean_alloc_ctor(0, 7, 0); -} else { - x_307 = x_305; -} -lean_ctor_set(x_307, 0, x_306); -lean_ctor_set(x_307, 1, x_299); -lean_ctor_set(x_307, 2, x_300); -lean_ctor_set(x_307, 3, x_301); -lean_ctor_set(x_307, 4, x_302); -lean_ctor_set(x_307, 5, x_303); -lean_ctor_set(x_307, 6, x_304); +lean_inc(x_276); +x_298 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_291, x_1, x_276); if (lean_is_scalar(x_297)) { - x_308 = lean_alloc_ctor(0, 4, 0); + x_299 = lean_alloc_ctor(0, 6, 0); } else { - x_308 = x_297; + x_299 = x_297; } -lean_ctor_set(x_308, 0, x_294); -lean_ctor_set(x_308, 1, x_307); -lean_ctor_set(x_308, 2, x_295); -lean_ctor_set(x_308, 3, x_296); -x_309 = lean_st_ref_set(x_3, x_308, x_293); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_292); +lean_ctor_set(x_299, 2, x_293); +lean_ctor_set(x_299, 3, x_294); +lean_ctor_set(x_299, 4, x_295); +lean_ctor_set(x_299, 5, x_296); +if (lean_is_scalar(x_290)) { + x_300 = lean_alloc_ctor(0, 4, 0); +} else { + x_300 = x_290; +} +lean_ctor_set(x_300, 0, x_287); +lean_ctor_set(x_300, 1, x_299); +lean_ctor_set(x_300, 2, x_288); +lean_ctor_set(x_300, 3, x_289); +x_301 = lean_st_ref_set(x_3, x_300, x_286); lean_dec(x_3); -x_310 = lean_ctor_get(x_309, 1); -lean_inc(x_310); -if (lean_is_exclusive(x_309)) { - lean_ctor_release(x_309, 0); - lean_ctor_release(x_309, 1); - x_311 = x_309; +x_302 = lean_ctor_get(x_301, 1); +lean_inc(x_302); +if (lean_is_exclusive(x_301)) { + lean_ctor_release(x_301, 0); + lean_ctor_release(x_301, 1); + x_303 = x_301; } else { - lean_dec_ref(x_309); - x_311 = lean_box(0); + lean_dec_ref(x_301); + x_303 = lean_box(0); } -if (lean_is_scalar(x_311)) { - x_312 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_303)) { + x_304 = lean_alloc_ctor(0, 2, 0); } else { - x_312 = x_311; + x_304 = x_303; } -lean_ctor_set(x_312, 0, x_283); -lean_ctor_set(x_312, 1, x_310); -return x_312; +lean_ctor_set(x_304, 0, x_276); +lean_ctor_set(x_304, 1, x_302); +return x_304; } else { -lean_object* x_313; +lean_object* x_305; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -if (lean_is_scalar(x_285)) { - x_313 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_278)) { + x_305 = lean_alloc_ctor(0, 2, 0); } else { - x_313 = x_285; + x_305 = x_278; } -lean_ctor_set(x_313, 0, x_283); -lean_ctor_set(x_313, 1, x_284); -return x_313; +lean_ctor_set(x_305, 0, x_276); +lean_ctor_set(x_305, 1, x_277); +return x_305; } } else { -lean_object* x_314; +lean_object* x_306; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -if (lean_is_scalar(x_285)) { - x_314 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_278)) { + x_306 = lean_alloc_ctor(0, 2, 0); } else { - x_314 = x_285; + x_306 = x_278; } -lean_ctor_set(x_314, 0, x_283); -lean_ctor_set(x_314, 1, x_284); -return x_314; +lean_ctor_set(x_306, 0, x_276); +lean_ctor_set(x_306, 1, x_277); +return x_306; } } else { -lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; +lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_315 = lean_ctor_get(x_282, 0); -lean_inc(x_315); -x_316 = lean_ctor_get(x_282, 1); -lean_inc(x_316); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - x_317 = x_282; +x_307 = lean_ctor_get(x_275, 0); +lean_inc(x_307); +x_308 = lean_ctor_get(x_275, 1); +lean_inc(x_308); +if (lean_is_exclusive(x_275)) { + lean_ctor_release(x_275, 0); + lean_ctor_release(x_275, 1); + x_309 = x_275; } else { - lean_dec_ref(x_282); - x_317 = lean_box(0); + lean_dec_ref(x_275); + x_309 = lean_box(0); } -if (lean_is_scalar(x_317)) { - x_318 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_309)) { + x_310 = lean_alloc_ctor(1, 2, 0); } else { - x_318 = x_317; + x_310 = x_309; } -lean_ctor_set(x_318, 0, x_315); -lean_ctor_set(x_318, 1, x_316); -return x_318; +lean_ctor_set(x_310, 0, x_307); +lean_ctor_set(x_310, 1, x_308); +return x_310; } } else { -lean_object* x_319; lean_object* x_320; -lean_dec(x_178); -lean_dec(x_171); +lean_object* x_311; lean_object* x_312; +lean_dec(x_174); +lean_dec(x_167); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_319 = lean_ctor_get(x_281, 0); -lean_inc(x_319); -lean_dec(x_281); -x_320 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_320, 0, x_319); -lean_ctor_set(x_320, 1, x_278); -return x_320; +x_311 = lean_ctor_get(x_274, 0); +lean_inc(x_311); +lean_dec(x_274); +x_312 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_312, 0, x_311); +lean_ctor_set(x_312, 1, x_271); +return x_312; } } } case 7: { -lean_object* x_321; lean_object* x_322; lean_object* x_323; uint8_t x_324; -x_321 = lean_st_ref_get(x_5, x_6); -x_322 = lean_ctor_get(x_321, 1); -lean_inc(x_322); -lean_dec(x_321); -x_323 = lean_st_ref_get(x_3, x_322); -x_324 = !lean_is_exclusive(x_323); -if (x_324 == 0) +lean_object* x_313; lean_object* x_314; lean_object* x_315; uint8_t x_316; +x_313 = lean_st_ref_get(x_5, x_6); +x_314 = lean_ctor_get(x_313, 1); +lean_inc(x_314); +lean_dec(x_313); +x_315 = lean_st_ref_get(x_3, x_314); +x_316 = !lean_is_exclusive(x_315); +if (x_316 == 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_323, 0); -x_326 = lean_ctor_get(x_323, 1); -x_327 = lean_ctor_get(x_325, 1); -lean_inc(x_327); -lean_dec(x_325); -x_328 = lean_ctor_get(x_327, 0); -lean_inc(x_328); -lean_dec(x_327); +lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; +x_317 = lean_ctor_get(x_315, 0); +x_318 = lean_ctor_get(x_315, 1); +x_319 = lean_ctor_get(x_317, 1); +lean_inc(x_319); +lean_dec(x_317); +x_320 = lean_ctor_get(x_319, 0); +lean_inc(x_320); +lean_dec(x_319); lean_inc(x_1); -x_329 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_328, x_1); -if (lean_obj_tag(x_329) == 0) +x_321 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_320, x_1); +if (lean_obj_tag(x_321) == 0) { -lean_object* x_330; lean_object* x_331; -lean_free_object(x_323); -x_330 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___closed__1; +lean_object* x_322; lean_object* x_323; +lean_free_object(x_315); +x_322 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___closed__1; lean_inc(x_5); lean_inc(x_3); lean_inc(x_1); -x_331 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_1, x_330, x_2, x_3, x_4, x_5, x_326); -if (lean_obj_tag(x_331) == 0) +x_323 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_1, x_322, x_2, x_3, x_4, x_5, x_318); +if (lean_obj_tag(x_323) == 0) { -uint8_t x_332; -x_332 = !lean_is_exclusive(x_331); -if (x_332 == 0) +uint8_t x_324; +x_324 = !lean_is_exclusive(x_323); +if (x_324 == 0) { -lean_object* x_333; lean_object* x_334; uint8_t x_335; -x_333 = lean_ctor_get(x_331, 0); +lean_object* x_325; lean_object* x_326; uint8_t x_327; +x_325 = lean_ctor_get(x_323, 0); +x_326 = lean_ctor_get(x_323, 1); +x_327 = l_Lean_Expr_hasMVar(x_1); +if (x_327 == 0) +{ +uint8_t x_328; +x_328 = l_Lean_Expr_hasMVar(x_325); +if (x_328 == 0) +{ +lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; +lean_free_object(x_323); +x_329 = lean_st_ref_get(x_5, x_326); +lean_dec(x_5); +x_330 = lean_ctor_get(x_329, 1); +lean_inc(x_330); +lean_dec(x_329); +x_331 = lean_st_ref_take(x_3, x_330); +x_332 = lean_ctor_get(x_331, 0); +lean_inc(x_332); +x_333 = lean_ctor_get(x_332, 1); +lean_inc(x_333); x_334 = lean_ctor_get(x_331, 1); -x_335 = l_Lean_Expr_hasMVar(x_1); +lean_inc(x_334); +lean_dec(x_331); +x_335 = !lean_is_exclusive(x_332); if (x_335 == 0) { -uint8_t x_336; -x_336 = l_Lean_Expr_hasMVar(x_333); -if (x_336 == 0) +lean_object* x_336; uint8_t x_337; +x_336 = lean_ctor_get(x_332, 1); +lean_dec(x_336); +x_337 = !lean_is_exclusive(x_333); +if (x_337 == 0) { -lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; -lean_free_object(x_331); -x_337 = lean_st_ref_get(x_5, x_334); -lean_dec(x_5); -x_338 = lean_ctor_get(x_337, 1); -lean_inc(x_338); -lean_dec(x_337); -x_339 = lean_st_ref_take(x_3, x_338); -x_340 = lean_ctor_get(x_339, 0); -lean_inc(x_340); -x_341 = lean_ctor_get(x_340, 1); -lean_inc(x_341); -x_342 = lean_ctor_get(x_339, 1); -lean_inc(x_342); -lean_dec(x_339); -x_343 = !lean_is_exclusive(x_340); -if (x_343 == 0) -{ -lean_object* x_344; uint8_t x_345; -x_344 = lean_ctor_get(x_340, 1); -lean_dec(x_344); -x_345 = !lean_is_exclusive(x_341); -if (x_345 == 0) -{ -lean_object* x_346; lean_object* x_347; lean_object* x_348; uint8_t x_349; -x_346 = lean_ctor_get(x_341, 0); -lean_inc(x_333); -x_347 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_346, x_1, x_333); -lean_ctor_set(x_341, 0, x_347); -x_348 = lean_st_ref_set(x_3, x_340, x_342); +lean_object* x_338; lean_object* x_339; lean_object* x_340; uint8_t x_341; +x_338 = lean_ctor_get(x_333, 0); +lean_inc(x_325); +x_339 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_338, x_1, x_325); +lean_ctor_set(x_333, 0, x_339); +x_340 = lean_st_ref_set(x_3, x_332, x_334); lean_dec(x_3); -x_349 = !lean_is_exclusive(x_348); -if (x_349 == 0) +x_341 = !lean_is_exclusive(x_340); +if (x_341 == 0) { -lean_object* x_350; -x_350 = lean_ctor_get(x_348, 0); -lean_dec(x_350); -lean_ctor_set(x_348, 0, x_333); -return x_348; +lean_object* x_342; +x_342 = lean_ctor_get(x_340, 0); +lean_dec(x_342); +lean_ctor_set(x_340, 0, x_325); +return x_340; } else { -lean_object* x_351; lean_object* x_352; -x_351 = lean_ctor_get(x_348, 1); -lean_inc(x_351); -lean_dec(x_348); -x_352 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_352, 0, x_333); -lean_ctor_set(x_352, 1, x_351); -return x_352; +lean_object* x_343; lean_object* x_344; +x_343 = lean_ctor_get(x_340, 1); +lean_inc(x_343); +lean_dec(x_340); +x_344 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_344, 0, x_325); +lean_ctor_set(x_344, 1, x_343); +return x_344; } } else { -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_object* x_363; lean_object* x_364; lean_object* x_365; -x_353 = lean_ctor_get(x_341, 0); -x_354 = lean_ctor_get(x_341, 1); -x_355 = lean_ctor_get(x_341, 2); -x_356 = lean_ctor_get(x_341, 3); -x_357 = lean_ctor_get(x_341, 4); -x_358 = lean_ctor_get(x_341, 5); -x_359 = lean_ctor_get(x_341, 6); +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_345 = lean_ctor_get(x_333, 0); +x_346 = lean_ctor_get(x_333, 1); +x_347 = lean_ctor_get(x_333, 2); +x_348 = lean_ctor_get(x_333, 3); +x_349 = lean_ctor_get(x_333, 4); +x_350 = lean_ctor_get(x_333, 5); +lean_inc(x_350); +lean_inc(x_349); +lean_inc(x_348); +lean_inc(x_347); +lean_inc(x_346); +lean_inc(x_345); +lean_dec(x_333); +lean_inc(x_325); +x_351 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_345, x_1, x_325); +x_352 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_352, 0, x_351); +lean_ctor_set(x_352, 1, x_346); +lean_ctor_set(x_352, 2, x_347); +lean_ctor_set(x_352, 3, x_348); +lean_ctor_set(x_352, 4, x_349); +lean_ctor_set(x_352, 5, x_350); +lean_ctor_set(x_332, 1, x_352); +x_353 = lean_st_ref_set(x_3, x_332, x_334); +lean_dec(x_3); +x_354 = lean_ctor_get(x_353, 1); +lean_inc(x_354); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + x_355 = x_353; +} else { + lean_dec_ref(x_353); + x_355 = lean_box(0); +} +if (lean_is_scalar(x_355)) { + x_356 = lean_alloc_ctor(0, 2, 0); +} else { + x_356 = x_355; +} +lean_ctor_set(x_356, 0, x_325); +lean_ctor_set(x_356, 1, x_354); +return x_356; +} +} +else +{ +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; +x_357 = lean_ctor_get(x_332, 0); +x_358 = lean_ctor_get(x_332, 2); +x_359 = lean_ctor_get(x_332, 3); lean_inc(x_359); lean_inc(x_358); lean_inc(x_357); -lean_inc(x_356); -lean_inc(x_355); -lean_inc(x_354); -lean_inc(x_353); -lean_dec(x_341); -lean_inc(x_333); -x_360 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_353, x_1, x_333); -x_361 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_361, 0, x_360); -lean_ctor_set(x_361, 1, x_354); -lean_ctor_set(x_361, 2, x_355); -lean_ctor_set(x_361, 3, x_356); -lean_ctor_set(x_361, 4, x_357); -lean_ctor_set(x_361, 5, x_358); -lean_ctor_set(x_361, 6, x_359); -lean_ctor_set(x_340, 1, x_361); -x_362 = lean_st_ref_set(x_3, x_340, x_342); -lean_dec(x_3); -x_363 = lean_ctor_get(x_362, 1); +lean_dec(x_332); +x_360 = lean_ctor_get(x_333, 0); +lean_inc(x_360); +x_361 = lean_ctor_get(x_333, 1); +lean_inc(x_361); +x_362 = lean_ctor_get(x_333, 2); +lean_inc(x_362); +x_363 = lean_ctor_get(x_333, 3); lean_inc(x_363); -if (lean_is_exclusive(x_362)) { - lean_ctor_release(x_362, 0); - lean_ctor_release(x_362, 1); - x_364 = x_362; +x_364 = lean_ctor_get(x_333, 4); +lean_inc(x_364); +x_365 = lean_ctor_get(x_333, 5); +lean_inc(x_365); +if (lean_is_exclusive(x_333)) { + lean_ctor_release(x_333, 0); + lean_ctor_release(x_333, 1); + lean_ctor_release(x_333, 2); + lean_ctor_release(x_333, 3); + lean_ctor_release(x_333, 4); + lean_ctor_release(x_333, 5); + x_366 = x_333; } else { - lean_dec_ref(x_362); - x_364 = lean_box(0); + lean_dec_ref(x_333); + x_366 = lean_box(0); } -if (lean_is_scalar(x_364)) { - x_365 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_325); +x_367 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_360, x_1, x_325); +if (lean_is_scalar(x_366)) { + x_368 = lean_alloc_ctor(0, 6, 0); } else { - x_365 = x_364; + x_368 = x_366; } -lean_ctor_set(x_365, 0, x_333); -lean_ctor_set(x_365, 1, x_363); -return x_365; -} -} -else -{ -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_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; -x_366 = lean_ctor_get(x_340, 0); -x_367 = lean_ctor_get(x_340, 2); -x_368 = lean_ctor_get(x_340, 3); -lean_inc(x_368); -lean_inc(x_367); -lean_inc(x_366); -lean_dec(x_340); -x_369 = lean_ctor_get(x_341, 0); -lean_inc(x_369); -x_370 = lean_ctor_get(x_341, 1); -lean_inc(x_370); -x_371 = lean_ctor_get(x_341, 2); +lean_ctor_set(x_368, 0, x_367); +lean_ctor_set(x_368, 1, x_361); +lean_ctor_set(x_368, 2, x_362); +lean_ctor_set(x_368, 3, x_363); +lean_ctor_set(x_368, 4, x_364); +lean_ctor_set(x_368, 5, x_365); +x_369 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_369, 0, x_357); +lean_ctor_set(x_369, 1, x_368); +lean_ctor_set(x_369, 2, x_358); +lean_ctor_set(x_369, 3, x_359); +x_370 = lean_st_ref_set(x_3, x_369, x_334); +lean_dec(x_3); +x_371 = lean_ctor_get(x_370, 1); lean_inc(x_371); -x_372 = lean_ctor_get(x_341, 3); -lean_inc(x_372); -x_373 = lean_ctor_get(x_341, 4); -lean_inc(x_373); -x_374 = lean_ctor_get(x_341, 5); -lean_inc(x_374); -x_375 = lean_ctor_get(x_341, 6); -lean_inc(x_375); -if (lean_is_exclusive(x_341)) { - lean_ctor_release(x_341, 0); - lean_ctor_release(x_341, 1); - lean_ctor_release(x_341, 2); - lean_ctor_release(x_341, 3); - lean_ctor_release(x_341, 4); - lean_ctor_release(x_341, 5); - lean_ctor_release(x_341, 6); - x_376 = x_341; +if (lean_is_exclusive(x_370)) { + lean_ctor_release(x_370, 0); + lean_ctor_release(x_370, 1); + x_372 = x_370; } else { - lean_dec_ref(x_341); - x_376 = lean_box(0); + lean_dec_ref(x_370); + x_372 = lean_box(0); } -lean_inc(x_333); -x_377 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_369, x_1, x_333); -if (lean_is_scalar(x_376)) { - x_378 = lean_alloc_ctor(0, 7, 0); +if (lean_is_scalar(x_372)) { + x_373 = lean_alloc_ctor(0, 2, 0); } else { - x_378 = x_376; + x_373 = x_372; } -lean_ctor_set(x_378, 0, x_377); -lean_ctor_set(x_378, 1, x_370); -lean_ctor_set(x_378, 2, x_371); -lean_ctor_set(x_378, 3, x_372); -lean_ctor_set(x_378, 4, x_373); -lean_ctor_set(x_378, 5, x_374); -lean_ctor_set(x_378, 6, x_375); -x_379 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_379, 0, x_366); -lean_ctor_set(x_379, 1, x_378); -lean_ctor_set(x_379, 2, x_367); -lean_ctor_set(x_379, 3, x_368); -x_380 = lean_st_ref_set(x_3, x_379, x_342); -lean_dec(x_3); -x_381 = lean_ctor_get(x_380, 1); -lean_inc(x_381); -if (lean_is_exclusive(x_380)) { - lean_ctor_release(x_380, 0); - lean_ctor_release(x_380, 1); - x_382 = x_380; -} else { - lean_dec_ref(x_380); - x_382 = lean_box(0); -} -if (lean_is_scalar(x_382)) { - x_383 = lean_alloc_ctor(0, 2, 0); -} else { - x_383 = x_382; -} -lean_ctor_set(x_383, 0, x_333); -lean_ctor_set(x_383, 1, x_381); -return x_383; +lean_ctor_set(x_373, 0, x_325); +lean_ctor_set(x_373, 1, x_371); +return x_373; } } else @@ -8819,1240 +8761,1288 @@ else lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -return x_331; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -return x_331; -} -} -else -{ -lean_object* x_384; lean_object* x_385; uint8_t x_386; -x_384 = lean_ctor_get(x_331, 0); -x_385 = lean_ctor_get(x_331, 1); -lean_inc(x_385); -lean_inc(x_384); -lean_dec(x_331); -x_386 = l_Lean_Expr_hasMVar(x_1); -if (x_386 == 0) -{ -uint8_t x_387; -x_387 = l_Lean_Expr_hasMVar(x_384); -if (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; 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; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; -x_388 = lean_st_ref_get(x_5, x_385); -lean_dec(x_5); -x_389 = lean_ctor_get(x_388, 1); -lean_inc(x_389); -lean_dec(x_388); -x_390 = lean_st_ref_take(x_3, x_389); -x_391 = lean_ctor_get(x_390, 0); -lean_inc(x_391); -x_392 = lean_ctor_get(x_391, 1); -lean_inc(x_392); -x_393 = lean_ctor_get(x_390, 1); -lean_inc(x_393); -lean_dec(x_390); -x_394 = lean_ctor_get(x_391, 0); -lean_inc(x_394); -x_395 = lean_ctor_get(x_391, 2); -lean_inc(x_395); -x_396 = lean_ctor_get(x_391, 3); -lean_inc(x_396); -if (lean_is_exclusive(x_391)) { - lean_ctor_release(x_391, 0); - lean_ctor_release(x_391, 1); - lean_ctor_release(x_391, 2); - lean_ctor_release(x_391, 3); - x_397 = x_391; -} else { - lean_dec_ref(x_391); - x_397 = lean_box(0); -} -x_398 = lean_ctor_get(x_392, 0); -lean_inc(x_398); -x_399 = lean_ctor_get(x_392, 1); -lean_inc(x_399); -x_400 = lean_ctor_get(x_392, 2); -lean_inc(x_400); -x_401 = lean_ctor_get(x_392, 3); -lean_inc(x_401); -x_402 = lean_ctor_get(x_392, 4); -lean_inc(x_402); -x_403 = lean_ctor_get(x_392, 5); -lean_inc(x_403); -x_404 = lean_ctor_get(x_392, 6); -lean_inc(x_404); -if (lean_is_exclusive(x_392)) { - lean_ctor_release(x_392, 0); - lean_ctor_release(x_392, 1); - lean_ctor_release(x_392, 2); - lean_ctor_release(x_392, 3); - lean_ctor_release(x_392, 4); - lean_ctor_release(x_392, 5); - lean_ctor_release(x_392, 6); - x_405 = x_392; -} else { - lean_dec_ref(x_392); - x_405 = lean_box(0); -} -lean_inc(x_384); -x_406 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_398, x_1, x_384); -if (lean_is_scalar(x_405)) { - x_407 = lean_alloc_ctor(0, 7, 0); -} else { - x_407 = x_405; -} -lean_ctor_set(x_407, 0, x_406); -lean_ctor_set(x_407, 1, x_399); -lean_ctor_set(x_407, 2, x_400); -lean_ctor_set(x_407, 3, x_401); -lean_ctor_set(x_407, 4, x_402); -lean_ctor_set(x_407, 5, x_403); -lean_ctor_set(x_407, 6, x_404); -if (lean_is_scalar(x_397)) { - x_408 = lean_alloc_ctor(0, 4, 0); -} else { - x_408 = x_397; -} -lean_ctor_set(x_408, 0, x_394); -lean_ctor_set(x_408, 1, x_407); -lean_ctor_set(x_408, 2, x_395); -lean_ctor_set(x_408, 3, x_396); -x_409 = lean_st_ref_set(x_3, x_408, x_393); -lean_dec(x_3); -x_410 = lean_ctor_get(x_409, 1); -lean_inc(x_410); -if (lean_is_exclusive(x_409)) { - lean_ctor_release(x_409, 0); - lean_ctor_release(x_409, 1); - x_411 = x_409; -} else { - lean_dec_ref(x_409); - x_411 = lean_box(0); -} -if (lean_is_scalar(x_411)) { - x_412 = lean_alloc_ctor(0, 2, 0); -} else { - x_412 = x_411; -} -lean_ctor_set(x_412, 0, x_384); -lean_ctor_set(x_412, 1, x_410); -return x_412; -} -else -{ -lean_object* x_413; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_413 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_413, 0, x_384); -lean_ctor_set(x_413, 1, x_385); -return x_413; -} -} -else -{ -lean_object* x_414; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_414 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_414, 0, x_384); -lean_ctor_set(x_414, 1, x_385); -return x_414; -} -} -} -else -{ -uint8_t x_415; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_415 = !lean_is_exclusive(x_331); -if (x_415 == 0) -{ -return x_331; -} -else -{ -lean_object* x_416; lean_object* x_417; lean_object* x_418; -x_416 = lean_ctor_get(x_331, 0); -x_417 = lean_ctor_get(x_331, 1); -lean_inc(x_417); -lean_inc(x_416); -lean_dec(x_331); -x_418 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_418, 0, x_416); -lean_ctor_set(x_418, 1, x_417); -return x_418; -} -} -} -else -{ -lean_object* x_419; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_419 = lean_ctor_get(x_329, 0); -lean_inc(x_419); -lean_dec(x_329); -lean_ctor_set(x_323, 0, x_419); return x_323; } } else { -lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; -x_420 = lean_ctor_get(x_323, 0); -x_421 = lean_ctor_get(x_323, 1); -lean_inc(x_421); -lean_inc(x_420); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_323; +} +} +else +{ +lean_object* x_374; lean_object* x_375; uint8_t x_376; +x_374 = lean_ctor_get(x_323, 0); +x_375 = lean_ctor_get(x_323, 1); +lean_inc(x_375); +lean_inc(x_374); lean_dec(x_323); -x_422 = lean_ctor_get(x_420, 1); -lean_inc(x_422); -lean_dec(x_420); -x_423 = lean_ctor_get(x_422, 0); -lean_inc(x_423); -lean_dec(x_422); -lean_inc(x_1); -x_424 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_423, x_1); -if (lean_obj_tag(x_424) == 0) +x_376 = l_Lean_Expr_hasMVar(x_1); +if (x_376 == 0) { -lean_object* x_425; lean_object* x_426; -x_425 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___closed__1; -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_1); -x_426 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_1, x_425, x_2, x_3, x_4, x_5, x_421); -if (lean_obj_tag(x_426) == 0) +uint8_t x_377; +x_377 = l_Lean_Expr_hasMVar(x_374); +if (x_377 == 0) { -lean_object* x_427; lean_object* x_428; lean_object* x_429; uint8_t x_430; -x_427 = lean_ctor_get(x_426, 0); -lean_inc(x_427); -x_428 = lean_ctor_get(x_426, 1); -lean_inc(x_428); -if (lean_is_exclusive(x_426)) { - lean_ctor_release(x_426, 0); - lean_ctor_release(x_426, 1); - x_429 = x_426; -} else { - lean_dec_ref(x_426); - x_429 = lean_box(0); -} -x_430 = l_Lean_Expr_hasMVar(x_1); -if (x_430 == 0) -{ -uint8_t x_431; -x_431 = l_Lean_Expr_hasMVar(x_427); -if (x_431 == 0) -{ -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; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; 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_dec(x_429); -x_432 = lean_st_ref_get(x_5, x_428); +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_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; lean_object* 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; +x_378 = lean_st_ref_get(x_5, x_375); lean_dec(x_5); -x_433 = lean_ctor_get(x_432, 1); -lean_inc(x_433); -lean_dec(x_432); -x_434 = lean_st_ref_take(x_3, x_433); -x_435 = lean_ctor_get(x_434, 0); -lean_inc(x_435); -x_436 = lean_ctor_get(x_435, 1); -lean_inc(x_436); -x_437 = lean_ctor_get(x_434, 1); -lean_inc(x_437); -lean_dec(x_434); -x_438 = lean_ctor_get(x_435, 0); -lean_inc(x_438); -x_439 = lean_ctor_get(x_435, 2); -lean_inc(x_439); -x_440 = lean_ctor_get(x_435, 3); -lean_inc(x_440); -if (lean_is_exclusive(x_435)) { - lean_ctor_release(x_435, 0); - lean_ctor_release(x_435, 1); - lean_ctor_release(x_435, 2); - lean_ctor_release(x_435, 3); - x_441 = x_435; +x_379 = lean_ctor_get(x_378, 1); +lean_inc(x_379); +lean_dec(x_378); +x_380 = lean_st_ref_take(x_3, x_379); +x_381 = lean_ctor_get(x_380, 0); +lean_inc(x_381); +x_382 = lean_ctor_get(x_381, 1); +lean_inc(x_382); +x_383 = lean_ctor_get(x_380, 1); +lean_inc(x_383); +lean_dec(x_380); +x_384 = lean_ctor_get(x_381, 0); +lean_inc(x_384); +x_385 = lean_ctor_get(x_381, 2); +lean_inc(x_385); +x_386 = lean_ctor_get(x_381, 3); +lean_inc(x_386); +if (lean_is_exclusive(x_381)) { + lean_ctor_release(x_381, 0); + lean_ctor_release(x_381, 1); + lean_ctor_release(x_381, 2); + lean_ctor_release(x_381, 3); + x_387 = x_381; } else { - lean_dec_ref(x_435); - x_441 = lean_box(0); + lean_dec_ref(x_381); + x_387 = lean_box(0); } -x_442 = lean_ctor_get(x_436, 0); -lean_inc(x_442); -x_443 = lean_ctor_get(x_436, 1); -lean_inc(x_443); -x_444 = lean_ctor_get(x_436, 2); -lean_inc(x_444); -x_445 = lean_ctor_get(x_436, 3); -lean_inc(x_445); -x_446 = lean_ctor_get(x_436, 4); -lean_inc(x_446); -x_447 = lean_ctor_get(x_436, 5); -lean_inc(x_447); -x_448 = lean_ctor_get(x_436, 6); -lean_inc(x_448); -if (lean_is_exclusive(x_436)) { - lean_ctor_release(x_436, 0); - lean_ctor_release(x_436, 1); - lean_ctor_release(x_436, 2); - lean_ctor_release(x_436, 3); - lean_ctor_release(x_436, 4); - lean_ctor_release(x_436, 5); - lean_ctor_release(x_436, 6); - x_449 = x_436; +x_388 = lean_ctor_get(x_382, 0); +lean_inc(x_388); +x_389 = lean_ctor_get(x_382, 1); +lean_inc(x_389); +x_390 = lean_ctor_get(x_382, 2); +lean_inc(x_390); +x_391 = lean_ctor_get(x_382, 3); +lean_inc(x_391); +x_392 = lean_ctor_get(x_382, 4); +lean_inc(x_392); +x_393 = lean_ctor_get(x_382, 5); +lean_inc(x_393); +if (lean_is_exclusive(x_382)) { + lean_ctor_release(x_382, 0); + lean_ctor_release(x_382, 1); + lean_ctor_release(x_382, 2); + lean_ctor_release(x_382, 3); + lean_ctor_release(x_382, 4); + lean_ctor_release(x_382, 5); + x_394 = x_382; } else { - lean_dec_ref(x_436); - x_449 = lean_box(0); + lean_dec_ref(x_382); + x_394 = lean_box(0); } -lean_inc(x_427); -x_450 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_442, x_1, x_427); -if (lean_is_scalar(x_449)) { - x_451 = lean_alloc_ctor(0, 7, 0); +lean_inc(x_374); +x_395 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_388, x_1, x_374); +if (lean_is_scalar(x_394)) { + x_396 = lean_alloc_ctor(0, 6, 0); } else { - x_451 = x_449; + x_396 = x_394; } -lean_ctor_set(x_451, 0, x_450); -lean_ctor_set(x_451, 1, x_443); -lean_ctor_set(x_451, 2, x_444); -lean_ctor_set(x_451, 3, x_445); -lean_ctor_set(x_451, 4, x_446); -lean_ctor_set(x_451, 5, x_447); -lean_ctor_set(x_451, 6, x_448); -if (lean_is_scalar(x_441)) { - x_452 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_396, 0, x_395); +lean_ctor_set(x_396, 1, x_389); +lean_ctor_set(x_396, 2, x_390); +lean_ctor_set(x_396, 3, x_391); +lean_ctor_set(x_396, 4, x_392); +lean_ctor_set(x_396, 5, x_393); +if (lean_is_scalar(x_387)) { + x_397 = lean_alloc_ctor(0, 4, 0); } else { - x_452 = x_441; + x_397 = x_387; } -lean_ctor_set(x_452, 0, x_438); -lean_ctor_set(x_452, 1, x_451); -lean_ctor_set(x_452, 2, x_439); -lean_ctor_set(x_452, 3, x_440); -x_453 = lean_st_ref_set(x_3, x_452, x_437); +lean_ctor_set(x_397, 0, x_384); +lean_ctor_set(x_397, 1, x_396); +lean_ctor_set(x_397, 2, x_385); +lean_ctor_set(x_397, 3, x_386); +x_398 = lean_st_ref_set(x_3, x_397, x_383); lean_dec(x_3); -x_454 = lean_ctor_get(x_453, 1); -lean_inc(x_454); -if (lean_is_exclusive(x_453)) { - lean_ctor_release(x_453, 0); - lean_ctor_release(x_453, 1); - x_455 = x_453; +x_399 = lean_ctor_get(x_398, 1); +lean_inc(x_399); +if (lean_is_exclusive(x_398)) { + lean_ctor_release(x_398, 0); + lean_ctor_release(x_398, 1); + x_400 = x_398; } else { - lean_dec_ref(x_453); - x_455 = lean_box(0); + lean_dec_ref(x_398); + x_400 = lean_box(0); } -if (lean_is_scalar(x_455)) { - x_456 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_400)) { + x_401 = lean_alloc_ctor(0, 2, 0); } else { - x_456 = x_455; + x_401 = x_400; } -lean_ctor_set(x_456, 0, x_427); -lean_ctor_set(x_456, 1, x_454); -return x_456; +lean_ctor_set(x_401, 0, x_374); +lean_ctor_set(x_401, 1, x_399); +return x_401; } else { -lean_object* x_457; +lean_object* x_402; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -if (lean_is_scalar(x_429)) { - x_457 = lean_alloc_ctor(0, 2, 0); -} else { - x_457 = x_429; -} -lean_ctor_set(x_457, 0, x_427); -lean_ctor_set(x_457, 1, x_428); -return x_457; +x_402 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_402, 0, x_374); +lean_ctor_set(x_402, 1, x_375); +return x_402; } } else { -lean_object* x_458; +lean_object* x_403; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -if (lean_is_scalar(x_429)) { - x_458 = lean_alloc_ctor(0, 2, 0); -} else { - x_458 = x_429; +x_403 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_403, 0, x_374); +lean_ctor_set(x_403, 1, x_375); +return x_403; } -lean_ctor_set(x_458, 0, x_427); -lean_ctor_set(x_458, 1, x_428); -return x_458; } } else { -lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; +uint8_t x_404; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_459 = lean_ctor_get(x_426, 0); -lean_inc(x_459); -x_460 = lean_ctor_get(x_426, 1); -lean_inc(x_460); -if (lean_is_exclusive(x_426)) { - lean_ctor_release(x_426, 0); - lean_ctor_release(x_426, 1); - x_461 = x_426; -} else { - lean_dec_ref(x_426); - x_461 = lean_box(0); +x_404 = !lean_is_exclusive(x_323); +if (x_404 == 0) +{ +return x_323; } -if (lean_is_scalar(x_461)) { - x_462 = lean_alloc_ctor(1, 2, 0); -} else { - x_462 = x_461; +else +{ +lean_object* x_405; lean_object* x_406; lean_object* x_407; +x_405 = lean_ctor_get(x_323, 0); +x_406 = lean_ctor_get(x_323, 1); +lean_inc(x_406); +lean_inc(x_405); +lean_dec(x_323); +x_407 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_407, 0, x_405); +lean_ctor_set(x_407, 1, x_406); +return x_407; } -lean_ctor_set(x_462, 0, x_459); -lean_ctor_set(x_462, 1, x_460); -return x_462; } } else { -lean_object* x_463; lean_object* x_464; +lean_object* x_408; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_463 = lean_ctor_get(x_424, 0); -lean_inc(x_463); -lean_dec(x_424); -x_464 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_464, 0, x_463); -lean_ctor_set(x_464, 1, x_421); -return x_464; +x_408 = lean_ctor_get(x_321, 0); +lean_inc(x_408); +lean_dec(x_321); +lean_ctor_set(x_315, 0, x_408); +return x_315; +} +} +else +{ +lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; +x_409 = lean_ctor_get(x_315, 0); +x_410 = lean_ctor_get(x_315, 1); +lean_inc(x_410); +lean_inc(x_409); +lean_dec(x_315); +x_411 = lean_ctor_get(x_409, 1); +lean_inc(x_411); +lean_dec(x_409); +x_412 = lean_ctor_get(x_411, 0); +lean_inc(x_412); +lean_dec(x_411); +lean_inc(x_1); +x_413 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_412, x_1); +if (lean_obj_tag(x_413) == 0) +{ +lean_object* x_414; lean_object* x_415; +x_414 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___closed__1; +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_1); +x_415 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_1, x_414, x_2, x_3, x_4, x_5, x_410); +if (lean_obj_tag(x_415) == 0) +{ +lean_object* x_416; lean_object* x_417; lean_object* x_418; uint8_t x_419; +x_416 = lean_ctor_get(x_415, 0); +lean_inc(x_416); +x_417 = lean_ctor_get(x_415, 1); +lean_inc(x_417); +if (lean_is_exclusive(x_415)) { + lean_ctor_release(x_415, 0); + lean_ctor_release(x_415, 1); + x_418 = x_415; +} else { + lean_dec_ref(x_415); + x_418 = lean_box(0); +} +x_419 = l_Lean_Expr_hasMVar(x_1); +if (x_419 == 0) +{ +uint8_t x_420; +x_420 = l_Lean_Expr_hasMVar(x_416); +if (x_420 == 0) +{ +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_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_dec(x_418); +x_421 = lean_st_ref_get(x_5, x_417); +lean_dec(x_5); +x_422 = lean_ctor_get(x_421, 1); +lean_inc(x_422); +lean_dec(x_421); +x_423 = lean_st_ref_take(x_3, x_422); +x_424 = lean_ctor_get(x_423, 0); +lean_inc(x_424); +x_425 = lean_ctor_get(x_424, 1); +lean_inc(x_425); +x_426 = lean_ctor_get(x_423, 1); +lean_inc(x_426); +lean_dec(x_423); +x_427 = lean_ctor_get(x_424, 0); +lean_inc(x_427); +x_428 = lean_ctor_get(x_424, 2); +lean_inc(x_428); +x_429 = lean_ctor_get(x_424, 3); +lean_inc(x_429); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_430 = x_424; +} else { + lean_dec_ref(x_424); + x_430 = lean_box(0); +} +x_431 = lean_ctor_get(x_425, 0); +lean_inc(x_431); +x_432 = lean_ctor_get(x_425, 1); +lean_inc(x_432); +x_433 = lean_ctor_get(x_425, 2); +lean_inc(x_433); +x_434 = lean_ctor_get(x_425, 3); +lean_inc(x_434); +x_435 = lean_ctor_get(x_425, 4); +lean_inc(x_435); +x_436 = lean_ctor_get(x_425, 5); +lean_inc(x_436); +if (lean_is_exclusive(x_425)) { + lean_ctor_release(x_425, 0); + lean_ctor_release(x_425, 1); + lean_ctor_release(x_425, 2); + lean_ctor_release(x_425, 3); + lean_ctor_release(x_425, 4); + lean_ctor_release(x_425, 5); + x_437 = x_425; +} else { + lean_dec_ref(x_425); + x_437 = lean_box(0); +} +lean_inc(x_416); +x_438 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_431, x_1, x_416); +if (lean_is_scalar(x_437)) { + x_439 = lean_alloc_ctor(0, 6, 0); +} else { + x_439 = x_437; +} +lean_ctor_set(x_439, 0, x_438); +lean_ctor_set(x_439, 1, x_432); +lean_ctor_set(x_439, 2, x_433); +lean_ctor_set(x_439, 3, x_434); +lean_ctor_set(x_439, 4, x_435); +lean_ctor_set(x_439, 5, x_436); +if (lean_is_scalar(x_430)) { + x_440 = lean_alloc_ctor(0, 4, 0); +} else { + x_440 = x_430; +} +lean_ctor_set(x_440, 0, x_427); +lean_ctor_set(x_440, 1, x_439); +lean_ctor_set(x_440, 2, x_428); +lean_ctor_set(x_440, 3, x_429); +x_441 = lean_st_ref_set(x_3, x_440, x_426); +lean_dec(x_3); +x_442 = lean_ctor_get(x_441, 1); +lean_inc(x_442); +if (lean_is_exclusive(x_441)) { + lean_ctor_release(x_441, 0); + lean_ctor_release(x_441, 1); + x_443 = x_441; +} else { + lean_dec_ref(x_441); + x_443 = lean_box(0); +} +if (lean_is_scalar(x_443)) { + x_444 = lean_alloc_ctor(0, 2, 0); +} else { + x_444 = x_443; +} +lean_ctor_set(x_444, 0, x_416); +lean_ctor_set(x_444, 1, x_442); +return x_444; +} +else +{ +lean_object* x_445; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +if (lean_is_scalar(x_418)) { + x_445 = lean_alloc_ctor(0, 2, 0); +} else { + x_445 = x_418; +} +lean_ctor_set(x_445, 0, x_416); +lean_ctor_set(x_445, 1, x_417); +return x_445; +} +} +else +{ +lean_object* x_446; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +if (lean_is_scalar(x_418)) { + x_446 = lean_alloc_ctor(0, 2, 0); +} else { + x_446 = x_418; +} +lean_ctor_set(x_446, 0, x_416); +lean_ctor_set(x_446, 1, x_417); +return x_446; +} +} +else +{ +lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_447 = lean_ctor_get(x_415, 0); +lean_inc(x_447); +x_448 = lean_ctor_get(x_415, 1); +lean_inc(x_448); +if (lean_is_exclusive(x_415)) { + lean_ctor_release(x_415, 0); + lean_ctor_release(x_415, 1); + x_449 = x_415; +} else { + lean_dec_ref(x_415); + x_449 = lean_box(0); +} +if (lean_is_scalar(x_449)) { + x_450 = lean_alloc_ctor(1, 2, 0); +} else { + x_450 = x_449; +} +lean_ctor_set(x_450, 0, x_447); +lean_ctor_set(x_450, 1, x_448); +return x_450; +} +} +else +{ +lean_object* x_451; lean_object* x_452; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_451 = lean_ctor_get(x_413, 0); +lean_inc(x_451); +lean_dec(x_413); +x_452 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_452, 0, x_451); +lean_ctor_set(x_452, 1, x_410); +return x_452; } } } case 9: { -lean_object* x_465; lean_object* x_466; lean_object* x_467; +lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_465 = lean_ctor_get(x_1, 0); -lean_inc(x_465); +x_453 = lean_ctor_get(x_1, 0); +lean_inc(x_453); lean_dec(x_1); -x_466 = l_Lean_Literal_type(x_465); -lean_dec(x_465); -x_467 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_467, 0, x_466); -lean_ctor_set(x_467, 1, x_6); -return x_467; +x_454 = l_Lean_Literal_type(x_453); +lean_dec(x_453); +x_455 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_455, 0, x_454); +lean_ctor_set(x_455, 1, x_6); +return x_455; } case 10: { -lean_object* x_468; -x_468 = lean_ctor_get(x_1, 1); -lean_inc(x_468); +lean_object* x_456; +x_456 = lean_ctor_get(x_1, 1); +lean_inc(x_456); lean_dec(x_1); -x_1 = x_468; +x_1 = x_456; goto _start; } case 11: { -lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; uint8_t x_476; -x_470 = lean_ctor_get(x_1, 0); -lean_inc(x_470); -x_471 = lean_ctor_get(x_1, 1); -lean_inc(x_471); -x_472 = lean_ctor_get(x_1, 2); -lean_inc(x_472); -x_473 = lean_st_ref_get(x_5, x_6); -x_474 = lean_ctor_get(x_473, 1); -lean_inc(x_474); -lean_dec(x_473); -x_475 = lean_st_ref_get(x_3, x_474); -x_476 = !lean_is_exclusive(x_475); -if (x_476 == 0) +lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; uint8_t x_464; +x_458 = lean_ctor_get(x_1, 0); +lean_inc(x_458); +x_459 = lean_ctor_get(x_1, 1); +lean_inc(x_459); +x_460 = lean_ctor_get(x_1, 2); +lean_inc(x_460); +x_461 = lean_st_ref_get(x_5, x_6); +x_462 = lean_ctor_get(x_461, 1); +lean_inc(x_462); +lean_dec(x_461); +x_463 = lean_st_ref_get(x_3, x_462); +x_464 = !lean_is_exclusive(x_463); +if (x_464 == 0) { -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_475, 0); -x_478 = lean_ctor_get(x_475, 1); -x_479 = lean_ctor_get(x_477, 1); -lean_inc(x_479); -lean_dec(x_477); -x_480 = lean_ctor_get(x_479, 0); -lean_inc(x_480); -lean_dec(x_479); +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_463, 0); +x_466 = lean_ctor_get(x_463, 1); +x_467 = lean_ctor_get(x_465, 1); +lean_inc(x_467); +lean_dec(x_465); +x_468 = lean_ctor_get(x_467, 0); +lean_inc(x_468); +lean_dec(x_467); lean_inc(x_1); -x_481 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_480, x_1); -if (lean_obj_tag(x_481) == 0) +x_469 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_468, x_1); +if (lean_obj_tag(x_469) == 0) { -lean_object* x_482; -lean_free_object(x_475); +lean_object* x_470; +lean_free_object(x_463); lean_inc(x_5); lean_inc(x_3); -x_482 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType(x_470, x_471, x_472, x_2, x_3, x_4, x_5, x_478); -if (lean_obj_tag(x_482) == 0) +x_470 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType(x_458, x_459, x_460, x_2, x_3, x_4, x_5, x_466); +if (lean_obj_tag(x_470) == 0) { -uint8_t x_483; -x_483 = !lean_is_exclusive(x_482); -if (x_483 == 0) +uint8_t x_471; +x_471 = !lean_is_exclusive(x_470); +if (x_471 == 0) { -lean_object* x_484; lean_object* x_485; uint8_t x_486; -x_484 = lean_ctor_get(x_482, 0); -x_485 = lean_ctor_get(x_482, 1); -x_486 = l_Lean_Expr_hasMVar(x_1); -if (x_486 == 0) +lean_object* x_472; lean_object* x_473; uint8_t x_474; +x_472 = lean_ctor_get(x_470, 0); +x_473 = lean_ctor_get(x_470, 1); +x_474 = l_Lean_Expr_hasMVar(x_1); +if (x_474 == 0) { -uint8_t x_487; -x_487 = l_Lean_Expr_hasMVar(x_484); -if (x_487 == 0) +uint8_t x_475; +x_475 = l_Lean_Expr_hasMVar(x_472); +if (x_475 == 0) { -lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; uint8_t x_494; -lean_free_object(x_482); -x_488 = lean_st_ref_get(x_5, x_485); +lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; uint8_t x_482; +lean_free_object(x_470); +x_476 = lean_st_ref_get(x_5, x_473); lean_dec(x_5); -x_489 = lean_ctor_get(x_488, 1); -lean_inc(x_489); -lean_dec(x_488); -x_490 = lean_st_ref_take(x_3, x_489); -x_491 = lean_ctor_get(x_490, 0); -lean_inc(x_491); -x_492 = lean_ctor_get(x_491, 1); -lean_inc(x_492); -x_493 = lean_ctor_get(x_490, 1); -lean_inc(x_493); -lean_dec(x_490); -x_494 = !lean_is_exclusive(x_491); -if (x_494 == 0) +x_477 = lean_ctor_get(x_476, 1); +lean_inc(x_477); +lean_dec(x_476); +x_478 = lean_st_ref_take(x_3, x_477); +x_479 = lean_ctor_get(x_478, 0); +lean_inc(x_479); +x_480 = lean_ctor_get(x_479, 1); +lean_inc(x_480); +x_481 = lean_ctor_get(x_478, 1); +lean_inc(x_481); +lean_dec(x_478); +x_482 = !lean_is_exclusive(x_479); +if (x_482 == 0) { -lean_object* x_495; uint8_t x_496; -x_495 = lean_ctor_get(x_491, 1); -lean_dec(x_495); -x_496 = !lean_is_exclusive(x_492); -if (x_496 == 0) +lean_object* x_483; uint8_t x_484; +x_483 = lean_ctor_get(x_479, 1); +lean_dec(x_483); +x_484 = !lean_is_exclusive(x_480); +if (x_484 == 0) { -lean_object* x_497; lean_object* x_498; lean_object* x_499; uint8_t x_500; -x_497 = lean_ctor_get(x_492, 0); -lean_inc(x_484); -x_498 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_497, x_1, x_484); -lean_ctor_set(x_492, 0, x_498); -x_499 = lean_st_ref_set(x_3, x_491, x_493); +lean_object* x_485; lean_object* x_486; lean_object* x_487; uint8_t x_488; +x_485 = lean_ctor_get(x_480, 0); +lean_inc(x_472); +x_486 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_485, x_1, x_472); +lean_ctor_set(x_480, 0, x_486); +x_487 = lean_st_ref_set(x_3, x_479, x_481); lean_dec(x_3); -x_500 = !lean_is_exclusive(x_499); -if (x_500 == 0) +x_488 = !lean_is_exclusive(x_487); +if (x_488 == 0) { -lean_object* x_501; -x_501 = lean_ctor_get(x_499, 0); -lean_dec(x_501); -lean_ctor_set(x_499, 0, x_484); -return x_499; +lean_object* x_489; +x_489 = lean_ctor_get(x_487, 0); +lean_dec(x_489); +lean_ctor_set(x_487, 0, x_472); +return x_487; } else { -lean_object* x_502; lean_object* x_503; -x_502 = lean_ctor_get(x_499, 1); -lean_inc(x_502); -lean_dec(x_499); -x_503 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_503, 0, x_484); -lean_ctor_set(x_503, 1, x_502); +lean_object* x_490; lean_object* x_491; +x_490 = lean_ctor_get(x_487, 1); +lean_inc(x_490); +lean_dec(x_487); +x_491 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_491, 0, x_472); +lean_ctor_set(x_491, 1, x_490); +return x_491; +} +} +else +{ +lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* 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; +x_492 = lean_ctor_get(x_480, 0); +x_493 = lean_ctor_get(x_480, 1); +x_494 = lean_ctor_get(x_480, 2); +x_495 = lean_ctor_get(x_480, 3); +x_496 = lean_ctor_get(x_480, 4); +x_497 = lean_ctor_get(x_480, 5); +lean_inc(x_497); +lean_inc(x_496); +lean_inc(x_495); +lean_inc(x_494); +lean_inc(x_493); +lean_inc(x_492); +lean_dec(x_480); +lean_inc(x_472); +x_498 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_492, x_1, x_472); +x_499 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_499, 0, x_498); +lean_ctor_set(x_499, 1, x_493); +lean_ctor_set(x_499, 2, x_494); +lean_ctor_set(x_499, 3, x_495); +lean_ctor_set(x_499, 4, x_496); +lean_ctor_set(x_499, 5, x_497); +lean_ctor_set(x_479, 1, x_499); +x_500 = lean_st_ref_set(x_3, x_479, x_481); +lean_dec(x_3); +x_501 = lean_ctor_get(x_500, 1); +lean_inc(x_501); +if (lean_is_exclusive(x_500)) { + lean_ctor_release(x_500, 0); + lean_ctor_release(x_500, 1); + x_502 = x_500; +} else { + lean_dec_ref(x_500); + x_502 = lean_box(0); +} +if (lean_is_scalar(x_502)) { + x_503 = lean_alloc_ctor(0, 2, 0); +} else { + x_503 = x_502; +} +lean_ctor_set(x_503, 0, x_472); +lean_ctor_set(x_503, 1, x_501); return x_503; } } else { -lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; -x_504 = lean_ctor_get(x_492, 0); -x_505 = lean_ctor_get(x_492, 1); -x_506 = lean_ctor_get(x_492, 2); -x_507 = lean_ctor_get(x_492, 3); -x_508 = lean_ctor_get(x_492, 4); -x_509 = lean_ctor_get(x_492, 5); -x_510 = lean_ctor_get(x_492, 6); -lean_inc(x_510); -lean_inc(x_509); -lean_inc(x_508); -lean_inc(x_507); +lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; 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_object* x_520; +x_504 = lean_ctor_get(x_479, 0); +x_505 = lean_ctor_get(x_479, 2); +x_506 = lean_ctor_get(x_479, 3); lean_inc(x_506); lean_inc(x_505); lean_inc(x_504); -lean_dec(x_492); -lean_inc(x_484); -x_511 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_504, x_1, x_484); -x_512 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_512, 0, x_511); -lean_ctor_set(x_512, 1, x_505); -lean_ctor_set(x_512, 2, x_506); -lean_ctor_set(x_512, 3, x_507); -lean_ctor_set(x_512, 4, x_508); -lean_ctor_set(x_512, 5, x_509); -lean_ctor_set(x_512, 6, x_510); -lean_ctor_set(x_491, 1, x_512); -x_513 = lean_st_ref_set(x_3, x_491, x_493); -lean_dec(x_3); -x_514 = lean_ctor_get(x_513, 1); -lean_inc(x_514); -if (lean_is_exclusive(x_513)) { - lean_ctor_release(x_513, 0); - lean_ctor_release(x_513, 1); +lean_dec(x_479); +x_507 = lean_ctor_get(x_480, 0); +lean_inc(x_507); +x_508 = lean_ctor_get(x_480, 1); +lean_inc(x_508); +x_509 = lean_ctor_get(x_480, 2); +lean_inc(x_509); +x_510 = lean_ctor_get(x_480, 3); +lean_inc(x_510); +x_511 = lean_ctor_get(x_480, 4); +lean_inc(x_511); +x_512 = lean_ctor_get(x_480, 5); +lean_inc(x_512); +if (lean_is_exclusive(x_480)) { + lean_ctor_release(x_480, 0); + lean_ctor_release(x_480, 1); + lean_ctor_release(x_480, 2); + lean_ctor_release(x_480, 3); + lean_ctor_release(x_480, 4); + lean_ctor_release(x_480, 5); + x_513 = x_480; +} else { + lean_dec_ref(x_480); + x_513 = lean_box(0); +} +lean_inc(x_472); +x_514 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_507, x_1, x_472); +if (lean_is_scalar(x_513)) { + x_515 = lean_alloc_ctor(0, 6, 0); +} else { x_515 = x_513; -} else { - lean_dec_ref(x_513); - x_515 = lean_box(0); } -if (lean_is_scalar(x_515)) { - x_516 = lean_alloc_ctor(0, 2, 0); -} else { - x_516 = x_515; -} -lean_ctor_set(x_516, 0, x_484); -lean_ctor_set(x_516, 1, x_514); -return x_516; -} -} -else -{ -lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; -x_517 = lean_ctor_get(x_491, 0); -x_518 = lean_ctor_get(x_491, 2); -x_519 = lean_ctor_get(x_491, 3); -lean_inc(x_519); +lean_ctor_set(x_515, 0, x_514); +lean_ctor_set(x_515, 1, x_508); +lean_ctor_set(x_515, 2, x_509); +lean_ctor_set(x_515, 3, x_510); +lean_ctor_set(x_515, 4, x_511); +lean_ctor_set(x_515, 5, x_512); +x_516 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_516, 0, x_504); +lean_ctor_set(x_516, 1, x_515); +lean_ctor_set(x_516, 2, x_505); +lean_ctor_set(x_516, 3, x_506); +x_517 = lean_st_ref_set(x_3, x_516, x_481); +lean_dec(x_3); +x_518 = lean_ctor_get(x_517, 1); lean_inc(x_518); -lean_inc(x_517); -lean_dec(x_491); -x_520 = lean_ctor_get(x_492, 0); -lean_inc(x_520); -x_521 = lean_ctor_get(x_492, 1); -lean_inc(x_521); -x_522 = lean_ctor_get(x_492, 2); +if (lean_is_exclusive(x_517)) { + lean_ctor_release(x_517, 0); + lean_ctor_release(x_517, 1); + x_519 = x_517; +} else { + lean_dec_ref(x_517); + x_519 = lean_box(0); +} +if (lean_is_scalar(x_519)) { + x_520 = lean_alloc_ctor(0, 2, 0); +} else { + x_520 = x_519; +} +lean_ctor_set(x_520, 0, x_472); +lean_ctor_set(x_520, 1, x_518); +return x_520; +} +} +else +{ +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_470; +} +} +else +{ +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_470; +} +} +else +{ +lean_object* x_521; lean_object* x_522; uint8_t x_523; +x_521 = lean_ctor_get(x_470, 0); +x_522 = lean_ctor_get(x_470, 1); lean_inc(x_522); -x_523 = lean_ctor_get(x_492, 3); -lean_inc(x_523); -x_524 = lean_ctor_get(x_492, 4); -lean_inc(x_524); -x_525 = lean_ctor_get(x_492, 5); -lean_inc(x_525); -x_526 = lean_ctor_get(x_492, 6); -lean_inc(x_526); -if (lean_is_exclusive(x_492)) { - lean_ctor_release(x_492, 0); - lean_ctor_release(x_492, 1); - lean_ctor_release(x_492, 2); - lean_ctor_release(x_492, 3); - lean_ctor_release(x_492, 4); - lean_ctor_release(x_492, 5); - lean_ctor_release(x_492, 6); - x_527 = x_492; -} else { - lean_dec_ref(x_492); - x_527 = lean_box(0); -} -lean_inc(x_484); -x_528 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_520, x_1, x_484); -if (lean_is_scalar(x_527)) { - x_529 = lean_alloc_ctor(0, 7, 0); -} else { - x_529 = x_527; -} -lean_ctor_set(x_529, 0, x_528); -lean_ctor_set(x_529, 1, x_521); -lean_ctor_set(x_529, 2, x_522); -lean_ctor_set(x_529, 3, x_523); -lean_ctor_set(x_529, 4, x_524); -lean_ctor_set(x_529, 5, x_525); -lean_ctor_set(x_529, 6, x_526); -x_530 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_530, 0, x_517); -lean_ctor_set(x_530, 1, x_529); -lean_ctor_set(x_530, 2, x_518); -lean_ctor_set(x_530, 3, x_519); -x_531 = lean_st_ref_set(x_3, x_530, x_493); -lean_dec(x_3); -x_532 = lean_ctor_get(x_531, 1); -lean_inc(x_532); -if (lean_is_exclusive(x_531)) { - lean_ctor_release(x_531, 0); - lean_ctor_release(x_531, 1); - x_533 = x_531; -} else { - lean_dec_ref(x_531); - x_533 = lean_box(0); -} -if (lean_is_scalar(x_533)) { - x_534 = lean_alloc_ctor(0, 2, 0); -} else { - x_534 = x_533; -} -lean_ctor_set(x_534, 0, x_484); -lean_ctor_set(x_534, 1, x_532); -return x_534; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -return x_482; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -return x_482; -} -} -else -{ -lean_object* x_535; lean_object* x_536; uint8_t x_537; -x_535 = lean_ctor_get(x_482, 0); -x_536 = lean_ctor_get(x_482, 1); -lean_inc(x_536); -lean_inc(x_535); -lean_dec(x_482); -x_537 = l_Lean_Expr_hasMVar(x_1); -if (x_537 == 0) -{ -uint8_t x_538; -x_538 = l_Lean_Expr_hasMVar(x_535); -if (x_538 == 0) -{ -lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; 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_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; -x_539 = lean_st_ref_get(x_5, x_536); -lean_dec(x_5); -x_540 = lean_ctor_get(x_539, 1); -lean_inc(x_540); -lean_dec(x_539); -x_541 = lean_st_ref_take(x_3, x_540); -x_542 = lean_ctor_get(x_541, 0); -lean_inc(x_542); -x_543 = lean_ctor_get(x_542, 1); -lean_inc(x_543); -x_544 = lean_ctor_get(x_541, 1); -lean_inc(x_544); -lean_dec(x_541); -x_545 = lean_ctor_get(x_542, 0); -lean_inc(x_545); -x_546 = lean_ctor_get(x_542, 2); -lean_inc(x_546); -x_547 = lean_ctor_get(x_542, 3); -lean_inc(x_547); -if (lean_is_exclusive(x_542)) { - lean_ctor_release(x_542, 0); - lean_ctor_release(x_542, 1); - lean_ctor_release(x_542, 2); - lean_ctor_release(x_542, 3); - x_548 = x_542; -} else { - lean_dec_ref(x_542); - x_548 = lean_box(0); -} -x_549 = lean_ctor_get(x_543, 0); -lean_inc(x_549); -x_550 = lean_ctor_get(x_543, 1); -lean_inc(x_550); -x_551 = lean_ctor_get(x_543, 2); -lean_inc(x_551); -x_552 = lean_ctor_get(x_543, 3); -lean_inc(x_552); -x_553 = lean_ctor_get(x_543, 4); -lean_inc(x_553); -x_554 = lean_ctor_get(x_543, 5); -lean_inc(x_554); -x_555 = lean_ctor_get(x_543, 6); -lean_inc(x_555); -if (lean_is_exclusive(x_543)) { - lean_ctor_release(x_543, 0); - lean_ctor_release(x_543, 1); - lean_ctor_release(x_543, 2); - lean_ctor_release(x_543, 3); - lean_ctor_release(x_543, 4); - lean_ctor_release(x_543, 5); - lean_ctor_release(x_543, 6); - x_556 = x_543; -} else { - lean_dec_ref(x_543); - x_556 = lean_box(0); -} -lean_inc(x_535); -x_557 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_549, x_1, x_535); -if (lean_is_scalar(x_556)) { - x_558 = lean_alloc_ctor(0, 7, 0); -} else { - x_558 = x_556; -} -lean_ctor_set(x_558, 0, x_557); -lean_ctor_set(x_558, 1, x_550); -lean_ctor_set(x_558, 2, x_551); -lean_ctor_set(x_558, 3, x_552); -lean_ctor_set(x_558, 4, x_553); -lean_ctor_set(x_558, 5, x_554); -lean_ctor_set(x_558, 6, x_555); -if (lean_is_scalar(x_548)) { - x_559 = lean_alloc_ctor(0, 4, 0); -} else { - x_559 = x_548; -} -lean_ctor_set(x_559, 0, x_545); -lean_ctor_set(x_559, 1, x_558); -lean_ctor_set(x_559, 2, x_546); -lean_ctor_set(x_559, 3, x_547); -x_560 = lean_st_ref_set(x_3, x_559, x_544); -lean_dec(x_3); -x_561 = lean_ctor_get(x_560, 1); -lean_inc(x_561); -if (lean_is_exclusive(x_560)) { - lean_ctor_release(x_560, 0); - lean_ctor_release(x_560, 1); - x_562 = x_560; -} else { - lean_dec_ref(x_560); - x_562 = lean_box(0); -} -if (lean_is_scalar(x_562)) { - x_563 = lean_alloc_ctor(0, 2, 0); -} else { - x_563 = x_562; -} -lean_ctor_set(x_563, 0, x_535); -lean_ctor_set(x_563, 1, x_561); -return x_563; -} -else -{ -lean_object* x_564; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_564 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_564, 0, x_535); -lean_ctor_set(x_564, 1, x_536); -return x_564; -} -} -else -{ -lean_object* x_565; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_565 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_565, 0, x_535); -lean_ctor_set(x_565, 1, x_536); -return x_565; -} -} -} -else -{ -uint8_t x_566; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_566 = !lean_is_exclusive(x_482); -if (x_566 == 0) -{ -return x_482; -} -else -{ -lean_object* x_567; lean_object* x_568; lean_object* x_569; -x_567 = lean_ctor_get(x_482, 0); -x_568 = lean_ctor_get(x_482, 1); -lean_inc(x_568); -lean_inc(x_567); -lean_dec(x_482); -x_569 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_569, 0, x_567); -lean_ctor_set(x_569, 1, x_568); -return x_569; -} -} -} -else -{ -lean_object* x_570; -lean_dec(x_472); -lean_dec(x_471); +lean_inc(x_521); lean_dec(x_470); +x_523 = l_Lean_Expr_hasMVar(x_1); +if (x_523 == 0) +{ +uint8_t x_524; +x_524 = l_Lean_Expr_hasMVar(x_521); +if (x_524 == 0) +{ +lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; +x_525 = lean_st_ref_get(x_5, x_522); +lean_dec(x_5); +x_526 = lean_ctor_get(x_525, 1); +lean_inc(x_526); +lean_dec(x_525); +x_527 = lean_st_ref_take(x_3, x_526); +x_528 = lean_ctor_get(x_527, 0); +lean_inc(x_528); +x_529 = lean_ctor_get(x_528, 1); +lean_inc(x_529); +x_530 = lean_ctor_get(x_527, 1); +lean_inc(x_530); +lean_dec(x_527); +x_531 = lean_ctor_get(x_528, 0); +lean_inc(x_531); +x_532 = lean_ctor_get(x_528, 2); +lean_inc(x_532); +x_533 = lean_ctor_get(x_528, 3); +lean_inc(x_533); +if (lean_is_exclusive(x_528)) { + lean_ctor_release(x_528, 0); + lean_ctor_release(x_528, 1); + lean_ctor_release(x_528, 2); + lean_ctor_release(x_528, 3); + x_534 = x_528; +} else { + lean_dec_ref(x_528); + x_534 = lean_box(0); +} +x_535 = lean_ctor_get(x_529, 0); +lean_inc(x_535); +x_536 = lean_ctor_get(x_529, 1); +lean_inc(x_536); +x_537 = lean_ctor_get(x_529, 2); +lean_inc(x_537); +x_538 = lean_ctor_get(x_529, 3); +lean_inc(x_538); +x_539 = lean_ctor_get(x_529, 4); +lean_inc(x_539); +x_540 = lean_ctor_get(x_529, 5); +lean_inc(x_540); +if (lean_is_exclusive(x_529)) { + lean_ctor_release(x_529, 0); + lean_ctor_release(x_529, 1); + lean_ctor_release(x_529, 2); + lean_ctor_release(x_529, 3); + lean_ctor_release(x_529, 4); + lean_ctor_release(x_529, 5); + x_541 = x_529; +} else { + lean_dec_ref(x_529); + x_541 = lean_box(0); +} +lean_inc(x_521); +x_542 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_535, x_1, x_521); +if (lean_is_scalar(x_541)) { + x_543 = lean_alloc_ctor(0, 6, 0); +} else { + x_543 = x_541; +} +lean_ctor_set(x_543, 0, x_542); +lean_ctor_set(x_543, 1, x_536); +lean_ctor_set(x_543, 2, x_537); +lean_ctor_set(x_543, 3, x_538); +lean_ctor_set(x_543, 4, x_539); +lean_ctor_set(x_543, 5, x_540); +if (lean_is_scalar(x_534)) { + x_544 = lean_alloc_ctor(0, 4, 0); +} else { + x_544 = x_534; +} +lean_ctor_set(x_544, 0, x_531); +lean_ctor_set(x_544, 1, x_543); +lean_ctor_set(x_544, 2, x_532); +lean_ctor_set(x_544, 3, x_533); +x_545 = lean_st_ref_set(x_3, x_544, x_530); +lean_dec(x_3); +x_546 = lean_ctor_get(x_545, 1); +lean_inc(x_546); +if (lean_is_exclusive(x_545)) { + lean_ctor_release(x_545, 0); + lean_ctor_release(x_545, 1); + x_547 = x_545; +} else { + lean_dec_ref(x_545); + x_547 = lean_box(0); +} +if (lean_is_scalar(x_547)) { + x_548 = lean_alloc_ctor(0, 2, 0); +} else { + x_548 = x_547; +} +lean_ctor_set(x_548, 0, x_521); +lean_ctor_set(x_548, 1, x_546); +return x_548; +} +else +{ +lean_object* x_549; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_549 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_549, 0, x_521); +lean_ctor_set(x_549, 1, x_522); +return x_549; +} +} +else +{ +lean_object* x_550; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_550 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_550, 0, x_521); +lean_ctor_set(x_550, 1, x_522); +return x_550; +} +} +} +else +{ +uint8_t x_551; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_551 = !lean_is_exclusive(x_470); +if (x_551 == 0) +{ +return x_470; +} +else +{ +lean_object* x_552; lean_object* x_553; lean_object* x_554; +x_552 = lean_ctor_get(x_470, 0); +x_553 = lean_ctor_get(x_470, 1); +lean_inc(x_553); +lean_inc(x_552); +lean_dec(x_470); +x_554 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_554, 0, x_552); +lean_ctor_set(x_554, 1, x_553); +return x_554; +} +} +} +else +{ +lean_object* x_555; +lean_dec(x_460); +lean_dec(x_459); +lean_dec(x_458); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_570 = lean_ctor_get(x_481, 0); -lean_inc(x_570); -lean_dec(x_481); -lean_ctor_set(x_475, 0, x_570); -return x_475; +x_555 = lean_ctor_get(x_469, 0); +lean_inc(x_555); +lean_dec(x_469); +lean_ctor_set(x_463, 0, x_555); +return x_463; } } else { -lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; -x_571 = lean_ctor_get(x_475, 0); -x_572 = lean_ctor_get(x_475, 1); -lean_inc(x_572); -lean_inc(x_571); -lean_dec(x_475); -x_573 = lean_ctor_get(x_571, 1); -lean_inc(x_573); -lean_dec(x_571); -x_574 = lean_ctor_get(x_573, 0); -lean_inc(x_574); -lean_dec(x_573); +lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; +x_556 = lean_ctor_get(x_463, 0); +x_557 = lean_ctor_get(x_463, 1); +lean_inc(x_557); +lean_inc(x_556); +lean_dec(x_463); +x_558 = lean_ctor_get(x_556, 1); +lean_inc(x_558); +lean_dec(x_556); +x_559 = lean_ctor_get(x_558, 0); +lean_inc(x_559); +lean_dec(x_558); lean_inc(x_1); -x_575 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_574, x_1); -if (lean_obj_tag(x_575) == 0) +x_560 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_559, x_1); +if (lean_obj_tag(x_560) == 0) { -lean_object* x_576; +lean_object* x_561; lean_inc(x_5); lean_inc(x_3); -x_576 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType(x_470, x_471, x_472, x_2, x_3, x_4, x_5, x_572); -if (lean_obj_tag(x_576) == 0) +x_561 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType(x_458, x_459, x_460, x_2, x_3, x_4, x_5, x_557); +if (lean_obj_tag(x_561) == 0) { -lean_object* x_577; lean_object* x_578; lean_object* x_579; uint8_t x_580; -x_577 = lean_ctor_get(x_576, 0); +lean_object* x_562; lean_object* x_563; lean_object* x_564; uint8_t x_565; +x_562 = lean_ctor_get(x_561, 0); +lean_inc(x_562); +x_563 = lean_ctor_get(x_561, 1); +lean_inc(x_563); +if (lean_is_exclusive(x_561)) { + lean_ctor_release(x_561, 0); + lean_ctor_release(x_561, 1); + x_564 = x_561; +} else { + lean_dec_ref(x_561); + x_564 = lean_box(0); +} +x_565 = l_Lean_Expr_hasMVar(x_1); +if (x_565 == 0) +{ +uint8_t x_566; +x_566 = l_Lean_Expr_hasMVar(x_562); +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; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; +lean_dec(x_564); +x_567 = lean_st_ref_get(x_5, x_563); +lean_dec(x_5); +x_568 = lean_ctor_get(x_567, 1); +lean_inc(x_568); +lean_dec(x_567); +x_569 = lean_st_ref_take(x_3, x_568); +x_570 = lean_ctor_get(x_569, 0); +lean_inc(x_570); +x_571 = lean_ctor_get(x_570, 1); +lean_inc(x_571); +x_572 = lean_ctor_get(x_569, 1); +lean_inc(x_572); +lean_dec(x_569); +x_573 = lean_ctor_get(x_570, 0); +lean_inc(x_573); +x_574 = lean_ctor_get(x_570, 2); +lean_inc(x_574); +x_575 = lean_ctor_get(x_570, 3); +lean_inc(x_575); +if (lean_is_exclusive(x_570)) { + lean_ctor_release(x_570, 0); + lean_ctor_release(x_570, 1); + lean_ctor_release(x_570, 2); + lean_ctor_release(x_570, 3); + x_576 = x_570; +} else { + lean_dec_ref(x_570); + x_576 = lean_box(0); +} +x_577 = lean_ctor_get(x_571, 0); lean_inc(x_577); -x_578 = lean_ctor_get(x_576, 1); +x_578 = lean_ctor_get(x_571, 1); lean_inc(x_578); -if (lean_is_exclusive(x_576)) { - lean_ctor_release(x_576, 0); - lean_ctor_release(x_576, 1); - x_579 = x_576; +x_579 = lean_ctor_get(x_571, 2); +lean_inc(x_579); +x_580 = lean_ctor_get(x_571, 3); +lean_inc(x_580); +x_581 = lean_ctor_get(x_571, 4); +lean_inc(x_581); +x_582 = lean_ctor_get(x_571, 5); +lean_inc(x_582); +if (lean_is_exclusive(x_571)) { + lean_ctor_release(x_571, 0); + lean_ctor_release(x_571, 1); + lean_ctor_release(x_571, 2); + lean_ctor_release(x_571, 3); + lean_ctor_release(x_571, 4); + lean_ctor_release(x_571, 5); + x_583 = x_571; } else { - lean_dec_ref(x_576); - x_579 = lean_box(0); + lean_dec_ref(x_571); + x_583 = lean_box(0); } -x_580 = l_Lean_Expr_hasMVar(x_1); -if (x_580 == 0) -{ -uint8_t x_581; -x_581 = l_Lean_Expr_hasMVar(x_577); -if (x_581 == 0) -{ -lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; -lean_dec(x_579); -x_582 = lean_st_ref_get(x_5, x_578); -lean_dec(x_5); -x_583 = lean_ctor_get(x_582, 1); -lean_inc(x_583); -lean_dec(x_582); -x_584 = lean_st_ref_take(x_3, x_583); -x_585 = lean_ctor_get(x_584, 0); -lean_inc(x_585); -x_586 = lean_ctor_get(x_585, 1); -lean_inc(x_586); -x_587 = lean_ctor_get(x_584, 1); -lean_inc(x_587); -lean_dec(x_584); -x_588 = lean_ctor_get(x_585, 0); +lean_inc(x_562); +x_584 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_577, x_1, x_562); +if (lean_is_scalar(x_583)) { + x_585 = lean_alloc_ctor(0, 6, 0); +} else { + x_585 = x_583; +} +lean_ctor_set(x_585, 0, x_584); +lean_ctor_set(x_585, 1, x_578); +lean_ctor_set(x_585, 2, x_579); +lean_ctor_set(x_585, 3, x_580); +lean_ctor_set(x_585, 4, x_581); +lean_ctor_set(x_585, 5, x_582); +if (lean_is_scalar(x_576)) { + x_586 = lean_alloc_ctor(0, 4, 0); +} else { + x_586 = x_576; +} +lean_ctor_set(x_586, 0, x_573); +lean_ctor_set(x_586, 1, x_585); +lean_ctor_set(x_586, 2, x_574); +lean_ctor_set(x_586, 3, x_575); +x_587 = lean_st_ref_set(x_3, x_586, x_572); +lean_dec(x_3); +x_588 = lean_ctor_get(x_587, 1); lean_inc(x_588); -x_589 = lean_ctor_get(x_585, 2); -lean_inc(x_589); -x_590 = lean_ctor_get(x_585, 3); -lean_inc(x_590); -if (lean_is_exclusive(x_585)) { - lean_ctor_release(x_585, 0); - lean_ctor_release(x_585, 1); - lean_ctor_release(x_585, 2); - lean_ctor_release(x_585, 3); - x_591 = x_585; +if (lean_is_exclusive(x_587)) { + lean_ctor_release(x_587, 0); + lean_ctor_release(x_587, 1); + x_589 = x_587; } else { - lean_dec_ref(x_585); - x_591 = lean_box(0); + lean_dec_ref(x_587); + x_589 = lean_box(0); } -x_592 = lean_ctor_get(x_586, 0); -lean_inc(x_592); -x_593 = lean_ctor_get(x_586, 1); +if (lean_is_scalar(x_589)) { + x_590 = lean_alloc_ctor(0, 2, 0); +} else { + x_590 = x_589; +} +lean_ctor_set(x_590, 0, x_562); +lean_ctor_set(x_590, 1, x_588); +return x_590; +} +else +{ +lean_object* x_591; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +if (lean_is_scalar(x_564)) { + x_591 = lean_alloc_ctor(0, 2, 0); +} else { + x_591 = x_564; +} +lean_ctor_set(x_591, 0, x_562); +lean_ctor_set(x_591, 1, x_563); +return x_591; +} +} +else +{ +lean_object* x_592; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +if (lean_is_scalar(x_564)) { + x_592 = lean_alloc_ctor(0, 2, 0); +} else { + x_592 = x_564; +} +lean_ctor_set(x_592, 0, x_562); +lean_ctor_set(x_592, 1, x_563); +return x_592; +} +} +else +{ +lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_593 = lean_ctor_get(x_561, 0); lean_inc(x_593); -x_594 = lean_ctor_get(x_586, 2); +x_594 = lean_ctor_get(x_561, 1); lean_inc(x_594); -x_595 = lean_ctor_get(x_586, 3); -lean_inc(x_595); -x_596 = lean_ctor_get(x_586, 4); -lean_inc(x_596); -x_597 = lean_ctor_get(x_586, 5); -lean_inc(x_597); -x_598 = lean_ctor_get(x_586, 6); -lean_inc(x_598); -if (lean_is_exclusive(x_586)) { - lean_ctor_release(x_586, 0); - lean_ctor_release(x_586, 1); - lean_ctor_release(x_586, 2); - lean_ctor_release(x_586, 3); - lean_ctor_release(x_586, 4); - lean_ctor_release(x_586, 5); - lean_ctor_release(x_586, 6); - x_599 = x_586; +if (lean_is_exclusive(x_561)) { + lean_ctor_release(x_561, 0); + lean_ctor_release(x_561, 1); + x_595 = x_561; } else { - lean_dec_ref(x_586); - x_599 = lean_box(0); + lean_dec_ref(x_561); + x_595 = lean_box(0); } -lean_inc(x_577); -x_600 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_592, x_1, x_577); -if (lean_is_scalar(x_599)) { - x_601 = lean_alloc_ctor(0, 7, 0); +if (lean_is_scalar(x_595)) { + x_596 = lean_alloc_ctor(1, 2, 0); } else { - x_601 = x_599; + x_596 = x_595; } -lean_ctor_set(x_601, 0, x_600); -lean_ctor_set(x_601, 1, x_593); -lean_ctor_set(x_601, 2, x_594); -lean_ctor_set(x_601, 3, x_595); -lean_ctor_set(x_601, 4, x_596); -lean_ctor_set(x_601, 5, x_597); -lean_ctor_set(x_601, 6, x_598); -if (lean_is_scalar(x_591)) { - x_602 = lean_alloc_ctor(0, 4, 0); -} else { - x_602 = x_591; -} -lean_ctor_set(x_602, 0, x_588); -lean_ctor_set(x_602, 1, x_601); -lean_ctor_set(x_602, 2, x_589); -lean_ctor_set(x_602, 3, x_590); -x_603 = lean_st_ref_set(x_3, x_602, x_587); -lean_dec(x_3); -x_604 = lean_ctor_get(x_603, 1); -lean_inc(x_604); -if (lean_is_exclusive(x_603)) { - lean_ctor_release(x_603, 0); - lean_ctor_release(x_603, 1); - x_605 = x_603; -} else { - lean_dec_ref(x_603); - x_605 = lean_box(0); -} -if (lean_is_scalar(x_605)) { - x_606 = lean_alloc_ctor(0, 2, 0); -} else { - x_606 = x_605; -} -lean_ctor_set(x_606, 0, x_577); -lean_ctor_set(x_606, 1, x_604); -return x_606; -} -else -{ -lean_object* x_607; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -if (lean_is_scalar(x_579)) { - x_607 = lean_alloc_ctor(0, 2, 0); -} else { - x_607 = x_579; -} -lean_ctor_set(x_607, 0, x_577); -lean_ctor_set(x_607, 1, x_578); -return x_607; +lean_ctor_set(x_596, 0, x_593); +lean_ctor_set(x_596, 1, x_594); +return x_596; } } else { -lean_object* x_608; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -if (lean_is_scalar(x_579)) { - x_608 = lean_alloc_ctor(0, 2, 0); -} else { - x_608 = x_579; -} -lean_ctor_set(x_608, 0, x_577); -lean_ctor_set(x_608, 1, x_578); -return x_608; -} -} -else -{ -lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_609 = lean_ctor_get(x_576, 0); -lean_inc(x_609); -x_610 = lean_ctor_get(x_576, 1); -lean_inc(x_610); -if (lean_is_exclusive(x_576)) { - lean_ctor_release(x_576, 0); - lean_ctor_release(x_576, 1); - x_611 = x_576; -} else { - lean_dec_ref(x_576); - x_611 = lean_box(0); -} -if (lean_is_scalar(x_611)) { - x_612 = lean_alloc_ctor(1, 2, 0); -} else { - x_612 = x_611; -} -lean_ctor_set(x_612, 0, x_609); -lean_ctor_set(x_612, 1, x_610); -return x_612; -} -} -else -{ -lean_object* x_613; lean_object* x_614; -lean_dec(x_472); -lean_dec(x_471); -lean_dec(x_470); +lean_object* x_597; lean_object* x_598; +lean_dec(x_460); +lean_dec(x_459); +lean_dec(x_458); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_613 = lean_ctor_get(x_575, 0); -lean_inc(x_613); -lean_dec(x_575); -x_614 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_614, 0, x_613); -lean_ctor_set(x_614, 1, x_572); -return x_614; +x_597 = lean_ctor_get(x_560, 0); +lean_inc(x_597); +lean_dec(x_560); +x_598 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_598, 0, x_597); +lean_ctor_set(x_598, 1, x_557); +return x_598; } } } default: { -lean_object* x_615; lean_object* x_616; lean_object* x_617; uint8_t x_618; -x_615 = lean_st_ref_get(x_5, x_6); -x_616 = lean_ctor_get(x_615, 1); -lean_inc(x_616); -lean_dec(x_615); -x_617 = lean_st_ref_get(x_3, x_616); -x_618 = !lean_is_exclusive(x_617); -if (x_618 == 0) +lean_object* x_599; lean_object* x_600; lean_object* x_601; uint8_t x_602; +x_599 = lean_st_ref_get(x_5, x_6); +x_600 = lean_ctor_get(x_599, 1); +lean_inc(x_600); +lean_dec(x_599); +x_601 = lean_st_ref_get(x_3, x_600); +x_602 = !lean_is_exclusive(x_601); +if (x_602 == 0) { -lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; -x_619 = lean_ctor_get(x_617, 0); -x_620 = lean_ctor_get(x_617, 1); -x_621 = lean_ctor_get(x_619, 1); -lean_inc(x_621); -lean_dec(x_619); -x_622 = lean_ctor_get(x_621, 0); -lean_inc(x_622); -lean_dec(x_621); +lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; +x_603 = lean_ctor_get(x_601, 0); +x_604 = lean_ctor_get(x_601, 1); +x_605 = lean_ctor_get(x_603, 1); +lean_inc(x_605); +lean_dec(x_603); +x_606 = lean_ctor_get(x_605, 0); +lean_inc(x_606); +lean_dec(x_605); lean_inc(x_1); -x_623 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_622, x_1); -if (lean_obj_tag(x_623) == 0) +x_607 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_606, x_1); +if (lean_obj_tag(x_607) == 0) { -lean_object* x_624; lean_object* x_625; -lean_free_object(x_617); -x_624 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___closed__1; +lean_object* x_608; lean_object* x_609; +lean_free_object(x_601); +x_608 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___closed__1; lean_inc(x_5); lean_inc(x_3); lean_inc(x_1); -x_625 = l_Lean_Meta_lambdaLetTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___spec__1___rarg(x_1, x_624, x_2, x_3, x_4, x_5, x_620); -if (lean_obj_tag(x_625) == 0) +x_609 = l_Lean_Meta_lambdaLetTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___spec__1___rarg(x_1, x_608, x_2, x_3, x_4, x_5, x_604); +if (lean_obj_tag(x_609) == 0) { -uint8_t x_626; -x_626 = !lean_is_exclusive(x_625); -if (x_626 == 0) +uint8_t x_610; +x_610 = !lean_is_exclusive(x_609); +if (x_610 == 0) { -lean_object* x_627; lean_object* x_628; uint8_t x_629; -x_627 = lean_ctor_get(x_625, 0); -x_628 = lean_ctor_get(x_625, 1); -x_629 = l_Lean_Expr_hasMVar(x_1); -if (x_629 == 0) +lean_object* x_611; lean_object* x_612; uint8_t x_613; +x_611 = lean_ctor_get(x_609, 0); +x_612 = lean_ctor_get(x_609, 1); +x_613 = l_Lean_Expr_hasMVar(x_1); +if (x_613 == 0) { -uint8_t x_630; -x_630 = l_Lean_Expr_hasMVar(x_627); -if (x_630 == 0) +uint8_t x_614; +x_614 = l_Lean_Expr_hasMVar(x_611); +if (x_614 == 0) { -lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; uint8_t x_637; -lean_free_object(x_625); -x_631 = lean_st_ref_get(x_5, x_628); +lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; uint8_t x_621; +lean_free_object(x_609); +x_615 = lean_st_ref_get(x_5, x_612); lean_dec(x_5); -x_632 = lean_ctor_get(x_631, 1); -lean_inc(x_632); -lean_dec(x_631); -x_633 = lean_st_ref_take(x_3, x_632); -x_634 = lean_ctor_get(x_633, 0); -lean_inc(x_634); -x_635 = lean_ctor_get(x_634, 1); -lean_inc(x_635); -x_636 = lean_ctor_get(x_633, 1); -lean_inc(x_636); -lean_dec(x_633); -x_637 = !lean_is_exclusive(x_634); -if (x_637 == 0) +x_616 = lean_ctor_get(x_615, 1); +lean_inc(x_616); +lean_dec(x_615); +x_617 = lean_st_ref_take(x_3, x_616); +x_618 = lean_ctor_get(x_617, 0); +lean_inc(x_618); +x_619 = lean_ctor_get(x_618, 1); +lean_inc(x_619); +x_620 = lean_ctor_get(x_617, 1); +lean_inc(x_620); +lean_dec(x_617); +x_621 = !lean_is_exclusive(x_618); +if (x_621 == 0) { -lean_object* x_638; uint8_t x_639; -x_638 = lean_ctor_get(x_634, 1); -lean_dec(x_638); -x_639 = !lean_is_exclusive(x_635); -if (x_639 == 0) +lean_object* x_622; uint8_t x_623; +x_622 = lean_ctor_get(x_618, 1); +lean_dec(x_622); +x_623 = !lean_is_exclusive(x_619); +if (x_623 == 0) { -lean_object* x_640; lean_object* x_641; lean_object* x_642; uint8_t x_643; -x_640 = lean_ctor_get(x_635, 0); -lean_inc(x_627); -x_641 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_640, x_1, x_627); -lean_ctor_set(x_635, 0, x_641); -x_642 = lean_st_ref_set(x_3, x_634, x_636); +lean_object* x_624; lean_object* x_625; lean_object* x_626; uint8_t x_627; +x_624 = lean_ctor_get(x_619, 0); +lean_inc(x_611); +x_625 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_624, x_1, x_611); +lean_ctor_set(x_619, 0, x_625); +x_626 = lean_st_ref_set(x_3, x_618, x_620); lean_dec(x_3); -x_643 = !lean_is_exclusive(x_642); -if (x_643 == 0) +x_627 = !lean_is_exclusive(x_626); +if (x_627 == 0) { -lean_object* x_644; -x_644 = lean_ctor_get(x_642, 0); -lean_dec(x_644); -lean_ctor_set(x_642, 0, x_627); +lean_object* x_628; +x_628 = lean_ctor_get(x_626, 0); +lean_dec(x_628); +lean_ctor_set(x_626, 0, x_611); +return x_626; +} +else +{ +lean_object* x_629; lean_object* x_630; +x_629 = lean_ctor_get(x_626, 1); +lean_inc(x_629); +lean_dec(x_626); +x_630 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_630, 0, x_611); +lean_ctor_set(x_630, 1, x_629); +return x_630; +} +} +else +{ +lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; +x_631 = lean_ctor_get(x_619, 0); +x_632 = lean_ctor_get(x_619, 1); +x_633 = lean_ctor_get(x_619, 2); +x_634 = lean_ctor_get(x_619, 3); +x_635 = lean_ctor_get(x_619, 4); +x_636 = lean_ctor_get(x_619, 5); +lean_inc(x_636); +lean_inc(x_635); +lean_inc(x_634); +lean_inc(x_633); +lean_inc(x_632); +lean_inc(x_631); +lean_dec(x_619); +lean_inc(x_611); +x_637 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_631, x_1, x_611); +x_638 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_638, 0, x_637); +lean_ctor_set(x_638, 1, x_632); +lean_ctor_set(x_638, 2, x_633); +lean_ctor_set(x_638, 3, x_634); +lean_ctor_set(x_638, 4, x_635); +lean_ctor_set(x_638, 5, x_636); +lean_ctor_set(x_618, 1, x_638); +x_639 = lean_st_ref_set(x_3, x_618, x_620); +lean_dec(x_3); +x_640 = lean_ctor_get(x_639, 1); +lean_inc(x_640); +if (lean_is_exclusive(x_639)) { + lean_ctor_release(x_639, 0); + lean_ctor_release(x_639, 1); + x_641 = x_639; +} else { + lean_dec_ref(x_639); + x_641 = lean_box(0); +} +if (lean_is_scalar(x_641)) { + x_642 = lean_alloc_ctor(0, 2, 0); +} else { + x_642 = x_641; +} +lean_ctor_set(x_642, 0, x_611); +lean_ctor_set(x_642, 1, x_640); return x_642; } +} else { -lean_object* x_645; lean_object* x_646; -x_645 = lean_ctor_get(x_642, 1); +lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; +x_643 = lean_ctor_get(x_618, 0); +x_644 = lean_ctor_get(x_618, 2); +x_645 = lean_ctor_get(x_618, 3); lean_inc(x_645); -lean_dec(x_642); -x_646 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_646, 0, x_627); -lean_ctor_set(x_646, 1, x_645); -return x_646; -} -} -else -{ -lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; -x_647 = lean_ctor_get(x_635, 0); -x_648 = lean_ctor_get(x_635, 1); -x_649 = lean_ctor_get(x_635, 2); -x_650 = lean_ctor_get(x_635, 3); -x_651 = lean_ctor_get(x_635, 4); -x_652 = lean_ctor_get(x_635, 5); -x_653 = lean_ctor_get(x_635, 6); -lean_inc(x_653); -lean_inc(x_652); -lean_inc(x_651); -lean_inc(x_650); -lean_inc(x_649); -lean_inc(x_648); +lean_inc(x_644); +lean_inc(x_643); +lean_dec(x_618); +x_646 = lean_ctor_get(x_619, 0); +lean_inc(x_646); +x_647 = lean_ctor_get(x_619, 1); lean_inc(x_647); -lean_dec(x_635); -lean_inc(x_627); -x_654 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_647, x_1, x_627); -x_655 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_655, 0, x_654); -lean_ctor_set(x_655, 1, x_648); -lean_ctor_set(x_655, 2, x_649); -lean_ctor_set(x_655, 3, x_650); -lean_ctor_set(x_655, 4, x_651); -lean_ctor_set(x_655, 5, x_652); -lean_ctor_set(x_655, 6, x_653); -lean_ctor_set(x_634, 1, x_655); -x_656 = lean_st_ref_set(x_3, x_634, x_636); +x_648 = lean_ctor_get(x_619, 2); +lean_inc(x_648); +x_649 = lean_ctor_get(x_619, 3); +lean_inc(x_649); +x_650 = lean_ctor_get(x_619, 4); +lean_inc(x_650); +x_651 = lean_ctor_get(x_619, 5); +lean_inc(x_651); +if (lean_is_exclusive(x_619)) { + lean_ctor_release(x_619, 0); + lean_ctor_release(x_619, 1); + lean_ctor_release(x_619, 2); + lean_ctor_release(x_619, 3); + lean_ctor_release(x_619, 4); + lean_ctor_release(x_619, 5); + x_652 = x_619; +} else { + lean_dec_ref(x_619); + x_652 = lean_box(0); +} +lean_inc(x_611); +x_653 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_646, x_1, x_611); +if (lean_is_scalar(x_652)) { + x_654 = lean_alloc_ctor(0, 6, 0); +} else { + x_654 = x_652; +} +lean_ctor_set(x_654, 0, x_653); +lean_ctor_set(x_654, 1, x_647); +lean_ctor_set(x_654, 2, x_648); +lean_ctor_set(x_654, 3, x_649); +lean_ctor_set(x_654, 4, x_650); +lean_ctor_set(x_654, 5, x_651); +x_655 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_655, 0, x_643); +lean_ctor_set(x_655, 1, x_654); +lean_ctor_set(x_655, 2, x_644); +lean_ctor_set(x_655, 3, x_645); +x_656 = lean_st_ref_set(x_3, x_655, x_620); lean_dec(x_3); x_657 = lean_ctor_get(x_656, 1); lean_inc(x_657); @@ -10069,510 +10059,424 @@ if (lean_is_scalar(x_658)) { } else { x_659 = x_658; } -lean_ctor_set(x_659, 0, x_627); +lean_ctor_set(x_659, 0, x_611); lean_ctor_set(x_659, 1, x_657); return x_659; } } else { -lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; -x_660 = lean_ctor_get(x_634, 0); -x_661 = lean_ctor_get(x_634, 2); -x_662 = lean_ctor_get(x_634, 3); -lean_inc(x_662); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_609; +} +} +else +{ +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_609; +} +} +else +{ +lean_object* x_660; lean_object* x_661; uint8_t x_662; +x_660 = lean_ctor_get(x_609, 0); +x_661 = lean_ctor_get(x_609, 1); lean_inc(x_661); lean_inc(x_660); -lean_dec(x_634); -x_663 = lean_ctor_get(x_635, 0); -lean_inc(x_663); -x_664 = lean_ctor_get(x_635, 1); -lean_inc(x_664); -x_665 = lean_ctor_get(x_635, 2); +lean_dec(x_609); +x_662 = l_Lean_Expr_hasMVar(x_1); +if (x_662 == 0) +{ +uint8_t x_663; +x_663 = l_Lean_Expr_hasMVar(x_660); +if (x_663 == 0) +{ +lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; +x_664 = lean_st_ref_get(x_5, x_661); +lean_dec(x_5); +x_665 = lean_ctor_get(x_664, 1); lean_inc(x_665); -x_666 = lean_ctor_get(x_635, 3); -lean_inc(x_666); -x_667 = lean_ctor_get(x_635, 4); +lean_dec(x_664); +x_666 = lean_st_ref_take(x_3, x_665); +x_667 = lean_ctor_get(x_666, 0); lean_inc(x_667); -x_668 = lean_ctor_get(x_635, 5); +x_668 = lean_ctor_get(x_667, 1); lean_inc(x_668); -x_669 = lean_ctor_get(x_635, 6); +x_669 = lean_ctor_get(x_666, 1); lean_inc(x_669); -if (lean_is_exclusive(x_635)) { - lean_ctor_release(x_635, 0); - lean_ctor_release(x_635, 1); - lean_ctor_release(x_635, 2); - lean_ctor_release(x_635, 3); - lean_ctor_release(x_635, 4); - lean_ctor_release(x_635, 5); - lean_ctor_release(x_635, 6); - x_670 = x_635; +lean_dec(x_666); +x_670 = lean_ctor_get(x_667, 0); +lean_inc(x_670); +x_671 = lean_ctor_get(x_667, 2); +lean_inc(x_671); +x_672 = lean_ctor_get(x_667, 3); +lean_inc(x_672); +if (lean_is_exclusive(x_667)) { + lean_ctor_release(x_667, 0); + lean_ctor_release(x_667, 1); + lean_ctor_release(x_667, 2); + lean_ctor_release(x_667, 3); + x_673 = x_667; } else { - lean_dec_ref(x_635); - x_670 = lean_box(0); + lean_dec_ref(x_667); + x_673 = lean_box(0); } -lean_inc(x_627); -x_671 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_663, x_1, x_627); -if (lean_is_scalar(x_670)) { - x_672 = lean_alloc_ctor(0, 7, 0); -} else { - x_672 = x_670; -} -lean_ctor_set(x_672, 0, x_671); -lean_ctor_set(x_672, 1, x_664); -lean_ctor_set(x_672, 2, x_665); -lean_ctor_set(x_672, 3, x_666); -lean_ctor_set(x_672, 4, x_667); -lean_ctor_set(x_672, 5, x_668); -lean_ctor_set(x_672, 6, x_669); -x_673 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_673, 0, x_660); -lean_ctor_set(x_673, 1, x_672); -lean_ctor_set(x_673, 2, x_661); -lean_ctor_set(x_673, 3, x_662); -x_674 = lean_st_ref_set(x_3, x_673, x_636); -lean_dec(x_3); -x_675 = lean_ctor_get(x_674, 1); +x_674 = lean_ctor_get(x_668, 0); +lean_inc(x_674); +x_675 = lean_ctor_get(x_668, 1); lean_inc(x_675); -if (lean_is_exclusive(x_674)) { - lean_ctor_release(x_674, 0); - lean_ctor_release(x_674, 1); - x_676 = x_674; -} else { - lean_dec_ref(x_674); - x_676 = lean_box(0); -} -if (lean_is_scalar(x_676)) { - x_677 = lean_alloc_ctor(0, 2, 0); -} else { - x_677 = x_676; -} -lean_ctor_set(x_677, 0, x_627); -lean_ctor_set(x_677, 1, x_675); -return x_677; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -return x_625; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -return x_625; -} -} -else -{ -lean_object* x_678; lean_object* x_679; uint8_t x_680; -x_678 = lean_ctor_get(x_625, 0); -x_679 = lean_ctor_get(x_625, 1); +x_676 = lean_ctor_get(x_668, 2); +lean_inc(x_676); +x_677 = lean_ctor_get(x_668, 3); +lean_inc(x_677); +x_678 = lean_ctor_get(x_668, 4); +lean_inc(x_678); +x_679 = lean_ctor_get(x_668, 5); lean_inc(x_679); -lean_inc(x_678); -lean_dec(x_625); -x_680 = l_Lean_Expr_hasMVar(x_1); -if (x_680 == 0) -{ -uint8_t x_681; -x_681 = l_Lean_Expr_hasMVar(x_678); -if (x_681 == 0) -{ -lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; -x_682 = lean_st_ref_get(x_5, x_679); -lean_dec(x_5); -x_683 = lean_ctor_get(x_682, 1); -lean_inc(x_683); -lean_dec(x_682); -x_684 = lean_st_ref_take(x_3, x_683); -x_685 = lean_ctor_get(x_684, 0); +if (lean_is_exclusive(x_668)) { + lean_ctor_release(x_668, 0); + lean_ctor_release(x_668, 1); + lean_ctor_release(x_668, 2); + lean_ctor_release(x_668, 3); + lean_ctor_release(x_668, 4); + lean_ctor_release(x_668, 5); + x_680 = x_668; +} else { + lean_dec_ref(x_668); + x_680 = lean_box(0); +} +lean_inc(x_660); +x_681 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_674, x_1, x_660); +if (lean_is_scalar(x_680)) { + x_682 = lean_alloc_ctor(0, 6, 0); +} else { + x_682 = x_680; +} +lean_ctor_set(x_682, 0, x_681); +lean_ctor_set(x_682, 1, x_675); +lean_ctor_set(x_682, 2, x_676); +lean_ctor_set(x_682, 3, x_677); +lean_ctor_set(x_682, 4, x_678); +lean_ctor_set(x_682, 5, x_679); +if (lean_is_scalar(x_673)) { + x_683 = lean_alloc_ctor(0, 4, 0); +} else { + x_683 = x_673; +} +lean_ctor_set(x_683, 0, x_670); +lean_ctor_set(x_683, 1, x_682); +lean_ctor_set(x_683, 2, x_671); +lean_ctor_set(x_683, 3, x_672); +x_684 = lean_st_ref_set(x_3, x_683, x_669); +lean_dec(x_3); +x_685 = lean_ctor_get(x_684, 1); lean_inc(x_685); -x_686 = lean_ctor_get(x_685, 1); -lean_inc(x_686); -x_687 = lean_ctor_get(x_684, 1); -lean_inc(x_687); -lean_dec(x_684); -x_688 = lean_ctor_get(x_685, 0); -lean_inc(x_688); -x_689 = lean_ctor_get(x_685, 2); -lean_inc(x_689); -x_690 = lean_ctor_get(x_685, 3); -lean_inc(x_690); -if (lean_is_exclusive(x_685)) { - lean_ctor_release(x_685, 0); - lean_ctor_release(x_685, 1); - lean_ctor_release(x_685, 2); - lean_ctor_release(x_685, 3); - x_691 = x_685; +if (lean_is_exclusive(x_684)) { + lean_ctor_release(x_684, 0); + lean_ctor_release(x_684, 1); + x_686 = x_684; } else { - lean_dec_ref(x_685); - x_691 = lean_box(0); + lean_dec_ref(x_684); + x_686 = lean_box(0); } -x_692 = lean_ctor_get(x_686, 0); +if (lean_is_scalar(x_686)) { + x_687 = lean_alloc_ctor(0, 2, 0); +} else { + x_687 = x_686; +} +lean_ctor_set(x_687, 0, x_660); +lean_ctor_set(x_687, 1, x_685); +return x_687; +} +else +{ +lean_object* x_688; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_688 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_688, 0, x_660); +lean_ctor_set(x_688, 1, x_661); +return x_688; +} +} +else +{ +lean_object* x_689; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_689 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_689, 0, x_660); +lean_ctor_set(x_689, 1, x_661); +return x_689; +} +} +} +else +{ +uint8_t x_690; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_690 = !lean_is_exclusive(x_609); +if (x_690 == 0) +{ +return x_609; +} +else +{ +lean_object* x_691; lean_object* x_692; lean_object* x_693; +x_691 = lean_ctor_get(x_609, 0); +x_692 = lean_ctor_get(x_609, 1); lean_inc(x_692); -x_693 = lean_ctor_get(x_686, 1); -lean_inc(x_693); -x_694 = lean_ctor_get(x_686, 2); -lean_inc(x_694); -x_695 = lean_ctor_get(x_686, 3); -lean_inc(x_695); -x_696 = lean_ctor_get(x_686, 4); -lean_inc(x_696); -x_697 = lean_ctor_get(x_686, 5); -lean_inc(x_697); -x_698 = lean_ctor_get(x_686, 6); -lean_inc(x_698); -if (lean_is_exclusive(x_686)) { - lean_ctor_release(x_686, 0); - lean_ctor_release(x_686, 1); - lean_ctor_release(x_686, 2); - lean_ctor_release(x_686, 3); - lean_ctor_release(x_686, 4); - lean_ctor_release(x_686, 5); - lean_ctor_release(x_686, 6); - x_699 = x_686; -} else { - lean_dec_ref(x_686); - x_699 = lean_box(0); -} -lean_inc(x_678); -x_700 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_692, x_1, x_678); -if (lean_is_scalar(x_699)) { - x_701 = lean_alloc_ctor(0, 7, 0); -} else { - x_701 = x_699; -} -lean_ctor_set(x_701, 0, x_700); -lean_ctor_set(x_701, 1, x_693); -lean_ctor_set(x_701, 2, x_694); -lean_ctor_set(x_701, 3, x_695); -lean_ctor_set(x_701, 4, x_696); -lean_ctor_set(x_701, 5, x_697); -lean_ctor_set(x_701, 6, x_698); -if (lean_is_scalar(x_691)) { - x_702 = lean_alloc_ctor(0, 4, 0); -} else { - x_702 = x_691; -} -lean_ctor_set(x_702, 0, x_688); -lean_ctor_set(x_702, 1, x_701); -lean_ctor_set(x_702, 2, x_689); -lean_ctor_set(x_702, 3, x_690); -x_703 = lean_st_ref_set(x_3, x_702, x_687); -lean_dec(x_3); -x_704 = lean_ctor_get(x_703, 1); -lean_inc(x_704); -if (lean_is_exclusive(x_703)) { - lean_ctor_release(x_703, 0); - lean_ctor_release(x_703, 1); - x_705 = x_703; -} else { - lean_dec_ref(x_703); - x_705 = lean_box(0); -} -if (lean_is_scalar(x_705)) { - x_706 = lean_alloc_ctor(0, 2, 0); -} else { - x_706 = x_705; -} -lean_ctor_set(x_706, 0, x_678); -lean_ctor_set(x_706, 1, x_704); -return x_706; -} -else -{ -lean_object* x_707; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_707 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_707, 0, x_678); -lean_ctor_set(x_707, 1, x_679); -return x_707; -} -} -else -{ -lean_object* x_708; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_708 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_708, 0, x_678); -lean_ctor_set(x_708, 1, x_679); -return x_708; +lean_inc(x_691); +lean_dec(x_609); +x_693 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_693, 0, x_691); +lean_ctor_set(x_693, 1, x_692); +return x_693; } } } else { -uint8_t x_709; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_709 = !lean_is_exclusive(x_625); -if (x_709 == 0) -{ -return x_625; -} -else -{ -lean_object* x_710; lean_object* x_711; lean_object* x_712; -x_710 = lean_ctor_get(x_625, 0); -x_711 = lean_ctor_get(x_625, 1); -lean_inc(x_711); -lean_inc(x_710); -lean_dec(x_625); -x_712 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_712, 0, x_710); -lean_ctor_set(x_712, 1, x_711); -return x_712; -} -} -} -else -{ -lean_object* x_713; +lean_object* x_694; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_713 = lean_ctor_get(x_623, 0); -lean_inc(x_713); -lean_dec(x_623); -lean_ctor_set(x_617, 0, x_713); -return x_617; +x_694 = lean_ctor_get(x_607, 0); +lean_inc(x_694); +lean_dec(x_607); +lean_ctor_set(x_601, 0, x_694); +return x_601; } } else { -lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; -x_714 = lean_ctor_get(x_617, 0); -x_715 = lean_ctor_get(x_617, 1); -lean_inc(x_715); -lean_inc(x_714); -lean_dec(x_617); -x_716 = lean_ctor_get(x_714, 1); -lean_inc(x_716); -lean_dec(x_714); -x_717 = lean_ctor_get(x_716, 0); -lean_inc(x_717); -lean_dec(x_716); +lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; +x_695 = lean_ctor_get(x_601, 0); +x_696 = lean_ctor_get(x_601, 1); +lean_inc(x_696); +lean_inc(x_695); +lean_dec(x_601); +x_697 = lean_ctor_get(x_695, 1); +lean_inc(x_697); +lean_dec(x_695); +x_698 = lean_ctor_get(x_697, 0); +lean_inc(x_698); +lean_dec(x_697); lean_inc(x_1); -x_718 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_717, x_1); -if (lean_obj_tag(x_718) == 0) +x_699 = l_Std_PersistentHashMap_find_x3f___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__1(x_698, x_1); +if (lean_obj_tag(x_699) == 0) { -lean_object* x_719; lean_object* x_720; -x_719 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___closed__1; +lean_object* x_700; lean_object* x_701; +x_700 = l___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___closed__1; lean_inc(x_5); lean_inc(x_3); lean_inc(x_1); -x_720 = l_Lean_Meta_lambdaLetTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___spec__1___rarg(x_1, x_719, x_2, x_3, x_4, x_5, x_715); -if (lean_obj_tag(x_720) == 0) +x_701 = l_Lean_Meta_lambdaLetTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___spec__1___rarg(x_1, x_700, x_2, x_3, x_4, x_5, x_696); +if (lean_obj_tag(x_701) == 0) { -lean_object* x_721; lean_object* x_722; lean_object* x_723; uint8_t x_724; -x_721 = lean_ctor_get(x_720, 0); -lean_inc(x_721); -x_722 = lean_ctor_get(x_720, 1); -lean_inc(x_722); -if (lean_is_exclusive(x_720)) { - lean_ctor_release(x_720, 0); - lean_ctor_release(x_720, 1); - x_723 = x_720; +lean_object* x_702; lean_object* x_703; lean_object* x_704; uint8_t x_705; +x_702 = lean_ctor_get(x_701, 0); +lean_inc(x_702); +x_703 = lean_ctor_get(x_701, 1); +lean_inc(x_703); +if (lean_is_exclusive(x_701)) { + lean_ctor_release(x_701, 0); + lean_ctor_release(x_701, 1); + x_704 = x_701; } else { - lean_dec_ref(x_720); + lean_dec_ref(x_701); + x_704 = lean_box(0); +} +x_705 = l_Lean_Expr_hasMVar(x_1); +if (x_705 == 0) +{ +uint8_t x_706; +x_706 = l_Lean_Expr_hasMVar(x_702); +if (x_706 == 0) +{ +lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; +lean_dec(x_704); +x_707 = lean_st_ref_get(x_5, x_703); +lean_dec(x_5); +x_708 = lean_ctor_get(x_707, 1); +lean_inc(x_708); +lean_dec(x_707); +x_709 = lean_st_ref_take(x_3, x_708); +x_710 = lean_ctor_get(x_709, 0); +lean_inc(x_710); +x_711 = lean_ctor_get(x_710, 1); +lean_inc(x_711); +x_712 = lean_ctor_get(x_709, 1); +lean_inc(x_712); +lean_dec(x_709); +x_713 = lean_ctor_get(x_710, 0); +lean_inc(x_713); +x_714 = lean_ctor_get(x_710, 2); +lean_inc(x_714); +x_715 = lean_ctor_get(x_710, 3); +lean_inc(x_715); +if (lean_is_exclusive(x_710)) { + lean_ctor_release(x_710, 0); + lean_ctor_release(x_710, 1); + lean_ctor_release(x_710, 2); + lean_ctor_release(x_710, 3); + x_716 = x_710; +} else { + lean_dec_ref(x_710); + x_716 = lean_box(0); +} +x_717 = lean_ctor_get(x_711, 0); +lean_inc(x_717); +x_718 = lean_ctor_get(x_711, 1); +lean_inc(x_718); +x_719 = lean_ctor_get(x_711, 2); +lean_inc(x_719); +x_720 = lean_ctor_get(x_711, 3); +lean_inc(x_720); +x_721 = lean_ctor_get(x_711, 4); +lean_inc(x_721); +x_722 = lean_ctor_get(x_711, 5); +lean_inc(x_722); +if (lean_is_exclusive(x_711)) { + lean_ctor_release(x_711, 0); + lean_ctor_release(x_711, 1); + lean_ctor_release(x_711, 2); + lean_ctor_release(x_711, 3); + lean_ctor_release(x_711, 4); + lean_ctor_release(x_711, 5); + x_723 = x_711; +} else { + lean_dec_ref(x_711); x_723 = lean_box(0); } -x_724 = l_Lean_Expr_hasMVar(x_1); -if (x_724 == 0) -{ -uint8_t x_725; -x_725 = l_Lean_Expr_hasMVar(x_721); -if (x_725 == 0) -{ -lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; -lean_dec(x_723); -x_726 = lean_st_ref_get(x_5, x_722); -lean_dec(x_5); -x_727 = lean_ctor_get(x_726, 1); -lean_inc(x_727); -lean_dec(x_726); -x_728 = lean_st_ref_take(x_3, x_727); -x_729 = lean_ctor_get(x_728, 0); -lean_inc(x_729); -x_730 = lean_ctor_get(x_729, 1); -lean_inc(x_730); -x_731 = lean_ctor_get(x_728, 1); -lean_inc(x_731); -lean_dec(x_728); -x_732 = lean_ctor_get(x_729, 0); -lean_inc(x_732); -x_733 = lean_ctor_get(x_729, 2); -lean_inc(x_733); -x_734 = lean_ctor_get(x_729, 3); -lean_inc(x_734); -if (lean_is_exclusive(x_729)) { - lean_ctor_release(x_729, 0); - lean_ctor_release(x_729, 1); - lean_ctor_release(x_729, 2); - lean_ctor_release(x_729, 3); - x_735 = x_729; +lean_inc(x_702); +x_724 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_717, x_1, x_702); +if (lean_is_scalar(x_723)) { + x_725 = lean_alloc_ctor(0, 6, 0); } else { - lean_dec_ref(x_729); + x_725 = x_723; +} +lean_ctor_set(x_725, 0, x_724); +lean_ctor_set(x_725, 1, x_718); +lean_ctor_set(x_725, 2, x_719); +lean_ctor_set(x_725, 3, x_720); +lean_ctor_set(x_725, 4, x_721); +lean_ctor_set(x_725, 5, x_722); +if (lean_is_scalar(x_716)) { + x_726 = lean_alloc_ctor(0, 4, 0); +} else { + x_726 = x_716; +} +lean_ctor_set(x_726, 0, x_713); +lean_ctor_set(x_726, 1, x_725); +lean_ctor_set(x_726, 2, x_714); +lean_ctor_set(x_726, 3, x_715); +x_727 = lean_st_ref_set(x_3, x_726, x_712); +lean_dec(x_3); +x_728 = lean_ctor_get(x_727, 1); +lean_inc(x_728); +if (lean_is_exclusive(x_727)) { + lean_ctor_release(x_727, 0); + lean_ctor_release(x_727, 1); + x_729 = x_727; +} else { + lean_dec_ref(x_727); + x_729 = lean_box(0); +} +if (lean_is_scalar(x_729)) { + x_730 = lean_alloc_ctor(0, 2, 0); +} else { + x_730 = x_729; +} +lean_ctor_set(x_730, 0, x_702); +lean_ctor_set(x_730, 1, x_728); +return x_730; +} +else +{ +lean_object* x_731; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +if (lean_is_scalar(x_704)) { + x_731 = lean_alloc_ctor(0, 2, 0); +} else { + x_731 = x_704; +} +lean_ctor_set(x_731, 0, x_702); +lean_ctor_set(x_731, 1, x_703); +return x_731; +} +} +else +{ +lean_object* x_732; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +if (lean_is_scalar(x_704)) { + x_732 = lean_alloc_ctor(0, 2, 0); +} else { + x_732 = x_704; +} +lean_ctor_set(x_732, 0, x_702); +lean_ctor_set(x_732, 1, x_703); +return x_732; +} +} +else +{ +lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_733 = lean_ctor_get(x_701, 0); +lean_inc(x_733); +x_734 = lean_ctor_get(x_701, 1); +lean_inc(x_734); +if (lean_is_exclusive(x_701)) { + lean_ctor_release(x_701, 0); + lean_ctor_release(x_701, 1); + x_735 = x_701; +} else { + lean_dec_ref(x_701); x_735 = lean_box(0); } -x_736 = lean_ctor_get(x_730, 0); -lean_inc(x_736); -x_737 = lean_ctor_get(x_730, 1); -lean_inc(x_737); -x_738 = lean_ctor_get(x_730, 2); -lean_inc(x_738); -x_739 = lean_ctor_get(x_730, 3); -lean_inc(x_739); -x_740 = lean_ctor_get(x_730, 4); -lean_inc(x_740); -x_741 = lean_ctor_get(x_730, 5); -lean_inc(x_741); -x_742 = lean_ctor_get(x_730, 6); -lean_inc(x_742); -if (lean_is_exclusive(x_730)) { - lean_ctor_release(x_730, 0); - lean_ctor_release(x_730, 1); - lean_ctor_release(x_730, 2); - lean_ctor_release(x_730, 3); - lean_ctor_release(x_730, 4); - lean_ctor_release(x_730, 5); - lean_ctor_release(x_730, 6); - x_743 = x_730; -} else { - lean_dec_ref(x_730); - x_743 = lean_box(0); -} -lean_inc(x_721); -x_744 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__4(x_736, x_1, x_721); -if (lean_is_scalar(x_743)) { - x_745 = lean_alloc_ctor(0, 7, 0); -} else { - x_745 = x_743; -} -lean_ctor_set(x_745, 0, x_744); -lean_ctor_set(x_745, 1, x_737); -lean_ctor_set(x_745, 2, x_738); -lean_ctor_set(x_745, 3, x_739); -lean_ctor_set(x_745, 4, x_740); -lean_ctor_set(x_745, 5, x_741); -lean_ctor_set(x_745, 6, x_742); if (lean_is_scalar(x_735)) { - x_746 = lean_alloc_ctor(0, 4, 0); + x_736 = lean_alloc_ctor(1, 2, 0); } else { - x_746 = x_735; + x_736 = x_735; } -lean_ctor_set(x_746, 0, x_732); -lean_ctor_set(x_746, 1, x_745); -lean_ctor_set(x_746, 2, x_733); -lean_ctor_set(x_746, 3, x_734); -x_747 = lean_st_ref_set(x_3, x_746, x_731); -lean_dec(x_3); -x_748 = lean_ctor_get(x_747, 1); -lean_inc(x_748); -if (lean_is_exclusive(x_747)) { - lean_ctor_release(x_747, 0); - lean_ctor_release(x_747, 1); - x_749 = x_747; -} else { - lean_dec_ref(x_747); - x_749 = lean_box(0); -} -if (lean_is_scalar(x_749)) { - x_750 = lean_alloc_ctor(0, 2, 0); -} else { - x_750 = x_749; -} -lean_ctor_set(x_750, 0, x_721); -lean_ctor_set(x_750, 1, x_748); -return x_750; -} -else -{ -lean_object* x_751; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -if (lean_is_scalar(x_723)) { - x_751 = lean_alloc_ctor(0, 2, 0); -} else { - x_751 = x_723; -} -lean_ctor_set(x_751, 0, x_721); -lean_ctor_set(x_751, 1, x_722); -return x_751; +lean_ctor_set(x_736, 0, x_733); +lean_ctor_set(x_736, 1, x_734); +return x_736; } } else { -lean_object* x_752; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -if (lean_is_scalar(x_723)) { - x_752 = lean_alloc_ctor(0, 2, 0); -} else { - x_752 = x_723; -} -lean_ctor_set(x_752, 0, x_721); -lean_ctor_set(x_752, 1, x_722); -return x_752; -} -} -else -{ -lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_753 = lean_ctor_get(x_720, 0); -lean_inc(x_753); -x_754 = lean_ctor_get(x_720, 1); -lean_inc(x_754); -if (lean_is_exclusive(x_720)) { - lean_ctor_release(x_720, 0); - lean_ctor_release(x_720, 1); - x_755 = x_720; -} else { - lean_dec_ref(x_720); - x_755 = lean_box(0); -} -if (lean_is_scalar(x_755)) { - x_756 = lean_alloc_ctor(1, 2, 0); -} else { - x_756 = x_755; -} -lean_ctor_set(x_756, 0, x_753); -lean_ctor_set(x_756, 1, x_754); -return x_756; -} -} -else -{ -lean_object* x_757; lean_object* x_758; +lean_object* x_737; lean_object* x_738; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_757 = lean_ctor_get(x_718, 0); -lean_inc(x_757); -lean_dec(x_718); -x_758 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_758, 0, x_757); -lean_ctor_set(x_758, 1, x_715); -return x_758; +x_737 = lean_ctor_get(x_699, 0); +lean_inc(x_737); +lean_dec(x_699); +x_738 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_738, 0, x_737); +lean_ctor_set(x_738, 1, x_696); +return x_738; } } } diff --git a/stage0/stdlib/Lean/Meta/Injective.c b/stage0/stdlib/Lean/Meta/Injective.c index 5a3c98ba50..cc70536e4a 100644 --- a/stage0/stdlib/Lean/Meta/Injective.c +++ b/stage0/stdlib/Lean/Meta/Injective.c @@ -26,6 +26,7 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_injTheoremFailureHeader___closed__4; lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___spec__1___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -49,8 +50,6 @@ lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*) lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremValue___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__1; -lean_object* l_Lean_Meta_casesAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_injTheoremFailureHeader___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_elimOptParam(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_throwInjectiveTheoremFailure___rarg___closed__1; @@ -77,7 +76,6 @@ static lean_object* l_Lean_Meta_mkInjectiveTheoremNameFor___closed__2; lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__2___closed__4; -lean_object* l_Lean_Meta_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkInjectiveEqTheoremNameFor___closed__2; static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__2___closed__2; static lean_object* l_Lean_Meta_mkInjectiveTheoremNameFor___closed__1; @@ -89,6 +87,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiv extern lean_object* l_Lean_Meta_simpExtension; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); +lean_object* l_Lean_MVarId_substEqs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f_mkArgs2(lean_object*, uint8_t, lean_object*, 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_MVarId_assumptionCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f_mkArgs2___closed__3; @@ -97,6 +96,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Injective_0_ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_injTheoremFailureHeader___closed__2; lean_object* l_Array_back___rarg(lean_object*, lean_object*); +lean_object* l_Lean_MVarId_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheorem___closed__1; lean_object* l_Lean_MVarId_apply(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); @@ -109,18 +109,19 @@ static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTh lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_injTheoremFailureHeader(lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_throwInjectiveTheoremFailure(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__4; static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__2___closed__5; size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__3; static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_Injective_0__Lean_Meta_mkAnd_x3f___spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -130,18 +131,16 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkInjectiveTheoremNameFor(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__2___closed__1; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -lean_object* l_Lean_Meta_substEqs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782_(lean_object*); lean_object* l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_58____spec__1(lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkInjectiveTheoremNameFor___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__3; lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewBinderInfos___at_Lean_Meta_withInstImplicitAsImplict___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__4; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__2; LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); @@ -168,6 +167,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_elimOptParam___lambda__1(lean_object*, lean lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_injection(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_elimOptParam___closed__2; +lean_object* l_Lean_MVarId_casesAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremType_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_occurs(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3211,7 +3211,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_49 = l_Lean_Meta_casesAnd(x_46, x_4, x_5, x_6, x_7, x_48); +x_49 = l_Lean_MVarId_casesAnd(x_46, x_4, x_5, x_6, x_7, x_48); if (lean_obj_tag(x_49) == 0) { lean_object* x_50; lean_object* x_51; lean_object* x_52; @@ -3224,7 +3224,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_52 = l_Lean_Meta_substEqs(x_50, x_4, x_5, x_6, x_7, x_51); +x_52 = l_Lean_MVarId_substEqs(x_50, x_4, x_5, x_6, x_7, x_51); if (lean_obj_tag(x_52) == 0) { lean_object* x_53; @@ -3260,7 +3260,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_61 = l_Lean_Meta_applyRefl(x_59, x_60, x_4, x_5, x_6, x_7, x_58); +x_61 = l_Lean_MVarId_applyRefl(x_59, x_60, x_4, x_5, x_6, x_7, x_58); if (lean_obj_tag(x_61) == 0) { lean_object* x_62; uint8_t x_63; uint8_t x_64; lean_object* x_65; @@ -3904,7 +3904,7 @@ return x_87; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__1() { _start: { lean_object* x_1; @@ -3912,17 +3912,17 @@ x_1 = lean_mk_string_from_bytes("genInjectivity", 14); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____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_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__3() { _start: { lean_object* x_1; @@ -3930,13 +3930,13 @@ x_1 = lean_mk_string_from_bytes("generate injectivity theorems for inductive dat return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l___private_Lean_Meta_Injective_0__Lean_Meta_throwInjectiveTheoremFailure___rarg___closed__1; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__3; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -3945,12 +3945,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__2; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__2; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__4; x_4 = l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_58____spec__1(x_2, x_3, x_1); return x_4; } @@ -4678,15 +4678,15 @@ l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda_ lean_mark_persistent(l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__2___closed__7); l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheorem___closed__1 = _init_l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheorem___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheorem___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785____closed__4); -if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1785_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782____closed__4); +if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1782_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_genInjectivity = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_genInjectivity); diff --git a/stage0/stdlib/Lean/Meta/Instances.c b/stage0/stdlib/Lean/Meta/Instances.c index 1456040772..ea000efd43 100644 --- a/stage0/stdlib/Lean/Meta/Instances.c +++ b/stage0/stdlib/Lean/Meta/Instances.c @@ -3282,14 +3282,13 @@ x_1 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addInstance___spec__2___close x_2 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addInstance___spec__2___closed__4; x_3 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addInstance___spec__2___closed__5; x_4 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addInstance___spec__2___closed__8; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -4239,23 +4238,21 @@ return x_3; static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_500____lambda__1___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_500____lambda__1___closed__8; x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_500____lambda__1___closed__9; x_4 = l_Std_PersistentHashMap_empty___at_Lean_Meta_Instances_instanceNames___default___spec__1___closed__3; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_500____lambda__1___closed__11() { diff --git a/stage0/stdlib/Lean/Meta/LevelDefEq.c b/stage0/stdlib/Lean/Meta/LevelDefEq.c index 446f96dbc7..3d68e3de69 100644 --- a/stage0/stdlib/Lean/Meta/LevelDefEq.c +++ b/stage0/stdlib/Lean/Meta/LevelDefEq.c @@ -64,7 +64,6 @@ lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkMaxArgsDiff___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwIsDefEqStuck___rarg(lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); -lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_strictOccursMax_visit(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___closed__5; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2186,7 +2185,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; x_1 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_isLevelDefEqAuxImpl___spec__2___closed__1; x_2 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_isLevelDefEqAuxImpl___spec__2___closed__2; -x_3 = lean_unsigned_to_nat(361u); +x_3 = lean_unsigned_to_nat(344u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_isLevelDefEqAuxImpl___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -2196,101 +2195,97 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___at_Lean_Meta_isLevelDefEqAuxImpl___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_7 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_6); +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_st_ref_get(x_5, x_6); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); -x_9 = lean_st_ref_get(x_5, x_8); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_st_ref_get(x_3, x_10); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +x_9 = lean_st_ref_get(x_3, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +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_9, 0); +x_12 = lean_ctor_get(x_9, 1); x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_ctor_get(x_15, 2); -lean_inc(x_16); -x_17 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_16, x_1); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_15); -lean_free_object(x_11); -x_18 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_isLevelDefEqAuxImpl___spec__2___closed__4; -x_19 = l_panic___at_Lean_Meta_isLevelDefEqAuxImpl___spec__3(x_18, x_2, x_3, x_4, x_5, x_14); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_20 = lean_ctor_get(x_17, 0); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_ctor_get(x_15, 0); -lean_inc(x_21); -lean_dec(x_15); -x_22 = lean_nat_dec_eq(x_20, x_21); -lean_dec(x_21); -lean_dec(x_20); -x_23 = lean_box(x_22); -lean_ctor_set(x_11, 0, x_23); -return x_11; -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_24 = lean_ctor_get(x_11, 0); -x_25 = lean_ctor_get(x_11, 1); -lean_inc(x_25); -lean_inc(x_24); +lean_inc(x_13); lean_dec(x_11); -x_26 = lean_ctor_get(x_24, 0); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_ctor_get(x_26, 2); -lean_inc(x_27); -x_28 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_27, x_1); -if (lean_obj_tag(x_28) == 0) +x_14 = lean_ctor_get(x_13, 2); +lean_inc(x_14); +x_15 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_14, x_1); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_29; lean_object* x_30; -lean_dec(x_26); -x_29 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_isLevelDefEqAuxImpl___spec__2___closed__4; -x_30 = l_panic___at_Lean_Meta_isLevelDefEqAuxImpl___spec__3(x_29, x_2, x_3, x_4, x_5, x_25); -return x_30; +lean_object* x_16; lean_object* x_17; +lean_dec(x_13); +lean_free_object(x_9); +x_16 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_isLevelDefEqAuxImpl___spec__2___closed__4; +x_17 = l_panic___at_Lean_Meta_isLevelDefEqAuxImpl___spec__3(x_16, x_2, x_3, x_4, x_5, x_12); +return x_17; } else { -lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_31 = lean_ctor_get(x_28, 0); -lean_inc(x_31); -lean_dec(x_28); -x_32 = lean_ctor_get(x_26, 0); -lean_inc(x_32); +x_18 = lean_ctor_get(x_15, 0); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_ctor_get(x_13, 0); +lean_inc(x_19); +lean_dec(x_13); +x_20 = lean_nat_dec_eq(x_18, x_19); +lean_dec(x_19); +lean_dec(x_18); +x_21 = lean_box(x_20); +lean_ctor_set(x_9, 0, x_21); +return x_9; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_9, 0); +x_23 = lean_ctor_get(x_9, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_9); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_24, 2); +lean_inc(x_25); +x_26 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_25, x_1); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_24); +x_27 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_isLevelDefEqAuxImpl___spec__2___closed__4; +x_28 = l_panic___at_Lean_Meta_isLevelDefEqAuxImpl___spec__3(x_27, x_2, x_3, x_4, x_5, x_23); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_29 = lean_ctor_get(x_26, 0); +lean_inc(x_29); lean_dec(x_26); -x_33 = lean_nat_dec_eq(x_31, x_32); -lean_dec(x_32); -lean_dec(x_31); -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_25); -return x_35; +x_30 = lean_ctor_get(x_24, 0); +lean_inc(x_30); +lean_dec(x_24); +x_31 = lean_nat_dec_eq(x_29, x_30); +lean_dec(x_30); +lean_dec(x_29); +x_32 = lean_box(x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_23); +return x_33; } } } diff --git a/stage0/stdlib/Lean/Meta/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index b918448f85..3f50b298ae 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -26,7 +26,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_Li static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___closed__1; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_foldrM___at_Lean_Meta_Match_withCleanLCtxFor___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Meta_Match_mkMatcher___spec__16___at_Lean_Meta_Match_mkMatcher___spec__17(lean_object*, lean_object*, lean_object*, lean_object*); @@ -126,6 +125,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4(le lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_search(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__17___closed__2; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__22(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -263,8 +263,8 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_un LEAN_EXPORT lean_object* l_Lean_Meta_Match_Unify_State_fvarSubst___default; extern lean_object* l_Lean_levelZero; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__5; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__4; lean_object* lean_nat_add(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__4; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwInductiveTypeExpected___rarg___closed__4; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___spec__1(lean_object*, size_t, size_t); static lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__4; @@ -291,8 +291,9 @@ lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__2; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__3; size_t lean_uint64_to_usize(uint64_t); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_14685_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_14683_(lean_object*); lean_object* l_Lean_Expr_FindImpl_findUnsafe_x3f(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__8; uint8_t l_Lean_Environment_hasUnsafe(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -301,7 +302,6 @@ static lean_object* l_Lean_Meta_Match_assignGoalOf___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__18(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasVarPattern(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__19___boxed(lean_object**); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__8; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Meta_Match_mkMatcher___spec__16(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__4; @@ -334,11 +334,10 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Match_withMkMatcherInp static lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__2; uint8_t l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at_Lean_Meta_Match_MkMatcherInput_collectFVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__4; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__8(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__9; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__9; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__18; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -373,7 +372,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_wi static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__5(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__1; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Match_Unify_assign___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Alt_checkAndReplaceFVarId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasArrayLitPattern(lean_object*); @@ -416,6 +414,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_Li static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__14; LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition(lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__4; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); @@ -435,6 +434,7 @@ lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNonTrivialExample(lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__1; lean_object* l_Lean_ConstantInfo_name(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__3; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__3; @@ -547,10 +547,10 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_Meta_substCore___spec__6(lean_object*, lean_object*); -lean_object* l_Lean_Meta_contradictionCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_mul(size_t, size_t); lean_object* l_Lean_Meta_Closure_mkValueTypeClosure(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__3___closed__2; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__2___closed__4; @@ -602,16 +602,15 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_wi LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_addArg___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_collectDependencies___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__5___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Match_mkMatcher___spec__13(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_isCurrVarInductive___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__6; lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__7___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_Unify_assign___closed__2; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__6; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_getNumEqsFromDiscrInfos(lean_object*); @@ -624,7 +623,6 @@ LEAN_EXPORT lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Le static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__2___closed__3; lean_object* l_Lean_Expr_fvar___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwInductiveTypeExpected___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____lambda__1(uint8_t, uint8_t); static lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__1; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_checkVarDeps___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -632,6 +630,7 @@ static lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___close LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____lambda__1(uint8_t, uint8_t); lean_object* l_Lean_Meta_Cases_cases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__5; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); @@ -663,22 +662,24 @@ LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Match_Match_0__Lean_Me LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_assignGoalOf___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__2; uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__6; lean_object* l_Lean_Meta_Match_Problem_toMessageData(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Pattern_applyFVarSubst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__2; static lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Match_Unify_unify___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasCtorPattern___boxed(lean_object*); static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__6; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3___boxed(lean_object**); lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_FVarSubst_insert(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Match_isCurrVarInductive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___spec__1(lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3___closed__1; @@ -687,7 +688,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM__ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__15(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_unify_x3f___lambda__2___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNonTrivialExample___boxed(lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__1; LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldrMAux___at_Lean_Meta_Match_withCleanLCtxFor___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1___closed__1; lean_object* l_Lean_Meta_isLevelDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -703,7 +703,6 @@ static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_ LEAN_EXPORT lean_object* l_Lean_Meta_Match_withCleanLCtxFor___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Match_processInaccessibleAsCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern___spec__1(uint8_t, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__2; static lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___spec__1___closed__2; static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible(lean_object*); @@ -724,6 +723,7 @@ static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Nat_foldAux___at_Lean_Meta_Match_mkMatcher___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__8___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceState(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__5(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___closed__2; @@ -733,6 +733,7 @@ LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentA LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNatValueTransition(lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__5; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern___boxed(lean_object*); lean_object* l_Lean_Meta_caseValues(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); @@ -768,6 +769,7 @@ LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Meta_Match_mkMatcher___spec__ LEAN_EXPORT lean_object* l_List_filterTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__6___closed__1; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MVarId_contradictionCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isValueTransition___boxed(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__3___closed__1; @@ -836,15 +838,15 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__3(le static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__6___closed__3; lean_object* l_Lean_Meta_Match_examplesToMessageData(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__4___closed__5; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__3; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__7; static size_t l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__2___closed__2; LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__10___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_Match_State_used___default; lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_Unify_occurs___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__8; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__3; lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__3___boxed(lean_object*, lean_object*, lean_object*); @@ -935,7 +937,6 @@ static lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_Match_0__Lean static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_tryToProcess___spec__2___closed__2; LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_addArg___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_caseArraySizes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___closed__2; LEAN_EXPORT lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -943,10 +944,9 @@ lean_object* l_Lean_Meta_Match_Alt_applyFVarSubst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_List_moveToFront_loop___spec__1(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__12; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403_(lean_object*); static lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__10___lambda__2___closed__1; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Match_withMkMatcherInput___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process_tryToProcess___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processAsPattern___spec__1___closed__1; @@ -955,10 +955,10 @@ lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition___spec__1(uint8_t, lean_object*); static lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__10___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Match_Unify_isAltVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__5; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__5(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___closed__4; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwInductiveTypeExpected___rarg___closed__2; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__5; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_moveToFront___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_Unify_expandIfVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__7___boxed(lean_object*, lean_object*, lean_object*); @@ -4676,7 +4676,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_9); -x_11 = l_Lean_Meta_contradictionCore(x_9, x_10, x_3, x_4, x_5, x_6, x_7); +x_11 = l_Lean_MVarId_contradictionCore(x_9, x_10, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; uint8_t x_13; @@ -11326,6 +11326,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -11421,6 +11422,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_33 = !lean_is_exclusive(x_32); if (x_33 == 0) { @@ -11507,6 +11509,7 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_12); x_39 = !lean_is_exclusive(x_38); if (x_39 == 0) { @@ -11558,6 +11561,7 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_12); x_51 = !lean_is_exclusive(x_50); if (x_51 == 0) { @@ -11602,6 +11606,7 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_12); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -23076,7 +23081,7 @@ lean_dec(x_2); return x_7; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__1() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__1() { _start: { lean_object* x_1; @@ -23084,17 +23089,17 @@ x_1 = lean_mk_string_from_bytes("bootstrap", 9); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__2() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____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_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__1; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__3() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__3() { _start: { lean_object* x_1; @@ -23102,17 +23107,17 @@ x_1 = lean_mk_string_from_bytes("genMatcherCode", 14); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__4() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__2; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__3; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__2; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__5() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__5() { _start: { lean_object* x_1; @@ -23120,13 +23125,13 @@ x_1 = lean_mk_string_from_bytes("disable code generation for auxiliary matcher f return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__6() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__6() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__1; -x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__5; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__1; +x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__5; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -23135,17 +23140,17 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__4; -x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__6; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__4; +x_3 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__6; x_4 = l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_58____spec__1(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT uint8_t l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____lambda__1(uint8_t x_1, uint8_t x_2) { +LEAN_EXPORT uint8_t l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____lambda__1(uint8_t x_1, uint8_t x_2) { _start: { if (x_1 == 0) @@ -23169,37 +23174,37 @@ return x_2; } } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__1() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____lambda__1___boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____lambda__1___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__2() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__1; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__1; x_2 = lean_alloc_closure((void*)(l_instBEq___rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__3() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Expr_instBEqExpr; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__2; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__2; x_3 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__4() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__4() { _start: { lean_object* x_1; @@ -23207,19 +23212,19 @@ x_1 = lean_alloc_closure((void*)(l_instHashableBool___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__5() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Expr_instHashableExpr; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__4; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__4; x_3 = lean_alloc_closure((void*)(l_instHashableProd___rarg___boxed), 3, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__6() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__6() { _start: { lean_object* x_1; @@ -23227,21 +23232,21 @@ x_1 = l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__7() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__6; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__6; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__8() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__7; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__7; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23249,26 +23254,26 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__9() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__8; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__8; x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__9; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__9; x_3 = l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -23276,7 +23281,7 @@ x_3 = lean_unbox(x_1); lean_dec(x_1); x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____lambda__1(x_3, x_4); +x_5 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____lambda__1(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -24449,7 +24454,7 @@ static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__7; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__7; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -24472,7 +24477,7 @@ static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__7; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__7; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -24492,7 +24497,7 @@ static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__7; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__7; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -24504,7 +24509,7 @@ static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__7; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__7; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -24538,7 +24543,7 @@ static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__7; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__7; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -24554,14 +24559,13 @@ x_1 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__4; x_2 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__6; x_3 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__7; x_4 = l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__10; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -25044,8 +25048,8 @@ static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__3; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__5; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__3; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__5; x_3 = l_Std_PersistentHashMap_instInhabitedPersistentHashMap___rarg(x_1, x_2); return x_3; } @@ -36904,7 +36908,7 @@ return x_21; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_14685_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_14683_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -37390,42 +37394,42 @@ l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__1 lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__1); l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__2 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__2(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__2); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__1(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__1); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__2); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__3(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__3); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__4(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__4); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__5(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__5); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__6(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375____closed__6); -if (builtin) {res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10375_(lean_io_mk_world()); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__1); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__2); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__3(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__3); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__4(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__4); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__5(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__5); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__6(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373____closed__6); +if (builtin) {res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10373_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_Match_bootstrap_genMatcherCode = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_Match_bootstrap_genMatcherCode); lean_dec_ref(res); -}l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__1(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__1); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__2); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__3(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__3); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__4(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__4); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__5(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__5); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__6(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__6); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__7 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__7(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__7); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__8 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__8(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__8); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__9 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__9(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405____closed__9); -if (builtin) {res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10405_(lean_io_mk_world()); +}l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__1); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__2); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__3(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__3); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__4(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__4); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__5(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__5); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__6(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__6); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__7 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__7(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__7); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__8 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__8(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__8); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__9 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__9(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403____closed__9); +if (builtin) {res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10403_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Meta_Match_matcherExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_Match_matcherExt); @@ -37562,7 +37566,7 @@ l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__3 = _init_l_Lean_Meta_Matche lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__3); l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4(); lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_14685_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_14683_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Match/MatchEqs.c b/stage0/stdlib/Lean/Meta/Match/MatchEqs.c index 3b365fe4d9..dab57be271 100644 --- a/stage0/stdlib/Lean/Meta/Match/MatchEqs.c +++ b/stage0/stdlib/Lean/Meta/Match/MatchEqs.c @@ -270,7 +270,6 @@ lean_object* l_Lean_Expr_mvar___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof___closed__2; lean_object* l_panic___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_processNextEq___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__3___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -378,6 +377,7 @@ lean_object* l_Array_back___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withSplitterAlts_go___rarg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts(lean_object*); size_t lean_usize_shift_left(size_t, size_t); +lean_object* l_Lean_MVarId_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_mkMap___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoalLoop___closed__1; @@ -398,7 +398,6 @@ static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSp static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___spec__1___closed__2; -lean_object* l_Lean_Meta_contradiction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); static lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___closed__9; @@ -413,7 +412,6 @@ uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__3___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__4___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__5___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_applySubst(lean_object*, lean_object*); -lean_object* l_Lean_Meta_contradictionCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___closed__1; @@ -471,6 +469,7 @@ static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simp static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__4___closed__3; lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_MVarId_contradiction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_casesOnStuckLHS_findFVar_x3f___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__12___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -526,7 +525,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_M uint8_t lean_expr_eqv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_12709_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_12704_(lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoalLoop___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); @@ -608,6 +607,7 @@ static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchE lean_object* l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MVarId_contradictionCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__9___closed__1; static lean_object* l_Lean_Meta_casesOnStuckLHS_findFVar_x3f___lambda__1___closed__3; @@ -6118,7 +6118,7 @@ _start: { lean_object* x_7; lean_object* x_8; x_7 = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_contradiction___closed__1; -x_8 = l_Lean_Meta_contradictionCore(x_1, x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Lean_MVarId_contradictionCore(x_1, x_7, x_2, x_3, x_4, x_5, x_6); return x_8; } } @@ -11738,7 +11738,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_12); -x_42 = l_Lean_Meta_applyRefl(x_12, x_41, x_5, x_6, x_7, x_8, x_40); +x_42 = l_Lean_MVarId_applyRefl(x_12, x_41, x_5, x_6, x_7, x_8, x_40); if (lean_obj_tag(x_42) == 0) { lean_object* x_43; lean_object* x_44; @@ -11759,6 +11759,7 @@ x_45 = lean_ctor_get(x_42, 1); lean_inc(x_45); lean_dec(x_42); x_46 = l_Lean_Meta_SavedState_restore(x_39, x_5, x_6, x_7, x_8, x_45); +lean_dec(x_39); x_47 = lean_ctor_get(x_46, 1); lean_inc(x_47); lean_dec(x_46); @@ -11774,7 +11775,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_12); -x_52 = l_Lean_Meta_contradiction(x_12, x_51, x_5, x_6, x_7, x_8, x_50); +x_52 = l_Lean_MVarId_contradiction(x_12, x_51, x_5, x_6, x_7, x_8, x_50); if (lean_obj_tag(x_52) == 0) { uint8_t x_53; @@ -11812,6 +11813,7 @@ x_59 = lean_ctor_get(x_52, 1); lean_inc(x_59); lean_dec(x_52); x_60 = l_Lean_Meta_SavedState_restore(x_49, x_5, x_6, x_7, x_8, x_59); +lean_dec(x_49); x_61 = lean_ctor_get(x_60, 1); lean_inc(x_61); lean_dec(x_60); @@ -11841,6 +11843,7 @@ x_66 = lean_ctor_get(x_65, 1); lean_inc(x_66); lean_dec(x_65); x_67 = l_Lean_Meta_SavedState_restore(x_63, x_5, x_6, x_7, x_8, x_66); +lean_dec(x_63); x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); lean_dec(x_67); @@ -11902,6 +11905,7 @@ block_127: { 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_100; x_73 = l_Lean_Meta_SavedState_restore(x_70, x_5, x_6, x_7, x_8, x_72); +lean_dec(x_70); x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); @@ -12013,6 +12017,7 @@ block_99: { 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 = l_Lean_Meta_SavedState_restore(x_77, x_5, x_6, x_7, x_8, x_79); +lean_dec(x_77); x_81 = lean_ctor_get(x_80, 1); lean_inc(x_81); lean_dec(x_80); @@ -12042,6 +12047,7 @@ x_86 = lean_ctor_get(x_85, 1); lean_inc(x_86); lean_dec(x_85); x_87 = l_Lean_Meta_SavedState_restore(x_83, x_5, x_6, x_7, x_8, x_86); +lean_dec(x_83); x_88 = lean_ctor_get(x_87, 1); lean_inc(x_88); lean_dec(x_87); @@ -32862,7 +32868,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_24 = l_Lean_Meta_contradictionCore(x_1, x_23, x_4, x_5, x_6, x_7, x_20); +x_24 = l_Lean_MVarId_contradictionCore(x_1, x_23, x_4, x_5, x_6, x_7, x_20); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; uint8_t x_26; @@ -37990,7 +37996,7 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_12709_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_12704_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -38460,7 +38466,7 @@ l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_getEquationsForImpl___spec_ l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_getEquationsForImpl___spec__2___closed__2 = _init_l_Std_PersistentHashMap_findAux___at_Lean_Meta_Match_getEquationsForImpl___spec__2___closed__2(); l_Lean_Meta_Match_getEquationsForImpl___closed__1 = _init_l_Lean_Meta_Match_getEquationsForImpl___closed__1(); lean_mark_persistent(l_Lean_Meta_Match_getEquationsForImpl___closed__1); -res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_12709_(lean_io_mk_world()); +res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_12704_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c b/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c index c9e032c59e..24421b72ff 100644 --- a/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c +++ b/stage0/stdlib/Lean/Meta/Match/MatcherInfo.c @@ -2151,14 +2151,13 @@ x_1 = l_Lean_Meta_Match_addMatcherInfo___closed__2; x_2 = l_Lean_Meta_Match_addMatcherInfo___closed__4; x_3 = l_Lean_Meta_Match_addMatcherInfo___closed__5; x_4 = l_Lean_Meta_Match_addMatcherInfo___closed__8; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/Meta/PPGoal.c b/stage0/stdlib/Lean/Meta/PPGoal.c index cb3bd5ce9a..301abf44d4 100644 --- a/stage0/stdlib/Lean/Meta/PPGoal.c +++ b/stage0/stdlib/Lean/Meta/PPGoal.c @@ -136,6 +136,7 @@ static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_6____closed LEAN_EXPORT lean_object* l_Std_RBNode_ins___at_Lean_Meta_ToHide_moveToHiddeProp___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_ppGoal___closed__3; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__23(lean_object*, lean_object*, size_t, size_t); +lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__48(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Meta_ppGoal_ppVars___closed__5; lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -336,7 +337,6 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta static lean_object* l_Lean_Meta_getGoalPrefix___closed__2; LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__29___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__17(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); static lean_object* l_Lean_Meta_getGoalPrefix___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_getGoalPrefix___boxed(lean_object*); @@ -4361,7 +4361,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -5121,7 +5121,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -5881,7 +5881,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -6641,7 +6641,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -7401,7 +7401,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -8161,7 +8161,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -8921,7 +8921,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -9681,7 +9681,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -9995,7 +9995,7 @@ uint8_t x_10; x_10 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 1); if (x_10 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_116; lean_object* x_117; uint8_t x_118; +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; uint8_t x_20; x_11 = l_Lean_LocalDecl_type(x_1); lean_dec(x_1); x_12 = lean_st_ref_get(x_8, x_9); @@ -10011,236 +10011,171 @@ lean_dec(x_14); x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); lean_dec(x_15); -x_116 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___closed__1; -x_117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_17); -x_118 = l_Lean_Expr_hasFVar(x_11); -if (x_118 == 0) +x_18 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___closed__1; +lean_inc(x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = l_Lean_Expr_hasFVar(x_11); +if (x_20 == 0) { -uint8_t x_119; -x_119 = l_Lean_Expr_hasMVar(x_11); -if (x_119 == 0) +uint8_t x_21; +x_21 = l_Lean_Expr_hasMVar(x_11); +if (x_21 == 0) { -uint8_t x_120; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +lean_dec(x_19); lean_dec(x_11); lean_dec(x_2); -x_120 = 0; -x_18 = x_120; -x_19 = x_117; -goto block_115; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_121 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__1(x_2, x_11, x_117); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = lean_unbox(x_122); -lean_dec(x_122); -x_18 = x_124; -x_19 = x_123; -goto block_115; -} -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; -x_125 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__9(x_2, x_11, x_117); -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_125, 1); -lean_inc(x_127); -lean_dec(x_125); -x_128 = lean_unbox(x_126); -lean_dec(x_126); -x_18 = x_128; -x_19 = x_127; -goto block_115; -} -block_115: -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_st_ref_get(x_8, x_16); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_st_ref_take(x_6, x_22); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get_uint8(x_20, sizeof(void*)*8); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_26 = lean_ctor_get(x_24, 0); +x_22 = lean_st_ref_get(x_8, x_16); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_st_ref_take(x_6, x_23); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); -x_27 = lean_ctor_get(x_23, 1); -lean_inc(x_27); -lean_dec(x_23); -x_28 = lean_ctor_get(x_20, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_20, 1); -lean_inc(x_29); -x_30 = lean_ctor_get(x_20, 2); -lean_inc(x_30); -x_31 = lean_ctor_get(x_20, 3); -lean_inc(x_31); -x_32 = lean_ctor_get(x_20, 4); -lean_inc(x_32); -x_33 = lean_ctor_get(x_20, 5); -lean_inc(x_33); -x_34 = lean_ctor_get(x_20, 6); +lean_dec(x_24); +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_25, 0); +lean_dec(x_28); +lean_ctor_set(x_25, 0, x_17); +x_29 = lean_st_ref_set(x_6, x_25, x_26); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; uint8_t x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_29, 0); +lean_dec(x_31); +x_32 = 0; +x_33 = lean_box(x_32); +lean_ctor_set(x_29, 0, x_33); +return x_29; +} +else +{ +lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_29, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_20, 7); -lean_inc(x_35); -lean_dec(x_20); -x_36 = !lean_is_exclusive(x_24); -if (x_36 == 0) +lean_dec(x_29); +x_35 = 0; +x_36 = lean_box(x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +return x_37; +} +} +else { -lean_object* x_37; uint8_t x_38; -x_37 = lean_ctor_get(x_24, 0); -lean_dec(x_37); -x_38 = !lean_is_exclusive(x_26); -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; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_39 = lean_ctor_get(x_26, 7); -lean_dec(x_39); -x_40 = lean_ctor_get(x_26, 6); -lean_dec(x_40); -x_41 = lean_ctor_get(x_26, 5); -lean_dec(x_41); -x_42 = lean_ctor_get(x_26, 4); -lean_dec(x_42); -x_43 = lean_ctor_get(x_26, 3); -lean_dec(x_43); -x_44 = lean_ctor_get(x_26, 2); -lean_dec(x_44); -x_45 = lean_ctor_get(x_26, 1); -lean_dec(x_45); -x_46 = lean_ctor_get(x_26, 0); -lean_dec(x_46); -lean_ctor_set(x_26, 7, x_35); -lean_ctor_set(x_26, 6, x_34); -lean_ctor_set(x_26, 5, x_33); -lean_ctor_set(x_26, 4, x_32); -lean_ctor_set(x_26, 3, x_31); -lean_ctor_set(x_26, 2, x_30); -lean_ctor_set(x_26, 1, x_29); -lean_ctor_set(x_26, 0, x_28); -x_47 = lean_st_ref_set(x_6, x_24, x_27); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_47, 0); -lean_dec(x_49); -x_50 = lean_box(x_18); -lean_ctor_set(x_47, 0, x_50); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; +x_38 = lean_ctor_get(x_25, 1); +x_39 = lean_ctor_get(x_25, 2); +x_40 = lean_ctor_get(x_25, 3); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_25); +x_41 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_41, 0, x_17); +lean_ctor_set(x_41, 1, x_38); +lean_ctor_set(x_41, 2, x_39); +lean_ctor_set(x_41, 3, x_40); +x_42 = lean_st_ref_set(x_6, x_41, x_26); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + x_44 = x_42; +} else { + lean_dec_ref(x_42); + x_44 = lean_box(0); +} +x_45 = 0; +x_46 = lean_box(x_45); +if (lean_is_scalar(x_44)) { + x_47 = lean_alloc_ctor(0, 2, 0); +} else { + x_47 = x_44; +} +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_43); return x_47; } +} else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_47, 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_object* x_56; uint8_t x_57; +lean_dec(x_17); +x_48 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__1(x_2, x_11, x_19); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 0); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_ctor_get(x_49, 1); lean_inc(x_51); -lean_dec(x_47); -x_52 = lean_box(x_18); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -return x_53; -} +lean_dec(x_49); +x_52 = lean_st_ref_get(x_8, x_16); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_st_ref_take(x_6, x_53); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = !lean_is_exclusive(x_55); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_58 = lean_ctor_get(x_55, 0); +lean_dec(x_58); +lean_ctor_set(x_55, 0, x_51); +x_59 = lean_st_ref_set(x_6, x_55, x_56); +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_59, 0); +lean_dec(x_61); +lean_ctor_set(x_59, 0, x_50); +return x_59; } else { -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_54 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); -lean_dec(x_26); -x_55 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_55, 0, x_28); -lean_ctor_set(x_55, 1, x_29); -lean_ctor_set(x_55, 2, x_30); -lean_ctor_set(x_55, 3, x_31); -lean_ctor_set(x_55, 4, x_32); -lean_ctor_set(x_55, 5, x_33); -lean_ctor_set(x_55, 6, x_34); -lean_ctor_set(x_55, 7, x_35); -lean_ctor_set_uint8(x_55, sizeof(void*)*8, x_54); -lean_ctor_set(x_24, 0, x_55); -x_56 = lean_st_ref_set(x_6, x_24, x_27); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_58 = x_56; -} else { - lean_dec_ref(x_56); - x_58 = lean_box(0); -} -x_59 = lean_box(x_18); -if (lean_is_scalar(x_58)) { - x_60 = lean_alloc_ctor(0, 2, 0); -} else { - x_60 = x_58; -} -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_57); -return x_60; -} -} -else -{ -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; -x_61 = lean_ctor_get(x_24, 1); -x_62 = lean_ctor_get(x_24, 2); -x_63 = lean_ctor_get(x_24, 3); -lean_inc(x_63); +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_59, 1); lean_inc(x_62); -lean_inc(x_61); -lean_dec(x_24); -x_64 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - lean_ctor_release(x_26, 3); - lean_ctor_release(x_26, 4); - lean_ctor_release(x_26, 5); - lean_ctor_release(x_26, 6); - lean_ctor_release(x_26, 7); - x_65 = x_26; -} else { - lean_dec_ref(x_26); - x_65 = lean_box(0); +lean_dec(x_59); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_50); +lean_ctor_set(x_63, 1, x_62); +return x_63; } -if (lean_is_scalar(x_65)) { - x_66 = lean_alloc_ctor(0, 8, 1); -} else { - x_66 = x_65; } -lean_ctor_set(x_66, 0, x_28); -lean_ctor_set(x_66, 1, x_29); -lean_ctor_set(x_66, 2, x_30); -lean_ctor_set(x_66, 3, x_31); -lean_ctor_set(x_66, 4, x_32); -lean_ctor_set(x_66, 5, x_33); -lean_ctor_set(x_66, 6, x_34); -lean_ctor_set(x_66, 7, x_35); -lean_ctor_set_uint8(x_66, sizeof(void*)*8, 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; +x_64 = lean_ctor_get(x_55, 1); +x_65 = lean_ctor_get(x_55, 2); +x_66 = lean_ctor_get(x_55, 3); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_55); x_67 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_61); -lean_ctor_set(x_67, 2, x_62); -lean_ctor_set(x_67, 3, x_63); -x_68 = lean_st_ref_set(x_6, x_67, x_27); +lean_ctor_set(x_67, 0, x_51); +lean_ctor_set(x_67, 1, x_64); +lean_ctor_set(x_67, 2, x_65); +lean_ctor_set(x_67, 3, x_66); +x_68 = lean_st_ref_set(x_6, x_67, x_56); x_69 = lean_ctor_get(x_68, 1); lean_inc(x_69); if (lean_is_exclusive(x_68)) { @@ -10251,176 +10186,103 @@ if (lean_is_exclusive(x_68)) { lean_dec_ref(x_68); x_70 = lean_box(0); } -x_71 = lean_box(x_18); if (lean_is_scalar(x_70)) { - x_72 = lean_alloc_ctor(0, 2, 0); + x_71 = lean_alloc_ctor(0, 2, 0); } else { - x_72 = x_70; + x_71 = x_70; +} +lean_ctor_set(x_71, 0, x_50); +lean_ctor_set(x_71, 1, x_69); +return x_71; } -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_69); -return x_72; } } else { -lean_object* x_73; uint8_t x_74; -x_73 = lean_ctor_get(x_23, 1); +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; uint8_t x_81; +lean_dec(x_17); +x_72 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__9(x_2, x_11, x_19); +x_73 = lean_ctor_get(x_72, 1); lean_inc(x_73); -lean_dec(x_23); -x_74 = !lean_is_exclusive(x_20); -if (x_74 == 0) -{ -uint8_t x_75; -x_75 = !lean_is_exclusive(x_24); -if (x_75 == 0) -{ -lean_object* x_76; uint8_t x_77; lean_object* x_78; uint8_t x_79; -x_76 = lean_ctor_get(x_24, 0); +x_74 = lean_ctor_get(x_72, 0); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_st_ref_get(x_8, x_16); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); lean_dec(x_76); -x_77 = 1; -lean_ctor_set_uint8(x_20, sizeof(void*)*8, x_77); -lean_ctor_set(x_24, 0, x_20); -x_78 = lean_st_ref_set(x_6, x_24, x_73); -x_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; -x_80 = lean_ctor_get(x_78, 0); -lean_dec(x_80); -x_81 = lean_box(x_18); -lean_ctor_set(x_78, 0, x_81); -return x_78; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_78, 1); -lean_inc(x_82); +x_78 = lean_st_ref_take(x_6, x_77); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); lean_dec(x_78); -x_83 = lean_box(x_18); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_82); -return x_84; -} +x_81 = !lean_is_exclusive(x_79); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_82 = lean_ctor_get(x_79, 0); +lean_dec(x_82); +lean_ctor_set(x_79, 0, x_75); +x_83 = lean_st_ref_set(x_6, x_79, x_80); +x_84 = !lean_is_exclusive(x_83); +if (x_84 == 0) +{ +lean_object* x_85; +x_85 = lean_ctor_get(x_83, 0); +lean_dec(x_85); +lean_ctor_set(x_83, 0, x_74); +return x_83; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t 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_85 = lean_ctor_get(x_24, 1); -x_86 = lean_ctor_get(x_24, 2); -x_87 = lean_ctor_get(x_24, 3); -lean_inc(x_87); +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_83, 1); lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_24); -x_88 = 1; -lean_ctor_set_uint8(x_20, sizeof(void*)*8, x_88); -x_89 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_89, 0, x_20); -lean_ctor_set(x_89, 1, x_85); -lean_ctor_set(x_89, 2, x_86); -lean_ctor_set(x_89, 3, x_87); -x_90 = lean_st_ref_set(x_6, x_89, x_73); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_92 = x_90; -} else { - lean_dec_ref(x_90); - x_92 = lean_box(0); -} -x_93 = lean_box(x_18); -if (lean_is_scalar(x_92)) { - x_94 = lean_alloc_ctor(0, 2, 0); -} else { - x_94 = x_92; -} -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_91); -return x_94; +lean_dec(x_83); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_74); +lean_ctor_set(x_87, 1, x_86); +return x_87; } } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_95 = lean_ctor_get(x_20, 0); -x_96 = lean_ctor_get(x_20, 1); -x_97 = lean_ctor_get(x_20, 2); -x_98 = lean_ctor_get(x_20, 3); -x_99 = lean_ctor_get(x_20, 4); -x_100 = lean_ctor_get(x_20, 5); -x_101 = lean_ctor_get(x_20, 6); -x_102 = lean_ctor_get(x_20, 7); -lean_inc(x_102); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_dec(x_20); -x_103 = lean_ctor_get(x_24, 1); -lean_inc(x_103); -x_104 = lean_ctor_get(x_24, 2); -lean_inc(x_104); -x_105 = lean_ctor_get(x_24, 3); -lean_inc(x_105); -if (lean_is_exclusive(x_24)) { - lean_ctor_release(x_24, 0); - lean_ctor_release(x_24, 1); - lean_ctor_release(x_24, 2); - lean_ctor_release(x_24, 3); - x_106 = x_24; +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; +x_88 = lean_ctor_get(x_79, 1); +x_89 = lean_ctor_get(x_79, 2); +x_90 = lean_ctor_get(x_79, 3); +lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_79); +x_91 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_91, 0, x_75); +lean_ctor_set(x_91, 1, x_88); +lean_ctor_set(x_91, 2, x_89); +lean_ctor_set(x_91, 3, x_90); +x_92 = lean_st_ref_set(x_6, x_91, x_80); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + lean_ctor_release(x_92, 1); + x_94 = x_92; } else { - lean_dec_ref(x_24); - x_106 = lean_box(0); + lean_dec_ref(x_92); + x_94 = lean_box(0); } -x_107 = 1; -x_108 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_108, 0, x_95); -lean_ctor_set(x_108, 1, x_96); -lean_ctor_set(x_108, 2, x_97); -lean_ctor_set(x_108, 3, x_98); -lean_ctor_set(x_108, 4, x_99); -lean_ctor_set(x_108, 5, x_100); -lean_ctor_set(x_108, 6, x_101); -lean_ctor_set(x_108, 7, x_102); -lean_ctor_set_uint8(x_108, sizeof(void*)*8, x_107); -if (lean_is_scalar(x_106)) { - x_109 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_94)) { + x_95 = lean_alloc_ctor(0, 2, 0); } else { - x_109 = x_106; -} -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_103); -lean_ctor_set(x_109, 2, x_104); -lean_ctor_set(x_109, 3, x_105); -x_110 = lean_st_ref_set(x_6, x_109, x_73); -x_111 = lean_ctor_get(x_110, 1); -lean_inc(x_111); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_112 = x_110; -} else { - lean_dec_ref(x_110); - x_112 = lean_box(0); -} -x_113 = lean_box(x_18); -if (lean_is_scalar(x_112)) { - x_114 = lean_alloc_ctor(0, 2, 0); -} else { - x_114 = x_112; -} -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_111); -return x_114; + x_95 = x_94; } +lean_ctor_set(x_95, 0, x_74); +lean_ctor_set(x_95, 1, x_93); +return x_95; } } } @@ -10428,46 +10290,359 @@ else { if (lean_obj_tag(x_1) == 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; uint8_t x_136; lean_object* x_137; lean_object* x_234; lean_object* x_235; uint8_t x_236; -x_129 = lean_ctor_get(x_1, 3); -lean_inc(x_129); +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; uint8_t x_105; +x_96 = lean_ctor_get(x_1, 3); +lean_inc(x_96); lean_dec(x_1); -x_130 = lean_st_ref_get(x_8, x_9); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec(x_130); -x_132 = lean_st_ref_get(x_6, x_131); -x_133 = lean_ctor_get(x_132, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_132, 1); +x_97 = lean_st_ref_get(x_8, x_9); +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +lean_dec(x_97); +x_99 = lean_st_ref_get(x_6, x_98); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +x_102 = lean_ctor_get(x_100, 0); +lean_inc(x_102); +lean_dec(x_100); +x_103 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___closed__1; +lean_inc(x_102); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +x_105 = l_Lean_Expr_hasFVar(x_96); +if (x_105 == 0) +{ +uint8_t x_106; +x_106 = l_Lean_Expr_hasMVar(x_96); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +lean_dec(x_104); +lean_dec(x_96); +lean_dec(x_2); +x_107 = lean_st_ref_get(x_8, x_101); +x_108 = lean_ctor_get(x_107, 1); +lean_inc(x_108); +lean_dec(x_107); +x_109 = lean_st_ref_take(x_6, x_108); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = !lean_is_exclusive(x_110); +if (x_112 == 0) +{ +lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_113 = lean_ctor_get(x_110, 0); +lean_dec(x_113); +lean_ctor_set(x_110, 0, x_102); +x_114 = lean_st_ref_set(x_6, x_110, x_111); +x_115 = !lean_is_exclusive(x_114); +if (x_115 == 0) +{ +lean_object* x_116; uint8_t x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_114, 0); +lean_dec(x_116); +x_117 = 0; +x_118 = lean_box(x_117); +lean_ctor_set(x_114, 0, x_118); +return x_114; +} +else +{ +lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; +x_119 = lean_ctor_get(x_114, 1); +lean_inc(x_119); +lean_dec(x_114); +x_120 = 0; +x_121 = lean_box(x_120); +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_119); +return x_122; +} +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; +x_123 = lean_ctor_get(x_110, 1); +x_124 = lean_ctor_get(x_110, 2); +x_125 = lean_ctor_get(x_110, 3); +lean_inc(x_125); +lean_inc(x_124); +lean_inc(x_123); +lean_dec(x_110); +x_126 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_126, 0, x_102); +lean_ctor_set(x_126, 1, x_123); +lean_ctor_set(x_126, 2, x_124); +lean_ctor_set(x_126, 3, x_125); +x_127 = lean_st_ref_set(x_6, x_126, x_111); +x_128 = lean_ctor_get(x_127, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_129 = x_127; +} else { + lean_dec_ref(x_127); + x_129 = lean_box(0); +} +x_130 = 0; +x_131 = lean_box(x_130); +if (lean_is_scalar(x_129)) { + x_132 = lean_alloc_ctor(0, 2, 0); +} else { + x_132 = x_129; +} +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_128); +return x_132; +} +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; +lean_dec(x_102); +x_133 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__17(x_2, x_96, x_104); +x_134 = lean_ctor_get(x_133, 1); lean_inc(x_134); -lean_dec(x_132); x_135 = lean_ctor_get(x_133, 0); lean_inc(x_135); lean_dec(x_133); -x_234 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___closed__1; -x_235 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_135); -x_236 = l_Lean_Expr_hasFVar(x_129); -if (x_236 == 0) +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec(x_134); +x_137 = lean_st_ref_get(x_8, x_101); +x_138 = lean_ctor_get(x_137, 1); +lean_inc(x_138); +lean_dec(x_137); +x_139 = lean_st_ref_take(x_6, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +lean_dec(x_139); +x_142 = !lean_is_exclusive(x_140); +if (x_142 == 0) { -uint8_t x_237; -x_237 = l_Lean_Expr_hasMVar(x_129); -if (x_237 == 0) +lean_object* x_143; lean_object* x_144; uint8_t x_145; +x_143 = lean_ctor_get(x_140, 0); +lean_dec(x_143); +lean_ctor_set(x_140, 0, x_136); +x_144 = lean_st_ref_set(x_6, x_140, x_141); +x_145 = !lean_is_exclusive(x_144); +if (x_145 == 0) { -uint8_t x_238; -lean_dec(x_129); -lean_dec(x_2); -x_238 = 0; -x_136 = x_238; -x_137 = x_235; -goto block_233; +lean_object* x_146; +x_146 = lean_ctor_get(x_144, 0); +lean_dec(x_146); +lean_ctor_set(x_144, 0, x_135); +return x_144; +} +else +{ +lean_object* x_147; lean_object* x_148; +x_147 = lean_ctor_get(x_144, 1); +lean_inc(x_147); +lean_dec(x_144); +x_148 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_148, 0, x_135); +lean_ctor_set(x_148, 1, x_147); +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; +x_149 = lean_ctor_get(x_140, 1); +x_150 = lean_ctor_get(x_140, 2); +x_151 = lean_ctor_get(x_140, 3); +lean_inc(x_151); +lean_inc(x_150); +lean_inc(x_149); +lean_dec(x_140); +x_152 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_152, 0, x_136); +lean_ctor_set(x_152, 1, x_149); +lean_ctor_set(x_152, 2, x_150); +lean_ctor_set(x_152, 3, x_151); +x_153 = lean_st_ref_set(x_6, x_152, x_141); +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +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_153); + x_155 = lean_box(0); +} +if (lean_is_scalar(x_155)) { + x_156 = lean_alloc_ctor(0, 2, 0); +} else { + x_156 = x_155; +} +lean_ctor_set(x_156, 0, x_135); +lean_ctor_set(x_156, 1, x_154); +return x_156; +} +} +} +else +{ +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; uint8_t x_166; +lean_dec(x_102); +x_157 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__25(x_2, x_96, x_104); +x_158 = lean_ctor_get(x_157, 1); +lean_inc(x_158); +x_159 = lean_ctor_get(x_157, 0); +lean_inc(x_159); +lean_dec(x_157); +x_160 = lean_ctor_get(x_158, 1); +lean_inc(x_160); +lean_dec(x_158); +x_161 = lean_st_ref_get(x_8, x_101); +x_162 = lean_ctor_get(x_161, 1); +lean_inc(x_162); +lean_dec(x_161); +x_163 = lean_st_ref_take(x_6, x_162); +x_164 = lean_ctor_get(x_163, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_163, 1); +lean_inc(x_165); +lean_dec(x_163); +x_166 = !lean_is_exclusive(x_164); +if (x_166 == 0) +{ +lean_object* x_167; lean_object* x_168; uint8_t x_169; +x_167 = lean_ctor_get(x_164, 0); +lean_dec(x_167); +lean_ctor_set(x_164, 0, x_160); +x_168 = lean_st_ref_set(x_6, x_164, x_165); +x_169 = !lean_is_exclusive(x_168); +if (x_169 == 0) +{ +lean_object* x_170; +x_170 = lean_ctor_get(x_168, 0); +lean_dec(x_170); +lean_ctor_set(x_168, 0, x_159); +return x_168; +} +else +{ +lean_object* x_171; lean_object* x_172; +x_171 = lean_ctor_get(x_168, 1); +lean_inc(x_171); +lean_dec(x_168); +x_172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_159); +lean_ctor_set(x_172, 1, x_171); +return x_172; +} +} +else +{ +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; +x_173 = lean_ctor_get(x_164, 1); +x_174 = lean_ctor_get(x_164, 2); +x_175 = lean_ctor_get(x_164, 3); +lean_inc(x_175); +lean_inc(x_174); +lean_inc(x_173); +lean_dec(x_164); +x_176 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_176, 0, x_160); +lean_ctor_set(x_176, 1, x_173); +lean_ctor_set(x_176, 2, x_174); +lean_ctor_set(x_176, 3, x_175); +x_177 = lean_st_ref_set(x_6, x_176, x_165); +x_178 = lean_ctor_get(x_177, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_177)) { + lean_ctor_release(x_177, 0); + lean_ctor_release(x_177, 1); + x_179 = x_177; +} else { + lean_dec_ref(x_177); + x_179 = lean_box(0); +} +if (lean_is_scalar(x_179)) { + x_180 = lean_alloc_ctor(0, 2, 0); +} else { + x_180 = x_179; +} +lean_ctor_set(x_180, 0, x_159); +lean_ctor_set(x_180, 1, x_178); +return x_180; +} +} +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; uint8_t x_189; lean_object* x_190; uint8_t x_216; lean_object* x_217; lean_object* x_230; lean_object* x_231; uint8_t x_232; +x_181 = lean_ctor_get(x_1, 3); +lean_inc(x_181); +x_182 = lean_ctor_get(x_1, 4); +lean_inc(x_182); +lean_dec(x_1); +x_183 = lean_st_ref_get(x_8, x_9); +x_184 = lean_ctor_get(x_183, 1); +lean_inc(x_184); +lean_dec(x_183); +x_185 = lean_st_ref_get(x_6, x_184); +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_185, 1); +lean_inc(x_187); +lean_dec(x_185); +x_188 = lean_ctor_get(x_186, 0); +lean_inc(x_188); +lean_dec(x_186); +x_230 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___closed__1; +x_231 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_188); +x_232 = l_Lean_Expr_hasFVar(x_181); +if (x_232 == 0) +{ +uint8_t x_233; +x_233 = l_Lean_Expr_hasMVar(x_181); +if (x_233 == 0) +{ +uint8_t x_234; +lean_dec(x_181); +x_234 = 0; +x_216 = x_234; +x_217 = x_231; +goto block_229; +} +else +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; +lean_inc(x_2); +x_235 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__49(x_2, x_181, x_231); +x_236 = lean_ctor_get(x_235, 0); +lean_inc(x_236); +x_237 = lean_ctor_get(x_235, 1); +lean_inc(x_237); +lean_dec(x_235); +x_238 = lean_unbox(x_236); +lean_dec(x_236); +x_216 = x_238; +x_217 = x_237; +goto block_229; +} } else { lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; -x_239 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__17(x_2, x_129, x_235); +lean_inc(x_2); +x_239 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__57(x_2, x_181, x_231); x_240 = lean_ctor_get(x_239, 0); lean_inc(x_240); x_241 = lean_ctor_get(x_239, 1); @@ -10475,882 +10650,153 @@ lean_inc(x_241); lean_dec(x_239); x_242 = lean_unbox(x_240); lean_dec(x_240); -x_136 = x_242; -x_137 = x_241; -goto block_233; +x_216 = x_242; +x_217 = x_241; +goto block_229; } -} -else +block_215: { -lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; -x_243 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__25(x_2, x_129, x_235); -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_243, 1); -lean_inc(x_245); -lean_dec(x_243); -x_246 = lean_unbox(x_244); -lean_dec(x_244); -x_136 = x_246; -x_137 = x_245; -goto block_233; -} -block_233: -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; -x_138 = lean_ctor_get(x_137, 1); -lean_inc(x_138); -lean_dec(x_137); -x_139 = lean_st_ref_get(x_8, x_134); -x_140 = lean_ctor_get(x_139, 1); -lean_inc(x_140); -lean_dec(x_139); -x_141 = lean_st_ref_take(x_6, x_140); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get_uint8(x_138, sizeof(void*)*8); -if (x_143 == 0) -{ -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; uint8_t x_154; -x_144 = lean_ctor_get(x_142, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_141, 1); -lean_inc(x_145); -lean_dec(x_141); -x_146 = lean_ctor_get(x_138, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_138, 1); -lean_inc(x_147); -x_148 = lean_ctor_get(x_138, 2); -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_inc(x_150); -x_151 = lean_ctor_get(x_138, 5); -lean_inc(x_151); -x_152 = lean_ctor_get(x_138, 6); -lean_inc(x_152); -x_153 = lean_ctor_get(x_138, 7); -lean_inc(x_153); -lean_dec(x_138); -x_154 = !lean_is_exclusive(x_142); -if (x_154 == 0) -{ -lean_object* x_155; uint8_t x_156; -x_155 = lean_ctor_get(x_142, 0); -lean_dec(x_155); -x_156 = !lean_is_exclusive(x_144); -if (x_156 == 0) -{ -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; uint8_t x_166; -x_157 = lean_ctor_get(x_144, 7); -lean_dec(x_157); -x_158 = lean_ctor_get(x_144, 6); -lean_dec(x_158); -x_159 = lean_ctor_get(x_144, 5); -lean_dec(x_159); -x_160 = lean_ctor_get(x_144, 4); -lean_dec(x_160); -x_161 = lean_ctor_get(x_144, 3); -lean_dec(x_161); -x_162 = lean_ctor_get(x_144, 2); -lean_dec(x_162); -x_163 = lean_ctor_get(x_144, 1); -lean_dec(x_163); -x_164 = lean_ctor_get(x_144, 0); -lean_dec(x_164); -lean_ctor_set(x_144, 7, x_153); -lean_ctor_set(x_144, 6, x_152); -lean_ctor_set(x_144, 5, x_151); -lean_ctor_set(x_144, 4, x_150); -lean_ctor_set(x_144, 3, x_149); -lean_ctor_set(x_144, 2, x_148); -lean_ctor_set(x_144, 1, x_147); -lean_ctor_set(x_144, 0, x_146); -x_165 = lean_st_ref_set(x_6, x_142, x_145); -x_166 = !lean_is_exclusive(x_165); -if (x_166 == 0) -{ -lean_object* x_167; lean_object* x_168; -x_167 = lean_ctor_get(x_165, 0); -lean_dec(x_167); -x_168 = lean_box(x_136); -lean_ctor_set(x_165, 0, x_168); -return x_165; -} -else -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_165, 1); -lean_inc(x_169); -lean_dec(x_165); -x_170 = lean_box(x_136); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -return x_171; -} -} -else -{ -uint8_t x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_172 = lean_ctor_get_uint8(x_144, sizeof(void*)*8); -lean_dec(x_144); -x_173 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_173, 0, x_146); -lean_ctor_set(x_173, 1, x_147); -lean_ctor_set(x_173, 2, x_148); -lean_ctor_set(x_173, 3, x_149); -lean_ctor_set(x_173, 4, x_150); -lean_ctor_set(x_173, 5, x_151); -lean_ctor_set(x_173, 6, x_152); -lean_ctor_set(x_173, 7, x_153); -lean_ctor_set_uint8(x_173, sizeof(void*)*8, x_172); -lean_ctor_set(x_142, 0, x_173); -x_174 = lean_st_ref_set(x_6, x_142, x_145); -x_175 = lean_ctor_get(x_174, 1); -lean_inc(x_175); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - lean_ctor_release(x_174, 1); - x_176 = x_174; -} else { - lean_dec_ref(x_174); - x_176 = lean_box(0); -} -x_177 = lean_box(x_136); -if (lean_is_scalar(x_176)) { - x_178 = lean_alloc_ctor(0, 2, 0); -} else { - x_178 = x_176; -} -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_175); -return x_178; -} -} -else -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t 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; -x_179 = lean_ctor_get(x_142, 1); -x_180 = lean_ctor_get(x_142, 2); -x_181 = lean_ctor_get(x_142, 3); -lean_inc(x_181); -lean_inc(x_180); -lean_inc(x_179); -lean_dec(x_142); -x_182 = lean_ctor_get_uint8(x_144, sizeof(void*)*8); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - lean_ctor_release(x_144, 2); - lean_ctor_release(x_144, 3); - lean_ctor_release(x_144, 4); - lean_ctor_release(x_144, 5); - lean_ctor_release(x_144, 6); - lean_ctor_release(x_144, 7); - x_183 = x_144; -} else { - lean_dec_ref(x_144); - x_183 = lean_box(0); -} -if (lean_is_scalar(x_183)) { - x_184 = lean_alloc_ctor(0, 8, 1); -} else { - x_184 = x_183; -} -lean_ctor_set(x_184, 0, x_146); -lean_ctor_set(x_184, 1, x_147); -lean_ctor_set(x_184, 2, x_148); -lean_ctor_set(x_184, 3, x_149); -lean_ctor_set(x_184, 4, x_150); -lean_ctor_set(x_184, 5, x_151); -lean_ctor_set(x_184, 6, x_152); -lean_ctor_set(x_184, 7, x_153); -lean_ctor_set_uint8(x_184, sizeof(void*)*8, x_182); -x_185 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_179); -lean_ctor_set(x_185, 2, x_180); -lean_ctor_set(x_185, 3, x_181); -x_186 = lean_st_ref_set(x_6, x_185, x_145); -x_187 = lean_ctor_get(x_186, 1); -lean_inc(x_187); -if (lean_is_exclusive(x_186)) { - lean_ctor_release(x_186, 0); - lean_ctor_release(x_186, 1); - x_188 = x_186; -} else { - lean_dec_ref(x_186); - x_188 = lean_box(0); -} -x_189 = lean_box(x_136); -if (lean_is_scalar(x_188)) { - x_190 = lean_alloc_ctor(0, 2, 0); -} else { - x_190 = x_188; -} -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_187); -return x_190; -} -} -else -{ -lean_object* x_191; uint8_t x_192; -x_191 = lean_ctor_get(x_141, 1); +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; +x_191 = lean_ctor_get(x_190, 1); lean_inc(x_191); -lean_dec(x_141); -x_192 = !lean_is_exclusive(x_138); -if (x_192 == 0) -{ -uint8_t x_193; -x_193 = !lean_is_exclusive(x_142); -if (x_193 == 0) -{ -lean_object* x_194; uint8_t x_195; lean_object* x_196; uint8_t x_197; -x_194 = lean_ctor_get(x_142, 0); +lean_dec(x_190); +x_192 = lean_st_ref_get(x_8, x_187); +x_193 = lean_ctor_get(x_192, 1); +lean_inc(x_193); +lean_dec(x_192); +x_194 = lean_st_ref_take(x_6, x_193); +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_195 = 1; -lean_ctor_set_uint8(x_138, sizeof(void*)*8, x_195); -lean_ctor_set(x_142, 0, x_138); -x_196 = lean_st_ref_set(x_6, x_142, x_191); -x_197 = !lean_is_exclusive(x_196); +x_197 = !lean_is_exclusive(x_195); if (x_197 == 0) { -lean_object* x_198; lean_object* x_199; -x_198 = lean_ctor_get(x_196, 0); +lean_object* x_198; lean_object* x_199; uint8_t x_200; +x_198 = lean_ctor_get(x_195, 0); lean_dec(x_198); -x_199 = lean_box(x_136); -lean_ctor_set(x_196, 0, x_199); -return x_196; +lean_ctor_set(x_195, 0, x_191); +x_199 = lean_st_ref_set(x_6, x_195, x_196); +x_200 = !lean_is_exclusive(x_199); +if (x_200 == 0) +{ +lean_object* x_201; lean_object* x_202; +x_201 = lean_ctor_get(x_199, 0); +lean_dec(x_201); +x_202 = lean_box(x_189); +lean_ctor_set(x_199, 0, x_202); +return x_199; } else { -lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_200 = lean_ctor_get(x_196, 1); -lean_inc(x_200); -lean_dec(x_196); -x_201 = lean_box(x_136); -x_202 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_200); -return x_202; -} -} -else -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t 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; -x_203 = lean_ctor_get(x_142, 1); -x_204 = lean_ctor_get(x_142, 2); -x_205 = lean_ctor_get(x_142, 3); -lean_inc(x_205); -lean_inc(x_204); +lean_object* x_203; lean_object* x_204; lean_object* x_205; +x_203 = lean_ctor_get(x_199, 1); lean_inc(x_203); -lean_dec(x_142); -x_206 = 1; -lean_ctor_set_uint8(x_138, sizeof(void*)*8, x_206); -x_207 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_207, 0, x_138); -lean_ctor_set(x_207, 1, x_203); -lean_ctor_set(x_207, 2, x_204); -lean_ctor_set(x_207, 3, x_205); -x_208 = lean_st_ref_set(x_6, x_207, x_191); -x_209 = lean_ctor_get(x_208, 1); -lean_inc(x_209); -if (lean_is_exclusive(x_208)) { - lean_ctor_release(x_208, 0); - lean_ctor_release(x_208, 1); - x_210 = x_208; -} else { - lean_dec_ref(x_208); - x_210 = lean_box(0); +lean_dec(x_199); +x_204 = lean_box(x_189); +x_205 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_205, 0, x_204); +lean_ctor_set(x_205, 1, x_203); +return x_205; } -x_211 = lean_box(x_136); -if (lean_is_scalar(x_210)) { - x_212 = lean_alloc_ctor(0, 2, 0); -} else { +} +else +{ +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_206 = lean_ctor_get(x_195, 1); +x_207 = lean_ctor_get(x_195, 2); +x_208 = lean_ctor_get(x_195, 3); +lean_inc(x_208); +lean_inc(x_207); +lean_inc(x_206); +lean_dec(x_195); +x_209 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_209, 0, x_191); +lean_ctor_set(x_209, 1, x_206); +lean_ctor_set(x_209, 2, x_207); +lean_ctor_set(x_209, 3, x_208); +x_210 = lean_st_ref_set(x_6, x_209, x_196); +x_211 = lean_ctor_get(x_210, 1); +lean_inc(x_211); +if (lean_is_exclusive(x_210)) { + lean_ctor_release(x_210, 0); + lean_ctor_release(x_210, 1); x_212 = x_210; +} else { + lean_dec_ref(x_210); + x_212 = lean_box(0); } -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_209); -return x_212; +x_213 = lean_box(x_189); +if (lean_is_scalar(x_212)) { + x_214 = lean_alloc_ctor(0, 2, 0); +} else { + x_214 = x_212; } +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_211); +return x_214; +} +} +block_229: +{ +if (x_216 == 0) +{ +uint8_t x_218; +x_218 = l_Lean_Expr_hasFVar(x_182); +if (x_218 == 0) +{ +uint8_t x_219; +x_219 = l_Lean_Expr_hasMVar(x_182); +if (x_219 == 0) +{ +uint8_t x_220; +lean_dec(x_182); +lean_dec(x_2); +x_220 = 0; +x_189 = x_220; +x_190 = x_217; +goto block_215; } else { -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_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t 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; -x_213 = lean_ctor_get(x_138, 0); -x_214 = lean_ctor_get(x_138, 1); -x_215 = lean_ctor_get(x_138, 2); -x_216 = lean_ctor_get(x_138, 3); -x_217 = lean_ctor_get(x_138, 4); -x_218 = lean_ctor_get(x_138, 5); -x_219 = lean_ctor_get(x_138, 6); -x_220 = lean_ctor_get(x_138, 7); -lean_inc(x_220); -lean_inc(x_219); -lean_inc(x_218); -lean_inc(x_217); -lean_inc(x_216); -lean_inc(x_215); -lean_inc(x_214); -lean_inc(x_213); -lean_dec(x_138); -x_221 = lean_ctor_get(x_142, 1); -lean_inc(x_221); -x_222 = lean_ctor_get(x_142, 2); +lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; +x_221 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__33(x_2, x_182, x_217); +x_222 = lean_ctor_get(x_221, 0); lean_inc(x_222); -x_223 = lean_ctor_get(x_142, 3); +x_223 = lean_ctor_get(x_221, 1); lean_inc(x_223); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - lean_ctor_release(x_142, 2); - lean_ctor_release(x_142, 3); - x_224 = x_142; -} else { - lean_dec_ref(x_142); - x_224 = lean_box(0); -} -x_225 = 1; -x_226 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_226, 0, x_213); -lean_ctor_set(x_226, 1, x_214); -lean_ctor_set(x_226, 2, x_215); -lean_ctor_set(x_226, 3, x_216); -lean_ctor_set(x_226, 4, x_217); -lean_ctor_set(x_226, 5, x_218); -lean_ctor_set(x_226, 6, x_219); -lean_ctor_set(x_226, 7, x_220); -lean_ctor_set_uint8(x_226, sizeof(void*)*8, x_225); -if (lean_is_scalar(x_224)) { - x_227 = lean_alloc_ctor(0, 4, 0); -} else { - x_227 = x_224; -} -lean_ctor_set(x_227, 0, x_226); -lean_ctor_set(x_227, 1, x_221); -lean_ctor_set(x_227, 2, x_222); -lean_ctor_set(x_227, 3, x_223); -x_228 = lean_st_ref_set(x_6, x_227, x_191); -x_229 = lean_ctor_get(x_228, 1); -lean_inc(x_229); -if (lean_is_exclusive(x_228)) { - lean_ctor_release(x_228, 0); - lean_ctor_release(x_228, 1); - x_230 = x_228; -} else { - lean_dec_ref(x_228); - x_230 = lean_box(0); -} -x_231 = lean_box(x_136); -if (lean_is_scalar(x_230)) { - x_232 = lean_alloc_ctor(0, 2, 0); -} else { - x_232 = x_230; -} -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_229); -return x_232; -} -} +lean_dec(x_221); +x_224 = lean_unbox(x_222); +lean_dec(x_222); +x_189 = x_224; +x_190 = x_223; +goto block_215; } } else { -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; uint8_t x_255; lean_object* x_256; uint8_t x_353; lean_object* x_354; lean_object* x_367; lean_object* x_368; uint8_t x_369; -x_247 = lean_ctor_get(x_1, 3); -lean_inc(x_247); -x_248 = lean_ctor_get(x_1, 4); -lean_inc(x_248); -lean_dec(x_1); -x_249 = lean_st_ref_get(x_8, x_9); -x_250 = lean_ctor_get(x_249, 1); -lean_inc(x_250); -lean_dec(x_249); -x_251 = lean_st_ref_get(x_6, x_250); -x_252 = lean_ctor_get(x_251, 0); -lean_inc(x_252); -x_253 = lean_ctor_get(x_251, 1); -lean_inc(x_253); -lean_dec(x_251); -x_254 = lean_ctor_get(x_252, 0); -lean_inc(x_254); -lean_dec(x_252); -x_367 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___closed__1; -x_368 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_368, 0, x_367); -lean_ctor_set(x_368, 1, x_254); -x_369 = l_Lean_Expr_hasFVar(x_247); -if (x_369 == 0) -{ -uint8_t x_370; -x_370 = l_Lean_Expr_hasMVar(x_247); -if (x_370 == 0) -{ -uint8_t x_371; -lean_dec(x_247); -x_371 = 0; -x_353 = x_371; -x_354 = x_368; -goto block_366; -} -else -{ -lean_object* x_372; lean_object* x_373; lean_object* x_374; uint8_t x_375; -lean_inc(x_2); -x_372 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__49(x_2, x_247, x_368); -x_373 = lean_ctor_get(x_372, 0); -lean_inc(x_373); -x_374 = lean_ctor_get(x_372, 1); -lean_inc(x_374); -lean_dec(x_372); -x_375 = lean_unbox(x_373); -lean_dec(x_373); -x_353 = x_375; -x_354 = x_374; -goto block_366; +lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; +x_225 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__41(x_2, x_182, x_217); +x_226 = lean_ctor_get(x_225, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_225, 1); +lean_inc(x_227); +lean_dec(x_225); +x_228 = lean_unbox(x_226); +lean_dec(x_226); +x_189 = x_228; +x_190 = x_227; +goto block_215; } } else { -lean_object* x_376; lean_object* x_377; lean_object* x_378; uint8_t x_379; -lean_inc(x_2); -x_376 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__57(x_2, x_247, x_368); -x_377 = lean_ctor_get(x_376, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_376, 1); -lean_inc(x_378); -lean_dec(x_376); -x_379 = lean_unbox(x_377); -lean_dec(x_377); -x_353 = x_379; -x_354 = x_378; -goto block_366; -} -block_352: -{ -lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; -x_257 = lean_ctor_get(x_256, 1); -lean_inc(x_257); -lean_dec(x_256); -x_258 = lean_st_ref_get(x_8, x_253); -x_259 = lean_ctor_get(x_258, 1); -lean_inc(x_259); -lean_dec(x_258); -x_260 = lean_st_ref_take(x_6, x_259); -x_261 = lean_ctor_get(x_260, 0); -lean_inc(x_261); -x_262 = lean_ctor_get_uint8(x_257, sizeof(void*)*8); -if (x_262 == 0) -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; -x_263 = lean_ctor_get(x_261, 0); -lean_inc(x_263); -x_264 = lean_ctor_get(x_260, 1); -lean_inc(x_264); -lean_dec(x_260); -x_265 = lean_ctor_get(x_257, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_257, 1); -lean_inc(x_266); -x_267 = lean_ctor_get(x_257, 2); -lean_inc(x_267); -x_268 = lean_ctor_get(x_257, 3); -lean_inc(x_268); -x_269 = lean_ctor_get(x_257, 4); -lean_inc(x_269); -x_270 = lean_ctor_get(x_257, 5); -lean_inc(x_270); -x_271 = lean_ctor_get(x_257, 6); -lean_inc(x_271); -x_272 = lean_ctor_get(x_257, 7); -lean_inc(x_272); -lean_dec(x_257); -x_273 = !lean_is_exclusive(x_261); -if (x_273 == 0) -{ -lean_object* x_274; uint8_t x_275; -x_274 = lean_ctor_get(x_261, 0); -lean_dec(x_274); -x_275 = !lean_is_exclusive(x_263); -if (x_275 == 0) -{ -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; uint8_t x_285; -x_276 = lean_ctor_get(x_263, 7); -lean_dec(x_276); -x_277 = lean_ctor_get(x_263, 6); -lean_dec(x_277); -x_278 = lean_ctor_get(x_263, 5); -lean_dec(x_278); -x_279 = lean_ctor_get(x_263, 4); -lean_dec(x_279); -x_280 = lean_ctor_get(x_263, 3); -lean_dec(x_280); -x_281 = lean_ctor_get(x_263, 2); -lean_dec(x_281); -x_282 = lean_ctor_get(x_263, 1); -lean_dec(x_282); -x_283 = lean_ctor_get(x_263, 0); -lean_dec(x_283); -lean_ctor_set(x_263, 7, x_272); -lean_ctor_set(x_263, 6, x_271); -lean_ctor_set(x_263, 5, x_270); -lean_ctor_set(x_263, 4, x_269); -lean_ctor_set(x_263, 3, x_268); -lean_ctor_set(x_263, 2, x_267); -lean_ctor_set(x_263, 1, x_266); -lean_ctor_set(x_263, 0, x_265); -x_284 = lean_st_ref_set(x_6, x_261, x_264); -x_285 = !lean_is_exclusive(x_284); -if (x_285 == 0) -{ -lean_object* x_286; lean_object* x_287; -x_286 = lean_ctor_get(x_284, 0); -lean_dec(x_286); -x_287 = lean_box(x_255); -lean_ctor_set(x_284, 0, x_287); -return x_284; -} -else -{ -lean_object* x_288; lean_object* x_289; lean_object* x_290; -x_288 = lean_ctor_get(x_284, 1); -lean_inc(x_288); -lean_dec(x_284); -x_289 = lean_box(x_255); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_288); -return x_290; -} -} -else -{ -uint8_t x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_291 = lean_ctor_get_uint8(x_263, sizeof(void*)*8); -lean_dec(x_263); -x_292 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_292, 0, x_265); -lean_ctor_set(x_292, 1, x_266); -lean_ctor_set(x_292, 2, x_267); -lean_ctor_set(x_292, 3, x_268); -lean_ctor_set(x_292, 4, x_269); -lean_ctor_set(x_292, 5, x_270); -lean_ctor_set(x_292, 6, x_271); -lean_ctor_set(x_292, 7, x_272); -lean_ctor_set_uint8(x_292, sizeof(void*)*8, x_291); -lean_ctor_set(x_261, 0, x_292); -x_293 = lean_st_ref_set(x_6, x_261, x_264); -x_294 = lean_ctor_get(x_293, 1); -lean_inc(x_294); -if (lean_is_exclusive(x_293)) { - lean_ctor_release(x_293, 0); - lean_ctor_release(x_293, 1); - x_295 = x_293; -} else { - lean_dec_ref(x_293); - x_295 = lean_box(0); -} -x_296 = lean_box(x_255); -if (lean_is_scalar(x_295)) { - x_297 = lean_alloc_ctor(0, 2, 0); -} else { - x_297 = x_295; -} -lean_ctor_set(x_297, 0, x_296); -lean_ctor_set(x_297, 1, x_294); -return x_297; -} -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; uint8_t 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_298 = lean_ctor_get(x_261, 1); -x_299 = lean_ctor_get(x_261, 2); -x_300 = lean_ctor_get(x_261, 3); -lean_inc(x_300); -lean_inc(x_299); -lean_inc(x_298); -lean_dec(x_261); -x_301 = lean_ctor_get_uint8(x_263, sizeof(void*)*8); -if (lean_is_exclusive(x_263)) { - lean_ctor_release(x_263, 0); - lean_ctor_release(x_263, 1); - lean_ctor_release(x_263, 2); - lean_ctor_release(x_263, 3); - lean_ctor_release(x_263, 4); - lean_ctor_release(x_263, 5); - lean_ctor_release(x_263, 6); - lean_ctor_release(x_263, 7); - x_302 = x_263; -} else { - lean_dec_ref(x_263); - x_302 = lean_box(0); -} -if (lean_is_scalar(x_302)) { - x_303 = lean_alloc_ctor(0, 8, 1); -} else { - x_303 = x_302; -} -lean_ctor_set(x_303, 0, x_265); -lean_ctor_set(x_303, 1, x_266); -lean_ctor_set(x_303, 2, x_267); -lean_ctor_set(x_303, 3, x_268); -lean_ctor_set(x_303, 4, x_269); -lean_ctor_set(x_303, 5, x_270); -lean_ctor_set(x_303, 6, x_271); -lean_ctor_set(x_303, 7, x_272); -lean_ctor_set_uint8(x_303, sizeof(void*)*8, x_301); -x_304 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_304, 0, x_303); -lean_ctor_set(x_304, 1, x_298); -lean_ctor_set(x_304, 2, x_299); -lean_ctor_set(x_304, 3, x_300); -x_305 = lean_st_ref_set(x_6, x_304, x_264); -x_306 = lean_ctor_get(x_305, 1); -lean_inc(x_306); -if (lean_is_exclusive(x_305)) { - lean_ctor_release(x_305, 0); - lean_ctor_release(x_305, 1); - x_307 = x_305; -} else { - lean_dec_ref(x_305); - x_307 = lean_box(0); -} -x_308 = lean_box(x_255); -if (lean_is_scalar(x_307)) { - x_309 = lean_alloc_ctor(0, 2, 0); -} else { - x_309 = x_307; -} -lean_ctor_set(x_309, 0, x_308); -lean_ctor_set(x_309, 1, x_306); -return x_309; -} -} -else -{ -lean_object* x_310; uint8_t x_311; -x_310 = lean_ctor_get(x_260, 1); -lean_inc(x_310); -lean_dec(x_260); -x_311 = !lean_is_exclusive(x_257); -if (x_311 == 0) -{ -uint8_t x_312; -x_312 = !lean_is_exclusive(x_261); -if (x_312 == 0) -{ -lean_object* x_313; uint8_t x_314; lean_object* x_315; uint8_t x_316; -x_313 = lean_ctor_get(x_261, 0); -lean_dec(x_313); -x_314 = 1; -lean_ctor_set_uint8(x_257, sizeof(void*)*8, x_314); -lean_ctor_set(x_261, 0, x_257); -x_315 = lean_st_ref_set(x_6, x_261, x_310); -x_316 = !lean_is_exclusive(x_315); -if (x_316 == 0) -{ -lean_object* x_317; lean_object* x_318; -x_317 = lean_ctor_get(x_315, 0); -lean_dec(x_317); -x_318 = lean_box(x_255); -lean_ctor_set(x_315, 0, x_318); -return x_315; -} -else -{ -lean_object* x_319; lean_object* x_320; lean_object* x_321; -x_319 = lean_ctor_get(x_315, 1); -lean_inc(x_319); -lean_dec(x_315); -x_320 = lean_box(x_255); -x_321 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_321, 0, x_320); -lean_ctor_set(x_321, 1, x_319); -return x_321; -} -} -else -{ -lean_object* x_322; lean_object* x_323; lean_object* x_324; uint8_t x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; -x_322 = lean_ctor_get(x_261, 1); -x_323 = lean_ctor_get(x_261, 2); -x_324 = lean_ctor_get(x_261, 3); -lean_inc(x_324); -lean_inc(x_323); -lean_inc(x_322); -lean_dec(x_261); -x_325 = 1; -lean_ctor_set_uint8(x_257, sizeof(void*)*8, x_325); -x_326 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_326, 0, x_257); -lean_ctor_set(x_326, 1, x_322); -lean_ctor_set(x_326, 2, x_323); -lean_ctor_set(x_326, 3, x_324); -x_327 = lean_st_ref_set(x_6, x_326, x_310); -x_328 = lean_ctor_get(x_327, 1); -lean_inc(x_328); -if (lean_is_exclusive(x_327)) { - lean_ctor_release(x_327, 0); - lean_ctor_release(x_327, 1); - x_329 = x_327; -} else { - lean_dec_ref(x_327); - x_329 = lean_box(0); -} -x_330 = lean_box(x_255); -if (lean_is_scalar(x_329)) { - x_331 = lean_alloc_ctor(0, 2, 0); -} else { - x_331 = x_329; -} -lean_ctor_set(x_331, 0, x_330); -lean_ctor_set(x_331, 1, x_328); -return x_331; -} -} -else -{ -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; lean_object* x_343; uint8_t 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; -x_332 = lean_ctor_get(x_257, 0); -x_333 = lean_ctor_get(x_257, 1); -x_334 = lean_ctor_get(x_257, 2); -x_335 = lean_ctor_get(x_257, 3); -x_336 = lean_ctor_get(x_257, 4); -x_337 = lean_ctor_get(x_257, 5); -x_338 = lean_ctor_get(x_257, 6); -x_339 = lean_ctor_get(x_257, 7); -lean_inc(x_339); -lean_inc(x_338); -lean_inc(x_337); -lean_inc(x_336); -lean_inc(x_335); -lean_inc(x_334); -lean_inc(x_333); -lean_inc(x_332); -lean_dec(x_257); -x_340 = lean_ctor_get(x_261, 1); -lean_inc(x_340); -x_341 = lean_ctor_get(x_261, 2); -lean_inc(x_341); -x_342 = lean_ctor_get(x_261, 3); -lean_inc(x_342); -if (lean_is_exclusive(x_261)) { - lean_ctor_release(x_261, 0); - lean_ctor_release(x_261, 1); - lean_ctor_release(x_261, 2); - lean_ctor_release(x_261, 3); - x_343 = x_261; -} else { - lean_dec_ref(x_261); - x_343 = lean_box(0); -} -x_344 = 1; -x_345 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_345, 0, x_332); -lean_ctor_set(x_345, 1, x_333); -lean_ctor_set(x_345, 2, x_334); -lean_ctor_set(x_345, 3, x_335); -lean_ctor_set(x_345, 4, x_336); -lean_ctor_set(x_345, 5, x_337); -lean_ctor_set(x_345, 6, x_338); -lean_ctor_set(x_345, 7, x_339); -lean_ctor_set_uint8(x_345, sizeof(void*)*8, x_344); -if (lean_is_scalar(x_343)) { - x_346 = lean_alloc_ctor(0, 4, 0); -} else { - x_346 = x_343; -} -lean_ctor_set(x_346, 0, x_345); -lean_ctor_set(x_346, 1, x_340); -lean_ctor_set(x_346, 2, x_341); -lean_ctor_set(x_346, 3, x_342); -x_347 = lean_st_ref_set(x_6, x_346, x_310); -x_348 = lean_ctor_get(x_347, 1); -lean_inc(x_348); -if (lean_is_exclusive(x_347)) { - lean_ctor_release(x_347, 0); - lean_ctor_release(x_347, 1); - x_349 = x_347; -} else { - lean_dec_ref(x_347); - x_349 = lean_box(0); -} -x_350 = lean_box(x_255); -if (lean_is_scalar(x_349)) { - x_351 = lean_alloc_ctor(0, 2, 0); -} else { - x_351 = x_349; -} -lean_ctor_set(x_351, 0, x_350); -lean_ctor_set(x_351, 1, x_348); -return x_351; -} -} -} -block_366: -{ -if (x_353 == 0) -{ -uint8_t x_355; -x_355 = l_Lean_Expr_hasFVar(x_248); -if (x_355 == 0) -{ -uint8_t x_356; -x_356 = l_Lean_Expr_hasMVar(x_248); -if (x_356 == 0) -{ -uint8_t x_357; -lean_dec(x_248); +lean_dec(x_182); lean_dec(x_2); -x_357 = 0; -x_255 = x_357; -x_256 = x_354; -goto block_352; -} -else -{ -lean_object* x_358; lean_object* x_359; lean_object* x_360; uint8_t x_361; -x_358 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__33(x_2, x_248, x_354); -x_359 = lean_ctor_get(x_358, 0); -lean_inc(x_359); -x_360 = lean_ctor_get(x_358, 1); -lean_inc(x_360); -lean_dec(x_358); -x_361 = lean_unbox(x_359); -lean_dec(x_359); -x_255 = x_361; -x_256 = x_360; -goto block_352; -} -} -else -{ -lean_object* x_362; lean_object* x_363; lean_object* x_364; uint8_t x_365; -x_362 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_PPGoal_0__Lean_Meta_ToHide_findDeps___spec__41(x_2, x_248, x_354); -x_363 = lean_ctor_get(x_362, 0); -lean_inc(x_363); -x_364 = lean_ctor_get(x_362, 1); -lean_inc(x_364); -lean_dec(x_362); -x_365 = lean_unbox(x_363); -lean_dec(x_363); -x_255 = x_365; -x_256 = x_364; -goto block_352; -} -} -else -{ -lean_dec(x_248); -lean_dec(x_2); -x_255 = x_353; -x_256 = x_354; -goto block_352; +x_189 = x_216; +x_190 = x_217; +goto block_215; } } } diff --git a/stage0/stdlib/Lean/Meta/RecursorInfo.c b/stage0/stdlib/Lean/Meta/RecursorInfo.c index 3f625cce41..93c3dc003c 100644 --- a/stage0/stdlib/Lean/Meta/RecursorInfo.c +++ b/stage0/stdlib/Lean/Meta/RecursorInfo.c @@ -9657,23 +9657,21 @@ return x_3; static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2893____lambda__2___closed__13() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2893____lambda__2___closed__10; x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2893____lambda__2___closed__11; x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2893____lambda__2___closed__12; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2893____lambda__2___closed__14() { @@ -9762,14 +9760,13 @@ x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2893____lambda__2__ x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2893____lambda__2___closed__16; x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2893____lambda__2___closed__17; x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_RecursorInfo___hyg_2893____lambda__2___closed__20; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/Meta/SizeOf.c b/stage0/stdlib/Lean/Meta/SizeOf.c index 96c5efdb7a..ccd3b68a98 100644 --- a/stage0/stdlib/Lean/Meta/SizeOf.c +++ b/stage0/stdlib/Lean/Meta/SizeOf.c @@ -10934,14 +10934,13 @@ x_1 = l_Lean_setEnv___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNeste x_2 = l_Lean_setEnv___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__5___closed__7; x_3 = l_Lean_setEnv___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__5___closed__8; x_4 = l_Lean_setEnv___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__5___closed__11; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/Meta/SynthInstance.c b/stage0/stdlib/Lean/Meta/SynthInstance.c index 4ce5b4a150..04683fcf3d 100644 --- a/stage0/stdlib/Lean/Meta/SynthInstance.c +++ b/stage0/stdlib/Lean/Meta/SynthInstance.c @@ -19,6 +19,7 @@ LEAN_EXPORT lean_object* l_Lean_Core_withCurrHeartbeats___at_Lean_Meta_SynthInst LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getMaxHeartbeats___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_synthInstance_x3f___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2___closed__1; uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Meta_SynthInstance_instInhabitedAnswer___closed__1; static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs___closed__2; @@ -58,6 +59,7 @@ static lean_object* l_Lean_Meta_SynthInstance_resume___lambda__1___closed__1; uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_tryAnswer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_emap___default; static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_mkAnswer___lambda__2___closed__3; static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessLevels___closed__1; @@ -77,7 +79,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_resume___lambda__1___boxed(le LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_generate___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashMap_insert___at_Lean_Meta_SynthInstance_newSubgoal___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getResult(lean_object*); size_t lean_usize_sub(size_t, size_t); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_SynthInstance_isNewAnswer___spec__1(lean_object*, lean_object*, size_t, size_t); @@ -208,6 +209,7 @@ lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_ob uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getTop___boxed(lean_object*); static lean_object* l_Lean_Meta_SynthInstance_consume___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_mkTableKey___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_mvar___override(lean_object*); lean_object* l_Lean_Meta_abstractMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___lambda__2___closed__6; @@ -278,7 +280,6 @@ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Synt lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Meta_AbstractMVars_0__Lean_Meta_AbstractMVars_abstractLevelMVars___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_TableEntry_answers___default; static lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessArgs___closed__1; -lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); static lean_object* l_Lean_Meta_synthInstance_x3f___lambda__5___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_addAnswer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -347,6 +348,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthI size_t lean_usize_mul(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bvar___override(lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_SynthInstance_0__Lean_Meta_preprocessOutParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instMonadMetaM; uint8_t l_Lean_Expr_isForall(lean_object*); @@ -366,7 +368,7 @@ LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Meta_SynthInstance_f LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_37_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_6_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_8431_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_8430_(lean_object*); static lean_object* l_Lean_Meta_SynthInstance_MkTableKey_State_lmap___default___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_getNextToResume___boxed(lean_object*); LEAN_EXPORT lean_object* l_List_anyM___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -581,8 +583,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_mkTableKeyFor___lambda__2___b static lean_object* l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__4; uint8_t l_Std_PersistentHashMap_contains___at_Lean_NameSSet_contains___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_MkTableKey_normExpr(lean_object*, lean_object*); -static lean_object* l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3___closed__2; -LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Meta_synthInstance_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_profileitM___at_Lean_Meta_synthInstance_x3f___spec__8(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_tryAnswer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -598,7 +598,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_main___lambda__1(lean_object* LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_tryResolveCore___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_synthInstance_maxHeartbeats; static lean_object* l_Lean_Meta_SynthInstance_resume___closed__2; -static lean_object* l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3___closed__1; static lean_object* l_Lean_Meta_SynthInstance_generate___closed__4; static lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__3; static lean_object* l_Lean_Meta_SynthInstance_resume___closed__1; @@ -928,23 +927,21 @@ return x_3; static lean_object* _init_l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__4; x_3 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__5; x_4 = l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__6; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Meta_SynthInstance_instInhabitedGeneratorNode___closed__8() { @@ -1203,137 +1200,7 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = !lean_is_exclusive(x_1); -if (x_2 == 0) -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_1, 3); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -uint8_t x_5; lean_object* x_6; lean_object* x_7; -x_5 = 1; -lean_ctor_set_uint8(x_3, sizeof(void*)*8, 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_1); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_8 = lean_ctor_get(x_3, 0); -x_9 = lean_ctor_get(x_3, 1); -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_3, 5); -x_14 = lean_ctor_get(x_3, 6); -x_15 = lean_ctor_get(x_3, 7); -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_inc(x_9); -lean_inc(x_8); -lean_dec(x_3); -x_16 = 1; -x_17 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_17, 0, x_8); -lean_ctor_set(x_17, 1, x_9); -lean_ctor_set(x_17, 2, x_10); -lean_ctor_set(x_17, 3, x_11); -lean_ctor_set(x_17, 4, x_12); -lean_ctor_set(x_17, 5, x_13); -lean_ctor_set(x_17, 6, x_14); -lean_ctor_set(x_17, 7, x_15); -lean_ctor_set_uint8(x_17, sizeof(void*)*8, x_16); -lean_ctor_set(x_1, 3, x_17); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_1); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_20 = lean_ctor_get(x_1, 3); -x_21 = lean_ctor_get(x_1, 0); -x_22 = lean_ctor_get(x_1, 1); -x_23 = lean_ctor_get(x_1, 2); -lean_inc(x_20); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_1); -x_24 = lean_ctor_get(x_20, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_20, 2); -lean_inc(x_26); -x_27 = lean_ctor_get(x_20, 3); -lean_inc(x_27); -x_28 = lean_ctor_get(x_20, 4); -lean_inc(x_28); -x_29 = lean_ctor_get(x_20, 5); -lean_inc(x_29); -x_30 = lean_ctor_get(x_20, 6); -lean_inc(x_30); -x_31 = lean_ctor_get(x_20, 7); -lean_inc(x_31); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - lean_ctor_release(x_20, 2); - lean_ctor_release(x_20, 3); - lean_ctor_release(x_20, 4); - lean_ctor_release(x_20, 5); - lean_ctor_release(x_20, 6); - lean_ctor_release(x_20, 7); - x_32 = x_20; -} else { - lean_dec_ref(x_20); - x_32 = lean_box(0); -} -x_33 = 1; -if (lean_is_scalar(x_32)) { - x_34 = lean_alloc_ctor(0, 8, 1); -} else { - x_34 = x_32; -} -lean_ctor_set(x_34, 0, x_24); -lean_ctor_set(x_34, 1, x_25); -lean_ctor_set(x_34, 2, x_26); -lean_ctor_set(x_34, 3, x_27); -lean_ctor_set(x_34, 4, x_28); -lean_ctor_set(x_34, 5, x_29); -lean_ctor_set(x_34, 6, x_30); -lean_ctor_set(x_34, 7, x_31); -lean_ctor_set_uint8(x_34, sizeof(void*)*8, x_33); -x_35 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_35, 0, x_21); -lean_ctor_set(x_35, 1, x_22); -lean_ctor_set(x_35, 2, x_23); -lean_ctor_set(x_35, 3, x_34); -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -} -} -static lean_object* _init_l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3___closed__1() { +static lean_object* _init_l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -1342,22 +1209,22 @@ x_2 = l_StateT_instMonadStateT___rarg(x_1); return x_2; } } -static lean_object* _init_l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3___closed__2() { +static lean_object* _init_l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2___closed__2() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3___closed__1; +x_1 = l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2___closed__1; x_2 = l_instInhabitedBool; x_3 = lean_box(x_2); x_4 = l_instInhabited___rarg(x_1, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___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_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3___closed__2; +x_3 = l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2___closed__2; x_4 = lean_panic_fn(x_3, x_1); x_5 = lean_apply_1(x_4, x_2); return x_5; @@ -1393,7 +1260,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; x_1 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__1; x_2 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(361u); +x_3 = lean_unsigned_to_nat(344u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -1403,83 +1270,37 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; uint8_t x_4; -x_3 = l_Lean_markUsedAssignment___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2(x_2); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 3); +lean_inc(x_3); +x_4 = lean_ctor_get(x_3, 2); +lean_inc(x_4); +x_5 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_4, x_1); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = lean_ctor_get(x_3, 1); -x_6 = lean_ctor_get(x_3, 0); -lean_dec(x_6); -x_7 = lean_ctor_get(x_5, 3); -lean_inc(x_7); -x_8 = lean_ctor_get(x_7, 2); -lean_inc(x_8); -x_9 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_8, x_1); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; -lean_dec(x_7); -lean_free_object(x_3); -x_10 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__4; -x_11 = l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3(x_10, x_5); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_9, 0); -lean_inc(x_12); -lean_dec(x_9); -x_13 = lean_ctor_get(x_7, 0); -lean_inc(x_13); -lean_dec(x_7); -x_14 = lean_nat_dec_eq(x_12, x_13); -lean_dec(x_13); -lean_dec(x_12); -x_15 = lean_box(x_14); -lean_ctor_set(x_3, 0, x_15); -return x_3; -} -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_3, 1); -lean_inc(x_16); +lean_object* x_6; lean_object* x_7; lean_dec(x_3); -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -x_18 = lean_ctor_get(x_17, 2); -lean_inc(x_18); -x_19 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_18, x_1); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; -lean_dec(x_17); -x_20 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__4; -x_21 = l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3(x_20, x_16); -return x_21; +x_6 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__4; +x_7 = l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2(x_6, x_2); +return x_7; } else { -lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_19, 0); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_ctor_get(x_17, 0); -lean_inc(x_23); -lean_dec(x_17); -x_24 = lean_nat_dec_eq(x_22, x_23); -lean_dec(x_23); -lean_dec(x_22); -x_25 = lean_box(x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_16); -return x_26; -} +lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +lean_dec(x_5); +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +x_10 = lean_nat_dec_eq(x_8, x_9); +lean_dec(x_9); +lean_dec(x_8); +x_11 = lean_box(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_2); +return x_12; } } } @@ -1972,57 +1793,25 @@ return x_123; LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; uint8_t x_4; -x_3 = l_Lean_markUsedAssignment___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2(x_2); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; -x_5 = lean_ctor_get(x_3, 1); +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; +x_3 = lean_ctor_get(x_2, 3); +lean_inc(x_3); +lean_inc(x_3); +x_4 = l_Lean_MetavarContext_getDecl(x_3, x_1); +x_5 = lean_ctor_get(x_4, 3); +lean_inc(x_5); +lean_dec(x_4); x_6 = lean_ctor_get(x_3, 0); -lean_dec(x_6); -x_7 = lean_ctor_get(x_5, 3); -lean_inc(x_7); -lean_inc(x_7); -x_8 = l_Lean_MetavarContext_getDecl(x_7, x_1); -x_9 = lean_ctor_get(x_8, 3); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_ctor_get(x_7, 0); -lean_inc(x_10); -lean_dec(x_7); -x_11 = lean_nat_dec_eq(x_9, x_10); -lean_dec(x_10); -lean_dec(x_9); -x_12 = lean_box(x_11); -lean_ctor_set(x_3, 0, x_12); -return x_3; -} -else -{ -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_13 = lean_ctor_get(x_3, 1); -lean_inc(x_13); +lean_inc(x_6); lean_dec(x_3); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -lean_inc(x_14); -x_15 = l_Lean_MetavarContext_getDecl(x_14, x_1); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_14, 0); -lean_inc(x_17); -lean_dec(x_14); -x_18 = lean_nat_dec_eq(x_16, x_17); -lean_dec(x_17); -lean_dec(x_16); -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_13); -return x_20; -} +x_7 = lean_nat_dec_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_2); +return x_9; } } LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Meta_SynthInstance_MkTableKey_normExpr___spec__2(lean_object* x_1, lean_object* x_2) { @@ -3150,123 +2939,9 @@ return x_258; LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_mkTableKey___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_3; -x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 2); -lean_inc(x_6); -x_7 = lean_ctor_get(x_1, 3); -lean_inc(x_7); -x_8 = lean_ctor_get(x_1, 4); -lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 5); -lean_inc(x_9); -x_10 = lean_ctor_get(x_1, 6); -lean_inc(x_10); -x_11 = lean_ctor_get(x_1, 7); -lean_inc(x_11); -lean_dec(x_1); -x_12 = !lean_is_exclusive(x_2); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_13 = lean_ctor_get(x_2, 7); -lean_dec(x_13); -x_14 = lean_ctor_get(x_2, 6); -lean_dec(x_14); -x_15 = lean_ctor_get(x_2, 5); -lean_dec(x_15); -x_16 = lean_ctor_get(x_2, 4); -lean_dec(x_16); -x_17 = lean_ctor_get(x_2, 3); -lean_dec(x_17); -x_18 = lean_ctor_get(x_2, 2); -lean_dec(x_18); -x_19 = lean_ctor_get(x_2, 1); -lean_dec(x_19); -x_20 = lean_ctor_get(x_2, 0); -lean_dec(x_20); -lean_ctor_set(x_2, 7, x_11); -lean_ctor_set(x_2, 6, x_10); -lean_ctor_set(x_2, 5, x_9); -lean_ctor_set(x_2, 4, x_8); -lean_ctor_set(x_2, 3, x_7); -lean_ctor_set(x_2, 2, x_6); -lean_ctor_set(x_2, 1, x_5); -lean_ctor_set(x_2, 0, x_4); -return x_2; -} -else -{ -uint8_t x_21; lean_object* x_22; -x_21 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -lean_dec(x_2); -x_22 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_22, 0, x_4); -lean_ctor_set(x_22, 1, x_5); -lean_ctor_set(x_22, 2, x_6); -lean_ctor_set(x_22, 3, x_7); -lean_ctor_set(x_22, 4, x_8); -lean_ctor_set(x_22, 5, x_9); -lean_ctor_set(x_22, 6, x_10); -lean_ctor_set(x_22, 7, x_11); -lean_ctor_set_uint8(x_22, sizeof(void*)*8, x_21); -return x_22; -} -} -else -{ -uint8_t x_23; -lean_dec(x_2); -x_23 = !lean_is_exclusive(x_1); -if (x_23 == 0) -{ -uint8_t x_24; -x_24 = 1; -lean_ctor_set_uint8(x_1, sizeof(void*)*8, x_24); +lean_inc(x_1); return x_1; } -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; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; -x_25 = lean_ctor_get(x_1, 0); -x_26 = lean_ctor_get(x_1, 1); -x_27 = lean_ctor_get(x_1, 2); -x_28 = lean_ctor_get(x_1, 3); -x_29 = lean_ctor_get(x_1, 4); -x_30 = lean_ctor_get(x_1, 5); -x_31 = lean_ctor_get(x_1, 6); -x_32 = lean_ctor_get(x_1, 7); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_1); -x_33 = 1; -x_34 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_34, 0, x_25); -lean_ctor_set(x_34, 1, x_26); -lean_ctor_set(x_34, 2, x_27); -lean_ctor_set(x_34, 3, x_28); -lean_ctor_set(x_34, 4, x_29); -lean_ctor_set(x_34, 5, x_30); -lean_ctor_set(x_34, 6, x_31); -lean_ctor_set(x_34, 7, x_32); -lean_ctor_set_uint8(x_34, sizeof(void*)*8, x_33); -return x_34; -} -} -} } LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_mkTableKey___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: @@ -3305,7 +2980,7 @@ lean_dec(x_11); x_13 = lean_ctor_get(x_2, 1); lean_inc(x_13); lean_dec(x_2); -x_14 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_mkTableKey___rarg___lambda__1), 2, 1); +x_14 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_mkTableKey___rarg___lambda__1___boxed), 2, 1); lean_closure_set(x_14, 0, x_12); x_15 = lean_apply_1(x_13, x_14); x_16 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_mkTableKey___rarg___lambda__2___boxed), 3, 2); @@ -3341,6 +3016,16 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_SynthInstance_mkTableKey___rarg), 3 return x_2; } } +LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_mkTableKey___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_SynthInstance_mkTableKey___rarg___lambda__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_mkTableKey___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -6237,7 +5922,7 @@ return x_39; LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_mkTableKey___at_Lean_Meta_SynthInstance_mkTableKeyFor___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; x_9 = lean_st_ref_get(x_7, x_8); x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); @@ -6274,345 +5959,72 @@ lean_dec(x_22); x_24 = lean_st_ref_take(x_5, x_23); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -x_26 = lean_ctor_get_uint8(x_21, sizeof(void*)*8); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_27 = lean_ctor_get(x_25, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); lean_dec(x_24); -x_29 = lean_ctor_get(x_21, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -x_31 = lean_ctor_get(x_21, 2); -lean_inc(x_31); -x_32 = lean_ctor_get(x_21, 3); -lean_inc(x_32); -x_33 = lean_ctor_get(x_21, 4); -lean_inc(x_33); -x_34 = lean_ctor_get(x_21, 5); -lean_inc(x_34); -x_35 = lean_ctor_get(x_21, 6); -lean_inc(x_35); -x_36 = lean_ctor_get(x_21, 7); -lean_inc(x_36); -lean_dec(x_21); -x_37 = !lean_is_exclusive(x_25); -if (x_37 == 0) +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) { -lean_object* x_38; uint8_t x_39; -x_38 = lean_ctor_get(x_25, 0); -lean_dec(x_38); -x_39 = !lean_is_exclusive(x_27); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_40 = lean_ctor_get(x_27, 7); -lean_dec(x_40); -x_41 = lean_ctor_get(x_27, 6); -lean_dec(x_41); -x_42 = lean_ctor_get(x_27, 5); -lean_dec(x_42); -x_43 = lean_ctor_get(x_27, 4); -lean_dec(x_43); -x_44 = lean_ctor_get(x_27, 3); -lean_dec(x_44); -x_45 = lean_ctor_get(x_27, 2); -lean_dec(x_45); -x_46 = lean_ctor_get(x_27, 1); -lean_dec(x_46); -x_47 = lean_ctor_get(x_27, 0); -lean_dec(x_47); -lean_ctor_set(x_27, 7, x_36); -lean_ctor_set(x_27, 6, x_35); -lean_ctor_set(x_27, 5, x_34); -lean_ctor_set(x_27, 4, x_33); -lean_ctor_set(x_27, 3, x_32); -lean_ctor_set(x_27, 2, x_31); -lean_ctor_set(x_27, 1, x_30); -lean_ctor_set(x_27, 0, x_29); -x_48 = lean_st_ref_set(x_5, x_25, x_28); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) -{ -lean_object* x_50; -x_50 = lean_ctor_get(x_48, 0); -lean_dec(x_50); -lean_ctor_set(x_48, 0, x_19); -return x_48; -} -else -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_48, 1); -lean_inc(x_51); -lean_dec(x_48); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_19); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -else -{ -uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_53 = lean_ctor_get_uint8(x_27, sizeof(void*)*8); -lean_dec(x_27); -x_54 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_54, 0, x_29); -lean_ctor_set(x_54, 1, x_30); -lean_ctor_set(x_54, 2, x_31); -lean_ctor_set(x_54, 3, x_32); -lean_ctor_set(x_54, 4, x_33); -lean_ctor_set(x_54, 5, x_34); -lean_ctor_set(x_54, 6, x_35); -lean_ctor_set(x_54, 7, x_36); -lean_ctor_set_uint8(x_54, sizeof(void*)*8, x_53); -lean_ctor_set(x_25, 0, x_54); -x_55 = lean_st_ref_set(x_5, x_25, x_28); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_57 = x_55; -} else { - lean_dec_ref(x_55); - x_57 = lean_box(0); -} -if (lean_is_scalar(x_57)) { - x_58 = lean_alloc_ctor(0, 2, 0); -} else { - x_58 = x_57; -} -lean_ctor_set(x_58, 0, x_19); -lean_ctor_set(x_58, 1, x_56); -return x_58; -} -} -else -{ -lean_object* x_59; 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; -x_59 = lean_ctor_get(x_25, 1); -x_60 = lean_ctor_get(x_25, 2); -x_61 = lean_ctor_get(x_25, 3); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_25); -x_62 = lean_ctor_get_uint8(x_27, sizeof(void*)*8); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - lean_ctor_release(x_27, 2); - lean_ctor_release(x_27, 3); - lean_ctor_release(x_27, 4); - lean_ctor_release(x_27, 5); - lean_ctor_release(x_27, 6); - lean_ctor_release(x_27, 7); - x_63 = x_27; -} else { - lean_dec_ref(x_27); - x_63 = lean_box(0); -} -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(0, 8, 1); -} else { - x_64 = x_63; -} -lean_ctor_set(x_64, 0, x_29); -lean_ctor_set(x_64, 1, x_30); -lean_ctor_set(x_64, 2, x_31); -lean_ctor_set(x_64, 3, x_32); -lean_ctor_set(x_64, 4, x_33); -lean_ctor_set(x_64, 5, x_34); -lean_ctor_set(x_64, 6, x_35); -lean_ctor_set(x_64, 7, x_36); -lean_ctor_set_uint8(x_64, sizeof(void*)*8, x_62); -x_65 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_59); -lean_ctor_set(x_65, 2, x_60); -lean_ctor_set(x_65, 3, x_61); -x_66 = lean_st_ref_set(x_5, x_65, x_28); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_68 = x_66; -} else { - lean_dec_ref(x_66); - x_68 = lean_box(0); -} -if (lean_is_scalar(x_68)) { - x_69 = lean_alloc_ctor(0, 2, 0); -} else { - x_69 = x_68; -} -lean_ctor_set(x_69, 0, x_19); -lean_ctor_set(x_69, 1, x_67); -return x_69; -} -} -else -{ -lean_object* x_70; uint8_t x_71; -x_70 = lean_ctor_get(x_24, 1); -lean_inc(x_70); -lean_dec(x_24); -x_71 = !lean_is_exclusive(x_21); -if (x_71 == 0) -{ -uint8_t x_72; -x_72 = !lean_is_exclusive(x_25); -if (x_72 == 0) -{ -lean_object* x_73; uint8_t x_74; lean_object* x_75; uint8_t x_76; -x_73 = lean_ctor_get(x_25, 0); -lean_dec(x_73); -x_74 = 1; -lean_ctor_set_uint8(x_21, sizeof(void*)*8, x_74); +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_25, 0); +lean_dec(x_28); lean_ctor_set(x_25, 0, x_21); -x_75 = lean_st_ref_set(x_5, x_25, x_70); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) +x_29 = lean_st_ref_set(x_5, x_25, x_26); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -lean_object* x_77; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -lean_ctor_set(x_75, 0, x_19); -return x_75; +lean_object* x_31; +x_31 = lean_ctor_get(x_29, 0); +lean_dec(x_31); +lean_ctor_set(x_29, 0, x_19); +return x_29; } else { -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_75, 1); -lean_inc(x_78); -lean_dec(x_75); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_19); -lean_ctor_set(x_79, 1, x_78); -return x_79; +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_19); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_80 = lean_ctor_get(x_25, 1); -x_81 = lean_ctor_get(x_25, 2); -x_82 = lean_ctor_get(x_25, 3); -lean_inc(x_82); -lean_inc(x_81); -lean_inc(x_80); +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_25, 1); +x_35 = lean_ctor_get(x_25, 2); +x_36 = lean_ctor_get(x_25, 3); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); lean_dec(x_25); -x_83 = 1; -lean_ctor_set_uint8(x_21, sizeof(void*)*8, x_83); -x_84 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_84, 0, x_21); -lean_ctor_set(x_84, 1, x_80); -lean_ctor_set(x_84, 2, x_81); -lean_ctor_set(x_84, 3, x_82); -x_85 = lean_st_ref_set(x_5, x_84, x_70); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_87 = x_85; +x_37 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_37, 0, x_21); +lean_ctor_set(x_37, 1, x_34); +lean_ctor_set(x_37, 2, x_35); +lean_ctor_set(x_37, 3, x_36); +x_38 = lean_st_ref_set(x_5, x_37, x_26); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_40 = x_38; } else { - lean_dec_ref(x_85); - x_87 = lean_box(0); + lean_dec_ref(x_38); + x_40 = lean_box(0); } -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(0, 2, 0); } else { - x_88 = x_87; -} -lean_ctor_set(x_88, 0, x_19); -lean_ctor_set(x_88, 1, x_86); -return x_88; -} -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 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; -x_89 = lean_ctor_get(x_21, 0); -x_90 = lean_ctor_get(x_21, 1); -x_91 = lean_ctor_get(x_21, 2); -x_92 = lean_ctor_get(x_21, 3); -x_93 = lean_ctor_get(x_21, 4); -x_94 = lean_ctor_get(x_21, 5); -x_95 = lean_ctor_get(x_21, 6); -x_96 = lean_ctor_get(x_21, 7); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_89); -lean_dec(x_21); -x_97 = lean_ctor_get(x_25, 1); -lean_inc(x_97); -x_98 = lean_ctor_get(x_25, 2); -lean_inc(x_98); -x_99 = lean_ctor_get(x_25, 3); -lean_inc(x_99); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - lean_ctor_release(x_25, 2); - lean_ctor_release(x_25, 3); - x_100 = x_25; -} else { - lean_dec_ref(x_25); - x_100 = lean_box(0); -} -x_101 = 1; -x_102 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_102, 0, x_89); -lean_ctor_set(x_102, 1, x_90); -lean_ctor_set(x_102, 2, x_91); -lean_ctor_set(x_102, 3, x_92); -lean_ctor_set(x_102, 4, x_93); -lean_ctor_set(x_102, 5, x_94); -lean_ctor_set(x_102, 6, x_95); -lean_ctor_set(x_102, 7, x_96); -lean_ctor_set_uint8(x_102, sizeof(void*)*8, x_101); -if (lean_is_scalar(x_100)) { - x_103 = lean_alloc_ctor(0, 4, 0); -} else { - x_103 = x_100; -} -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_97); -lean_ctor_set(x_103, 2, x_98); -lean_ctor_set(x_103, 3, x_99); -x_104 = lean_st_ref_set(x_5, x_103, x_70); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - lean_ctor_release(x_104, 1); - x_106 = x_104; -} else { - lean_dec_ref(x_104); - x_106 = lean_box(0); -} -if (lean_is_scalar(x_106)) { - x_107 = lean_alloc_ctor(0, 2, 0); -} else { - x_107 = x_106; -} -lean_ctor_set(x_107, 0, x_19); -lean_ctor_set(x_107, 1, x_105); -return x_107; + x_41 = x_40; } +lean_ctor_set(x_41, 0, x_19); +lean_ctor_set(x_41, 1, x_39); +return x_41; } } } @@ -7214,66 +6626,62 @@ return x_71; LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___at_Lean_Meta_SynthInstance_tryResolveCore___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_7 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_6); +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_st_ref_get(x_5, x_6); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); -x_9 = lean_st_ref_get(x_5, x_8); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_st_ref_get(x_3, x_10); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +x_9 = lean_st_ref_get(x_3, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) { -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; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_13, 0); +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; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +lean_inc(x_12); +x_13 = l_Lean_MetavarContext_getDecl(x_12, x_1); +x_14 = lean_ctor_get(x_13, 3); lean_inc(x_14); lean_dec(x_13); -lean_inc(x_14); -x_15 = l_Lean_MetavarContext_getDecl(x_14, x_1); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); +x_15 = lean_ctor_get(x_12, 0); +lean_inc(x_15); +lean_dec(x_12); +x_16 = lean_nat_dec_eq(x_14, x_15); lean_dec(x_15); -x_17 = lean_ctor_get(x_14, 0); -lean_inc(x_17); lean_dec(x_14); -x_18 = lean_nat_dec_eq(x_16, x_17); -lean_dec(x_17); -lean_dec(x_16); -x_19 = lean_box(x_18); -lean_ctor_set(x_11, 0, x_19); -return x_11; +x_17 = lean_box(x_16); +lean_ctor_set(x_9, 0, x_17); +return x_9; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_20 = lean_ctor_get(x_11, 0); -x_21 = lean_ctor_get(x_11, 1); -lean_inc(x_21); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +x_20 = lean_ctor_get(x_18, 0); lean_inc(x_20); -lean_dec(x_11); -x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_18); +lean_inc(x_20); +x_21 = l_Lean_MetavarContext_getDecl(x_20, x_1); +x_22 = lean_ctor_get(x_21, 3); lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_23); lean_dec(x_20); -lean_inc(x_22); -x_23 = l_Lean_MetavarContext_getDecl(x_22, x_1); -x_24 = lean_ctor_get(x_23, 3); -lean_inc(x_24); +x_24 = lean_nat_dec_eq(x_22, x_23); lean_dec(x_23); -x_25 = lean_ctor_get(x_22, 0); -lean_inc(x_25); lean_dec(x_22); -x_26 = lean_nat_dec_eq(x_24, x_25); -lean_dec(x_25); -lean_dec(x_24); -x_27 = lean_box(x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_21); -return x_28; +x_25 = lean_box(x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_19); +return x_26; } } } @@ -7301,101 +6709,97 @@ return x_9; LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_tryResolveCore___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_7 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_6); +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_st_ref_get(x_5, x_6); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); -x_9 = lean_st_ref_get(x_5, x_8); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_st_ref_get(x_3, x_10); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +x_9 = lean_st_ref_get(x_3, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +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_9, 0); +x_12 = lean_ctor_get(x_9, 1); x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_ctor_get(x_15, 2); -lean_inc(x_16); -x_17 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_16, x_1); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_15); -lean_free_object(x_11); -x_18 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__4; -x_19 = l_panic___at_Lean_Meta_SynthInstance_tryResolveCore___spec__5(x_18, x_2, x_3, x_4, x_5, x_14); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_20 = lean_ctor_get(x_17, 0); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_ctor_get(x_15, 0); -lean_inc(x_21); -lean_dec(x_15); -x_22 = lean_nat_dec_eq(x_20, x_21); -lean_dec(x_21); -lean_dec(x_20); -x_23 = lean_box(x_22); -lean_ctor_set(x_11, 0, x_23); -return x_11; -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_24 = lean_ctor_get(x_11, 0); -x_25 = lean_ctor_get(x_11, 1); -lean_inc(x_25); -lean_inc(x_24); +lean_inc(x_13); lean_dec(x_11); -x_26 = lean_ctor_get(x_24, 0); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_ctor_get(x_26, 2); -lean_inc(x_27); -x_28 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_27, x_1); -if (lean_obj_tag(x_28) == 0) +x_14 = lean_ctor_get(x_13, 2); +lean_inc(x_14); +x_15 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_14, x_1); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_29; lean_object* x_30; -lean_dec(x_26); -x_29 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__4; -x_30 = l_panic___at_Lean_Meta_SynthInstance_tryResolveCore___spec__5(x_29, x_2, x_3, x_4, x_5, x_25); -return x_30; +lean_object* x_16; lean_object* x_17; +lean_dec(x_13); +lean_free_object(x_9); +x_16 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__4; +x_17 = l_panic___at_Lean_Meta_SynthInstance_tryResolveCore___spec__5(x_16, x_2, x_3, x_4, x_5, x_12); +return x_17; } else { -lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_31 = lean_ctor_get(x_28, 0); -lean_inc(x_31); -lean_dec(x_28); -x_32 = lean_ctor_get(x_26, 0); -lean_inc(x_32); +x_18 = lean_ctor_get(x_15, 0); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_ctor_get(x_13, 0); +lean_inc(x_19); +lean_dec(x_13); +x_20 = lean_nat_dec_eq(x_18, x_19); +lean_dec(x_19); +lean_dec(x_18); +x_21 = lean_box(x_20); +lean_ctor_set(x_9, 0, x_21); +return x_9; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_9, 0); +x_23 = lean_ctor_get(x_9, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_9); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_24, 2); +lean_inc(x_25); +x_26 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_25, x_1); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_24); +x_27 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__4; +x_28 = l_panic___at_Lean_Meta_SynthInstance_tryResolveCore___spec__5(x_27, x_2, x_3, x_4, x_5, x_23); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_29 = lean_ctor_get(x_26, 0); +lean_inc(x_29); lean_dec(x_26); -x_33 = lean_nat_dec_eq(x_31, x_32); -lean_dec(x_32); -lean_dec(x_31); -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_25); -return x_35; +x_30 = lean_ctor_get(x_24, 0); +lean_inc(x_30); +lean_dec(x_24); +x_31 = lean_nat_dec_eq(x_29, x_30); +lean_dec(x_30); +lean_dec(x_29); +x_32 = lean_box(x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_23); +return x_33; } } } @@ -19153,7 +18557,7 @@ return x_9; LEAN_EXPORT lean_object* l_Lean_Meta_SynthInstance_mkTableKey___at_Lean_Meta_SynthInstance_main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; x_7 = lean_st_ref_get(x_5, x_6); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); @@ -19190,345 +18594,72 @@ lean_dec(x_20); x_22 = lean_st_ref_take(x_3, x_21); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -x_24 = lean_ctor_get_uint8(x_19, sizeof(void*)*8); -if (x_24 == 0) -{ -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; uint8_t x_35; -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); lean_dec(x_22); -x_27 = lean_ctor_get(x_19, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_19, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_19, 3); -lean_inc(x_30); -x_31 = lean_ctor_get(x_19, 4); -lean_inc(x_31); -x_32 = lean_ctor_get(x_19, 5); -lean_inc(x_32); -x_33 = lean_ctor_get(x_19, 6); -lean_inc(x_33); -x_34 = lean_ctor_get(x_19, 7); -lean_inc(x_34); -lean_dec(x_19); -x_35 = !lean_is_exclusive(x_23); -if (x_35 == 0) +x_25 = !lean_is_exclusive(x_23); +if (x_25 == 0) { -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_23, 0); -lean_dec(x_36); -x_37 = !lean_is_exclusive(x_25); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_38 = lean_ctor_get(x_25, 7); -lean_dec(x_38); -x_39 = lean_ctor_get(x_25, 6); -lean_dec(x_39); -x_40 = lean_ctor_get(x_25, 5); -lean_dec(x_40); -x_41 = lean_ctor_get(x_25, 4); -lean_dec(x_41); -x_42 = lean_ctor_get(x_25, 3); -lean_dec(x_42); -x_43 = lean_ctor_get(x_25, 2); -lean_dec(x_43); -x_44 = lean_ctor_get(x_25, 1); -lean_dec(x_44); -x_45 = lean_ctor_get(x_25, 0); -lean_dec(x_45); -lean_ctor_set(x_25, 7, x_34); -lean_ctor_set(x_25, 6, x_33); -lean_ctor_set(x_25, 5, x_32); -lean_ctor_set(x_25, 4, x_31); -lean_ctor_set(x_25, 3, x_30); -lean_ctor_set(x_25, 2, x_29); -lean_ctor_set(x_25, 1, x_28); -lean_ctor_set(x_25, 0, x_27); -x_46 = lean_st_ref_set(x_3, x_23, x_26); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) -{ -lean_object* x_48; -x_48 = lean_ctor_get(x_46, 0); -lean_dec(x_48); -lean_ctor_set(x_46, 0, x_17); -return x_46; -} -else -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_46, 1); -lean_inc(x_49); -lean_dec(x_46); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_17); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -else -{ -uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_51 = lean_ctor_get_uint8(x_25, sizeof(void*)*8); -lean_dec(x_25); -x_52 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_52, 0, x_27); -lean_ctor_set(x_52, 1, x_28); -lean_ctor_set(x_52, 2, x_29); -lean_ctor_set(x_52, 3, x_30); -lean_ctor_set(x_52, 4, x_31); -lean_ctor_set(x_52, 5, x_32); -lean_ctor_set(x_52, 6, x_33); -lean_ctor_set(x_52, 7, x_34); -lean_ctor_set_uint8(x_52, sizeof(void*)*8, x_51); -lean_ctor_set(x_23, 0, x_52); -x_53 = lean_st_ref_set(x_3, x_23, x_26); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_55 = x_53; -} else { - lean_dec_ref(x_53); - x_55 = lean_box(0); -} -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_55; -} -lean_ctor_set(x_56, 0, x_17); -lean_ctor_set(x_56, 1, x_54); -return x_56; -} -} -else -{ -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_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_57 = lean_ctor_get(x_23, 1); -x_58 = lean_ctor_get(x_23, 2); -x_59 = lean_ctor_get(x_23, 3); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_23); -x_60 = lean_ctor_get_uint8(x_25, sizeof(void*)*8); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - lean_ctor_release(x_25, 2); - lean_ctor_release(x_25, 3); - lean_ctor_release(x_25, 4); - lean_ctor_release(x_25, 5); - lean_ctor_release(x_25, 6); - lean_ctor_release(x_25, 7); - x_61 = x_25; -} else { - lean_dec_ref(x_25); - x_61 = lean_box(0); -} -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(0, 8, 1); -} else { - x_62 = x_61; -} -lean_ctor_set(x_62, 0, x_27); -lean_ctor_set(x_62, 1, x_28); -lean_ctor_set(x_62, 2, x_29); -lean_ctor_set(x_62, 3, x_30); -lean_ctor_set(x_62, 4, x_31); -lean_ctor_set(x_62, 5, x_32); -lean_ctor_set(x_62, 6, x_33); -lean_ctor_set(x_62, 7, x_34); -lean_ctor_set_uint8(x_62, sizeof(void*)*8, x_60); -x_63 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_57); -lean_ctor_set(x_63, 2, x_58); -lean_ctor_set(x_63, 3, x_59); -x_64 = lean_st_ref_set(x_3, x_63, x_26); -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_66 = x_64; -} else { - lean_dec_ref(x_64); - x_66 = lean_box(0); -} -if (lean_is_scalar(x_66)) { - x_67 = lean_alloc_ctor(0, 2, 0); -} else { - x_67 = x_66; -} -lean_ctor_set(x_67, 0, x_17); -lean_ctor_set(x_67, 1, x_65); -return x_67; -} -} -else -{ -lean_object* x_68; uint8_t x_69; -x_68 = lean_ctor_get(x_22, 1); -lean_inc(x_68); -lean_dec(x_22); -x_69 = !lean_is_exclusive(x_19); -if (x_69 == 0) -{ -uint8_t x_70; -x_70 = !lean_is_exclusive(x_23); -if (x_70 == 0) -{ -lean_object* x_71; uint8_t x_72; lean_object* x_73; uint8_t x_74; -x_71 = lean_ctor_get(x_23, 0); -lean_dec(x_71); -x_72 = 1; -lean_ctor_set_uint8(x_19, sizeof(void*)*8, x_72); +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_23, 0); +lean_dec(x_26); lean_ctor_set(x_23, 0, x_19); -x_73 = lean_st_ref_set(x_3, x_23, x_68); -x_74 = !lean_is_exclusive(x_73); -if (x_74 == 0) +x_27 = lean_st_ref_set(x_3, x_23, x_24); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) { -lean_object* x_75; -x_75 = lean_ctor_get(x_73, 0); -lean_dec(x_75); -lean_ctor_set(x_73, 0, x_17); -return x_73; +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +lean_ctor_set(x_27, 0, x_17); +return x_27; } else { -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_73, 1); -lean_inc(x_76); -lean_dec(x_73); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_17); -lean_ctor_set(x_77, 1, x_76); -return x_77; +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_17); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_78 = lean_ctor_get(x_23, 1); -x_79 = lean_ctor_get(x_23, 2); -x_80 = lean_ctor_get(x_23, 3); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_32 = lean_ctor_get(x_23, 1); +x_33 = lean_ctor_get(x_23, 2); +x_34 = lean_ctor_get(x_23, 3); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); lean_dec(x_23); -x_81 = 1; -lean_ctor_set_uint8(x_19, sizeof(void*)*8, x_81); -x_82 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_82, 0, x_19); -lean_ctor_set(x_82, 1, x_78); -lean_ctor_set(x_82, 2, x_79); -lean_ctor_set(x_82, 3, x_80); -x_83 = lean_st_ref_set(x_3, x_82, x_68); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - lean_ctor_release(x_83, 1); - x_85 = x_83; +x_35 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_35, 0, x_19); +lean_ctor_set(x_35, 1, x_32); +lean_ctor_set(x_35, 2, x_33); +lean_ctor_set(x_35, 3, x_34); +x_36 = lean_st_ref_set(x_3, x_35, x_24); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_38 = x_36; } else { - lean_dec_ref(x_83); - x_85 = lean_box(0); + lean_dec_ref(x_36); + x_38 = lean_box(0); } -if (lean_is_scalar(x_85)) { - x_86 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(0, 2, 0); } else { - x_86 = x_85; -} -lean_ctor_set(x_86, 0, x_17); -lean_ctor_set(x_86, 1, x_84); -return x_86; -} -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; 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_object* x_104; lean_object* x_105; -x_87 = lean_ctor_get(x_19, 0); -x_88 = lean_ctor_get(x_19, 1); -x_89 = lean_ctor_get(x_19, 2); -x_90 = lean_ctor_get(x_19, 3); -x_91 = lean_ctor_get(x_19, 4); -x_92 = lean_ctor_get(x_19, 5); -x_93 = lean_ctor_get(x_19, 6); -x_94 = lean_ctor_get(x_19, 7); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_89); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_19); -x_95 = lean_ctor_get(x_23, 1); -lean_inc(x_95); -x_96 = lean_ctor_get(x_23, 2); -lean_inc(x_96); -x_97 = lean_ctor_get(x_23, 3); -lean_inc(x_97); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - lean_ctor_release(x_23, 2); - lean_ctor_release(x_23, 3); - x_98 = x_23; -} else { - lean_dec_ref(x_23); - x_98 = lean_box(0); -} -x_99 = 1; -x_100 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_100, 0, x_87); -lean_ctor_set(x_100, 1, x_88); -lean_ctor_set(x_100, 2, x_89); -lean_ctor_set(x_100, 3, x_90); -lean_ctor_set(x_100, 4, x_91); -lean_ctor_set(x_100, 5, x_92); -lean_ctor_set(x_100, 6, x_93); -lean_ctor_set(x_100, 7, x_94); -lean_ctor_set_uint8(x_100, sizeof(void*)*8, x_99); -if (lean_is_scalar(x_98)) { - x_101 = lean_alloc_ctor(0, 4, 0); -} else { - x_101 = x_98; -} -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_95); -lean_ctor_set(x_101, 2, x_96); -lean_ctor_set(x_101, 3, x_97); -x_102 = lean_st_ref_set(x_3, x_101, x_68); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_104 = x_102; -} else { - lean_dec_ref(x_102); - x_104 = lean_box(0); -} -if (lean_is_scalar(x_104)) { - x_105 = lean_alloc_ctor(0, 2, 0); -} else { - x_105 = x_104; -} -lean_ctor_set(x_105, 0, x_17); -lean_ctor_set(x_105, 1, x_103); -return x_105; + x_39 = x_38; } +lean_ctor_set(x_39, 0, x_17); +lean_ctor_set(x_39, 1, x_37); +return x_39; } } } @@ -23196,78 +22327,73 @@ return x_25; } 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_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; x_26 = lean_ctor_get(x_14, 0); x_27 = lean_ctor_get(x_14, 1); x_28 = lean_ctor_get(x_14, 3); x_29 = lean_ctor_get(x_14, 4); x_30 = lean_ctor_get(x_14, 5); -x_31 = lean_ctor_get(x_14, 6); -x_32 = lean_ctor_get(x_14, 2); -lean_inc(x_31); +x_31 = lean_ctor_get(x_14, 2); lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); -lean_inc(x_32); +lean_inc(x_31); lean_inc(x_27); lean_inc(x_26); lean_dec(x_14); lean_inc(x_3); -x_33 = l_Std_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_32, x_1, x_3); -x_34 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_34, 0, x_26); -lean_ctor_set(x_34, 1, x_27); -lean_ctor_set(x_34, 2, x_33); -lean_ctor_set(x_34, 3, x_28); -lean_ctor_set(x_34, 4, x_29); -lean_ctor_set(x_34, 5, x_30); -lean_ctor_set(x_34, 6, x_31); -lean_ctor_set(x_13, 1, x_34); -x_35 = lean_st_ref_set(x_5, x_13, x_15); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_37 = x_35; +x_32 = l_Std_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_31, x_1, x_3); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_26); +lean_ctor_set(x_33, 1, x_27); +lean_ctor_set(x_33, 2, x_32); +lean_ctor_set(x_33, 3, x_28); +lean_ctor_set(x_33, 4, x_29); +lean_ctor_set(x_33, 5, x_30); +lean_ctor_set(x_13, 1, x_33); +x_34 = lean_st_ref_set(x_5, x_13, x_15); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; } else { - lean_dec_ref(x_35); - x_37 = lean_box(0); + lean_dec_ref(x_34); + x_36 = lean_box(0); } -if (lean_is_scalar(x_37)) { - x_38 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(0, 2, 0); } else { - x_38 = x_37; + x_37 = x_36; } -lean_ctor_set(x_38, 0, x_3); -lean_ctor_set(x_38, 1, x_36); -return x_38; +lean_ctor_set(x_37, 0, x_3); +lean_ctor_set(x_37, 1, x_35); +return x_37; } } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 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; -x_39 = lean_ctor_get(x_13, 0); -x_40 = lean_ctor_get(x_13, 2); -x_41 = lean_ctor_get(x_13, 3); -lean_inc(x_41); +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; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_38 = lean_ctor_get(x_13, 0); +x_39 = lean_ctor_get(x_13, 2); +x_40 = lean_ctor_get(x_13, 3); lean_inc(x_40); lean_inc(x_39); +lean_inc(x_38); lean_dec(x_13); -x_42 = lean_ctor_get(x_14, 0); +x_41 = lean_ctor_get(x_14, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_14, 1); lean_inc(x_42); -x_43 = lean_ctor_get(x_14, 1); +x_43 = lean_ctor_get(x_14, 3); lean_inc(x_43); -x_44 = lean_ctor_get(x_14, 3); +x_44 = lean_ctor_get(x_14, 4); lean_inc(x_44); -x_45 = lean_ctor_get(x_14, 4); +x_45 = lean_ctor_get(x_14, 5); lean_inc(x_45); -x_46 = lean_ctor_get(x_14, 5); +x_46 = lean_ctor_get(x_14, 2); lean_inc(x_46); -x_47 = lean_ctor_get(x_14, 6); -lean_inc(x_47); -x_48 = lean_ctor_get(x_14, 2); -lean_inc(x_48); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); @@ -23275,72 +22401,70 @@ if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 3); lean_ctor_release(x_14, 4); lean_ctor_release(x_14, 5); - lean_ctor_release(x_14, 6); - x_49 = x_14; + x_47 = x_14; } else { lean_dec_ref(x_14); - x_49 = lean_box(0); + x_47 = lean_box(0); } lean_inc(x_3); -x_50 = l_Std_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_48, x_1, x_3); -if (lean_is_scalar(x_49)) { - x_51 = lean_alloc_ctor(0, 7, 0); +x_48 = l_Std_PersistentHashMap_insert___at_Lean_Meta_synthInstance_x3f___spec__4(x_46, x_1, x_3); +if (lean_is_scalar(x_47)) { + x_49 = lean_alloc_ctor(0, 6, 0); } else { - x_51 = x_49; + x_49 = x_47; } -lean_ctor_set(x_51, 0, x_42); -lean_ctor_set(x_51, 1, x_43); -lean_ctor_set(x_51, 2, x_50); -lean_ctor_set(x_51, 3, x_44); -lean_ctor_set(x_51, 4, x_45); -lean_ctor_set(x_51, 5, x_46); -lean_ctor_set(x_51, 6, x_47); -x_52 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_52, 0, x_39); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_52, 2, x_40); -lean_ctor_set(x_52, 3, x_41); -x_53 = lean_st_ref_set(x_5, x_52, x_15); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_55 = x_53; +lean_ctor_set(x_49, 0, x_41); +lean_ctor_set(x_49, 1, x_42); +lean_ctor_set(x_49, 2, x_48); +lean_ctor_set(x_49, 3, x_43); +lean_ctor_set(x_49, 4, x_44); +lean_ctor_set(x_49, 5, x_45); +x_50 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_50, 0, x_38); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_39); +lean_ctor_set(x_50, 3, x_40); +x_51 = lean_st_ref_set(x_5, x_50, x_15); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_53 = x_51; } else { - lean_dec_ref(x_53); - x_55 = lean_box(0); + lean_dec_ref(x_51); + x_53 = lean_box(0); } -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(0, 2, 0); } else { - x_56 = x_55; + x_54 = x_53; } +lean_ctor_set(x_54, 0, x_3); +lean_ctor_set(x_54, 1, x_52); +return x_54; +} +} +else +{ +lean_object* x_55; +lean_dec(x_1); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_3); +lean_ctor_set(x_55, 1, x_8); +return x_55; +} +} +else +{ +lean_object* x_56; +lean_dec(x_1); +x_56 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_56, 0, x_3); -lean_ctor_set(x_56, 1, x_54); +lean_ctor_set(x_56, 1, x_8); return x_56; } } -else -{ -lean_object* x_57; -lean_dec(x_1); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_3); -lean_ctor_set(x_57, 1, x_8); -return x_57; -} -} -else -{ -lean_object* x_58; -lean_dec(x_1); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_3); -lean_ctor_set(x_58, 1, x_8); -return x_58; -} -} } static lean_object* _init_l_Lean_Meta_synthInstance_x3f___lambda__4___closed__1() { _start: @@ -26018,52 +25142,48 @@ return x_20; LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_7 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_6); +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_st_ref_get(x_5, x_6); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); -x_9 = lean_st_ref_get(x_5, x_8); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_st_ref_get(x_3, x_10); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +x_9 = lean_st_ref_get(x_3, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_ctor_get(x_14, 6); -lean_inc(x_15); -lean_dec(x_14); -x_16 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_15, x_1); -x_17 = lean_box(x_16); -lean_ctor_set(x_11, 0, x_17); -return x_11; +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 6); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_13, x_1); +x_15 = lean_box(x_14); +lean_ctor_set(x_9, 0, x_15); +return x_9; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; -x_18 = lean_ctor_get(x_11, 0); -x_19 = lean_ctor_get(x_11, 1); -lean_inc(x_19); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_9, 0); +x_17 = lean_ctor_get(x_9, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_9); +x_18 = lean_ctor_get(x_16, 0); lean_inc(x_18); -lean_dec(x_11); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); +lean_dec(x_16); +x_19 = lean_ctor_get(x_18, 6); +lean_inc(x_19); lean_dec(x_18); -x_21 = lean_ctor_get(x_20, 6); -lean_inc(x_21); -lean_dec(x_20); -x_22 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_21, x_1); -x_23 = lean_box(x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_19); -return x_24; +x_20 = l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(x_19, x_1); +x_21 = lean_box(x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_17); +return x_22; } } } @@ -27445,7 +26565,7 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_8431_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_8430_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -27824,10 +26944,10 @@ l_Lean_Meta_SynthInstance_MkTableKey_instMonadMCtxM___closed__3 = _init_l_Lean_M lean_mark_persistent(l_Lean_Meta_SynthInstance_MkTableKey_instMonadMCtxM___closed__3); l_Lean_Meta_SynthInstance_MkTableKey_instMonadMCtxM = _init_l_Lean_Meta_SynthInstance_MkTableKey_instMonadMCtxM(); lean_mark_persistent(l_Lean_Meta_SynthInstance_MkTableKey_instMonadMCtxM); -l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3___closed__1 = _init_l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3___closed__1(); -lean_mark_persistent(l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3___closed__1); -l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3___closed__2 = _init_l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3___closed__2(); -lean_mark_persistent(l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__3___closed__2); +l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2___closed__1 = _init_l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2___closed__1); +l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2___closed__2 = _init_l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2___closed__2(); +lean_mark_persistent(l_panic___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__2___closed__2); l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__1 = _init_l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__1(); lean_mark_persistent(l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__1); l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__2 = _init_l_Lean_isLevelMVarAssignable___at_Lean_Meta_SynthInstance_MkTableKey_normLevel___spec__1___closed__2(); @@ -28102,7 +27222,7 @@ l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___lambda__2___c lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___lambda__2___closed__5); l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___lambda__2___closed__6 = _init_l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___lambda__2___closed__6(); lean_mark_persistent(l___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___lambda__2___closed__6); -res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_8431_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_SynthInstance___hyg_8430_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c b/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c index ee6e206f78..6ed0687cae 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/AC/Main.c @@ -39,7 +39,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_AC_buildNormProof(lean_object*, lean_object uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Meta_AC_getInstance___closed__6; -LEAN_EXPORT lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_2198_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_2197_(lean_object*); LEAN_EXPORT lean_object* l_Std_HashSet_toArray___at_Lean_Meta_AC_toACExpr___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_AC_toACExpr_toPreExpr___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Meta_AC_ac__refl__tactic___closed__10; @@ -100,7 +100,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_AC_toACExpr_toPreExpr___lambda__1___boxed(l uint8_t lean_nat_dec_eq(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Simp_neutralConfig; static lean_object* l_Lean_Meta_AC_buildNormProof_convert___closed__3; -lean_object* l_Lean_Meta_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Meta_AC_ac__refl__tactic___closed__11; static lean_object* l_Lean_Meta_AC_buildNormProof_mkContext___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_AC_buildNormProof_convert(lean_object*); @@ -135,6 +134,7 @@ static lean_object* l_Lean_Meta_AC_buildNormProof___closed__8; static lean_object* l___regBuiltin_Lean_Meta_AC_ac__refl__tactic___closed__7; lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Data_AC_Expr_toList(lean_object*); +lean_object* l_Lean_MVarId_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Data_AC_removeNeutrals___at_Lean_Meta_AC_buildNormProof___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -5771,7 +5771,7 @@ x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); lean_dec(x_25); x_28 = l_Lean_Meta_AC_rewriteUnnormalized___closed__4; -x_29 = l_Lean_Meta_applyRefl(x_26, x_28, x_2, x_3, x_4, x_5, x_27); +x_29 = l_Lean_MVarId_applyRefl(x_26, x_28, x_2, x_3, x_4, x_5, x_27); return x_29; } else @@ -6176,7 +6176,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_2198_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_2197_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -6426,7 +6426,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Meta_AC_ac__refl__tactic_declRange___cl res = l___regBuiltin_Lean_Meta_AC_ac__refl__tactic_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_2198_(lean_io_mk_world()); +res = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_2197_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Acyclic.c b/stage0/stdlib/Lean/Meta/Tactic/Acyclic.c index 1f3032879e..028377b962 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Acyclic.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Acyclic.c @@ -13,90 +13,90 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l_Lean_MVarId_acyclic_go___closed__18; +static lean_object* l_Lean_MVarId_acyclic_go___closed__28; +static lean_object* l_Lean_MVarId_acyclic_go___closed__14; lean_object* l_Lean_Meta_simpTarget(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__1; -static lean_object* l_Lean_Meta_acyclic___lambda__2___closed__1; +static lean_object* l_Lean_MVarId_acyclic_go___closed__3; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l_Lean_Meta_acyclic___lambda__2___closed__2; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Lean_MVarId_acyclic_go___closed__15; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__21; -static lean_object* l_Lean_Meta_acyclic_go___closed__19; +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLT(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__7; lean_object* l_Lean_Meta_SimpExtension_getTheorems(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_acyclic_go___closed__20; lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__29; +static lean_object* l_Lean_MVarId_acyclic_go___closed__10; +static lean_object* l_Lean_MVarId_acyclic_go___closed__32; +static lean_object* l_Lean_MVarId_acyclic_go___closed__30; +static lean_object* l_Lean_MVarId_acyclic_go___closed__5; +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_acyclic_go___closed__7; lean_object* lean_st_ref_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appFn_x21(lean_object*); +static lean_object* l_Lean_MVarId_acyclic_go___closed__16; +static lean_object* l_Lean_MVarId_acyclic___lambda__2___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__5; +static lean_object* l_Lean_MVarId_acyclic___lambda__2___closed__2; lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__24; lean_object* l_Lean_Expr_appArg_x21(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__22; -static lean_object* l_Lean_Meta_acyclic_go___closed__33; -static lean_object* l_Lean_Meta_acyclic_go___closed__18; -static lean_object* l_Lean_Meta_acyclic_go___closed__13; -static lean_object* l_Lean_Meta_acyclic_go___closed__23; -static lean_object* l_Lean_Meta_acyclic_go___closed__14; -static lean_object* l_Lean_Meta_acyclic_go___closed__28; -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Acyclic___hyg_862_(lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__15; -static lean_object* l_Lean_Meta_acyclic_go___closed__30; -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_acyclic_go___closed__24; +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_acyclic_go___closed__13; +static lean_object* l_Lean_MVarId_acyclic_go___closed__21; +static lean_object* l_Lean_MVarId_acyclic_go___closed__33; +static lean_object* l_Lean_MVarId_acyclic_go___closed__22; +static lean_object* l_Lean_MVarId_acyclic_go___closed__23; lean_object* l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqSymm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_simpExtension; -static lean_object* l_Lean_Meta_acyclic___lambda__1___closed__2; lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__12; +static lean_object* l_Lean_MVarId_acyclic_go___closed__29; lean_object* l_Std_mkHashMapImp___rarg(lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__16; -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_acyclic_go___closed__25; +LEAN_EXPORT lean_object* l_Lean_MVarId_initFn____x40_Lean_Meta_Tactic_Acyclic___hyg_863_(lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__20; -static lean_object* l_Lean_Meta_acyclic_go___closed__10; -static lean_object* l_Lean_Meta_acyclic_go___closed__32; +static lean_object* l_Lean_MVarId_acyclic_go___closed__6; +static lean_object* l_Lean_MVarId_acyclic_go___closed__19; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_acyclic_go___closed__11; +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__3; -static lean_object* l_Lean_Meta_acyclic___lambda__1___closed__1; +static lean_object* l_Lean_MVarId_acyclic_go___closed__2; +static lean_object* l_Lean_MVarId_acyclic_go___closed__8; +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_acyclic_go___closed__17; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__4; -static lean_object* l_Lean_Meta_acyclic_go___closed__27; -static lean_object* l_Lean_Meta_acyclic_go___closed__26; -static lean_object* l_Lean_Meta_acyclic_go___closed__11; -static lean_object* l_Lean_Meta_acyclic_go___closed__9; +static lean_object* l_Lean_MVarId_acyclic_go___closed__4; +static lean_object* l_Lean_MVarId_acyclic_go___closed__27; +static lean_object* l_Lean_MVarId_acyclic_go___closed__1; +static lean_object* l_Lean_MVarId_acyclic_go___closed__9; uint8_t l_Lean_Expr_isConstructorApp(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__31; lean_object* l_Lean_Meta_mkCongrArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Acyclic_0__Lean_Meta_isTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFalseElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_acyclic_go___closed__31; lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__6; -static lean_object* l_Lean_Meta_acyclic_go___closed__8; +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_acyclic___lambda__1___closed__1; uint8_t l_Lean_Expr_occurs(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_acyclic_go___closed__25; -static lean_object* l_Lean_Meta_acyclic_go___closed__17; +static lean_object* l_Lean_MVarId_acyclic_go___closed__12; +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Acyclic_0__Lean_MVarId_isTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Simp_defaultMaxSteps; -static lean_object* l_Lean_Meta_acyclic_go___closed__2; +static lean_object* l_Lean_MVarId_acyclic_go___closed__26; lean_object* l_Lean_Exception_toMessageData(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Acyclic_0__Lean_Meta_isTarget(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +static lean_object* l_Lean_MVarId_acyclic___lambda__1___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Acyclic_0__Lean_MVarId_isTarget(lean_object* x_1, 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; @@ -213,7 +213,7 @@ return x_34; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic_go___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_EXPORT lean_object* l_Lean_MVarId_acyclic_go___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; @@ -225,7 +225,7 @@ lean_ctor_set(x_9, 1, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; lean_object* x_9; @@ -237,7 +237,7 @@ lean_ctor_set(x_9, 1, x_6); return x_9; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__1() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__1() { _start: { lean_object* x_1; @@ -245,17 +245,17 @@ x_1 = lean_mk_string_from_bytes("Meta", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__2() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___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_acyclic_go___closed__1; +x_2 = l_Lean_MVarId_acyclic_go___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__3() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__3() { _start: { lean_object* x_1; @@ -263,17 +263,17 @@ x_1 = lean_mk_string_from_bytes("Tactic", 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__4() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_acyclic_go___closed__2; -x_2 = l_Lean_Meta_acyclic_go___closed__3; +x_1 = l_Lean_MVarId_acyclic_go___closed__2; +x_2 = l_Lean_MVarId_acyclic_go___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__5() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__5() { _start: { lean_object* x_1; @@ -281,25 +281,25 @@ x_1 = lean_mk_string_from_bytes("acyclic", 7); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__6() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_acyclic_go___closed__4; -x_2 = l_Lean_Meta_acyclic_go___closed__5; +x_1 = l_Lean_MVarId_acyclic_go___closed__4; +x_2 = l_Lean_MVarId_acyclic_go___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__7() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__7() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_acyclic_go___lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_MVarId_acyclic_go___lambda__1___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__8() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__8() { _start: { lean_object* x_1; @@ -307,16 +307,16 @@ x_1 = lean_mk_string_from_bytes("failed with\n", 12); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__9() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_acyclic_go___closed__8; +x_1 = l_Lean_MVarId_acyclic_go___closed__8; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__10() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__10() { _start: { lean_object* x_1; @@ -324,16 +324,16 @@ x_1 = lean_mk_string_from_bytes("", 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__11() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_acyclic_go___closed__10; +x_1 = l_Lean_MVarId_acyclic_go___closed__10; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__12() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__12() { _start: { lean_object* x_1; @@ -341,17 +341,17 @@ x_1 = lean_mk_string_from_bytes("SizeOf", 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__13() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_acyclic_go___closed__12; +x_2 = l_Lean_MVarId_acyclic_go___closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__14() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__14() { _start: { lean_object* x_1; @@ -359,17 +359,17 @@ x_1 = lean_mk_string_from_bytes("sizeOf", 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__15() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_acyclic_go___closed__13; -x_2 = l_Lean_Meta_acyclic_go___closed__14; +x_1 = l_Lean_MVarId_acyclic_go___closed__13; +x_2 = l_Lean_MVarId_acyclic_go___closed__14; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__16() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__16() { _start: { lean_object* x_1; lean_object* x_2; @@ -378,7 +378,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__17() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__17() { _start: { lean_object* x_1; @@ -386,7 +386,7 @@ x_1 = l_Lean_Meta_simpExtension; return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__18() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__18() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -414,7 +414,7 @@ lean_ctor_set_uint8(x_6, sizeof(void*)*2 + 12, x_4); return x_6; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__19() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__19() { _start: { lean_object* x_1; lean_object* x_2; @@ -423,7 +423,7 @@ x_2 = l_Std_mkHashMapImp___rarg(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__20() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__20() { _start: { lean_object* x_1; @@ -431,21 +431,21 @@ x_1 = l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__21() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_acyclic_go___closed__20; +x_1 = l_Lean_MVarId_acyclic_go___closed__20; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__22() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_acyclic_go___closed__21; +x_1 = l_Lean_MVarId_acyclic_go___closed__21; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -453,13 +453,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__23() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__23() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; -x_2 = l_Lean_Meta_acyclic_go___closed__19; -x_3 = l_Lean_Meta_acyclic_go___closed__22; +x_2 = l_Lean_MVarId_acyclic_go___closed__19; +x_3 = l_Lean_MVarId_acyclic_go___closed__22; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -467,7 +467,7 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_1); return x_4; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__24() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__24() { _start: { lean_object* x_1; @@ -475,17 +475,17 @@ x_1 = lean_mk_string_from_bytes("Nat", 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__25() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_acyclic_go___closed__24; +x_2 = l_Lean_MVarId_acyclic_go___closed__24; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__26() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__26() { _start: { lean_object* x_1; @@ -493,17 +493,17 @@ x_1 = lean_mk_string_from_bytes("lt_of_lt_of_eq", 14); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__27() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_acyclic_go___closed__25; -x_2 = l_Lean_Meta_acyclic_go___closed__26; +x_1 = l_Lean_MVarId_acyclic_go___closed__25; +x_2 = l_Lean_MVarId_acyclic_go___closed__26; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__28() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -512,7 +512,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__29() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__29() { _start: { lean_object* x_1; @@ -520,25 +520,25 @@ x_1 = lean_mk_string_from_bytes("lt_irrefl", 9); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__30() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_acyclic_go___closed__25; -x_2 = l_Lean_Meta_acyclic_go___closed__29; +x_1 = l_Lean_MVarId_acyclic_go___closed__25; +x_2 = l_Lean_MVarId_acyclic_go___closed__29; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__31() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__31() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_acyclic_go___lambda__2___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_MVarId_acyclic_go___lambda__2___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__32() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__32() { _start: { lean_object* x_1; @@ -546,22 +546,22 @@ x_1 = lean_mk_string_from_bytes("succeeded", 9); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic_go___closed__33() { +static lean_object* _init_l_Lean_MVarId_acyclic_go___closed__33() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_acyclic_go___closed__32; +x_1 = l_Lean_MVarId_acyclic_go___closed__32; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_20; lean_object* x_21; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_50 = l_Lean_Meta_acyclic_go___closed__16; +x_50 = l_Lean_MVarId_acyclic_go___closed__16; x_51 = lean_array_push(x_50, x_3); -x_52 = l_Lean_Meta_acyclic_go___closed__15; +x_52 = l_Lean_MVarId_acyclic_go___closed__15; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -611,7 +611,7 @@ lean_inc(x_65); x_66 = lean_ctor_get(x_64, 1); lean_inc(x_66); lean_dec(x_64); -x_67 = l_Lean_Meta_acyclic_go___closed__17; +x_67 = l_Lean_MVarId_acyclic_go___closed__17; x_68 = l_Lean_Meta_SimpExtension_getTheorems(x_67, x_7, x_8, x_66); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); @@ -622,8 +622,8 @@ lean_inc(x_65); x_71 = l_Lean_Expr_mvarId_x21(x_65); x_72 = lean_array_push(x_50, x_69); x_73 = lean_box(0); -x_74 = l_Lean_Meta_acyclic_go___closed__18; -x_75 = l_Lean_Meta_acyclic_go___closed__23; +x_74 = l_Lean_MVarId_acyclic_go___closed__18; +x_75 = l_Lean_MVarId_acyclic_go___closed__23; x_76 = lean_unsigned_to_nat(0u); x_77 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_77, 0, x_74); @@ -675,10 +675,10 @@ lean_inc(x_87); x_88 = lean_ctor_get(x_86, 1); lean_inc(x_88); lean_dec(x_86); -x_89 = l_Lean_Meta_acyclic_go___closed__28; +x_89 = l_Lean_MVarId_acyclic_go___closed__28; x_90 = lean_array_push(x_89, x_65); x_91 = lean_array_push(x_90, x_87); -x_92 = l_Lean_Meta_acyclic_go___closed__27; +x_92 = l_Lean_MVarId_acyclic_go___closed__27; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -693,7 +693,7 @@ x_95 = lean_ctor_get(x_93, 1); lean_inc(x_95); lean_dec(x_93); x_96 = lean_array_push(x_50, x_54); -x_97 = l_Lean_Meta_acyclic_go___closed__30; +x_97 = l_Lean_MVarId_acyclic_go___closed__30; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -735,7 +735,7 @@ x_108 = l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(x_1, x_106, x_5, x_109 = lean_ctor_get(x_108, 1); lean_inc(x_109); lean_dec(x_108); -x_110 = l_Lean_Meta_acyclic_go___closed__6; +x_110 = l_Lean_MVarId_acyclic_go___closed__6; x_111 = lean_st_ref_get(x_8, x_109); x_112 = lean_ctor_get(x_111, 0); lean_inc(x_112); @@ -750,7 +750,7 @@ lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; x_115 = lean_ctor_get(x_111, 1); lean_inc(x_115); lean_dec(x_111); -x_116 = l_Lean_Meta_acyclic_go___closed__31; +x_116 = l_Lean_MVarId_acyclic_go___closed__31; x_117 = lean_box(0); lean_inc(x_8); lean_inc(x_7); @@ -791,7 +791,7 @@ lean_inc(x_123); x_124 = lean_ctor_get(x_122, 1); lean_inc(x_124); lean_dec(x_122); -x_125 = l_Lean_Meta_acyclic_go___closed__31; +x_125 = l_Lean_MVarId_acyclic_go___closed__31; x_126 = lean_unbox(x_123); lean_dec(x_123); if (x_126 == 0) @@ -828,7 +828,7 @@ goto block_49; else { lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_131 = l_Lean_Meta_acyclic_go___closed__33; +x_131 = l_Lean_MVarId_acyclic_go___closed__33; x_132 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_110, x_131, x_5, x_6, x_7, x_8, x_124); x_133 = lean_ctor_get(x_132, 0); lean_inc(x_133); @@ -1110,7 +1110,7 @@ return x_18; block_49: { lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_22 = l_Lean_Meta_acyclic_go___closed__6; +x_22 = l_Lean_MVarId_acyclic_go___closed__6; x_38 = lean_st_ref_get(x_8, x_21); x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); @@ -1151,7 +1151,7 @@ goto block_37; block_37: { lean_object* x_25; -x_25 = l_Lean_Meta_acyclic_go___closed__7; +x_25 = l_Lean_MVarId_acyclic_go___closed__7; if (x_23 == 0) { lean_object* x_26; lean_object* x_27; @@ -1165,11 +1165,11 @@ 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; x_28 = l_Lean_Exception_toMessageData(x_20); -x_29 = l_Lean_Meta_acyclic_go___closed__9; +x_29 = l_Lean_MVarId_acyclic_go___closed__9; x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); -x_31 = l_Lean_Meta_acyclic_go___closed__11; +x_31 = l_Lean_MVarId_acyclic_go___closed__11; x_32 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -1187,11 +1187,11 @@ goto block_19; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic_go___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_EXPORT lean_object* l_Lean_MVarId_acyclic_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Meta_acyclic_go___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_MVarId_acyclic_go___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1200,11 +1200,11 @@ lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic_go___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic_go___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Meta_acyclic_go___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_MVarId_acyclic_go___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1213,7 +1213,7 @@ lean_dec(x_1); return x_7; } } -static lean_object* _init_l_Lean_Meta_acyclic___lambda__1___closed__1() { +static lean_object* _init_l_Lean_MVarId_acyclic___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -1221,21 +1221,21 @@ x_1 = lean_mk_string_from_bytes("Eq", 2); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic___lambda__1___closed__2() { +static lean_object* _init_l_Lean_MVarId_acyclic___lambda__1___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_acyclic___lambda__1___closed__1; +x_2 = l_Lean_MVarId_acyclic___lambda__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = l_Lean_Meta_acyclic___lambda__1___closed__2; +x_10 = l_Lean_MVarId_acyclic___lambda__1___closed__2; x_11 = lean_unsigned_to_nat(3u); x_12 = l_Lean_Expr_isAppOfArity(x_1, x_10, x_11); if (x_12 == 0) @@ -1267,7 +1267,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_18); lean_inc(x_17); -x_19 = l___private_Lean_Meta_Tactic_Acyclic_0__Lean_Meta_isTarget(x_17, x_18, x_5, x_6, x_7, x_8, x_9); +x_19 = l___private_Lean_Meta_Tactic_Acyclic_0__Lean_MVarId_isTarget(x_17, x_18, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; uint8_t x_21; @@ -1287,7 +1287,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_17); lean_inc(x_18); -x_23 = l___private_Lean_Meta_Tactic_Acyclic_0__Lean_Meta_isTarget(x_18, x_17, x_5, x_6, x_7, x_8, x_22); +x_23 = l___private_Lean_Meta_Tactic_Acyclic_0__Lean_MVarId_isTarget(x_18, x_17, x_5, x_6, x_7, x_8, x_22); if (lean_obj_tag(x_23) == 0) { lean_object* x_24; uint8_t x_25; @@ -1350,7 +1350,7 @@ lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); lean_dec(x_35); -x_38 = l_Lean_Meta_acyclic_go(x_3, x_36, x_18, x_17, x_5, x_6, x_7, x_8, x_37); +x_38 = l_Lean_MVarId_acyclic_go(x_3, x_36, x_18, x_17, x_5, x_6, x_7, x_8, x_37); return x_38; } else @@ -1421,7 +1421,7 @@ lean_object* x_47; lean_object* x_48; x_47 = lean_ctor_get(x_19, 1); lean_inc(x_47); lean_dec(x_19); -x_48 = l_Lean_Meta_acyclic_go(x_3, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_47); +x_48 = l_Lean_MVarId_acyclic_go(x_3, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_47); return x_48; } } @@ -1458,7 +1458,7 @@ return x_52; } } } -static lean_object* _init_l_Lean_Meta_acyclic___lambda__2___closed__1() { +static lean_object* _init_l_Lean_MVarId_acyclic___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -1466,16 +1466,16 @@ x_1 = lean_mk_string_from_bytes("type: ", 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_acyclic___lambda__2___closed__2() { +static lean_object* _init_l_Lean_MVarId_acyclic___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_acyclic___lambda__2___closed__1; +x_1 = l_Lean_MVarId_acyclic___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -1506,7 +1506,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_Meta_acyclic_go___closed__6; +x_14 = l_Lean_MVarId_acyclic_go___closed__6; x_29 = lean_st_ref_get(x_6, x_13); x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); @@ -1550,7 +1550,7 @@ if (x_15 == 0) { lean_object* x_17; lean_object* x_18; x_17 = lean_box(0); -x_18 = l_Lean_Meta_acyclic___lambda__1(x_12, x_1, x_2, x_17, x_3, x_4, x_5, x_6, x_16); +x_18 = l_Lean_MVarId_acyclic___lambda__1(x_12, x_1, x_2, x_17, x_3, x_4, x_5, x_6, x_16); lean_dec(x_12); return x_18; } @@ -1560,11 +1560,11 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean lean_inc(x_12); x_19 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_19, 0, x_12); -x_20 = l_Lean_Meta_acyclic___lambda__2___closed__2; +x_20 = l_Lean_MVarId_acyclic___lambda__2___closed__2; x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_20); lean_ctor_set(x_21, 1, x_19); -x_22 = l_Lean_Meta_acyclic_go___closed__11; +x_22 = l_Lean_MVarId_acyclic_go___closed__11; x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); @@ -1574,7 +1574,7 @@ lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = l_Lean_Meta_acyclic___lambda__1(x_12, x_1, x_2, x_25, x_3, x_4, x_5, x_6, x_26); +x_27 = l_Lean_MVarId_acyclic___lambda__1(x_12, x_1, x_2, x_25, x_3, x_4, x_5, x_6, x_26); lean_dec(x_25); lean_dec(x_12); return x_27; @@ -1640,33 +1640,33 @@ return x_47; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic(lean_object* x_1, 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_EXPORT lean_object* l_Lean_MVarId_acyclic(lean_object* x_1, 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_inc(x_1); -x_8 = lean_alloc_closure((void*)(l_Lean_Meta_acyclic___lambda__2), 7, 2); +x_8 = lean_alloc_closure((void*)(l_Lean_MVarId_acyclic___lambda__2), 7, 2); lean_closure_set(x_8, 0, x_2); lean_closure_set(x_8, 1, x_1); x_9 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_1, x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_acyclic___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_MVarId_acyclic___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Meta_acyclic___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_MVarId_acyclic___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_4); lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Acyclic___hyg_862_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_MVarId_initFn____x40_Lean_Meta_Tactic_Acyclic___hyg_863_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_acyclic_go___closed__6; +x_2 = l_Lean_MVarId_acyclic_go___closed__6; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -1688,81 +1688,81 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Tactic_Simp_Main(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Meta_acyclic_go___closed__1 = _init_l_Lean_Meta_acyclic_go___closed__1(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__1); -l_Lean_Meta_acyclic_go___closed__2 = _init_l_Lean_Meta_acyclic_go___closed__2(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__2); -l_Lean_Meta_acyclic_go___closed__3 = _init_l_Lean_Meta_acyclic_go___closed__3(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__3); -l_Lean_Meta_acyclic_go___closed__4 = _init_l_Lean_Meta_acyclic_go___closed__4(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__4); -l_Lean_Meta_acyclic_go___closed__5 = _init_l_Lean_Meta_acyclic_go___closed__5(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__5); -l_Lean_Meta_acyclic_go___closed__6 = _init_l_Lean_Meta_acyclic_go___closed__6(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__6); -l_Lean_Meta_acyclic_go___closed__7 = _init_l_Lean_Meta_acyclic_go___closed__7(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__7); -l_Lean_Meta_acyclic_go___closed__8 = _init_l_Lean_Meta_acyclic_go___closed__8(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__8); -l_Lean_Meta_acyclic_go___closed__9 = _init_l_Lean_Meta_acyclic_go___closed__9(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__9); -l_Lean_Meta_acyclic_go___closed__10 = _init_l_Lean_Meta_acyclic_go___closed__10(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__10); -l_Lean_Meta_acyclic_go___closed__11 = _init_l_Lean_Meta_acyclic_go___closed__11(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__11); -l_Lean_Meta_acyclic_go___closed__12 = _init_l_Lean_Meta_acyclic_go___closed__12(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__12); -l_Lean_Meta_acyclic_go___closed__13 = _init_l_Lean_Meta_acyclic_go___closed__13(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__13); -l_Lean_Meta_acyclic_go___closed__14 = _init_l_Lean_Meta_acyclic_go___closed__14(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__14); -l_Lean_Meta_acyclic_go___closed__15 = _init_l_Lean_Meta_acyclic_go___closed__15(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__15); -l_Lean_Meta_acyclic_go___closed__16 = _init_l_Lean_Meta_acyclic_go___closed__16(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__16); -l_Lean_Meta_acyclic_go___closed__17 = _init_l_Lean_Meta_acyclic_go___closed__17(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__17); -l_Lean_Meta_acyclic_go___closed__18 = _init_l_Lean_Meta_acyclic_go___closed__18(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__18); -l_Lean_Meta_acyclic_go___closed__19 = _init_l_Lean_Meta_acyclic_go___closed__19(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__19); -l_Lean_Meta_acyclic_go___closed__20 = _init_l_Lean_Meta_acyclic_go___closed__20(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__20); -l_Lean_Meta_acyclic_go___closed__21 = _init_l_Lean_Meta_acyclic_go___closed__21(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__21); -l_Lean_Meta_acyclic_go___closed__22 = _init_l_Lean_Meta_acyclic_go___closed__22(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__22); -l_Lean_Meta_acyclic_go___closed__23 = _init_l_Lean_Meta_acyclic_go___closed__23(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__23); -l_Lean_Meta_acyclic_go___closed__24 = _init_l_Lean_Meta_acyclic_go___closed__24(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__24); -l_Lean_Meta_acyclic_go___closed__25 = _init_l_Lean_Meta_acyclic_go___closed__25(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__25); -l_Lean_Meta_acyclic_go___closed__26 = _init_l_Lean_Meta_acyclic_go___closed__26(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__26); -l_Lean_Meta_acyclic_go___closed__27 = _init_l_Lean_Meta_acyclic_go___closed__27(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__27); -l_Lean_Meta_acyclic_go___closed__28 = _init_l_Lean_Meta_acyclic_go___closed__28(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__28); -l_Lean_Meta_acyclic_go___closed__29 = _init_l_Lean_Meta_acyclic_go___closed__29(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__29); -l_Lean_Meta_acyclic_go___closed__30 = _init_l_Lean_Meta_acyclic_go___closed__30(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__30); -l_Lean_Meta_acyclic_go___closed__31 = _init_l_Lean_Meta_acyclic_go___closed__31(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__31); -l_Lean_Meta_acyclic_go___closed__32 = _init_l_Lean_Meta_acyclic_go___closed__32(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__32); -l_Lean_Meta_acyclic_go___closed__33 = _init_l_Lean_Meta_acyclic_go___closed__33(); -lean_mark_persistent(l_Lean_Meta_acyclic_go___closed__33); -l_Lean_Meta_acyclic___lambda__1___closed__1 = _init_l_Lean_Meta_acyclic___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_acyclic___lambda__1___closed__1); -l_Lean_Meta_acyclic___lambda__1___closed__2 = _init_l_Lean_Meta_acyclic___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_acyclic___lambda__1___closed__2); -l_Lean_Meta_acyclic___lambda__2___closed__1 = _init_l_Lean_Meta_acyclic___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_acyclic___lambda__2___closed__1); -l_Lean_Meta_acyclic___lambda__2___closed__2 = _init_l_Lean_Meta_acyclic___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_acyclic___lambda__2___closed__2); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Acyclic___hyg_862_(lean_io_mk_world()); +l_Lean_MVarId_acyclic_go___closed__1 = _init_l_Lean_MVarId_acyclic_go___closed__1(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__1); +l_Lean_MVarId_acyclic_go___closed__2 = _init_l_Lean_MVarId_acyclic_go___closed__2(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__2); +l_Lean_MVarId_acyclic_go___closed__3 = _init_l_Lean_MVarId_acyclic_go___closed__3(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__3); +l_Lean_MVarId_acyclic_go___closed__4 = _init_l_Lean_MVarId_acyclic_go___closed__4(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__4); +l_Lean_MVarId_acyclic_go___closed__5 = _init_l_Lean_MVarId_acyclic_go___closed__5(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__5); +l_Lean_MVarId_acyclic_go___closed__6 = _init_l_Lean_MVarId_acyclic_go___closed__6(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__6); +l_Lean_MVarId_acyclic_go___closed__7 = _init_l_Lean_MVarId_acyclic_go___closed__7(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__7); +l_Lean_MVarId_acyclic_go___closed__8 = _init_l_Lean_MVarId_acyclic_go___closed__8(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__8); +l_Lean_MVarId_acyclic_go___closed__9 = _init_l_Lean_MVarId_acyclic_go___closed__9(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__9); +l_Lean_MVarId_acyclic_go___closed__10 = _init_l_Lean_MVarId_acyclic_go___closed__10(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__10); +l_Lean_MVarId_acyclic_go___closed__11 = _init_l_Lean_MVarId_acyclic_go___closed__11(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__11); +l_Lean_MVarId_acyclic_go___closed__12 = _init_l_Lean_MVarId_acyclic_go___closed__12(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__12); +l_Lean_MVarId_acyclic_go___closed__13 = _init_l_Lean_MVarId_acyclic_go___closed__13(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__13); +l_Lean_MVarId_acyclic_go___closed__14 = _init_l_Lean_MVarId_acyclic_go___closed__14(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__14); +l_Lean_MVarId_acyclic_go___closed__15 = _init_l_Lean_MVarId_acyclic_go___closed__15(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__15); +l_Lean_MVarId_acyclic_go___closed__16 = _init_l_Lean_MVarId_acyclic_go___closed__16(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__16); +l_Lean_MVarId_acyclic_go___closed__17 = _init_l_Lean_MVarId_acyclic_go___closed__17(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__17); +l_Lean_MVarId_acyclic_go___closed__18 = _init_l_Lean_MVarId_acyclic_go___closed__18(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__18); +l_Lean_MVarId_acyclic_go___closed__19 = _init_l_Lean_MVarId_acyclic_go___closed__19(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__19); +l_Lean_MVarId_acyclic_go___closed__20 = _init_l_Lean_MVarId_acyclic_go___closed__20(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__20); +l_Lean_MVarId_acyclic_go___closed__21 = _init_l_Lean_MVarId_acyclic_go___closed__21(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__21); +l_Lean_MVarId_acyclic_go___closed__22 = _init_l_Lean_MVarId_acyclic_go___closed__22(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__22); +l_Lean_MVarId_acyclic_go___closed__23 = _init_l_Lean_MVarId_acyclic_go___closed__23(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__23); +l_Lean_MVarId_acyclic_go___closed__24 = _init_l_Lean_MVarId_acyclic_go___closed__24(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__24); +l_Lean_MVarId_acyclic_go___closed__25 = _init_l_Lean_MVarId_acyclic_go___closed__25(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__25); +l_Lean_MVarId_acyclic_go___closed__26 = _init_l_Lean_MVarId_acyclic_go___closed__26(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__26); +l_Lean_MVarId_acyclic_go___closed__27 = _init_l_Lean_MVarId_acyclic_go___closed__27(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__27); +l_Lean_MVarId_acyclic_go___closed__28 = _init_l_Lean_MVarId_acyclic_go___closed__28(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__28); +l_Lean_MVarId_acyclic_go___closed__29 = _init_l_Lean_MVarId_acyclic_go___closed__29(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__29); +l_Lean_MVarId_acyclic_go___closed__30 = _init_l_Lean_MVarId_acyclic_go___closed__30(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__30); +l_Lean_MVarId_acyclic_go___closed__31 = _init_l_Lean_MVarId_acyclic_go___closed__31(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__31); +l_Lean_MVarId_acyclic_go___closed__32 = _init_l_Lean_MVarId_acyclic_go___closed__32(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__32); +l_Lean_MVarId_acyclic_go___closed__33 = _init_l_Lean_MVarId_acyclic_go___closed__33(); +lean_mark_persistent(l_Lean_MVarId_acyclic_go___closed__33); +l_Lean_MVarId_acyclic___lambda__1___closed__1 = _init_l_Lean_MVarId_acyclic___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_MVarId_acyclic___lambda__1___closed__1); +l_Lean_MVarId_acyclic___lambda__1___closed__2 = _init_l_Lean_MVarId_acyclic___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_MVarId_acyclic___lambda__1___closed__2); +l_Lean_MVarId_acyclic___lambda__2___closed__1 = _init_l_Lean_MVarId_acyclic___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_MVarId_acyclic___lambda__2___closed__1); +l_Lean_MVarId_acyclic___lambda__2___closed__2 = _init_l_Lean_MVarId_acyclic___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_MVarId_acyclic___lambda__2___closed__2); +res = l_Lean_MVarId_initFn____x40_Lean_Meta_Tactic_Acyclic___hyg_863_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Apply.c b/stage0/stdlib/Lean/Meta/Tactic/Apply.c index 7bcbeba57b..83ddfe92f3 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Apply.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Apply.c @@ -14,6 +14,7 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); +static lean_object* l_Lean_MVarId_exfalso___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_noConfusion___rarg(uint8_t, uint8_t, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_MVarId_apply___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -24,7 +25,6 @@ lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Meta_splitAndCore_go___closed__6; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_exfalso___lambda__1___closed__3; uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MVarId_apply___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -38,12 +38,16 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_depends lean_object* l_Lean_MVarId_getTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_apply___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__3; uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_noConfusion___rarg___lambda__1(lean_object*); lean_object* l_Lean_Expr_appFn_x21(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_dependsOnOthers___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_exfalso___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Lean_MVarId_exfalso___lambda__1___closed__1; +static lean_object* l_Lean_MVarId_exfalso___lambda__1___closed__2; static lean_object* l_Lean_Meta_ApplyNewGoals_noConfusion___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -51,14 +55,13 @@ LEAN_EXPORT lean_object* l_Lean_MVarId_apply___lambda__3___boxed(lean_object*, l lean_object* l_Lean_Expr_appArg_x21(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError___rarg___closed__4; LEAN_EXPORT lean_object* l_Lean_MVarId_apply___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_applyRefl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_exfalso___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_isAssigned___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars___closed__1; lean_object* l_Lean_Meta_appendTag(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_postprocessAppMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_dependsOnOthers(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_exfalso(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_synthAppInstances___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_apply(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -66,12 +69,10 @@ lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_splitAndCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_apply___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_exfalso___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MVarId_apply___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_dependsOnOthers___spec__1___lambda__1___boxed(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarsNoDelayed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -79,13 +80,13 @@ LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_noConfusion___rarg___lambda__ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_dependsOnOthers___spec__1___lambda__1(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_MVarId_setTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_exfalso___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_noConfusion(lean_object*); lean_object* l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_exfalso___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_apply___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_splitAndCore___closed__1; static lean_object* l_Lean_Meta_splitAndCore_go___closed__2; -static lean_object* l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__3; +static lean_object* l_Lean_MVarId_applyRefl___lambda__1___closed__1; lean_object* lean_name_append_index_after(lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); lean_object* l_Lean_MVarId_checkNotAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -93,22 +94,21 @@ static lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyEr LEAN_EXPORT lean_object* l_Lean_Meta_splitAndCore_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_toCtorIdx___boxed(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_exfalso___closed__2; +LEAN_EXPORT lean_object* l_Lean_MVarId_applyRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError___rarg___closed__8; LEAN_EXPORT lean_object* l_Lean_MVarId_apply(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_exfalso___lambda__1___closed__4; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError___rarg___closed__2; LEAN_EXPORT uint8_t l_Lean_Meta_ApplyConfig_newGoals___default; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_applyRefl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_MVarId_exfalso(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_forM_loop___at_Lean_Meta_synthAppInstances___spec__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*); -static lean_object* l_Lean_Meta_applyRefl___lambda__1___closed__1; static lean_object* l_Nat_forM_loop___at_Lean_Meta_synthAppInstances___spec__1___closed__2; LEAN_EXPORT lean_object* l_List_forM___at_Lean_MVarId_apply___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); -static lean_object* l_Lean_Meta_exfalso___lambda__1___closed__5; lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -123,14 +123,13 @@ static lean_object* l_Lean_Meta_splitAndCore___closed__2; lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_bindingInfo_x21___spec__1(lean_object*); static lean_object* l_Nat_forM_loop___at_Lean_Meta_synthAppInstances___spec__1___closed__4; -static lean_object* l_Lean_Meta_exfalso___lambda__1___closed__1; lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_splitAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Nat_forM_loop___at_Lean_Meta_synthAppInstances___spec__1___closed__3; -static lean_object* l_Lean_Meta_exfalso___lambda__1___closed__2; uint8_t lean_expr_eqv(lean_object*, lean_object*); +static lean_object* l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__2; uint8_t l_Lean_Expr_isMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_synthAppInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError___rarg___closed__7; @@ -140,27 +139,28 @@ static lean_object* l_Lean_Meta_splitAndCore_go___closed__5; static lean_object* l_Nat_forM_loop___at_Lean_Meta_synthAppInstances___spec__1___closed__1; lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Meta_splitAndCore_go___closed__7; +LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isAnonymous(lean_object*); static lean_object* l_Lean_Meta_getExpectedNumArgsAux___closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_dependsOnOthers___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_exfalso___lambda__1___closed__5; static lean_object* l_Nat_forM_loop___at_Lean_Meta_synthAppInstances___spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_MVarId_apply___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_headBetaType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FindMVar_main(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_splitAndCore_go___closed__3; lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Nat_forM_loop___at_Lean_Meta_synthAppInstances___spec__1___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_reorderGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__4; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_exfalso___lambda__1___closed__3; static lean_object* l_Lean_Meta_splitAndCore_go___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__1; lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_toCtorIdx(uint8_t); static lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError___rarg___closed__5; lean_object* l_Lean_MVarId_getType_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -169,11 +169,10 @@ LEAN_EXPORT lean_object* l_List_elem___at_Lean_MVarId_apply___spec__1___boxed(le static lean_object* l_Lean_MVarId_apply___lambda__1___closed__1; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_reorderGoals___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_reorderGoals(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__2; -static lean_object* l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_splitAndCore_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_splitAndCore_go___closed__4; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__4; lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT uint8_t l_List_elem___at_Lean_MVarId_apply___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -187,6 +186,7 @@ lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_forM_loop___at_Lean_Meta_appendParentTag___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_appendParentTag(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_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getExpectedNumArgsAux___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -4421,7 +4421,7 @@ x_7 = l_Lean_Meta_splitAndCore(x_1, x_2, x_3, x_4, x_5, x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -4481,6 +4481,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { @@ -4506,7 +4507,7 @@ return x_25; } } } -static lean_object* _init_l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__1() { +static lean_object* _init_l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__1() { _start: { lean_object* x_1; @@ -4514,17 +4515,17 @@ x_1 = lean_mk_string_from_bytes("Eq", 2); return x_1; } } -static lean_object* _init_l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__2() { +static lean_object* _init_l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__1; +x_2 = l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__3() { +static lean_object* _init_l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__3() { _start: { lean_object* x_1; @@ -4532,17 +4533,17 @@ x_1 = lean_mk_string_from_bytes("refl", 4); return x_1; } } -static lean_object* _init_l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__4() { +static lean_object* _init_l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__2; -x_2 = l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__3; +x_1 = l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__2; +x_2 = l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; @@ -4562,7 +4563,7 @@ x_13 = lean_box(0); x_14 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_14, 0, x_11); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__4; +x_15 = l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__4; x_16 = l_Lean_Expr_const___override(x_15, x_14); x_17 = 0; lean_inc(x_5); @@ -4615,6 +4616,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) { @@ -4640,17 +4642,17 @@ return x_33; } } } -static lean_object* _init_l_Lean_Meta_applyRefl___lambda__1___closed__1() { +static lean_object* _init_l_Lean_MVarId_applyRefl___lambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__3; +x_2 = l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_applyRefl___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_MVarId_applyRefl___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -4659,7 +4661,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_8 = l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2(x_1, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2(x_1, x_3, x_4, x_5, x_6, x_7); x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); if (lean_obj_tag(x_9) == 0) @@ -4668,7 +4670,7 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = l_Lean_Meta_applyRefl___lambda__1___closed__1; +x_11 = l_Lean_MVarId_applyRefl___lambda__1___closed__1; x_12 = l_Lean_Meta_throwTacticEx___rarg(x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_10); return x_12; } @@ -4717,26 +4719,26 @@ lean_dec(x_13); x_20 = lean_ctor_get(x_8, 1); lean_inc(x_20); lean_dec(x_8); -x_21 = l_Lean_Meta_applyRefl___lambda__1___closed__1; +x_21 = l_Lean_MVarId_applyRefl___lambda__1___closed__1; x_22 = l_Lean_Meta_throwTacticEx___rarg(x_21, x_1, x_2, x_3, x_4, x_5, x_6, x_20); return x_22; } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_applyRefl(lean_object* x_1, 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_EXPORT lean_object* l_Lean_MVarId_applyRefl(lean_object* x_1, 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_inc(x_1); -x_8 = lean_alloc_closure((void*)(l_Lean_Meta_applyRefl___lambda__1), 7, 2); +x_8 = lean_alloc_closure((void*)(l_Lean_MVarId_applyRefl___lambda__1), 7, 2); lean_closure_set(x_8, 0, x_1); lean_closure_set(x_8, 1, x_2); x_9 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_1, x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } } -static lean_object* _init_l_Lean_Meta_exfalso___lambda__1___closed__1() { +static lean_object* _init_l_Lean_MVarId_exfalso___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -4744,27 +4746,27 @@ x_1 = lean_mk_string_from_bytes("False", 5); return x_1; } } -static lean_object* _init_l_Lean_Meta_exfalso___lambda__1___closed__2() { +static lean_object* _init_l_Lean_MVarId_exfalso___lambda__1___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_exfalso___lambda__1___closed__1; +x_2 = l_Lean_MVarId_exfalso___lambda__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_exfalso___lambda__1___closed__3() { +static lean_object* _init_l_Lean_MVarId_exfalso___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_exfalso___lambda__1___closed__2; +x_2 = l_Lean_MVarId_exfalso___lambda__1___closed__2; x_3 = l_Lean_Expr_const___override(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_exfalso___lambda__1___closed__4() { +static lean_object* _init_l_Lean_MVarId_exfalso___lambda__1___closed__4() { _start: { lean_object* x_1; @@ -4772,17 +4774,17 @@ x_1 = lean_mk_string_from_bytes("elim", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_exfalso___lambda__1___closed__5() { +static lean_object* _init_l_Lean_MVarId_exfalso___lambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_exfalso___lambda__1___closed__2; -x_2 = l_Lean_Meta_exfalso___lambda__1___closed__4; +x_1 = l_Lean_MVarId_exfalso___lambda__1___closed__2; +x_2 = l_Lean_MVarId_exfalso___lambda__1___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_exfalso___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_MVarId_exfalso___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -4839,7 +4841,7 @@ x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); lean_dec(x_19); x_22 = lean_box(0); -x_23 = l_Lean_Meta_exfalso___lambda__1___closed__3; +x_23 = l_Lean_MVarId_exfalso___lambda__1___closed__3; lean_inc(x_3); x_24 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_23, x_20, x_3, x_4, x_5, x_6, x_21); x_25 = lean_ctor_get(x_24, 0); @@ -4850,7 +4852,7 @@ lean_dec(x_24); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_17); lean_ctor_set(x_27, 1, x_22); -x_28 = l_Lean_Meta_exfalso___lambda__1___closed__5; +x_28 = l_Lean_MVarId_exfalso___lambda__1___closed__5; x_29 = l_Lean_Expr_const___override(x_28, x_27); lean_inc(x_25); x_30 = l_Lean_mkAppB(x_29, x_14, x_25); @@ -4998,7 +5000,7 @@ return x_53; } } } -static lean_object* _init_l_Lean_Meta_exfalso___closed__1() { +static lean_object* _init_l_Lean_MVarId_exfalso___closed__1() { _start: { lean_object* x_1; @@ -5006,23 +5008,23 @@ x_1 = lean_mk_string_from_bytes("exfalso", 7); return x_1; } } -static lean_object* _init_l_Lean_Meta_exfalso___closed__2() { +static lean_object* _init_l_Lean_MVarId_exfalso___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_exfalso___closed__1; +x_2 = l_Lean_MVarId_exfalso___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_exfalso(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_MVarId_exfalso(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Meta_exfalso___closed__2; +x_7 = l_Lean_MVarId_exfalso___closed__2; lean_inc(x_1); -x_8 = lean_alloc_closure((void*)(l_Lean_Meta_exfalso___lambda__1), 7, 2); +x_8 = lean_alloc_closure((void*)(l_Lean_MVarId_exfalso___lambda__1), 7, 2); lean_closure_set(x_8, 0, x_1); lean_closure_set(x_8, 1, x_7); x_9 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_1, x_8, x_2, x_3, x_4, x_5, x_6); @@ -5113,30 +5115,30 @@ l_Lean_Meta_splitAndCore___closed__1 = _init_l_Lean_Meta_splitAndCore___closed__ lean_mark_persistent(l_Lean_Meta_splitAndCore___closed__1); l_Lean_Meta_splitAndCore___closed__2 = _init_l_Lean_Meta_splitAndCore___closed__2(); lean_mark_persistent(l_Lean_Meta_splitAndCore___closed__2); -l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__1 = _init_l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__1(); -lean_mark_persistent(l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__1); -l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__2 = _init_l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__2(); -lean_mark_persistent(l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__2); -l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__3 = _init_l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__3(); -lean_mark_persistent(l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__3); -l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__4 = _init_l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__4(); -lean_mark_persistent(l_Lean_observing_x3f___at_Lean_Meta_applyRefl___spec__1___at_Lean_Meta_applyRefl___spec__2___closed__4); -l_Lean_Meta_applyRefl___lambda__1___closed__1 = _init_l_Lean_Meta_applyRefl___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_applyRefl___lambda__1___closed__1); -l_Lean_Meta_exfalso___lambda__1___closed__1 = _init_l_Lean_Meta_exfalso___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_exfalso___lambda__1___closed__1); -l_Lean_Meta_exfalso___lambda__1___closed__2 = _init_l_Lean_Meta_exfalso___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_exfalso___lambda__1___closed__2); -l_Lean_Meta_exfalso___lambda__1___closed__3 = _init_l_Lean_Meta_exfalso___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Meta_exfalso___lambda__1___closed__3); -l_Lean_Meta_exfalso___lambda__1___closed__4 = _init_l_Lean_Meta_exfalso___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Meta_exfalso___lambda__1___closed__4); -l_Lean_Meta_exfalso___lambda__1___closed__5 = _init_l_Lean_Meta_exfalso___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Meta_exfalso___lambda__1___closed__5); -l_Lean_Meta_exfalso___closed__1 = _init_l_Lean_Meta_exfalso___closed__1(); -lean_mark_persistent(l_Lean_Meta_exfalso___closed__1); -l_Lean_Meta_exfalso___closed__2 = _init_l_Lean_Meta_exfalso___closed__2(); -lean_mark_persistent(l_Lean_Meta_exfalso___closed__2); +l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__1 = _init_l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__1(); +lean_mark_persistent(l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__1); +l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__2 = _init_l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__2(); +lean_mark_persistent(l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__2); +l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__3 = _init_l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__3(); +lean_mark_persistent(l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__3); +l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__4 = _init_l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__4(); +lean_mark_persistent(l_Lean_observing_x3f___at_Lean_MVarId_applyRefl___spec__1___at_Lean_MVarId_applyRefl___spec__2___closed__4); +l_Lean_MVarId_applyRefl___lambda__1___closed__1 = _init_l_Lean_MVarId_applyRefl___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_MVarId_applyRefl___lambda__1___closed__1); +l_Lean_MVarId_exfalso___lambda__1___closed__1 = _init_l_Lean_MVarId_exfalso___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_MVarId_exfalso___lambda__1___closed__1); +l_Lean_MVarId_exfalso___lambda__1___closed__2 = _init_l_Lean_MVarId_exfalso___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_MVarId_exfalso___lambda__1___closed__2); +l_Lean_MVarId_exfalso___lambda__1___closed__3 = _init_l_Lean_MVarId_exfalso___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_MVarId_exfalso___lambda__1___closed__3); +l_Lean_MVarId_exfalso___lambda__1___closed__4 = _init_l_Lean_MVarId_exfalso___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_MVarId_exfalso___lambda__1___closed__4); +l_Lean_MVarId_exfalso___lambda__1___closed__5 = _init_l_Lean_MVarId_exfalso___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_MVarId_exfalso___lambda__1___closed__5); +l_Lean_MVarId_exfalso___closed__1 = _init_l_Lean_MVarId_exfalso___closed__1(); +lean_mark_persistent(l_Lean_MVarId_exfalso___closed__1); +l_Lean_MVarId_exfalso___closed__2 = _init_l_Lean_MVarId_exfalso___closed__2(); +lean_mark_persistent(l_Lean_MVarId_exfalso___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/AuxLemma.c b/stage0/stdlib/Lean/Meta/Tactic/AuxLemma.c index d52f47405e..540f36b70b 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/AuxLemma.c +++ b/stage0/stdlib/Lean/Meta/Tactic/AuxLemma.c @@ -2124,14 +2124,13 @@ x_1 = l_Lean_Meta_mkAuxLemma___closed__6; x_2 = l_Lean_Meta_mkAuxLemma___closed__8; x_3 = l_Lean_Meta_AuxLemmas_lemmas___default___closed__3; x_4 = l_Lean_Meta_mkAuxLemma___closed__11; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Cases.c b/stage0/stdlib/Lean/Meta/Tactic/Cases.c index dcdb766be2..c91f584de3 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Cases.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Cases.c @@ -14,22 +14,23 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Cases_cases___closed__1; +static lean_object* l_Lean_MVarId_byCases___closed__5; static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_loop___rarg___closed__4; LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__24___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__46___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_Meta_casesRec___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__28(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__8___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_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_substEqs___closed__1; lean_object* l_Lean_Meta_ensureAtMostOne(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -42,7 +43,7 @@ lean_object* l_Lean_Meta_unifyEq_x3f(lean_object*, lean_object*, lean_object*, l LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_byCases_toByCasesSubgoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__40___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__51___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -57,12 +58,12 @@ LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__43___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_MVarId_casesRec___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_loop(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_inductionCasesOn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_generalizeIndices___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__39___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_casesRec___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_mkOr(lean_object*, lean_object*); @@ -72,6 +73,7 @@ lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___ static lean_object* l_Lean_Meta_generalizeTargetsEq___lambda__3___closed__3; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_MVarId_casesRec___spec__2___at_Lean_MVarId_casesRec___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__3(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__42___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_loop___rarg___closed__1; @@ -79,22 +81,25 @@ LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_C LEAN_EXPORT lean_object* l_Lean_Meta_Cases_cases___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_mkCasesContext_x3f___spec__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_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_byCases___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Nat_anyAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_clear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_cases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_getTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Cases_Context_majorTypeIndices___default___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_MVarId_casesRec___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_byCases___closed__4; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_generalizeTargetsEq___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_byCases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Nat_anyAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__10; uint8_t lean_name_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_casesAnd___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__48(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_casesAnd___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_byCases___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__49___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__16(lean_object*, lean_object*, lean_object*); @@ -106,7 +111,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_ uint8_t l_Lean_Expr_isEq(lean_object*); LEAN_EXPORT lean_object* l_Nat_anyAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__50(lean_object*, lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Meta_casesAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__18(lean_object*, lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__36(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -118,7 +122,6 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tac lean_object* l_Std_mkHashSetImp___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__35___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_acyclic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_generalizeTargetsEq___lambda__3___closed__4; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__58(lean_object*, size_t, size_t); static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_mkEqAndProof___closed__7; @@ -126,20 +129,22 @@ LEAN_EXPORT lean_object* l_Nat_anyAux___at___private_Lean_Meta_Tactic_Cases_0__L LEAN_EXPORT lean_object* l_Lean_Meta_generalizeTargetsEq___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lean_MVarId_byCases___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___rarg___closed__3; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__45(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_casesRec___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__24(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__7___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_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_MVarId_casesRec___spec__5(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_levelZero; static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_mkEqAndProof___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_casesRec___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyCasesEqs___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__50___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__22(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___lambda__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*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_substEqs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__9; static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_loop___rarg___closed__6; @@ -148,7 +153,7 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__23(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__39(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_casesAnd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_generalizeTargetsEq___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -156,62 +161,57 @@ uint8_t l_Lean_Expr_isHEq(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__17(lean_object*, lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__8; lean_object* lean_array_fget(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_byCases_toByCasesSubgoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_byCases_toByCasesSubgoal___closed__1; static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__4; -LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_byCases___closed__1; +lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Cases_unifyEqs_x3f___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_byCases___closed__5; lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_byCases___closed__2; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__53___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_toCasesSubgoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_byCases___closed__2; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__47___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwNestedTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_byCases___closed__3; +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_MVarId_casesRec___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__52___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_casesRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_FVarSubst_apply(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_generalizeTargetsEq___closed__2; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__37(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_casesRec___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_mkEqAndProof___closed__1; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -static lean_object* l_Lean_Meta_casesAnd___lambda__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_byCases_toByCasesSubgoal___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_substEqs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__8___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_EXPORT lean_object* l_Lean_throwError___at_Lean_MVarId_byCases___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__19(lean_object*, lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_generalizeIndices(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__7___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*); -static lean_object* l_Lean_Meta_casesAnd___closed__3; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__45___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getInductiveUniverseAndParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_cases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_casesAnd___closed__3; static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__11; -LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_mkEqAndProof___closed__3; lean_object* l_Lean_MVarId_checkNotAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_loop___rarg___closed__2; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_generalizeTargetsEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_byCases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_generalizeTargetsEq___closed__1; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__38___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__31___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_casesAnd___lambda__1___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_mkEqAndProof___closed__6; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_casesAnd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__12(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_mkEqAndProof___closed__5; lean_object* l_Lean_Expr_sort___override(lean_object*); @@ -219,7 +219,6 @@ static lean_object* l_Lean_Meta_getInductiveUniverseAndParams___closed__1; lean_object* lean_array_to_list(lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyCasesEqs___spec__1(lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lean_Meta_substEqs___closed__1; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__47(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__51(lean_object*, lean_object*, lean_object*, size_t, size_t); @@ -235,31 +234,34 @@ static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__6; lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkEM(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__30(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Meta_casesRec___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_MVarId_casesRec___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_generalizeTargetsEq___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_casesRec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_saturate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__35(lean_object*, lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__8___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_casesAnd___closed__1; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_exprDependsOn___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_mkCasesContext_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__43(lean_object*, lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_mkCasesContext_x3f___spec__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Cases___hyg_3318_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Cases___hyg_3335_(lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__37___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_casesAnd___closed__4; lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__29(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_MVarId_casesRec___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_casesAnd___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_elimAuxIndices___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_byCases_toByCasesSubgoal___closed__2; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVarAt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_FVarSubst_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -272,6 +274,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_l lean_object* l_Lean_Expr_fvar___override(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_elimAuxIndices___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__8(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_generalizeTargetsEq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_elimAuxIndices___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -282,17 +285,14 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_ LEAN_EXPORT lean_object* l_Lean_Meta_Cases_cases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_substEqs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__31(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs_loop___rarg___closed__5; -LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_Meta_casesRec___spec__2___at_Lean_Meta_casesRec___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_MVarId_casesRec___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__29___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_casesRec___lambda__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_casesRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___closed__2; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_mkNot(lean_object*); @@ -301,21 +301,21 @@ uint8_t l_Lean_Expr_hasMVar(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__54___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_FVarSubst_insert(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_casesRec___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_MVarId_substEqs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_byCases___closed__3; lean_object* l_Lean_Meta_exactlyOne(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_withNewEqs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyCasesEqs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_toCasesSubgoals___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_substEqs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyCasesEqs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__48___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_byCases_toByCasesSubgoal___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Cases_unifyEqs_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___closed__6; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__10(lean_object*, lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__36___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_byCases___closed__4; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__3; static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___closed__3; @@ -330,7 +330,6 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__41(lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_substEqs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_generalizeIndices___lambda__1___closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__34(lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); @@ -341,36 +340,39 @@ lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__53(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__21(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_generalizeIndices___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__7; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_MVarId_induction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__20(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_MVarId_byCases___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___lambda__6___closed__2; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__41___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_generalizeTargetsEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___rarg___closed__1; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__49(lean_object*, lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__57(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__58___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_casesAnd___lambda__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__44___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__56___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_casesRec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__26(lean_object*, lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MVarId_acyclic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_casesAnd___lambda__1___closed__1; static lean_object* l_Lean_Meta_generalizeTargetsEq___lambda__3___closed__2; lean_object* l_Lean_Expr_getAppFn(lean_object*); -static lean_object* l_Lean_Meta_casesAnd___closed__2; lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_casesAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__40(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__55___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -388,24 +390,23 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwIn LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__32(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyCasesEqs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_unifyCasesEqs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_casesRec___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Cases_cases___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___rarg___closed__2; static lean_object* l_Lean_Meta_Cases_cases___lambda__2___closed__5; +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_MVarId_casesRec___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__33(lean_object*, lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___lambda__6___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_toCasesSubgoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_casesAnd___closed__4; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__57___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_casesOnSuffix; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__42(lean_object*, lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__25(lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_casesAnd___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_inductionCasesOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpected___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -4503,7 +4504,7 @@ else { lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_inc(x_3); -x_50 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_3, x_4); +x_50 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_3, x_4); x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); @@ -5335,7 +5336,7 @@ else { lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_inc(x_3); -x_50 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_3, x_4); +x_50 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_3, x_4); x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); @@ -6167,7 +6168,7 @@ else { lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_inc(x_3); -x_50 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_3, x_4); +x_50 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_3, x_4); x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); @@ -6999,7 +7000,7 @@ else { lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_inc(x_3); -x_50 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_3, x_4); +x_50 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_3, x_4); x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); @@ -7831,7 +7832,7 @@ else { lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_inc(x_3); -x_50 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_3, x_4); +x_50 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_3, x_4); x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); @@ -8663,7 +8664,7 @@ else { lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_inc(x_3); -x_50 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_3, x_4); +x_50 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_3, x_4); x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); @@ -9081,836 +9082,568 @@ uint8_t x_12; x_12 = lean_usize_dec_eq(x_5, x_6); if (x_12 == 0) { -lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_23; uint8_t x_28; lean_object* x_29; +lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_23; uint8_t x_28; lean_object* x_29; lean_object* x_37; x_13 = lean_array_uget(x_4, x_5); if (lean_obj_tag(x_13) == 0) { -uint8_t x_37; -x_37 = 0; -x_14 = x_37; +uint8_t x_42; +x_42 = 0; +x_14 = x_42; x_15 = x_11; goto block_22; } else { -lean_object* x_38; uint8_t x_39; lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; -x_38 = lean_ctor_get(x_13, 0); -lean_inc(x_38); +lean_object* x_43; uint8_t x_44; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_43 = lean_ctor_get(x_13, 0); +lean_inc(x_43); lean_dec(x_13); -x_248 = l_Lean_LocalDecl_fvarId(x_38); -x_249 = lean_ctor_get(x_1, 3); -x_250 = l_Lean_LocalDecl_fvarId(x_249); -x_251 = lean_name_eq(x_248, x_250); -lean_dec(x_250); -if (x_251 == 0) +x_185 = l_Lean_LocalDecl_fvarId(x_43); +x_186 = lean_ctor_get(x_1, 3); +x_187 = l_Lean_LocalDecl_fvarId(x_186); +x_188 = lean_name_eq(x_185, x_187); +lean_dec(x_187); +if (x_188 == 0) { -lean_object* x_252; uint8_t x_253; -x_252 = lean_unsigned_to_nat(0u); -x_253 = lean_nat_dec_lt(x_252, x_3); -if (x_253 == 0) +lean_object* x_189; uint8_t x_190; +x_189 = lean_unsigned_to_nat(0u); +x_190 = lean_nat_dec_lt(x_189, x_3); +if (x_190 == 0) { -uint8_t x_254; -lean_dec(x_248); -x_254 = 0; -x_39 = x_254; -goto block_247; +uint8_t x_191; +lean_dec(x_185); +x_191 = 0; +x_44 = x_191; +goto block_184; } else { -uint8_t x_255; -x_255 = lean_nat_dec_le(x_3, x_3); -if (x_255 == 0) +uint8_t x_192; +x_192 = lean_nat_dec_le(x_3, x_3); +if (x_192 == 0) { -uint8_t x_256; -lean_dec(x_248); -x_256 = 0; -x_39 = x_256; -goto block_247; +uint8_t x_193; +lean_dec(x_185); +x_193 = 0; +x_44 = x_193; +goto block_184; } else { -size_t x_257; size_t x_258; uint8_t x_259; -x_257 = 0; -x_258 = lean_usize_of_nat(x_3); -x_259 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__52(x_248, x_2, x_257, x_258); -lean_dec(x_248); -x_39 = x_259; -goto block_247; +size_t x_194; size_t x_195; uint8_t x_196; +x_194 = 0; +x_195 = lean_usize_of_nat(x_3); +x_196 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__52(x_185, x_2, x_194, x_195); +lean_dec(x_185); +x_44 = x_196; +goto block_184; } } } else { -lean_dec(x_248); -lean_dec(x_38); -x_28 = x_251; +lean_dec(x_185); +lean_dec(x_43); +x_28 = x_188; x_29 = x_11; goto block_36; } -block_247: +block_184: { -if (x_39 == 0) +if (x_44 == 0) { -if (lean_obj_tag(x_38) == 0) +if (lean_obj_tag(x_43) == 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; uint8_t x_46; lean_object* x_47; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; -x_40 = lean_ctor_get(x_38, 3); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_st_ref_get(x_10, x_11); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_st_ref_get(x_8, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); +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; uint8_t x_54; +x_45 = lean_ctor_get(x_43, 3); lean_inc(x_45); lean_dec(x_43); -x_122 = lean_ctor_get(x_44, 0); -lean_inc(x_122); -lean_dec(x_44); -x_123 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__56___closed__1; -x_124 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -x_125 = l_Lean_Expr_hasFVar(x_40); -if (x_125 == 0) -{ -uint8_t x_126; -x_126 = l_Lean_Expr_hasMVar(x_40); -if (x_126 == 0) -{ -uint8_t x_127; -lean_dec(x_40); -x_127 = 0; -x_46 = x_127; -x_47 = x_124; -goto block_121; -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; -x_128 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__4(x_2, x_3, x_40, x_124); -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -lean_dec(x_128); -x_131 = lean_unbox(x_129); -lean_dec(x_129); -x_46 = x_131; -x_47 = x_130; -goto block_121; -} -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; -x_132 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__12(x_2, x_3, x_40, x_124); -x_133 = lean_ctor_get(x_132, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_132, 1); -lean_inc(x_134); -lean_dec(x_132); -x_135 = lean_unbox(x_133); -lean_dec(x_133); -x_46 = x_135; -x_47 = x_134; -goto block_121; -} -block_121: -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_st_ref_get(x_10, x_45); -x_50 = lean_ctor_get(x_49, 1); +x_46 = lean_st_ref_get(x_10, x_11); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = lean_st_ref_get(x_8, x_47); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_st_ref_take(x_8, x_50); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get_uint8(x_48, sizeof(void*)*8); -if (x_53 == 0) -{ -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; uint8_t x_64; -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -lean_dec(x_51); -x_56 = lean_ctor_get(x_48, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_48, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_48, 2); -lean_inc(x_58); -x_59 = lean_ctor_get(x_48, 3); -lean_inc(x_59); -x_60 = lean_ctor_get(x_48, 4); -lean_inc(x_60); -x_61 = lean_ctor_get(x_48, 5); -lean_inc(x_61); -x_62 = lean_ctor_get(x_48, 6); -lean_inc(x_62); -x_63 = lean_ctor_get(x_48, 7); -lean_inc(x_63); lean_dec(x_48); -x_64 = !lean_is_exclusive(x_52); +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +lean_dec(x_49); +x_52 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__56___closed__1; +lean_inc(x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +x_54 = l_Lean_Expr_hasFVar(x_45); +if (x_54 == 0) +{ +uint8_t x_55; +x_55 = l_Lean_Expr_hasMVar(x_45); +if (x_55 == 0) +{ +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_dec(x_53); +lean_dec(x_45); +x_56 = lean_st_ref_get(x_10, x_50); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_58 = lean_st_ref_take(x_8, x_57); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = !lean_is_exclusive(x_59); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_62 = lean_ctor_get(x_59, 0); +lean_dec(x_62); +lean_ctor_set(x_59, 0, x_51); +x_63 = lean_st_ref_set(x_8, x_59, x_60); +x_64 = !lean_is_exclusive(x_63); if (x_64 == 0) { -lean_object* x_65; uint8_t x_66; -x_65 = lean_ctor_get(x_52, 0); +lean_object* x_65; uint8_t x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_63, 0); lean_dec(x_65); -x_66 = !lean_is_exclusive(x_54); -if (x_66 == 0) -{ -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; -x_67 = lean_ctor_get(x_54, 7); -lean_dec(x_67); -x_68 = lean_ctor_get(x_54, 6); -lean_dec(x_68); -x_69 = lean_ctor_get(x_54, 5); -lean_dec(x_69); -x_70 = lean_ctor_get(x_54, 4); -lean_dec(x_70); -x_71 = lean_ctor_get(x_54, 3); -lean_dec(x_71); -x_72 = lean_ctor_get(x_54, 2); -lean_dec(x_72); -x_73 = lean_ctor_get(x_54, 1); -lean_dec(x_73); -x_74 = lean_ctor_get(x_54, 0); -lean_dec(x_74); -lean_ctor_set(x_54, 7, x_63); -lean_ctor_set(x_54, 6, x_62); -lean_ctor_set(x_54, 5, x_61); -lean_ctor_set(x_54, 4, x_60); -lean_ctor_set(x_54, 3, x_59); -lean_ctor_set(x_54, 2, x_58); -lean_ctor_set(x_54, 1, x_57); -lean_ctor_set(x_54, 0, x_56); -x_75 = lean_st_ref_set(x_8, x_52, x_55); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_28 = x_46; -x_29 = x_76; -goto block_36; +x_66 = 0; +x_67 = lean_box(x_66); +lean_ctor_set(x_63, 0, x_67); +x_37 = x_63; +goto block_41; } else { -uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_77 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -lean_dec(x_54); -x_78 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_78, 0, x_56); -lean_ctor_set(x_78, 1, x_57); -lean_ctor_set(x_78, 2, x_58); -lean_ctor_set(x_78, 3, x_59); -lean_ctor_set(x_78, 4, x_60); -lean_ctor_set(x_78, 5, x_61); -lean_ctor_set(x_78, 6, x_62); -lean_ctor_set(x_78, 7, x_63); -lean_ctor_set_uint8(x_78, sizeof(void*)*8, x_77); -lean_ctor_set(x_52, 0, x_78); -x_79 = lean_st_ref_set(x_8, x_52, x_55); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_28 = x_46; -x_29 = x_80; -goto block_36; +lean_object* x_68; uint8_t x_69; lean_object* x_70; lean_object* x_71; +x_68 = lean_ctor_get(x_63, 1); +lean_inc(x_68); +lean_dec(x_63); +x_69 = 0; +x_70 = lean_box(x_69); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_68); +x_37 = x_71; +goto block_41; } } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_81 = lean_ctor_get(x_52, 1); -x_82 = lean_ctor_get(x_52, 2); -x_83 = lean_ctor_get(x_52, 3); -lean_inc(x_83); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_52); -x_84 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -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); - lean_ctor_release(x_54, 6); - lean_ctor_release(x_54, 7); - x_85 = x_54; +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; uint8_t x_79; lean_object* x_80; lean_object* x_81; +x_72 = lean_ctor_get(x_59, 1); +x_73 = lean_ctor_get(x_59, 2); +x_74 = lean_ctor_get(x_59, 3); +lean_inc(x_74); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_59); +x_75 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_75, 0, x_51); +lean_ctor_set(x_75, 1, x_72); +lean_ctor_set(x_75, 2, x_73); +lean_ctor_set(x_75, 3, x_74); +x_76 = lean_st_ref_set(x_8, x_75, x_60); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + x_78 = x_76; } else { - lean_dec_ref(x_54); - x_85 = lean_box(0); + lean_dec_ref(x_76); + x_78 = lean_box(0); } -if (lean_is_scalar(x_85)) { - x_86 = lean_alloc_ctor(0, 8, 1); +x_79 = 0; +x_80 = lean_box(x_79); +if (lean_is_scalar(x_78)) { + x_81 = lean_alloc_ctor(0, 2, 0); } else { - x_86 = x_85; + x_81 = x_78; } -lean_ctor_set(x_86, 0, x_56); -lean_ctor_set(x_86, 1, x_57); -lean_ctor_set(x_86, 2, x_58); -lean_ctor_set(x_86, 3, x_59); -lean_ctor_set(x_86, 4, x_60); -lean_ctor_set(x_86, 5, x_61); -lean_ctor_set(x_86, 6, x_62); -lean_ctor_set(x_86, 7, x_63); -lean_ctor_set_uint8(x_86, sizeof(void*)*8, x_84); -x_87 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_81); -lean_ctor_set(x_87, 2, x_82); -lean_ctor_set(x_87, 3, x_83); -x_88 = lean_st_ref_set(x_8, x_87, x_55); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_28 = x_46; -x_29 = x_89; -goto block_36; +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_77); +x_37 = x_81; +goto block_41; } } else { -lean_object* x_90; uint8_t x_91; -x_90 = lean_ctor_get(x_51, 1); -lean_inc(x_90); +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; lean_dec(x_51); -x_91 = !lean_is_exclusive(x_48); +x_82 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__4(x_2, x_3, x_45, x_53); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 0); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_86 = lean_st_ref_get(x_10, x_50); +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +lean_dec(x_86); +x_88 = lean_st_ref_take(x_8, x_87); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec(x_88); +x_91 = !lean_is_exclusive(x_89); if (x_91 == 0) { -uint8_t x_92; -x_92 = !lean_is_exclusive(x_52); -if (x_92 == 0) +lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_92 = lean_ctor_get(x_89, 0); +lean_dec(x_92); +lean_ctor_set(x_89, 0, x_85); +x_93 = lean_st_ref_set(x_8, x_89, x_90); +x_94 = !lean_is_exclusive(x_93); +if (x_94 == 0) { -lean_object* x_93; uint8_t x_94; lean_object* x_95; lean_object* x_96; -x_93 = lean_ctor_get(x_52, 0); -lean_dec(x_93); -x_94 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_94); -lean_ctor_set(x_52, 0, x_48); -x_95 = lean_st_ref_set(x_8, x_52, x_90); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); +lean_object* x_95; +x_95 = lean_ctor_get(x_93, 0); lean_dec(x_95); -x_28 = x_46; -x_29 = x_96; -goto block_36; +lean_ctor_set(x_93, 0, x_84); +x_37 = x_93; +goto block_41; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_97 = lean_ctor_get(x_52, 1); -x_98 = lean_ctor_get(x_52, 2); -x_99 = lean_ctor_get(x_52, 3); +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_93, 1); +lean_inc(x_96); +lean_dec(x_93); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_84); +lean_ctor_set(x_97, 1, x_96); +x_37 = x_97; +goto block_41; +} +} +else +{ +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; +x_98 = lean_ctor_get(x_89, 1); +x_99 = lean_ctor_get(x_89, 2); +x_100 = lean_ctor_get(x_89, 3); +lean_inc(x_100); lean_inc(x_99); lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_52); -x_100 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_100); +lean_dec(x_89); x_101 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_101, 0, x_48); -lean_ctor_set(x_101, 1, x_97); -lean_ctor_set(x_101, 2, x_98); -lean_ctor_set(x_101, 3, x_99); +lean_ctor_set(x_101, 0, x_85); +lean_ctor_set(x_101, 1, x_98); +lean_ctor_set(x_101, 2, x_99); +lean_ctor_set(x_101, 3, x_100); x_102 = lean_st_ref_set(x_8, x_101, x_90); x_103 = lean_ctor_get(x_102, 1); lean_inc(x_103); -lean_dec(x_102); -x_28 = x_46; -x_29 = x_103; -goto block_36; +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_104 = x_102; +} else { + lean_dec_ref(x_102); + x_104 = lean_box(0); +} +if (lean_is_scalar(x_104)) { + x_105 = lean_alloc_ctor(0, 2, 0); +} else { + x_105 = x_104; +} +lean_ctor_set(x_105, 0, x_84); +lean_ctor_set(x_105, 1, x_103); +x_37 = x_105; +goto block_41; +} } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_104 = lean_ctor_get(x_48, 0); -x_105 = lean_ctor_get(x_48, 1); -x_106 = lean_ctor_get(x_48, 2); -x_107 = lean_ctor_get(x_48, 3); -x_108 = lean_ctor_get(x_48, 4); -x_109 = lean_ctor_get(x_48, 5); -x_110 = lean_ctor_get(x_48, 6); -x_111 = lean_ctor_get(x_48, 7); -lean_inc(x_111); -lean_inc(x_110); -lean_inc(x_109); -lean_inc(x_108); +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; uint8_t x_115; +lean_dec(x_51); +x_106 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__12(x_2, x_3, x_45, x_53); +x_107 = lean_ctor_get(x_106, 1); lean_inc(x_107); -lean_inc(x_106); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_48); -x_112 = lean_ctor_get(x_52, 1); -lean_inc(x_112); -x_113 = lean_ctor_get(x_52, 2); +x_108 = lean_ctor_get(x_106, 0); +lean_inc(x_108); +lean_dec(x_106); +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +lean_dec(x_107); +x_110 = lean_st_ref_get(x_10, x_50); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +lean_dec(x_110); +x_112 = lean_st_ref_take(x_8, x_111); +x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); -x_114 = lean_ctor_get(x_52, 3); +x_114 = lean_ctor_get(x_112, 1); lean_inc(x_114); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - lean_ctor_release(x_52, 3); - x_115 = x_52; -} else { - lean_dec_ref(x_52); - x_115 = lean_box(0); -} -x_116 = 1; -x_117 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_117, 0, x_104); -lean_ctor_set(x_117, 1, x_105); -lean_ctor_set(x_117, 2, x_106); -lean_ctor_set(x_117, 3, x_107); -lean_ctor_set(x_117, 4, x_108); -lean_ctor_set(x_117, 5, x_109); -lean_ctor_set(x_117, 6, x_110); -lean_ctor_set(x_117, 7, x_111); -lean_ctor_set_uint8(x_117, sizeof(void*)*8, x_116); -if (lean_is_scalar(x_115)) { - x_118 = lean_alloc_ctor(0, 4, 0); -} else { - x_118 = x_115; -} -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_112); -lean_ctor_set(x_118, 2, x_113); -lean_ctor_set(x_118, 3, x_114); -x_119 = lean_st_ref_set(x_8, x_118, x_90); -x_120 = lean_ctor_get(x_119, 1); -lean_inc(x_120); +lean_dec(x_112); +x_115 = !lean_is_exclusive(x_113); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; uint8_t x_118; +x_116 = lean_ctor_get(x_113, 0); +lean_dec(x_116); +lean_ctor_set(x_113, 0, x_109); +x_117 = lean_st_ref_set(x_8, x_113, x_114); +x_118 = !lean_is_exclusive(x_117); +if (x_118 == 0) +{ +lean_object* x_119; +x_119 = lean_ctor_get(x_117, 0); lean_dec(x_119); -x_28 = x_46; -x_29 = x_120; -goto block_36; +lean_ctor_set(x_117, 0, x_108); +x_37 = x_117; +goto block_41; } +else +{ +lean_object* x_120; lean_object* x_121; +x_120 = lean_ctor_get(x_117, 1); +lean_inc(x_120); +lean_dec(x_117); +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_108); +lean_ctor_set(x_121, 1, x_120); +x_37 = x_121; +goto block_41; +} +} +else +{ +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; +x_122 = lean_ctor_get(x_113, 1); +x_123 = lean_ctor_get(x_113, 2); +x_124 = lean_ctor_get(x_113, 3); +lean_inc(x_124); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_113); +x_125 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_125, 0, x_109); +lean_ctor_set(x_125, 1, x_122); +lean_ctor_set(x_125, 2, x_123); +lean_ctor_set(x_125, 3, x_124); +x_126 = lean_st_ref_set(x_8, x_125, x_114); +x_127 = lean_ctor_get(x_126, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_128 = x_126; +} else { + lean_dec_ref(x_126); + x_128 = lean_box(0); +} +if (lean_is_scalar(x_128)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_128; +} +lean_ctor_set(x_129, 0, x_108); +lean_ctor_set(x_129, 1, x_127); +x_37 = x_129; +goto block_41; } } } 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; lean_object* x_142; uint8_t x_143; lean_object* x_144; uint8_t x_219; lean_object* x_220; lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; -x_136 = lean_ctor_get(x_38, 3); +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; uint8_t x_137; lean_object* x_138; uint8_t x_156; lean_object* x_157; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; +x_130 = lean_ctor_get(x_43, 3); +lean_inc(x_130); +x_131 = lean_ctor_get(x_43, 4); +lean_inc(x_131); +lean_dec(x_43); +x_132 = lean_st_ref_get(x_10, x_11); +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_134 = lean_st_ref_get(x_8, x_133); +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); lean_inc(x_136); -x_137 = lean_ctor_get(x_38, 4); -lean_inc(x_137); -lean_dec(x_38); -x_138 = lean_st_ref_get(x_10, x_11); +lean_dec(x_134); +x_170 = lean_ctor_get(x_135, 0); +lean_inc(x_170); +lean_dec(x_135); +x_171 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__56___closed__1; +x_172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +x_173 = l_Lean_Expr_hasFVar(x_130); +if (x_173 == 0) +{ +uint8_t x_174; +x_174 = l_Lean_Expr_hasMVar(x_130); +if (x_174 == 0) +{ +uint8_t x_175; +lean_dec(x_130); +x_175 = 0; +x_156 = x_175; +x_157 = x_172; +goto block_169; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; +x_176 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__36(x_2, x_3, x_130, x_172); +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_156 = x_179; +x_157 = x_178; +goto block_169; +} +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_180 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__44(x_2, x_3, x_130, x_172); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_180, 1); +lean_inc(x_182); +lean_dec(x_180); +x_183 = lean_unbox(x_181); +lean_dec(x_181); +x_156 = x_183; +x_157 = x_182; +goto block_169; +} +block_155: +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; x_139 = lean_ctor_get(x_138, 1); lean_inc(x_139); lean_dec(x_138); -x_140 = lean_st_ref_get(x_8, x_139); -x_141 = lean_ctor_get(x_140, 0); +x_140 = lean_st_ref_get(x_10, x_136); +x_141 = lean_ctor_get(x_140, 1); lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); lean_dec(x_140); -x_233 = lean_ctor_get(x_141, 0); -lean_inc(x_233); -lean_dec(x_141); -x_234 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__56___closed__1; -x_235 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_233); -x_236 = l_Lean_Expr_hasFVar(x_136); -if (x_236 == 0) +x_142 = lean_st_ref_take(x_8, x_141); +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +lean_dec(x_142); +x_145 = !lean_is_exclusive(x_143); +if (x_145 == 0) { -uint8_t x_237; -x_237 = l_Lean_Expr_hasMVar(x_136); -if (x_237 == 0) -{ -uint8_t x_238; -lean_dec(x_136); -x_238 = 0; -x_219 = x_238; -x_220 = x_235; -goto block_232; -} -else -{ -lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; -x_239 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__36(x_2, x_3, x_136, x_235); -x_240 = lean_ctor_get(x_239, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_239, 1); -lean_inc(x_241); -lean_dec(x_239); -x_242 = lean_unbox(x_240); -lean_dec(x_240); -x_219 = x_242; -x_220 = x_241; -goto block_232; -} -} -else -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; -x_243 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__44(x_2, x_3, x_136, x_235); -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_243, 1); -lean_inc(x_245); -lean_dec(x_243); -x_246 = lean_unbox(x_244); -lean_dec(x_244); -x_219 = x_246; -x_220 = x_245; -goto block_232; -} -block_218: -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; -x_145 = lean_ctor_get(x_144, 1); -lean_inc(x_145); -lean_dec(x_144); -x_146 = lean_st_ref_get(x_10, x_142); -x_147 = lean_ctor_get(x_146, 1); -lean_inc(x_147); +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_143, 0); lean_dec(x_146); -x_148 = lean_st_ref_take(x_8, x_147); -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get_uint8(x_145, sizeof(void*)*8); -if (x_150 == 0) +lean_ctor_set(x_143, 0, x_139); +x_147 = lean_st_ref_set(x_8, x_143, x_144); +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_28 = x_137; +x_29 = x_148; +goto block_36; +} +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; uint8_t x_161; -x_151 = lean_ctor_get(x_149, 0); +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_149 = lean_ctor_get(x_143, 1); +x_150 = lean_ctor_get(x_143, 2); +x_151 = lean_ctor_get(x_143, 3); lean_inc(x_151); -x_152 = lean_ctor_get(x_148, 1); -lean_inc(x_152); -lean_dec(x_148); -x_153 = lean_ctor_get(x_145, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_145, 1); +lean_inc(x_150); +lean_inc(x_149); +lean_dec(x_143); +x_152 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_152, 0, x_139); +lean_ctor_set(x_152, 1, x_149); +lean_ctor_set(x_152, 2, x_150); +lean_ctor_set(x_152, 3, x_151); +x_153 = lean_st_ref_set(x_8, x_152, x_144); +x_154 = lean_ctor_get(x_153, 1); lean_inc(x_154); -x_155 = lean_ctor_get(x_145, 2); -lean_inc(x_155); -x_156 = lean_ctor_get(x_145, 3); -lean_inc(x_156); -x_157 = lean_ctor_get(x_145, 4); -lean_inc(x_157); -x_158 = lean_ctor_get(x_145, 5); -lean_inc(x_158); -x_159 = lean_ctor_get(x_145, 6); -lean_inc(x_159); -x_160 = lean_ctor_get(x_145, 7); -lean_inc(x_160); -lean_dec(x_145); -x_161 = !lean_is_exclusive(x_149); -if (x_161 == 0) +lean_dec(x_153); +x_28 = x_137; +x_29 = x_154; +goto block_36; +} +} +block_169: { -lean_object* x_162; uint8_t x_163; -x_162 = lean_ctor_get(x_149, 0); +if (x_156 == 0) +{ +uint8_t x_158; +x_158 = l_Lean_Expr_hasFVar(x_131); +if (x_158 == 0) +{ +uint8_t x_159; +x_159 = l_Lean_Expr_hasMVar(x_131); +if (x_159 == 0) +{ +uint8_t x_160; +lean_dec(x_131); +x_160 = 0; +x_137 = x_160; +x_138 = x_157; +goto block_155; +} +else +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; +x_161 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__20(x_2, x_3, x_131, x_157); +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +lean_dec(x_161); +x_164 = lean_unbox(x_162); lean_dec(x_162); -x_163 = !lean_is_exclusive(x_151); -if (x_163 == 0) +x_137 = x_164; +x_138 = x_163; +goto block_155; +} +} +else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_164 = lean_ctor_get(x_151, 7); -lean_dec(x_164); -x_165 = lean_ctor_get(x_151, 6); +lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_165 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__28(x_2, x_3, x_131, x_157); +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +x_167 = lean_ctor_get(x_165, 1); +lean_inc(x_167); lean_dec(x_165); -x_166 = lean_ctor_get(x_151, 5); +x_168 = lean_unbox(x_166); lean_dec(x_166); -x_167 = lean_ctor_get(x_151, 4); -lean_dec(x_167); -x_168 = lean_ctor_get(x_151, 3); -lean_dec(x_168); -x_169 = lean_ctor_get(x_151, 2); -lean_dec(x_169); -x_170 = lean_ctor_get(x_151, 1); -lean_dec(x_170); -x_171 = lean_ctor_get(x_151, 0); -lean_dec(x_171); -lean_ctor_set(x_151, 7, x_160); -lean_ctor_set(x_151, 6, x_159); -lean_ctor_set(x_151, 5, x_158); -lean_ctor_set(x_151, 4, x_157); -lean_ctor_set(x_151, 3, x_156); -lean_ctor_set(x_151, 2, x_155); -lean_ctor_set(x_151, 1, x_154); -lean_ctor_set(x_151, 0, x_153); -x_172 = lean_st_ref_set(x_8, x_149, x_152); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); -lean_dec(x_172); -x_28 = x_143; -x_29 = x_173; -goto block_36; -} -else -{ -uint8_t x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_174 = lean_ctor_get_uint8(x_151, sizeof(void*)*8); -lean_dec(x_151); -x_175 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_175, 0, x_153); -lean_ctor_set(x_175, 1, x_154); -lean_ctor_set(x_175, 2, x_155); -lean_ctor_set(x_175, 3, x_156); -lean_ctor_set(x_175, 4, x_157); -lean_ctor_set(x_175, 5, x_158); -lean_ctor_set(x_175, 6, x_159); -lean_ctor_set(x_175, 7, x_160); -lean_ctor_set_uint8(x_175, sizeof(void*)*8, x_174); -lean_ctor_set(x_149, 0, x_175); -x_176 = lean_st_ref_set(x_8, x_149, x_152); -x_177 = lean_ctor_get(x_176, 1); -lean_inc(x_177); -lean_dec(x_176); -x_28 = x_143; -x_29 = x_177; -goto block_36; +x_137 = x_168; +x_138 = x_167; +goto block_155; } } else { -lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_178 = lean_ctor_get(x_149, 1); -x_179 = lean_ctor_get(x_149, 2); -x_180 = lean_ctor_get(x_149, 3); -lean_inc(x_180); -lean_inc(x_179); -lean_inc(x_178); -lean_dec(x_149); -x_181 = lean_ctor_get_uint8(x_151, sizeof(void*)*8); -if (lean_is_exclusive(x_151)) { - lean_ctor_release(x_151, 0); - lean_ctor_release(x_151, 1); - lean_ctor_release(x_151, 2); - lean_ctor_release(x_151, 3); - lean_ctor_release(x_151, 4); - lean_ctor_release(x_151, 5); - lean_ctor_release(x_151, 6); - lean_ctor_release(x_151, 7); - x_182 = x_151; -} else { - lean_dec_ref(x_151); - x_182 = lean_box(0); -} -if (lean_is_scalar(x_182)) { - x_183 = lean_alloc_ctor(0, 8, 1); -} else { - x_183 = x_182; -} -lean_ctor_set(x_183, 0, x_153); -lean_ctor_set(x_183, 1, x_154); -lean_ctor_set(x_183, 2, x_155); -lean_ctor_set(x_183, 3, x_156); -lean_ctor_set(x_183, 4, x_157); -lean_ctor_set(x_183, 5, x_158); -lean_ctor_set(x_183, 6, x_159); -lean_ctor_set(x_183, 7, x_160); -lean_ctor_set_uint8(x_183, sizeof(void*)*8, x_181); -x_184 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_184, 0, x_183); -lean_ctor_set(x_184, 1, x_178); -lean_ctor_set(x_184, 2, x_179); -lean_ctor_set(x_184, 3, x_180); -x_185 = lean_st_ref_set(x_8, x_184, x_152); -x_186 = lean_ctor_get(x_185, 1); -lean_inc(x_186); -lean_dec(x_185); -x_28 = x_143; -x_29 = x_186; -goto block_36; -} -} -else -{ -lean_object* x_187; uint8_t x_188; -x_187 = lean_ctor_get(x_148, 1); -lean_inc(x_187); -lean_dec(x_148); -x_188 = !lean_is_exclusive(x_145); -if (x_188 == 0) -{ -uint8_t x_189; -x_189 = !lean_is_exclusive(x_149); -if (x_189 == 0) -{ -lean_object* x_190; uint8_t x_191; lean_object* x_192; lean_object* x_193; -x_190 = lean_ctor_get(x_149, 0); -lean_dec(x_190); -x_191 = 1; -lean_ctor_set_uint8(x_145, sizeof(void*)*8, x_191); -lean_ctor_set(x_149, 0, x_145); -x_192 = lean_st_ref_set(x_8, x_149, x_187); -x_193 = lean_ctor_get(x_192, 1); -lean_inc(x_193); -lean_dec(x_192); -x_28 = x_143; -x_29 = x_193; -goto block_36; -} -else -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; -x_194 = lean_ctor_get(x_149, 1); -x_195 = lean_ctor_get(x_149, 2); -x_196 = lean_ctor_get(x_149, 3); -lean_inc(x_196); -lean_inc(x_195); -lean_inc(x_194); -lean_dec(x_149); -x_197 = 1; -lean_ctor_set_uint8(x_145, sizeof(void*)*8, x_197); -x_198 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_198, 0, x_145); -lean_ctor_set(x_198, 1, x_194); -lean_ctor_set(x_198, 2, x_195); -lean_ctor_set(x_198, 3, x_196); -x_199 = lean_st_ref_set(x_8, x_198, x_187); -x_200 = lean_ctor_get(x_199, 1); -lean_inc(x_200); -lean_dec(x_199); -x_28 = x_143; -x_29 = x_200; -goto block_36; -} -} -else -{ -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; -x_201 = lean_ctor_get(x_145, 0); -x_202 = lean_ctor_get(x_145, 1); -x_203 = lean_ctor_get(x_145, 2); -x_204 = lean_ctor_get(x_145, 3); -x_205 = lean_ctor_get(x_145, 4); -x_206 = lean_ctor_get(x_145, 5); -x_207 = lean_ctor_get(x_145, 6); -x_208 = lean_ctor_get(x_145, 7); -lean_inc(x_208); -lean_inc(x_207); -lean_inc(x_206); -lean_inc(x_205); -lean_inc(x_204); -lean_inc(x_203); -lean_inc(x_202); -lean_inc(x_201); -lean_dec(x_145); -x_209 = lean_ctor_get(x_149, 1); -lean_inc(x_209); -x_210 = lean_ctor_get(x_149, 2); -lean_inc(x_210); -x_211 = lean_ctor_get(x_149, 3); -lean_inc(x_211); -if (lean_is_exclusive(x_149)) { - lean_ctor_release(x_149, 0); - lean_ctor_release(x_149, 1); - lean_ctor_release(x_149, 2); - lean_ctor_release(x_149, 3); - x_212 = x_149; -} else { - lean_dec_ref(x_149); - x_212 = lean_box(0); -} -x_213 = 1; -x_214 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_214, 0, x_201); -lean_ctor_set(x_214, 1, x_202); -lean_ctor_set(x_214, 2, x_203); -lean_ctor_set(x_214, 3, x_204); -lean_ctor_set(x_214, 4, x_205); -lean_ctor_set(x_214, 5, x_206); -lean_ctor_set(x_214, 6, x_207); -lean_ctor_set(x_214, 7, x_208); -lean_ctor_set_uint8(x_214, sizeof(void*)*8, x_213); -if (lean_is_scalar(x_212)) { - x_215 = lean_alloc_ctor(0, 4, 0); -} else { - x_215 = x_212; -} -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_209); -lean_ctor_set(x_215, 2, x_210); -lean_ctor_set(x_215, 3, x_211); -x_216 = lean_st_ref_set(x_8, x_215, x_187); -x_217 = lean_ctor_get(x_216, 1); -lean_inc(x_217); -lean_dec(x_216); -x_28 = x_143; -x_29 = x_217; -goto block_36; -} -} -} -block_232: -{ -if (x_219 == 0) -{ -uint8_t x_221; -x_221 = l_Lean_Expr_hasFVar(x_137); -if (x_221 == 0) -{ -uint8_t x_222; -x_222 = l_Lean_Expr_hasMVar(x_137); -if (x_222 == 0) -{ -uint8_t x_223; -lean_dec(x_137); -x_223 = 0; -x_143 = x_223; -x_144 = x_220; -goto block_218; -} -else -{ -lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; -x_224 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__20(x_2, x_3, x_137, x_220); -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_224, 1); -lean_inc(x_226); -lean_dec(x_224); -x_227 = lean_unbox(x_225); -lean_dec(x_225); -x_143 = x_227; -x_144 = x_226; -goto block_218; -} -} -else -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; -x_228 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__28(x_2, x_3, x_137, x_220); -x_229 = lean_ctor_get(x_228, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_228, 1); -lean_inc(x_230); -lean_dec(x_228); -x_231 = lean_unbox(x_229); -lean_dec(x_229); -x_143 = x_231; -x_144 = x_230; -goto block_218; -} -} -else -{ -lean_dec(x_137); -x_143 = x_219; -x_144 = x_220; -goto block_218; +lean_dec(x_131); +x_137 = x_156; +x_138 = x_157; +goto block_155; } } } } else { -lean_dec(x_38); -x_28 = x_39; +lean_dec(x_43); +x_28 = x_44; x_29 = x_11; goto block_36; } @@ -9977,16 +9710,30 @@ x_23 = x_35; goto block_27; } } +block_41: +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_unbox(x_38); +lean_dec(x_38); +x_28 = x_40; +x_29 = x_39; +goto block_36; +} } else { -uint8_t x_260; lean_object* x_261; lean_object* x_262; -x_260 = 0; -x_261 = lean_box(x_260); -x_262 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_262, 0, x_261); -lean_ctor_set(x_262, 1, x_11); -return x_262; +uint8_t x_197; lean_object* x_198; lean_object* x_199; +x_197 = 0; +x_198 = lean_box(x_197); +x_199 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_11); +return x_199; } } } @@ -10120,836 +9867,568 @@ uint8_t x_12; x_12 = lean_usize_dec_eq(x_5, x_6); if (x_12 == 0) { -lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_23; uint8_t x_28; lean_object* x_29; +lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_23; uint8_t x_28; lean_object* x_29; lean_object* x_37; x_13 = lean_array_uget(x_4, x_5); if (lean_obj_tag(x_13) == 0) { -uint8_t x_37; -x_37 = 0; -x_14 = x_37; +uint8_t x_42; +x_42 = 0; +x_14 = x_42; x_15 = x_11; goto block_22; } else { -lean_object* x_38; uint8_t x_39; lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; -x_38 = lean_ctor_get(x_13, 0); -lean_inc(x_38); +lean_object* x_43; uint8_t x_44; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_43 = lean_ctor_get(x_13, 0); +lean_inc(x_43); lean_dec(x_13); -x_248 = l_Lean_LocalDecl_fvarId(x_38); -x_249 = lean_ctor_get(x_1, 3); -x_250 = l_Lean_LocalDecl_fvarId(x_249); -x_251 = lean_name_eq(x_248, x_250); -lean_dec(x_250); -if (x_251 == 0) +x_185 = l_Lean_LocalDecl_fvarId(x_43); +x_186 = lean_ctor_get(x_1, 3); +x_187 = l_Lean_LocalDecl_fvarId(x_186); +x_188 = lean_name_eq(x_185, x_187); +lean_dec(x_187); +if (x_188 == 0) { -lean_object* x_252; uint8_t x_253; -x_252 = lean_unsigned_to_nat(0u); -x_253 = lean_nat_dec_lt(x_252, x_3); -if (x_253 == 0) +lean_object* x_189; uint8_t x_190; +x_189 = lean_unsigned_to_nat(0u); +x_190 = lean_nat_dec_lt(x_189, x_3); +if (x_190 == 0) { -uint8_t x_254; -lean_dec(x_248); -x_254 = 0; -x_39 = x_254; -goto block_247; +uint8_t x_191; +lean_dec(x_185); +x_191 = 0; +x_44 = x_191; +goto block_184; } else { -uint8_t x_255; -x_255 = lean_nat_dec_le(x_3, x_3); -if (x_255 == 0) +uint8_t x_192; +x_192 = lean_nat_dec_le(x_3, x_3); +if (x_192 == 0) { -uint8_t x_256; -lean_dec(x_248); -x_256 = 0; -x_39 = x_256; -goto block_247; +uint8_t x_193; +lean_dec(x_185); +x_193 = 0; +x_44 = x_193; +goto block_184; } else { -size_t x_257; size_t x_258; uint8_t x_259; -x_257 = 0; -x_258 = lean_usize_of_nat(x_3); -x_259 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__52(x_248, x_2, x_257, x_258); -lean_dec(x_248); -x_39 = x_259; -goto block_247; +size_t x_194; size_t x_195; uint8_t x_196; +x_194 = 0; +x_195 = lean_usize_of_nat(x_3); +x_196 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__52(x_185, x_2, x_194, x_195); +lean_dec(x_185); +x_44 = x_196; +goto block_184; } } } else { -lean_dec(x_248); -lean_dec(x_38); -x_28 = x_251; +lean_dec(x_185); +lean_dec(x_43); +x_28 = x_188; x_29 = x_11; goto block_36; } -block_247: +block_184: { -if (x_39 == 0) +if (x_44 == 0) { -if (lean_obj_tag(x_38) == 0) +if (lean_obj_tag(x_43) == 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; uint8_t x_46; lean_object* x_47; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; -x_40 = lean_ctor_get(x_38, 3); -lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_st_ref_get(x_10, x_11); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_st_ref_get(x_8, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); +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; uint8_t x_54; +x_45 = lean_ctor_get(x_43, 3); lean_inc(x_45); lean_dec(x_43); -x_122 = lean_ctor_get(x_44, 0); -lean_inc(x_122); -lean_dec(x_44); -x_123 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__56___closed__1; -x_124 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -x_125 = l_Lean_Expr_hasFVar(x_40); -if (x_125 == 0) -{ -uint8_t x_126; -x_126 = l_Lean_Expr_hasMVar(x_40); -if (x_126 == 0) -{ -uint8_t x_127; -lean_dec(x_40); -x_127 = 0; -x_46 = x_127; -x_47 = x_124; -goto block_121; -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; -x_128 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__4(x_2, x_3, x_40, x_124); -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -lean_dec(x_128); -x_131 = lean_unbox(x_129); -lean_dec(x_129); -x_46 = x_131; -x_47 = x_130; -goto block_121; -} -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; -x_132 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__12(x_2, x_3, x_40, x_124); -x_133 = lean_ctor_get(x_132, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_132, 1); -lean_inc(x_134); -lean_dec(x_132); -x_135 = lean_unbox(x_133); -lean_dec(x_133); -x_46 = x_135; -x_47 = x_134; -goto block_121; -} -block_121: -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_st_ref_get(x_10, x_45); -x_50 = lean_ctor_get(x_49, 1); +x_46 = lean_st_ref_get(x_10, x_11); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = lean_st_ref_get(x_8, x_47); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_st_ref_take(x_8, x_50); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get_uint8(x_48, sizeof(void*)*8); -if (x_53 == 0) -{ -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; uint8_t x_64; -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_51, 1); -lean_inc(x_55); -lean_dec(x_51); -x_56 = lean_ctor_get(x_48, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_48, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_48, 2); -lean_inc(x_58); -x_59 = lean_ctor_get(x_48, 3); -lean_inc(x_59); -x_60 = lean_ctor_get(x_48, 4); -lean_inc(x_60); -x_61 = lean_ctor_get(x_48, 5); -lean_inc(x_61); -x_62 = lean_ctor_get(x_48, 6); -lean_inc(x_62); -x_63 = lean_ctor_get(x_48, 7); -lean_inc(x_63); lean_dec(x_48); -x_64 = !lean_is_exclusive(x_52); +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +lean_dec(x_49); +x_52 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__56___closed__1; +lean_inc(x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +x_54 = l_Lean_Expr_hasFVar(x_45); +if (x_54 == 0) +{ +uint8_t x_55; +x_55 = l_Lean_Expr_hasMVar(x_45); +if (x_55 == 0) +{ +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_dec(x_53); +lean_dec(x_45); +x_56 = lean_st_ref_get(x_10, x_50); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_58 = lean_st_ref_take(x_8, x_57); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = !lean_is_exclusive(x_59); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_62 = lean_ctor_get(x_59, 0); +lean_dec(x_62); +lean_ctor_set(x_59, 0, x_51); +x_63 = lean_st_ref_set(x_8, x_59, x_60); +x_64 = !lean_is_exclusive(x_63); if (x_64 == 0) { -lean_object* x_65; uint8_t x_66; -x_65 = lean_ctor_get(x_52, 0); +lean_object* x_65; uint8_t x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_63, 0); lean_dec(x_65); -x_66 = !lean_is_exclusive(x_54); -if (x_66 == 0) -{ -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; -x_67 = lean_ctor_get(x_54, 7); -lean_dec(x_67); -x_68 = lean_ctor_get(x_54, 6); -lean_dec(x_68); -x_69 = lean_ctor_get(x_54, 5); -lean_dec(x_69); -x_70 = lean_ctor_get(x_54, 4); -lean_dec(x_70); -x_71 = lean_ctor_get(x_54, 3); -lean_dec(x_71); -x_72 = lean_ctor_get(x_54, 2); -lean_dec(x_72); -x_73 = lean_ctor_get(x_54, 1); -lean_dec(x_73); -x_74 = lean_ctor_get(x_54, 0); -lean_dec(x_74); -lean_ctor_set(x_54, 7, x_63); -lean_ctor_set(x_54, 6, x_62); -lean_ctor_set(x_54, 5, x_61); -lean_ctor_set(x_54, 4, x_60); -lean_ctor_set(x_54, 3, x_59); -lean_ctor_set(x_54, 2, x_58); -lean_ctor_set(x_54, 1, x_57); -lean_ctor_set(x_54, 0, x_56); -x_75 = lean_st_ref_set(x_8, x_52, x_55); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_28 = x_46; -x_29 = x_76; -goto block_36; +x_66 = 0; +x_67 = lean_box(x_66); +lean_ctor_set(x_63, 0, x_67); +x_37 = x_63; +goto block_41; } else { -uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_77 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -lean_dec(x_54); -x_78 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_78, 0, x_56); -lean_ctor_set(x_78, 1, x_57); -lean_ctor_set(x_78, 2, x_58); -lean_ctor_set(x_78, 3, x_59); -lean_ctor_set(x_78, 4, x_60); -lean_ctor_set(x_78, 5, x_61); -lean_ctor_set(x_78, 6, x_62); -lean_ctor_set(x_78, 7, x_63); -lean_ctor_set_uint8(x_78, sizeof(void*)*8, x_77); -lean_ctor_set(x_52, 0, x_78); -x_79 = lean_st_ref_set(x_8, x_52, x_55); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_28 = x_46; -x_29 = x_80; -goto block_36; +lean_object* x_68; uint8_t x_69; lean_object* x_70; lean_object* x_71; +x_68 = lean_ctor_get(x_63, 1); +lean_inc(x_68); +lean_dec(x_63); +x_69 = 0; +x_70 = lean_box(x_69); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_68); +x_37 = x_71; +goto block_41; } } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_81 = lean_ctor_get(x_52, 1); -x_82 = lean_ctor_get(x_52, 2); -x_83 = lean_ctor_get(x_52, 3); -lean_inc(x_83); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_52); -x_84 = lean_ctor_get_uint8(x_54, sizeof(void*)*8); -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); - lean_ctor_release(x_54, 6); - lean_ctor_release(x_54, 7); - x_85 = x_54; +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; uint8_t x_79; lean_object* x_80; lean_object* x_81; +x_72 = lean_ctor_get(x_59, 1); +x_73 = lean_ctor_get(x_59, 2); +x_74 = lean_ctor_get(x_59, 3); +lean_inc(x_74); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_59); +x_75 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_75, 0, x_51); +lean_ctor_set(x_75, 1, x_72); +lean_ctor_set(x_75, 2, x_73); +lean_ctor_set(x_75, 3, x_74); +x_76 = lean_st_ref_set(x_8, x_75, x_60); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + x_78 = x_76; } else { - lean_dec_ref(x_54); - x_85 = lean_box(0); + lean_dec_ref(x_76); + x_78 = lean_box(0); } -if (lean_is_scalar(x_85)) { - x_86 = lean_alloc_ctor(0, 8, 1); +x_79 = 0; +x_80 = lean_box(x_79); +if (lean_is_scalar(x_78)) { + x_81 = lean_alloc_ctor(0, 2, 0); } else { - x_86 = x_85; + x_81 = x_78; } -lean_ctor_set(x_86, 0, x_56); -lean_ctor_set(x_86, 1, x_57); -lean_ctor_set(x_86, 2, x_58); -lean_ctor_set(x_86, 3, x_59); -lean_ctor_set(x_86, 4, x_60); -lean_ctor_set(x_86, 5, x_61); -lean_ctor_set(x_86, 6, x_62); -lean_ctor_set(x_86, 7, x_63); -lean_ctor_set_uint8(x_86, sizeof(void*)*8, x_84); -x_87 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_81); -lean_ctor_set(x_87, 2, x_82); -lean_ctor_set(x_87, 3, x_83); -x_88 = lean_st_ref_set(x_8, x_87, x_55); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_28 = x_46; -x_29 = x_89; -goto block_36; +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_77); +x_37 = x_81; +goto block_41; } } else { -lean_object* x_90; uint8_t x_91; -x_90 = lean_ctor_get(x_51, 1); -lean_inc(x_90); +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; lean_dec(x_51); -x_91 = !lean_is_exclusive(x_48); +x_82 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__4(x_2, x_3, x_45, x_53); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 0); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_86 = lean_st_ref_get(x_10, x_50); +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +lean_dec(x_86); +x_88 = lean_st_ref_take(x_8, x_87); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec(x_88); +x_91 = !lean_is_exclusive(x_89); if (x_91 == 0) { -uint8_t x_92; -x_92 = !lean_is_exclusive(x_52); -if (x_92 == 0) +lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_92 = lean_ctor_get(x_89, 0); +lean_dec(x_92); +lean_ctor_set(x_89, 0, x_85); +x_93 = lean_st_ref_set(x_8, x_89, x_90); +x_94 = !lean_is_exclusive(x_93); +if (x_94 == 0) { -lean_object* x_93; uint8_t x_94; lean_object* x_95; lean_object* x_96; -x_93 = lean_ctor_get(x_52, 0); -lean_dec(x_93); -x_94 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_94); -lean_ctor_set(x_52, 0, x_48); -x_95 = lean_st_ref_set(x_8, x_52, x_90); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); +lean_object* x_95; +x_95 = lean_ctor_get(x_93, 0); lean_dec(x_95); -x_28 = x_46; -x_29 = x_96; -goto block_36; +lean_ctor_set(x_93, 0, x_84); +x_37 = x_93; +goto block_41; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_97 = lean_ctor_get(x_52, 1); -x_98 = lean_ctor_get(x_52, 2); -x_99 = lean_ctor_get(x_52, 3); +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_93, 1); +lean_inc(x_96); +lean_dec(x_93); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_84); +lean_ctor_set(x_97, 1, x_96); +x_37 = x_97; +goto block_41; +} +} +else +{ +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; +x_98 = lean_ctor_get(x_89, 1); +x_99 = lean_ctor_get(x_89, 2); +x_100 = lean_ctor_get(x_89, 3); +lean_inc(x_100); lean_inc(x_99); lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_52); -x_100 = 1; -lean_ctor_set_uint8(x_48, sizeof(void*)*8, x_100); +lean_dec(x_89); x_101 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_101, 0, x_48); -lean_ctor_set(x_101, 1, x_97); -lean_ctor_set(x_101, 2, x_98); -lean_ctor_set(x_101, 3, x_99); +lean_ctor_set(x_101, 0, x_85); +lean_ctor_set(x_101, 1, x_98); +lean_ctor_set(x_101, 2, x_99); +lean_ctor_set(x_101, 3, x_100); x_102 = lean_st_ref_set(x_8, x_101, x_90); x_103 = lean_ctor_get(x_102, 1); lean_inc(x_103); -lean_dec(x_102); -x_28 = x_46; -x_29 = x_103; -goto block_36; +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_104 = x_102; +} else { + lean_dec_ref(x_102); + x_104 = lean_box(0); +} +if (lean_is_scalar(x_104)) { + x_105 = lean_alloc_ctor(0, 2, 0); +} else { + x_105 = x_104; +} +lean_ctor_set(x_105, 0, x_84); +lean_ctor_set(x_105, 1, x_103); +x_37 = x_105; +goto block_41; +} } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_104 = lean_ctor_get(x_48, 0); -x_105 = lean_ctor_get(x_48, 1); -x_106 = lean_ctor_get(x_48, 2); -x_107 = lean_ctor_get(x_48, 3); -x_108 = lean_ctor_get(x_48, 4); -x_109 = lean_ctor_get(x_48, 5); -x_110 = lean_ctor_get(x_48, 6); -x_111 = lean_ctor_get(x_48, 7); -lean_inc(x_111); -lean_inc(x_110); -lean_inc(x_109); -lean_inc(x_108); +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; uint8_t x_115; +lean_dec(x_51); +x_106 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__12(x_2, x_3, x_45, x_53); +x_107 = lean_ctor_get(x_106, 1); lean_inc(x_107); -lean_inc(x_106); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_48); -x_112 = lean_ctor_get(x_52, 1); -lean_inc(x_112); -x_113 = lean_ctor_get(x_52, 2); +x_108 = lean_ctor_get(x_106, 0); +lean_inc(x_108); +lean_dec(x_106); +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +lean_dec(x_107); +x_110 = lean_st_ref_get(x_10, x_50); +x_111 = lean_ctor_get(x_110, 1); +lean_inc(x_111); +lean_dec(x_110); +x_112 = lean_st_ref_take(x_8, x_111); +x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); -x_114 = lean_ctor_get(x_52, 3); +x_114 = lean_ctor_get(x_112, 1); lean_inc(x_114); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - lean_ctor_release(x_52, 3); - x_115 = x_52; -} else { - lean_dec_ref(x_52); - x_115 = lean_box(0); -} -x_116 = 1; -x_117 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_117, 0, x_104); -lean_ctor_set(x_117, 1, x_105); -lean_ctor_set(x_117, 2, x_106); -lean_ctor_set(x_117, 3, x_107); -lean_ctor_set(x_117, 4, x_108); -lean_ctor_set(x_117, 5, x_109); -lean_ctor_set(x_117, 6, x_110); -lean_ctor_set(x_117, 7, x_111); -lean_ctor_set_uint8(x_117, sizeof(void*)*8, x_116); -if (lean_is_scalar(x_115)) { - x_118 = lean_alloc_ctor(0, 4, 0); -} else { - x_118 = x_115; -} -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_112); -lean_ctor_set(x_118, 2, x_113); -lean_ctor_set(x_118, 3, x_114); -x_119 = lean_st_ref_set(x_8, x_118, x_90); -x_120 = lean_ctor_get(x_119, 1); -lean_inc(x_120); +lean_dec(x_112); +x_115 = !lean_is_exclusive(x_113); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; uint8_t x_118; +x_116 = lean_ctor_get(x_113, 0); +lean_dec(x_116); +lean_ctor_set(x_113, 0, x_109); +x_117 = lean_st_ref_set(x_8, x_113, x_114); +x_118 = !lean_is_exclusive(x_117); +if (x_118 == 0) +{ +lean_object* x_119; +x_119 = lean_ctor_get(x_117, 0); lean_dec(x_119); -x_28 = x_46; -x_29 = x_120; -goto block_36; +lean_ctor_set(x_117, 0, x_108); +x_37 = x_117; +goto block_41; } +else +{ +lean_object* x_120; lean_object* x_121; +x_120 = lean_ctor_get(x_117, 1); +lean_inc(x_120); +lean_dec(x_117); +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_108); +lean_ctor_set(x_121, 1, x_120); +x_37 = x_121; +goto block_41; +} +} +else +{ +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; +x_122 = lean_ctor_get(x_113, 1); +x_123 = lean_ctor_get(x_113, 2); +x_124 = lean_ctor_get(x_113, 3); +lean_inc(x_124); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_113); +x_125 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_125, 0, x_109); +lean_ctor_set(x_125, 1, x_122); +lean_ctor_set(x_125, 2, x_123); +lean_ctor_set(x_125, 3, x_124); +x_126 = lean_st_ref_set(x_8, x_125, x_114); +x_127 = lean_ctor_get(x_126, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_128 = x_126; +} else { + lean_dec_ref(x_126); + x_128 = lean_box(0); +} +if (lean_is_scalar(x_128)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_128; +} +lean_ctor_set(x_129, 0, x_108); +lean_ctor_set(x_129, 1, x_127); +x_37 = x_129; +goto block_41; } } } 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; lean_object* x_142; uint8_t x_143; lean_object* x_144; uint8_t x_219; lean_object* x_220; lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; -x_136 = lean_ctor_get(x_38, 3); +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; uint8_t x_137; lean_object* x_138; uint8_t x_156; lean_object* x_157; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; +x_130 = lean_ctor_get(x_43, 3); +lean_inc(x_130); +x_131 = lean_ctor_get(x_43, 4); +lean_inc(x_131); +lean_dec(x_43); +x_132 = lean_st_ref_get(x_10, x_11); +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_134 = lean_st_ref_get(x_8, x_133); +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); lean_inc(x_136); -x_137 = lean_ctor_get(x_38, 4); -lean_inc(x_137); -lean_dec(x_38); -x_138 = lean_st_ref_get(x_10, x_11); +lean_dec(x_134); +x_170 = lean_ctor_get(x_135, 0); +lean_inc(x_170); +lean_dec(x_135); +x_171 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__56___closed__1; +x_172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +x_173 = l_Lean_Expr_hasFVar(x_130); +if (x_173 == 0) +{ +uint8_t x_174; +x_174 = l_Lean_Expr_hasMVar(x_130); +if (x_174 == 0) +{ +uint8_t x_175; +lean_dec(x_130); +x_175 = 0; +x_156 = x_175; +x_157 = x_172; +goto block_169; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; +x_176 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__36(x_2, x_3, x_130, x_172); +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_156 = x_179; +x_157 = x_178; +goto block_169; +} +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_180 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__44(x_2, x_3, x_130, x_172); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_180, 1); +lean_inc(x_182); +lean_dec(x_180); +x_183 = lean_unbox(x_181); +lean_dec(x_181); +x_156 = x_183; +x_157 = x_182; +goto block_169; +} +block_155: +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; x_139 = lean_ctor_get(x_138, 1); lean_inc(x_139); lean_dec(x_138); -x_140 = lean_st_ref_get(x_8, x_139); -x_141 = lean_ctor_get(x_140, 0); +x_140 = lean_st_ref_get(x_10, x_136); +x_141 = lean_ctor_get(x_140, 1); lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); lean_dec(x_140); -x_233 = lean_ctor_get(x_141, 0); -lean_inc(x_233); -lean_dec(x_141); -x_234 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__56___closed__1; -x_235 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_233); -x_236 = l_Lean_Expr_hasFVar(x_136); -if (x_236 == 0) +x_142 = lean_st_ref_take(x_8, x_141); +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +lean_dec(x_142); +x_145 = !lean_is_exclusive(x_143); +if (x_145 == 0) { -uint8_t x_237; -x_237 = l_Lean_Expr_hasMVar(x_136); -if (x_237 == 0) -{ -uint8_t x_238; -lean_dec(x_136); -x_238 = 0; -x_219 = x_238; -x_220 = x_235; -goto block_232; -} -else -{ -lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; -x_239 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__36(x_2, x_3, x_136, x_235); -x_240 = lean_ctor_get(x_239, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_239, 1); -lean_inc(x_241); -lean_dec(x_239); -x_242 = lean_unbox(x_240); -lean_dec(x_240); -x_219 = x_242; -x_220 = x_241; -goto block_232; -} -} -else -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; -x_243 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__44(x_2, x_3, x_136, x_235); -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_243, 1); -lean_inc(x_245); -lean_dec(x_243); -x_246 = lean_unbox(x_244); -lean_dec(x_244); -x_219 = x_246; -x_220 = x_245; -goto block_232; -} -block_218: -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; -x_145 = lean_ctor_get(x_144, 1); -lean_inc(x_145); -lean_dec(x_144); -x_146 = lean_st_ref_get(x_10, x_142); -x_147 = lean_ctor_get(x_146, 1); -lean_inc(x_147); +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_143, 0); lean_dec(x_146); -x_148 = lean_st_ref_take(x_8, x_147); -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_ctor_get_uint8(x_145, sizeof(void*)*8); -if (x_150 == 0) +lean_ctor_set(x_143, 0, x_139); +x_147 = lean_st_ref_set(x_8, x_143, x_144); +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_28 = x_137; +x_29 = x_148; +goto block_36; +} +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; uint8_t x_161; -x_151 = lean_ctor_get(x_149, 0); +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_149 = lean_ctor_get(x_143, 1); +x_150 = lean_ctor_get(x_143, 2); +x_151 = lean_ctor_get(x_143, 3); lean_inc(x_151); -x_152 = lean_ctor_get(x_148, 1); -lean_inc(x_152); -lean_dec(x_148); -x_153 = lean_ctor_get(x_145, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_145, 1); +lean_inc(x_150); +lean_inc(x_149); +lean_dec(x_143); +x_152 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_152, 0, x_139); +lean_ctor_set(x_152, 1, x_149); +lean_ctor_set(x_152, 2, x_150); +lean_ctor_set(x_152, 3, x_151); +x_153 = lean_st_ref_set(x_8, x_152, x_144); +x_154 = lean_ctor_get(x_153, 1); lean_inc(x_154); -x_155 = lean_ctor_get(x_145, 2); -lean_inc(x_155); -x_156 = lean_ctor_get(x_145, 3); -lean_inc(x_156); -x_157 = lean_ctor_get(x_145, 4); -lean_inc(x_157); -x_158 = lean_ctor_get(x_145, 5); -lean_inc(x_158); -x_159 = lean_ctor_get(x_145, 6); -lean_inc(x_159); -x_160 = lean_ctor_get(x_145, 7); -lean_inc(x_160); -lean_dec(x_145); -x_161 = !lean_is_exclusive(x_149); -if (x_161 == 0) +lean_dec(x_153); +x_28 = x_137; +x_29 = x_154; +goto block_36; +} +} +block_169: { -lean_object* x_162; uint8_t x_163; -x_162 = lean_ctor_get(x_149, 0); +if (x_156 == 0) +{ +uint8_t x_158; +x_158 = l_Lean_Expr_hasFVar(x_131); +if (x_158 == 0) +{ +uint8_t x_159; +x_159 = l_Lean_Expr_hasMVar(x_131); +if (x_159 == 0) +{ +uint8_t x_160; +lean_dec(x_131); +x_160 = 0; +x_137 = x_160; +x_138 = x_157; +goto block_155; +} +else +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; +x_161 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__20(x_2, x_3, x_131, x_157); +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +lean_dec(x_161); +x_164 = lean_unbox(x_162); lean_dec(x_162); -x_163 = !lean_is_exclusive(x_151); -if (x_163 == 0) +x_137 = x_164; +x_138 = x_163; +goto block_155; +} +} +else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_164 = lean_ctor_get(x_151, 7); -lean_dec(x_164); -x_165 = lean_ctor_get(x_151, 6); +lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_165 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__28(x_2, x_3, x_131, x_157); +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +x_167 = lean_ctor_get(x_165, 1); +lean_inc(x_167); lean_dec(x_165); -x_166 = lean_ctor_get(x_151, 5); +x_168 = lean_unbox(x_166); lean_dec(x_166); -x_167 = lean_ctor_get(x_151, 4); -lean_dec(x_167); -x_168 = lean_ctor_get(x_151, 3); -lean_dec(x_168); -x_169 = lean_ctor_get(x_151, 2); -lean_dec(x_169); -x_170 = lean_ctor_get(x_151, 1); -lean_dec(x_170); -x_171 = lean_ctor_get(x_151, 0); -lean_dec(x_171); -lean_ctor_set(x_151, 7, x_160); -lean_ctor_set(x_151, 6, x_159); -lean_ctor_set(x_151, 5, x_158); -lean_ctor_set(x_151, 4, x_157); -lean_ctor_set(x_151, 3, x_156); -lean_ctor_set(x_151, 2, x_155); -lean_ctor_set(x_151, 1, x_154); -lean_ctor_set(x_151, 0, x_153); -x_172 = lean_st_ref_set(x_8, x_149, x_152); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); -lean_dec(x_172); -x_28 = x_143; -x_29 = x_173; -goto block_36; -} -else -{ -uint8_t x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_174 = lean_ctor_get_uint8(x_151, sizeof(void*)*8); -lean_dec(x_151); -x_175 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_175, 0, x_153); -lean_ctor_set(x_175, 1, x_154); -lean_ctor_set(x_175, 2, x_155); -lean_ctor_set(x_175, 3, x_156); -lean_ctor_set(x_175, 4, x_157); -lean_ctor_set(x_175, 5, x_158); -lean_ctor_set(x_175, 6, x_159); -lean_ctor_set(x_175, 7, x_160); -lean_ctor_set_uint8(x_175, sizeof(void*)*8, x_174); -lean_ctor_set(x_149, 0, x_175); -x_176 = lean_st_ref_set(x_8, x_149, x_152); -x_177 = lean_ctor_get(x_176, 1); -lean_inc(x_177); -lean_dec(x_176); -x_28 = x_143; -x_29 = x_177; -goto block_36; +x_137 = x_168; +x_138 = x_167; +goto block_155; } } else { -lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_178 = lean_ctor_get(x_149, 1); -x_179 = lean_ctor_get(x_149, 2); -x_180 = lean_ctor_get(x_149, 3); -lean_inc(x_180); -lean_inc(x_179); -lean_inc(x_178); -lean_dec(x_149); -x_181 = lean_ctor_get_uint8(x_151, sizeof(void*)*8); -if (lean_is_exclusive(x_151)) { - lean_ctor_release(x_151, 0); - lean_ctor_release(x_151, 1); - lean_ctor_release(x_151, 2); - lean_ctor_release(x_151, 3); - lean_ctor_release(x_151, 4); - lean_ctor_release(x_151, 5); - lean_ctor_release(x_151, 6); - lean_ctor_release(x_151, 7); - x_182 = x_151; -} else { - lean_dec_ref(x_151); - x_182 = lean_box(0); -} -if (lean_is_scalar(x_182)) { - x_183 = lean_alloc_ctor(0, 8, 1); -} else { - x_183 = x_182; -} -lean_ctor_set(x_183, 0, x_153); -lean_ctor_set(x_183, 1, x_154); -lean_ctor_set(x_183, 2, x_155); -lean_ctor_set(x_183, 3, x_156); -lean_ctor_set(x_183, 4, x_157); -lean_ctor_set(x_183, 5, x_158); -lean_ctor_set(x_183, 6, x_159); -lean_ctor_set(x_183, 7, x_160); -lean_ctor_set_uint8(x_183, sizeof(void*)*8, x_181); -x_184 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_184, 0, x_183); -lean_ctor_set(x_184, 1, x_178); -lean_ctor_set(x_184, 2, x_179); -lean_ctor_set(x_184, 3, x_180); -x_185 = lean_st_ref_set(x_8, x_184, x_152); -x_186 = lean_ctor_get(x_185, 1); -lean_inc(x_186); -lean_dec(x_185); -x_28 = x_143; -x_29 = x_186; -goto block_36; -} -} -else -{ -lean_object* x_187; uint8_t x_188; -x_187 = lean_ctor_get(x_148, 1); -lean_inc(x_187); -lean_dec(x_148); -x_188 = !lean_is_exclusive(x_145); -if (x_188 == 0) -{ -uint8_t x_189; -x_189 = !lean_is_exclusive(x_149); -if (x_189 == 0) -{ -lean_object* x_190; uint8_t x_191; lean_object* x_192; lean_object* x_193; -x_190 = lean_ctor_get(x_149, 0); -lean_dec(x_190); -x_191 = 1; -lean_ctor_set_uint8(x_145, sizeof(void*)*8, x_191); -lean_ctor_set(x_149, 0, x_145); -x_192 = lean_st_ref_set(x_8, x_149, x_187); -x_193 = lean_ctor_get(x_192, 1); -lean_inc(x_193); -lean_dec(x_192); -x_28 = x_143; -x_29 = x_193; -goto block_36; -} -else -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; -x_194 = lean_ctor_get(x_149, 1); -x_195 = lean_ctor_get(x_149, 2); -x_196 = lean_ctor_get(x_149, 3); -lean_inc(x_196); -lean_inc(x_195); -lean_inc(x_194); -lean_dec(x_149); -x_197 = 1; -lean_ctor_set_uint8(x_145, sizeof(void*)*8, x_197); -x_198 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_198, 0, x_145); -lean_ctor_set(x_198, 1, x_194); -lean_ctor_set(x_198, 2, x_195); -lean_ctor_set(x_198, 3, x_196); -x_199 = lean_st_ref_set(x_8, x_198, x_187); -x_200 = lean_ctor_get(x_199, 1); -lean_inc(x_200); -lean_dec(x_199); -x_28 = x_143; -x_29 = x_200; -goto block_36; -} -} -else -{ -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; -x_201 = lean_ctor_get(x_145, 0); -x_202 = lean_ctor_get(x_145, 1); -x_203 = lean_ctor_get(x_145, 2); -x_204 = lean_ctor_get(x_145, 3); -x_205 = lean_ctor_get(x_145, 4); -x_206 = lean_ctor_get(x_145, 5); -x_207 = lean_ctor_get(x_145, 6); -x_208 = lean_ctor_get(x_145, 7); -lean_inc(x_208); -lean_inc(x_207); -lean_inc(x_206); -lean_inc(x_205); -lean_inc(x_204); -lean_inc(x_203); -lean_inc(x_202); -lean_inc(x_201); -lean_dec(x_145); -x_209 = lean_ctor_get(x_149, 1); -lean_inc(x_209); -x_210 = lean_ctor_get(x_149, 2); -lean_inc(x_210); -x_211 = lean_ctor_get(x_149, 3); -lean_inc(x_211); -if (lean_is_exclusive(x_149)) { - lean_ctor_release(x_149, 0); - lean_ctor_release(x_149, 1); - lean_ctor_release(x_149, 2); - lean_ctor_release(x_149, 3); - x_212 = x_149; -} else { - lean_dec_ref(x_149); - x_212 = lean_box(0); -} -x_213 = 1; -x_214 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_214, 0, x_201); -lean_ctor_set(x_214, 1, x_202); -lean_ctor_set(x_214, 2, x_203); -lean_ctor_set(x_214, 3, x_204); -lean_ctor_set(x_214, 4, x_205); -lean_ctor_set(x_214, 5, x_206); -lean_ctor_set(x_214, 6, x_207); -lean_ctor_set(x_214, 7, x_208); -lean_ctor_set_uint8(x_214, sizeof(void*)*8, x_213); -if (lean_is_scalar(x_212)) { - x_215 = lean_alloc_ctor(0, 4, 0); -} else { - x_215 = x_212; -} -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_209); -lean_ctor_set(x_215, 2, x_210); -lean_ctor_set(x_215, 3, x_211); -x_216 = lean_st_ref_set(x_8, x_215, x_187); -x_217 = lean_ctor_get(x_216, 1); -lean_inc(x_217); -lean_dec(x_216); -x_28 = x_143; -x_29 = x_217; -goto block_36; -} -} -} -block_232: -{ -if (x_219 == 0) -{ -uint8_t x_221; -x_221 = l_Lean_Expr_hasFVar(x_137); -if (x_221 == 0) -{ -uint8_t x_222; -x_222 = l_Lean_Expr_hasMVar(x_137); -if (x_222 == 0) -{ -uint8_t x_223; -lean_dec(x_137); -x_223 = 0; -x_143 = x_223; -x_144 = x_220; -goto block_218; -} -else -{ -lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; -x_224 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__20(x_2, x_3, x_137, x_220); -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_224, 1); -lean_inc(x_226); -lean_dec(x_224); -x_227 = lean_unbox(x_225); -lean_dec(x_225); -x_143 = x_227; -x_144 = x_226; -goto block_218; -} -} -else -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; -x_228 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__28(x_2, x_3, x_137, x_220); -x_229 = lean_ctor_get(x_228, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_228, 1); -lean_inc(x_230); -lean_dec(x_228); -x_231 = lean_unbox(x_229); -lean_dec(x_229); -x_143 = x_231; -x_144 = x_230; -goto block_218; -} -} -else -{ -lean_dec(x_137); -x_143 = x_219; -x_144 = x_220; -goto block_218; +lean_dec(x_131); +x_137 = x_156; +x_138 = x_157; +goto block_155; } } } } else { -lean_dec(x_38); -x_28 = x_39; +lean_dec(x_43); +x_28 = x_44; x_29 = x_11; goto block_36; } @@ -11016,16 +10495,30 @@ x_23 = x_35; goto block_27; } } +block_41: +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_unbox(x_38); +lean_dec(x_38); +x_28 = x_40; +x_29 = x_39; +goto block_36; +} } else { -uint8_t x_260; lean_object* x_261; lean_object* x_262; -x_260 = 0; -x_261 = lean_box(x_260); -x_262 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_262, 0, x_261); -lean_ctor_set(x_262, 1, x_11); -return x_262; +uint8_t x_197; lean_object* x_198; lean_object* x_199; +x_197 = 0; +x_198 = lean_box(x_197); +x_199 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_11); +return x_199; } } } @@ -12236,6 +11729,7 @@ x_34 = lean_ctor_get(x_26, 1); lean_inc(x_34); lean_dec(x_26); x_35 = l_Lean_Meta_SavedState_restore(x_24, x_5, x_6, x_7, x_8, x_34); +lean_dec(x_24); x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); lean_dec(x_35); @@ -12592,7 +12086,7 @@ static lean_object* _init_l_Lean_Meta_Cases_unifyEqs_x3f___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_acyclic), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_MVarId_acyclic), 7, 0); return x_1; } } @@ -13800,6 +13294,14 @@ lean_dec(x_4); return x_10; } } +LEAN_EXPORT lean_object* l_Lean_MVarId_cases(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_Cases_cases(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_cases(lean_object* x_1, 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: { @@ -13808,7 +13310,7 @@ x_9 = l_Lean_Meta_Cases_cases(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_9; } } -LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Meta_casesRec___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_MVarId_casesRec___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -13864,7 +13366,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_Meta_casesRec___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_MVarId_casesRec___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -13924,6 +13426,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { @@ -13949,7 +13452,7 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_Meta_casesRec___spec__2___at_Lean_Meta_casesRec___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_MVarId_casesRec___spec__2___at_Lean_MVarId_casesRec___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -13979,7 +13482,7 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_12, 0); x_15 = lean_array_to_list(lean_box(0), x_14); x_16 = lean_box(0); -x_17 = l_List_mapTRAux___at_Lean_Meta_casesRec___spec__1(x_15, x_16); +x_17 = l_List_mapTRAux___at_Lean_MVarId_casesRec___spec__1(x_15, x_16); x_18 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_12, 0, x_18); @@ -13995,7 +13498,7 @@ lean_inc(x_19); lean_dec(x_12); x_21 = lean_array_to_list(lean_box(0), x_19); x_22 = lean_box(0); -x_23 = l_List_mapTRAux___at_Lean_Meta_casesRec___spec__1(x_21, x_22); +x_23 = l_List_mapTRAux___at_Lean_MVarId_casesRec___spec__1(x_21, x_22); x_24 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_24, 0, x_23); x_25 = lean_alloc_ctor(0, 2, 0); @@ -14015,6 +13518,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_10); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) { @@ -14040,7 +13544,7 @@ return x_33; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___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, size_t x_7, size_t 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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___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, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; @@ -14082,7 +13586,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_21 = l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5(x_1, x_2, x_3, x_4, x_17, x_19, x_10, x_11, x_12, x_13, x_14); +x_21 = l_Std_PersistentArray_forInAux___at_Lean_MVarId_casesRec___spec__5(x_1, x_2, x_3, x_4, x_17, x_19, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; @@ -14196,7 +13700,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_39 = l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5(x_1, x_2, x_3, x_4, x_17, x_38, x_10, x_11, x_12, x_13, x_14); +x_39 = l_Std_PersistentArray_forInAux___at_Lean_MVarId_casesRec___spec__5(x_1, x_2, x_3, x_4, x_17, x_38, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_39) == 0) { lean_object* x_40; @@ -14298,7 +13802,7 @@ return x_55; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_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) { _start: { uint8_t x_14; @@ -14394,7 +13898,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_2); -x_41 = l_Lean_observing_x3f___at_Lean_Meta_casesRec___spec__2___at_Lean_Meta_casesRec___spec__3(x_2, x_39, x_40, x_9, x_10, x_11, x_12, x_38); +x_41 = l_Lean_observing_x3f___at_Lean_MVarId_casesRec___spec__2___at_Lean_MVarId_casesRec___spec__3(x_2, x_39, x_40, x_9, x_10, x_11, x_12, x_38); x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); if (lean_obj_tag(x_42) == 0) @@ -14513,7 +14017,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_2); -x_62 = l_Lean_observing_x3f___at_Lean_Meta_casesRec___spec__2___at_Lean_Meta_casesRec___spec__3(x_2, x_60, x_61, x_9, x_10, x_11, x_12, x_59); +x_62 = l_Lean_observing_x3f___at_Lean_MVarId_casesRec___spec__2___at_Lean_MVarId_casesRec___spec__3(x_2, x_60, x_61, x_9, x_10, x_11, x_12, x_59); x_63 = lean_ctor_get(x_62, 0); lean_inc(x_63); if (lean_obj_tag(x_63) == 0) @@ -14639,7 +14143,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_MVarId_casesRec___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -14651,7 +14155,7 @@ lean_ctor_set(x_9, 1, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_MVarId_casesRec___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_5) == 0) @@ -14672,7 +14176,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__6(x_1, x_2, x_3, x_4, x_13, x_12, x_16, x_17, x_14, x_7, x_8, x_9, x_10, x_11); +x_18 = l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__6(x_1, x_2, x_3, x_4, x_13, x_12, x_16, x_17, x_14, x_7, x_8, x_9, x_10, x_11); lean_dec(x_12); if (lean_obj_tag(x_18) == 0) { @@ -14691,7 +14195,7 @@ x_22 = lean_ctor_get(x_19, 1); lean_inc(x_22); lean_dec(x_19); x_23 = lean_box(0); -x_24 = l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5___lambda__1(x_22, x_23, x_7, x_8, x_9, x_10, x_21); +x_24 = l_Std_PersistentArray_forInAux___at_Lean_MVarId_casesRec___spec__5___lambda__1(x_22, x_23, x_7, x_8, x_9, x_10, x_21); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -14780,7 +14284,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_41 = l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__7(x_1, x_2, x_3, x_36, x_35, x_39, x_40, x_37, x_7, x_8, x_9, x_10, x_11); +x_41 = l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__7(x_1, x_2, x_3, x_36, x_35, x_39, x_40, x_37, x_7, x_8, x_9, x_10, x_11); lean_dec(x_35); if (lean_obj_tag(x_41) == 0) { @@ -14799,7 +14303,7 @@ x_45 = lean_ctor_get(x_42, 1); lean_inc(x_45); lean_dec(x_42); x_46 = lean_box(0); -x_47 = l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5___lambda__1(x_45, x_46, x_7, x_8, x_9, x_10, x_44); +x_47 = l_Std_PersistentArray_forInAux___at_Lean_MVarId_casesRec___spec__5___lambda__1(x_45, x_46, x_7, x_8, x_9, x_10, x_44); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -14871,7 +14375,7 @@ return x_57; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_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) { _start: { uint8_t x_14; @@ -14967,7 +14471,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_2); -x_42 = l_Lean_observing_x3f___at_Lean_Meta_casesRec___spec__2___at_Lean_Meta_casesRec___spec__3(x_2, x_40, x_41, x_9, x_10, x_11, x_12, x_39); +x_42 = l_Lean_observing_x3f___at_Lean_MVarId_casesRec___spec__2___at_Lean_MVarId_casesRec___spec__3(x_2, x_40, x_41, x_9, x_10, x_11, x_12, x_39); x_43 = lean_ctor_get(x_42, 0); lean_inc(x_43); if (lean_obj_tag(x_43) == 0) @@ -15086,7 +14590,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_2); -x_63 = l_Lean_observing_x3f___at_Lean_Meta_casesRec___spec__2___at_Lean_Meta_casesRec___spec__3(x_2, x_61, x_62, x_9, x_10, x_11, x_12, x_60); +x_63 = l_Lean_observing_x3f___at_Lean_MVarId_casesRec___spec__2___at_Lean_MVarId_casesRec___spec__3(x_2, x_61, x_62, x_9, x_10, x_11, x_12, x_60); x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); if (lean_obj_tag(x_64) == 0) @@ -15215,7 +14719,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_casesRec___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_MVarId_casesRec___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -15225,7 +14729,7 @@ lean_ctor_set(x_8, 1, x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_casesRec___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_MVarId_casesRec___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; @@ -15239,7 +14743,7 @@ lean_inc(x_5); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_12 = l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5(x_1, x_2, x_3, x_5, x_11, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = l_Std_PersistentArray_forInAux___at_Lean_MVarId_casesRec___spec__5(x_1, x_2, x_3, x_5, x_11, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; @@ -15303,7 +14807,7 @@ x_25 = lean_array_get_size(x_22); x_26 = lean_usize_of_nat(x_25); lean_dec(x_25); x_27 = 0; -x_28 = l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__8(x_1, x_2, x_3, x_23, x_22, x_26, x_27, x_24, x_6, x_7, x_8, x_9, x_20); +x_28 = l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__8(x_1, x_2, x_3, x_23, x_22, x_26, x_27, x_24, x_6, x_7, x_8, x_9, x_20); lean_dec(x_22); if (lean_obj_tag(x_28) == 0) { @@ -15430,7 +14934,7 @@ return x_50; } } } -static lean_object* _init_l_Lean_Meta_casesRec___lambda__1___closed__1() { +static lean_object* _init_l_Lean_MVarId_casesRec___lambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -15442,7 +14946,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_casesRec___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_MVarId_casesRec___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -15452,8 +14956,8 @@ x_9 = lean_box(0); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = l_Lean_Meta_casesRec___lambda__1___closed__1; -x_12 = l_Std_PersistentArray_forIn___at_Lean_Meta_casesRec___spec__4(x_1, x_2, x_11, x_10, x_11, x_3, x_4, x_5, x_6, x_7); +x_11 = l_Lean_MVarId_casesRec___lambda__1___closed__1; +x_12 = l_Std_PersistentArray_forIn___at_Lean_MVarId_casesRec___spec__4(x_1, x_2, x_11, x_10, x_11, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; @@ -15541,29 +15045,29 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_casesRec___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_MVarId_casesRec___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_inc(x_2); -x_8 = lean_alloc_closure((void*)(l_Lean_Meta_casesRec___lambda__1), 7, 2); +x_8 = lean_alloc_closure((void*)(l_Lean_MVarId_casesRec___lambda__1), 7, 2); lean_closure_set(x_8, 0, x_1); lean_closure_set(x_8, 1, x_2); x_9 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_2, x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_casesRec(lean_object* x_1, 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_EXPORT lean_object* l_Lean_MVarId_casesRec(lean_object* x_1, 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_alloc_closure((void*)(l_Lean_Meta_casesRec___lambda__2), 7, 1); +x_8 = lean_alloc_closure((void*)(l_Lean_MVarId_casesRec___lambda__2), 7, 1); lean_closure_set(x_8, 0, x_2); x_9 = l_Lean_Meta_saturate(x_1, x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___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, 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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { size_t x_15; size_t x_16; lean_object* x_17; @@ -15571,12 +15075,12 @@ x_15 = lean_unbox_usize(x_7); lean_dec(x_7); x_16 = lean_unbox_usize(x_8); lean_dec(x_8); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_16, x_9, x_10, x_11, x_12, x_13, x_14); +x_17 = l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_16, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_6); return x_17; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { size_t x_14; size_t x_15; lean_object* x_16; @@ -15584,16 +15088,16 @@ x_14 = lean_unbox_usize(x_6); lean_dec(x_6); x_15 = lean_unbox_usize(x_7); lean_dec(x_7); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__7(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__7(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_5); return x_16; } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5___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_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_MVarId_casesRec___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Std_PersistentArray_forInAux___at_Lean_Meta_casesRec___spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Std_PersistentArray_forInAux___at_Lean_MVarId_casesRec___spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -15602,7 +15106,7 @@ lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___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* 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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___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* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { size_t x_14; size_t x_15; lean_object* x_16; @@ -15610,16 +15114,16 @@ x_14 = lean_unbox_usize(x_6); lean_dec(x_6); x_15 = lean_unbox_usize(x_7); lean_dec(x_7); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Meta_casesRec___spec__8(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Array_forInUnsafe_loop___at_Lean_MVarId_casesRec___spec__8(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_5); return x_16; } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_casesRec___spec__4___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_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_MVarId_casesRec___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Std_PersistentArray_forIn___at_Lean_Meta_casesRec___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Std_PersistentArray_forIn___at_Lean_MVarId_casesRec___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -15628,7 +15132,7 @@ lean_dec(x_2); return x_8; } } -static lean_object* _init_l_Lean_Meta_casesAnd___lambda__1___closed__1() { +static lean_object* _init_l_Lean_MVarId_casesAnd___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -15636,17 +15140,17 @@ x_1 = lean_mk_string_from_bytes("And", 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_casesAnd___lambda__1___closed__2() { +static lean_object* _init_l_Lean_MVarId_casesAnd___lambda__1___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_casesAnd___lambda__1___closed__1; +x_2 = l_Lean_MVarId_casesAnd___lambda__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_casesAnd___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_EXPORT lean_object* l_Lean_MVarId_casesAnd___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: { lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -15657,7 +15161,7 @@ if (x_9 == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_10 = lean_ctor_get(x_8, 0); -x_11 = l_Lean_Meta_casesAnd___lambda__1___closed__2; +x_11 = l_Lean_MVarId_casesAnd___lambda__1___closed__2; x_12 = lean_unsigned_to_nat(2u); x_13 = l_Lean_Expr_isAppOfArity(x_10, x_11, x_12); lean_dec(x_10); @@ -15673,7 +15177,7 @@ x_16 = lean_ctor_get(x_8, 1); lean_inc(x_16); lean_inc(x_15); lean_dec(x_8); -x_17 = l_Lean_Meta_casesAnd___lambda__1___closed__2; +x_17 = l_Lean_MVarId_casesAnd___lambda__1___closed__2; x_18 = lean_unsigned_to_nat(2u); x_19 = l_Lean_Expr_isAppOfArity(x_15, x_17, x_18); lean_dec(x_15); @@ -15685,15 +15189,15 @@ return x_21; } } } -static lean_object* _init_l_Lean_Meta_casesAnd___closed__1() { +static lean_object* _init_l_Lean_MVarId_casesAnd___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_casesAnd___lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_MVarId_casesAnd___lambda__1___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_casesAnd___closed__2() { +static lean_object* _init_l_Lean_MVarId_casesAnd___closed__2() { _start: { lean_object* x_1; @@ -15701,36 +15205,36 @@ x_1 = lean_mk_string_from_bytes("unexpected number of goals", 26); return x_1; } } -static lean_object* _init_l_Lean_Meta_casesAnd___closed__3() { +static lean_object* _init_l_Lean_MVarId_casesAnd___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_casesAnd___closed__2; +x_1 = l_Lean_MVarId_casesAnd___closed__2; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_casesAnd___closed__4() { +static lean_object* _init_l_Lean_MVarId_casesAnd___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_casesAnd___closed__3; +x_1 = l_Lean_MVarId_casesAnd___closed__3; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_casesAnd(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_MVarId_casesAnd(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Meta_casesAnd___closed__1; +x_7 = l_Lean_MVarId_casesAnd___closed__1; lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_8 = l_Lean_Meta_casesRec(x_1, x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Lean_MVarId_casesRec(x_1, x_7, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -15739,7 +15243,7 @@ lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = l_Lean_Meta_casesAnd___closed__4; +x_11 = l_Lean_MVarId_casesAnd___closed__4; x_12 = l_Lean_Meta_exactlyOne(x_9, x_11, x_2, x_3, x_4, x_5, x_10); return x_12; } @@ -15771,11 +15275,11 @@ return x_16; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_casesAnd___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_EXPORT lean_object* l_Lean_MVarId_casesAnd___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Meta_casesAnd___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_MVarId_casesAnd___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -15784,7 +15288,7 @@ lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Meta_substEqs___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_EXPORT lean_object* l_Lean_MVarId_substEqs___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: { lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -15849,24 +15353,24 @@ return x_24; } } } -static lean_object* _init_l_Lean_Meta_substEqs___closed__1() { +static lean_object* _init_l_Lean_MVarId_substEqs___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_substEqs___lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_MVarId_substEqs___lambda__1___boxed), 6, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Meta_substEqs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_MVarId_substEqs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Meta_substEqs___closed__1; +x_7 = l_Lean_MVarId_substEqs___closed__1; lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_8 = l_Lean_Meta_casesRec(x_1, x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Lean_MVarId_casesRec(x_1, x_7, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -15875,7 +15379,7 @@ lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = l_Lean_Meta_casesAnd___closed__4; +x_11 = l_Lean_MVarId_casesAnd___closed__4; x_12 = l_Lean_Meta_ensureAtMostOne(x_9, x_11, x_2, x_3, x_4, x_5, x_10); return x_12; } @@ -15907,11 +15411,11 @@ return x_16; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_substEqs___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_EXPORT lean_object* l_Lean_MVarId_substEqs___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Meta_substEqs___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_MVarId_substEqs___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -15920,7 +15424,7 @@ lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_byCases_toByCasesSubgoal___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -15958,7 +15462,7 @@ return x_15; } } } -static lean_object* _init_l_Lean_Meta_byCases_toByCasesSubgoal___closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___closed__1() { _start: { lean_object* x_1; @@ -15966,16 +15470,16 @@ x_1 = lean_mk_string_from_bytes("'byCases' tactic failed, unexpected new hypothe return x_1; } } -static lean_object* _init_l_Lean_Meta_byCases_toByCasesSubgoal___closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_byCases_toByCasesSubgoal___closed__1; +x_1 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_byCases_toByCasesSubgoal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -15993,8 +15497,8 @@ if (x_11 == 0) lean_object* x_12; lean_object* x_13; lean_dec(x_8); lean_dec(x_7); -x_12 = l_Lean_Meta_byCases_toByCasesSubgoal___closed__2; -x_13 = l_Lean_throwError___at_Lean_Meta_byCases_toByCasesSubgoal___spec__1(x_12, x_2, x_3, x_4, x_5, x_6); +x_12 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___closed__2; +x_13 = l_Lean_throwError___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___spec__1(x_12, x_2, x_3, x_4, x_5, x_6); return x_13; } else @@ -16025,18 +15529,18 @@ else lean_object* x_20; lean_object* x_21; lean_dec(x_15); lean_dec(x_7); -x_20 = l_Lean_Meta_byCases_toByCasesSubgoal___closed__2; -x_21 = l_Lean_throwError___at_Lean_Meta_byCases_toByCasesSubgoal___spec__1(x_20, x_2, x_3, x_4, x_5, x_6); +x_20 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___closed__2; +x_21 = l_Lean_throwError___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___spec__1(x_20, x_2, x_3, x_4, x_5, x_6); return x_21; } } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_byCases_toByCasesSubgoal___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_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___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: { lean_object* x_7; -x_7 = l_Lean_throwError___at_Lean_Meta_byCases_toByCasesSubgoal___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwError___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -16044,11 +15548,11 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Meta_byCases_toByCasesSubgoal___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_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___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_Meta_byCases_toByCasesSubgoal(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -16056,7 +15560,7 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_byCases___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_MVarId_byCases___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -16094,7 +15598,7 @@ return x_15; } } } -static lean_object* _init_l_Lean_Meta_byCases___closed__1() { +static lean_object* _init_l_Lean_MVarId_byCases___closed__1() { _start: { lean_object* x_1; @@ -16102,17 +15606,17 @@ x_1 = lean_mk_string_from_bytes("hByCases", 8); return x_1; } } -static lean_object* _init_l_Lean_Meta_byCases___closed__2() { +static lean_object* _init_l_Lean_MVarId_byCases___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_byCases___closed__1; +x_2 = l_Lean_MVarId_byCases___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_byCases___closed__3() { +static lean_object* _init_l_Lean_MVarId_byCases___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -16121,7 +15625,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_byCases___closed__4() { +static lean_object* _init_l_Lean_MVarId_byCases___closed__4() { _start: { lean_object* x_1; @@ -16129,16 +15633,16 @@ x_1 = lean_mk_string_from_bytes("'byCases' tactic failed, unexpected number of s return x_1; } } -static lean_object* _init_l_Lean_Meta_byCases___closed__5() { +static lean_object* _init_l_Lean_MVarId_byCases___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_byCases___closed__4; +x_1 = l_Lean_MVarId_byCases___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_byCases(lean_object* x_1, 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_EXPORT lean_object* l_Lean_MVarId_byCases(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -16147,7 +15651,7 @@ x_9 = l_Lean_mkNot(x_2); lean_inc(x_2); x_10 = l_Lean_mkOr(x_2, x_9); x_11 = l_Lean_mkEM(x_2); -x_12 = l_Lean_Meta_byCases___closed__2; +x_12 = l_Lean_MVarId_byCases___closed__2; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -16188,7 +15692,7 @@ lean_ctor_set(x_24, 1, x_23); x_25 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_25, 0, x_24); lean_ctor_set_uint8(x_25, sizeof(void*)*1, x_16); -x_26 = l_Lean_Meta_byCases___closed__3; +x_26 = l_Lean_MVarId_byCases___closed__3; lean_inc(x_25); x_27 = lean_array_push(x_26, x_25); x_28 = lean_array_push(x_27, x_25); @@ -16214,8 +15718,8 @@ if (x_34 == 0) lean_object* x_35; lean_object* x_36; lean_dec(x_30); lean_free_object(x_18); -x_35 = l_Lean_Meta_byCases___closed__5; -x_36 = l_Lean_throwError___at_Lean_Meta_byCases___spec__1(x_35, x_4, x_5, x_6, x_7, x_31); +x_35 = l_Lean_MVarId_byCases___closed__5; +x_36 = l_Lean_throwError___at_Lean_MVarId_byCases___spec__1(x_35, x_4, x_5, x_6, x_7, x_31); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -16230,7 +15734,7 @@ x_38 = lean_array_fget(x_30, x_37); x_39 = lean_unsigned_to_nat(1u); x_40 = lean_array_fget(x_30, x_39); lean_dec(x_30); -x_41 = l_Lean_Meta_byCases_toByCasesSubgoal(x_38, x_4, x_5, x_6, x_7, x_31); +x_41 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal(x_38, x_4, x_5, x_6, x_7, x_31); if (lean_obj_tag(x_41) == 0) { lean_object* x_42; lean_object* x_43; lean_object* x_44; @@ -16239,7 +15743,7 @@ lean_inc(x_42); x_43 = lean_ctor_get(x_41, 1); lean_inc(x_43); lean_dec(x_41); -x_44 = l_Lean_Meta_byCases_toByCasesSubgoal(x_40, x_4, x_5, x_6, x_7, x_43); +x_44 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal(x_40, x_4, x_5, x_6, x_7, x_43); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -16371,7 +15875,7 @@ lean_ctor_set(x_65, 1, x_64); x_66 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_66, 0, x_65); lean_ctor_set_uint8(x_66, sizeof(void*)*1, x_16); -x_67 = l_Lean_Meta_byCases___closed__3; +x_67 = l_Lean_MVarId_byCases___closed__3; lean_inc(x_66); x_68 = lean_array_push(x_67, x_66); x_69 = lean_array_push(x_68, x_66); @@ -16396,8 +15900,8 @@ if (x_75 == 0) { lean_object* x_76; lean_object* x_77; lean_dec(x_71); -x_76 = l_Lean_Meta_byCases___closed__5; -x_77 = l_Lean_throwError___at_Lean_Meta_byCases___spec__1(x_76, x_4, x_5, x_6, x_7, x_72); +x_76 = l_Lean_MVarId_byCases___closed__5; +x_77 = l_Lean_throwError___at_Lean_MVarId_byCases___spec__1(x_76, x_4, x_5, x_6, x_7, x_72); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -16412,7 +15916,7 @@ x_79 = lean_array_fget(x_71, x_78); x_80 = lean_unsigned_to_nat(1u); x_81 = lean_array_fget(x_71, x_80); lean_dec(x_71); -x_82 = l_Lean_Meta_byCases_toByCasesSubgoal(x_79, x_4, x_5, x_6, x_7, x_72); +x_82 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal(x_79, x_4, x_5, x_6, x_7, x_72); if (lean_obj_tag(x_82) == 0) { lean_object* x_83; lean_object* x_84; lean_object* x_85; @@ -16421,7 +15925,7 @@ lean_inc(x_83); x_84 = lean_ctor_get(x_82, 1); lean_inc(x_84); lean_dec(x_82); -x_85 = l_Lean_Meta_byCases_toByCasesSubgoal(x_81, x_4, x_5, x_6, x_7, x_84); +x_85 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal(x_81, x_4, x_5, x_6, x_7, x_84); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -16597,11 +16101,11 @@ return x_110; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_byCases___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_EXPORT lean_object* l_Lean_throwError___at_Lean_MVarId_byCases___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: { lean_object* x_7; -x_7 = l_Lean_throwError___at_Lean_Meta_byCases___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwError___at_Lean_MVarId_byCases___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -16609,7 +16113,7 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Cases___hyg_3318_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Cases___hyg_3335_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -16759,37 +16263,37 @@ l_Lean_Meta_Cases_cases___lambda__2___closed__11 = _init_l_Lean_Meta_Cases_cases lean_mark_persistent(l_Lean_Meta_Cases_cases___lambda__2___closed__11); l_Lean_Meta_Cases_cases___closed__1 = _init_l_Lean_Meta_Cases_cases___closed__1(); lean_mark_persistent(l_Lean_Meta_Cases_cases___closed__1); -l_Lean_Meta_casesRec___lambda__1___closed__1 = _init_l_Lean_Meta_casesRec___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_casesRec___lambda__1___closed__1); -l_Lean_Meta_casesAnd___lambda__1___closed__1 = _init_l_Lean_Meta_casesAnd___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_casesAnd___lambda__1___closed__1); -l_Lean_Meta_casesAnd___lambda__1___closed__2 = _init_l_Lean_Meta_casesAnd___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_casesAnd___lambda__1___closed__2); -l_Lean_Meta_casesAnd___closed__1 = _init_l_Lean_Meta_casesAnd___closed__1(); -lean_mark_persistent(l_Lean_Meta_casesAnd___closed__1); -l_Lean_Meta_casesAnd___closed__2 = _init_l_Lean_Meta_casesAnd___closed__2(); -lean_mark_persistent(l_Lean_Meta_casesAnd___closed__2); -l_Lean_Meta_casesAnd___closed__3 = _init_l_Lean_Meta_casesAnd___closed__3(); -lean_mark_persistent(l_Lean_Meta_casesAnd___closed__3); -l_Lean_Meta_casesAnd___closed__4 = _init_l_Lean_Meta_casesAnd___closed__4(); -lean_mark_persistent(l_Lean_Meta_casesAnd___closed__4); -l_Lean_Meta_substEqs___closed__1 = _init_l_Lean_Meta_substEqs___closed__1(); -lean_mark_persistent(l_Lean_Meta_substEqs___closed__1); -l_Lean_Meta_byCases_toByCasesSubgoal___closed__1 = _init_l_Lean_Meta_byCases_toByCasesSubgoal___closed__1(); -lean_mark_persistent(l_Lean_Meta_byCases_toByCasesSubgoal___closed__1); -l_Lean_Meta_byCases_toByCasesSubgoal___closed__2 = _init_l_Lean_Meta_byCases_toByCasesSubgoal___closed__2(); -lean_mark_persistent(l_Lean_Meta_byCases_toByCasesSubgoal___closed__2); -l_Lean_Meta_byCases___closed__1 = _init_l_Lean_Meta_byCases___closed__1(); -lean_mark_persistent(l_Lean_Meta_byCases___closed__1); -l_Lean_Meta_byCases___closed__2 = _init_l_Lean_Meta_byCases___closed__2(); -lean_mark_persistent(l_Lean_Meta_byCases___closed__2); -l_Lean_Meta_byCases___closed__3 = _init_l_Lean_Meta_byCases___closed__3(); -lean_mark_persistent(l_Lean_Meta_byCases___closed__3); -l_Lean_Meta_byCases___closed__4 = _init_l_Lean_Meta_byCases___closed__4(); -lean_mark_persistent(l_Lean_Meta_byCases___closed__4); -l_Lean_Meta_byCases___closed__5 = _init_l_Lean_Meta_byCases___closed__5(); -lean_mark_persistent(l_Lean_Meta_byCases___closed__5); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Cases___hyg_3318_(lean_io_mk_world()); +l_Lean_MVarId_casesRec___lambda__1___closed__1 = _init_l_Lean_MVarId_casesRec___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_MVarId_casesRec___lambda__1___closed__1); +l_Lean_MVarId_casesAnd___lambda__1___closed__1 = _init_l_Lean_MVarId_casesAnd___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_MVarId_casesAnd___lambda__1___closed__1); +l_Lean_MVarId_casesAnd___lambda__1___closed__2 = _init_l_Lean_MVarId_casesAnd___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_MVarId_casesAnd___lambda__1___closed__2); +l_Lean_MVarId_casesAnd___closed__1 = _init_l_Lean_MVarId_casesAnd___closed__1(); +lean_mark_persistent(l_Lean_MVarId_casesAnd___closed__1); +l_Lean_MVarId_casesAnd___closed__2 = _init_l_Lean_MVarId_casesAnd___closed__2(); +lean_mark_persistent(l_Lean_MVarId_casesAnd___closed__2); +l_Lean_MVarId_casesAnd___closed__3 = _init_l_Lean_MVarId_casesAnd___closed__3(); +lean_mark_persistent(l_Lean_MVarId_casesAnd___closed__3); +l_Lean_MVarId_casesAnd___closed__4 = _init_l_Lean_MVarId_casesAnd___closed__4(); +lean_mark_persistent(l_Lean_MVarId_casesAnd___closed__4); +l_Lean_MVarId_substEqs___closed__1 = _init_l_Lean_MVarId_substEqs___closed__1(); +lean_mark_persistent(l_Lean_MVarId_substEqs___closed__1); +l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___closed__1 = _init_l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___closed__1); +l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___closed__2 = _init_l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___closed__2); +l_Lean_MVarId_byCases___closed__1 = _init_l_Lean_MVarId_byCases___closed__1(); +lean_mark_persistent(l_Lean_MVarId_byCases___closed__1); +l_Lean_MVarId_byCases___closed__2 = _init_l_Lean_MVarId_byCases___closed__2(); +lean_mark_persistent(l_Lean_MVarId_byCases___closed__2); +l_Lean_MVarId_byCases___closed__3 = _init_l_Lean_MVarId_byCases___closed__3(); +lean_mark_persistent(l_Lean_MVarId_byCases___closed__3); +l_Lean_MVarId_byCases___closed__4 = _init_l_Lean_MVarId_byCases___closed__4(); +lean_mark_persistent(l_Lean_MVarId_byCases___closed__4); +l_Lean_MVarId_byCases___closed__5 = _init_l_Lean_MVarId_byCases___closed__5(); +lean_mark_persistent(l_Lean_MVarId_byCases___closed__5); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Cases___hyg_3335_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Cleanup.c b/stage0/stdlib/Lean/Meta/Tactic/Cleanup.c index 847f82d634..c5c539b7cb 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Cleanup.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Cleanup.c @@ -828,7 +828,7 @@ return x_8; LEAN_EXPORT lean_object* l_Lean_dependsOnPred___at___private_Lean_Meta_Tactic_Cleanup_0__Lean_Meta_cleanupCore_collectPropsStep___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; 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_114; lean_object* x_115; uint8_t x_116; +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; x_10 = lean_st_ref_get(x_8, x_9); x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); @@ -842,237 +842,172 @@ lean_dec(x_12); x_15 = lean_ctor_get(x_13, 0); lean_inc(x_15); lean_dec(x_13); -x_114 = l___private_Lean_Meta_Tactic_Cleanup_0__Lean_Meta_cleanupCore_addUsedFVars___closed__1; -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_15); -x_116 = l_Lean_Expr_hasFVar(x_1); -if (x_116 == 0) +x_16 = l___private_Lean_Meta_Tactic_Cleanup_0__Lean_Meta_cleanupCore_addUsedFVars___closed__1; +lean_inc(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_15); +x_18 = l_Lean_Expr_hasFVar(x_1); +if (x_18 == 0) { -uint8_t x_117; -x_117 = l_Lean_Expr_hasMVar(x_1); -if (x_117 == 0) +uint8_t x_19; +x_19 = l_Lean_Expr_hasMVar(x_1); +if (x_19 == 0) { -uint8_t x_118; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_dec(x_17); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_118 = 0; -x_16 = x_118; -x_17 = x_115; -goto block_113; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_119 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_1, x_115); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_unbox(x_120); -lean_dec(x_120); -x_16 = x_122; -x_17 = x_121; -goto block_113; -} -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; -x_123 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_1, x_115); -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 = lean_unbox(x_124); -lean_dec(x_124); -x_16 = x_126; -x_17 = x_125; -goto block_113; -} -block_113: -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_st_ref_get(x_8, x_14); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_st_ref_take(x_6, x_20); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get_uint8(x_18, sizeof(void*)*8); -if (x_23 == 0) -{ -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; uint8_t x_34; -x_24 = lean_ctor_get(x_22, 0); +x_20 = lean_st_ref_get(x_8, x_14); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_st_ref_take(x_6, x_21); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -lean_dec(x_21); -x_26 = lean_ctor_get(x_18, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_18, 1); -lean_inc(x_27); -x_28 = lean_ctor_get(x_18, 2); -lean_inc(x_28); -x_29 = lean_ctor_get(x_18, 3); -lean_inc(x_29); -x_30 = lean_ctor_get(x_18, 4); -lean_inc(x_30); -x_31 = lean_ctor_get(x_18, 5); -lean_inc(x_31); -x_32 = lean_ctor_get(x_18, 6); +lean_dec(x_22); +x_25 = !lean_is_exclusive(x_23); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_23, 0); +lean_dec(x_26); +lean_ctor_set(x_23, 0, x_15); +x_27 = lean_st_ref_set(x_6, x_23, x_24); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +x_30 = 0; +x_31 = lean_box(x_30); +lean_ctor_set(x_27, 0, x_31); +return x_27; +} +else +{ +lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_27, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_18, 7); -lean_inc(x_33); -lean_dec(x_18); -x_34 = !lean_is_exclusive(x_22); -if (x_34 == 0) +lean_dec(x_27); +x_33 = 0; +x_34 = lean_box(x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +} +else { -lean_object* x_35; uint8_t x_36; -x_35 = lean_ctor_get(x_22, 0); -lean_dec(x_35); -x_36 = !lean_is_exclusive(x_24); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_37 = lean_ctor_get(x_24, 7); -lean_dec(x_37); -x_38 = lean_ctor_get(x_24, 6); -lean_dec(x_38); -x_39 = lean_ctor_get(x_24, 5); -lean_dec(x_39); -x_40 = lean_ctor_get(x_24, 4); -lean_dec(x_40); -x_41 = lean_ctor_get(x_24, 3); -lean_dec(x_41); -x_42 = lean_ctor_get(x_24, 2); -lean_dec(x_42); -x_43 = lean_ctor_get(x_24, 1); -lean_dec(x_43); -x_44 = lean_ctor_get(x_24, 0); -lean_dec(x_44); -lean_ctor_set(x_24, 7, x_33); -lean_ctor_set(x_24, 6, x_32); -lean_ctor_set(x_24, 5, x_31); -lean_ctor_set(x_24, 4, x_30); -lean_ctor_set(x_24, 3, x_29); -lean_ctor_set(x_24, 2, x_28); -lean_ctor_set(x_24, 1, x_27); -lean_ctor_set(x_24, 0, x_26); -x_45 = lean_st_ref_set(x_6, x_22, x_25); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -x_48 = lean_box(x_16); -lean_ctor_set(x_45, 0, x_48); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; +x_36 = lean_ctor_get(x_23, 1); +x_37 = lean_ctor_get(x_23, 2); +x_38 = lean_ctor_get(x_23, 3); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_23); +x_39 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_39, 0, x_15); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_37); +lean_ctor_set(x_39, 3, x_38); +x_40 = lean_st_ref_set(x_6, x_39, x_24); +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_42 = x_40; +} else { + lean_dec_ref(x_40); + x_42 = lean_box(0); +} +x_43 = 0; +x_44 = lean_box(x_43); +if (lean_is_scalar(x_42)) { + x_45 = lean_alloc_ctor(0, 2, 0); +} else { + x_45 = x_42; +} +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_41); return x_45; } +} else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_45, 1); +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; uint8_t x_55; +lean_dec(x_15); +x_46 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_1, x_17); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 0); +lean_inc(x_48); +lean_dec(x_46); +x_49 = lean_ctor_get(x_47, 1); lean_inc(x_49); -lean_dec(x_45); -x_50 = lean_box(x_16); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -return x_51; -} +lean_dec(x_47); +x_50 = lean_st_ref_get(x_8, x_14); +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +lean_dec(x_50); +x_52 = lean_st_ref_take(x_6, x_51); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = !lean_is_exclusive(x_53); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_56 = lean_ctor_get(x_53, 0); +lean_dec(x_56); +lean_ctor_set(x_53, 0, x_49); +x_57 = lean_st_ref_set(x_6, x_53, x_54); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) +{ +lean_object* x_59; +x_59 = lean_ctor_get(x_57, 0); +lean_dec(x_59); +lean_ctor_set(x_57, 0, x_48); +return x_57; } else { -uint8_t 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_52 = lean_ctor_get_uint8(x_24, sizeof(void*)*8); -lean_dec(x_24); -x_53 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_53, 0, x_26); -lean_ctor_set(x_53, 1, x_27); -lean_ctor_set(x_53, 2, x_28); -lean_ctor_set(x_53, 3, x_29); -lean_ctor_set(x_53, 4, x_30); -lean_ctor_set(x_53, 5, x_31); -lean_ctor_set(x_53, 6, x_32); -lean_ctor_set(x_53, 7, x_33); -lean_ctor_set_uint8(x_53, sizeof(void*)*8, x_52); -lean_ctor_set(x_22, 0, x_53); -x_54 = lean_st_ref_set(x_6, x_22, x_25); -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - x_56 = x_54; -} else { - lean_dec_ref(x_54); - x_56 = lean_box(0); -} -x_57 = lean_box(x_16); -if (lean_is_scalar(x_56)) { - x_58 = lean_alloc_ctor(0, 2, 0); -} else { - x_58 = x_56; -} -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_55); -return x_58; -} -} -else -{ -lean_object* x_59; lean_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; -x_59 = lean_ctor_get(x_22, 1); -x_60 = lean_ctor_get(x_22, 2); -x_61 = lean_ctor_get(x_22, 3); -lean_inc(x_61); +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_57, 1); lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_22); -x_62 = lean_ctor_get_uint8(x_24, sizeof(void*)*8); -if (lean_is_exclusive(x_24)) { - lean_ctor_release(x_24, 0); - lean_ctor_release(x_24, 1); - lean_ctor_release(x_24, 2); - lean_ctor_release(x_24, 3); - lean_ctor_release(x_24, 4); - lean_ctor_release(x_24, 5); - lean_ctor_release(x_24, 6); - lean_ctor_release(x_24, 7); - x_63 = x_24; -} else { - lean_dec_ref(x_24); - x_63 = lean_box(0); +lean_dec(x_57); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_48); +lean_ctor_set(x_61, 1, x_60); +return x_61; } -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(0, 8, 1); -} else { - x_64 = x_63; } -lean_ctor_set(x_64, 0, x_26); -lean_ctor_set(x_64, 1, x_27); -lean_ctor_set(x_64, 2, x_28); -lean_ctor_set(x_64, 3, x_29); -lean_ctor_set(x_64, 4, x_30); -lean_ctor_set(x_64, 5, x_31); -lean_ctor_set(x_64, 6, x_32); -lean_ctor_set(x_64, 7, x_33); -lean_ctor_set_uint8(x_64, sizeof(void*)*8, x_62); +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_62 = lean_ctor_get(x_53, 1); +x_63 = lean_ctor_get(x_53, 2); +x_64 = lean_ctor_get(x_53, 3); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_53); x_65 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_59); -lean_ctor_set(x_65, 2, x_60); -lean_ctor_set(x_65, 3, x_61); -x_66 = lean_st_ref_set(x_6, x_65, x_25); +lean_ctor_set(x_65, 0, x_49); +lean_ctor_set(x_65, 1, x_62); +lean_ctor_set(x_65, 2, x_63); +lean_ctor_set(x_65, 3, x_64); +x_66 = lean_st_ref_set(x_6, x_65, x_54); x_67 = lean_ctor_get(x_66, 1); lean_inc(x_67); if (lean_is_exclusive(x_66)) { @@ -1083,176 +1018,103 @@ if (lean_is_exclusive(x_66)) { lean_dec_ref(x_66); x_68 = lean_box(0); } -x_69 = lean_box(x_16); if (lean_is_scalar(x_68)) { - x_70 = lean_alloc_ctor(0, 2, 0); + x_69 = lean_alloc_ctor(0, 2, 0); } else { - x_70 = x_68; + x_69 = x_68; +} +lean_ctor_set(x_69, 0, x_48); +lean_ctor_set(x_69, 1, x_67); +return x_69; } -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_67); -return x_70; } } else { -lean_object* x_71; uint8_t x_72; -x_71 = lean_ctor_get(x_21, 1); +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; uint8_t x_79; +lean_dec(x_15); +x_70 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_2, x_3, x_1, x_17); +x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); -lean_dec(x_21); -x_72 = !lean_is_exclusive(x_18); -if (x_72 == 0) -{ -uint8_t x_73; -x_73 = !lean_is_exclusive(x_22); -if (x_73 == 0) -{ -lean_object* x_74; uint8_t x_75; lean_object* x_76; uint8_t x_77; -x_74 = lean_ctor_get(x_22, 0); +x_72 = lean_ctor_get(x_70, 0); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_st_ref_get(x_8, x_14); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); lean_dec(x_74); -x_75 = 1; -lean_ctor_set_uint8(x_18, sizeof(void*)*8, x_75); -lean_ctor_set(x_22, 0, x_18); -x_76 = lean_st_ref_set(x_6, x_22, x_71); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_76, 0); -lean_dec(x_78); -x_79 = lean_box(x_16); -lean_ctor_set(x_76, 0, x_79); -return x_76; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_76, 1); -lean_inc(x_80); +x_76 = lean_st_ref_take(x_6, x_75); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); lean_dec(x_76); -x_81 = lean_box(x_16); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -return x_82; -} +x_79 = !lean_is_exclusive(x_77); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_80 = lean_ctor_get(x_77, 0); +lean_dec(x_80); +lean_ctor_set(x_77, 0, x_73); +x_81 = lean_st_ref_set(x_6, x_77, x_78); +x_82 = !lean_is_exclusive(x_81); +if (x_82 == 0) +{ +lean_object* x_83; +x_83 = lean_ctor_get(x_81, 0); +lean_dec(x_83); +lean_ctor_set(x_81, 0, x_72); +return x_81; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_83 = lean_ctor_get(x_22, 1); -x_84 = lean_ctor_get(x_22, 2); -x_85 = lean_ctor_get(x_22, 3); -lean_inc(x_85); +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_81, 1); lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_22); -x_86 = 1; -lean_ctor_set_uint8(x_18, sizeof(void*)*8, x_86); -x_87 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_87, 0, x_18); -lean_ctor_set(x_87, 1, x_83); -lean_ctor_set(x_87, 2, x_84); -lean_ctor_set(x_87, 3, x_85); -x_88 = lean_st_ref_set(x_6, x_87, x_71); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_90 = x_88; -} else { - lean_dec_ref(x_88); - x_90 = lean_box(0); -} -x_91 = lean_box(x_16); -if (lean_is_scalar(x_90)) { - x_92 = lean_alloc_ctor(0, 2, 0); -} else { - x_92 = x_90; -} -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_89); -return x_92; +lean_dec(x_81); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_72); +lean_ctor_set(x_85, 1, x_84); +return x_85; } } else { -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; 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; -x_93 = lean_ctor_get(x_18, 0); -x_94 = lean_ctor_get(x_18, 1); -x_95 = lean_ctor_get(x_18, 2); -x_96 = lean_ctor_get(x_18, 3); -x_97 = lean_ctor_get(x_18, 4); -x_98 = lean_ctor_get(x_18, 5); -x_99 = lean_ctor_get(x_18, 6); -x_100 = lean_ctor_get(x_18, 7); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_18); -x_101 = lean_ctor_get(x_22, 1); -lean_inc(x_101); -x_102 = lean_ctor_get(x_22, 2); -lean_inc(x_102); -x_103 = lean_ctor_get(x_22, 3); -lean_inc(x_103); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - lean_ctor_release(x_22, 2); - lean_ctor_release(x_22, 3); - x_104 = x_22; +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_86 = lean_ctor_get(x_77, 1); +x_87 = lean_ctor_get(x_77, 2); +x_88 = lean_ctor_get(x_77, 3); +lean_inc(x_88); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_77); +x_89 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_89, 0, x_73); +lean_ctor_set(x_89, 1, x_86); +lean_ctor_set(x_89, 2, x_87); +lean_ctor_set(x_89, 3, x_88); +x_90 = lean_st_ref_set(x_6, x_89, x_78); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + x_92 = x_90; } else { - lean_dec_ref(x_22); - x_104 = lean_box(0); + lean_dec_ref(x_90); + x_92 = lean_box(0); } -x_105 = 1; -x_106 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_106, 0, x_93); -lean_ctor_set(x_106, 1, x_94); -lean_ctor_set(x_106, 2, x_95); -lean_ctor_set(x_106, 3, x_96); -lean_ctor_set(x_106, 4, x_97); -lean_ctor_set(x_106, 5, x_98); -lean_ctor_set(x_106, 6, x_99); -lean_ctor_set(x_106, 7, x_100); -lean_ctor_set_uint8(x_106, sizeof(void*)*8, x_105); -if (lean_is_scalar(x_104)) { - x_107 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_92)) { + x_93 = lean_alloc_ctor(0, 2, 0); } else { - x_107 = x_104; -} -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_101); -lean_ctor_set(x_107, 2, x_102); -lean_ctor_set(x_107, 3, x_103); -x_108 = lean_st_ref_set(x_6, x_107, x_71); -x_109 = lean_ctor_get(x_108, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - x_110 = x_108; -} else { - lean_dec_ref(x_108); - x_110 = lean_box(0); -} -x_111 = lean_box(x_16); -if (lean_is_scalar(x_110)) { - x_112 = lean_alloc_ctor(0, 2, 0); -} else { - x_112 = x_110; -} -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_109); -return x_112; + x_93 = x_92; } +lean_ctor_set(x_93, 0, x_72); +lean_ctor_set(x_93, 1, x_91); +return x_93; } } } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Clear.c b/stage0/stdlib/Lean/Meta/Tactic/Clear.c index f6152402b5..217e805a2f 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Clear.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Clear.c @@ -89,6 +89,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MVarId_clear___spec__9 LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MVarId_clear___spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MVarId_clear___spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_MVarId_clear___spec__29(lean_object*, lean_object*); +lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_MVarId_clear___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MVarId_clear___spec__58___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -202,7 +203,6 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MVarId_clear___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__18(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MVarId_clear___spec__32(lean_object*, lean_object*, size_t, size_t); @@ -664,7 +664,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -1392,7 +1392,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -2120,7 +2120,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -2848,7 +2848,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -3576,7 +3576,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -4304,7 +4304,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -4606,7 +4606,7 @@ _start: { if (lean_obj_tag(x_1) == 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; lean_object* x_16; lean_object* x_113; lean_object* x_114; uint8_t x_115; +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; x_8 = lean_ctor_get(x_1, 3); lean_inc(x_8); lean_dec(x_1); @@ -4623,235 +4623,170 @@ lean_dec(x_11); x_14 = lean_ctor_get(x_12, 0); lean_inc(x_14); lean_dec(x_12); -x_113 = l_Lean_localDeclDependsOn___at_Lean_MVarId_clear___spec__1___closed__1; -x_114 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_14); -x_115 = l_Lean_Expr_hasFVar(x_8); -if (x_115 == 0) +x_15 = l_Lean_localDeclDependsOn___at_Lean_MVarId_clear___spec__1___closed__1; +lean_inc(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_14); +x_17 = l_Lean_Expr_hasFVar(x_8); +if (x_17 == 0) { -uint8_t x_116; -x_116 = l_Lean_Expr_hasMVar(x_8); -if (x_116 == 0) +uint8_t x_18; +x_18 = l_Lean_Expr_hasMVar(x_8); +if (x_18 == 0) { -uint8_t x_117; -lean_dec(x_8); -x_117 = 0; -x_15 = x_117; -x_16 = x_114; -goto block_112; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; -x_118 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__2(x_2, x_8, x_114); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -x_121 = lean_unbox(x_119); -lean_dec(x_119); -x_15 = x_121; -x_16 = x_120; -goto block_112; -} -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; -x_122 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__10(x_2, x_8, x_114); -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 = lean_unbox(x_123); -lean_dec(x_123); -x_15 = x_125; -x_16 = x_124; -goto block_112; -} -block_112: -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_dec(x_16); -x_18 = lean_st_ref_get(x_6, x_13); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_st_ref_take(x_4, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get_uint8(x_17, sizeof(void*)*8); -if (x_22 == 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; uint8_t x_33; -x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_8); +x_19 = lean_st_ref_get(x_6, x_13); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_st_ref_take(x_4, x_20); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_dec(x_20); -x_25 = lean_ctor_get(x_17, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_17, 1); -lean_inc(x_26); -x_27 = lean_ctor_get(x_17, 2); -lean_inc(x_27); -x_28 = lean_ctor_get(x_17, 3); -lean_inc(x_28); -x_29 = lean_ctor_get(x_17, 4); -lean_inc(x_29); -x_30 = lean_ctor_get(x_17, 5); -lean_inc(x_30); -x_31 = lean_ctor_get(x_17, 6); +lean_dec(x_21); +x_24 = !lean_is_exclusive(x_22); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_22, 0); +lean_dec(x_25); +lean_ctor_set(x_22, 0, x_14); +x_26 = lean_st_ref_set(x_4, x_22, x_23); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; uint8_t x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_26, 0); +lean_dec(x_28); +x_29 = 0; +x_30 = lean_box(x_29); +lean_ctor_set(x_26, 0, x_30); +return x_26; +} +else +{ +lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_26, 1); lean_inc(x_31); -x_32 = lean_ctor_get(x_17, 7); -lean_inc(x_32); -lean_dec(x_17); -x_33 = !lean_is_exclusive(x_21); -if (x_33 == 0) +lean_dec(x_26); +x_32 = 0; +x_33 = lean_box(x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +return x_34; +} +} +else { -lean_object* x_34; uint8_t x_35; -x_34 = lean_ctor_get(x_21, 0); -lean_dec(x_34); -x_35 = !lean_is_exclusive(x_23); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_36 = lean_ctor_get(x_23, 7); -lean_dec(x_36); -x_37 = lean_ctor_get(x_23, 6); -lean_dec(x_37); -x_38 = lean_ctor_get(x_23, 5); -lean_dec(x_38); -x_39 = lean_ctor_get(x_23, 4); -lean_dec(x_39); -x_40 = lean_ctor_get(x_23, 3); -lean_dec(x_40); -x_41 = lean_ctor_get(x_23, 2); -lean_dec(x_41); -x_42 = lean_ctor_get(x_23, 1); -lean_dec(x_42); -x_43 = lean_ctor_get(x_23, 0); -lean_dec(x_43); -lean_ctor_set(x_23, 7, x_32); -lean_ctor_set(x_23, 6, x_31); -lean_ctor_set(x_23, 5, x_30); -lean_ctor_set(x_23, 4, x_29); -lean_ctor_set(x_23, 3, x_28); -lean_ctor_set(x_23, 2, x_27); -lean_ctor_set(x_23, 1, x_26); -lean_ctor_set(x_23, 0, x_25); -x_44 = lean_st_ref_set(x_4, x_21, x_24); -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_44, 0); -lean_dec(x_46); -x_47 = lean_box(x_15); -lean_ctor_set(x_44, 0, x_47); +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; uint8_t x_42; lean_object* x_43; lean_object* x_44; +x_35 = lean_ctor_get(x_22, 1); +x_36 = lean_ctor_get(x_22, 2); +x_37 = lean_ctor_get(x_22, 3); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_22); +x_38 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_38, 0, x_14); +lean_ctor_set(x_38, 1, x_35); +lean_ctor_set(x_38, 2, x_36); +lean_ctor_set(x_38, 3, x_37); +x_39 = lean_st_ref_set(x_4, x_38, x_23); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_41 = x_39; +} else { + lean_dec_ref(x_39); + x_41 = lean_box(0); +} +x_42 = 0; +x_43 = lean_box(x_42); +if (lean_is_scalar(x_41)) { + x_44 = lean_alloc_ctor(0, 2, 0); +} else { + x_44 = x_41; +} +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_40); return x_44; } +} else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_44, 1); +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; uint8_t x_54; +lean_dec(x_14); +x_45 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__2(x_2, x_8, x_16); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 0); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); -lean_dec(x_44); -x_49 = lean_box(x_15); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -return x_50; -} +lean_dec(x_46); +x_49 = lean_st_ref_get(x_6, x_13); +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec(x_49); +x_51 = lean_st_ref_take(x_4, x_50); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = !lean_is_exclusive(x_52); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_55 = lean_ctor_get(x_52, 0); +lean_dec(x_55); +lean_ctor_set(x_52, 0, x_48); +x_56 = lean_st_ref_set(x_4, x_52, x_53); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_47); +return x_56; } else { -uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_51 = lean_ctor_get_uint8(x_23, sizeof(void*)*8); -lean_dec(x_23); -x_52 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_52, 0, x_25); -lean_ctor_set(x_52, 1, x_26); -lean_ctor_set(x_52, 2, x_27); -lean_ctor_set(x_52, 3, x_28); -lean_ctor_set(x_52, 4, x_29); -lean_ctor_set(x_52, 5, x_30); -lean_ctor_set(x_52, 6, x_31); -lean_ctor_set(x_52, 7, x_32); -lean_ctor_set_uint8(x_52, sizeof(void*)*8, x_51); -lean_ctor_set(x_21, 0, x_52); -x_53 = lean_st_ref_set(x_4, x_21, x_24); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_55 = x_53; -} else { - lean_dec_ref(x_53); - x_55 = lean_box(0); -} -x_56 = lean_box(x_15); -if (lean_is_scalar(x_55)) { - x_57 = lean_alloc_ctor(0, 2, 0); -} else { - x_57 = x_55; -} -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_54); -return x_57; -} -} -else -{ -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_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_58 = lean_ctor_get(x_21, 1); -x_59 = lean_ctor_get(x_21, 2); -x_60 = lean_ctor_get(x_21, 3); -lean_inc(x_60); +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_21); -x_61 = lean_ctor_get_uint8(x_23, sizeof(void*)*8); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - lean_ctor_release(x_23, 2); - lean_ctor_release(x_23, 3); - lean_ctor_release(x_23, 4); - lean_ctor_release(x_23, 5); - lean_ctor_release(x_23, 6); - lean_ctor_release(x_23, 7); - x_62 = x_23; -} else { - lean_dec_ref(x_23); - x_62 = lean_box(0); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_47); +lean_ctor_set(x_60, 1, x_59); +return x_60; } -if (lean_is_scalar(x_62)) { - x_63 = lean_alloc_ctor(0, 8, 1); -} else { - x_63 = x_62; } -lean_ctor_set(x_63, 0, x_25); -lean_ctor_set(x_63, 1, x_26); -lean_ctor_set(x_63, 2, x_27); -lean_ctor_set(x_63, 3, x_28); -lean_ctor_set(x_63, 4, x_29); -lean_ctor_set(x_63, 5, x_30); -lean_ctor_set(x_63, 6, x_31); -lean_ctor_set(x_63, 7, x_32); -lean_ctor_set_uint8(x_63, sizeof(void*)*8, x_61); +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_61 = lean_ctor_get(x_52, 1); +x_62 = lean_ctor_get(x_52, 2); +x_63 = lean_ctor_get(x_52, 3); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_52); x_64 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_58); -lean_ctor_set(x_64, 2, x_59); -lean_ctor_set(x_64, 3, x_60); -x_65 = lean_st_ref_set(x_4, x_64, x_24); +lean_ctor_set(x_64, 0, x_48); +lean_ctor_set(x_64, 1, x_61); +lean_ctor_set(x_64, 2, x_62); +lean_ctor_set(x_64, 3, x_63); +x_65 = lean_st_ref_set(x_4, x_64, x_53); x_66 = lean_ctor_get(x_65, 1); lean_inc(x_66); if (lean_is_exclusive(x_65)) { @@ -4862,668 +4797,317 @@ if (lean_is_exclusive(x_65)) { lean_dec_ref(x_65); x_67 = lean_box(0); } -x_68 = lean_box(x_15); if (lean_is_scalar(x_67)) { - x_69 = lean_alloc_ctor(0, 2, 0); + x_68 = lean_alloc_ctor(0, 2, 0); } else { - x_69 = x_67; + x_68 = x_67; +} +lean_ctor_set(x_68, 0, x_47); +lean_ctor_set(x_68, 1, x_66); +return x_68; } -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_66); -return x_69; } } else { -lean_object* x_70; uint8_t x_71; -x_70 = lean_ctor_get(x_20, 1); +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; uint8_t x_78; +lean_dec(x_14); +x_69 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__10(x_2, x_8, x_16); +x_70 = lean_ctor_get(x_69, 1); lean_inc(x_70); -lean_dec(x_20); -x_71 = !lean_is_exclusive(x_17); -if (x_71 == 0) -{ -uint8_t x_72; -x_72 = !lean_is_exclusive(x_21); -if (x_72 == 0) -{ -lean_object* x_73; uint8_t x_74; lean_object* x_75; uint8_t x_76; -x_73 = lean_ctor_get(x_21, 0); +x_71 = lean_ctor_get(x_69, 0); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_st_ref_get(x_6, x_13); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); lean_dec(x_73); -x_74 = 1; -lean_ctor_set_uint8(x_17, sizeof(void*)*8, x_74); -lean_ctor_set(x_21, 0, x_17); -x_75 = lean_st_ref_set(x_4, x_21, x_70); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) -{ -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -x_78 = lean_box(x_15); -lean_ctor_set(x_75, 0, x_78); -return x_75; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_75, 1); -lean_inc(x_79); +x_75 = lean_st_ref_take(x_4, x_74); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); lean_dec(x_75); -x_80 = lean_box(x_15); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -return x_81; -} +x_78 = !lean_is_exclusive(x_76); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_79 = lean_ctor_get(x_76, 0); +lean_dec(x_79); +lean_ctor_set(x_76, 0, x_72); +x_80 = lean_st_ref_set(x_4, x_76, x_77); +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) +{ +lean_object* x_82; +x_82 = lean_ctor_get(x_80, 0); +lean_dec(x_82); +lean_ctor_set(x_80, 0, x_71); +return x_80; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t 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_82 = lean_ctor_get(x_21, 1); -x_83 = lean_ctor_get(x_21, 2); -x_84 = lean_ctor_get(x_21, 3); -lean_inc(x_84); +lean_object* x_83; lean_object* x_84; +x_83 = lean_ctor_get(x_80, 1); lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_21); -x_85 = 1; -lean_ctor_set_uint8(x_17, sizeof(void*)*8, x_85); -x_86 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_86, 0, x_17); -lean_ctor_set(x_86, 1, x_82); -lean_ctor_set(x_86, 2, x_83); -lean_ctor_set(x_86, 3, x_84); -x_87 = lean_st_ref_set(x_4, x_86, x_70); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - lean_ctor_release(x_87, 1); - x_89 = x_87; -} else { - lean_dec_ref(x_87); - x_89 = lean_box(0); -} -x_90 = lean_box(x_15); -if (lean_is_scalar(x_89)) { - x_91 = lean_alloc_ctor(0, 2, 0); -} else { - x_91 = x_89; -} -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_88); -return x_91; +lean_dec(x_80); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_71); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } 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; uint8_t 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_17, 0); -x_93 = lean_ctor_get(x_17, 1); -x_94 = lean_ctor_get(x_17, 2); -x_95 = lean_ctor_get(x_17, 3); -x_96 = lean_ctor_get(x_17, 4); -x_97 = lean_ctor_get(x_17, 5); -x_98 = lean_ctor_get(x_17, 6); -x_99 = lean_ctor_get(x_17, 7); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); +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_85 = lean_ctor_get(x_76, 1); +x_86 = lean_ctor_get(x_76, 2); +x_87 = lean_ctor_get(x_76, 3); +lean_inc(x_87); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_76); +x_88 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_88, 0, x_72); +lean_ctor_set(x_88, 1, x_85); +lean_ctor_set(x_88, 2, x_86); +lean_ctor_set(x_88, 3, x_87); +x_89 = lean_st_ref_set(x_4, x_88, x_77); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_91 = x_89; +} else { + lean_dec_ref(x_89); + x_91 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(0, 2, 0); +} else { + x_92 = x_91; +} +lean_ctor_set(x_92, 0, x_71); +lean_ctor_set(x_92, 1, x_90); +return x_92; +} +} +} +else +{ +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; uint8_t x_101; lean_object* x_102; uint8_t x_128; lean_object* x_129; lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_93 = lean_ctor_get(x_1, 3); lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_17); -x_100 = lean_ctor_get(x_21, 1); +x_94 = lean_ctor_get(x_1, 4); +lean_inc(x_94); +lean_dec(x_1); +x_95 = lean_st_ref_get(x_6, x_7); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec(x_95); +x_97 = lean_st_ref_get(x_4, x_96); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = lean_ctor_get(x_98, 0); lean_inc(x_100); -x_101 = lean_ctor_get(x_21, 2); -lean_inc(x_101); -x_102 = lean_ctor_get(x_21, 3); -lean_inc(x_102); -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - lean_ctor_release(x_21, 2); - lean_ctor_release(x_21, 3); - x_103 = x_21; -} else { - lean_dec_ref(x_21); - x_103 = lean_box(0); +lean_dec(x_98); +x_142 = l_Lean_localDeclDependsOn___at_Lean_MVarId_clear___spec__1___closed__1; +x_143 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_100); +x_144 = l_Lean_Expr_hasFVar(x_93); +if (x_144 == 0) +{ +uint8_t x_145; +x_145 = l_Lean_Expr_hasMVar(x_93); +if (x_145 == 0) +{ +uint8_t x_146; +lean_dec(x_93); +x_146 = 0; +x_128 = x_146; +x_129 = x_143; +goto block_141; } -x_104 = 1; -x_105 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_105, 0, x_92); -lean_ctor_set(x_105, 1, x_93); -lean_ctor_set(x_105, 2, x_94); -lean_ctor_set(x_105, 3, x_95); -lean_ctor_set(x_105, 4, x_96); -lean_ctor_set(x_105, 5, x_97); -lean_ctor_set(x_105, 6, x_98); -lean_ctor_set(x_105, 7, x_99); -lean_ctor_set_uint8(x_105, sizeof(void*)*8, x_104); -if (lean_is_scalar(x_103)) { - x_106 = lean_alloc_ctor(0, 4, 0); -} else { - x_106 = x_103; +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; +x_147 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__34(x_2, x_93, x_143); +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); +x_150 = lean_unbox(x_148); +lean_dec(x_148); +x_128 = x_150; +x_129 = x_149; +goto block_141; } -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_100); -lean_ctor_set(x_106, 2, x_101); -lean_ctor_set(x_106, 3, x_102); -x_107 = lean_st_ref_set(x_4, x_106, x_70); -x_108 = lean_ctor_get(x_107, 1); +} +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_151 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__42(x_2, x_93, x_143); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); +x_154 = lean_unbox(x_152); +lean_dec(x_152); +x_128 = x_154; +x_129 = x_153; +goto block_141; +} +block_127: +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +lean_dec(x_102); +x_104 = lean_st_ref_get(x_6, x_99); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +lean_dec(x_104); +x_106 = lean_st_ref_take(x_4, x_105); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); lean_inc(x_108); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_109 = x_107; -} else { - lean_dec_ref(x_107); - x_109 = lean_box(0); -} -x_110 = lean_box(x_15); -if (lean_is_scalar(x_109)) { - x_111 = lean_alloc_ctor(0, 2, 0); -} else { - x_111 = x_109; -} -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_108); +lean_dec(x_106); +x_109 = !lean_is_exclusive(x_107); +if (x_109 == 0) +{ +lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_110 = lean_ctor_get(x_107, 0); +lean_dec(x_110); +lean_ctor_set(x_107, 0, x_103); +x_111 = lean_st_ref_set(x_4, x_107, x_108); +x_112 = !lean_is_exclusive(x_111); +if (x_112 == 0) +{ +lean_object* x_113; lean_object* x_114; +x_113 = lean_ctor_get(x_111, 0); +lean_dec(x_113); +x_114 = lean_box(x_101); +lean_ctor_set(x_111, 0, x_114); return x_111; } -} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_111, 1); +lean_inc(x_115); +lean_dec(x_111); +x_116 = lean_box(x_101); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_115); +return x_117; } } else { -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; uint8_t x_134; lean_object* x_135; uint8_t x_232; lean_object* x_233; lean_object* x_246; lean_object* x_247; uint8_t x_248; -x_126 = lean_ctor_get(x_1, 3); -lean_inc(x_126); -x_127 = lean_ctor_get(x_1, 4); -lean_inc(x_127); -lean_dec(x_1); -x_128 = lean_st_ref_get(x_6, x_7); -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -lean_dec(x_128); -x_130 = lean_st_ref_get(x_4, x_129); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_ctor_get(x_131, 0); -lean_inc(x_133); -lean_dec(x_131); -x_246 = l_Lean_localDeclDependsOn___at_Lean_MVarId_clear___spec__1___closed__1; -x_247 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_247, 0, x_246); -lean_ctor_set(x_247, 1, x_133); -x_248 = l_Lean_Expr_hasFVar(x_126); -if (x_248 == 0) +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_118 = lean_ctor_get(x_107, 1); +x_119 = lean_ctor_get(x_107, 2); +x_120 = lean_ctor_get(x_107, 3); +lean_inc(x_120); +lean_inc(x_119); +lean_inc(x_118); +lean_dec(x_107); +x_121 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_121, 0, x_103); +lean_ctor_set(x_121, 1, x_118); +lean_ctor_set(x_121, 2, x_119); +lean_ctor_set(x_121, 3, x_120); +x_122 = lean_st_ref_set(x_4, x_121, x_108); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_124 = x_122; +} else { + lean_dec_ref(x_122); + x_124 = lean_box(0); +} +x_125 = lean_box(x_101); +if (lean_is_scalar(x_124)) { + x_126 = lean_alloc_ctor(0, 2, 0); +} else { + x_126 = x_124; +} +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_123); +return x_126; +} +} +block_141: { -uint8_t x_249; -x_249 = l_Lean_Expr_hasMVar(x_126); -if (x_249 == 0) +if (x_128 == 0) { -uint8_t x_250; -lean_dec(x_126); -x_250 = 0; -x_232 = x_250; -x_233 = x_247; -goto block_245; +uint8_t x_130; +x_130 = l_Lean_Expr_hasFVar(x_94); +if (x_130 == 0) +{ +uint8_t x_131; +x_131 = l_Lean_Expr_hasMVar(x_94); +if (x_131 == 0) +{ +uint8_t x_132; +lean_dec(x_94); +x_132 = 0; +x_101 = x_132; +x_102 = x_129; +goto block_127; } else { -lean_object* x_251; lean_object* x_252; lean_object* x_253; uint8_t x_254; -x_251 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__34(x_2, x_126, x_247); -x_252 = lean_ctor_get(x_251, 0); -lean_inc(x_252); -x_253 = lean_ctor_get(x_251, 1); -lean_inc(x_253); -lean_dec(x_251); -x_254 = lean_unbox(x_252); -lean_dec(x_252); -x_232 = x_254; -x_233 = x_253; -goto block_245; +lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; +x_133 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__18(x_2, x_94, x_129); +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); +lean_inc(x_135); +lean_dec(x_133); +x_136 = lean_unbox(x_134); +lean_dec(x_134); +x_101 = x_136; +x_102 = x_135; +goto block_127; } } else { -lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; -x_255 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__42(x_2, x_126, x_247); -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_255, 1); -lean_inc(x_257); -lean_dec(x_255); -x_258 = lean_unbox(x_256); -lean_dec(x_256); -x_232 = x_258; -x_233 = x_257; -goto block_245; -} -block_231: -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; -x_136 = lean_ctor_get(x_135, 1); -lean_inc(x_136); -lean_dec(x_135); -x_137 = lean_st_ref_get(x_6, x_132); -x_138 = lean_ctor_get(x_137, 1); +lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; +x_137 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__26(x_2, x_94, x_129); +x_138 = lean_ctor_get(x_137, 0); lean_inc(x_138); +x_139 = lean_ctor_get(x_137, 1); +lean_inc(x_139); lean_dec(x_137); -x_139 = lean_st_ref_take(x_4, x_138); -x_140 = lean_ctor_get(x_139, 0); -lean_inc(x_140); -x_141 = lean_ctor_get_uint8(x_136, sizeof(void*)*8); -if (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; lean_object* x_151; uint8_t x_152; -x_142 = lean_ctor_get(x_140, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_139, 1); -lean_inc(x_143); -lean_dec(x_139); -x_144 = lean_ctor_get(x_136, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_136, 1); -lean_inc(x_145); -x_146 = lean_ctor_get(x_136, 2); -lean_inc(x_146); -x_147 = lean_ctor_get(x_136, 3); -lean_inc(x_147); -x_148 = lean_ctor_get(x_136, 4); -lean_inc(x_148); -x_149 = lean_ctor_get(x_136, 5); -lean_inc(x_149); -x_150 = lean_ctor_get(x_136, 6); -lean_inc(x_150); -x_151 = lean_ctor_get(x_136, 7); -lean_inc(x_151); -lean_dec(x_136); -x_152 = !lean_is_exclusive(x_140); -if (x_152 == 0) -{ -lean_object* x_153; uint8_t x_154; -x_153 = lean_ctor_get(x_140, 0); -lean_dec(x_153); -x_154 = !lean_is_exclusive(x_142); -if (x_154 == 0) -{ -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; uint8_t x_164; -x_155 = lean_ctor_get(x_142, 7); -lean_dec(x_155); -x_156 = lean_ctor_get(x_142, 6); -lean_dec(x_156); -x_157 = lean_ctor_get(x_142, 5); -lean_dec(x_157); -x_158 = lean_ctor_get(x_142, 4); -lean_dec(x_158); -x_159 = lean_ctor_get(x_142, 3); -lean_dec(x_159); -x_160 = lean_ctor_get(x_142, 2); -lean_dec(x_160); -x_161 = lean_ctor_get(x_142, 1); -lean_dec(x_161); -x_162 = lean_ctor_get(x_142, 0); -lean_dec(x_162); -lean_ctor_set(x_142, 7, x_151); -lean_ctor_set(x_142, 6, x_150); -lean_ctor_set(x_142, 5, x_149); -lean_ctor_set(x_142, 4, x_148); -lean_ctor_set(x_142, 3, x_147); -lean_ctor_set(x_142, 2, x_146); -lean_ctor_set(x_142, 1, x_145); -lean_ctor_set(x_142, 0, x_144); -x_163 = lean_st_ref_set(x_4, x_140, x_143); -x_164 = !lean_is_exclusive(x_163); -if (x_164 == 0) -{ -lean_object* x_165; lean_object* x_166; -x_165 = lean_ctor_get(x_163, 0); -lean_dec(x_165); -x_166 = lean_box(x_134); -lean_ctor_set(x_163, 0, x_166); -return x_163; -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_167 = lean_ctor_get(x_163, 1); -lean_inc(x_167); -lean_dec(x_163); -x_168 = lean_box(x_134); -x_169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -return x_169; +x_140 = lean_unbox(x_138); +lean_dec(x_138); +x_101 = x_140; +x_102 = x_139; +goto block_127; } } else { -uint8_t 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; -x_170 = lean_ctor_get_uint8(x_142, sizeof(void*)*8); -lean_dec(x_142); -x_171 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_171, 0, x_144); -lean_ctor_set(x_171, 1, x_145); -lean_ctor_set(x_171, 2, x_146); -lean_ctor_set(x_171, 3, x_147); -lean_ctor_set(x_171, 4, x_148); -lean_ctor_set(x_171, 5, x_149); -lean_ctor_set(x_171, 6, x_150); -lean_ctor_set(x_171, 7, x_151); -lean_ctor_set_uint8(x_171, sizeof(void*)*8, x_170); -lean_ctor_set(x_140, 0, x_171); -x_172 = lean_st_ref_set(x_4, x_140, x_143); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); -if (lean_is_exclusive(x_172)) { - lean_ctor_release(x_172, 0); - lean_ctor_release(x_172, 1); - x_174 = x_172; -} else { - lean_dec_ref(x_172); - x_174 = lean_box(0); -} -x_175 = lean_box(x_134); -if (lean_is_scalar(x_174)) { - x_176 = lean_alloc_ctor(0, 2, 0); -} else { - x_176 = x_174; -} -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_173); -return x_176; -} -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t 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; -x_177 = lean_ctor_get(x_140, 1); -x_178 = lean_ctor_get(x_140, 2); -x_179 = lean_ctor_get(x_140, 3); -lean_inc(x_179); -lean_inc(x_178); -lean_inc(x_177); -lean_dec(x_140); -x_180 = lean_ctor_get_uint8(x_142, sizeof(void*)*8); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - lean_ctor_release(x_142, 2); - lean_ctor_release(x_142, 3); - lean_ctor_release(x_142, 4); - lean_ctor_release(x_142, 5); - lean_ctor_release(x_142, 6); - lean_ctor_release(x_142, 7); - x_181 = x_142; -} else { - lean_dec_ref(x_142); - x_181 = lean_box(0); -} -if (lean_is_scalar(x_181)) { - x_182 = lean_alloc_ctor(0, 8, 1); -} else { - x_182 = x_181; -} -lean_ctor_set(x_182, 0, x_144); -lean_ctor_set(x_182, 1, x_145); -lean_ctor_set(x_182, 2, x_146); -lean_ctor_set(x_182, 3, x_147); -lean_ctor_set(x_182, 4, x_148); -lean_ctor_set(x_182, 5, x_149); -lean_ctor_set(x_182, 6, x_150); -lean_ctor_set(x_182, 7, x_151); -lean_ctor_set_uint8(x_182, sizeof(void*)*8, x_180); -x_183 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_177); -lean_ctor_set(x_183, 2, x_178); -lean_ctor_set(x_183, 3, x_179); -x_184 = lean_st_ref_set(x_4, x_183, x_143); -x_185 = lean_ctor_get(x_184, 1); -lean_inc(x_185); -if (lean_is_exclusive(x_184)) { - lean_ctor_release(x_184, 0); - lean_ctor_release(x_184, 1); - x_186 = x_184; -} else { - lean_dec_ref(x_184); - x_186 = lean_box(0); -} -x_187 = lean_box(x_134); -if (lean_is_scalar(x_186)) { - x_188 = lean_alloc_ctor(0, 2, 0); -} else { - x_188 = x_186; -} -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_185); -return x_188; -} -} -else -{ -lean_object* x_189; uint8_t x_190; -x_189 = lean_ctor_get(x_139, 1); -lean_inc(x_189); -lean_dec(x_139); -x_190 = !lean_is_exclusive(x_136); -if (x_190 == 0) -{ -uint8_t x_191; -x_191 = !lean_is_exclusive(x_140); -if (x_191 == 0) -{ -lean_object* x_192; uint8_t x_193; lean_object* x_194; uint8_t x_195; -x_192 = lean_ctor_get(x_140, 0); -lean_dec(x_192); -x_193 = 1; -lean_ctor_set_uint8(x_136, sizeof(void*)*8, x_193); -lean_ctor_set(x_140, 0, x_136); -x_194 = lean_st_ref_set(x_4, x_140, x_189); -x_195 = !lean_is_exclusive(x_194); -if (x_195 == 0) -{ -lean_object* x_196; lean_object* x_197; -x_196 = lean_ctor_get(x_194, 0); -lean_dec(x_196); -x_197 = lean_box(x_134); -lean_ctor_set(x_194, 0, x_197); -return x_194; -} -else -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; -x_198 = lean_ctor_get(x_194, 1); -lean_inc(x_198); -lean_dec(x_194); -x_199 = lean_box(x_134); -x_200 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_198); -return x_200; -} -} -else -{ -lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t 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; -x_201 = lean_ctor_get(x_140, 1); -x_202 = lean_ctor_get(x_140, 2); -x_203 = lean_ctor_get(x_140, 3); -lean_inc(x_203); -lean_inc(x_202); -lean_inc(x_201); -lean_dec(x_140); -x_204 = 1; -lean_ctor_set_uint8(x_136, sizeof(void*)*8, x_204); -x_205 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_205, 0, x_136); -lean_ctor_set(x_205, 1, x_201); -lean_ctor_set(x_205, 2, x_202); -lean_ctor_set(x_205, 3, x_203); -x_206 = lean_st_ref_set(x_4, x_205, x_189); -x_207 = lean_ctor_get(x_206, 1); -lean_inc(x_207); -if (lean_is_exclusive(x_206)) { - lean_ctor_release(x_206, 0); - lean_ctor_release(x_206, 1); - x_208 = x_206; -} else { - lean_dec_ref(x_206); - x_208 = lean_box(0); -} -x_209 = lean_box(x_134); -if (lean_is_scalar(x_208)) { - x_210 = lean_alloc_ctor(0, 2, 0); -} else { - x_210 = x_208; -} -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_207); -return x_210; -} -} -else -{ -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_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; -x_211 = lean_ctor_get(x_136, 0); -x_212 = lean_ctor_get(x_136, 1); -x_213 = lean_ctor_get(x_136, 2); -x_214 = lean_ctor_get(x_136, 3); -x_215 = lean_ctor_get(x_136, 4); -x_216 = lean_ctor_get(x_136, 5); -x_217 = lean_ctor_get(x_136, 6); -x_218 = lean_ctor_get(x_136, 7); -lean_inc(x_218); -lean_inc(x_217); -lean_inc(x_216); -lean_inc(x_215); -lean_inc(x_214); -lean_inc(x_213); -lean_inc(x_212); -lean_inc(x_211); -lean_dec(x_136); -x_219 = lean_ctor_get(x_140, 1); -lean_inc(x_219); -x_220 = lean_ctor_get(x_140, 2); -lean_inc(x_220); -x_221 = lean_ctor_get(x_140, 3); -lean_inc(x_221); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - lean_ctor_release(x_140, 1); - lean_ctor_release(x_140, 2); - lean_ctor_release(x_140, 3); - x_222 = x_140; -} else { - lean_dec_ref(x_140); - x_222 = lean_box(0); -} -x_223 = 1; -x_224 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_224, 0, x_211); -lean_ctor_set(x_224, 1, x_212); -lean_ctor_set(x_224, 2, x_213); -lean_ctor_set(x_224, 3, x_214); -lean_ctor_set(x_224, 4, x_215); -lean_ctor_set(x_224, 5, x_216); -lean_ctor_set(x_224, 6, x_217); -lean_ctor_set(x_224, 7, x_218); -lean_ctor_set_uint8(x_224, sizeof(void*)*8, x_223); -if (lean_is_scalar(x_222)) { - x_225 = lean_alloc_ctor(0, 4, 0); -} else { - x_225 = x_222; -} -lean_ctor_set(x_225, 0, x_224); -lean_ctor_set(x_225, 1, x_219); -lean_ctor_set(x_225, 2, x_220); -lean_ctor_set(x_225, 3, x_221); -x_226 = lean_st_ref_set(x_4, x_225, x_189); -x_227 = lean_ctor_get(x_226, 1); -lean_inc(x_227); -if (lean_is_exclusive(x_226)) { - lean_ctor_release(x_226, 0); - lean_ctor_release(x_226, 1); - x_228 = x_226; -} else { - lean_dec_ref(x_226); - x_228 = lean_box(0); -} -x_229 = lean_box(x_134); -if (lean_is_scalar(x_228)) { - x_230 = lean_alloc_ctor(0, 2, 0); -} else { - x_230 = x_228; -} -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_227); -return x_230; -} -} -} -block_245: -{ -if (x_232 == 0) -{ -uint8_t x_234; -x_234 = l_Lean_Expr_hasFVar(x_127); -if (x_234 == 0) -{ -uint8_t x_235; -x_235 = l_Lean_Expr_hasMVar(x_127); -if (x_235 == 0) -{ -uint8_t x_236; -lean_dec(x_127); -x_236 = 0; -x_134 = x_236; -x_135 = x_233; -goto block_231; -} -else -{ -lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; -x_237 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__18(x_2, x_127, x_233); -x_238 = lean_ctor_get(x_237, 0); -lean_inc(x_238); -x_239 = lean_ctor_get(x_237, 1); -lean_inc(x_239); -lean_dec(x_237); -x_240 = lean_unbox(x_238); -lean_dec(x_238); -x_134 = x_240; -x_135 = x_239; -goto block_231; -} -} -else -{ -lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; -x_241 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__26(x_2, x_127, x_233); -x_242 = lean_ctor_get(x_241, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_241, 1); -lean_inc(x_243); -lean_dec(x_241); -x_244 = lean_unbox(x_242); -lean_dec(x_242); -x_134 = x_244; -x_135 = x_243; -goto block_231; -} -} -else -{ -lean_dec(x_127); -x_134 = x_232; -x_135 = x_233; -goto block_231; +lean_dec(x_94); +x_101 = x_128; +x_102 = x_129; +goto block_127; } } } @@ -6748,7 +6332,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -7476,7 +7060,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -7767,7 +7351,7 @@ return x_16; LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at_Lean_MVarId_clear___spec__56(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_112; lean_object* x_113; uint8_t x_114; +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; x_8 = lean_st_ref_get(x_6, x_7); x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); @@ -7781,235 +7365,170 @@ lean_dec(x_10); x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); lean_dec(x_11); -x_112 = l_Lean_localDeclDependsOn___at_Lean_MVarId_clear___spec__1___closed__1; -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_13); -x_114 = l_Lean_Expr_hasFVar(x_1); -if (x_114 == 0) +x_14 = l_Lean_localDeclDependsOn___at_Lean_MVarId_clear___spec__1___closed__1; +lean_inc(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_Expr_hasFVar(x_1); +if (x_16 == 0) { -uint8_t x_115; -x_115 = l_Lean_Expr_hasMVar(x_1); -if (x_115 == 0) +uint8_t x_17; +x_17 = l_Lean_Expr_hasMVar(x_1); +if (x_17 == 0) { -uint8_t x_116; -lean_dec(x_1); -x_116 = 0; -x_14 = x_116; -x_15 = x_113; -goto block_111; -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_117 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__57(x_2, x_1, x_113); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = lean_unbox(x_118); -lean_dec(x_118); -x_14 = x_120; -x_15 = x_119; -goto block_111; -} -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_121 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__65(x_2, x_1, x_113); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = lean_unbox(x_122); -lean_dec(x_122); -x_14 = x_124; -x_15 = x_123; -goto block_111; -} -block_111: -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_dec(x_15); -x_17 = lean_st_ref_get(x_6, x_12); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_st_ref_take(x_4, x_18); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get_uint8(x_16, sizeof(void*)*8); -if (x_21 == 0) -{ -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; uint8_t x_32; -x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_1); +x_18 = lean_st_ref_get(x_6, x_12); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_st_ref_take(x_4, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); -x_23 = lean_ctor_get(x_19, 1); -lean_inc(x_23); -lean_dec(x_19); -x_24 = lean_ctor_get(x_16, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_16, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_16, 2); -lean_inc(x_26); -x_27 = lean_ctor_get(x_16, 3); -lean_inc(x_27); -x_28 = lean_ctor_get(x_16, 4); -lean_inc(x_28); -x_29 = lean_ctor_get(x_16, 5); -lean_inc(x_29); -x_30 = lean_ctor_get(x_16, 6); +lean_dec(x_20); +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_21, 0); +lean_dec(x_24); +lean_ctor_set(x_21, 0, x_13); +x_25 = lean_st_ref_set(x_4, x_21, x_22); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +x_28 = 0; +x_29 = lean_box(x_28); +lean_ctor_set(x_25, 0, x_29); +return x_25; +} +else +{ +lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_25, 1); lean_inc(x_30); -x_31 = lean_ctor_get(x_16, 7); -lean_inc(x_31); -lean_dec(x_16); -x_32 = !lean_is_exclusive(x_20); -if (x_32 == 0) +lean_dec(x_25); +x_31 = 0; +x_32 = lean_box(x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +} +else { -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_20, 0); -lean_dec(x_33); -x_34 = !lean_is_exclusive(x_22); -if (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; lean_object* x_43; uint8_t x_44; -x_35 = lean_ctor_get(x_22, 7); -lean_dec(x_35); -x_36 = lean_ctor_get(x_22, 6); -lean_dec(x_36); -x_37 = lean_ctor_get(x_22, 5); -lean_dec(x_37); -x_38 = lean_ctor_get(x_22, 4); -lean_dec(x_38); -x_39 = lean_ctor_get(x_22, 3); -lean_dec(x_39); -x_40 = lean_ctor_get(x_22, 2); -lean_dec(x_40); -x_41 = lean_ctor_get(x_22, 1); -lean_dec(x_41); -x_42 = lean_ctor_get(x_22, 0); -lean_dec(x_42); -lean_ctor_set(x_22, 7, x_31); -lean_ctor_set(x_22, 6, x_30); -lean_ctor_set(x_22, 5, x_29); -lean_ctor_set(x_22, 4, x_28); -lean_ctor_set(x_22, 3, x_27); -lean_ctor_set(x_22, 2, x_26); -lean_ctor_set(x_22, 1, x_25); -lean_ctor_set(x_22, 0, x_24); -x_43 = lean_st_ref_set(x_4, x_20, x_23); -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_43, 0); -lean_dec(x_45); -x_46 = lean_box(x_14); -lean_ctor_set(x_43, 0, x_46); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; +x_34 = lean_ctor_get(x_21, 1); +x_35 = lean_ctor_get(x_21, 2); +x_36 = lean_ctor_get(x_21, 3); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_21); +x_37 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_37, 0, x_13); +lean_ctor_set(x_37, 1, x_34); +lean_ctor_set(x_37, 2, x_35); +lean_ctor_set(x_37, 3, x_36); +x_38 = lean_st_ref_set(x_4, x_37, x_22); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_40 = x_38; +} else { + lean_dec_ref(x_38); + x_40 = lean_box(0); +} +x_41 = 0; +x_42 = lean_box(x_41); +if (lean_is_scalar(x_40)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_40; +} +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_39); return x_43; } +} else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_43, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_dec(x_13); +x_44 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__57(x_2, x_1, x_15); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); -lean_dec(x_43); -x_48 = lean_box(x_14); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -return x_49; -} +lean_dec(x_45); +x_48 = lean_st_ref_get(x_6, x_12); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_st_ref_take(x_4, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = !lean_is_exclusive(x_51); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_54 = lean_ctor_get(x_51, 0); +lean_dec(x_54); +lean_ctor_set(x_51, 0, x_47); +x_55 = lean_st_ref_set(x_4, x_51, x_52); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +lean_ctor_set(x_55, 0, x_46); +return x_55; } else { -uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_50 = lean_ctor_get_uint8(x_22, sizeof(void*)*8); -lean_dec(x_22); -x_51 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_51, 0, x_24); -lean_ctor_set(x_51, 1, x_25); -lean_ctor_set(x_51, 2, x_26); -lean_ctor_set(x_51, 3, x_27); -lean_ctor_set(x_51, 4, x_28); -lean_ctor_set(x_51, 5, x_29); -lean_ctor_set(x_51, 6, x_30); -lean_ctor_set(x_51, 7, x_31); -lean_ctor_set_uint8(x_51, sizeof(void*)*8, x_50); -lean_ctor_set(x_20, 0, x_51); -x_52 = lean_st_ref_set(x_4, x_20, x_23); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(x_14); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -else -{ -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_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_57 = lean_ctor_get(x_20, 1); -x_58 = lean_ctor_get(x_20, 2); -x_59 = lean_ctor_get(x_20, 3); -lean_inc(x_59); +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_55, 1); lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_20); -x_60 = lean_ctor_get_uint8(x_22, sizeof(void*)*8); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - lean_ctor_release(x_22, 2); - lean_ctor_release(x_22, 3); - lean_ctor_release(x_22, 4); - lean_ctor_release(x_22, 5); - lean_ctor_release(x_22, 6); - lean_ctor_release(x_22, 7); - x_61 = x_22; -} else { - lean_dec_ref(x_22); - x_61 = lean_box(0); +lean_dec(x_55); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_46); +lean_ctor_set(x_59, 1, x_58); +return x_59; } -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(0, 8, 1); -} else { - x_62 = x_61; } -lean_ctor_set(x_62, 0, x_24); -lean_ctor_set(x_62, 1, x_25); -lean_ctor_set(x_62, 2, x_26); -lean_ctor_set(x_62, 3, x_27); -lean_ctor_set(x_62, 4, x_28); -lean_ctor_set(x_62, 5, x_29); -lean_ctor_set(x_62, 6, x_30); -lean_ctor_set(x_62, 7, x_31); -lean_ctor_set_uint8(x_62, sizeof(void*)*8, x_60); +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_60 = lean_ctor_get(x_51, 1); +x_61 = lean_ctor_get(x_51, 2); +x_62 = lean_ctor_get(x_51, 3); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_51); x_63 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_57); -lean_ctor_set(x_63, 2, x_58); -lean_ctor_set(x_63, 3, x_59); -x_64 = lean_st_ref_set(x_4, x_63, x_23); +lean_ctor_set(x_63, 0, x_47); +lean_ctor_set(x_63, 1, x_60); +lean_ctor_set(x_63, 2, x_61); +lean_ctor_set(x_63, 3, x_62); +x_64 = lean_st_ref_set(x_4, x_63, x_52); x_65 = lean_ctor_get(x_64, 1); lean_inc(x_65); if (lean_is_exclusive(x_64)) { @@ -8020,176 +7539,103 @@ if (lean_is_exclusive(x_64)) { lean_dec_ref(x_64); x_66 = lean_box(0); } -x_67 = lean_box(x_14); if (lean_is_scalar(x_66)) { - x_68 = lean_alloc_ctor(0, 2, 0); + x_67 = lean_alloc_ctor(0, 2, 0); } else { - x_68 = x_66; + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_46); +lean_ctor_set(x_67, 1, x_65); +return x_67; } -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_65); -return x_68; } } else { -lean_object* x_69; uint8_t x_70; -x_69 = lean_ctor_get(x_19, 1); +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; uint8_t x_77; +lean_dec(x_13); +x_68 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MVarId_clear___spec__65(x_2, x_1, x_15); +x_69 = lean_ctor_get(x_68, 1); lean_inc(x_69); -lean_dec(x_19); -x_70 = !lean_is_exclusive(x_16); -if (x_70 == 0) -{ -uint8_t x_71; -x_71 = !lean_is_exclusive(x_20); -if (x_71 == 0) -{ -lean_object* x_72; uint8_t x_73; lean_object* x_74; uint8_t x_75; -x_72 = lean_ctor_get(x_20, 0); +x_70 = lean_ctor_get(x_68, 0); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_st_ref_get(x_6, x_12); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); lean_dec(x_72); -x_73 = 1; -lean_ctor_set_uint8(x_16, sizeof(void*)*8, x_73); -lean_ctor_set(x_20, 0, x_16); -x_74 = lean_st_ref_set(x_4, x_20, x_69); -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_74, 0); -lean_dec(x_76); -x_77 = lean_box(x_14); -lean_ctor_set(x_74, 0, x_77); -return x_74; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_74, 1); -lean_inc(x_78); +x_74 = lean_st_ref_take(x_4, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); lean_dec(x_74); -x_79 = lean_box(x_14); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -return x_80; -} +x_77 = !lean_is_exclusive(x_75); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_78 = lean_ctor_get(x_75, 0); +lean_dec(x_78); +lean_ctor_set(x_75, 0, x_71); +x_79 = lean_st_ref_set(x_4, x_75, x_76); +x_80 = !lean_is_exclusive(x_79); +if (x_80 == 0) +{ +lean_object* x_81; +x_81 = lean_ctor_get(x_79, 0); +lean_dec(x_81); +lean_ctor_set(x_79, 0, x_70); +return x_79; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t 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; -x_81 = lean_ctor_get(x_20, 1); -x_82 = lean_ctor_get(x_20, 2); -x_83 = lean_ctor_get(x_20, 3); -lean_inc(x_83); +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_79, 1); lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_20); -x_84 = 1; -lean_ctor_set_uint8(x_16, sizeof(void*)*8, x_84); -x_85 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_85, 0, x_16); -lean_ctor_set(x_85, 1, x_81); -lean_ctor_set(x_85, 2, x_82); -lean_ctor_set(x_85, 3, x_83); -x_86 = lean_st_ref_set(x_4, x_85, x_69); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_88 = x_86; -} else { - lean_dec_ref(x_86); - x_88 = lean_box(0); -} -x_89 = lean_box(x_14); -if (lean_is_scalar(x_88)) { - x_90 = lean_alloc_ctor(0, 2, 0); -} else { - x_90 = x_88; -} -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_87); -return x_90; +lean_dec(x_79); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_70); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t 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; -x_91 = lean_ctor_get(x_16, 0); -x_92 = lean_ctor_get(x_16, 1); -x_93 = lean_ctor_get(x_16, 2); -x_94 = lean_ctor_get(x_16, 3); -x_95 = lean_ctor_get(x_16, 4); -x_96 = lean_ctor_get(x_16, 5); -x_97 = lean_ctor_get(x_16, 6); -x_98 = lean_ctor_get(x_16, 7); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_16); -x_99 = lean_ctor_get(x_20, 1); -lean_inc(x_99); -x_100 = lean_ctor_get(x_20, 2); -lean_inc(x_100); -x_101 = lean_ctor_get(x_20, 3); -lean_inc(x_101); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - lean_ctor_release(x_20, 2); - lean_ctor_release(x_20, 3); - x_102 = x_20; +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_84 = lean_ctor_get(x_75, 1); +x_85 = lean_ctor_get(x_75, 2); +x_86 = lean_ctor_get(x_75, 3); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_75); +x_87 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_87, 0, x_71); +lean_ctor_set(x_87, 1, x_84); +lean_ctor_set(x_87, 2, x_85); +lean_ctor_set(x_87, 3, x_86); +x_88 = lean_st_ref_set(x_4, x_87, x_76); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_90 = x_88; } else { - lean_dec_ref(x_20); - x_102 = lean_box(0); + lean_dec_ref(x_88); + x_90 = lean_box(0); } -x_103 = 1; -x_104 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_104, 0, x_91); -lean_ctor_set(x_104, 1, x_92); -lean_ctor_set(x_104, 2, x_93); -lean_ctor_set(x_104, 3, x_94); -lean_ctor_set(x_104, 4, x_95); -lean_ctor_set(x_104, 5, x_96); -lean_ctor_set(x_104, 6, x_97); -lean_ctor_set(x_104, 7, x_98); -lean_ctor_set_uint8(x_104, sizeof(void*)*8, x_103); -if (lean_is_scalar(x_102)) { - x_105 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(0, 2, 0); } else { - x_105 = x_102; -} -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_99); -lean_ctor_set(x_105, 2, x_100); -lean_ctor_set(x_105, 3, x_101); -x_106 = lean_st_ref_set(x_4, x_105, x_69); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_108 = x_106; -} else { - lean_dec_ref(x_106); - x_108 = lean_box(0); -} -x_109 = lean_box(x_14); -if (lean_is_scalar(x_108)) { - x_110 = lean_alloc_ctor(0, 2, 0); -} else { - x_110 = x_108; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -return x_110; + x_91 = x_90; } +lean_ctor_set(x_91, 0, x_70); +lean_ctor_set(x_91, 1, x_89); +return x_91; } } } @@ -9594,6 +9040,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { diff --git a/stage0/stdlib/Lean/Meta/Tactic/Contradiction.c b/stage0/stdlib/Lean/Meta/Tactic/Contradiction.c index 9bb02960bb..77dcb0486e 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Contradiction.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Contradiction.c @@ -14,50 +14,51 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_ElimEmptyInductive_elim___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_contradiction___closed__2; +static lean_object* l_Lean_MVarId_contradictionCore___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_ElimEmptyInductive_elim___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_nestedFalseElim___lambda__1___closed__4; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_MVarId_contradictionCore___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_contradictionCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInductive_elim___spec__4___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInductive_elim___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInductive_elim___spec__1___closed__2; static lean_object* l_Lean_addTrace___at_Lean_Meta_ElimEmptyInductive_elim___spec__5___closed__2; -static lean_object* l_Lean_Meta_contradiction___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_contradictionCore___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_MVarId_contradictionCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_ElimEmptyInductive_elim___spec__5___closed__1; static lean_object* l_Lean_commitWhen___at_Lean_Meta_ElimEmptyInductive_elim___spec__7___at_Lean_Meta_ElimEmptyInductive_elim___spec__8___lambda__2___closed__7; static lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___closed__3; LEAN_EXPORT uint8_t l_Lean_Meta_Contradiction_Config_genDiseq___default; lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__8; static lean_object* l_Lean_commitWhen___at_Lean_Meta_ElimEmptyInductive_elim___spec__7___at_Lean_Meta_ElimEmptyInductive_elim___spec__8___lambda__2___closed__3; uint8_t lean_name_eq(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__4; lean_object* l_Lean_Meta_saveState___boxed(lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_ElimEmptyInductive_elim___spec__5___closed__6; +static lean_object* l_Lean_MVarId_contradiction___closed__1; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); uint8_t l_Lean_Expr_isEq(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Meta_ElimEmptyInductive_elim___closed__2; +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_MVarId_contradictionCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__8; +static lean_object* l_Lean_MVarId_contradiction___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInductive_elim___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__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*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); -static lean_object* l_Lean_Meta_contradictionCore___closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___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*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ElimEmptyInductive_elim___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_commitWhen___at_Lean_Meta_ElimEmptyInductive_elim___spec__7___at_Lean_Meta_ElimEmptyInductive_elim___spec__8___lambda__1___closed__1; uint8_t lean_usize_dec_lt(size_t, size_t); @@ -66,14 +67,12 @@ LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_isGe extern lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkDecide(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__1(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_contradictionCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_matchNot_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_ElimEmptyInductive_elim___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__2; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_commitWhen___at_Lean_Meta_ElimEmptyInductive_elim___spec__7___at_Lean_Meta_ElimEmptyInductive_elim___spec__8___lambda__2___closed__4; lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_exfalso(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___closed__6; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInductive_elim___spec__4___closed__2; uint8_t lean_expr_has_loose_bvar(lean_object*, lean_object*); @@ -88,23 +87,22 @@ uint8_t l_Lean_Expr_isHEq(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ElimEmptyInductive_instMonadBacktrackSavedStateM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_commitWhen___at_Lean_Meta_ElimEmptyInductive_elim___spec__7___at_Lean_Meta_ElimEmptyInductive_elim___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_contradictionCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_ElimEmptyInductive_instMonadBacktrackSavedStateM___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_commitWhen___at_Lean_Meta_ElimEmptyInductive_elim___spec__7___at_Lean_Meta_ElimEmptyInductive_elim___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_isElimEmptyInductiveCandidate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_ElimEmptyInductive_elim___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Meta_ElimEmptyInductive_instMonadBacktrackSavedStateM___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_contradictionCore___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInductive_elim___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_mkGenDiseqMask(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___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*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_ElimEmptyInductive_elim___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInductive_elim___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__4; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__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*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInductive_elim___spec__1___closed__1; lean_object* l_Lean_Meta_FVarSubst_apply(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___closed__5; @@ -112,9 +110,7 @@ static lean_object* l_Lean_addTrace___at_Lean_Meta_ElimEmptyInductive_elim___spe LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_ElimEmptyInductive_elim___spec__5___closed__8; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__1(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInductive_elim___spec__4___closed__3; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_ElimEmptyInductive_elim___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_ElimEmptyInductive_elim___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_commitWhen___at_Lean_Meta_ElimEmptyInductive_elim___spec__7___at_Lean_Meta_ElimEmptyInductive_elim___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -129,28 +125,26 @@ LEAN_EXPORT lean_object* l_Lean_Meta_ElimEmptyInductive_elim___lambda__3___boxed static lean_object* l_Lean_Meta_ElimEmptyInductive_elim___lambda__3___closed__1; lean_object* l_Lean_Meta_mkAbsurd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_contradictionCore___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* l_Lean_Meta_findLocalDeclWithType_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_commitWhen___at_Lean_Meta_ElimEmptyInductive_elim___spec__7___at_Lean_Meta_ElimEmptyInductive_elim___spec__8___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInductive_elim___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__3; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_contradiction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__5; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__6(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_LocalDecl_toExpr(lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_contradictionCore___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_contradictionCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_contradictionCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MVarId_exfalso(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_contradictionCore___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instMonadMetaM; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_mkGenDiseqMask_go(lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__3; size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_nestedFalseElim___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ElimEmptyInductive_instMonadBacktrackSavedStateM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -159,13 +153,16 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Contradiction_Config_useDecide___default; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_nestedFalseElim___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at_Lean_Meta_ElimEmptyInductive_elim___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceOptions(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_nestedFalseElim___lambda__1___closed__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_nestedFalseElim___lambda__1___closed__2; lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_contradictionCore___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_MVarId_contradiction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -179,9 +176,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta LEAN_EXPORT lean_object* l_Lean_commitWhen___at_Lean_Meta_ElimEmptyInductive_elim___spec__7___at_Lean_Meta_ElimEmptyInductive_elim___spec__8___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Cases_cases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__7; +LEAN_EXPORT lean_object* l_Lean_MVarId_contradictionCore___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_matchConstructorApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__5; +LEAN_EXPORT lean_object* l_Lean_MVarId_contradictionCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___closed__1; static lean_object* l_Lean_Meta_ElimEmptyInductive_elim___lambda__2___closed__2; uint8_t l_Lean_Expr_hasMVar(lean_object*); @@ -190,25 +187,25 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInduct lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_elimEmptyInductive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInductive_elim___spec__4___closed__1; +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_MVarId_contradictionCore___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__7; static lean_object* l_Lean_Meta_ElimEmptyInductive_instMonadBacktrackSavedStateM___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_elimEmptyInductive___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_commitWhen___at_Lean_Meta_ElimEmptyInductive_elim___spec__7___at_Lean_Meta_ElimEmptyInductive_elim___spec__8___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_commitWhen___at___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_elimEmptyInductive___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInductive_elim___spec__4___boxed__const__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___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*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at_Lean_Meta_ElimEmptyInductive_elim___spec__3(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___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*, lean_object*); static lean_object* l_Lean_Meta_ElimEmptyInductive_elim___lambda__2___closed__1; lean_object* l_Lean_Meta_matchNe_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___closed__4; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_contradictionCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___spec__1___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_MVarId_contradictionCore___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_ElimEmptyInductive_elim___spec__5___closed__3; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); -static lean_object* l_Lean_Meta_contradictionCore___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -217,12 +214,16 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_ElimEmptyInductive_e lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_contradictionCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFalseElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkNoConfusion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Contradiction_Config_emptyType___default; -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Contradiction___hyg_4371_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Contradiction___hyg_4383_(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__2; lean_object* lean_mk_array(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_MVarId_contradictionCore___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Meta_ACLt_lt_lexSameCtor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_mkGenDiseqMask___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_ElimEmptyInductive_elim___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -230,34 +231,34 @@ LEAN_EXPORT lean_object* l_Lean_Meta_ElimEmptyInductive_elim___lambda__4(lean_ob lean_object* l_Lean_Meta_forallMetaTelescope(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_ElimEmptyInductive_instMonadBacktrackSavedStateM___closed__3; static lean_object* l_Lean_Meta_ElimEmptyInductive_elim___lambda__4___closed__2; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_commitWhen___at___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_elimEmptyInductive___spec__1___at___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_elimEmptyInductive___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ElimEmptyInductive_elim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__1; static lean_object* l_Lean_commitWhen___at_Lean_Meta_ElimEmptyInductive_elim___spec__7___at_Lean_Meta_ElimEmptyInductive_elim___spec__8___lambda__2___closed__6; lean_object* l_Lean_Expr_getAppFn(lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_contradictionCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkHEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__6; +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_MVarId_contradictionCore___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_Simp_isEqnThmHypothesis(lean_object*); lean_object* l_Lean_Meta_withNewMCtxDepth___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_nestedFalseElim___lambda__1___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_mkGenDiseqMask_go___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_contradictionCore___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_ElimEmptyInductive_elim___spec__5___closed__7; uint8_t l_Lean_Expr_hasFVar(lean_object*); lean_object* l_Lean_FVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_ElimEmptyInductive_elim___spec__5___closed__5; lean_object* l_Lean_Meta_mkEqOfHEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_contradictionCore___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__6; lean_object* l_instMonadControlT__1___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MVarId_contradictionCore___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_nestedFalseElim___closed__1; lean_object* l_Lean_Meta_matchHEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Exception_toMessageData(lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_ElimEmptyInductive_elim___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_contradictionCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_commitWhen___at_Lean_Meta_ElimEmptyInductive_elim___spec__7___at_Lean_Meta_ElimEmptyInductive_elim___spec__8___lambda__2___closed__5; static uint8_t _init_l_Lean_Meta_Contradiction_Config_useDecide___default() { @@ -1149,6 +1150,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); return x_8; } } @@ -2108,6 +2110,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { @@ -2180,6 +2183,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_35 = !lean_is_exclusive(x_34); if (x_35 == 0) { @@ -2489,6 +2493,7 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_14); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -2561,6 +2566,7 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_14); x_40 = !lean_is_exclusive(x_39); if (x_40 == 0) { @@ -3126,6 +3132,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -3198,6 +3205,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_34 = !lean_is_exclusive(x_33); if (x_34 == 0) { @@ -3236,7 +3244,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_20 = l_Lean_Meta_exfalso(x_1, x_4, x_5, x_6, x_7, x_11); +x_20 = l_Lean_MVarId_exfalso(x_1, x_4, x_5, x_6, x_7, x_11); if (lean_obj_tag(x_20) == 0) { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; @@ -3288,6 +3296,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_10); x_37 = !lean_is_exclusive(x_36); if (x_37 == 0) { @@ -3383,6 +3392,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_10); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -5680,7 +5690,7 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { uint8_t x_16; @@ -5724,7 +5734,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_22 = l_Std_PersistentArray_forInAux___at_Lean_Meta_contradictionCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_18, x_20, x_11, x_12, x_13, x_14, x_15); +x_22 = l_Std_PersistentArray_forInAux___at_Lean_MVarId_contradictionCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_18, x_20, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_22) == 0) { lean_object* x_23; @@ -5841,7 +5851,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_40 = l_Std_PersistentArray_forInAux___at_Lean_Meta_contradictionCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_18, x_39, x_11, x_12, x_13, x_14, x_15); +x_40 = l_Std_PersistentArray_forInAux___at_Lean_MVarId_contradictionCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_18, x_39, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_40) == 0) { lean_object* x_41; @@ -5945,7 +5955,7 @@ return x_56; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -6101,7 +6111,7 @@ return x_40; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(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, 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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; @@ -6112,7 +6122,7 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_dec(x_7); x_15 = lean_box(0); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_9, x_10, x_11, x_12, x_13); lean_dec(x_5); return x_16; } @@ -6125,7 +6135,7 @@ if (x_17 == 0) { lean_object* x_18; lean_object* x_19; x_18 = lean_box(0); -x_19 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_9, x_10, x_11, x_12, x_13); +x_19 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_9, x_10, x_11, x_12, x_13); lean_dec(x_5); return x_19; } @@ -6153,7 +6163,7 @@ x_23 = lean_ctor_get(x_20, 1); lean_inc(x_23); lean_dec(x_20); x_24 = lean_box(0); -x_25 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_24, x_9, x_10, x_11, x_12, x_23); +x_25 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_24, x_9, x_10, x_11, x_12, x_23); lean_dec(x_5); return x_25; } @@ -6226,7 +6236,7 @@ return x_35; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -6234,17 +6244,17 @@ x_1 = lean_mk_string_from_bytes("Bool", 4); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__1; +x_2 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__3() { _start: { lean_object* x_1; @@ -6252,17 +6262,17 @@ x_1 = lean_mk_string_from_bytes("false", 5); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__4() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__2; -x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__3; +x_1 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__2; +x_2 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__5() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__5() { _start: { lean_object* x_1; @@ -6270,27 +6280,27 @@ x_1 = lean_mk_string_from_bytes("of_decide_eq_false", 18); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__6() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__5; +x_2 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__7() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__6; +x_2 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__6; x_3 = l_Lean_Expr_const___override(x_2, x_1); return x_3; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__8() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -6299,7 +6309,7 @@ x_2 = l_Lean_Expr_sort___override(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* 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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* 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) { _start: { uint8_t x_14; @@ -6309,7 +6319,7 @@ if (x_14 == 0) { lean_object* x_15; lean_object* x_16; x_15 = lean_box(0); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_15, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_15, x_9, x_10, x_11, x_12, x_13); return x_16; } else @@ -6387,7 +6397,7 @@ lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); lean_dec(x_35); -x_38 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__4; +x_38 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__4; x_39 = l_Lean_Expr_isConstOf(x_36, x_38); lean_dec(x_36); if (x_39 == 0) @@ -6395,7 +6405,7 @@ if (x_39 == 0) lean_object* x_40; lean_object* x_41; lean_dec(x_25); x_40 = lean_box(0); -x_41 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_40, x_9, x_10, x_11, x_12, x_37); +x_41 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_40, x_9, x_10, x_11, x_12, x_37); return x_41; } else @@ -6417,7 +6427,7 @@ lean_inc(x_44); lean_dec(x_42); x_45 = lean_unsigned_to_nat(0u); x_46 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_25, x_45); -x_47 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__8; +x_47 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__8; lean_inc(x_46); x_48 = lean_mk_array(x_46, x_47); x_49 = lean_unsigned_to_nat(1u); @@ -6425,7 +6435,7 @@ x_50 = lean_nat_sub(x_46, x_49); lean_dec(x_46); x_51 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_25, x_48, x_50); x_52 = lean_array_push(x_51, x_43); -x_53 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__7; +x_53 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__7; x_54 = l_Lean_mkAppN(x_53, x_52); lean_inc(x_5); x_55 = l_Lean_MVarId_getType(x_5, x_9, x_10, x_11, x_12, x_44); @@ -6490,7 +6500,7 @@ x_69 = lean_ctor_get(x_59, 1); lean_inc(x_69); lean_dec(x_59); x_70 = lean_box(0); -x_71 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_70, x_9, x_10, x_11, x_12, x_69); +x_71 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_70, x_9, x_10, x_11, x_12, x_69); return x_71; } } @@ -6502,7 +6512,7 @@ x_72 = lean_ctor_get(x_55, 1); lean_inc(x_72); lean_dec(x_55); x_73 = lean_box(0); -x_74 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_73, x_9, x_10, x_11, x_12, x_72); +x_74 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_73, x_9, x_10, x_11, x_12, x_72); return x_74; } } @@ -6514,7 +6524,7 @@ x_75 = lean_ctor_get(x_42, 1); lean_inc(x_75); lean_dec(x_42); x_76 = lean_box(0); -x_77 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_76, x_9, x_10, x_11, x_12, x_75); +x_77 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_76, x_9, x_10, x_11, x_12, x_75); return x_77; } } @@ -6527,7 +6537,7 @@ x_78 = lean_ctor_get(x_35, 1); lean_inc(x_78); lean_dec(x_35); x_79 = lean_box(0); -x_80 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_79, x_9, x_10, x_11, x_12, x_78); +x_80 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_79, x_9, x_10, x_11, x_12, x_78); return x_80; } } @@ -6584,7 +6594,7 @@ lean_inc(x_98); x_99 = lean_ctor_get(x_97, 1); lean_inc(x_99); lean_dec(x_97); -x_100 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__4; +x_100 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__4; x_101 = l_Lean_Expr_isConstOf(x_98, x_100); lean_dec(x_98); if (x_101 == 0) @@ -6592,7 +6602,7 @@ if (x_101 == 0) lean_object* x_102; lean_object* x_103; lean_dec(x_25); x_102 = lean_box(0); -x_103 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_102, x_9, x_10, x_11, x_12, x_99); +x_103 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_102, x_9, x_10, x_11, x_12, x_99); return x_103; } else @@ -6614,7 +6624,7 @@ lean_inc(x_106); lean_dec(x_104); x_107 = lean_unsigned_to_nat(0u); x_108 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_25, x_107); -x_109 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__8; +x_109 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__8; lean_inc(x_108); x_110 = lean_mk_array(x_108, x_109); x_111 = lean_unsigned_to_nat(1u); @@ -6622,7 +6632,7 @@ x_112 = lean_nat_sub(x_108, x_111); lean_dec(x_108); x_113 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_25, x_110, x_112); x_114 = lean_array_push(x_113, x_105); -x_115 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__7; +x_115 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__7; x_116 = l_Lean_mkAppN(x_115, x_114); lean_inc(x_5); x_117 = l_Lean_MVarId_getType(x_5, x_9, x_10, x_11, x_12, x_106); @@ -6684,7 +6694,7 @@ x_129 = lean_ctor_get(x_121, 1); lean_inc(x_129); lean_dec(x_121); x_130 = lean_box(0); -x_131 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_130, x_9, x_10, x_11, x_12, x_129); +x_131 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_130, x_9, x_10, x_11, x_12, x_129); return x_131; } } @@ -6696,7 +6706,7 @@ x_132 = lean_ctor_get(x_117, 1); lean_inc(x_132); lean_dec(x_117); x_133 = lean_box(0); -x_134 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_133, x_9, x_10, x_11, x_12, x_132); +x_134 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_133, x_9, x_10, x_11, x_12, x_132); return x_134; } } @@ -6708,7 +6718,7 @@ x_135 = lean_ctor_get(x_104, 1); lean_inc(x_135); lean_dec(x_104); x_136 = lean_box(0); -x_137 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_136, x_9, x_10, x_11, x_12, x_135); +x_137 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_136, x_9, x_10, x_11, x_12, x_135); return x_137; } } @@ -6721,7 +6731,7 @@ x_138 = lean_ctor_get(x_97, 1); lean_inc(x_138); lean_dec(x_97); x_139 = lean_box(0); -x_140 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_139, x_9, x_10, x_11, x_12, x_138); +x_140 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_139, x_9, x_10, x_11, x_12, x_138); return x_140; } } @@ -6733,7 +6743,7 @@ x_141 = lean_ctor_get(x_23, 1); lean_inc(x_141); lean_dec(x_23); x_142 = lean_box(0); -x_143 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_142, x_9, x_10, x_11, x_12, x_141); +x_143 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_142, x_9, x_10, x_11, x_12, x_141); return x_143; } } @@ -6741,7 +6751,7 @@ else { lean_object* x_144; lean_object* x_145; x_144 = lean_box(0); -x_145 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_144, x_9, x_10, x_11, x_12, x_20); +x_145 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_144, x_9, x_10, x_11, x_12, x_20); return x_145; } } @@ -6750,7 +6760,7 @@ else lean_object* x_146; lean_object* x_147; lean_dec(x_19); x_146 = lean_box(0); -x_147 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_146, x_9, x_10, x_11, x_12, x_20); +x_147 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_146, x_9, x_10, x_11, x_12, x_20); return x_147; } } @@ -6758,13 +6768,13 @@ else { lean_object* x_148; lean_object* x_149; x_148 = lean_box(0); -x_149 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_148, x_9, x_10, x_11, x_12, x_13); +x_149 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_6, x_148, x_9, x_10, x_11, x_12, x_13); return x_149; } } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t 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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -6788,7 +6798,7 @@ lean_inc(x_15); lean_dec(x_13); x_16 = 0; x_17 = lean_box(0); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3(x_2, x_3, x_6, x_4, x_5, x_1, x_16, x_17, x_8, x_9, x_10, x_11, x_15); +x_18 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3(x_2, x_3, x_6, x_4, x_5, x_1, x_16, x_17, x_8, x_9, x_10, x_11, x_15); return x_18; } else @@ -6836,7 +6846,7 @@ lean_inc(x_29); lean_dec(x_27); x_30 = 1; x_31 = lean_box(0); -x_32 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3(x_2, x_3, x_6, x_4, x_5, x_1, x_30, x_31, x_8, x_9, x_10, x_11, x_29); +x_32 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3(x_2, x_3, x_6, x_4, x_5, x_1, x_30, x_31, x_8, x_9, x_10, x_11, x_29); return x_32; } else @@ -6869,7 +6879,7 @@ lean_inc(x_37); lean_dec(x_35); x_38 = 1; x_39 = lean_box(0); -x_40 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3(x_2, x_3, x_6, x_4, x_5, x_1, x_38, x_39, x_8, x_9, x_10, x_11, x_37); +x_40 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3(x_2, x_3, x_6, x_4, x_5, x_1, x_38, x_39, x_8, x_9, x_10, x_11, x_37); return x_40; } else @@ -6919,7 +6929,7 @@ lean_inc(x_51); lean_dec(x_48); x_52 = 1; x_53 = lean_box(0); -x_54 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3(x_2, x_3, x_6, x_4, x_5, x_1, x_52, x_53, x_8, x_9, x_10, x_11, x_51); +x_54 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3(x_2, x_3, x_6, x_4, x_5, x_1, x_52, x_53, x_8, x_9, x_10, x_11, x_51); return x_54; } else @@ -7123,7 +7133,7 @@ lean_dec(x_25); lean_dec(x_23); x_89 = 1; x_90 = lean_box(0); -x_91 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3(x_2, x_3, x_6, x_4, x_5, x_1, x_89, x_90, x_8, x_9, x_10, x_11, x_41); +x_91 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3(x_2, x_3, x_6, x_4, x_5, x_1, x_89, x_90, x_8, x_9, x_10, x_11, x_41); return x_91; } } @@ -7233,7 +7243,7 @@ return x_103; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -7257,7 +7267,7 @@ lean_inc(x_14); lean_dec(x_12); x_15 = 0; x_16 = lean_box(0); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__4(x_1, x_2, x_3, x_4, x_5, x_15, x_16, x_7, x_8, x_9, x_10, x_14); +x_17 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__4(x_1, x_2, x_3, x_4, x_5, x_15, x_16, x_7, x_8, x_9, x_10, x_14); return x_17; } else @@ -7296,7 +7306,7 @@ lean_inc(x_25); lean_dec(x_23); x_26 = 1; x_27 = lean_box(0); -x_28 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__4(x_1, x_2, x_3, x_4, x_5, x_26, x_27, x_7, x_8, x_9, x_10, x_25); +x_28 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__4(x_1, x_2, x_3, x_4, x_5, x_26, x_27, x_7, x_8, x_9, x_10, x_25); return x_28; } else @@ -7327,7 +7337,7 @@ lean_inc(x_33); lean_dec(x_31); x_34 = 1; x_35 = lean_box(0); -x_36 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__4(x_1, x_2, x_3, x_4, x_5, x_34, x_35, x_7, x_8, x_9, x_10, x_33); +x_36 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__4(x_1, x_2, x_3, x_4, x_5, x_34, x_35, x_7, x_8, x_9, x_10, x_33); return x_36; } else @@ -7475,7 +7485,7 @@ else uint8_t x_66; lean_object* x_67; lean_object* x_68; x_66 = 1; x_67 = lean_box(0); -x_68 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__4(x_1, x_2, x_3, x_4, x_5, x_66, x_67, x_7, x_8, x_9, x_10, x_37); +x_68 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__4(x_1, x_2, x_3, x_4, x_5, x_66, x_67, x_7, x_8, x_9, x_10, x_37); return x_68; } } @@ -7581,7 +7591,7 @@ return x_80; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -7604,7 +7614,7 @@ x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); x_15 = lean_box(0); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__5(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_14); +x_16 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__5(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_14); return x_16; } else @@ -7645,7 +7655,7 @@ x_25 = lean_ctor_get(x_22, 1); lean_inc(x_25); lean_dec(x_22); x_26 = lean_box(0); -x_27 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__5(x_1, x_2, x_3, x_4, x_5, x_26, x_7, x_8, x_9, x_10, x_25); +x_27 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__5(x_1, x_2, x_3, x_4, x_5, x_26, x_7, x_8, x_9, x_10, x_25); return x_27; } else @@ -7879,7 +7889,7 @@ return x_65; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t 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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; @@ -7960,7 +7970,7 @@ lean_inc(x_10); lean_inc(x_1); lean_inc(x_4); lean_inc(x_2); -x_49 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__6(x_44, x_2, x_4, x_42, x_1, x_48, x_10, x_11, x_12, x_13, x_47); +x_49 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__6(x_44, x_2, x_4, x_42, x_1, x_48, x_10, x_11, x_12, x_13, x_47); if (lean_obj_tag(x_49) == 0) { lean_object* x_50; lean_object* x_51; @@ -8039,7 +8049,7 @@ lean_inc(x_10); lean_inc(x_1); lean_inc(x_4); lean_inc(x_2); -x_62 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__6(x_44, x_2, x_4, x_42, x_1, x_61, x_10, x_11, x_12, x_13, x_60); +x_62 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__6(x_44, x_2, x_4, x_42, x_1, x_61, x_10, x_11, x_12, x_13, x_60); if (lean_obj_tag(x_62) == 0) { lean_object* x_63; lean_object* x_64; @@ -8385,7 +8395,7 @@ goto block_26; } } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_contradictionCore___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_MVarId_contradictionCore___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -8397,7 +8407,7 @@ lean_ctor_set(x_9, 1, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_contradictionCore___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_MVarId_contradictionCore___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { if (lean_obj_tag(x_6) == 0) @@ -8418,7 +8428,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_19 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__3(x_1, x_2, x_3, x_4, x_5, x_14, x_13, x_17, x_18, x_15, x_8, x_9, x_10, x_11, x_12); +x_19 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__3(x_1, x_2, x_3, x_4, x_5, x_14, x_13, x_17, x_18, x_15, x_8, x_9, x_10, x_11, x_12); lean_dec(x_13); if (lean_obj_tag(x_19) == 0) { @@ -8437,7 +8447,7 @@ x_23 = lean_ctor_get(x_20, 1); lean_inc(x_23); lean_dec(x_20); x_24 = lean_box(0); -x_25 = l_Std_PersistentArray_forInAux___at_Lean_Meta_contradictionCore___spec__2___lambda__1(x_23, x_24, x_8, x_9, x_10, x_11, x_22); +x_25 = l_Std_PersistentArray_forInAux___at_Lean_MVarId_contradictionCore___spec__2___lambda__1(x_23, x_24, x_8, x_9, x_10, x_11, x_22); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -8526,7 +8536,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_42 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4(x_1, x_2, x_3, x_4, x_37, x_36, x_40, x_41, x_38, x_8, x_9, x_10, x_11, x_12); +x_42 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4(x_1, x_2, x_3, x_4, x_37, x_36, x_40, x_41, x_38, x_8, x_9, x_10, x_11, x_12); lean_dec(x_36); lean_dec(x_3); if (lean_obj_tag(x_42) == 0) @@ -8546,7 +8556,7 @@ x_46 = lean_ctor_get(x_43, 1); lean_inc(x_46); lean_dec(x_43); x_47 = lean_box(0); -x_48 = l_Std_PersistentArray_forInAux___at_Lean_Meta_contradictionCore___spec__2___lambda__1(x_46, x_47, x_8, x_9, x_10, x_11, x_45); +x_48 = l_Std_PersistentArray_forInAux___at_Lean_MVarId_contradictionCore___spec__2___lambda__1(x_46, x_47, x_8, x_9, x_10, x_11, x_45); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -8618,7 +8628,7 @@ return x_58; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___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, size_t x_7, size_t 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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___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, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; @@ -8699,7 +8709,7 @@ lean_inc(x_10); lean_inc(x_1); lean_inc(x_4); lean_inc(x_2); -x_54 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__6(x_49, x_2, x_4, x_47, x_1, x_53, x_10, x_11, x_12, x_13, x_52); +x_54 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__6(x_49, x_2, x_4, x_47, x_1, x_53, x_10, x_11, x_12, x_13, x_52); if (lean_obj_tag(x_54) == 0) { lean_object* x_55; lean_object* x_56; @@ -8778,7 +8788,7 @@ lean_inc(x_10); lean_inc(x_1); lean_inc(x_4); lean_inc(x_2); -x_67 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__6(x_49, x_2, x_4, x_47, x_1, x_66, x_10, x_11, x_12, x_13, x_65); +x_67 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__6(x_49, x_2, x_4, x_47, x_1, x_66, x_10, x_11, x_12, x_13, x_65); if (lean_obj_tag(x_67) == 0) { lean_object* x_68; lean_object* x_69; @@ -9150,7 +9160,7 @@ goto block_26; } } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_contradictionCore___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_MVarId_contradictionCore___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -9160,7 +9170,7 @@ lean_ctor_set(x_8, 1, x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_contradictionCore___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_MVarId_contradictionCore___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; @@ -9175,7 +9185,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_13 = l_Std_PersistentArray_forInAux___at_Lean_Meta_contradictionCore___spec__2(x_1, x_2, x_3, x_4, x_6, x_12, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Std_PersistentArray_forInAux___at_Lean_MVarId_contradictionCore___spec__2(x_1, x_2, x_3, x_4, x_6, x_12, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; @@ -9240,7 +9250,7 @@ x_26 = lean_array_get_size(x_23); x_27 = lean_usize_of_nat(x_26); lean_dec(x_26); x_28 = 0; -x_29 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__5(x_1, x_2, x_3, x_4, x_24, x_23, x_27, x_28, x_25, x_7, x_8, x_9, x_10, x_21); +x_29 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__5(x_1, x_2, x_3, x_4, x_24, x_23, x_27, x_28, x_25, x_7, x_8, x_9, x_10, x_21); lean_dec(x_23); lean_dec(x_3); if (lean_obj_tag(x_29) == 0) @@ -9369,7 +9379,7 @@ return x_51; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_contradictionCore___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_EXPORT lean_object* l_Lean_MVarId_contradictionCore___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; @@ -9381,15 +9391,15 @@ lean_ctor_set(x_9, 1, x_6); return x_9; } } -static lean_object* _init_l_Lean_Meta_contradictionCore___lambda__2___closed__1() { +static lean_object* _init_l_Lean_MVarId_contradictionCore___lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_contradictionCore___lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_MVarId_contradictionCore___lambda__1___boxed), 6, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Meta_contradictionCore___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_MVarId_contradictionCore___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -9403,7 +9413,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_13 = l_Std_PersistentArray_forIn___at_Lean_Meta_contradictionCore___spec__1(x_1, x_2, x_3, x_12, x_11, x_12, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Std_PersistentArray_forIn___at_Lean_MVarId_contradictionCore___spec__1(x_1, x_2, x_3, x_12, x_11, x_12, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; @@ -9418,7 +9428,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; x_16 = lean_ctor_get(x_13, 1); lean_inc(x_16); lean_dec(x_13); -x_17 = l_Lean_Meta_contradictionCore___lambda__2___closed__1; +x_17 = l_Lean_MVarId_contradictionCore___lambda__2___closed__1; x_18 = lean_box(0); x_19 = lean_apply_6(x_17, x_18, x_5, x_6, x_7, x_8, x_16); return x_19; @@ -9486,7 +9496,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_contradictionCore___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_MVarId_contradictionCore___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; @@ -9522,7 +9532,7 @@ x_15 = lean_ctor_get(x_12, 1); lean_inc(x_15); lean_dec(x_12); x_16 = lean_box(0); -x_17 = l_Lean_Meta_contradictionCore___lambda__2(x_1, x_3, x_4, x_16, x_5, x_6, x_7, x_8, x_15); +x_17 = l_Lean_MVarId_contradictionCore___lambda__2(x_1, x_3, x_4, x_16, x_5, x_6, x_7, x_8, x_15); return x_17; } else @@ -9622,7 +9632,7 @@ return x_33; } } } -static lean_object* _init_l_Lean_Meta_contradictionCore___closed__1() { +static lean_object* _init_l_Lean_MVarId_contradictionCore___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; @@ -9636,7 +9646,7 @@ x_4 = l_instMonadControlT__1___rarg(x_3); return x_4; } } -static lean_object* _init_l_Lean_Meta_contradictionCore___closed__2() { +static lean_object* _init_l_Lean_MVarId_contradictionCore___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9646,14 +9656,14 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_contradictionCore(lean_object* x_1, 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_EXPORT lean_object* l_Lean_MVarId_contradictionCore(lean_object* x_1, 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 = l_Lean_Meta_contradictionCore___closed__2; -x_9 = l_Lean_Meta_contradictionCore___closed__1; +x_8 = l_Lean_MVarId_contradictionCore___closed__2; +x_9 = l_Lean_MVarId_contradictionCore___closed__1; lean_inc(x_1); -x_10 = lean_alloc_closure((void*)(l_Lean_Meta_contradictionCore___lambda__3), 9, 4); +x_10 = lean_alloc_closure((void*)(l_Lean_MVarId_contradictionCore___lambda__3), 9, 4); lean_closure_set(x_10, 0, x_1); lean_closure_set(x_10, 1, x_8); lean_closure_set(x_10, 2, x_2); @@ -9662,7 +9672,7 @@ x_11 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_ return x_11; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { size_t x_16; size_t x_17; lean_object* x_18; @@ -9670,12 +9680,12 @@ x_16 = lean_unbox_usize(x_8); lean_dec(x_8); x_17 = lean_unbox_usize(x_9); lean_dec(x_9); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_10, x_11, x_12, x_13, x_14, x_15); +x_18 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_7); return x_18; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; uint8_t x_14; lean_object* x_15; @@ -9683,13 +9693,13 @@ x_13 = lean_unbox(x_3); lean_dec(x_3); x_14 = lean_unbox(x_4); lean_dec(x_4); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__1(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__1(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_7); lean_dec(x_5); return x_15; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; uint8_t x_15; lean_object* x_16; @@ -9697,11 +9707,11 @@ x_14 = lean_unbox(x_3); lean_dec(x_3); x_15 = lean_unbox(x_4); lean_dec(x_4); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__2(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__2(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_16; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; uint8_t x_15; lean_object* x_16; @@ -9709,21 +9719,21 @@ x_14 = lean_unbox(x_3); lean_dec(x_3); x_15 = lean_unbox(x_7); lean_dec(x_7); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3(x_1, x_2, x_14, x_4, x_5, x_6, x_15, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3(x_1, x_2, x_14, x_4, x_5, x_6, x_15, x_8, x_9, x_10, x_11, x_12, x_13); return x_16; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_6); lean_dec(x_6); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__4(x_1, x_2, x_3, x_4, x_5, x_13, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__4(x_1, x_2, x_3, x_4, x_5, x_13, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { size_t x_15; size_t x_16; lean_object* x_17; @@ -9731,17 +9741,17 @@ x_15 = lean_unbox_usize(x_7); lean_dec(x_7); x_16 = lean_unbox_usize(x_8); lean_dec(x_8); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_16, x_9, x_10, x_11, x_12, x_13, x_14); +x_17 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_16, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_6); lean_dec(x_3); return x_17; } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_Meta_contradictionCore___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Std_PersistentArray_forInAux___at_Lean_MVarId_contradictionCore___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Std_PersistentArray_forInAux___at_Lean_Meta_contradictionCore___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Std_PersistentArray_forInAux___at_Lean_MVarId_contradictionCore___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -9750,7 +9760,7 @@ lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { size_t x_15; size_t x_16; lean_object* x_17; @@ -9758,17 +9768,17 @@ x_15 = lean_unbox_usize(x_7); lean_dec(x_7); x_16 = lean_unbox_usize(x_8); lean_dec(x_8); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_16, x_9, x_10, x_11, x_12, x_13, x_14); +x_17 = l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_16, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_6); lean_dec(x_3); return x_17; } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_Meta_contradictionCore___spec__1___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_EXPORT lean_object* l_Std_PersistentArray_forIn___at_Lean_MVarId_contradictionCore___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Std_PersistentArray_forIn___at_Lean_Meta_contradictionCore___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Std_PersistentArray_forIn___at_Lean_MVarId_contradictionCore___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -9777,11 +9787,11 @@ lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Meta_contradictionCore___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_EXPORT lean_object* l_Lean_MVarId_contradictionCore___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Meta_contradictionCore___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_MVarId_contradictionCore___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -9790,16 +9800,16 @@ lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Meta_contradictionCore___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_MVarId_contradictionCore___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Meta_contradictionCore___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_MVarId_contradictionCore___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_4); return x_10; } } -static lean_object* _init_l_Lean_Meta_contradiction___closed__1() { +static lean_object* _init_l_Lean_MVarId_contradiction___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -9809,17 +9819,17 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_contradiction___closed__2() { +static lean_object* _init_l_Lean_MVarId_contradiction___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_contradiction___closed__1; +x_1 = l_Lean_MVarId_contradiction___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_contradiction(lean_object* x_1, 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_EXPORT lean_object* l_Lean_MVarId_contradiction(lean_object* x_1, 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; @@ -9828,7 +9838,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_8 = l_Lean_Meta_contradictionCore(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_MVarId_contradictionCore(x_1, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; uint8_t x_10; @@ -9842,8 +9852,8 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_8, 1); lean_inc(x_11); lean_dec(x_8); -x_12 = l_Lean_Meta_contradictionCore___closed__2; -x_13 = l_Lean_Meta_contradiction___closed__2; +x_12 = l_Lean_MVarId_contradictionCore___closed__2; +x_13 = l_Lean_MVarId_contradiction___closed__2; x_14 = l_Lean_Meta_throwTacticEx___rarg(x_12, x_1, x_13, x_3, x_4, x_5, x_6, x_11); return x_14; } @@ -9908,7 +9918,15 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Contradiction___hyg_4371_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_contradiction(lean_object* x_1, 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_MVarId_contradiction(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Contradiction___hyg_4383_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -10045,33 +10063,33 @@ l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___closed lean_mark_persistent(l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___closed__5); l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___closed__6 = _init_l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___closed__6(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_processGenDiseq___closed__6); -l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__2); -l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__3); -l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__4(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__4); -l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__5 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__5); -l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__6(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__6); -l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__7 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__7(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__7); -l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__8 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__8(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_contradictionCore___spec__4___lambda__3___closed__8); -l_Lean_Meta_contradictionCore___lambda__2___closed__1 = _init_l_Lean_Meta_contradictionCore___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_contradictionCore___lambda__2___closed__1); -l_Lean_Meta_contradictionCore___closed__1 = _init_l_Lean_Meta_contradictionCore___closed__1(); -lean_mark_persistent(l_Lean_Meta_contradictionCore___closed__1); -l_Lean_Meta_contradictionCore___closed__2 = _init_l_Lean_Meta_contradictionCore___closed__2(); -lean_mark_persistent(l_Lean_Meta_contradictionCore___closed__2); -l_Lean_Meta_contradiction___closed__1 = _init_l_Lean_Meta_contradiction___closed__1(); -lean_mark_persistent(l_Lean_Meta_contradiction___closed__1); -l_Lean_Meta_contradiction___closed__2 = _init_l_Lean_Meta_contradiction___closed__2(); -lean_mark_persistent(l_Lean_Meta_contradiction___closed__2); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Contradiction___hyg_4371_(lean_io_mk_world()); +l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__1); +l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__2); +l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__3); +l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__4); +l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__5 = _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__5); +l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__6(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__6); +l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__7 = _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__7(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__7); +l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__8 = _init_l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__8(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_MVarId_contradictionCore___spec__4___lambda__3___closed__8); +l_Lean_MVarId_contradictionCore___lambda__2___closed__1 = _init_l_Lean_MVarId_contradictionCore___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_MVarId_contradictionCore___lambda__2___closed__1); +l_Lean_MVarId_contradictionCore___closed__1 = _init_l_Lean_MVarId_contradictionCore___closed__1(); +lean_mark_persistent(l_Lean_MVarId_contradictionCore___closed__1); +l_Lean_MVarId_contradictionCore___closed__2 = _init_l_Lean_MVarId_contradictionCore___closed__2(); +lean_mark_persistent(l_Lean_MVarId_contradictionCore___closed__2); +l_Lean_MVarId_contradiction___closed__1 = _init_l_Lean_MVarId_contradiction___closed__1(); +lean_mark_persistent(l_Lean_MVarId_contradiction___closed__1); +l_Lean_MVarId_contradiction___closed__2 = _init_l_Lean_MVarId_contradiction___closed__2(); +lean_mark_persistent(l_Lean_MVarId_contradiction___closed__2); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Contradiction___hyg_4383_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c b/stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c index f7cc8c6bb7..66ca326081 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c +++ b/stage0/stdlib/Lean/Meta/Tactic/ElimInfo.c @@ -170,6 +170,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimAltInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_22____closed__8; static lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_122____closed__11; static lean_object* l_Lean_isLevelMVarAssignable___at_Lean_Meta_addImplicitTargets___spec__5___closed__2; +lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1577____spec__13___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux___at___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprCustomEliminators____x40_Lean_Meta_Tactic_ElimInfo___hyg_1577____spec__8(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -221,7 +222,6 @@ static lean_object* l_Lean_Meta_getElimInfo___lambda__4___closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_mkCustomEliminator___spec__18___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_mkCustomEliminator___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_getElimInfo___lambda__2___closed__2; -lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_getCustomEliminator_x3f___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_getElimInfo___spec__7___boxed(lean_object*, lean_object*, lean_object*); @@ -449,7 +449,6 @@ lean_object* l_instHashableArray___rarg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_122____closed__10; lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_addImplicitTargets___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_ElimInfo_0__Lean_Meta_reprElimAltInfo____x40_Lean_Meta_Tactic_ElimInfo___hyg_22____closed__3; lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); static lean_object* l_Lean_Meta_CustomEliminators_map___default___closed__5; @@ -3207,66 +3206,62 @@ goto _start; LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___at_Lean_Meta_addImplicitTargets___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_7 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_6); +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_st_ref_get(x_5, x_6); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); -x_9 = lean_st_ref_get(x_5, x_8); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_st_ref_get(x_3, x_10); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +x_9 = lean_st_ref_get(x_3, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) { -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; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_13, 0); +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; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +lean_inc(x_12); +x_13 = l_Lean_MetavarContext_getDecl(x_12, x_1); +x_14 = lean_ctor_get(x_13, 3); lean_inc(x_14); lean_dec(x_13); -lean_inc(x_14); -x_15 = l_Lean_MetavarContext_getDecl(x_14, x_1); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); +x_15 = lean_ctor_get(x_12, 0); +lean_inc(x_15); +lean_dec(x_12); +x_16 = lean_nat_dec_eq(x_14, x_15); lean_dec(x_15); -x_17 = lean_ctor_get(x_14, 0); -lean_inc(x_17); lean_dec(x_14); -x_18 = lean_nat_dec_eq(x_16, x_17); -lean_dec(x_17); -lean_dec(x_16); -x_19 = lean_box(x_18); -lean_ctor_set(x_11, 0, x_19); -return x_11; +x_17 = lean_box(x_16); +lean_ctor_set(x_9, 0, x_17); +return x_9; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_20 = lean_ctor_get(x_11, 0); -x_21 = lean_ctor_get(x_11, 1); -lean_inc(x_21); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +x_20 = lean_ctor_get(x_18, 0); lean_inc(x_20); -lean_dec(x_11); -x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_18); +lean_inc(x_20); +x_21 = l_Lean_MetavarContext_getDecl(x_20, x_1); +x_22 = lean_ctor_get(x_21, 3); lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_23); lean_dec(x_20); -lean_inc(x_22); -x_23 = l_Lean_MetavarContext_getDecl(x_22, x_1); -x_24 = lean_ctor_get(x_23, 3); -lean_inc(x_24); +x_24 = lean_nat_dec_eq(x_22, x_23); lean_dec(x_23); -x_25 = lean_ctor_get(x_22, 0); -lean_inc(x_25); lean_dec(x_22); -x_26 = lean_nat_dec_eq(x_24, x_25); -lean_dec(x_25); -lean_dec(x_24); -x_27 = lean_box(x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_21); -return x_28; +x_25 = lean_box(x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_19); +return x_26; } } } @@ -3321,7 +3316,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; x_1 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_addImplicitTargets___spec__5___closed__1; x_2 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_addImplicitTargets___spec__5___closed__2; -x_3 = lean_unsigned_to_nat(361u); +x_3 = lean_unsigned_to_nat(344u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_addImplicitTargets___spec__5___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -3331,101 +3326,97 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___at_Lean_Meta_addImplicitTargets___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) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_7 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_6); +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_st_ref_get(x_5, x_6); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); -x_9 = lean_st_ref_get(x_5, x_8); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_st_ref_get(x_3, x_10); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +x_9 = lean_st_ref_get(x_3, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +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_9, 0); +x_12 = lean_ctor_get(x_9, 1); x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_ctor_get(x_15, 2); -lean_inc(x_16); -x_17 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_16, x_1); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_15); -lean_free_object(x_11); -x_18 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_addImplicitTargets___spec__5___closed__4; -x_19 = l_panic___at_Lean_Meta_addImplicitTargets___spec__6(x_18, x_2, x_3, x_4, x_5, x_14); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_20 = lean_ctor_get(x_17, 0); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_ctor_get(x_15, 0); -lean_inc(x_21); -lean_dec(x_15); -x_22 = lean_nat_dec_eq(x_20, x_21); -lean_dec(x_21); -lean_dec(x_20); -x_23 = lean_box(x_22); -lean_ctor_set(x_11, 0, x_23); -return x_11; -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_24 = lean_ctor_get(x_11, 0); -x_25 = lean_ctor_get(x_11, 1); -lean_inc(x_25); -lean_inc(x_24); +lean_inc(x_13); lean_dec(x_11); -x_26 = lean_ctor_get(x_24, 0); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_ctor_get(x_26, 2); -lean_inc(x_27); -x_28 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_27, x_1); -if (lean_obj_tag(x_28) == 0) +x_14 = lean_ctor_get(x_13, 2); +lean_inc(x_14); +x_15 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_14, x_1); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_29; lean_object* x_30; -lean_dec(x_26); -x_29 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_addImplicitTargets___spec__5___closed__4; -x_30 = l_panic___at_Lean_Meta_addImplicitTargets___spec__6(x_29, x_2, x_3, x_4, x_5, x_25); -return x_30; +lean_object* x_16; lean_object* x_17; +lean_dec(x_13); +lean_free_object(x_9); +x_16 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_addImplicitTargets___spec__5___closed__4; +x_17 = l_panic___at_Lean_Meta_addImplicitTargets___spec__6(x_16, x_2, x_3, x_4, x_5, x_12); +return x_17; } else { -lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_31 = lean_ctor_get(x_28, 0); -lean_inc(x_31); -lean_dec(x_28); -x_32 = lean_ctor_get(x_26, 0); -lean_inc(x_32); +x_18 = lean_ctor_get(x_15, 0); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_ctor_get(x_13, 0); +lean_inc(x_19); +lean_dec(x_13); +x_20 = lean_nat_dec_eq(x_18, x_19); +lean_dec(x_19); +lean_dec(x_18); +x_21 = lean_box(x_20); +lean_ctor_set(x_9, 0, x_21); +return x_9; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_9, 0); +x_23 = lean_ctor_get(x_9, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_9); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_24, 2); +lean_inc(x_25); +x_26 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_25, x_1); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_24); +x_27 = l_Lean_isLevelMVarAssignable___at_Lean_Meta_addImplicitTargets___spec__5___closed__4; +x_28 = l_panic___at_Lean_Meta_addImplicitTargets___spec__6(x_27, x_2, x_3, x_4, x_5, x_23); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_29 = lean_ctor_get(x_26, 0); +lean_inc(x_29); lean_dec(x_26); -x_33 = lean_nat_dec_eq(x_31, x_32); -lean_dec(x_32); -lean_dec(x_31); -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_25); -return x_35; +x_30 = lean_ctor_get(x_24, 0); +lean_inc(x_30); +lean_dec(x_24); +x_31 = lean_nat_dec_eq(x_29, x_30); +lean_dec(x_30); +lean_dec(x_29); +x_32 = lean_box(x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_23); +return x_33; } } } @@ -9294,7 +9285,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -10022,7 +10013,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -10322,7 +10313,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at_Lean_Meta_mkCustomEliminator___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_112; lean_object* x_113; uint8_t x_114; +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; x_8 = lean_st_ref_get(x_6, x_7); x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); @@ -10336,235 +10327,170 @@ lean_dec(x_10); x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); lean_dec(x_11); -x_112 = l_Lean_exprDependsOn___at_Lean_Meta_mkCustomEliminator___spec__1___closed__1; -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_13); -x_114 = l_Lean_Expr_hasFVar(x_1); -if (x_114 == 0) +x_14 = l_Lean_exprDependsOn___at_Lean_Meta_mkCustomEliminator___spec__1___closed__1; +lean_inc(x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_Expr_hasFVar(x_1); +if (x_16 == 0) { -uint8_t x_115; -x_115 = l_Lean_Expr_hasMVar(x_1); -if (x_115 == 0) +uint8_t x_17; +x_17 = l_Lean_Expr_hasMVar(x_1); +if (x_17 == 0) { -uint8_t x_116; -lean_dec(x_1); -x_116 = 0; -x_14 = x_116; -x_15 = x_113; -goto block_111; -} -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_117 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_mkCustomEliminator___spec__2(x_2, x_1, x_113); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = lean_unbox(x_118); -lean_dec(x_118); -x_14 = x_120; -x_15 = x_119; -goto block_111; -} -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_121 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_mkCustomEliminator___spec__10(x_2, x_1, x_113); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = lean_unbox(x_122); -lean_dec(x_122); -x_14 = x_124; -x_15 = x_123; -goto block_111; -} -block_111: -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_dec(x_15); -x_17 = lean_st_ref_get(x_6, x_12); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_st_ref_take(x_4, x_18); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get_uint8(x_16, sizeof(void*)*8); -if (x_21 == 0) -{ -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; uint8_t x_32; -x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_1); +x_18 = lean_st_ref_get(x_6, x_12); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_st_ref_take(x_4, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); -x_23 = lean_ctor_get(x_19, 1); -lean_inc(x_23); -lean_dec(x_19); -x_24 = lean_ctor_get(x_16, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_16, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_16, 2); -lean_inc(x_26); -x_27 = lean_ctor_get(x_16, 3); -lean_inc(x_27); -x_28 = lean_ctor_get(x_16, 4); -lean_inc(x_28); -x_29 = lean_ctor_get(x_16, 5); -lean_inc(x_29); -x_30 = lean_ctor_get(x_16, 6); +lean_dec(x_20); +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_21, 0); +lean_dec(x_24); +lean_ctor_set(x_21, 0, x_13); +x_25 = lean_st_ref_set(x_4, x_21, x_22); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +x_28 = 0; +x_29 = lean_box(x_28); +lean_ctor_set(x_25, 0, x_29); +return x_25; +} +else +{ +lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_25, 1); lean_inc(x_30); -x_31 = lean_ctor_get(x_16, 7); -lean_inc(x_31); -lean_dec(x_16); -x_32 = !lean_is_exclusive(x_20); -if (x_32 == 0) +lean_dec(x_25); +x_31 = 0; +x_32 = lean_box(x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +} +else { -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_20, 0); -lean_dec(x_33); -x_34 = !lean_is_exclusive(x_22); -if (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; lean_object* x_43; uint8_t x_44; -x_35 = lean_ctor_get(x_22, 7); -lean_dec(x_35); -x_36 = lean_ctor_get(x_22, 6); -lean_dec(x_36); -x_37 = lean_ctor_get(x_22, 5); -lean_dec(x_37); -x_38 = lean_ctor_get(x_22, 4); -lean_dec(x_38); -x_39 = lean_ctor_get(x_22, 3); -lean_dec(x_39); -x_40 = lean_ctor_get(x_22, 2); -lean_dec(x_40); -x_41 = lean_ctor_get(x_22, 1); -lean_dec(x_41); -x_42 = lean_ctor_get(x_22, 0); -lean_dec(x_42); -lean_ctor_set(x_22, 7, x_31); -lean_ctor_set(x_22, 6, x_30); -lean_ctor_set(x_22, 5, x_29); -lean_ctor_set(x_22, 4, x_28); -lean_ctor_set(x_22, 3, x_27); -lean_ctor_set(x_22, 2, x_26); -lean_ctor_set(x_22, 1, x_25); -lean_ctor_set(x_22, 0, x_24); -x_43 = lean_st_ref_set(x_4, x_20, x_23); -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_43, 0); -lean_dec(x_45); -x_46 = lean_box(x_14); -lean_ctor_set(x_43, 0, x_46); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; +x_34 = lean_ctor_get(x_21, 1); +x_35 = lean_ctor_get(x_21, 2); +x_36 = lean_ctor_get(x_21, 3); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_21); +x_37 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_37, 0, x_13); +lean_ctor_set(x_37, 1, x_34); +lean_ctor_set(x_37, 2, x_35); +lean_ctor_set(x_37, 3, x_36); +x_38 = lean_st_ref_set(x_4, x_37, x_22); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_40 = x_38; +} else { + lean_dec_ref(x_38); + x_40 = lean_box(0); +} +x_41 = 0; +x_42 = lean_box(x_41); +if (lean_is_scalar(x_40)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_40; +} +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_39); return x_43; } +} else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_43, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_dec(x_13); +x_44 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_mkCustomEliminator___spec__2(x_2, x_1, x_15); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); -lean_dec(x_43); -x_48 = lean_box(x_14); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_47); -return x_49; -} +lean_dec(x_45); +x_48 = lean_st_ref_get(x_6, x_12); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_st_ref_take(x_4, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = !lean_is_exclusive(x_51); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_54 = lean_ctor_get(x_51, 0); +lean_dec(x_54); +lean_ctor_set(x_51, 0, x_47); +x_55 = lean_st_ref_set(x_4, x_51, x_52); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +lean_ctor_set(x_55, 0, x_46); +return x_55; } else { -uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_50 = lean_ctor_get_uint8(x_22, sizeof(void*)*8); -lean_dec(x_22); -x_51 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_51, 0, x_24); -lean_ctor_set(x_51, 1, x_25); -lean_ctor_set(x_51, 2, x_26); -lean_ctor_set(x_51, 3, x_27); -lean_ctor_set(x_51, 4, x_28); -lean_ctor_set(x_51, 5, x_29); -lean_ctor_set(x_51, 6, x_30); -lean_ctor_set(x_51, 7, x_31); -lean_ctor_set_uint8(x_51, sizeof(void*)*8, x_50); -lean_ctor_set(x_20, 0, x_51); -x_52 = lean_st_ref_set(x_4, x_20, x_23); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(x_14); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -else -{ -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_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_57 = lean_ctor_get(x_20, 1); -x_58 = lean_ctor_get(x_20, 2); -x_59 = lean_ctor_get(x_20, 3); -lean_inc(x_59); +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_55, 1); lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_20); -x_60 = lean_ctor_get_uint8(x_22, sizeof(void*)*8); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - lean_ctor_release(x_22, 2); - lean_ctor_release(x_22, 3); - lean_ctor_release(x_22, 4); - lean_ctor_release(x_22, 5); - lean_ctor_release(x_22, 6); - lean_ctor_release(x_22, 7); - x_61 = x_22; -} else { - lean_dec_ref(x_22); - x_61 = lean_box(0); +lean_dec(x_55); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_46); +lean_ctor_set(x_59, 1, x_58); +return x_59; } -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(0, 8, 1); -} else { - x_62 = x_61; } -lean_ctor_set(x_62, 0, x_24); -lean_ctor_set(x_62, 1, x_25); -lean_ctor_set(x_62, 2, x_26); -lean_ctor_set(x_62, 3, x_27); -lean_ctor_set(x_62, 4, x_28); -lean_ctor_set(x_62, 5, x_29); -lean_ctor_set(x_62, 6, x_30); -lean_ctor_set(x_62, 7, x_31); -lean_ctor_set_uint8(x_62, sizeof(void*)*8, x_60); +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_60 = lean_ctor_get(x_51, 1); +x_61 = lean_ctor_get(x_51, 2); +x_62 = lean_ctor_get(x_51, 3); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_51); x_63 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_57); -lean_ctor_set(x_63, 2, x_58); -lean_ctor_set(x_63, 3, x_59); -x_64 = lean_st_ref_set(x_4, x_63, x_23); +lean_ctor_set(x_63, 0, x_47); +lean_ctor_set(x_63, 1, x_60); +lean_ctor_set(x_63, 2, x_61); +lean_ctor_set(x_63, 3, x_62); +x_64 = lean_st_ref_set(x_4, x_63, x_52); x_65 = lean_ctor_get(x_64, 1); lean_inc(x_65); if (lean_is_exclusive(x_64)) { @@ -10575,176 +10501,103 @@ if (lean_is_exclusive(x_64)) { lean_dec_ref(x_64); x_66 = lean_box(0); } -x_67 = lean_box(x_14); if (lean_is_scalar(x_66)) { - x_68 = lean_alloc_ctor(0, 2, 0); + x_67 = lean_alloc_ctor(0, 2, 0); } else { - x_68 = x_66; + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_46); +lean_ctor_set(x_67, 1, x_65); +return x_67; } -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_65); -return x_68; } } else { -lean_object* x_69; uint8_t x_70; -x_69 = lean_ctor_get(x_19, 1); +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; uint8_t x_77; +lean_dec(x_13); +x_68 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_mkCustomEliminator___spec__10(x_2, x_1, x_15); +x_69 = lean_ctor_get(x_68, 1); lean_inc(x_69); -lean_dec(x_19); -x_70 = !lean_is_exclusive(x_16); -if (x_70 == 0) -{ -uint8_t x_71; -x_71 = !lean_is_exclusive(x_20); -if (x_71 == 0) -{ -lean_object* x_72; uint8_t x_73; lean_object* x_74; uint8_t x_75; -x_72 = lean_ctor_get(x_20, 0); +x_70 = lean_ctor_get(x_68, 0); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_st_ref_get(x_6, x_12); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); lean_dec(x_72); -x_73 = 1; -lean_ctor_set_uint8(x_16, sizeof(void*)*8, x_73); -lean_ctor_set(x_20, 0, x_16); -x_74 = lean_st_ref_set(x_4, x_20, x_69); -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_74, 0); -lean_dec(x_76); -x_77 = lean_box(x_14); -lean_ctor_set(x_74, 0, x_77); -return x_74; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_74, 1); -lean_inc(x_78); +x_74 = lean_st_ref_take(x_4, x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); lean_dec(x_74); -x_79 = lean_box(x_14); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -return x_80; -} +x_77 = !lean_is_exclusive(x_75); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_78 = lean_ctor_get(x_75, 0); +lean_dec(x_78); +lean_ctor_set(x_75, 0, x_71); +x_79 = lean_st_ref_set(x_4, x_75, x_76); +x_80 = !lean_is_exclusive(x_79); +if (x_80 == 0) +{ +lean_object* x_81; +x_81 = lean_ctor_get(x_79, 0); +lean_dec(x_81); +lean_ctor_set(x_79, 0, x_70); +return x_79; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t 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; -x_81 = lean_ctor_get(x_20, 1); -x_82 = lean_ctor_get(x_20, 2); -x_83 = lean_ctor_get(x_20, 3); -lean_inc(x_83); +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_79, 1); lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_20); -x_84 = 1; -lean_ctor_set_uint8(x_16, sizeof(void*)*8, x_84); -x_85 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_85, 0, x_16); -lean_ctor_set(x_85, 1, x_81); -lean_ctor_set(x_85, 2, x_82); -lean_ctor_set(x_85, 3, x_83); -x_86 = lean_st_ref_set(x_4, x_85, x_69); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_88 = x_86; -} else { - lean_dec_ref(x_86); - x_88 = lean_box(0); -} -x_89 = lean_box(x_14); -if (lean_is_scalar(x_88)) { - x_90 = lean_alloc_ctor(0, 2, 0); -} else { - x_90 = x_88; -} -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_87); -return x_90; +lean_dec(x_79); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_70); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t 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; -x_91 = lean_ctor_get(x_16, 0); -x_92 = lean_ctor_get(x_16, 1); -x_93 = lean_ctor_get(x_16, 2); -x_94 = lean_ctor_get(x_16, 3); -x_95 = lean_ctor_get(x_16, 4); -x_96 = lean_ctor_get(x_16, 5); -x_97 = lean_ctor_get(x_16, 6); -x_98 = lean_ctor_get(x_16, 7); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_16); -x_99 = lean_ctor_get(x_20, 1); -lean_inc(x_99); -x_100 = lean_ctor_get(x_20, 2); -lean_inc(x_100); -x_101 = lean_ctor_get(x_20, 3); -lean_inc(x_101); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - lean_ctor_release(x_20, 2); - lean_ctor_release(x_20, 3); - x_102 = x_20; +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_84 = lean_ctor_get(x_75, 1); +x_85 = lean_ctor_get(x_75, 2); +x_86 = lean_ctor_get(x_75, 3); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_75); +x_87 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_87, 0, x_71); +lean_ctor_set(x_87, 1, x_84); +lean_ctor_set(x_87, 2, x_85); +lean_ctor_set(x_87, 3, x_86); +x_88 = lean_st_ref_set(x_4, x_87, x_76); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_90 = x_88; } else { - lean_dec_ref(x_20); - x_102 = lean_box(0); + lean_dec_ref(x_88); + x_90 = lean_box(0); } -x_103 = 1; -x_104 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_104, 0, x_91); -lean_ctor_set(x_104, 1, x_92); -lean_ctor_set(x_104, 2, x_93); -lean_ctor_set(x_104, 3, x_94); -lean_ctor_set(x_104, 4, x_95); -lean_ctor_set(x_104, 5, x_96); -lean_ctor_set(x_104, 6, x_97); -lean_ctor_set(x_104, 7, x_98); -lean_ctor_set_uint8(x_104, sizeof(void*)*8, x_103); -if (lean_is_scalar(x_102)) { - x_105 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(0, 2, 0); } else { - x_105 = x_102; -} -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_99); -lean_ctor_set(x_105, 2, x_100); -lean_ctor_set(x_105, 3, x_101); -x_106 = lean_st_ref_set(x_4, x_105, x_69); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_108 = x_106; -} else { - lean_dec_ref(x_106); - x_108 = lean_box(0); -} -x_109 = lean_box(x_14); -if (lean_is_scalar(x_108)) { - x_110 = lean_alloc_ctor(0, 2, 0); -} else { - x_110 = x_108; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -return x_110; + x_91 = x_90; } +lean_ctor_set(x_91, 0, x_70); +lean_ctor_set(x_91, 1, x_89); +return x_91; } } } @@ -12090,14 +11943,13 @@ x_1 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addCustomEliminator___spec__1 x_2 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addCustomEliminator___spec__1___closed__5; x_3 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addCustomEliminator___spec__1___closed__6; x_4 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addCustomEliminator___spec__1___closed__9; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -12904,23 +12756,21 @@ return x_3; static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2262____lambda__1___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2262____lambda__1___closed__8; x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2262____lambda__1___closed__9; x_4 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addCustomEliminator___spec__1___closed__1; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_ElimInfo___hyg_2262____lambda__1___closed__11() { diff --git a/stage0/stdlib/Lean/Meta/Tactic/Generalize.c b/stage0/stdlib/Lean/Meta/Tactic/Generalize.c index 67b428d850..f30c99e125 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Generalize.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Generalize.c @@ -13,81 +13,83 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lean_Meta_generalize_go___closed__1; size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_generalize_go___closed__2; lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Meta_generalize___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_generalize_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_generalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_GeneralizeArg_hName_x3f___default; -LEAN_EXPORT lean_object* l_Lean_Meta_generalize_go_x27___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -static lean_object* l_Lean_Meta_generalize___lambda__3___closed__3; lean_object* l_Lean_MVarId_getTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedGeneralizeArg___closed__2; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedGeneralizeArg; -static lean_object* l_Lean_Meta_generalize_go_x27___closed__1; -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_generalize___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l_Lean_Meta_generalize_go_x27___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_generalize___spec__2(lean_object*, size_t, size_t); +static lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___closed__2; lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_generalize___lambda__3___closed__2; +static lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__3; +static lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___closed__1; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_generalize_go_x27___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*); -static lean_object* l_Lean_Meta_generalize_go_x27___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_generalize___lambda__3___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_generalize___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_generalize_go_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_checkNotAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_generalize_go_x27___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_generalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_generalize___spec__1(size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___closed__2; +static lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__2; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__4; lean_object* l_Lean_Expr_bvar___override(lean_object*); static lean_object* l_Lean_Meta_instInhabitedGeneralizeArg___closed__1; -static lean_object* l_Lean_Meta_generalize___lambda__3___closed__4; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_generalize___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___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_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___spec__1(lean_object*); lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); -static lean_object* l_Lean_Meta_generalize___closed__2; +static lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__4; +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__2(lean_object*, size_t, size_t); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_generalize___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___closed__1; lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_generalize_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_GeneralizeArg_xName_x3f___default; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__1(size_t, size_t, lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkHEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_generalize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkHEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Meta_kabstract(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_generalize___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_generalize_go_x27___closed__4; +static lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__3; +static lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__2; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* _init_l_Lean_Meta_GeneralizeArg_xName_x3f___default() { _start: @@ -135,7 +137,7 @@ x_1 = l_Lean_Meta_instInhabitedGeneralizeArg___closed__2; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Meta_generalize_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -196,7 +198,7 @@ return x_24; } } } -static lean_object* _init_l_Lean_Meta_generalize_go___closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___closed__1() { _start: { lean_object* x_1; @@ -204,17 +206,17 @@ x_1 = lean_mk_string_from_bytes("x", 1); return x_1; } } -static lean_object* _init_l_Lean_Meta_generalize_go___closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___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_generalize_go___closed__1; +x_2 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_generalize_go(lean_object* x_1, 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_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go(lean_object* x_1, 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; @@ -274,7 +276,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_25 = l_Lean_Meta_generalize_go(x_1, x_2, x_24, x_4, x_5, x_6, x_7, x_22); +x_25 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go(x_1, x_2, x_24, x_4, x_5, x_6, x_7, x_22); if (lean_obj_tag(x_25) == 0) { lean_object* x_26; @@ -289,14 +291,14 @@ lean_inc(x_27); x_28 = lean_ctor_get(x_25, 1); lean_inc(x_28); lean_dec(x_25); -x_29 = l_Lean_Meta_generalize_go___closed__2; +x_29 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___closed__2; x_30 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_29, x_6, x_7, x_28); x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); lean_dec(x_30); -x_33 = l_Lean_Meta_generalize_go___lambda__1(x_27, x_15, x_21, x_31, x_4, x_5, x_6, x_7, x_32); +x_33 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___lambda__1(x_27, x_15, x_21, x_31, x_4, x_5, x_6, x_7, x_32); return x_33; } else @@ -310,7 +312,7 @@ lean_dec(x_25); x_36 = lean_ctor_get(x_26, 0); lean_inc(x_36); lean_dec(x_26); -x_37 = l_Lean_Meta_generalize_go___lambda__1(x_34, x_15, x_21, x_36, x_4, x_5, x_6, x_7, x_35); +x_37 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___lambda__1(x_34, x_15, x_21, x_36, x_4, x_5, x_6, x_7, x_35); return x_37; } } @@ -378,7 +380,7 @@ return x_45; } } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_generalize_go_x27___spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___spec__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -387,7 +389,7 @@ x_3 = lean_panic_fn(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_generalize_go_x27___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -398,7 +400,7 @@ lean_inc(x_13); lean_dec(x_6); x_14 = lean_unsigned_to_nat(1u); x_15 = lean_nat_add(x_1, x_14); -x_16 = l_Lean_Meta_generalize_go_x27(x_2, x_3, x_4, x_15, x_7, x_8, x_9, x_10, x_11); +x_16 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27(x_2, x_3, x_4, x_15, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_16) == 0) { uint8_t x_17; @@ -507,7 +509,7 @@ return x_44; } } } -static lean_object* _init_l_Lean_Meta_generalize_go_x27___closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__1() { _start: { lean_object* x_1; @@ -515,7 +517,7 @@ x_1 = lean_mk_string_from_bytes("Init.Util", 9); return x_1; } } -static lean_object* _init_l_Lean_Meta_generalize_go_x27___closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__2() { _start: { lean_object* x_1; @@ -523,7 +525,7 @@ x_1 = lean_mk_string_from_bytes("getElem!", 8); return x_1; } } -static lean_object* _init_l_Lean_Meta_generalize_go_x27___closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__3() { _start: { lean_object* x_1; @@ -531,20 +533,20 @@ x_1 = lean_mk_string_from_bytes("index out of bounds", 19); return x_1; } } -static lean_object* _init_l_Lean_Meta_generalize_go_x27___closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Meta_generalize_go_x27___closed__1; -x_2 = l_Lean_Meta_generalize_go_x27___closed__2; +x_1 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__1; +x_2 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__2; x_3 = lean_unsigned_to_nat(70u); x_4 = lean_unsigned_to_nat(36u); -x_5 = l_Lean_Meta_generalize_go_x27___closed__3; +x_5 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Meta_generalize_go_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; @@ -579,8 +581,8 @@ lean_dec(x_85); if (x_86 == 0) { lean_object* x_87; lean_object* x_88; -x_87 = l_Lean_Meta_generalize_go_x27___closed__4; -x_88 = l_panic___at_Lean_Meta_generalize_go_x27___spec__1(x_87); +x_87 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__4; +x_88 = l_panic___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___spec__1(x_87); x_15 = x_88; goto block_84; } @@ -704,7 +706,7 @@ lean_dec(x_42); x_45 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_45, 0, x_40); lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_Meta_generalize_go_x27___lambda__1(x_4, x_1, x_2, x_3, x_20, x_45, x_5, x_6, x_7, x_8, x_44); +x_46 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___lambda__1(x_4, x_1, x_2, x_3, x_20, x_45, x_5, x_6, x_7, x_8, x_44); lean_dec(x_4); return x_46; } @@ -810,7 +812,7 @@ lean_dec(x_59); x_62 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_62, 0, x_57); lean_ctor_set(x_62, 1, x_60); -x_63 = l_Lean_Meta_generalize_go_x27___lambda__1(x_4, x_1, x_2, x_3, x_20, x_62, x_5, x_6, x_7, x_8, x_61); +x_63 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___lambda__1(x_4, x_1, x_2, x_3, x_20, x_62, x_5, x_6, x_7, x_8, x_61); lean_dec(x_4); return x_63; } @@ -988,16 +990,16 @@ return x_83; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_generalize_go_x27___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Meta_generalize_go_x27___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_generalize___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -1024,7 +1026,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_generalize___spec__2(lean_object* x_1, size_t x_2, size_t x_3) { +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__2(lean_object* x_1, size_t x_2, size_t x_3) { _start: { uint8_t x_4; @@ -1060,7 +1062,7 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_generalize___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -1070,7 +1072,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_10 = l_Lean_Meta_generalize_go_x27(x_1, x_2, x_3, x_9, x_4, x_5, x_6, x_7, x_8); +x_10 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27(x_1, x_2, x_3, x_9, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_10) == 0) { lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -1244,7 +1246,7 @@ return x_47; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_generalize___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -1252,7 +1254,7 @@ x_11 = lean_array_get_size(x_1); x_12 = lean_usize_of_nat(x_11); x_13 = 0; lean_inc(x_1); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Meta_generalize___spec__1(x_12, x_13, x_1); +x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__1(x_12, x_13, x_1); x_15 = lean_unsigned_to_nat(0u); x_16 = lean_nat_dec_lt(x_15, x_11); if (x_16 == 0) @@ -1310,7 +1312,7 @@ return x_39; else { uint8_t x_40; -x_40 = l_Array_anyMUnsafe_any___at_Lean_Meta_generalize___spec__2(x_1, x_13, x_12); +x_40 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__2(x_1, x_13, x_12); if (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; uint8_t x_49; uint8_t x_50; lean_object* x_51; @@ -1341,7 +1343,7 @@ lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_inc(x_11); x_52 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_52, 0, x_11); -x_53 = lean_alloc_closure((void*)(l_Lean_Meta_generalize___lambda__1), 8, 1); +x_53 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__1), 8, 1); lean_closure_set(x_53, 0, x_1); lean_inc(x_9); lean_inc(x_8); @@ -1427,7 +1429,7 @@ return x_79; } } } -static lean_object* _init_l_Lean_Meta_generalize___lambda__3___closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -1435,16 +1437,16 @@ x_1 = lean_mk_string_from_bytes("result is not type correct", 26); return x_1; } } -static lean_object* _init_l_Lean_Meta_generalize___lambda__3___closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_generalize___lambda__3___closed__1; +x_1 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_generalize___lambda__3___closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__3() { _start: { lean_object* x_1; @@ -1452,16 +1454,16 @@ x_1 = lean_mk_string_from_bytes("", 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_generalize___lambda__3___closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_generalize___lambda__3___closed__3; +x_1 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_generalize___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -1510,7 +1512,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_21 = l_Lean_Meta_generalize_go(x_3, x_18, x_20, x_4, x_5, x_6, x_7, x_19); +x_21 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go(x_3, x_18, x_20, x_4, x_5, x_6, x_7, x_19); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; @@ -1540,11 +1542,11 @@ lean_inc(x_27); lean_dec(x_24); lean_inc(x_22); x_28 = l_Lean_indentExpr(x_22); -x_29 = l_Lean_Meta_generalize___lambda__3___closed__2; +x_29 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__2; x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); -x_31 = l_Lean_Meta_generalize___lambda__3___closed__4; +x_31 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__4; x_32 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -1562,7 +1564,7 @@ lean_inc(x_34); x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); lean_dec(x_33); -x_36 = l_Lean_Meta_generalize___lambda__2(x_3, x_22, x_12, x_1, x_34, x_4, x_5, x_6, x_7, x_35); +x_36 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__2(x_3, x_22, x_12, x_1, x_34, x_4, x_5, x_6, x_7, x_35); lean_dec(x_34); return x_36; } @@ -1605,7 +1607,7 @@ x_41 = lean_ctor_get(x_24, 1); lean_inc(x_41); lean_dec(x_24); x_42 = lean_box(0); -x_43 = l_Lean_Meta_generalize___lambda__2(x_3, x_22, x_12, x_1, x_42, x_4, x_5, x_6, x_7, x_41); +x_43 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__2(x_3, x_22, x_12, x_1, x_42, x_4, x_5, x_6, x_7, x_41); return x_43; } } @@ -1764,7 +1766,7 @@ return x_63; } } } -static lean_object* _init_l_Lean_Meta_generalize___closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___closed__1() { _start: { lean_object* x_1; @@ -1772,23 +1774,23 @@ x_1 = lean_mk_string_from_bytes("generalize", 10); return x_1; } } -static lean_object* _init_l_Lean_Meta_generalize___closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___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_generalize___closed__1; +x_2 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_generalize(lean_object* x_1, 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_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore(lean_object* x_1, 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 = l_Lean_Meta_generalize___closed__2; +x_8 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___closed__2; lean_inc(x_1); -x_9 = lean_alloc_closure((void*)(l_Lean_Meta_generalize___lambda__3), 8, 3); +x_9 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3), 8, 3); lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_8); lean_closure_set(x_9, 2, x_2); @@ -1796,7 +1798,7 @@ x_10 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_ return x_10; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_generalize___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -1804,11 +1806,11 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Meta_generalize___spec__1(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__1(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_generalize___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; @@ -1816,21 +1818,37 @@ x_4 = lean_unbox_usize(x_2); lean_dec(x_2); x_5 = lean_unbox_usize(x_3); lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at_Lean_Meta_generalize___spec__2(x_1, x_4, x_5); +x_6 = l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___spec__2(x_1, x_4, x_5); lean_dec(x_1); x_7 = lean_box(x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Meta_generalize___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Meta_generalize___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_5); return x_11; } } +LEAN_EXPORT lean_object* l_Lean_MVarId_generalize(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_generalize(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_KAbstract(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Util(uint8_t builtin, lean_object*); @@ -1862,30 +1880,30 @@ l_Lean_Meta_instInhabitedGeneralizeArg___closed__2 = _init_l_Lean_Meta_instInhab lean_mark_persistent(l_Lean_Meta_instInhabitedGeneralizeArg___closed__2); l_Lean_Meta_instInhabitedGeneralizeArg = _init_l_Lean_Meta_instInhabitedGeneralizeArg(); lean_mark_persistent(l_Lean_Meta_instInhabitedGeneralizeArg); -l_Lean_Meta_generalize_go___closed__1 = _init_l_Lean_Meta_generalize_go___closed__1(); -lean_mark_persistent(l_Lean_Meta_generalize_go___closed__1); -l_Lean_Meta_generalize_go___closed__2 = _init_l_Lean_Meta_generalize_go___closed__2(); -lean_mark_persistent(l_Lean_Meta_generalize_go___closed__2); -l_Lean_Meta_generalize_go_x27___closed__1 = _init_l_Lean_Meta_generalize_go_x27___closed__1(); -lean_mark_persistent(l_Lean_Meta_generalize_go_x27___closed__1); -l_Lean_Meta_generalize_go_x27___closed__2 = _init_l_Lean_Meta_generalize_go_x27___closed__2(); -lean_mark_persistent(l_Lean_Meta_generalize_go_x27___closed__2); -l_Lean_Meta_generalize_go_x27___closed__3 = _init_l_Lean_Meta_generalize_go_x27___closed__3(); -lean_mark_persistent(l_Lean_Meta_generalize_go_x27___closed__3); -l_Lean_Meta_generalize_go_x27___closed__4 = _init_l_Lean_Meta_generalize_go_x27___closed__4(); -lean_mark_persistent(l_Lean_Meta_generalize_go_x27___closed__4); -l_Lean_Meta_generalize___lambda__3___closed__1 = _init_l_Lean_Meta_generalize___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Meta_generalize___lambda__3___closed__1); -l_Lean_Meta_generalize___lambda__3___closed__2 = _init_l_Lean_Meta_generalize___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Meta_generalize___lambda__3___closed__2); -l_Lean_Meta_generalize___lambda__3___closed__3 = _init_l_Lean_Meta_generalize___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Meta_generalize___lambda__3___closed__3); -l_Lean_Meta_generalize___lambda__3___closed__4 = _init_l_Lean_Meta_generalize___lambda__3___closed__4(); -lean_mark_persistent(l_Lean_Meta_generalize___lambda__3___closed__4); -l_Lean_Meta_generalize___closed__1 = _init_l_Lean_Meta_generalize___closed__1(); -lean_mark_persistent(l_Lean_Meta_generalize___closed__1); -l_Lean_Meta_generalize___closed__2 = _init_l_Lean_Meta_generalize___closed__2(); -lean_mark_persistent(l_Lean_Meta_generalize___closed__2); +l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___closed__1 = _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___closed__1); +l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___closed__2 = _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go___closed__2); +l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__1 = _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__1); +l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__2 = _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__2); +l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__3 = _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__3); +l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__4 = _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore_go_x27___closed__4); +l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__1 = _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__1); +l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__2 = _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__2); +l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__3 = _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__3); +l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__4 = _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___lambda__3___closed__4); +l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___closed__1 = _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___closed__1); +l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___closed__2 = _init_l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Generalize_0__Lean_Meta_generalizeCore___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/Replace.c b/stage0/stdlib/Lean/Meta/Tactic/Replace.c index 0519071ccc..c970817f25 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Replace.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Replace.c @@ -2742,6 +2742,7 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_38); x_57 = !lean_is_exclusive(x_56); if (x_57 == 0) { diff --git a/stage0/stdlib/Lean/Meta/Tactic/Revert.c b/stage0/stdlib/Lean/Meta/Tactic/Revert.c index 6645506708..8a08f9a60b 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Revert.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Revert.c @@ -814,720 +814,366 @@ x_91 = l_Lean_MetavarContext_revert(x_30, x_29, x_4, x_87, x_90); lean_dec(x_87); if (lean_obj_tag(x_91) == 0) { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; -x_92 = lean_ctor_get(x_91, 0); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_92 = lean_ctor_get(x_91, 1); lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); +x_93 = lean_ctor_get(x_91, 0); lean_inc(x_93); lean_dec(x_91); -x_121 = lean_ctor_get(x_93, 0); +x_94 = lean_ctor_get(x_92, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_92, 1); +lean_inc(x_95); +x_96 = lean_ctor_get(x_92, 2); +lean_inc(x_96); +lean_dec(x_92); +x_97 = lean_st_ref_get(x_8, x_85); +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +lean_dec(x_97); +x_99 = lean_st_ref_take(x_6, x_98); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +x_102 = !lean_is_exclusive(x_100); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_103 = lean_ctor_get(x_100, 0); +lean_dec(x_103); +lean_ctor_set(x_100, 0, x_94); +x_104 = lean_st_ref_set(x_6, x_100, x_101); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +lean_dec(x_104); +x_106 = lean_st_ref_take(x_8, x_105); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = !lean_is_exclusive(x_107); +if (x_109 == 0) +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_110 = lean_ctor_get(x_107, 2); +lean_dec(x_110); +x_111 = lean_ctor_get(x_107, 1); +lean_dec(x_111); +lean_ctor_set(x_107, 2, x_96); +lean_ctor_set(x_107, 1, x_95); +x_112 = lean_st_ref_set(x_8, x_107, x_108); +x_113 = !lean_is_exclusive(x_112); +if (x_113 == 0) +{ +lean_object* x_114; +x_114 = lean_ctor_get(x_112, 0); +lean_dec(x_114); +lean_ctor_set(x_112, 0, x_93); +x_47 = x_112; +goto block_67; +} +else +{ +lean_object* x_115; lean_object* x_116; +x_115 = lean_ctor_get(x_112, 1); +lean_inc(x_115); +lean_dec(x_112); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_93); +lean_ctor_set(x_116, 1, x_115); +x_47 = x_116; +goto block_67; +} +} +else +{ +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_117 = lean_ctor_get(x_107, 0); +x_118 = lean_ctor_get(x_107, 3); +x_119 = lean_ctor_get(x_107, 4); +x_120 = lean_ctor_get(x_107, 5); +x_121 = lean_ctor_get(x_107, 6); lean_inc(x_121); -x_122 = lean_st_ref_get(x_8, x_85); -x_123 = lean_ctor_get(x_122, 1); -lean_inc(x_123); -lean_dec(x_122); -x_124 = lean_st_ref_take(x_6, x_123); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get_uint8(x_121, sizeof(void*)*8); -if (x_126 == 0) +lean_inc(x_120); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_107); +x_122 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_122, 0, x_117); +lean_ctor_set(x_122, 1, x_95); +lean_ctor_set(x_122, 2, x_96); +lean_ctor_set(x_122, 3, x_118); +lean_ctor_set(x_122, 4, x_119); +lean_ctor_set(x_122, 5, x_120); +lean_ctor_set(x_122, 6, x_121); +x_123 = lean_st_ref_set(x_8, x_122, x_108); +x_124 = lean_ctor_get(x_123, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_125 = x_123; +} else { + lean_dec_ref(x_123); + x_125 = lean_box(0); +} +if (lean_is_scalar(x_125)) { + x_126 = lean_alloc_ctor(0, 2, 0); +} else { + x_126 = x_125; +} +lean_ctor_set(x_126, 0, x_93); +lean_ctor_set(x_126, 1, x_124); +x_47 = x_126; +goto block_67; +} +} +else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_127 = lean_ctor_get(x_125, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_124, 1); -lean_inc(x_128); -lean_dec(x_124); -x_129 = lean_ctor_get(x_121, 0); +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; 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; lean_object* x_146; +x_127 = lean_ctor_get(x_100, 1); +x_128 = lean_ctor_get(x_100, 2); +x_129 = lean_ctor_get(x_100, 3); lean_inc(x_129); -x_130 = lean_ctor_get(x_121, 1); -lean_inc(x_130); -x_131 = lean_ctor_get(x_121, 2); -lean_inc(x_131); -x_132 = lean_ctor_get(x_121, 3); +lean_inc(x_128); +lean_inc(x_127); +lean_dec(x_100); +x_130 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_130, 0, x_94); +lean_ctor_set(x_130, 1, x_127); +lean_ctor_set(x_130, 2, x_128); +lean_ctor_set(x_130, 3, x_129); +x_131 = lean_st_ref_set(x_6, x_130, x_101); +x_132 = lean_ctor_get(x_131, 1); lean_inc(x_132); -x_133 = lean_ctor_get(x_121, 4); -lean_inc(x_133); -x_134 = lean_ctor_get(x_121, 5); +lean_dec(x_131); +x_133 = lean_st_ref_take(x_8, x_132); +x_134 = lean_ctor_get(x_133, 0); lean_inc(x_134); -x_135 = lean_ctor_get(x_121, 6); +x_135 = lean_ctor_get(x_133, 1); lean_inc(x_135); -x_136 = lean_ctor_get(x_121, 7); +lean_dec(x_133); +x_136 = lean_ctor_get(x_134, 0); lean_inc(x_136); -lean_dec(x_121); -x_137 = !lean_is_exclusive(x_125); -if (x_137 == 0) +x_137 = lean_ctor_get(x_134, 3); +lean_inc(x_137); +x_138 = lean_ctor_get(x_134, 4); +lean_inc(x_138); +x_139 = lean_ctor_get(x_134, 5); +lean_inc(x_139); +x_140 = lean_ctor_get(x_134, 6); +lean_inc(x_140); +if (lean_is_exclusive(x_134)) { + lean_ctor_release(x_134, 0); + lean_ctor_release(x_134, 1); + lean_ctor_release(x_134, 2); + lean_ctor_release(x_134, 3); + lean_ctor_release(x_134, 4); + lean_ctor_release(x_134, 5); + lean_ctor_release(x_134, 6); + x_141 = x_134; +} else { + lean_dec_ref(x_134); + x_141 = lean_box(0); +} +if (lean_is_scalar(x_141)) { + x_142 = lean_alloc_ctor(0, 7, 0); +} else { + x_142 = x_141; +} +lean_ctor_set(x_142, 0, x_136); +lean_ctor_set(x_142, 1, x_95); +lean_ctor_set(x_142, 2, x_96); +lean_ctor_set(x_142, 3, x_137); +lean_ctor_set(x_142, 4, x_138); +lean_ctor_set(x_142, 5, x_139); +lean_ctor_set(x_142, 6, x_140); +x_143 = lean_st_ref_set(x_8, x_142, x_135); +x_144 = lean_ctor_get(x_143, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + x_145 = x_143; +} else { + lean_dec_ref(x_143); + x_145 = lean_box(0); +} +if (lean_is_scalar(x_145)) { + x_146 = lean_alloc_ctor(0, 2, 0); +} else { + x_146 = x_145; +} +lean_ctor_set(x_146, 0, x_93); +lean_ctor_set(x_146, 1, x_144); +x_47 = x_146; +goto block_67; +} +} +else { -lean_object* x_138; uint8_t x_139; -x_138 = lean_ctor_get(x_125, 0); -lean_dec(x_138); -x_139 = !lean_is_exclusive(x_127); -if (x_139 == 0) -{ -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; -x_140 = lean_ctor_get(x_127, 7); -lean_dec(x_140); -x_141 = lean_ctor_get(x_127, 6); -lean_dec(x_141); -x_142 = lean_ctor_get(x_127, 5); -lean_dec(x_142); -x_143 = lean_ctor_get(x_127, 4); -lean_dec(x_143); -x_144 = lean_ctor_get(x_127, 3); -lean_dec(x_144); -x_145 = lean_ctor_get(x_127, 2); -lean_dec(x_145); -x_146 = lean_ctor_get(x_127, 1); -lean_dec(x_146); -x_147 = lean_ctor_get(x_127, 0); -lean_dec(x_147); -lean_ctor_set(x_127, 7, x_136); -lean_ctor_set(x_127, 6, x_135); -lean_ctor_set(x_127, 5, x_134); -lean_ctor_set(x_127, 4, x_133); -lean_ctor_set(x_127, 3, x_132); -lean_ctor_set(x_127, 2, x_131); -lean_ctor_set(x_127, 1, x_130); -lean_ctor_set(x_127, 0, x_129); -x_148 = lean_st_ref_set(x_6, x_125, x_128); -x_149 = lean_ctor_get(x_148, 1); +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; uint8_t x_156; +x_147 = lean_ctor_get(x_91, 1); +lean_inc(x_147); +lean_dec(x_91); +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); lean_inc(x_149); -lean_dec(x_148); -x_94 = x_149; -goto block_120; -} -else -{ -uint8_t x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_150 = lean_ctor_get_uint8(x_127, sizeof(void*)*8); -lean_dec(x_127); -x_151 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_151, 0, x_129); -lean_ctor_set(x_151, 1, x_130); -lean_ctor_set(x_151, 2, x_131); -lean_ctor_set(x_151, 3, x_132); -lean_ctor_set(x_151, 4, x_133); -lean_ctor_set(x_151, 5, x_134); -lean_ctor_set(x_151, 6, x_135); -lean_ctor_set(x_151, 7, x_136); -lean_ctor_set_uint8(x_151, sizeof(void*)*8, x_150); -lean_ctor_set(x_125, 0, x_151); -x_152 = lean_st_ref_set(x_6, x_125, x_128); -x_153 = lean_ctor_get(x_152, 1); -lean_inc(x_153); -lean_dec(x_152); -x_94 = x_153; -goto block_120; -} -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_154 = lean_ctor_get(x_125, 1); -x_155 = lean_ctor_get(x_125, 2); -x_156 = lean_ctor_get(x_125, 3); -lean_inc(x_156); -lean_inc(x_155); +x_150 = lean_ctor_get(x_147, 2); +lean_inc(x_150); +lean_dec(x_147); +x_151 = lean_st_ref_get(x_8, x_85); +x_152 = lean_ctor_get(x_151, 1); +lean_inc(x_152); +lean_dec(x_151); +x_153 = lean_st_ref_take(x_6, x_152); +x_154 = lean_ctor_get(x_153, 0); lean_inc(x_154); -lean_dec(x_125); -x_157 = lean_ctor_get_uint8(x_127, sizeof(void*)*8); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - lean_ctor_release(x_127, 2); - lean_ctor_release(x_127, 3); - lean_ctor_release(x_127, 4); - lean_ctor_release(x_127, 5); - lean_ctor_release(x_127, 6); - lean_ctor_release(x_127, 7); - x_158 = x_127; -} else { - lean_dec_ref(x_127); - x_158 = lean_box(0); -} -if (lean_is_scalar(x_158)) { - x_159 = lean_alloc_ctor(0, 8, 1); -} else { - x_159 = x_158; -} -lean_ctor_set(x_159, 0, x_129); -lean_ctor_set(x_159, 1, x_130); -lean_ctor_set(x_159, 2, x_131); -lean_ctor_set(x_159, 3, x_132); -lean_ctor_set(x_159, 4, x_133); -lean_ctor_set(x_159, 5, x_134); -lean_ctor_set(x_159, 6, x_135); -lean_ctor_set(x_159, 7, x_136); -lean_ctor_set_uint8(x_159, sizeof(void*)*8, x_157); -x_160 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_154); -lean_ctor_set(x_160, 2, x_155); -lean_ctor_set(x_160, 3, x_156); -x_161 = lean_st_ref_set(x_6, x_160, x_128); -x_162 = lean_ctor_get(x_161, 1); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = !lean_is_exclusive(x_154); +if (x_156 == 0) +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; +x_157 = lean_ctor_get(x_154, 0); +lean_dec(x_157); +lean_ctor_set(x_154, 0, x_148); +x_158 = lean_st_ref_set(x_6, x_154, x_155); +x_159 = lean_ctor_get(x_158, 1); +lean_inc(x_159); +lean_dec(x_158); +x_160 = lean_st_ref_take(x_8, x_159); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); lean_inc(x_162); -lean_dec(x_161); -x_94 = x_162; -goto block_120; -} -} -else +lean_dec(x_160); +x_163 = !lean_is_exclusive(x_161); +if (x_163 == 0) { -lean_object* x_163; uint8_t x_164; -x_163 = lean_ctor_get(x_124, 1); -lean_inc(x_163); -lean_dec(x_124); -x_164 = !lean_is_exclusive(x_121); -if (x_164 == 0) -{ -uint8_t x_165; -x_165 = !lean_is_exclusive(x_125); -if (x_165 == 0) -{ -lean_object* x_166; uint8_t x_167; lean_object* x_168; lean_object* x_169; -x_166 = lean_ctor_get(x_125, 0); +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_164 = lean_ctor_get(x_161, 2); +lean_dec(x_164); +x_165 = lean_ctor_get(x_161, 1); +lean_dec(x_165); +lean_ctor_set(x_161, 2, x_150); +lean_ctor_set(x_161, 1, x_149); +x_166 = lean_st_ref_set(x_8, x_161, x_162); +x_167 = lean_ctor_get(x_166, 1); +lean_inc(x_167); lean_dec(x_166); -x_167 = 1; -lean_ctor_set_uint8(x_121, sizeof(void*)*8, x_167); -lean_ctor_set(x_125, 0, x_121); -x_168 = lean_st_ref_set(x_6, x_125, x_163); -x_169 = lean_ctor_get(x_168, 1); -lean_inc(x_169); -lean_dec(x_168); -x_94 = x_169; -goto block_120; +x_168 = l_Lean_MVarId_revert___lambda__2___closed__4; +x_169 = l_Lean_throwError___at_Lean_MVarId_revert___spec__4(x_168, x_5, x_6, x_7, x_8, x_167); +x_47 = x_169; +goto block_67; } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_170 = lean_ctor_get(x_125, 1); -x_171 = lean_ctor_get(x_125, 2); -x_172 = lean_ctor_get(x_125, 3); +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; +x_170 = lean_ctor_get(x_161, 0); +x_171 = lean_ctor_get(x_161, 3); +x_172 = lean_ctor_get(x_161, 4); +x_173 = lean_ctor_get(x_161, 5); +x_174 = lean_ctor_get(x_161, 6); +lean_inc(x_174); +lean_inc(x_173); lean_inc(x_172); lean_inc(x_171); lean_inc(x_170); -lean_dec(x_125); -x_173 = 1; -lean_ctor_set_uint8(x_121, sizeof(void*)*8, x_173); -x_174 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_174, 0, x_121); -lean_ctor_set(x_174, 1, x_170); -lean_ctor_set(x_174, 2, x_171); -lean_ctor_set(x_174, 3, x_172); -x_175 = lean_st_ref_set(x_6, x_174, x_163); -x_176 = lean_ctor_get(x_175, 1); -lean_inc(x_176); -lean_dec(x_175); -x_94 = x_176; -goto block_120; +lean_dec(x_161); +x_175 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_175, 0, x_170); +lean_ctor_set(x_175, 1, x_149); +lean_ctor_set(x_175, 2, x_150); +lean_ctor_set(x_175, 3, x_171); +lean_ctor_set(x_175, 4, x_172); +lean_ctor_set(x_175, 5, x_173); +lean_ctor_set(x_175, 6, x_174); +x_176 = lean_st_ref_set(x_8, x_175, x_162); +x_177 = lean_ctor_get(x_176, 1); +lean_inc(x_177); +lean_dec(x_176); +x_178 = l_Lean_MVarId_revert___lambda__2___closed__4; +x_179 = l_Lean_throwError___at_Lean_MVarId_revert___spec__4(x_178, x_5, x_6, x_7, x_8, x_177); +x_47 = x_179; +goto block_67; } } else { -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; lean_object* x_188; uint8_t x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_177 = lean_ctor_get(x_121, 0); -x_178 = lean_ctor_get(x_121, 1); -x_179 = lean_ctor_get(x_121, 2); -x_180 = lean_ctor_get(x_121, 3); -x_181 = lean_ctor_get(x_121, 4); -x_182 = lean_ctor_get(x_121, 5); -x_183 = lean_ctor_get(x_121, 6); -x_184 = lean_ctor_get(x_121, 7); -lean_inc(x_184); -lean_inc(x_183); +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; 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; +x_180 = lean_ctor_get(x_154, 1); +x_181 = lean_ctor_get(x_154, 2); +x_182 = lean_ctor_get(x_154, 3); lean_inc(x_182); lean_inc(x_181); lean_inc(x_180); -lean_inc(x_179); -lean_inc(x_178); -lean_inc(x_177); -lean_dec(x_121); -x_185 = lean_ctor_get(x_125, 1); +lean_dec(x_154); +x_183 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_183, 0, x_148); +lean_ctor_set(x_183, 1, x_180); +lean_ctor_set(x_183, 2, x_181); +lean_ctor_set(x_183, 3, x_182); +x_184 = lean_st_ref_set(x_6, x_183, x_155); +x_185 = lean_ctor_get(x_184, 1); lean_inc(x_185); -x_186 = lean_ctor_get(x_125, 2); -lean_inc(x_186); -x_187 = lean_ctor_get(x_125, 3); +lean_dec(x_184); +x_186 = lean_st_ref_take(x_8, x_185); +x_187 = lean_ctor_get(x_186, 0); lean_inc(x_187); -if (lean_is_exclusive(x_125)) { - lean_ctor_release(x_125, 0); - lean_ctor_release(x_125, 1); - lean_ctor_release(x_125, 2); - lean_ctor_release(x_125, 3); - x_188 = x_125; -} else { - lean_dec_ref(x_125); - x_188 = lean_box(0); -} -x_189 = 1; -x_190 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_190, 0, x_177); -lean_ctor_set(x_190, 1, x_178); -lean_ctor_set(x_190, 2, x_179); -lean_ctor_set(x_190, 3, x_180); -lean_ctor_set(x_190, 4, x_181); -lean_ctor_set(x_190, 5, x_182); -lean_ctor_set(x_190, 6, x_183); -lean_ctor_set(x_190, 7, x_184); -lean_ctor_set_uint8(x_190, sizeof(void*)*8, x_189); -if (lean_is_scalar(x_188)) { - x_191 = lean_alloc_ctor(0, 4, 0); -} else { - x_191 = x_188; -} -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_185); -lean_ctor_set(x_191, 2, x_186); -lean_ctor_set(x_191, 3, x_187); -x_192 = lean_st_ref_set(x_6, x_191, x_163); -x_193 = lean_ctor_get(x_192, 1); +x_188 = lean_ctor_get(x_186, 1); +lean_inc(x_188); +lean_dec(x_186); +x_189 = lean_ctor_get(x_187, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_187, 3); +lean_inc(x_190); +x_191 = lean_ctor_get(x_187, 4); +lean_inc(x_191); +x_192 = lean_ctor_get(x_187, 5); +lean_inc(x_192); +x_193 = lean_ctor_get(x_187, 6); lean_inc(x_193); -lean_dec(x_192); -x_94 = x_193; -goto block_120; -} -} -block_120: -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_95 = lean_st_ref_take(x_8, 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_is_exclusive(x_96); -if (x_98 == 0) -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; -x_99 = lean_ctor_get(x_96, 2); -lean_dec(x_99); -x_100 = lean_ctor_get(x_96, 1); -lean_dec(x_100); -x_101 = lean_ctor_get(x_93, 1); -lean_inc(x_101); -x_102 = lean_ctor_get(x_93, 2); -lean_inc(x_102); -lean_dec(x_93); -lean_ctor_set(x_96, 2, x_102); -lean_ctor_set(x_96, 1, x_101); -x_103 = lean_st_ref_set(x_8, x_96, x_97); -x_104 = !lean_is_exclusive(x_103); -if (x_104 == 0) -{ -lean_object* x_105; -x_105 = lean_ctor_get(x_103, 0); -lean_dec(x_105); -lean_ctor_set(x_103, 0, x_92); -x_47 = x_103; -goto block_67; -} -else -{ -lean_object* x_106; lean_object* x_107; -x_106 = lean_ctor_get(x_103, 1); -lean_inc(x_106); -lean_dec(x_103); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_92); -lean_ctor_set(x_107, 1, x_106); -x_47 = x_107; -goto block_67; -} -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_108 = lean_ctor_get(x_96, 0); -x_109 = lean_ctor_get(x_96, 3); -x_110 = lean_ctor_get(x_96, 4); -x_111 = lean_ctor_get(x_96, 5); -x_112 = lean_ctor_get(x_96, 6); -lean_inc(x_112); -lean_inc(x_111); -lean_inc(x_110); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_96); -x_113 = lean_ctor_get(x_93, 1); -lean_inc(x_113); -x_114 = lean_ctor_get(x_93, 2); -lean_inc(x_114); -lean_dec(x_93); -x_115 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_115, 0, x_108); -lean_ctor_set(x_115, 1, x_113); -lean_ctor_set(x_115, 2, x_114); -lean_ctor_set(x_115, 3, x_109); -lean_ctor_set(x_115, 4, x_110); -lean_ctor_set(x_115, 5, x_111); -lean_ctor_set(x_115, 6, x_112); -x_116 = lean_st_ref_set(x_8, x_115, x_97); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_118 = x_116; +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + lean_ctor_release(x_187, 1); + lean_ctor_release(x_187, 2); + lean_ctor_release(x_187, 3); + lean_ctor_release(x_187, 4); + lean_ctor_release(x_187, 5); + lean_ctor_release(x_187, 6); + x_194 = x_187; } else { - lean_dec_ref(x_116); - x_118 = lean_box(0); + lean_dec_ref(x_187); + x_194 = lean_box(0); } -if (lean_is_scalar(x_118)) { - x_119 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_194)) { + x_195 = lean_alloc_ctor(0, 7, 0); } else { - x_119 = x_118; + x_195 = x_194; } -lean_ctor_set(x_119, 0, x_92); -lean_ctor_set(x_119, 1, x_117); -x_47 = x_119; -goto block_67; -} -} -} -else -{ -lean_object* x_194; lean_object* x_195; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; -x_194 = lean_ctor_get(x_91, 1); -lean_inc(x_194); -lean_dec(x_91); -x_221 = lean_ctor_get(x_194, 0); -lean_inc(x_221); -x_222 = lean_st_ref_get(x_8, x_85); -x_223 = lean_ctor_get(x_222, 1); -lean_inc(x_223); -lean_dec(x_222); -x_224 = lean_st_ref_take(x_6, x_223); -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get_uint8(x_221, sizeof(void*)*8); -if (x_226 == 0) -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; -x_227 = lean_ctor_get(x_225, 0); -lean_inc(x_227); -x_228 = lean_ctor_get(x_224, 1); -lean_inc(x_228); -lean_dec(x_224); -x_229 = lean_ctor_get(x_221, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_221, 1); -lean_inc(x_230); -x_231 = lean_ctor_get(x_221, 2); -lean_inc(x_231); -x_232 = lean_ctor_get(x_221, 3); -lean_inc(x_232); -x_233 = lean_ctor_get(x_221, 4); -lean_inc(x_233); -x_234 = lean_ctor_get(x_221, 5); -lean_inc(x_234); -x_235 = lean_ctor_get(x_221, 6); -lean_inc(x_235); -x_236 = lean_ctor_get(x_221, 7); -lean_inc(x_236); -lean_dec(x_221); -x_237 = !lean_is_exclusive(x_225); -if (x_237 == 0) -{ -lean_object* x_238; uint8_t x_239; -x_238 = lean_ctor_get(x_225, 0); -lean_dec(x_238); -x_239 = !lean_is_exclusive(x_227); -if (x_239 == 0) -{ -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; -x_240 = lean_ctor_get(x_227, 7); -lean_dec(x_240); -x_241 = lean_ctor_get(x_227, 6); -lean_dec(x_241); -x_242 = lean_ctor_get(x_227, 5); -lean_dec(x_242); -x_243 = lean_ctor_get(x_227, 4); -lean_dec(x_243); -x_244 = lean_ctor_get(x_227, 3); -lean_dec(x_244); -x_245 = lean_ctor_get(x_227, 2); -lean_dec(x_245); -x_246 = lean_ctor_get(x_227, 1); -lean_dec(x_246); -x_247 = lean_ctor_get(x_227, 0); -lean_dec(x_247); -lean_ctor_set(x_227, 7, x_236); -lean_ctor_set(x_227, 6, x_235); -lean_ctor_set(x_227, 5, x_234); -lean_ctor_set(x_227, 4, x_233); -lean_ctor_set(x_227, 3, x_232); -lean_ctor_set(x_227, 2, x_231); -lean_ctor_set(x_227, 1, x_230); -lean_ctor_set(x_227, 0, x_229); -x_248 = lean_st_ref_set(x_6, x_225, x_228); -x_249 = lean_ctor_get(x_248, 1); -lean_inc(x_249); -lean_dec(x_248); -x_195 = x_249; -goto block_220; -} -else -{ -uint8_t x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_250 = lean_ctor_get_uint8(x_227, sizeof(void*)*8); -lean_dec(x_227); -x_251 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_251, 0, x_229); -lean_ctor_set(x_251, 1, x_230); -lean_ctor_set(x_251, 2, x_231); -lean_ctor_set(x_251, 3, x_232); -lean_ctor_set(x_251, 4, x_233); -lean_ctor_set(x_251, 5, x_234); -lean_ctor_set(x_251, 6, x_235); -lean_ctor_set(x_251, 7, x_236); -lean_ctor_set_uint8(x_251, sizeof(void*)*8, x_250); -lean_ctor_set(x_225, 0, x_251); -x_252 = lean_st_ref_set(x_6, x_225, x_228); -x_253 = lean_ctor_get(x_252, 1); -lean_inc(x_253); -lean_dec(x_252); -x_195 = x_253; -goto block_220; -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; -x_254 = lean_ctor_get(x_225, 1); -x_255 = lean_ctor_get(x_225, 2); -x_256 = lean_ctor_get(x_225, 3); -lean_inc(x_256); -lean_inc(x_255); -lean_inc(x_254); -lean_dec(x_225); -x_257 = lean_ctor_get_uint8(x_227, sizeof(void*)*8); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - lean_ctor_release(x_227, 2); - lean_ctor_release(x_227, 3); - lean_ctor_release(x_227, 4); - lean_ctor_release(x_227, 5); - lean_ctor_release(x_227, 6); - lean_ctor_release(x_227, 7); - x_258 = x_227; -} else { - lean_dec_ref(x_227); - x_258 = lean_box(0); -} -if (lean_is_scalar(x_258)) { - x_259 = lean_alloc_ctor(0, 8, 1); -} else { - x_259 = x_258; -} -lean_ctor_set(x_259, 0, x_229); -lean_ctor_set(x_259, 1, x_230); -lean_ctor_set(x_259, 2, x_231); -lean_ctor_set(x_259, 3, x_232); -lean_ctor_set(x_259, 4, x_233); -lean_ctor_set(x_259, 5, x_234); -lean_ctor_set(x_259, 6, x_235); -lean_ctor_set(x_259, 7, x_236); -lean_ctor_set_uint8(x_259, sizeof(void*)*8, x_257); -x_260 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_260, 0, x_259); -lean_ctor_set(x_260, 1, x_254); -lean_ctor_set(x_260, 2, x_255); -lean_ctor_set(x_260, 3, x_256); -x_261 = lean_st_ref_set(x_6, x_260, x_228); -x_262 = lean_ctor_get(x_261, 1); -lean_inc(x_262); -lean_dec(x_261); -x_195 = x_262; -goto block_220; -} -} -else -{ -lean_object* x_263; uint8_t x_264; -x_263 = lean_ctor_get(x_224, 1); -lean_inc(x_263); -lean_dec(x_224); -x_264 = !lean_is_exclusive(x_221); -if (x_264 == 0) -{ -uint8_t x_265; -x_265 = !lean_is_exclusive(x_225); -if (x_265 == 0) -{ -lean_object* x_266; uint8_t x_267; lean_object* x_268; lean_object* x_269; -x_266 = lean_ctor_get(x_225, 0); -lean_dec(x_266); -x_267 = 1; -lean_ctor_set_uint8(x_221, sizeof(void*)*8, x_267); -lean_ctor_set(x_225, 0, x_221); -x_268 = lean_st_ref_set(x_6, x_225, x_263); -x_269 = lean_ctor_get(x_268, 1); -lean_inc(x_269); -lean_dec(x_268); -x_195 = x_269; -goto block_220; -} -else -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; -x_270 = lean_ctor_get(x_225, 1); -x_271 = lean_ctor_get(x_225, 2); -x_272 = lean_ctor_get(x_225, 3); -lean_inc(x_272); -lean_inc(x_271); -lean_inc(x_270); -lean_dec(x_225); -x_273 = 1; -lean_ctor_set_uint8(x_221, sizeof(void*)*8, x_273); -x_274 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_274, 0, x_221); -lean_ctor_set(x_274, 1, x_270); -lean_ctor_set(x_274, 2, x_271); -lean_ctor_set(x_274, 3, x_272); -x_275 = lean_st_ref_set(x_6, x_274, x_263); -x_276 = lean_ctor_get(x_275, 1); -lean_inc(x_276); -lean_dec(x_275); -x_195 = x_276; -goto block_220; -} -} -else -{ -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_object* x_287; lean_object* x_288; uint8_t x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; -x_277 = lean_ctor_get(x_221, 0); -x_278 = lean_ctor_get(x_221, 1); -x_279 = lean_ctor_get(x_221, 2); -x_280 = lean_ctor_get(x_221, 3); -x_281 = lean_ctor_get(x_221, 4); -x_282 = lean_ctor_get(x_221, 5); -x_283 = lean_ctor_get(x_221, 6); -x_284 = lean_ctor_get(x_221, 7); -lean_inc(x_284); -lean_inc(x_283); -lean_inc(x_282); -lean_inc(x_281); -lean_inc(x_280); -lean_inc(x_279); -lean_inc(x_278); -lean_inc(x_277); -lean_dec(x_221); -x_285 = lean_ctor_get(x_225, 1); -lean_inc(x_285); -x_286 = lean_ctor_get(x_225, 2); -lean_inc(x_286); -x_287 = lean_ctor_get(x_225, 3); -lean_inc(x_287); -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); - x_288 = x_225; -} else { - lean_dec_ref(x_225); - x_288 = lean_box(0); -} -x_289 = 1; -x_290 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_290, 0, x_277); -lean_ctor_set(x_290, 1, x_278); -lean_ctor_set(x_290, 2, x_279); -lean_ctor_set(x_290, 3, x_280); -lean_ctor_set(x_290, 4, x_281); -lean_ctor_set(x_290, 5, x_282); -lean_ctor_set(x_290, 6, x_283); -lean_ctor_set(x_290, 7, x_284); -lean_ctor_set_uint8(x_290, sizeof(void*)*8, x_289); -if (lean_is_scalar(x_288)) { - x_291 = lean_alloc_ctor(0, 4, 0); -} else { - x_291 = x_288; -} -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_285); -lean_ctor_set(x_291, 2, x_286); -lean_ctor_set(x_291, 3, x_287); -x_292 = lean_st_ref_set(x_6, x_291, x_263); -x_293 = lean_ctor_get(x_292, 1); -lean_inc(x_293); -lean_dec(x_292); -x_195 = x_293; -goto block_220; -} -} -block_220: -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; -x_196 = lean_st_ref_take(x_8, x_195); -x_197 = lean_ctor_get(x_196, 0); +lean_ctor_set(x_195, 0, x_189); +lean_ctor_set(x_195, 1, x_149); +lean_ctor_set(x_195, 2, x_150); +lean_ctor_set(x_195, 3, x_190); +lean_ctor_set(x_195, 4, x_191); +lean_ctor_set(x_195, 5, x_192); +lean_ctor_set(x_195, 6, x_193); +x_196 = lean_st_ref_set(x_8, x_195, x_188); +x_197 = lean_ctor_get(x_196, 1); lean_inc(x_197); -x_198 = lean_ctor_get(x_196, 1); -lean_inc(x_198); lean_dec(x_196); -x_199 = !lean_is_exclusive(x_197); -if (x_199 == 0) -{ -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_200 = lean_ctor_get(x_197, 2); -lean_dec(x_200); -x_201 = lean_ctor_get(x_197, 1); -lean_dec(x_201); -x_202 = lean_ctor_get(x_194, 1); -lean_inc(x_202); -x_203 = lean_ctor_get(x_194, 2); -lean_inc(x_203); -lean_dec(x_194); -lean_ctor_set(x_197, 2, x_203); -lean_ctor_set(x_197, 1, x_202); -x_204 = lean_st_ref_set(x_8, x_197, x_198); -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -lean_dec(x_204); -x_206 = l_Lean_MVarId_revert___lambda__2___closed__4; -x_207 = l_Lean_throwError___at_Lean_MVarId_revert___spec__4(x_206, x_5, x_6, x_7, x_8, x_205); -x_47 = x_207; +x_198 = l_Lean_MVarId_revert___lambda__2___closed__4; +x_199 = l_Lean_throwError___at_Lean_MVarId_revert___spec__4(x_198, x_5, x_6, x_7, x_8, x_197); +x_47 = x_199; goto block_67; } -else -{ -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; -x_208 = lean_ctor_get(x_197, 0); -x_209 = lean_ctor_get(x_197, 3); -x_210 = lean_ctor_get(x_197, 4); -x_211 = lean_ctor_get(x_197, 5); -x_212 = lean_ctor_get(x_197, 6); -lean_inc(x_212); -lean_inc(x_211); -lean_inc(x_210); -lean_inc(x_209); -lean_inc(x_208); -lean_dec(x_197); -x_213 = lean_ctor_get(x_194, 1); -lean_inc(x_213); -x_214 = lean_ctor_get(x_194, 2); -lean_inc(x_214); -lean_dec(x_194); -x_215 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_215, 0, x_208); -lean_ctor_set(x_215, 1, x_213); -lean_ctor_set(x_215, 2, x_214); -lean_ctor_set(x_215, 3, x_209); -lean_ctor_set(x_215, 4, x_210); -lean_ctor_set(x_215, 5, x_211); -lean_ctor_set(x_215, 6, x_212); -x_216 = lean_st_ref_set(x_8, x_215, x_198); -x_217 = lean_ctor_get(x_216, 1); -lean_inc(x_217); -lean_dec(x_216); -x_218 = l_Lean_MVarId_revert___lambda__2___closed__4; -x_219 = l_Lean_throwError___at_Lean_MVarId_revert___spec__4(x_218, x_5, x_6, x_7, x_8, x_217); -x_47 = x_219; -goto block_67; -} -} } block_46: { @@ -1657,143 +1303,143 @@ goto block_46; } else { -uint8_t x_294; +uint8_t x_200; lean_dec(x_30); lean_dec(x_29); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_294 = !lean_is_exclusive(x_31); -if (x_294 == 0) +x_200 = !lean_is_exclusive(x_31); +if (x_200 == 0) { return x_31; } else { -lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_295 = lean_ctor_get(x_31, 0); -x_296 = lean_ctor_get(x_31, 1); -lean_inc(x_296); -lean_inc(x_295); +lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_201 = lean_ctor_get(x_31, 0); +x_202 = lean_ctor_get(x_31, 1); +lean_inc(x_202); +lean_inc(x_201); lean_dec(x_31); -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; +x_203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_203, 0, x_201); +lean_ctor_set(x_203, 1, x_202); +return x_203; } } } else { -uint8_t x_298; +uint8_t x_204; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_298 = !lean_is_exclusive(x_26); -if (x_298 == 0) +x_204 = !lean_is_exclusive(x_26); +if (x_204 == 0) { return x_26; } else { -lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_299 = lean_ctor_get(x_26, 0); -x_300 = lean_ctor_get(x_26, 1); -lean_inc(x_300); -lean_inc(x_299); +lean_object* x_205; lean_object* x_206; lean_object* x_207; +x_205 = lean_ctor_get(x_26, 0); +x_206 = lean_ctor_get(x_26, 1); +lean_inc(x_206); +lean_inc(x_205); lean_dec(x_26); -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; +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_205); +lean_ctor_set(x_207, 1, x_206); +return x_207; } } } else { -uint8_t x_302; +uint8_t x_208; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_302 = !lean_is_exclusive(x_19); -if (x_302 == 0) +x_208 = !lean_is_exclusive(x_19); +if (x_208 == 0) { return x_19; } else { -lean_object* x_303; lean_object* x_304; lean_object* x_305; -x_303 = lean_ctor_get(x_19, 0); -x_304 = lean_ctor_get(x_19, 1); -lean_inc(x_304); -lean_inc(x_303); +lean_object* x_209; lean_object* x_210; lean_object* x_211; +x_209 = lean_ctor_get(x_19, 0); +x_210 = lean_ctor_get(x_19, 1); +lean_inc(x_210); +lean_inc(x_209); lean_dec(x_19); -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; +x_211 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_211, 0, x_209); +lean_ctor_set(x_211, 1, x_210); +return x_211; } } } else { -uint8_t x_306; +uint8_t x_212; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_306 = !lean_is_exclusive(x_16); -if (x_306 == 0) +x_212 = !lean_is_exclusive(x_16); +if (x_212 == 0) { return x_16; } else { -lean_object* x_307; lean_object* x_308; lean_object* x_309; -x_307 = lean_ctor_get(x_16, 0); -x_308 = lean_ctor_get(x_16, 1); -lean_inc(x_308); -lean_inc(x_307); +lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_213 = lean_ctor_get(x_16, 0); +x_214 = lean_ctor_get(x_16, 1); +lean_inc(x_214); +lean_inc(x_213); lean_dec(x_16); -x_309 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_309, 0, x_307); -lean_ctor_set(x_309, 1, x_308); -return x_309; +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 { -uint8_t x_310; +uint8_t x_216; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_310 = !lean_is_exclusive(x_10); -if (x_310 == 0) +x_216 = !lean_is_exclusive(x_10); +if (x_216 == 0) { return x_10; } else { -lean_object* x_311; lean_object* x_312; lean_object* x_313; -x_311 = lean_ctor_get(x_10, 0); -x_312 = lean_ctor_get(x_10, 1); -lean_inc(x_312); -lean_inc(x_311); +lean_object* x_217; lean_object* x_218; lean_object* x_219; +x_217 = lean_ctor_get(x_10, 0); +x_218 = lean_ctor_get(x_10, 1); +lean_inc(x_218); +lean_inc(x_217); lean_dec(x_10); -x_313 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_313, 0, x_311); -lean_ctor_set(x_313, 1, x_312); -return x_313; +x_219 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_219, 0, x_217); +lean_ctor_set(x_219, 1, x_218); +return x_219; } } } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c index 6238923dd2..16ccb8a470 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c @@ -304,6 +304,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Ta LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_getConfig___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_simpTargetCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__2___closed__4; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -734,7 +735,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpForall___lambda__1___boxed(le static lean_object* l_Lean_Meta_Simp_simp_simpProj___closed__1; static lean_object* l_Lean_Meta_Simp_simp_simpProj___closed__2; lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___spec__1___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__1___closed__2; @@ -37688,7 +37688,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -38416,7 +38416,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -38716,7 +38716,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at_Lean_Meta_Simp_simp_simpProj___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -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_115; lean_object* x_116; uint8_t x_117; +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; x_11 = lean_st_ref_get(x_9, x_10); x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); @@ -38730,235 +38730,170 @@ lean_dec(x_13); x_16 = lean_ctor_get(x_14, 0); lean_inc(x_16); lean_dec(x_14); -x_115 = l_Lean_exprDependsOn___at_Lean_Meta_Simp_simp_simpProj___spec__1___closed__1; -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_16); -x_117 = l_Lean_Expr_hasFVar(x_1); -if (x_117 == 0) +x_17 = l_Lean_exprDependsOn___at_Lean_Meta_Simp_simp_simpProj___spec__1___closed__1; +lean_inc(x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_Lean_Expr_hasFVar(x_1); +if (x_19 == 0) { -uint8_t x_118; -x_118 = l_Lean_Expr_hasMVar(x_1); -if (x_118 == 0) +uint8_t x_20; +x_20 = l_Lean_Expr_hasMVar(x_1); +if (x_20 == 0) { -uint8_t x_119; -lean_dec(x_1); -x_119 = 0; -x_17 = x_119; -x_18 = x_116; -goto block_114; -} -else -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; -x_120 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_Simp_simp_simpProj___spec__2(x_2, x_1, x_116); -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -lean_dec(x_120); -x_123 = lean_unbox(x_121); -lean_dec(x_121); -x_17 = x_123; -x_18 = x_122; -goto block_114; -} -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_124 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_Simp_simp_simpProj___spec__10(x_2, x_1, x_116); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = lean_unbox(x_125); -lean_dec(x_125); -x_17 = x_127; -x_18 = x_126; -goto block_114; -} -block_114: -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_dec(x_18); -x_20 = lean_st_ref_get(x_9, x_15); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_st_ref_take(x_7, x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get_uint8(x_19, sizeof(void*)*8); -if (x_24 == 0) -{ -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; uint8_t x_35; -x_25 = lean_ctor_get(x_23, 0); +lean_dec(x_1); +x_21 = lean_st_ref_get(x_9, x_15); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_st_ref_take(x_7, x_22); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); -lean_dec(x_22); -x_27 = lean_ctor_get(x_19, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_19, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_19, 3); -lean_inc(x_30); -x_31 = lean_ctor_get(x_19, 4); -lean_inc(x_31); -x_32 = lean_ctor_get(x_19, 5); -lean_inc(x_32); -x_33 = lean_ctor_get(x_19, 6); +lean_dec(x_23); +x_26 = !lean_is_exclusive(x_24); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_24, 0); +lean_dec(x_27); +lean_ctor_set(x_24, 0, x_16); +x_28 = lean_st_ref_set(x_7, x_24, x_25); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +lean_dec(x_30); +x_31 = 0; +x_32 = lean_box(x_31); +lean_ctor_set(x_28, 0, x_32); +return x_28; +} +else +{ +lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_28, 1); lean_inc(x_33); -x_34 = lean_ctor_get(x_19, 7); -lean_inc(x_34); -lean_dec(x_19); -x_35 = !lean_is_exclusive(x_23); -if (x_35 == 0) +lean_dec(x_28); +x_34 = 0; +x_35 = lean_box(x_34); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_33); +return x_36; +} +} +else { -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_23, 0); -lean_dec(x_36); -x_37 = !lean_is_exclusive(x_25); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_38 = lean_ctor_get(x_25, 7); -lean_dec(x_38); -x_39 = lean_ctor_get(x_25, 6); -lean_dec(x_39); -x_40 = lean_ctor_get(x_25, 5); -lean_dec(x_40); -x_41 = lean_ctor_get(x_25, 4); -lean_dec(x_41); -x_42 = lean_ctor_get(x_25, 3); -lean_dec(x_42); -x_43 = lean_ctor_get(x_25, 2); -lean_dec(x_43); -x_44 = lean_ctor_get(x_25, 1); -lean_dec(x_44); -x_45 = lean_ctor_get(x_25, 0); -lean_dec(x_45); -lean_ctor_set(x_25, 7, x_34); -lean_ctor_set(x_25, 6, x_33); -lean_ctor_set(x_25, 5, x_32); -lean_ctor_set(x_25, 4, x_31); -lean_ctor_set(x_25, 3, x_30); -lean_ctor_set(x_25, 2, x_29); -lean_ctor_set(x_25, 1, x_28); -lean_ctor_set(x_25, 0, x_27); -x_46 = lean_st_ref_set(x_7, x_23, x_26); -x_47 = !lean_is_exclusive(x_46); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_46, 0); -lean_dec(x_48); -x_49 = lean_box(x_17); -lean_ctor_set(x_46, 0, x_49); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; +x_37 = lean_ctor_get(x_24, 1); +x_38 = lean_ctor_get(x_24, 2); +x_39 = lean_ctor_get(x_24, 3); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_24); +x_40 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_40, 0, x_16); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_38); +lean_ctor_set(x_40, 3, x_39); +x_41 = lean_st_ref_set(x_7, x_40, x_25); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_43 = x_41; +} else { + lean_dec_ref(x_41); + x_43 = lean_box(0); +} +x_44 = 0; +x_45 = lean_box(x_44); +if (lean_is_scalar(x_43)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_43; +} +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_42); return x_46; } +} else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_46, 1); +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; uint8_t x_56; +lean_dec(x_16); +x_47 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_Simp_simp_simpProj___spec__2(x_2, x_1, x_18); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 0); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_ctor_get(x_48, 1); lean_inc(x_50); -lean_dec(x_46); -x_51 = lean_box(x_17); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -return x_52; -} +lean_dec(x_48); +x_51 = lean_st_ref_get(x_9, x_15); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_st_ref_take(x_7, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = !lean_is_exclusive(x_54); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_57 = lean_ctor_get(x_54, 0); +lean_dec(x_57); +lean_ctor_set(x_54, 0, x_50); +x_58 = lean_st_ref_set(x_7, x_54, x_55); +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_58, 0); +lean_dec(x_60); +lean_ctor_set(x_58, 0, x_49); +return x_58; } else { -uint8_t 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; -x_53 = lean_ctor_get_uint8(x_25, sizeof(void*)*8); -lean_dec(x_25); -x_54 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_54, 0, x_27); -lean_ctor_set(x_54, 1, x_28); -lean_ctor_set(x_54, 2, x_29); -lean_ctor_set(x_54, 3, x_30); -lean_ctor_set(x_54, 4, x_31); -lean_ctor_set(x_54, 5, x_32); -lean_ctor_set(x_54, 6, x_33); -lean_ctor_set(x_54, 7, x_34); -lean_ctor_set_uint8(x_54, sizeof(void*)*8, x_53); -lean_ctor_set(x_23, 0, x_54); -x_55 = lean_st_ref_set(x_7, x_23, x_26); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_57 = x_55; -} else { - lean_dec_ref(x_55); - x_57 = lean_box(0); -} -x_58 = lean_box(x_17); -if (lean_is_scalar(x_57)) { - x_59 = lean_alloc_ctor(0, 2, 0); -} else { - x_59 = x_57; -} -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_56); -return x_59; -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_60 = lean_ctor_get(x_23, 1); -x_61 = lean_ctor_get(x_23, 2); -x_62 = lean_ctor_get(x_23, 3); -lean_inc(x_62); +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_58, 1); lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_23); -x_63 = lean_ctor_get_uint8(x_25, sizeof(void*)*8); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - lean_ctor_release(x_25, 2); - lean_ctor_release(x_25, 3); - lean_ctor_release(x_25, 4); - lean_ctor_release(x_25, 5); - lean_ctor_release(x_25, 6); - lean_ctor_release(x_25, 7); - x_64 = x_25; -} else { - lean_dec_ref(x_25); - x_64 = lean_box(0); +lean_dec(x_58); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_49); +lean_ctor_set(x_62, 1, x_61); +return x_62; } -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(0, 8, 1); -} else { - x_65 = x_64; } -lean_ctor_set(x_65, 0, x_27); -lean_ctor_set(x_65, 1, x_28); -lean_ctor_set(x_65, 2, x_29); -lean_ctor_set(x_65, 3, x_30); -lean_ctor_set(x_65, 4, x_31); -lean_ctor_set(x_65, 5, x_32); -lean_ctor_set(x_65, 6, x_33); -lean_ctor_set(x_65, 7, x_34); -lean_ctor_set_uint8(x_65, sizeof(void*)*8, x_63); +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; +x_63 = lean_ctor_get(x_54, 1); +x_64 = lean_ctor_get(x_54, 2); +x_65 = lean_ctor_get(x_54, 3); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_54); x_66 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_60); -lean_ctor_set(x_66, 2, x_61); -lean_ctor_set(x_66, 3, x_62); -x_67 = lean_st_ref_set(x_7, x_66, x_26); +lean_ctor_set(x_66, 0, x_50); +lean_ctor_set(x_66, 1, x_63); +lean_ctor_set(x_66, 2, x_64); +lean_ctor_set(x_66, 3, x_65); +x_67 = lean_st_ref_set(x_7, x_66, x_55); x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); if (lean_is_exclusive(x_67)) { @@ -38969,176 +38904,103 @@ if (lean_is_exclusive(x_67)) { lean_dec_ref(x_67); x_69 = lean_box(0); } -x_70 = lean_box(x_17); if (lean_is_scalar(x_69)) { - x_71 = lean_alloc_ctor(0, 2, 0); + x_70 = lean_alloc_ctor(0, 2, 0); } else { - x_71 = x_69; + x_70 = x_69; +} +lean_ctor_set(x_70, 0, x_49); +lean_ctor_set(x_70, 1, x_68); +return x_70; } -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_68); -return x_71; } } else { -lean_object* x_72; uint8_t x_73; -x_72 = lean_ctor_get(x_22, 1); +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; uint8_t x_80; +lean_dec(x_16); +x_71 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_Simp_simp_simpProj___spec__10(x_2, x_1, x_18); +x_72 = lean_ctor_get(x_71, 1); lean_inc(x_72); -lean_dec(x_22); -x_73 = !lean_is_exclusive(x_19); -if (x_73 == 0) -{ -uint8_t x_74; -x_74 = !lean_is_exclusive(x_23); -if (x_74 == 0) -{ -lean_object* x_75; uint8_t x_76; lean_object* x_77; uint8_t x_78; -x_75 = lean_ctor_get(x_23, 0); +x_73 = lean_ctor_get(x_71, 0); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_st_ref_get(x_9, x_15); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); lean_dec(x_75); -x_76 = 1; -lean_ctor_set_uint8(x_19, sizeof(void*)*8, x_76); -lean_ctor_set(x_23, 0, x_19); -x_77 = lean_st_ref_set(x_7, x_23, x_72); -x_78 = !lean_is_exclusive(x_77); -if (x_78 == 0) -{ -lean_object* x_79; lean_object* x_80; -x_79 = lean_ctor_get(x_77, 0); -lean_dec(x_79); -x_80 = lean_box(x_17); -lean_ctor_set(x_77, 0, x_80); -return x_77; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); +x_77 = lean_st_ref_take(x_7, x_76); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); lean_dec(x_77); -x_82 = lean_box(x_17); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -return x_83; -} +x_80 = !lean_is_exclusive(x_78); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_81 = lean_ctor_get(x_78, 0); +lean_dec(x_81); +lean_ctor_set(x_78, 0, x_74); +x_82 = lean_st_ref_set(x_7, x_78, x_79); +x_83 = !lean_is_exclusive(x_82); +if (x_83 == 0) +{ +lean_object* x_84; +x_84 = lean_ctor_get(x_82, 0); +lean_dec(x_84); +lean_ctor_set(x_82, 0, x_73); +return x_82; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_84 = lean_ctor_get(x_23, 1); -x_85 = lean_ctor_get(x_23, 2); -x_86 = lean_ctor_get(x_23, 3); -lean_inc(x_86); +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_82, 1); lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_23); -x_87 = 1; -lean_ctor_set_uint8(x_19, sizeof(void*)*8, x_87); -x_88 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_88, 0, x_19); -lean_ctor_set(x_88, 1, x_84); -lean_ctor_set(x_88, 2, x_85); -lean_ctor_set(x_88, 3, x_86); -x_89 = lean_st_ref_set(x_7, x_88, x_72); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_91 = x_89; -} else { - lean_dec_ref(x_89); - x_91 = lean_box(0); -} -x_92 = lean_box(x_17); -if (lean_is_scalar(x_91)) { - x_93 = lean_alloc_ctor(0, 2, 0); -} else { - x_93 = x_91; -} -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_90); -return x_93; +lean_dec(x_82); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_73); +lean_ctor_set(x_86, 1, x_85); +return x_86; } } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_94 = lean_ctor_get(x_19, 0); -x_95 = lean_ctor_get(x_19, 1); -x_96 = lean_ctor_get(x_19, 2); -x_97 = lean_ctor_get(x_19, 3); -x_98 = lean_ctor_get(x_19, 4); -x_99 = lean_ctor_get(x_19, 5); -x_100 = lean_ctor_get(x_19, 6); -x_101 = lean_ctor_get(x_19, 7); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_19); -x_102 = lean_ctor_get(x_23, 1); -lean_inc(x_102); -x_103 = lean_ctor_get(x_23, 2); -lean_inc(x_103); -x_104 = lean_ctor_get(x_23, 3); -lean_inc(x_104); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - lean_ctor_release(x_23, 2); - lean_ctor_release(x_23, 3); - x_105 = x_23; +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_87 = lean_ctor_get(x_78, 1); +x_88 = lean_ctor_get(x_78, 2); +x_89 = lean_ctor_get(x_78, 3); +lean_inc(x_89); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_78); +x_90 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_90, 0, x_74); +lean_ctor_set(x_90, 1, x_87); +lean_ctor_set(x_90, 2, x_88); +lean_ctor_set(x_90, 3, x_89); +x_91 = lean_st_ref_set(x_7, x_90, x_79); +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_93 = x_91; } else { - lean_dec_ref(x_23); - x_105 = lean_box(0); + lean_dec_ref(x_91); + x_93 = lean_box(0); } -x_106 = 1; -x_107 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_107, 0, x_94); -lean_ctor_set(x_107, 1, x_95); -lean_ctor_set(x_107, 2, x_96); -lean_ctor_set(x_107, 3, x_97); -lean_ctor_set(x_107, 4, x_98); -lean_ctor_set(x_107, 5, x_99); -lean_ctor_set(x_107, 6, x_100); -lean_ctor_set(x_107, 7, x_101); -lean_ctor_set_uint8(x_107, sizeof(void*)*8, x_106); -if (lean_is_scalar(x_105)) { - x_108 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(0, 2, 0); } else { - x_108 = x_105; -} -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_102); -lean_ctor_set(x_108, 2, x_103); -lean_ctor_set(x_108, 3, x_104); -x_109 = lean_st_ref_set(x_7, x_108, x_72); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_111 = x_109; -} else { - lean_dec_ref(x_109); - x_111 = lean_box(0); -} -x_112 = lean_box(x_17); -if (lean_is_scalar(x_111)) { - x_113 = lean_alloc_ctor(0, 2, 0); -} else { - x_113 = x_111; -} -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_110); -return x_113; + x_94 = x_93; } +lean_ctor_set(x_94, 0, x_73); +lean_ctor_set(x_94, 1, x_92); +return x_94; } } } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c index 54b0167c0e..d5737017d7 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c @@ -13,25 +13,25 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___closed__6; -LEAN_EXPORT lean_object* l_Lean_hasAssignableLevelMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__4; static lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___lambda__1___closed__2; static lean_object* l_Lean_Meta_Simp_rewrite_x3f___closed__5; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewrite_x3f___spec__3___closed__8; +static lean_object* l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__3; size_t lean_usize_add(size_t, size_t); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___closed__3; -static lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__2; +static lean_object* l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__1; LEAN_EXPORT lean_object* l_Array_insertionSort_traverse___at_Lean_Meta_Simp_rewrite_x3f___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_synthesizeArgs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__4___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___closed__5; @@ -42,12 +42,13 @@ lean_object* l_Lean_Meta_ACLt_lt(lean_object*, lean_object*, lean_object*, lean_ LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Simp_tryTheoremWithExtraArgs_x3f___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpMatchCore_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___lambda__1___closed__4; +LEAN_EXPORT lean_object* l_List_anyM___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_rewrite_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__6; lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__2; lean_object* l_Lean_Meta_SimpTheorem_getName(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewrite_x3f___closed__2; @@ -56,10 +57,10 @@ uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__3; uint8_t l_Lean_Level_hasMVar(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__5; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__2___closed__2; +static lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__3; uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_tryRewriteCtorEq_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constructorApp_x3f(lean_object*, lean_object*); @@ -73,21 +74,17 @@ lean_object* l_Lean_Expr_appFn_x21(lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__10; LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Meta_Simp_synthesizeArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__3; static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__15; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore___spec__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*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___closed__2; lean_object* l_Lean_Expr_appArg_x21(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore___closed__1; -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_postDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___closed__1; uint8_t lean_usize_dec_lt(size_t, size_t); @@ -116,8 +113,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_tryRewriteCtorEq_x3f(lean_object*, lea static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__2___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__2; -static lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_tryTheorem_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__9; @@ -152,6 +147,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewritePre static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__13; static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__14; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__7___closed__1; static lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___closed__4; @@ -176,7 +172,6 @@ lean_object* l_Lean_Expr_sort___override(lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__5; static lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_rewrite_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteCtorEq_x3f___closed__5; @@ -197,7 +192,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_ LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Meta_Simp_simpMatch_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instMonadMetaM; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_rewrite_x3f___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_EXPORT lean_object* l_List_anyM___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewrite_x3f___closed__1; uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -241,6 +235,7 @@ uint8_t l_Lean_Expr_isMVar(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simpMatchCore_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__13; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_preDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -260,7 +255,6 @@ lean_object* l_Lean_instantiateMVarsCore(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_Simp_tryTheoremWithExtraArgs_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqFalse_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__1; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -288,6 +282,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewrite_x3f___s static lean_object* l_Lean_Meta_Simp_rewriteUsingDecide_x3f___closed__16; static lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___closed__9; lean_object* l_Lean_Expr_getAppFn(lean_object*); +LEAN_EXPORT lean_object* l_Lean_hasAssignableLevelMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___closed__11; lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); @@ -310,6 +305,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Tactic_ static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed__16; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpArith_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__1; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_rewrite_x3f_inErasedSet(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_rewritePre___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_rewrite_x3f_inErasedSet___boxed(lean_object*, lean_object*); @@ -4375,270 +4371,69 @@ lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_st_ref_take(x_1, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = !lean_is_exclusive(x_8); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_8, 0); -lean_dec(x_12); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) -{ -uint8_t x_14; lean_object* x_15; uint8_t x_16; -x_14 = 1; -lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_14); -x_15 = lean_st_ref_set(x_1, x_8, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_dec(x_17); -x_18 = lean_box(0); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_9, 0); -x_23 = lean_ctor_get(x_9, 1); -x_24 = lean_ctor_get(x_9, 2); -x_25 = lean_ctor_get(x_9, 3); -x_26 = lean_ctor_get(x_9, 4); -x_27 = lean_ctor_get(x_9, 5); -x_28 = lean_ctor_get(x_9, 6); -x_29 = lean_ctor_get(x_9, 7); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_9); -x_30 = 1; -x_31 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_31, 0, x_22); -lean_ctor_set(x_31, 1, x_23); -lean_ctor_set(x_31, 2, x_24); -lean_ctor_set(x_31, 3, x_25); -lean_ctor_set(x_31, 4, x_26); -lean_ctor_set(x_31, 5, x_27); -lean_ctor_set(x_31, 6, x_28); -lean_ctor_set(x_31, 7, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*8, x_30); -lean_ctor_set(x_8, 0, x_31); -x_32 = lean_st_ref_set(x_1, x_8, x_10); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; -} else { - lean_dec_ref(x_32); - x_34 = lean_box(0); -} -x_35 = lean_box(0); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} -} -else -{ -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; uint8_t 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_37 = lean_ctor_get(x_8, 1); -x_38 = lean_ctor_get(x_8, 2); -x_39 = lean_ctor_get(x_8, 3); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_8); -x_40 = lean_ctor_get(x_9, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_9, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_9, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_9, 3); -lean_inc(x_43); -x_44 = lean_ctor_get(x_9, 4); -lean_inc(x_44); -x_45 = lean_ctor_get(x_9, 5); -lean_inc(x_45); -x_46 = lean_ctor_get(x_9, 6); -lean_inc(x_46); -x_47 = lean_ctor_get(x_9, 7); -lean_inc(x_47); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - lean_ctor_release(x_9, 4); - lean_ctor_release(x_9, 5); - lean_ctor_release(x_9, 6); - lean_ctor_release(x_9, 7); - x_48 = x_9; -} else { - lean_dec_ref(x_9); - x_48 = lean_box(0); -} -x_49 = 1; -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 8, 1); -} else { - x_50 = x_48; -} -lean_ctor_set(x_50, 0, x_40); -lean_ctor_set(x_50, 1, x_41); -lean_ctor_set(x_50, 2, x_42); -lean_ctor_set(x_50, 3, x_43); -lean_ctor_set(x_50, 4, x_44); -lean_ctor_set(x_50, 5, x_45); -lean_ctor_set(x_50, 6, x_46); -lean_ctor_set(x_50, 7, x_47); -lean_ctor_set_uint8(x_50, sizeof(void*)*8, x_49); -x_51 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_37); -lean_ctor_set(x_51, 2, x_38); -lean_ctor_set(x_51, 3, x_39); -x_52 = lean_st_ref_set(x_1, x_51, x_10); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_box(0); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 2, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_53); -return x_56; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3___rarg___boxed), 4, 0); -return x_4; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_9 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3___rarg(x_5, x_6, x_7, x_8); +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_st_ref_get(x_7, x_8); x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = lean_st_ref_get(x_7, x_10); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_st_ref_get(x_5, x_12); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +x_11 = lean_st_ref_get(x_5, x_10); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_15, 0); +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; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +lean_inc(x_14); +x_15 = l_Lean_MetavarContext_getDecl(x_14, x_1); +x_16 = lean_ctor_get(x_15, 3); lean_inc(x_16); lean_dec(x_15); -lean_inc(x_16); -x_17 = l_Lean_MetavarContext_getDecl(x_16, x_1); -x_18 = lean_ctor_get(x_17, 3); -lean_inc(x_18); +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_nat_dec_eq(x_16, x_17); lean_dec(x_17); -x_19 = lean_ctor_get(x_16, 0); -lean_inc(x_19); lean_dec(x_16); -x_20 = lean_nat_dec_eq(x_18, x_19); -lean_dec(x_19); -lean_dec(x_18); -x_21 = lean_box(x_20); -lean_ctor_set(x_13, 0, x_21); -return x_13; +x_19 = lean_box(x_18); +lean_ctor_set(x_11, 0, x_19); +return x_11; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; -x_22 = lean_ctor_get(x_13, 0); -x_23 = lean_ctor_get(x_13, 1); -lean_inc(x_23); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; +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_dec(x_11); +x_22 = lean_ctor_get(x_20, 0); lean_inc(x_22); -lean_dec(x_13); -x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_20); +lean_inc(x_22); +x_23 = l_Lean_MetavarContext_getDecl(x_22, x_1); +x_24 = lean_ctor_get(x_23, 3); lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_ctor_get(x_22, 0); +lean_inc(x_25); lean_dec(x_22); -lean_inc(x_24); -x_25 = l_Lean_MetavarContext_getDecl(x_24, x_1); -x_26 = lean_ctor_get(x_25, 3); -lean_inc(x_26); +x_26 = lean_nat_dec_eq(x_24, x_25); lean_dec(x_25); -x_27 = lean_ctor_get(x_24, 0); -lean_inc(x_27); lean_dec(x_24); -x_28 = lean_nat_dec_eq(x_26, x_27); -lean_dec(x_27); -lean_dec(x_26); -x_29 = lean_box(x_28); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_23); -return x_30; +x_27 = lean_box(x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_21); +return x_28; } } } -static lean_object* _init_l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__1() { +static lean_object* _init_l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -4647,37 +4442,37 @@ x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); return x_2; } } -static lean_object* _init_l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__2() { +static lean_object* _init_l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__1; +x_1 = l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__1; x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); return x_2; } } -static lean_object* _init_l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__3() { +static lean_object* _init_l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__2; +x_1 = l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__2; x_2 = l_instInhabitedBool; x_3 = lean_box(x_2); x_4 = l_instInhabited___rarg(x_1, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__3; +x_9 = l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__3; x_10 = lean_panic_fn(x_9, x_1); x_11 = lean_apply_7(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_11; } } -static lean_object* _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__1() { +static lean_object* _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__1() { _start: { lean_object* x_1; @@ -4685,7 +4480,7 @@ x_1 = lean_mk_string_from_bytes("Lean.MetavarContext", 19); return x_1; } } -static lean_object* _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__2() { +static lean_object* _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__2() { _start: { lean_object* x_1; @@ -4693,7 +4488,7 @@ x_1 = lean_mk_string_from_bytes("Lean.isLevelMVarAssignable", 26); return x_1; } } -static lean_object* _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__3() { +static lean_object* _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__3() { _start: { lean_object* x_1; @@ -4701,126 +4496,122 @@ x_1 = lean_mk_string_from_bytes("unknown universe metavariable", 29); return x_1; } } -static lean_object* _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__4() { +static lean_object* _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__1; -x_2 = l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__2; -x_3 = lean_unsigned_to_nat(361u); +x_1 = l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__1; +x_2 = l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__2; +x_3 = lean_unsigned_to_nat(344u); x_4 = lean_unsigned_to_nat(14u); -x_5 = l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__3; +x_5 = l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_9 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3___rarg(x_5, x_6, x_7, x_8); +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_st_ref_get(x_7, x_8); x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); -x_11 = lean_st_ref_get(x_7, x_10); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_st_ref_get(x_5, x_12); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +x_11 = lean_st_ref_get(x_5, x_10); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 1); x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 1); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_17, 2); -lean_inc(x_18); -x_19 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_18, x_1); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; -lean_dec(x_17); -lean_free_object(x_13); -x_20 = l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__4; -x_21 = l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_16); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_22 = lean_ctor_get(x_19, 0); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_ctor_get(x_17, 0); -lean_inc(x_23); -lean_dec(x_17); -x_24 = lean_nat_dec_eq(x_22, x_23); -lean_dec(x_23); -lean_dec(x_22); -x_25 = lean_box(x_24); -lean_ctor_set(x_13, 0, x_25); -return x_13; -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_13, 0); -x_27 = lean_ctor_get(x_13, 1); -lean_inc(x_27); -lean_inc(x_26); +lean_inc(x_15); lean_dec(x_13); -x_28 = lean_ctor_get(x_26, 0); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_ctor_get(x_28, 2); -lean_inc(x_29); -x_30 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_29, x_1); -if (lean_obj_tag(x_30) == 0) +x_16 = lean_ctor_get(x_15, 2); +lean_inc(x_16); +x_17 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_16, x_1); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_31; lean_object* x_32; -lean_dec(x_28); -x_31 = l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__4; -x_32 = l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6(x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_27); -return x_32; +lean_object* x_18; lean_object* x_19; +lean_dec(x_15); +lean_free_object(x_11); +x_18 = l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__4; +x_19 = l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +return x_19; } else { -lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_33 = lean_ctor_get(x_30, 0); -lean_inc(x_33); -lean_dec(x_30); -x_34 = lean_ctor_get(x_28, 0); -lean_inc(x_34); +x_20 = lean_ctor_get(x_17, 0); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_ctor_get(x_15, 0); +lean_inc(x_21); +lean_dec(x_15); +x_22 = lean_nat_dec_eq(x_20, x_21); +lean_dec(x_21); +lean_dec(x_20); +x_23 = lean_box(x_22); +lean_ctor_set(x_11, 0, x_23); +return x_11; +} +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_11, 0); +x_25 = lean_ctor_get(x_11, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_11); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_ctor_get(x_26, 2); +lean_inc(x_27); +x_28 = l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(x_27, x_1); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_26); +x_29 = l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__4; +x_30 = l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5(x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_25); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_31 = lean_ctor_get(x_28, 0); +lean_inc(x_31); lean_dec(x_28); -x_35 = lean_nat_dec_eq(x_33, x_34); -lean_dec(x_34); -lean_dec(x_33); -x_36 = lean_box(x_35); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_27); -return x_37; +x_32 = lean_ctor_get(x_26, 0); +lean_inc(x_32); +lean_dec(x_26); +x_33 = lean_nat_dec_eq(x_31, x_32); +lean_dec(x_32); +lean_dec(x_31); +x_34 = lean_box(x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_25); +return x_35; } } } } -LEAN_EXPORT lean_object* l_Lean_hasAssignableLevelMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_hasAssignableLevelMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { switch (lean_obj_tag(x_1)) { @@ -4898,7 +4689,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_21 = l_Lean_hasAssignableLevelMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_21 = l_Lean_hasAssignableLevelMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; uint8_t x_23; @@ -5077,7 +4868,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_50 = l_Lean_hasAssignableLevelMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4(x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_50 = l_Lean_hasAssignableLevelMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3(x_43, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_50) == 0) { lean_object* x_51; uint8_t x_52; @@ -5217,7 +5008,7 @@ lean_object* x_72; lean_object* x_73; x_72 = lean_ctor_get(x_1, 0); lean_inc(x_72); lean_dec(x_1); -x_73 = l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5(x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_73 = l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4(x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_73; } default: @@ -5240,7 +5031,7 @@ return x_76; } } } -LEAN_EXPORT lean_object* l_List_anyM___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_List_anyM___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_1) == 0) @@ -5273,7 +5064,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_14 = l_Lean_hasAssignableLevelMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_14 = l_Lean_hasAssignableLevelMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; uint8_t x_16; @@ -5384,7 +5175,7 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_1, 0); lean_inc(x_11); lean_dec(x_1); -x_12 = l_Lean_hasAssignableLevelMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_12 = l_Lean_hasAssignableLevelMVar___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_12; } case 4: @@ -5393,7 +5184,7 @@ lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_1, 1); lean_inc(x_13); lean_dec(x_1); -x_14 = l_List_anyM___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__7(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_14 = l_List_anyM___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_14; } case 5: @@ -7896,28 +7687,6 @@ return x_108; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__3(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -16747,20 +16516,20 @@ l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__2___closed__ lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__2___closed__4); l_Lean_Meta_Simp_synthesizeArgs___closed__1 = _init_l_Lean_Meta_Simp_synthesizeArgs___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_synthesizeArgs___closed__1); -l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__1 = _init_l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__1(); -lean_mark_persistent(l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__1); -l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__2 = _init_l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__2(); -lean_mark_persistent(l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__2); -l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__3 = _init_l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__3(); -lean_mark_persistent(l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__3); -l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__1 = _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__1(); -lean_mark_persistent(l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__1); -l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__2 = _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__2(); -lean_mark_persistent(l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__2); -l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__3 = _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__3(); -lean_mark_persistent(l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__3); -l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__4 = _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__4(); -lean_mark_persistent(l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__4); +l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__1 = _init_l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__1(); +lean_mark_persistent(l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__1); +l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__2 = _init_l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__2(); +lean_mark_persistent(l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__2); +l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__3 = _init_l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__3(); +lean_mark_persistent(l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__5___closed__3); +l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__1 = _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__1(); +lean_mark_persistent(l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__1); +l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__2 = _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__2(); +lean_mark_persistent(l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__2); +l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__3 = _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__3(); +lean_mark_persistent(l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__3); +l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__4 = _init_l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__4(); +lean_mark_persistent(l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__4___closed__4); l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___closed__1 = _init_l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___closed__1); l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___closed__2 = _init_l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__3___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpCongrTheorems.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpCongrTheorems.c index 8733c060b0..03e133298d 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpCongrTheorems.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpCongrTheorems.c @@ -88,7 +88,6 @@ lean_object* lean_array_get_size(lean_object*); lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_mkSimpCongrTheorem_onlyMVarsAt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____spec__13___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____spec__10___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__11___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__9; @@ -365,6 +364,7 @@ LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_Meta_addSimpCongrTheoremEn static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__3___closed__2; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1826____lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Meta_mkSimpCongrTheorem___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_51____closed__11; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_148____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg(lean_object*, lean_object*); @@ -3633,7 +3633,7 @@ else { lean_object* x_5; lean_object* x_6; x_5 = l_Lean_Expr_mvarId_x21(x_2); -x_6 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_1, x_5); +x_6 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_1, x_5); lean_dec(x_5); if (lean_obj_tag(x_6) == 0) { @@ -4515,7 +4515,7 @@ lean_object* x_12; lean_object* x_13; lean_dec(x_6); lean_inc(x_4); x_12 = l_Lean_Expr_mvarId_x21(x_4); -x_13 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_5, x_12); +x_13 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_5, x_12); lean_dec(x_12); lean_dec(x_5); if (lean_obj_tag(x_13) == 0) @@ -4944,7 +4944,7 @@ else lean_object* x_54; lean_object* x_55; lean_inc(x_15); x_54 = l_Lean_Expr_mvarId_x21(x_15); -x_55 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_31, x_54); +x_55 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_31, x_54); if (lean_obj_tag(x_55) == 0) { lean_object* x_56; @@ -5148,7 +5148,7 @@ else lean_object* x_100; lean_object* x_101; lean_inc(x_15); x_100 = l_Lean_Expr_mvarId_x21(x_15); -x_101 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_31, x_100); +x_101 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_31, x_100); if (lean_obj_tag(x_101) == 0) { lean_object* x_102; @@ -5404,7 +5404,7 @@ else lean_object* x_155; lean_object* x_156; lean_inc(x_15); x_155 = l_Lean_Expr_mvarId_x21(x_15); -x_156 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_31, x_155); +x_156 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_31, x_155); if (lean_obj_tag(x_156) == 0) { lean_object* x_157; @@ -5677,7 +5677,7 @@ else lean_object* x_213; lean_object* x_214; lean_inc(x_15); x_213 = l_Lean_Expr_mvarId_x21(x_15); -x_214 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_191, x_213); +x_214 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_191, x_213); if (lean_obj_tag(x_214) == 0) { lean_object* x_215; @@ -5966,7 +5966,7 @@ else lean_object* x_274; lean_object* x_275; lean_inc(x_15); x_274 = l_Lean_Expr_mvarId_x21(x_15); -x_275 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_250, x_274); +x_275 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_250, x_274); if (lean_obj_tag(x_275) == 0) { lean_object* x_276; @@ -6285,7 +6285,7 @@ else lean_object* x_53; lean_object* x_54; lean_inc(x_14); x_53 = l_Lean_Expr_mvarId_x21(x_14); -x_54 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_30, x_53); +x_54 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_30, x_53); if (lean_obj_tag(x_54) == 0) { lean_object* x_55; @@ -6489,7 +6489,7 @@ else lean_object* x_99; lean_object* x_100; lean_inc(x_14); x_99 = l_Lean_Expr_mvarId_x21(x_14); -x_100 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_30, x_99); +x_100 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_30, x_99); if (lean_obj_tag(x_100) == 0) { lean_object* x_101; @@ -6745,7 +6745,7 @@ else lean_object* x_154; lean_object* x_155; lean_inc(x_14); x_154 = l_Lean_Expr_mvarId_x21(x_14); -x_155 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_30, x_154); +x_155 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_30, x_154); if (lean_obj_tag(x_155) == 0) { lean_object* x_156; @@ -7018,7 +7018,7 @@ else lean_object* x_212; lean_object* x_213; lean_inc(x_14); x_212 = l_Lean_Expr_mvarId_x21(x_14); -x_213 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_190, x_212); +x_213 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_190, x_212); if (lean_obj_tag(x_213) == 0) { lean_object* x_214; @@ -7307,7 +7307,7 @@ else lean_object* x_273; lean_object* x_274; lean_inc(x_14); x_273 = l_Lean_Expr_mvarId_x21(x_14); -x_274 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_249, x_273); +x_274 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_249, x_273); if (lean_obj_tag(x_274) == 0) { lean_object* x_275; @@ -9175,14 +9175,13 @@ x_1 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1 x_2 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__4; x_3 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__5; x_4 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__8; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -9989,23 +9988,21 @@ return x_3; static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1826____lambda__1___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1826____lambda__1___closed__8; x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1826____lambda__1___closed__9; x_4 = l_Lean_Meta_SimpCongrTheorems_lemmas___default___closed__3; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_1826____lambda__1___closed__11() { diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c index a1eabb0c9e..37a98baad2 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c @@ -10221,14 +10221,13 @@ x_1 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___cl x_2 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__4; x_3 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__5; x_4 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpTheorem___spec__1___closed__8; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -11875,23 +11874,21 @@ return x_3; static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__8; x_3 = l_Lean_Meta_mkSimpAttr___lambda__1___closed__9; x_4 = l_Lean_Meta_SimpTheorems_toUnfoldThms___default___closed__3; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Meta_mkSimpAttr___lambda__1___closed__11() { diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c index 644b3e2b69..1d2dbccbab 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c @@ -598,6 +598,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); return x_9; } } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Split.c b/stage0/stdlib/Lean/Meta/Tactic/Split.c index 1a904f7ec5..9d92e75c4f 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Split.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Split.c @@ -11075,6 +11075,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -11170,6 +11171,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_33 = !lean_is_exclusive(x_32); if (x_33 == 0) { @@ -11251,6 +11253,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_22 = !lean_is_exclusive(x_21); if (x_22 == 0) { @@ -11346,6 +11349,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_41 = !lean_is_exclusive(x_40); if (x_41 == 0) { @@ -11383,6 +11387,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_48 = !lean_is_exclusive(x_47); if (x_48 == 0) { diff --git a/stage0/stdlib/Lean/Meta/Tactic/SplitIf.c b/stage0/stdlib/Lean/Meta/Tactic/SplitIf.c index 61ad792352..488c394210 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/SplitIf.c +++ b/stage0/stdlib/Lean/Meta/Tactic/SplitIf.c @@ -35,6 +35,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SplitIf_discharge_x3f___boxed(lean_object*, static lean_object* l_Lean_Meta_simpIfLocalDecl___closed__4; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +lean_object* l_Lean_MVarId_byCases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SplitIf_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_5_(lean_object*); static lean_object* l_Lean_Meta_SplitIf_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_5____lambda__1___closed__6; @@ -80,7 +81,6 @@ static lean_object* l_Lean_Meta_SplitIf_initFn____x40_Lean_Meta_Tactic_SplitIf__ static lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Meta_SplitIf_discharge_x3f___spec__3___closed__4; LEAN_EXPORT lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfTarget_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Meta_SplitIf_discharge_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_byCases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instHashableExpr; static lean_object* l_Lean_Meta_SplitIf_discharge_x3f___closed__8; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); @@ -101,7 +101,7 @@ lean_object* l_Lean_LocalDecl_toExpr(lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfLocalDecl_x3f___spec__1___at_Lean_Meta_splitIfLocalDecl_x3f___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_LazyInitExtension_get___at_Lean_Meta_SplitIf_getSimpContext___spec__1___closed__4; -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1425_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1424_(lean_object*); static lean_object* l_Lean_Meta_SplitIf_discharge_x3f___lambda__2___closed__7; static lean_object* l_Lean_Meta_SplitIf_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_5____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_splitIfLocalDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -672,14 +672,13 @@ x_1 = l_Lean_LazyInitExtension_get___at_Lean_Meta_SplitIf_getSimpContext___spec_ x_2 = l_Lean_LazyInitExtension_get___at_Lean_Meta_SplitIf_getSimpContext___spec__1___closed__4; x_3 = l_Lean_LazyInitExtension_get___at_Lean_Meta_SplitIf_getSimpContext___spec__1___closed__5; x_4 = l_Lean_LazyInitExtension_get___at_Lean_Meta_SplitIf_getSimpContext___spec__1___closed__8; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -3490,7 +3489,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SplitIf_splitIfAt_x3f___lambda__1(lean_obje _start: { lean_object* x_10; -x_10 = l_Lean_Meta_byCases(x_1, x_2, x_3, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_MVarId_byCases(x_1, x_2, x_3, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_10) == 0) { uint8_t x_11; @@ -4172,6 +4171,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -4267,6 +4267,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_33 = !lean_is_exclusive(x_32); if (x_33 == 0) { @@ -5163,6 +5164,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -5234,6 +5236,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) { @@ -5297,6 +5300,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -5392,6 +5396,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_33 = !lean_is_exclusive(x_32); if (x_33 == 0) { @@ -6123,6 +6128,7 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_12); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -6218,6 +6224,7 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_12); x_37 = !lean_is_exclusive(x_36); if (x_37 == 0) { @@ -6252,7 +6259,7 @@ x_10 = l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfLocalDecl_x3f___spec__1__ return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1425_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1424_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -6423,7 +6430,7 @@ l_Lean_Meta_simpIfLocalDecl___closed__3 = _init_l_Lean_Meta_simpIfLocalDecl___cl lean_mark_persistent(l_Lean_Meta_simpIfLocalDecl___closed__3); l_Lean_Meta_simpIfLocalDecl___closed__4 = _init_l_Lean_Meta_simpIfLocalDecl___closed__4(); lean_mark_persistent(l_Lean_Meta_simpIfLocalDecl___closed__4); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1425_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1424_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Subst.c b/stage0/stdlib/Lean/Meta/Tactic/Subst.c index aabe138bc2..17e1efde06 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Subst.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Subst.c @@ -10119,6 +10119,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { @@ -10204,6 +10205,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -10297,6 +10299,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { @@ -10382,6 +10385,7 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_13); x_25 = !lean_is_exclusive(x_24); if (x_25 == 0) { diff --git a/stage0/stdlib/Lean/Meta/UnificationHint.c b/stage0/stdlib/Lean/Meta/UnificationHint.c index 77b0786657..046b2e5fba 100644 --- a/stage0/stdlib/Lean/Meta/UnificationHint.c +++ b/stage0/stdlib/Lean/Meta/UnificationHint.c @@ -313,6 +313,7 @@ uint64_t l_Lean_Meta_DiscrTree_Key_hash(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__7___rarg(lean_object*, lean_object*); static lean_object* l_List_mapTRAux___at_Lean_Meta_instToFormatUnificationHints___spec__3___closed__3; static lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__1; +static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7; lean_object* l_Lean_Meta_DiscrTree_instInhabitedTrie(lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_764____closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_unificationHintExtension; @@ -3477,14 +3478,13 @@ x_1 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addUnificationHint___spec__1_ x_2 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addUnificationHint___spec__1___closed__5; x_3 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addUnificationHint___spec__1___closed__6; x_4 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addUnificationHint___spec__1___closed__9; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -4476,23 +4476,21 @@ return x_3; static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_764____lambda__1___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_764____lambda__1___closed__8; x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_764____lambda__1___closed__9; x_4 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addUnificationHint___spec__1___closed__1; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_764____lambda__1___closed__11() { @@ -6889,21 +6887,33 @@ return x_136; static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("trying hint ", 12); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_instInhabitedUnificationHints___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; } } static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__2() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("trying hint ", 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1; +x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3() { +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__4() { _start: { lean_object* x_1; @@ -6911,16 +6921,16 @@ x_1 = lean_mk_string_from_bytes(" at ", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__4() { +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3; +x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5() { +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6() { _start: { lean_object* x_1; @@ -6928,11 +6938,11 @@ x_1 = lean_mk_string_from_bytes(" =?= ", 5); return x_1; } } -static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6() { +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5; +x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -6940,345 +6950,1112 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_25; lean_object* x_26; uint8_t x_65; lean_object* x_66; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +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; uint8_t x_20; x_11 = l_Lean_Meta_saveState___rarg(x_7, x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_13); -x_15 = lean_ctor_get(x_14, 0); +x_14 = lean_st_ref_get(x_9, x_13); +x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); lean_dec(x_14); -x_97 = lean_st_ref_get(x_9, x_16); -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_98, 3); -lean_inc(x_99); -lean_dec(x_98); -x_100 = lean_ctor_get_uint8(x_99, sizeof(void*)*1); -lean_dec(x_99); -if (x_100 == 0) -{ -lean_object* x_101; uint8_t x_102; -x_101 = lean_ctor_get(x_97, 1); -lean_inc(x_101); -lean_dec(x_97); -x_102 = 0; -x_65 = x_102; -x_66 = x_101; -goto block_96; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_103 = lean_ctor_get(x_97, 1); -lean_inc(x_103); -lean_dec(x_97); -lean_inc(x_4); -x_104 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_4, x_6, x_7, x_8, x_9, x_103); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_unbox(x_105); -lean_dec(x_105); -x_65 = x_107; -x_66 = x_106; -goto block_96; -} -block_24: -{ -lean_object* x_19; uint8_t x_20; -x_19 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_18); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_20 = !lean_is_exclusive(x_19); +x_16 = lean_st_ref_take(x_7, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = !lean_is_exclusive(x_17); if (x_20 == 0) { -lean_object* x_21; -x_21 = lean_ctor_get(x_19, 0); +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_17, 1); lean_dec(x_21); -lean_ctor_set_tag(x_19, 1); -lean_ctor_set(x_19, 0, x_17); -return x_19; -} -else +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_17); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} -block_64: -{ -if (x_25 == 0) -{ -lean_object* x_27; uint8_t x_28; -lean_dec(x_15); -x_27 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_26); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -x_30 = 0; -x_31 = lean_box(x_30); -lean_ctor_set(x_27, 0, x_31); -return x_27; -} -else -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); +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; uint8_t x_38; lean_object* x_39; uint8_t x_78; lean_object* x_79; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_23 = lean_ctor_get(x_18, 5); +lean_dec(x_23); +x_24 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1; +lean_ctor_set(x_18, 5, x_24); +x_25 = lean_st_ref_set(x_7, x_17, x_19); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); lean_dec(x_27); -x_33 = 0; -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} +x_110 = lean_st_ref_get(x_9, x_29); +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_111, 3); +lean_inc(x_112); +lean_dec(x_111); +x_113 = lean_ctor_get_uint8(x_112, sizeof(void*)*1); +lean_dec(x_112); +if (x_113 == 0) +{ +lean_object* x_114; uint8_t x_115; +x_114 = lean_ctor_get(x_110, 1); +lean_inc(x_114); +lean_dec(x_110); +x_115 = 0; +x_78 = x_115; +x_79 = x_114; +goto block_109; } else { -uint8_t x_36; lean_object* x_37; -x_36 = 0; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_37 = l_Lean_Meta_processPostponed(x_5, x_36, x_6, x_7, x_8, x_9, x_26); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; uint8_t x_39; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_unbox(x_38); -lean_dec(x_38); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; -lean_dec(x_15); -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_40); -lean_dec(x_37); -x_41 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_40); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_41, 0); -lean_dec(x_43); -x_44 = lean_box(x_36); -lean_ctor_set(x_41, 0, x_44); -return x_41; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_41, 1); -lean_inc(x_45); -lean_dec(x_41); -x_46 = lean_box(x_36); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -return x_47; -} -} -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; uint8_t x_54; -lean_dec(x_12); -x_48 = lean_ctor_get(x_37, 1); -lean_inc(x_48); -lean_dec(x_37); -x_49 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_48); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = l_Std_PersistentArray_append___rarg(x_15, x_50); -x_53 = l_Lean_Meta_setPostponed(x_52, x_6, x_7, x_8, x_9, x_51); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_54 = !lean_is_exclusive(x_53); -if (x_54 == 0) -{ -lean_object* x_55; uint8_t x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_53, 0); -lean_dec(x_55); -x_56 = 1; -x_57 = lean_box(x_56); -lean_ctor_set(x_53, 0, x_57); -return x_53; -} -else -{ -lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_53, 1); -lean_inc(x_58); -lean_dec(x_53); -x_59 = 1; -x_60 = lean_box(x_59); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_58); -return x_61; -} -} -} -else -{ -lean_object* x_62; lean_object* x_63; -lean_dec(x_15); -x_62 = lean_ctor_get(x_37, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_37, 1); -lean_inc(x_63); -lean_dec(x_37); -x_17 = x_62; -x_18 = x_63; -goto block_24; -} -} -} -block_96: -{ -if (x_65 == 0) -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_box(0); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_68 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_67, x_6, x_7, x_8, x_9, x_66); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; lean_object* x_70; uint8_t x_71; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_unbox(x_69); -lean_dec(x_69); -x_25 = x_71; -x_26 = x_70; -goto block_64; -} -else -{ -lean_object* x_72; lean_object* x_73; -lean_dec(x_15); -x_72 = lean_ctor_get(x_68, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_68, 1); -lean_inc(x_73); -lean_dec(x_68); -x_17 = x_72; -x_18 = x_73; -goto block_24; -} -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -lean_inc(x_3); -x_74 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_74, 0, x_3); -x_75 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__2; -x_76 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -x_77 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__4; -x_78 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -lean_inc(x_1); -x_79 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_79, 0, x_1); -x_80 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6; -x_82 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -lean_inc(x_2); -x_83 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_83, 0, x_2); -x_84 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -x_85 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__6; -x_86 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_116 = lean_ctor_get(x_110, 1); +lean_inc(x_116); +lean_dec(x_110); lean_inc(x_4); -x_87 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_4, x_86, x_6, x_7, x_8, x_9, x_66); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); +x_117 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_4, x_6, x_7, x_8, x_9, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +x_120 = lean_unbox(x_118); +lean_dec(x_118); +x_78 = x_120; +x_79 = x_119; +goto block_109; +} +block_37: +{ +lean_object* x_32; uint8_t x_33; +x_32 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_31); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_32, 0); +lean_dec(x_34); +lean_ctor_set_tag(x_32, 1); +lean_ctor_set(x_32, 0, x_30); +return x_32; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_30); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +block_77: +{ +if (x_38 == 0) +{ +lean_object* x_40; uint8_t x_41; +lean_dec(x_28); +x_40 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_39); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +x_43 = 0; +x_44 = lean_box(x_43); +lean_ctor_set(x_40, 0, x_44); +return x_40; +} +else +{ +lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = 0; +x_47 = lean_box(x_46); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; +} +} +else +{ +uint8_t x_49; lean_object* x_50; +x_49 = 0; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_90 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_88, x_6, x_7, x_8, x_9, x_89); -if (lean_obj_tag(x_90) == 0) +x_50 = l_Lean_Meta_processPostponed(x_5, x_49, x_6, x_7, x_8, x_9, x_39); +if (lean_obj_tag(x_50) == 0) { -lean_object* x_91; lean_object* x_92; uint8_t x_93; -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_25 = x_93; -x_26 = x_92; -goto block_64; +lean_object* x_51; uint8_t x_52; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +lean_dec(x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_28); +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_53); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_54, 0); +lean_dec(x_56); +x_57 = lean_box(x_49); +lean_ctor_set(x_54, 0, x_57); +return x_54; } else { -lean_object* x_94; lean_object* x_95; -lean_dec(x_15); -x_94 = lean_ctor_get(x_90, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_90, 1); -lean_inc(x_95); -lean_dec(x_90); -x_17 = x_94; -x_18 = x_95; -goto block_24; +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_54, 1); +lean_inc(x_58); +lean_dec(x_54); +x_59 = lean_box(x_49); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +lean_dec(x_12); +x_61 = lean_ctor_get(x_50, 1); +lean_inc(x_61); +lean_dec(x_50); +x_62 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_61); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec(x_62); +x_65 = l_Std_PersistentArray_append___rarg(x_28, x_63); +x_66 = l_Lean_Meta_setPostponed(x_65, x_6, x_7, x_8, x_9, x_64); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_67 = !lean_is_exclusive(x_66); +if (x_67 == 0) +{ +lean_object* x_68; uint8_t x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_66, 0); +lean_dec(x_68); +x_69 = 1; +x_70 = lean_box(x_69); +lean_ctor_set(x_66, 0, x_70); +return x_66; +} +else +{ +lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_66, 1); +lean_inc(x_71); +lean_dec(x_66); +x_72 = 1; +x_73 = lean_box(x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_71); +return x_74; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_28); +x_75 = lean_ctor_get(x_50, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_50, 1); +lean_inc(x_76); +lean_dec(x_50); +x_30 = x_75; +x_31 = x_76; +goto block_37; +} +} +} +block_109: +{ +if (x_78 == 0) +{ +lean_object* x_80; lean_object* x_81; +x_80 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_81 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_80, x_6, x_7, x_8, x_9, x_79); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_84 = lean_unbox(x_82); +lean_dec(x_82); +x_38 = x_84; +x_39 = x_83; +goto block_77; +} +else +{ +lean_object* x_85; lean_object* x_86; +lean_dec(x_28); +x_85 = lean_ctor_get(x_81, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_81, 1); +lean_inc(x_86); +lean_dec(x_81); +x_30 = x_85; +x_31 = x_86; +goto block_37; +} +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_inc(x_3); +x_87 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_87, 0, x_3); +x_88 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3; +x_89 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +x_90 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5; +x_91 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +lean_inc(x_1); +x_92 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_92, 0, x_1); +x_93 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7; +x_95 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +lean_inc(x_2); +x_96 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_96, 0, x_2); +x_97 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +x_98 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__6; +x_99 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +lean_inc(x_4); +x_100 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_4, x_99, x_6, x_7, x_8, x_9, x_79); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_103 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_101, x_6, x_7, x_8, x_9, x_102); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; lean_object* x_105; uint8_t x_106; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_unbox(x_104); +lean_dec(x_104); +x_38 = x_106; +x_39 = x_105; +goto block_77; +} +else +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_28); +x_107 = lean_ctor_get(x_103, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_30 = x_107; +x_31 = x_108; +goto block_37; +} +} +} +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_140; lean_object* x_141; uint8_t x_172; lean_object* x_173; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; +x_121 = lean_ctor_get(x_18, 0); +x_122 = lean_ctor_get(x_18, 1); +x_123 = lean_ctor_get(x_18, 2); +x_124 = lean_ctor_get(x_18, 3); +x_125 = lean_ctor_get(x_18, 4); +lean_inc(x_125); +lean_inc(x_124); +lean_inc(x_123); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_18); +x_126 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1; +x_127 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_127, 0, x_121); +lean_ctor_set(x_127, 1, x_122); +lean_ctor_set(x_127, 2, x_123); +lean_ctor_set(x_127, 3, x_124); +lean_ctor_set(x_127, 4, x_125); +lean_ctor_set(x_127, 5, x_126); +lean_ctor_set(x_17, 1, x_127); +x_128 = lean_st_ref_set(x_7, x_17, x_19); +x_129 = lean_ctor_get(x_128, 1); +lean_inc(x_129); +lean_dec(x_128); +x_130 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_129); +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_204 = lean_st_ref_get(x_9, x_132); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_205, 3); +lean_inc(x_206); +lean_dec(x_205); +x_207 = lean_ctor_get_uint8(x_206, sizeof(void*)*1); +lean_dec(x_206); +if (x_207 == 0) +{ +lean_object* x_208; uint8_t x_209; +x_208 = lean_ctor_get(x_204, 1); +lean_inc(x_208); +lean_dec(x_204); +x_209 = 0; +x_172 = x_209; +x_173 = x_208; +goto block_203; +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; +x_210 = lean_ctor_get(x_204, 1); +lean_inc(x_210); +lean_dec(x_204); +lean_inc(x_4); +x_211 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_4, x_6, x_7, x_8, x_9, x_210); +x_212 = lean_ctor_get(x_211, 0); +lean_inc(x_212); +x_213 = lean_ctor_get(x_211, 1); +lean_inc(x_213); +lean_dec(x_211); +x_214 = lean_unbox(x_212); +lean_dec(x_212); +x_172 = x_214; +x_173 = x_213; +goto block_203; +} +block_139: +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_135 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_134); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_137 = x_135; +} else { + lean_dec_ref(x_135); + 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_tag(x_138, 1); +} +lean_ctor_set(x_138, 0, x_133); +lean_ctor_set(x_138, 1, x_136); +return x_138; +} +block_171: +{ +if (x_140 == 0) +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; lean_object* x_146; lean_object* x_147; +lean_dec(x_131); +x_142 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_141); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + x_144 = x_142; +} else { + lean_dec_ref(x_142); + x_144 = lean_box(0); +} +x_145 = 0; +x_146 = lean_box(x_145); +if (lean_is_scalar(x_144)) { + x_147 = lean_alloc_ctor(0, 2, 0); +} else { + x_147 = x_144; +} +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_143); +return x_147; +} +else +{ +uint8_t x_148; lean_object* x_149; +x_148 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_149 = l_Lean_Meta_processPostponed(x_5, x_148, x_6, x_7, x_8, x_9, x_141); +if (lean_obj_tag(x_149) == 0) +{ +lean_object* x_150; uint8_t x_151; +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +lean_dec(x_150); +if (x_151 == 0) +{ +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_dec(x_131); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +x_153 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_152); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +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_153); + x_155 = lean_box(0); +} +x_156 = lean_box(x_148); +if (lean_is_scalar(x_155)) { + x_157 = lean_alloc_ctor(0, 2, 0); +} else { + x_157 = x_155; +} +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_154); +return x_157; +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_12); +x_158 = lean_ctor_get(x_149, 1); +lean_inc(x_158); +lean_dec(x_149); +x_159 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_158); +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +lean_dec(x_159); +x_162 = l_Std_PersistentArray_append___rarg(x_131, x_160); +x_163 = l_Lean_Meta_setPostponed(x_162, x_6, x_7, x_8, x_9, x_161); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_165 = x_163; +} else { + lean_dec_ref(x_163); + x_165 = lean_box(0); +} +x_166 = 1; +x_167 = lean_box(x_166); +if (lean_is_scalar(x_165)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_165; +} +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_164); +return x_168; +} +} +else +{ +lean_object* x_169; lean_object* x_170; +lean_dec(x_131); +x_169 = lean_ctor_get(x_149, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_149, 1); +lean_inc(x_170); +lean_dec(x_149); +x_133 = x_169; +x_134 = x_170; +goto block_139; +} +} +} +block_203: +{ +if (x_172 == 0) +{ +lean_object* x_174; lean_object* x_175; +x_174 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_175 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_174, x_6, x_7, x_8, x_9, x_173); +if (lean_obj_tag(x_175) == 0) +{ +lean_object* x_176; lean_object* x_177; uint8_t x_178; +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_140 = x_178; +x_141 = x_177; +goto block_171; +} +else +{ +lean_object* x_179; lean_object* x_180; +lean_dec(x_131); +x_179 = lean_ctor_get(x_175, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_175, 1); +lean_inc(x_180); +lean_dec(x_175); +x_133 = x_179; +x_134 = x_180; +goto block_139; +} +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; 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_inc(x_3); +x_181 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_181, 0, x_3); +x_182 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3; +x_183 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_181); +x_184 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5; +x_185 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_185, 0, x_183); +lean_ctor_set(x_185, 1, x_184); +lean_inc(x_1); +x_186 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_186, 0, x_1); +x_187 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_187, 0, x_185); +lean_ctor_set(x_187, 1, x_186); +x_188 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7; +x_189 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_189, 0, x_187); +lean_ctor_set(x_189, 1, x_188); +lean_inc(x_2); +x_190 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_190, 0, x_2); +x_191 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_190); +x_192 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__6; +x_193 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_193, 0, x_191); +lean_ctor_set(x_193, 1, x_192); +lean_inc(x_4); +x_194 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_4, x_193, x_6, x_7, x_8, x_9, x_173); +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); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_197 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_195, x_6, x_7, x_8, x_9, x_196); +if (lean_obj_tag(x_197) == 0) +{ +lean_object* x_198; lean_object* x_199; uint8_t x_200; +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_197, 1); +lean_inc(x_199); +lean_dec(x_197); +x_200 = lean_unbox(x_198); +lean_dec(x_198); +x_140 = x_200; +x_141 = x_199; +goto block_171; +} +else +{ +lean_object* x_201; lean_object* x_202; +lean_dec(x_131); +x_201 = lean_ctor_get(x_197, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_197, 1); +lean_inc(x_202); +lean_dec(x_197); +x_133 = x_201; +x_134 = x_202; +goto block_139; +} +} +} +} +} +else +{ +lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_239; lean_object* x_240; uint8_t x_271; lean_object* x_272; lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_306; +x_215 = lean_ctor_get(x_17, 0); +x_216 = lean_ctor_get(x_17, 2); +x_217 = lean_ctor_get(x_17, 3); +lean_inc(x_217); +lean_inc(x_216); +lean_inc(x_215); +lean_dec(x_17); +x_218 = lean_ctor_get(x_18, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_18, 1); +lean_inc(x_219); +x_220 = lean_ctor_get(x_18, 2); +lean_inc(x_220); +x_221 = lean_ctor_get(x_18, 3); +lean_inc(x_221); +x_222 = lean_ctor_get(x_18, 4); +lean_inc(x_222); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + lean_ctor_release(x_18, 2); + lean_ctor_release(x_18, 3); + lean_ctor_release(x_18, 4); + lean_ctor_release(x_18, 5); + x_223 = x_18; +} else { + lean_dec_ref(x_18); + x_223 = lean_box(0); +} +x_224 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1; +if (lean_is_scalar(x_223)) { + x_225 = lean_alloc_ctor(0, 6, 0); +} else { + x_225 = x_223; +} +lean_ctor_set(x_225, 0, x_218); +lean_ctor_set(x_225, 1, x_219); +lean_ctor_set(x_225, 2, x_220); +lean_ctor_set(x_225, 3, x_221); +lean_ctor_set(x_225, 4, x_222); +lean_ctor_set(x_225, 5, x_224); +x_226 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_226, 0, x_215); +lean_ctor_set(x_226, 1, x_225); +lean_ctor_set(x_226, 2, x_216); +lean_ctor_set(x_226, 3, x_217); +x_227 = lean_st_ref_set(x_7, x_226, x_19); +x_228 = lean_ctor_get(x_227, 1); +lean_inc(x_228); +lean_dec(x_227); +x_229 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_228); +x_230 = lean_ctor_get(x_229, 0); +lean_inc(x_230); +x_231 = lean_ctor_get(x_229, 1); +lean_inc(x_231); +lean_dec(x_229); +x_303 = lean_st_ref_get(x_9, x_231); +x_304 = lean_ctor_get(x_303, 0); +lean_inc(x_304); +x_305 = lean_ctor_get(x_304, 3); +lean_inc(x_305); +lean_dec(x_304); +x_306 = lean_ctor_get_uint8(x_305, sizeof(void*)*1); +lean_dec(x_305); +if (x_306 == 0) +{ +lean_object* x_307; uint8_t x_308; +x_307 = lean_ctor_get(x_303, 1); +lean_inc(x_307); +lean_dec(x_303); +x_308 = 0; +x_271 = x_308; +x_272 = x_307; +goto block_302; +} +else +{ +lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; uint8_t x_313; +x_309 = lean_ctor_get(x_303, 1); +lean_inc(x_309); +lean_dec(x_303); +lean_inc(x_4); +x_310 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_4, x_6, x_7, x_8, x_9, x_309); +x_311 = lean_ctor_get(x_310, 0); +lean_inc(x_311); +x_312 = lean_ctor_get(x_310, 1); +lean_inc(x_312); +lean_dec(x_310); +x_313 = lean_unbox(x_311); +lean_dec(x_311); +x_271 = x_313; +x_272 = x_312; +goto block_302; +} +block_238: +{ +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_234 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_233); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_235 = lean_ctor_get(x_234, 1); +lean_inc(x_235); +if (lean_is_exclusive(x_234)) { + lean_ctor_release(x_234, 0); + lean_ctor_release(x_234, 1); + x_236 = x_234; +} else { + lean_dec_ref(x_234); + x_236 = lean_box(0); +} +if (lean_is_scalar(x_236)) { + x_237 = lean_alloc_ctor(1, 2, 0); +} else { + x_237 = x_236; + lean_ctor_set_tag(x_237, 1); +} +lean_ctor_set(x_237, 0, x_232); +lean_ctor_set(x_237, 1, x_235); +return x_237; +} +block_270: +{ +if (x_239 == 0) +{ +lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; lean_object* x_245; lean_object* x_246; +lean_dec(x_230); +x_241 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_240); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_242 = lean_ctor_get(x_241, 1); +lean_inc(x_242); +if (lean_is_exclusive(x_241)) { + lean_ctor_release(x_241, 0); + lean_ctor_release(x_241, 1); + x_243 = x_241; +} else { + lean_dec_ref(x_241); + x_243 = lean_box(0); +} +x_244 = 0; +x_245 = lean_box(x_244); +if (lean_is_scalar(x_243)) { + x_246 = lean_alloc_ctor(0, 2, 0); +} else { + x_246 = x_243; +} +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_242); +return x_246; +} +else +{ +uint8_t x_247; lean_object* x_248; +x_247 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_248 = l_Lean_Meta_processPostponed(x_5, x_247, x_6, x_7, x_8, x_9, x_240); +if (lean_obj_tag(x_248) == 0) +{ +lean_object* x_249; uint8_t x_250; +x_249 = lean_ctor_get(x_248, 0); +lean_inc(x_249); +x_250 = lean_unbox(x_249); +lean_dec(x_249); +if (x_250 == 0) +{ +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_dec(x_230); +x_251 = lean_ctor_get(x_248, 1); +lean_inc(x_251); +lean_dec(x_248); +x_252 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_251); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_253 = lean_ctor_get(x_252, 1); +lean_inc(x_253); +if (lean_is_exclusive(x_252)) { + lean_ctor_release(x_252, 0); + lean_ctor_release(x_252, 1); + x_254 = x_252; +} else { + lean_dec_ref(x_252); + x_254 = lean_box(0); +} +x_255 = lean_box(x_247); +if (lean_is_scalar(x_254)) { + x_256 = lean_alloc_ctor(0, 2, 0); +} else { + x_256 = x_254; +} +lean_ctor_set(x_256, 0, x_255); +lean_ctor_set(x_256, 1, x_253); +return x_256; +} +else +{ +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; uint8_t x_265; lean_object* x_266; lean_object* x_267; +lean_dec(x_12); +x_257 = lean_ctor_get(x_248, 1); +lean_inc(x_257); +lean_dec(x_248); +x_258 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_257); +x_259 = lean_ctor_get(x_258, 0); +lean_inc(x_259); +x_260 = lean_ctor_get(x_258, 1); +lean_inc(x_260); +lean_dec(x_258); +x_261 = l_Std_PersistentArray_append___rarg(x_230, x_259); +x_262 = l_Lean_Meta_setPostponed(x_261, x_6, x_7, x_8, x_9, x_260); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_263 = lean_ctor_get(x_262, 1); +lean_inc(x_263); +if (lean_is_exclusive(x_262)) { + lean_ctor_release(x_262, 0); + lean_ctor_release(x_262, 1); + x_264 = x_262; +} else { + lean_dec_ref(x_262); + x_264 = lean_box(0); +} +x_265 = 1; +x_266 = lean_box(x_265); +if (lean_is_scalar(x_264)) { + x_267 = lean_alloc_ctor(0, 2, 0); +} else { + x_267 = x_264; +} +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_263); +return x_267; +} +} +else +{ +lean_object* x_268; lean_object* x_269; +lean_dec(x_230); +x_268 = lean_ctor_get(x_248, 0); +lean_inc(x_268); +x_269 = lean_ctor_get(x_248, 1); +lean_inc(x_269); +lean_dec(x_248); +x_232 = x_268; +x_233 = x_269; +goto block_238; +} +} +} +block_302: +{ +if (x_271 == 0) +{ +lean_object* x_273; lean_object* x_274; +x_273 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_274 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_273, x_6, x_7, x_8, x_9, x_272); +if (lean_obj_tag(x_274) == 0) +{ +lean_object* x_275; lean_object* x_276; uint8_t x_277; +x_275 = lean_ctor_get(x_274, 0); +lean_inc(x_275); +x_276 = lean_ctor_get(x_274, 1); +lean_inc(x_276); +lean_dec(x_274); +x_277 = lean_unbox(x_275); +lean_dec(x_275); +x_239 = x_277; +x_240 = x_276; +goto block_270; +} +else +{ +lean_object* x_278; lean_object* x_279; +lean_dec(x_230); +x_278 = lean_ctor_get(x_274, 0); +lean_inc(x_278); +x_279 = lean_ctor_get(x_274, 1); +lean_inc(x_279); +lean_dec(x_274); +x_232 = x_278; +x_233 = x_279; +goto block_238; +} +} +else +{ +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; 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_inc(x_3); +x_280 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_280, 0, x_3); +x_281 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3; +x_282 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_282, 0, x_281); +lean_ctor_set(x_282, 1, x_280); +x_283 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5; +x_284 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_284, 0, x_282); +lean_ctor_set(x_284, 1, x_283); +lean_inc(x_1); +x_285 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_285, 0, x_1); +x_286 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_286, 0, x_284); +lean_ctor_set(x_286, 1, x_285); +x_287 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7; +x_288 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_288, 0, x_286); +lean_ctor_set(x_288, 1, x_287); +lean_inc(x_2); +x_289 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_289, 0, x_2); +x_290 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_290, 0, x_288); +lean_ctor_set(x_290, 1, x_289); +x_291 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__6; +x_292 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_292, 0, x_290); +lean_ctor_set(x_292, 1, x_291); +lean_inc(x_4); +x_293 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_4, x_292, x_6, x_7, x_8, x_9, x_272); +x_294 = lean_ctor_get(x_293, 0); +lean_inc(x_294); +x_295 = lean_ctor_get(x_293, 1); +lean_inc(x_295); +lean_dec(x_293); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_296 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_294, x_6, x_7, x_8, x_9, x_295); +if (lean_obj_tag(x_296) == 0) +{ +lean_object* x_297; lean_object* x_298; uint8_t x_299; +x_297 = lean_ctor_get(x_296, 0); +lean_inc(x_297); +x_298 = lean_ctor_get(x_296, 1); +lean_inc(x_298); +lean_dec(x_296); +x_299 = lean_unbox(x_297); +lean_dec(x_297); +x_239 = x_299; +x_240 = x_298; +goto block_270; +} +else +{ +lean_object* x_300; lean_object* x_301; +lean_dec(x_230); +x_300 = lean_ctor_get(x_296, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_296, 1); +lean_inc(x_301); +lean_dec(x_296); +x_232 = x_300; +x_233 = x_301; +goto block_238; +} } } } @@ -7287,345 +8064,1112 @@ goto block_24; LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_25; lean_object* x_26; uint8_t x_65; lean_object* x_66; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +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; uint8_t x_20; x_11 = l_Lean_Meta_saveState___rarg(x_7, x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_13); -x_15 = lean_ctor_get(x_14, 0); +x_14 = lean_st_ref_get(x_9, x_13); +x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); lean_dec(x_14); -x_97 = lean_st_ref_get(x_9, x_16); -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_98, 3); -lean_inc(x_99); -lean_dec(x_98); -x_100 = lean_ctor_get_uint8(x_99, sizeof(void*)*1); -lean_dec(x_99); -if (x_100 == 0) -{ -lean_object* x_101; uint8_t x_102; -x_101 = lean_ctor_get(x_97, 1); -lean_inc(x_101); -lean_dec(x_97); -x_102 = 0; -x_65 = x_102; -x_66 = x_101; -goto block_96; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_103 = lean_ctor_get(x_97, 1); -lean_inc(x_103); -lean_dec(x_97); -lean_inc(x_4); -x_104 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_4, x_6, x_7, x_8, x_9, x_103); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_unbox(x_105); -lean_dec(x_105); -x_65 = x_107; -x_66 = x_106; -goto block_96; -} -block_24: -{ -lean_object* x_19; uint8_t x_20; -x_19 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_18); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_20 = !lean_is_exclusive(x_19); +x_16 = lean_st_ref_take(x_7, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = !lean_is_exclusive(x_17); if (x_20 == 0) { -lean_object* x_21; -x_21 = lean_ctor_get(x_19, 0); +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_17, 1); lean_dec(x_21); -lean_ctor_set_tag(x_19, 1); -lean_ctor_set(x_19, 0, x_17); -return x_19; -} -else +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_17); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} -block_64: -{ -if (x_25 == 0) -{ -lean_object* x_27; uint8_t x_28; -lean_dec(x_15); -x_27 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_26); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -x_30 = 0; -x_31 = lean_box(x_30); -lean_ctor_set(x_27, 0, x_31); -return x_27; -} -else -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); +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; uint8_t x_38; lean_object* x_39; uint8_t x_78; lean_object* x_79; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_23 = lean_ctor_get(x_18, 5); +lean_dec(x_23); +x_24 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1; +lean_ctor_set(x_18, 5, x_24); +x_25 = lean_st_ref_set(x_7, x_17, x_19); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); lean_dec(x_27); -x_33 = 0; -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} +x_110 = lean_st_ref_get(x_9, x_29); +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_111, 3); +lean_inc(x_112); +lean_dec(x_111); +x_113 = lean_ctor_get_uint8(x_112, sizeof(void*)*1); +lean_dec(x_112); +if (x_113 == 0) +{ +lean_object* x_114; uint8_t x_115; +x_114 = lean_ctor_get(x_110, 1); +lean_inc(x_114); +lean_dec(x_110); +x_115 = 0; +x_78 = x_115; +x_79 = x_114; +goto block_109; } else { -uint8_t x_36; lean_object* x_37; -x_36 = 0; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_37 = l_Lean_Meta_processPostponed(x_5, x_36, x_6, x_7, x_8, x_9, x_26); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; uint8_t x_39; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_unbox(x_38); -lean_dec(x_38); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; -lean_dec(x_15); -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_40); -lean_dec(x_37); -x_41 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_40); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_41, 0); -lean_dec(x_43); -x_44 = lean_box(x_36); -lean_ctor_set(x_41, 0, x_44); -return x_41; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_41, 1); -lean_inc(x_45); -lean_dec(x_41); -x_46 = lean_box(x_36); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -return x_47; -} -} -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; uint8_t x_54; -lean_dec(x_12); -x_48 = lean_ctor_get(x_37, 1); -lean_inc(x_48); -lean_dec(x_37); -x_49 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_48); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = l_Std_PersistentArray_append___rarg(x_15, x_50); -x_53 = l_Lean_Meta_setPostponed(x_52, x_6, x_7, x_8, x_9, x_51); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_54 = !lean_is_exclusive(x_53); -if (x_54 == 0) -{ -lean_object* x_55; uint8_t x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_53, 0); -lean_dec(x_55); -x_56 = 1; -x_57 = lean_box(x_56); -lean_ctor_set(x_53, 0, x_57); -return x_53; -} -else -{ -lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_53, 1); -lean_inc(x_58); -lean_dec(x_53); -x_59 = 1; -x_60 = lean_box(x_59); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_58); -return x_61; -} -} -} -else -{ -lean_object* x_62; lean_object* x_63; -lean_dec(x_15); -x_62 = lean_ctor_get(x_37, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_37, 1); -lean_inc(x_63); -lean_dec(x_37); -x_17 = x_62; -x_18 = x_63; -goto block_24; -} -} -} -block_96: -{ -if (x_65 == 0) -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_box(0); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_68 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_67, x_6, x_7, x_8, x_9, x_66); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; lean_object* x_70; uint8_t x_71; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_unbox(x_69); -lean_dec(x_69); -x_25 = x_71; -x_26 = x_70; -goto block_64; -} -else -{ -lean_object* x_72; lean_object* x_73; -lean_dec(x_15); -x_72 = lean_ctor_get(x_68, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_68, 1); -lean_inc(x_73); -lean_dec(x_68); -x_17 = x_72; -x_18 = x_73; -goto block_24; -} -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -lean_inc(x_3); -x_74 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_74, 0, x_3); -x_75 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__2; -x_76 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_74); -x_77 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__4; -x_78 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -lean_inc(x_1); -x_79 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_79, 0, x_1); -x_80 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6; -x_82 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -lean_inc(x_2); -x_83 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_83, 0, x_2); -x_84 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -x_85 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__6; -x_86 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_116 = lean_ctor_get(x_110, 1); +lean_inc(x_116); +lean_dec(x_110); lean_inc(x_4); -x_87 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_4, x_86, x_6, x_7, x_8, x_9, x_66); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); +x_117 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_4, x_6, x_7, x_8, x_9, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +x_120 = lean_unbox(x_118); +lean_dec(x_118); +x_78 = x_120; +x_79 = x_119; +goto block_109; +} +block_37: +{ +lean_object* x_32; uint8_t x_33; +x_32 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_31); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_32, 0); +lean_dec(x_34); +lean_ctor_set_tag(x_32, 1); +lean_ctor_set(x_32, 0, x_30); +return x_32; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_30); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +block_77: +{ +if (x_38 == 0) +{ +lean_object* x_40; uint8_t x_41; +lean_dec(x_28); +x_40 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_39); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +x_43 = 0; +x_44 = lean_box(x_43); +lean_ctor_set(x_40, 0, x_44); +return x_40; +} +else +{ +lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = 0; +x_47 = lean_box(x_46); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; +} +} +else +{ +uint8_t x_49; lean_object* x_50; +x_49 = 0; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_90 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_88, x_6, x_7, x_8, x_9, x_89); -if (lean_obj_tag(x_90) == 0) +x_50 = l_Lean_Meta_processPostponed(x_5, x_49, x_6, x_7, x_8, x_9, x_39); +if (lean_obj_tag(x_50) == 0) { -lean_object* x_91; lean_object* x_92; uint8_t x_93; -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_25 = x_93; -x_26 = x_92; -goto block_64; +lean_object* x_51; uint8_t x_52; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +lean_dec(x_51); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_28); +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +lean_dec(x_50); +x_54 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_53); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_54, 0); +lean_dec(x_56); +x_57 = lean_box(x_49); +lean_ctor_set(x_54, 0, x_57); +return x_54; } else { -lean_object* x_94; lean_object* x_95; -lean_dec(x_15); -x_94 = lean_ctor_get(x_90, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_90, 1); -lean_inc(x_95); -lean_dec(x_90); -x_17 = x_94; -x_18 = x_95; -goto block_24; +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_54, 1); +lean_inc(x_58); +lean_dec(x_54); +x_59 = lean_box(x_49); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +lean_dec(x_12); +x_61 = lean_ctor_get(x_50, 1); +lean_inc(x_61); +lean_dec(x_50); +x_62 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_61); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec(x_62); +x_65 = l_Std_PersistentArray_append___rarg(x_28, x_63); +x_66 = l_Lean_Meta_setPostponed(x_65, x_6, x_7, x_8, x_9, x_64); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_67 = !lean_is_exclusive(x_66); +if (x_67 == 0) +{ +lean_object* x_68; uint8_t x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_66, 0); +lean_dec(x_68); +x_69 = 1; +x_70 = lean_box(x_69); +lean_ctor_set(x_66, 0, x_70); +return x_66; +} +else +{ +lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_66, 1); +lean_inc(x_71); +lean_dec(x_66); +x_72 = 1; +x_73 = lean_box(x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_71); +return x_74; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_28); +x_75 = lean_ctor_get(x_50, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_50, 1); +lean_inc(x_76); +lean_dec(x_50); +x_30 = x_75; +x_31 = x_76; +goto block_37; +} +} +} +block_109: +{ +if (x_78 == 0) +{ +lean_object* x_80; lean_object* x_81; +x_80 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_81 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_80, x_6, x_7, x_8, x_9, x_79); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_84 = lean_unbox(x_82); +lean_dec(x_82); +x_38 = x_84; +x_39 = x_83; +goto block_77; +} +else +{ +lean_object* x_85; lean_object* x_86; +lean_dec(x_28); +x_85 = lean_ctor_get(x_81, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_81, 1); +lean_inc(x_86); +lean_dec(x_81); +x_30 = x_85; +x_31 = x_86; +goto block_37; +} +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_inc(x_3); +x_87 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_87, 0, x_3); +x_88 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3; +x_89 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +x_90 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5; +x_91 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +lean_inc(x_1); +x_92 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_92, 0, x_1); +x_93 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7; +x_95 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +lean_inc(x_2); +x_96 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_96, 0, x_2); +x_97 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +x_98 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__6; +x_99 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +lean_inc(x_4); +x_100 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_4, x_99, x_6, x_7, x_8, x_9, x_79); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_103 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_101, x_6, x_7, x_8, x_9, x_102); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; lean_object* x_105; uint8_t x_106; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_unbox(x_104); +lean_dec(x_104); +x_38 = x_106; +x_39 = x_105; +goto block_77; +} +else +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_28); +x_107 = lean_ctor_get(x_103, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_30 = x_107; +x_31 = x_108; +goto block_37; +} +} +} +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_140; lean_object* x_141; uint8_t x_172; lean_object* x_173; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; +x_121 = lean_ctor_get(x_18, 0); +x_122 = lean_ctor_get(x_18, 1); +x_123 = lean_ctor_get(x_18, 2); +x_124 = lean_ctor_get(x_18, 3); +x_125 = lean_ctor_get(x_18, 4); +lean_inc(x_125); +lean_inc(x_124); +lean_inc(x_123); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_18); +x_126 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1; +x_127 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_127, 0, x_121); +lean_ctor_set(x_127, 1, x_122); +lean_ctor_set(x_127, 2, x_123); +lean_ctor_set(x_127, 3, x_124); +lean_ctor_set(x_127, 4, x_125); +lean_ctor_set(x_127, 5, x_126); +lean_ctor_set(x_17, 1, x_127); +x_128 = lean_st_ref_set(x_7, x_17, x_19); +x_129 = lean_ctor_get(x_128, 1); +lean_inc(x_129); +lean_dec(x_128); +x_130 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_129); +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_204 = lean_st_ref_get(x_9, x_132); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_205, 3); +lean_inc(x_206); +lean_dec(x_205); +x_207 = lean_ctor_get_uint8(x_206, sizeof(void*)*1); +lean_dec(x_206); +if (x_207 == 0) +{ +lean_object* x_208; uint8_t x_209; +x_208 = lean_ctor_get(x_204, 1); +lean_inc(x_208); +lean_dec(x_204); +x_209 = 0; +x_172 = x_209; +x_173 = x_208; +goto block_203; +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; +x_210 = lean_ctor_get(x_204, 1); +lean_inc(x_210); +lean_dec(x_204); +lean_inc(x_4); +x_211 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_4, x_6, x_7, x_8, x_9, x_210); +x_212 = lean_ctor_get(x_211, 0); +lean_inc(x_212); +x_213 = lean_ctor_get(x_211, 1); +lean_inc(x_213); +lean_dec(x_211); +x_214 = lean_unbox(x_212); +lean_dec(x_212); +x_172 = x_214; +x_173 = x_213; +goto block_203; +} +block_139: +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_135 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_134); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_137 = x_135; +} else { + lean_dec_ref(x_135); + 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_tag(x_138, 1); +} +lean_ctor_set(x_138, 0, x_133); +lean_ctor_set(x_138, 1, x_136); +return x_138; +} +block_171: +{ +if (x_140 == 0) +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; lean_object* x_146; lean_object* x_147; +lean_dec(x_131); +x_142 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_141); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + x_144 = x_142; +} else { + lean_dec_ref(x_142); + x_144 = lean_box(0); +} +x_145 = 0; +x_146 = lean_box(x_145); +if (lean_is_scalar(x_144)) { + x_147 = lean_alloc_ctor(0, 2, 0); +} else { + x_147 = x_144; +} +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_143); +return x_147; +} +else +{ +uint8_t x_148; lean_object* x_149; +x_148 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_149 = l_Lean_Meta_processPostponed(x_5, x_148, x_6, x_7, x_8, x_9, x_141); +if (lean_obj_tag(x_149) == 0) +{ +lean_object* x_150; uint8_t x_151; +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +lean_dec(x_150); +if (x_151 == 0) +{ +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_dec(x_131); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +x_153 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_152); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +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_153); + x_155 = lean_box(0); +} +x_156 = lean_box(x_148); +if (lean_is_scalar(x_155)) { + x_157 = lean_alloc_ctor(0, 2, 0); +} else { + x_157 = x_155; +} +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_154); +return x_157; +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_12); +x_158 = lean_ctor_get(x_149, 1); +lean_inc(x_158); +lean_dec(x_149); +x_159 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_158); +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +lean_dec(x_159); +x_162 = l_Std_PersistentArray_append___rarg(x_131, x_160); +x_163 = l_Lean_Meta_setPostponed(x_162, x_6, x_7, x_8, x_9, x_161); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_165 = x_163; +} else { + lean_dec_ref(x_163); + x_165 = lean_box(0); +} +x_166 = 1; +x_167 = lean_box(x_166); +if (lean_is_scalar(x_165)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_165; +} +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_164); +return x_168; +} +} +else +{ +lean_object* x_169; lean_object* x_170; +lean_dec(x_131); +x_169 = lean_ctor_get(x_149, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_149, 1); +lean_inc(x_170); +lean_dec(x_149); +x_133 = x_169; +x_134 = x_170; +goto block_139; +} +} +} +block_203: +{ +if (x_172 == 0) +{ +lean_object* x_174; lean_object* x_175; +x_174 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_175 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_174, x_6, x_7, x_8, x_9, x_173); +if (lean_obj_tag(x_175) == 0) +{ +lean_object* x_176; lean_object* x_177; uint8_t x_178; +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_140 = x_178; +x_141 = x_177; +goto block_171; +} +else +{ +lean_object* x_179; lean_object* x_180; +lean_dec(x_131); +x_179 = lean_ctor_get(x_175, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_175, 1); +lean_inc(x_180); +lean_dec(x_175); +x_133 = x_179; +x_134 = x_180; +goto block_139; +} +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; 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_inc(x_3); +x_181 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_181, 0, x_3); +x_182 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3; +x_183 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_181); +x_184 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5; +x_185 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_185, 0, x_183); +lean_ctor_set(x_185, 1, x_184); +lean_inc(x_1); +x_186 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_186, 0, x_1); +x_187 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_187, 0, x_185); +lean_ctor_set(x_187, 1, x_186); +x_188 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7; +x_189 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_189, 0, x_187); +lean_ctor_set(x_189, 1, x_188); +lean_inc(x_2); +x_190 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_190, 0, x_2); +x_191 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_190); +x_192 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__6; +x_193 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_193, 0, x_191); +lean_ctor_set(x_193, 1, x_192); +lean_inc(x_4); +x_194 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_4, x_193, x_6, x_7, x_8, x_9, x_173); +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); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_197 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_195, x_6, x_7, x_8, x_9, x_196); +if (lean_obj_tag(x_197) == 0) +{ +lean_object* x_198; lean_object* x_199; uint8_t x_200; +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_197, 1); +lean_inc(x_199); +lean_dec(x_197); +x_200 = lean_unbox(x_198); +lean_dec(x_198); +x_140 = x_200; +x_141 = x_199; +goto block_171; +} +else +{ +lean_object* x_201; lean_object* x_202; +lean_dec(x_131); +x_201 = lean_ctor_get(x_197, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_197, 1); +lean_inc(x_202); +lean_dec(x_197); +x_133 = x_201; +x_134 = x_202; +goto block_139; +} +} +} +} +} +else +{ +lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_239; lean_object* x_240; uint8_t x_271; lean_object* x_272; lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_306; +x_215 = lean_ctor_get(x_17, 0); +x_216 = lean_ctor_get(x_17, 2); +x_217 = lean_ctor_get(x_17, 3); +lean_inc(x_217); +lean_inc(x_216); +lean_inc(x_215); +lean_dec(x_17); +x_218 = lean_ctor_get(x_18, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_18, 1); +lean_inc(x_219); +x_220 = lean_ctor_get(x_18, 2); +lean_inc(x_220); +x_221 = lean_ctor_get(x_18, 3); +lean_inc(x_221); +x_222 = lean_ctor_get(x_18, 4); +lean_inc(x_222); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + lean_ctor_release(x_18, 2); + lean_ctor_release(x_18, 3); + lean_ctor_release(x_18, 4); + lean_ctor_release(x_18, 5); + x_223 = x_18; +} else { + lean_dec_ref(x_18); + x_223 = lean_box(0); +} +x_224 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__1; +if (lean_is_scalar(x_223)) { + x_225 = lean_alloc_ctor(0, 6, 0); +} else { + x_225 = x_223; +} +lean_ctor_set(x_225, 0, x_218); +lean_ctor_set(x_225, 1, x_219); +lean_ctor_set(x_225, 2, x_220); +lean_ctor_set(x_225, 3, x_221); +lean_ctor_set(x_225, 4, x_222); +lean_ctor_set(x_225, 5, x_224); +x_226 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_226, 0, x_215); +lean_ctor_set(x_226, 1, x_225); +lean_ctor_set(x_226, 2, x_216); +lean_ctor_set(x_226, 3, x_217); +x_227 = lean_st_ref_set(x_7, x_226, x_19); +x_228 = lean_ctor_get(x_227, 1); +lean_inc(x_228); +lean_dec(x_227); +x_229 = l_Lean_Meta_getResetPostponed(x_6, x_7, x_8, x_9, x_228); +x_230 = lean_ctor_get(x_229, 0); +lean_inc(x_230); +x_231 = lean_ctor_get(x_229, 1); +lean_inc(x_231); +lean_dec(x_229); +x_303 = lean_st_ref_get(x_9, x_231); +x_304 = lean_ctor_get(x_303, 0); +lean_inc(x_304); +x_305 = lean_ctor_get(x_304, 3); +lean_inc(x_305); +lean_dec(x_304); +x_306 = lean_ctor_get_uint8(x_305, sizeof(void*)*1); +lean_dec(x_305); +if (x_306 == 0) +{ +lean_object* x_307; uint8_t x_308; +x_307 = lean_ctor_get(x_303, 1); +lean_inc(x_307); +lean_dec(x_303); +x_308 = 0; +x_271 = x_308; +x_272 = x_307; +goto block_302; +} +else +{ +lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; uint8_t x_313; +x_309 = lean_ctor_get(x_303, 1); +lean_inc(x_309); +lean_dec(x_303); +lean_inc(x_4); +x_310 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__14(x_4, x_6, x_7, x_8, x_9, x_309); +x_311 = lean_ctor_get(x_310, 0); +lean_inc(x_311); +x_312 = lean_ctor_get(x_310, 1); +lean_inc(x_312); +lean_dec(x_310); +x_313 = lean_unbox(x_311); +lean_dec(x_311); +x_271 = x_313; +x_272 = x_312; +goto block_302; +} +block_238: +{ +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_234 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_233); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_235 = lean_ctor_get(x_234, 1); +lean_inc(x_235); +if (lean_is_exclusive(x_234)) { + lean_ctor_release(x_234, 0); + lean_ctor_release(x_234, 1); + x_236 = x_234; +} else { + lean_dec_ref(x_234); + x_236 = lean_box(0); +} +if (lean_is_scalar(x_236)) { + x_237 = lean_alloc_ctor(1, 2, 0); +} else { + x_237 = x_236; + lean_ctor_set_tag(x_237, 1); +} +lean_ctor_set(x_237, 0, x_232); +lean_ctor_set(x_237, 1, x_235); +return x_237; +} +block_270: +{ +if (x_239 == 0) +{ +lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; lean_object* x_245; lean_object* x_246; +lean_dec(x_230); +x_241 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_240); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_242 = lean_ctor_get(x_241, 1); +lean_inc(x_242); +if (lean_is_exclusive(x_241)) { + lean_ctor_release(x_241, 0); + lean_ctor_release(x_241, 1); + x_243 = x_241; +} else { + lean_dec_ref(x_241); + x_243 = lean_box(0); +} +x_244 = 0; +x_245 = lean_box(x_244); +if (lean_is_scalar(x_243)) { + x_246 = lean_alloc_ctor(0, 2, 0); +} else { + x_246 = x_243; +} +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_242); +return x_246; +} +else +{ +uint8_t x_247; lean_object* x_248; +x_247 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_248 = l_Lean_Meta_processPostponed(x_5, x_247, x_6, x_7, x_8, x_9, x_240); +if (lean_obj_tag(x_248) == 0) +{ +lean_object* x_249; uint8_t x_250; +x_249 = lean_ctor_get(x_248, 0); +lean_inc(x_249); +x_250 = lean_unbox(x_249); +lean_dec(x_249); +if (x_250 == 0) +{ +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_dec(x_230); +x_251 = lean_ctor_get(x_248, 1); +lean_inc(x_251); +lean_dec(x_248); +x_252 = l_Lean_Meta_SavedState_restore(x_12, x_6, x_7, x_8, x_9, x_251); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_12); +x_253 = lean_ctor_get(x_252, 1); +lean_inc(x_253); +if (lean_is_exclusive(x_252)) { + lean_ctor_release(x_252, 0); + lean_ctor_release(x_252, 1); + x_254 = x_252; +} else { + lean_dec_ref(x_252); + x_254 = lean_box(0); +} +x_255 = lean_box(x_247); +if (lean_is_scalar(x_254)) { + x_256 = lean_alloc_ctor(0, 2, 0); +} else { + x_256 = x_254; +} +lean_ctor_set(x_256, 0, x_255); +lean_ctor_set(x_256, 1, x_253); +return x_256; +} +else +{ +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; uint8_t x_265; lean_object* x_266; lean_object* x_267; +lean_dec(x_12); +x_257 = lean_ctor_get(x_248, 1); +lean_inc(x_257); +lean_dec(x_248); +x_258 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_257); +x_259 = lean_ctor_get(x_258, 0); +lean_inc(x_259); +x_260 = lean_ctor_get(x_258, 1); +lean_inc(x_260); +lean_dec(x_258); +x_261 = l_Std_PersistentArray_append___rarg(x_230, x_259); +x_262 = l_Lean_Meta_setPostponed(x_261, x_6, x_7, x_8, x_9, x_260); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_263 = lean_ctor_get(x_262, 1); +lean_inc(x_263); +if (lean_is_exclusive(x_262)) { + lean_ctor_release(x_262, 0); + lean_ctor_release(x_262, 1); + x_264 = x_262; +} else { + lean_dec_ref(x_262); + x_264 = lean_box(0); +} +x_265 = 1; +x_266 = lean_box(x_265); +if (lean_is_scalar(x_264)) { + x_267 = lean_alloc_ctor(0, 2, 0); +} else { + x_267 = x_264; +} +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_263); +return x_267; +} +} +else +{ +lean_object* x_268; lean_object* x_269; +lean_dec(x_230); +x_268 = lean_ctor_get(x_248, 0); +lean_inc(x_268); +x_269 = lean_ctor_get(x_248, 1); +lean_inc(x_269); +lean_dec(x_248); +x_232 = x_268; +x_233 = x_269; +goto block_238; +} +} +} +block_302: +{ +if (x_271 == 0) +{ +lean_object* x_273; lean_object* x_274; +x_273 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_274 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_273, x_6, x_7, x_8, x_9, x_272); +if (lean_obj_tag(x_274) == 0) +{ +lean_object* x_275; lean_object* x_276; uint8_t x_277; +x_275 = lean_ctor_get(x_274, 0); +lean_inc(x_275); +x_276 = lean_ctor_get(x_274, 1); +lean_inc(x_276); +lean_dec(x_274); +x_277 = lean_unbox(x_275); +lean_dec(x_275); +x_239 = x_277; +x_240 = x_276; +goto block_270; +} +else +{ +lean_object* x_278; lean_object* x_279; +lean_dec(x_230); +x_278 = lean_ctor_get(x_274, 0); +lean_inc(x_278); +x_279 = lean_ctor_get(x_274, 1); +lean_inc(x_279); +lean_dec(x_274); +x_232 = x_278; +x_233 = x_279; +goto block_238; +} +} +else +{ +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; 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_inc(x_3); +x_280 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_280, 0, x_3); +x_281 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__3; +x_282 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_282, 0, x_281); +lean_ctor_set(x_282, 1, x_280); +x_283 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5; +x_284 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_284, 0, x_282); +lean_ctor_set(x_284, 1, x_283); +lean_inc(x_1); +x_285 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_285, 0, x_1); +x_286 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_286, 0, x_284); +lean_ctor_set(x_286, 1, x_285); +x_287 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7; +x_288 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_288, 0, x_286); +lean_ctor_set(x_288, 1, x_287); +lean_inc(x_2); +x_289 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_289, 0, x_2); +x_290 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_290, 0, x_288); +lean_ctor_set(x_290, 1, x_289); +x_291 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decodeConstraint___closed__6; +x_292 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_292, 0, x_290); +lean_ctor_set(x_292, 1, x_291); +lean_inc(x_4); +x_293 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__1(x_4, x_292, x_6, x_7, x_8, x_9, x_272); +x_294 = lean_ctor_get(x_293, 0); +lean_inc(x_294); +x_295 = lean_ctor_get(x_293, 1); +lean_inc(x_295); +lean_dec(x_293); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_296 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__4(x_3, x_4, x_1, x_2, x_294, x_6, x_7, x_8, x_9, x_295); +if (lean_obj_tag(x_296) == 0) +{ +lean_object* x_297; lean_object* x_298; uint8_t x_299; +x_297 = lean_ctor_get(x_296, 0); +lean_inc(x_297); +x_298 = lean_ctor_get(x_296, 1); +lean_inc(x_298); +lean_dec(x_296); +x_299 = lean_unbox(x_297); +lean_dec(x_297); +x_239 = x_299; +x_240 = x_298; +goto block_270; +} +else +{ +lean_object* x_300; lean_object* x_301; +lean_dec(x_230); +x_300 = lean_ctor_get(x_296, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_296, 1); +lean_inc(x_301); +lean_dec(x_296); +x_232 = x_300; +x_233 = x_301; +goto block_238; +} } } } @@ -9134,7 +10678,7 @@ x_14 = l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_ x_15 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); -x_16 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6; +x_16 = l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7; x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); @@ -9464,6 +11008,8 @@ l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___sp lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__5); l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6(); lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__6); +l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___closed__7); l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1(); lean_mark_persistent(l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1); l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2 = _init_l_Lean_Meta_tryUnificationHints_tryCandidate___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/WHNF.c b/stage0/stdlib/Lean/Meta/WHNF.c index e74e782f00..42ad629f94 100644 --- a/stage0/stdlib/Lean/Meta/WHNF.c +++ b/stage0/stdlib/Lean/Meta/WHNF.c @@ -106,7 +106,6 @@ LEAN_EXPORT uint8_t l___private_Lean_Meta_WHNF_0__Lean_Meta_getRecRuleFor___lamb uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__5; static lean_object* l_Lean_Meta_markSmartUnfoldingMatchAlt___closed__1; -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_reduceNat_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -151,7 +150,6 @@ static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__13; lean_object* l_Lean_Environment_getProjectionStructureName_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__14; static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__34; -static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkProjFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); @@ -161,8 +159,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cache(uint8_t, static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__33; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__12; lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__25; LEAN_EXPORT lean_object* l_Lean_Meta_project_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___closed__3; @@ -245,7 +242,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatOp___lambda__4(lean_object*, le uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_toCtorIfLit(lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); @@ -313,7 +309,7 @@ lean_object* l_Lean_Core_checkMaxHeartbeats(lean_object*, lean_object*, lean_obj extern lean_object* l_Lean_Meta_instMonadMetaM; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__4; -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingReduce_x3f_goMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -329,7 +325,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingReduce_x3f_go___lambda__2___b static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_33____closed__1; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__8; static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__39; -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__17; static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__35; size_t lean_usize_land(size_t, size_t); @@ -338,7 +334,7 @@ LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUn extern lean_object* l_Lean_projectionFnInfoExt; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__9; -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_8555_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_8553_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_33_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_reduceRecMatcher_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -372,6 +368,7 @@ LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean LEAN_EXPORT lean_object* l_Lean_Meta_unfoldProjInst_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_reduceProj_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__2; +static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___closed__2; static lean_object* l_Lean_Meta_toCtorIfLit___closed__8; uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); @@ -381,9 +378,11 @@ uint8_t l_Std_RBNode_isRed___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec(lean_object*); lean_object* l_Lean_Expr_betaRev(lean_object*, lean_object*, uint8_t, uint8_t); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__23; +static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___closed__1; extern lean_object* l_Lean_Meta_instMonadMCtxMetaM; LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at_Lean_Meta_unfoldProjInst_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__1; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__1; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__13; @@ -411,13 +410,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_projectCore_x3f LEAN_EXPORT lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__17; -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_toCtorIfLit___closed__11; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_canUnfoldAtMatcher(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); @@ -482,6 +480,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___lambda__1(lean_object*, lea static lean_object* l_Lean_Meta_reduceNat_x3f___closed__15; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__18; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at_Lean_Meta_unfoldProjInst_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__11; @@ -11627,16 +11626,6 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_1); -lean_ctor_set(x_8, 1, x_7); -return x_8; -} -} LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -11649,94 +11638,37 @@ x_9 = lean_st_ref_get(x_3, x_8); x_10 = !lean_is_exclusive(x_9); if (x_10 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); lean_dec(x_11); -x_14 = lean_ctor_get(x_13, 7); -lean_inc(x_14); -lean_dec(x_13); -x_15 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_14, x_1); -if (lean_obj_tag(x_15) == 0) -{ -lean_ctor_set(x_9, 0, x_15); +x_13 = lean_ctor_get(x_12, 7); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_13, x_1); +lean_ctor_set(x_9, 0, x_14); return x_9; } else { -lean_object* x_16; uint8_t x_17; -lean_free_object(x_9); -x_16 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_12); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; -x_18 = lean_ctor_get(x_16, 0); -lean_dec(x_18); -lean_ctor_set(x_16, 0, x_15); -return x_16; -} -else -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_dec(x_16); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_15); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -} -else -{ -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_9, 0); -x_22 = lean_ctor_get(x_9, 1); -lean_inc(x_22); -lean_inc(x_21); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); lean_dec(x_9); -x_23 = lean_ctor_get(x_21, 0); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_ctor_get(x_23, 7); -lean_inc(x_24); -lean_dec(x_23); -x_25 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_24, x_1); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_22); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = l_Lean_markUsedAssignment___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__2___rarg(x_3, x_4, x_5, x_22); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - x_29 = x_27; -} else { - lean_dec_ref(x_27); - x_29 = lean_box(0); -} -if (lean_is_scalar(x_29)) { - x_30 = lean_alloc_ctor(0, 2, 0); -} else { - x_30 = x_29; -} -lean_ctor_set(x_30, 0, x_25); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_ctor_get(x_17, 7); +lean_inc(x_18); +lean_dec(x_17); +x_19 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_18, x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_16); +return x_20; } } } @@ -12136,19 +12068,6 @@ return x_113; } } } -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_8; -} -} LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f___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: { @@ -14710,7 +14629,17 @@ x_9 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_1, x_2, x return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -14761,7 +14690,7 @@ return x_18; } } } -static lean_object* _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -14769,12 +14698,12 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.whnfCore.go", 21); return x_1; } } -static lean_object* _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_whnfEasyCases___closed__2; -x_2 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___closed__1; +x_2 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___closed__1; x_3 = lean_unsigned_to_nat(519u); x_4 = lean_unsigned_to_nat(13u); x_5 = l_Lean_Meta_whnfEasyCases___closed__4; @@ -14782,7 +14711,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_dec(x_3); @@ -14905,7 +14834,7 @@ x_27 = lean_ctor_get(x_13, 1); lean_inc(x_27); lean_dec(x_13); lean_inc(x_19); -x_28 = lean_alloc_closure((void*)(l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f___spec__1___lambda__1___boxed), 7, 1); +x_28 = lean_alloc_closure((void*)(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2___boxed), 7, 1); lean_closure_set(x_28, 0, x_19); lean_inc(x_7); lean_inc(x_6); @@ -15302,7 +15231,7 @@ lean_inc(x_120); x_121 = lean_ctor_get(x_119, 1); lean_inc(x_121); lean_dec(x_119); -x_122 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2(x_116, x_1, x_2, x_120, x_4, x_5, x_6, x_7, x_121); +x_122 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(x_116, x_1, x_2, x_120, x_4, x_5, x_6, x_7, x_121); return x_122; } else @@ -15354,7 +15283,7 @@ lean_inc(x_130); x_131 = lean_ctor_get(x_129, 1); lean_inc(x_131); lean_dec(x_129); -x_132 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2(x_127, x_1, x_2, x_130, x_4, x_5, x_6, x_7, x_131); +x_132 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(x_127, x_1, x_2, x_130, x_4, x_5, x_6, x_7, x_131); return x_132; } else @@ -15391,7 +15320,7 @@ default: { lean_object* x_137; lean_object* x_138; lean_dec(x_1); -x_137 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___closed__2; +x_137 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___closed__2; x_138 = l_panic___at_Lean_Meta_whnfCore_go___spec__1(x_137, x_4, x_5, x_6, x_7, x_8); return x_138; } @@ -15818,7 +15747,7 @@ if (x_86 == 0) { lean_object* x_88; lean_object* x_89; x_88 = lean_box(0); -x_89 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(x_2, x_1, x_88, x_3, x_4, x_5, x_6, x_87); +x_89 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(x_2, x_1, x_88, x_3, x_4, x_5, x_6, x_87); return x_89; } else @@ -15833,7 +15762,7 @@ lean_inc(x_92); x_93 = lean_ctor_get(x_91, 1); lean_inc(x_93); lean_dec(x_91); -x_94 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(x_2, x_1, x_92, x_3, x_4, x_5, x_6, x_93); +x_94 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(x_2, x_1, x_92, x_3, x_4, x_5, x_6, x_93); return x_94; } } @@ -15885,7 +15814,7 @@ if (x_108 == 0) { lean_object* x_110; lean_object* x_111; x_110 = lean_box(0); -x_111 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(x_2, x_1, x_110, x_3, x_4, x_5, x_6, x_109); +x_111 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(x_2, x_1, x_110, x_3, x_4, x_5, x_6, x_109); return x_111; } else @@ -15900,7 +15829,7 @@ lean_inc(x_114); x_115 = lean_ctor_get(x_113, 1); lean_inc(x_115); lean_dec(x_113); -x_116 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(x_2, x_1, x_114, x_3, x_4, x_5, x_6, x_115); +x_116 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(x_2, x_1, x_114, x_3, x_4, x_5, x_6, x_115); return x_116; } } @@ -15952,7 +15881,7 @@ if (x_130 == 0) { lean_object* x_132; lean_object* x_133; x_132 = lean_box(0); -x_133 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(x_2, x_1, x_132, x_3, x_4, x_5, x_6, x_131); +x_133 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(x_2, x_1, x_132, x_3, x_4, x_5, x_6, x_131); return x_133; } else @@ -15967,7 +15896,7 @@ lean_inc(x_136); x_137 = lean_ctor_get(x_135, 1); lean_inc(x_137); lean_dec(x_135); -x_138 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(x_2, x_1, x_136, x_3, x_4, x_5, x_6, x_137); +x_138 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(x_2, x_1, x_136, x_3, x_4, x_5, x_6, x_137); return x_138; } } @@ -16028,7 +15957,7 @@ if (x_154 == 0) { lean_object* x_156; lean_object* x_157; x_156 = lean_box(0); -x_157 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(x_2, x_1, x_156, x_3, x_4, x_5, x_6, x_155); +x_157 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(x_2, x_1, x_156, x_3, x_4, x_5, x_6, x_155); return x_157; } else @@ -16043,7 +15972,7 @@ lean_inc(x_160); x_161 = lean_ctor_get(x_159, 1); lean_inc(x_161); lean_dec(x_159); -x_162 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(x_2, x_1, x_160, x_3, x_4, x_5, x_6, x_161); +x_162 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(x_2, x_1, x_160, x_3, x_4, x_5, x_6, x_161); return x_162; } } @@ -16101,23 +16030,36 @@ x_10 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__ return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_3); lean_dec(x_3); -x_11 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_2); lean_dec(x_2); -x_10 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } @@ -29410,79 +29352,74 @@ return x_30; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_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_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; x_31 = lean_ctor_get(x_19, 0); x_32 = lean_ctor_get(x_19, 1); x_33 = lean_ctor_get(x_19, 2); x_34 = lean_ctor_get(x_19, 3); x_35 = lean_ctor_get(x_19, 5); -x_36 = lean_ctor_get(x_19, 6); -x_37 = lean_ctor_get(x_19, 4); -lean_inc(x_36); +x_36 = lean_ctor_get(x_19, 4); lean_inc(x_35); -lean_inc(x_37); +lean_inc(x_36); lean_inc(x_34); lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); lean_dec(x_19); lean_inc(x_3); -x_38 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__1(x_37, x_2, x_3); -x_39 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_39, 0, x_31); -lean_ctor_set(x_39, 1, x_32); -lean_ctor_set(x_39, 2, x_33); -lean_ctor_set(x_39, 3, x_34); -lean_ctor_set(x_39, 4, x_38); -lean_ctor_set(x_39, 5, x_35); -lean_ctor_set(x_39, 6, x_36); -lean_ctor_set(x_18, 1, x_39); -x_40 = lean_st_ref_set(x_5, x_18, x_20); +x_37 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__1(x_36, x_2, x_3); +x_38 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_38, 0, x_31); +lean_ctor_set(x_38, 1, x_32); +lean_ctor_set(x_38, 2, x_33); +lean_ctor_set(x_38, 3, x_34); +lean_ctor_set(x_38, 4, x_37); +lean_ctor_set(x_38, 5, x_35); +lean_ctor_set(x_18, 1, x_38); +x_39 = lean_st_ref_set(x_5, x_18, x_20); lean_dec(x_5); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_42 = x_40; +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_41 = x_39; } else { - lean_dec_ref(x_40); - x_42 = lean_box(0); + lean_dec_ref(x_39); + x_41 = lean_box(0); } -if (lean_is_scalar(x_42)) { - x_43 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_41)) { + x_42 = lean_alloc_ctor(0, 2, 0); } else { - x_43 = x_42; + x_42 = x_41; } -lean_ctor_set(x_43, 0, x_3); -lean_ctor_set(x_43, 1, x_41); -return x_43; +lean_ctor_set(x_42, 0, x_3); +lean_ctor_set(x_42, 1, x_40); +return x_42; } } 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; 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; -x_44 = lean_ctor_get(x_18, 0); -x_45 = lean_ctor_get(x_18, 2); -x_46 = lean_ctor_get(x_18, 3); -lean_inc(x_46); +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; +x_43 = lean_ctor_get(x_18, 0); +x_44 = lean_ctor_get(x_18, 2); +x_45 = lean_ctor_get(x_18, 3); lean_inc(x_45); lean_inc(x_44); +lean_inc(x_43); lean_dec(x_18); -x_47 = lean_ctor_get(x_19, 0); +x_46 = lean_ctor_get(x_19, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_19, 1); lean_inc(x_47); -x_48 = lean_ctor_get(x_19, 1); +x_48 = lean_ctor_get(x_19, 2); lean_inc(x_48); -x_49 = lean_ctor_get(x_19, 2); +x_49 = lean_ctor_get(x_19, 3); lean_inc(x_49); -x_50 = lean_ctor_get(x_19, 3); +x_50 = lean_ctor_get(x_19, 5); lean_inc(x_50); -x_51 = lean_ctor_get(x_19, 5); +x_51 = lean_ctor_get(x_19, 4); lean_inc(x_51); -x_52 = lean_ctor_get(x_19, 6); -lean_inc(x_52); -x_53 = lean_ctor_get(x_19, 4); -lean_inc(x_53); if (lean_is_exclusive(x_19)) { lean_ctor_release(x_19, 0); lean_ctor_release(x_19, 1); @@ -29490,297 +29427,288 @@ if (lean_is_exclusive(x_19)) { lean_ctor_release(x_19, 3); lean_ctor_release(x_19, 4); lean_ctor_release(x_19, 5); - lean_ctor_release(x_19, 6); - x_54 = x_19; + x_52 = x_19; } else { lean_dec_ref(x_19); - x_54 = lean_box(0); + x_52 = lean_box(0); } lean_inc(x_3); -x_55 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__1(x_53, x_2, x_3); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 7, 0); +x_53 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__1(x_51, x_2, x_3); +if (lean_is_scalar(x_52)) { + x_54 = lean_alloc_ctor(0, 6, 0); } else { - x_56 = x_54; + x_54 = x_52; } -lean_ctor_set(x_56, 0, x_47); -lean_ctor_set(x_56, 1, x_48); -lean_ctor_set(x_56, 2, x_49); -lean_ctor_set(x_56, 3, x_50); -lean_ctor_set(x_56, 4, x_55); -lean_ctor_set(x_56, 5, x_51); -lean_ctor_set(x_56, 6, x_52); -x_57 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_57, 0, x_44); -lean_ctor_set(x_57, 1, x_56); -lean_ctor_set(x_57, 2, x_45); -lean_ctor_set(x_57, 3, x_46); -x_58 = lean_st_ref_set(x_5, x_57, x_20); +lean_ctor_set(x_54, 0, x_46); +lean_ctor_set(x_54, 1, x_47); +lean_ctor_set(x_54, 2, x_48); +lean_ctor_set(x_54, 3, x_49); +lean_ctor_set(x_54, 4, x_53); +lean_ctor_set(x_54, 5, x_50); +x_55 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_55, 0, x_43); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 2, x_44); +lean_ctor_set(x_55, 3, x_45); +x_56 = lean_st_ref_set(x_5, x_55, x_20); lean_dec(x_5); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - x_60 = x_58; +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_58 = x_56; } else { - lean_dec_ref(x_58); - x_60 = lean_box(0); + lean_dec_ref(x_56); + x_58 = lean_box(0); } -if (lean_is_scalar(x_60)) { - x_61 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(0, 2, 0); } else { - x_61 = x_60; + x_59 = x_58; } -lean_ctor_set(x_61, 0, x_3); -lean_ctor_set(x_61, 1, x_59); -return x_61; +lean_ctor_set(x_59, 0, x_3); +lean_ctor_set(x_59, 1, x_57); +return x_59; } } case 1: { -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; uint8_t x_69; +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; uint8_t x_67; lean_dec(x_6); lean_dec(x_4); -x_62 = lean_ctor_get(x_10, 1); -lean_inc(x_62); +x_60 = lean_ctor_get(x_10, 1); +lean_inc(x_60); lean_dec(x_10); -x_63 = lean_st_ref_get(x_7, x_62); +x_61 = lean_st_ref_get(x_7, x_60); lean_dec(x_7); -x_64 = lean_ctor_get(x_63, 1); +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = lean_st_ref_take(x_5, x_62); +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec(x_63); -x_65 = lean_st_ref_take(x_5, x_64); -x_66 = lean_ctor_get(x_65, 0); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +x_66 = lean_ctor_get(x_63, 1); lean_inc(x_66); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); -lean_dec(x_65); -x_69 = !lean_is_exclusive(x_66); +lean_dec(x_63); +x_67 = !lean_is_exclusive(x_64); +if (x_67 == 0) +{ +lean_object* x_68; uint8_t x_69; +x_68 = lean_ctor_get(x_64, 1); +lean_dec(x_68); +x_69 = !lean_is_exclusive(x_65); if (x_69 == 0) { -lean_object* x_70; uint8_t x_71; -x_70 = lean_ctor_get(x_66, 1); -lean_dec(x_70); -x_71 = !lean_is_exclusive(x_67); -if (x_71 == 0) -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_72 = lean_ctor_get(x_67, 3); +lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_70 = lean_ctor_get(x_65, 3); lean_inc(x_3); -x_73 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__1(x_72, x_2, x_3); -lean_ctor_set(x_67, 3, x_73); -x_74 = lean_st_ref_set(x_5, x_66, x_68); +x_71 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__1(x_70, x_2, x_3); +lean_ctor_set(x_65, 3, x_71); +x_72 = lean_st_ref_set(x_5, x_64, x_66); lean_dec(x_5); -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) { -lean_object* x_76; -x_76 = lean_ctor_get(x_74, 0); -lean_dec(x_76); -lean_ctor_set(x_74, 0, x_3); -return x_74; -} -else -{ -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_74, 1); -lean_inc(x_77); +lean_object* x_74; +x_74 = lean_ctor_get(x_72, 0); lean_dec(x_74); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_3); -lean_ctor_set(x_78, 1, x_77); -return x_78; +lean_ctor_set(x_72, 0, x_3); +return x_72; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_72, 1); +lean_inc(x_75); +lean_dec(x_72); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_3); +lean_ctor_set(x_76, 1, x_75); +return x_76; } } 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_67, 0); -x_80 = lean_ctor_get(x_67, 1); -x_81 = lean_ctor_get(x_67, 2); -x_82 = lean_ctor_get(x_67, 4); -x_83 = lean_ctor_get(x_67, 5); -x_84 = lean_ctor_get(x_67, 6); -x_85 = lean_ctor_get(x_67, 3); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_inc(x_85); +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; +x_77 = lean_ctor_get(x_65, 0); +x_78 = lean_ctor_get(x_65, 1); +x_79 = lean_ctor_get(x_65, 2); +x_80 = lean_ctor_get(x_65, 4); +x_81 = lean_ctor_get(x_65, 5); +x_82 = lean_ctor_get(x_65, 3); lean_inc(x_81); lean_inc(x_80); +lean_inc(x_82); lean_inc(x_79); -lean_dec(x_67); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_65); lean_inc(x_3); -x_86 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__1(x_85, x_2, x_3); -x_87 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_87, 0, x_79); -lean_ctor_set(x_87, 1, x_80); -lean_ctor_set(x_87, 2, x_81); -lean_ctor_set(x_87, 3, x_86); -lean_ctor_set(x_87, 4, x_82); -lean_ctor_set(x_87, 5, x_83); -lean_ctor_set(x_87, 6, x_84); -lean_ctor_set(x_66, 1, x_87); -x_88 = lean_st_ref_set(x_5, x_66, x_68); +x_83 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__1(x_82, x_2, x_3); +x_84 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_84, 0, x_77); +lean_ctor_set(x_84, 1, x_78); +lean_ctor_set(x_84, 2, x_79); +lean_ctor_set(x_84, 3, x_83); +lean_ctor_set(x_84, 4, x_80); +lean_ctor_set(x_84, 5, x_81); +lean_ctor_set(x_64, 1, x_84); +x_85 = lean_st_ref_set(x_5, x_64, x_66); lean_dec(x_5); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_88)) { - lean_ctor_release(x_88, 0); - lean_ctor_release(x_88, 1); - x_90 = x_88; +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_87 = x_85; } else { - lean_dec_ref(x_88); - x_90 = lean_box(0); + lean_dec_ref(x_85); + x_87 = lean_box(0); } -if (lean_is_scalar(x_90)) { - x_91 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(0, 2, 0); } else { - x_91 = x_90; + x_88 = x_87; } -lean_ctor_set(x_91, 0, x_3); -lean_ctor_set(x_91, 1, x_89); -return x_91; +lean_ctor_set(x_88, 0, x_3); +lean_ctor_set(x_88, 1, x_86); +return x_88; } } 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; -x_92 = lean_ctor_get(x_66, 0); -x_93 = lean_ctor_get(x_66, 2); -x_94 = lean_ctor_get(x_66, 3); -lean_inc(x_94); -lean_inc(x_93); +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; lean_object* x_105; +x_89 = lean_ctor_get(x_64, 0); +x_90 = lean_ctor_get(x_64, 2); +x_91 = lean_ctor_get(x_64, 3); +lean_inc(x_91); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_64); +x_92 = lean_ctor_get(x_65, 0); lean_inc(x_92); -lean_dec(x_66); -x_95 = lean_ctor_get(x_67, 0); +x_93 = lean_ctor_get(x_65, 1); +lean_inc(x_93); +x_94 = lean_ctor_get(x_65, 2); +lean_inc(x_94); +x_95 = lean_ctor_get(x_65, 4); lean_inc(x_95); -x_96 = lean_ctor_get(x_67, 1); +x_96 = lean_ctor_get(x_65, 5); lean_inc(x_96); -x_97 = lean_ctor_get(x_67, 2); +x_97 = lean_ctor_get(x_65, 3); lean_inc(x_97); -x_98 = lean_ctor_get(x_67, 4); -lean_inc(x_98); -x_99 = lean_ctor_get(x_67, 5); -lean_inc(x_99); -x_100 = lean_ctor_get(x_67, 6); -lean_inc(x_100); -x_101 = lean_ctor_get(x_67, 3); -lean_inc(x_101); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - lean_ctor_release(x_67, 2); - lean_ctor_release(x_67, 3); - lean_ctor_release(x_67, 4); - lean_ctor_release(x_67, 5); - lean_ctor_release(x_67, 6); - x_102 = x_67; +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + lean_ctor_release(x_65, 2); + lean_ctor_release(x_65, 3); + lean_ctor_release(x_65, 4); + lean_ctor_release(x_65, 5); + x_98 = x_65; } else { - lean_dec_ref(x_67); - x_102 = lean_box(0); + lean_dec_ref(x_65); + x_98 = lean_box(0); } lean_inc(x_3); -x_103 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__1(x_101, x_2, x_3); -if (lean_is_scalar(x_102)) { - x_104 = lean_alloc_ctor(0, 7, 0); +x_99 = l_Std_PersistentHashMap_insert___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__1(x_97, x_2, x_3); +if (lean_is_scalar(x_98)) { + x_100 = lean_alloc_ctor(0, 6, 0); } else { - x_104 = x_102; + x_100 = x_98; } -lean_ctor_set(x_104, 0, x_95); -lean_ctor_set(x_104, 1, x_96); -lean_ctor_set(x_104, 2, x_97); -lean_ctor_set(x_104, 3, x_103); -lean_ctor_set(x_104, 4, x_98); -lean_ctor_set(x_104, 5, x_99); -lean_ctor_set(x_104, 6, x_100); -x_105 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_105, 0, x_92); -lean_ctor_set(x_105, 1, x_104); -lean_ctor_set(x_105, 2, x_93); -lean_ctor_set(x_105, 3, x_94); -x_106 = lean_st_ref_set(x_5, x_105, x_68); +lean_ctor_set(x_100, 0, x_92); +lean_ctor_set(x_100, 1, x_93); +lean_ctor_set(x_100, 2, x_94); +lean_ctor_set(x_100, 3, x_99); +lean_ctor_set(x_100, 4, x_95); +lean_ctor_set(x_100, 5, x_96); +x_101 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_101, 0, x_89); +lean_ctor_set(x_101, 1, x_100); +lean_ctor_set(x_101, 2, x_90); +lean_ctor_set(x_101, 3, x_91); +x_102 = lean_st_ref_set(x_5, x_101, x_66); lean_dec(x_5); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_108 = x_106; +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_104 = x_102; } else { - lean_dec_ref(x_106); - x_108 = lean_box(0); + lean_dec_ref(x_102); + x_104 = lean_box(0); } -if (lean_is_scalar(x_108)) { - x_109 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_104)) { + x_105 = lean_alloc_ctor(0, 2, 0); } else { - x_109 = x_108; + x_105 = x_104; } -lean_ctor_set(x_109, 0, x_3); -lean_ctor_set(x_109, 1, x_107); -return x_109; +lean_ctor_set(x_105, 0, x_3); +lean_ctor_set(x_105, 1, x_103); +return x_105; } } default: { -lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_dec(x_13); lean_dec(x_2); -x_110 = lean_ctor_get(x_10, 1); -lean_inc(x_110); +x_106 = lean_ctor_get(x_10, 1); +lean_inc(x_106); lean_dec(x_10); -x_111 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__2; -x_112 = l_panic___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__5(x_111, x_4, x_5, x_6, x_7, x_110); -if (lean_obj_tag(x_112) == 0) +x_107 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__2; +x_108 = l_panic___at___private_Lean_Meta_WHNF_0__Lean_Meta_cache___spec__5(x_107, x_4, x_5, x_6, x_7, x_106); +if (lean_obj_tag(x_108) == 0) +{ +uint8_t x_109; +x_109 = !lean_is_exclusive(x_108); +if (x_109 == 0) +{ +lean_object* x_110; +x_110 = lean_ctor_get(x_108, 0); +lean_dec(x_110); +lean_ctor_set(x_108, 0, x_3); +return x_108; +} +else +{ +lean_object* x_111; lean_object* x_112; +x_111 = lean_ctor_get(x_108, 1); +lean_inc(x_111); +lean_dec(x_108); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_3); +lean_ctor_set(x_112, 1, x_111); +return x_112; +} +} +else { uint8_t x_113; -x_113 = !lean_is_exclusive(x_112); +lean_dec(x_3); +x_113 = !lean_is_exclusive(x_108); if (x_113 == 0) { -lean_object* x_114; -x_114 = lean_ctor_get(x_112, 0); -lean_dec(x_114); -lean_ctor_set(x_112, 0, x_3); -return x_112; +return x_108; } else { -lean_object* x_115; lean_object* x_116; -x_115 = lean_ctor_get(x_112, 1); +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_108, 0); +x_115 = lean_ctor_get(x_108, 1); lean_inc(x_115); -lean_dec(x_112); -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_3); +lean_inc(x_114); +lean_dec(x_108); +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; } } -else -{ -uint8_t x_117; -lean_dec(x_3); -x_117 = !lean_is_exclusive(x_112); -if (x_117 == 0) -{ -return x_112; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_112, 0); -x_119 = lean_ctor_get(x_112, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_112); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -return x_120; -} -} } } } @@ -32579,7 +32507,7 @@ return x_38; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_8555_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_8553_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -32867,10 +32795,10 @@ l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___lambda__1___closed__1 = _i lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___lambda__1___closed__1); l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___lambda__1___closed__2 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___lambda__1___closed__2(); lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___lambda__1___closed__2); -l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___closed__1 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___closed__1); -l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___closed__2 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3___closed__2); +l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___closed__1 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___closed__1); +l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___closed__2 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4___closed__2); l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___closed__1 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___closed__1(); lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___closed__1); l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___closed__2 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___closed__2(); @@ -33015,7 +32943,7 @@ l_Lean_throwMaxRecDepthAt___at_Lean_Meta_whnfImp___spec__2___closed__1 = _init_l lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_whnfImp___spec__2___closed__1); l_Lean_throwMaxRecDepthAt___at_Lean_Meta_whnfImp___spec__2___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Meta_whnfImp___spec__2___closed__2(); lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_whnfImp___spec__2___closed__2); -res = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_8555_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_8553_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/MetavarContext.c b/stage0/stdlib/Lean/MetavarContext.c index 446ea7b119..b596044d63 100644 --- a/stage0/stdlib/Lean/MetavarContext.c +++ b/stage0/stdlib/Lean/MetavarContext.c @@ -16,18 +16,18 @@ extern "C" { LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn_x27___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_State_cache___default; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__59(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_visitLevel___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashMapImp_moveEntries___at_Lean_instantiateExprMVars___spec__6(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadMCtxM___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn_x27___spec__31___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned(lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__7___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__12___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__28___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVarDeclMVars___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__6(lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__10(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__28___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAtAux___at_Lean_isLevelMVarAssigned___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__89(lean_object*, lean_object*, size_t, size_t); @@ -43,25 +43,22 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBindi LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn_x27___spec__28(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignableMVar___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__13(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__63(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__44(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_DependsOn_main(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__1___boxed(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__20___closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__42___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__36(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarKind_toCtorIdx___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_instantiateMVarDeclMVars___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__39___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_contains___at_Lean_isLevelMVarAssigned___spec__1___boxed(lean_object*, lean_object*); @@ -76,26 +73,29 @@ LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___rarg___lambda__1(lean_object*, LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__9(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__26(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__14___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn___spec__35___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_param___override(lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentHashMap_contains___at_Lean_isLevelMVarAssigned___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__16___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__13(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__108(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__19(lean_object*); static lean_object* l_Lean_instInhabitedMetavarDecl___closed__5; LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_exprDependsOn_x27___spec__14(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__20___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__22(lean_object*); lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__103___boxed(lean_object*, lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__9___closed__4; LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadMCtxM___lambda__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_MetavarContext_findUserName_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__31(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_instantiateLCtxMVars___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -114,6 +114,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars__ LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__10; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__31___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11(lean_object*, lean_object*); lean_object* l___private_Std_Data_HashMap_0__Std_numBucketsForCapacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__52___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__97(lean_object*, lean_object*, size_t, size_t); @@ -131,17 +132,18 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars__ static lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__1___closed__3; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn_x27___spec__18(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__71(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__8(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_MetavarContext_MkBinding_reduceLocalContext___spec__1(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_MetavarContext_decls___default___closed__1; +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn_x27___spec__55___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn_x27___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); static lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_assignLevelMVar___spec__2___closed__1; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__48(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__23(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__49___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn_x27___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -157,40 +159,35 @@ static lean_object* l_Lean_instInhabitedMetavarDecl___closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__10___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__26___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__24___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_MetavarContext_MkBinding_Context_binderInfoForMVars___default; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn___spec__34___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_assignLevelMVar___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__14___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_addLevelMVarDecl(lean_object*, lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__9___closed__1; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__10(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__40(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_anyM___at_Lean_hasAssignableMVar___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__104___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__2(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLocalDeclMVars(lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__52(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn_x27___spec__10(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__37___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42(lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__9___closed__2; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_MetavarContext_addLevelMVarDecl___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__2___closed__2; lean_object* l_Lean_Level_succ___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_eAssignment___default; LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__5(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_exprDependsOn___spec__4___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isExprMVarAssignable(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__71___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn_x27___spec__44(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_assign___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__16; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__99___boxed(lean_object*, lean_object*, lean_object*); @@ -200,13 +197,14 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_getLevelMVa LEAN_EXPORT lean_object* l_Lean_instantiateLocalDeclMVars___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__20___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_DependsOn_instMonadMCtxM___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__20(lean_object*, lean_object*); lean_object* lean_local_ctx_mk_let_decl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn_x27___spec__30(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_MetavarContext_addExprMVarDecl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__1(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Lean_MetavarKind_isNatural(uint8_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit___spec__6(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_setMVarKind___boxed(lean_object*, lean_object*, lean_object*); @@ -215,9 +213,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore__ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__90(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn_x27___spec__31(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getInScope___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__16___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_MetavarContext_getExprAssignmentDomain___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__13___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_getDelayedMVarAssignment_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -232,40 +228,40 @@ LEAN_EXPORT lean_object* l_Lean_hasAssignedLevelMVar___rarg___lambda__1___boxed( LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__8(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setMCtx___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__23___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__77___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__78___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__106(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__10(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_erase(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__93___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__70(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__24(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__14___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__4(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__35___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__15(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__40___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_MetavarContext_findUserName_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_mkMVarApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__53___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__26(lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__47___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_mkLambda(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprStructEqExprMInstBEqExprStructEqInstHashableExprStructEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__25___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__102___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__41___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_abstractRange(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_assignDelayedMVar___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__6___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__12___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__11(lean_object*, lean_object*, lean_object*); @@ -276,18 +272,21 @@ LEAN_EXPORT lean_object* l_Lean_MetavarContext_addExprMVarDeclExp___boxed(lean_o LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssigned(lean_object*); uint8_t l_Lean_Level_hasMVar(lean_object*); static lean_object* l_Lean_MetavarContext_getDecl___closed__2; +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__8___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignedLevelMVar___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_MetavarContext_getExprAssignmentDomain___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprStructEqExprMInstBEqExprStructEqInstHashableExprStructEq___closed__4; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__57___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__27(lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__41(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__41(lean_object*, lean_object*, size_t, size_t); @@ -300,16 +299,16 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_MetavarContex LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__32___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_getDecl___closed__1; +LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignExprMVar___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_userNames___default; +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn___spec__18___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__25___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__2___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__9(lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__15___closed__3; static lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadCacheExprStructEqExprM___closed__3; @@ -323,13 +322,13 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars__ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn_x27___spec__26(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__31___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getLocalDeclWithSmallestIdx___closed__3; -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__9(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_anyM___at_Lean_hasAssignableMVar___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_revert(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__85(lean_object*, lean_object*, lean_object*); @@ -338,37 +337,29 @@ lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*) LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_instantiateLCtxMVars___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__11(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignDelayedMVar___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__33___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_instInhabitedMetavarContext; lean_object* lean_array_get_size(lean_object*); -LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssigned___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn___spec__37(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignDelayedMVar___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignableMVar___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__9___closed__3; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__6; -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__17___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_lift_loose_bvars(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprStructEqExprMInstBEqExprStructEqInstHashableExprStructEq___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_State_paramNames___default; LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isExprMVarAssigned___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_setMVarUserName(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarDecl_numScopeArgs___default; static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__13___closed__3; lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__23(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__41___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__43(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__57(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102_(uint8_t, lean_object*); @@ -383,22 +374,21 @@ LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__7(lean_obj LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__49(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_setMCtx___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_instInhabitedMetavarKind; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_instMonadMCtxM___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__48___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__113___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__18___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__33___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_instMonadMCtxStateRefT_x27MetavarContextST___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__20; -LEAN_EXPORT lean_object* l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn_x27___spec__52(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__41___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__14(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__43___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__17___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__29___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Std_mkHashSetImp___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_isLevelMVarAssignable___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -412,21 +402,18 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_localDeclDepend size_t lean_usize_shift_right(size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__22___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__62___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_modify___at_Lean_instMonadMCtxStateRefT_x27MetavarContextST___spec__2(lean_object*); -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__10(lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignedMVar___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__18___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instBEqLocalInstance___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLocalDeclMVars___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__25___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__26___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn___spec__10(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__56___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__29(lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_isAnonymousMVar___boxed(lean_object*, lean_object*); @@ -434,55 +421,57 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore__ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__37___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__48___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateMVarsCore___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn___spec__42___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalContext_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignableMVar___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssigned___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__6(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn___spec__43(lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__94___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__88___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_assignDelayedMVar___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateMVarsCore___spec__9(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn_x27___spec__14(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__35(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__39___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_getExprAssignmentDomain(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_anyM___at_Lean_hasAssignedMVar___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__28___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__14(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__29___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn_x27___spec__9(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__6___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_EXPORT lean_object* l_Std_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__30___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__40___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__19___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__33(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__29___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__30(lean_object*); -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadCacheExprStructEqExprM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAtAux___at_Lean_MVarId_isAssigned___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__46(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__14(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16(lean_object*, lean_object*); static size_t l_Lean_instInhabitedMetavarDecl___closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__19___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__39(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__18___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__38(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__92(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__29(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__73(lean_object*, lean_object*, size_t, size_t); @@ -493,6 +482,7 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAux___at_Lean_isLevelMV LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn_x27___spec__25(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn_x27___spec__20(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_modify___at_Lean_MetavarContext_instMonadMCtxStateRefT_x27MetavarContextST___spec__2___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__9___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__40___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); @@ -500,11 +490,10 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27 LEAN_EXPORT lean_object* l_Nat_forM_loop___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__116___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__34___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__39(lean_object*); +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__12(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVarDeclMVars___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadMCtxM___closed__2; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__9(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn_x27___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_findLocalDeclDependsOn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -516,25 +505,22 @@ lean_object* l_Lean_simpLevelIMax_x27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOnPred___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__5___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVarDeclMVars(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__10___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__17___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_assignDelayedMVar___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn_x27___spec__61(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_anyM___at_Lean_hasAssignedMVar___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_LevelMVarToParam_main_visitApp___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__38(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Nat_foldRevM_loop___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_mkAuxMVarType___spec__1___closed__1; +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__15___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__16(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__46___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssigned___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn_x27(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__16(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__76(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -546,6 +532,7 @@ LEAN_EXPORT lean_object* l_Lean_MetavarContext_revert___boxed(lean_object*, lean LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn_x27___spec__46___boxed(lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadMCtxM___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn___spec__12___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__9___boxed(lean_object*, lean_object*, lean_object*); @@ -557,6 +544,7 @@ LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBin LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__95(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__54___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__40___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__14; static lean_object* l_Nat_foldRevM_loop___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_mkAuxMVarType___spec__1___closed__2; uint64_t l_Lean_Name_hash___override(lean_object*); @@ -564,13 +552,13 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBindi static lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprStructEqExprMInstBEqExprStructEqInstHashableExprStructEq___closed__1; LEAN_EXPORT lean_object* l_Lean_assignDelayedMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignableLevelMVar___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__23___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instantiateLCtxMVars___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__96___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAux___at_Lean_MVarId_isDelayedAssigned___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__74(lean_object*, lean_object*, size_t, size_t); lean_object* l_Std_RBNode_setBlack___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_instMonadMCtxM; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__31___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__30___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -583,7 +571,6 @@ LEAN_EXPORT lean_object* l_Lean_MetavarContext_elimMVarDeps___boxed(lean_object* LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn___spec__18(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_instMonadMCtxStateRefT_x27MetavarContextST(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn___spec__36___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_dAssignment___default; LEAN_EXPORT lean_object* l_Lean_getDelayedMVarRoot___rarg(lean_object*, lean_object*, lean_object*); @@ -593,64 +580,66 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkB LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__42___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__62(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__8(lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__15___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__40(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_List_anyM___at_Lean_hasAssignedMVar___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__30(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn_x27___spec__6___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_exprDependsOn_x27___spec__22___boxed(lean_object*, lean_object*); static lean_object* l_Lean_MetavarKind_noConfusion___rarg___closed__1; +static lean_object* l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_findLocalDeclDependsOn___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_Expr_mvar___override(lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn___spec__45___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__56(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_replace___at___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit___spec__7(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignedMVar___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__6(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__105___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__24___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__10___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__64(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_MetavarContext_getExprAssignmentDomain___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_instantiateLCtxMVars___spec__3___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_instantiateLCtxMVars___rarg___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__39___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__19(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_isUnaryNode___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__29___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__66___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__16(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__17___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_MkBinding_instToStringException___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_main(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn_x27___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__38(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__12(lean_object*); LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_mkAuxMVarType___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_MVarId_assign___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__15(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__6___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_getLevelMVarAssignment_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn_x27___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__37___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__5___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignableLevelMVar___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__12___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_instantiateMVarDeclMVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2___closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__50(lean_object*, lean_object*, size_t, size_t); @@ -663,16 +652,15 @@ static lean_object* l_Lean_MetavarContext_userNames___default___closed__1; LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn___spec__28___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__28___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__6(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__66(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_hasAssignedLevelMVar___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__6(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_instMonadMCtx___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_elem___at___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_DependsOn_instMonadMCtxM___closed__3; LEAN_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__34(lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__25___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__39___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -689,20 +677,17 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBindi LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__8___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__7(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignedLevelMVar(lean_object*); -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Level_normalize___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn_x27___spec__54___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn_x27___spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__35(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__7(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_visitLevel(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__14___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__41(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__39___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignableMVar___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_mkLevelMax_x27(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__6(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadCacheExprStructEqExprM___closed__1; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_MetavarKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); @@ -713,17 +698,18 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn_x27___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAtAux___at_Lean_MVarId_isDelayedAssigned___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__6(lean_object*, lean_object*); lean_object* l_Lean_simpLevelMax_x27(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_abstractRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__34(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__68(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__9(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn_x27___spec__5___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__10___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isMVarDelayedAssigned(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__27___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn_x27___spec__7___boxed(lean_object*, lean_object*, lean_object*); @@ -737,7 +723,6 @@ LEAN_EXPORT lean_object* l_Lean_instantiateMVarDeclMVars___rarg___lambda__3(lean LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_instMonadMCtxM___lambda__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__98(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__38___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__10___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -751,22 +736,22 @@ static lean_object* l_Lean_MetavarContext_instInhabitedMetavarContext___closed__ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_MetavarContext_addExprMVarDecl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__37___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__36___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); lean_object* lean_name_append_index_after(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_MetavarContext_LevelMVarToParam_instMonadMCtxM___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__104(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_MkBinding_instToStringException___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_mkLevelIMax_x27(lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_MetavarContext_instMonadMCtxStateRefT_x27MetavarContextST___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__24(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__60___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__50___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__58(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_LevelMVarToParam_main_visitApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -775,7 +760,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars__ uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__34___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedMetavarDecl___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_lDepth___default; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__65___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVarDeclMVars___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -794,19 +778,17 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVar LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__29___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_getDecl___closed__3; -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__9(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateMVarsCore___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__34___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn_x27___spec__15___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__19___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn_x27___spec__55(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashSetImp_expand___at___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_elimMVarDeps(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_StateT_get___at_Lean_DependsOn_instMonadMCtxM___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__54(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn_x27___spec__62(lean_object*, lean_object*); @@ -814,6 +796,7 @@ lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_setMVarType(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedMetavarDecl___closed__2; LEAN_EXPORT lean_object* l_Lean_MetavarContext_decls___default; +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_mkBinding___spec__3(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__8(lean_object*, lean_object*, size_t, size_t); @@ -822,6 +805,7 @@ LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___lambda__1__ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__100___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_DependsOn_instMonadMCtxM___closed__2; LEAN_EXPORT lean_object* l_Lean_exprDependsOn_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__11(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__31(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__75(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__35___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); @@ -829,12 +813,15 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars__ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_mkAuxMVarType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__27___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedMetavarDecl___closed__8; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn___spec__34(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__39___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Expr_hash(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__4(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__34___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__33___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -848,24 +835,21 @@ LEAN_EXPORT lean_object* l_Lean_findExprDependsOn(lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__22___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_MetavarContext_getExprAssignmentCore_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__27___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__15; LEAN_EXPORT lean_object* l_Std_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashSetImp_insert___at___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit___spec__3(lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__18; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__31___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__38___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_getFVar_x21(lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn_x27___spec__23(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__16___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_getLevelMVarAssignment_x3f___spec__2(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__20___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2(lean_object*); static lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadCacheExprStructEqExprM___closed__2; LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -874,7 +858,6 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_localDeclDepend LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__43___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l___private_Lean_Expr_0__Lean_hashMVarId____x40_Lean_Expr___hyg_2138_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getLocalDeclWithSmallestIdx(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__5; LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_exprDependsOn_x27___spec__14___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_MVarId_assign___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); @@ -887,19 +870,17 @@ LEAN_EXPORT lean_object* l_modify___at_Lean_MetavarContext_instMonadMCtxStateRef LEAN_EXPORT lean_object* l_List_replace___at___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit___spec__7___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarKind_toCtorIdx(uint8_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__13(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__37___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__64___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__3; -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___rarg___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateMVars___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___lambda__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__15(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__66___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__42(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__17___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__4___rarg(lean_object*, lean_object*); static lean_object* l_Lean_isLevelMVarAssignable___rarg___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_hasAssignableMVar___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedMetavarDecl___closed__9; @@ -912,16 +893,14 @@ LEAN_EXPORT lean_object* l_Lean_LocalInstances_erase(lean_object*, lean_object*) LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__61(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn_x27___spec__17(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentHashMap_containsAtAux___at_Lean_isLevelMVarAssigned___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isExprMVarAssignable___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadCacheExprStructEqExprM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__18(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__114___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__7(lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentHashMap_containsAux___at_Lean_MVarId_isAssigned___spec__2(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__95___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at_Lean_MetavarContext_LevelMVarToParam_main___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__10(lean_object*, lean_object*); static lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__1___closed__1; LEAN_EXPORT lean_object* l_modify___at_Lean_instMonadMCtxStateRefT_x27MetavarContextST___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__78(lean_object*, lean_object*); @@ -930,7 +909,6 @@ extern lean_object* l_Lean_instInhabitedExpr; static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__17; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__15(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__13(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__66(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__33(lean_object*); static lean_object* l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2___closed__3; @@ -942,23 +920,24 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v size_t lean_usize_modn(size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignedMVar___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__43(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__23___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_setMCtx___rarg___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_instantiateLCtxMVars___spec__3(lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__16(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__25___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__2___rarg(lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn_x27___spec__46(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLCtxMVars___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__42___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn_x27___spec__11(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadMCtxM___lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__32(lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_reverse___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__12(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentHashMap_containsAtAux___at_Lean_MVarId_isAssigned___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__42___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprStructEqExprMInstBEqExprStructEqInstHashableExprStructEq___closed__3; -LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__6___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__14(lean_object*); lean_object* l_Lean_LocalDecl_toExpr(lean_object*); @@ -972,14 +951,12 @@ LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentA LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__25(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__7(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__40(lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_abstractRange(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__21___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentHashMap_containsAux___at_Lean_isLevelMVarAssigned___spec__2(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_getExprAssignmentCore_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__37___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_exprDependsOn___spec__5(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_isLevelMVarAssignable___spec__2(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__102(lean_object*, lean_object*); @@ -987,23 +964,20 @@ size_t lean_usize_mul(size_t, size_t); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAux___at_Lean_MVarId_isAssigned___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__1; LEAN_EXPORT lean_object* l_Lean_instantiateMVars(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__60(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__15(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__72___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2___closed__1; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_getDelayedMVarAssignment_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Expr_bvar___override(lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn_x27___spec__21(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLCtxMVars(lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprStructEqExprMInstBEqExprStructEqInstHashableExprStructEq___lambda__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getInScope___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn___spec__21___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_instantiateLCtxMVars___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__25(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__59(lean_object*, lean_object*, lean_object*); @@ -1011,16 +985,13 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v LEAN_EXPORT lean_object* l_Lean_isMVarDelayedAssigned___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__83___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn_x27___spec__47___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__15___closed__1; -LEAN_EXPORT lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__33(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__13___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_indexOfAux___at_Lean_MetavarContext_setMVarUserName___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__43___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); @@ -1037,7 +1008,8 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_ LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__7(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_instInhabitedLocalInstance___closed__2; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44(lean_object*, lean_object*); uint8_t l_Lean_Expr_isLambda(lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_main_visitApp(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedLocalInstance; @@ -1051,41 +1023,32 @@ lean_object* l_EStateM_instMonadEStateM(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__9___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__57(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__33___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__27___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__13(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_MetavarContext_getExprAssignmentDomain___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__17___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_collectForwardDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn_x27___spec__20(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__4; -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__28___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__38(lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_MVarId_assign___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVarDeclMVars___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___rarg___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_setMCtx(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__75___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_mkForall___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__41___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_dependsOn(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__16(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__67___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn_x27___spec__23___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__38___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__24___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__6___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); static lean_object* l_Lean_instInhabitedLocalInstance___closed__1; LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__10(lean_object*, lean_object*, lean_object*); @@ -1093,33 +1056,33 @@ LEAN_EXPORT lean_object* l_Lean_MetavarContext_setMVarUserNameTemporarily(lean_o LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__101___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__39(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__109(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__14(lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__9; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__19(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__6___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__8(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_assignLevelMVar___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__15(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__8; LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__111(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_MetavarContext_LevelMVarToParam_main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__19(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn_x27___spec__15(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_instantiateMVarDeclMVars___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__19___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__14___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn_x27___spec__16(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__93(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___closed__2; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__29(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__40(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__7___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn___spec__19(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__25___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instReprMetavarKind; LEAN_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); @@ -1129,11 +1092,12 @@ static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__19___closed__2; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_isLevelMVarAssignable___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_indexOfAux___at_Lean_MetavarContext_setMVarUserName___spec__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__13; LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__14(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__87___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__38___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_MetavarContext_getDecl___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_insert___at_Lean_MetavarContext_mkBinding___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__33___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1147,7 +1111,6 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_MetavarCont LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__72(lean_object*, lean_object*, size_t, size_t); size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__12___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__38___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__19___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVarDeclMVars___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___rarg(lean_object*, lean_object*, lean_object*); @@ -1155,13 +1118,13 @@ LEAN_EXPORT uint8_t l_Lean_MetavarContext_isAnonymousMVar(lean_object*, lean_obj LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_instantiateLCtxMVars___spec__2(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__19(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__26___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateMVarsCore___spec__12(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__9(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_index(lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__88(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Lean_MetavarKind_isSyntheticOpaque(uint8_t); +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__8(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__47(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__69___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instMonadMCtxStateRefT_x27MetavarContextST(lean_object*); @@ -1178,6 +1141,7 @@ extern uint8_t l_instInhabitedBool; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__112___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_instToStringException(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__77(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_MetavarContext_getExprAssignmentDomain___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1186,15 +1150,16 @@ LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_preserveOrder(lean_obje LEAN_EXPORT lean_object* l_Lean_hasAssignedMVar___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__30___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__19___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_collectForwardDeps___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn_x27___spec__9(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__23(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__22___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_instantiateMVarDeclMVars___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__40(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadMCtxM___lambda__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__47(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_exprDependsOn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn_x27___spec__53(lean_object*, lean_object*, lean_object*); @@ -1206,20 +1171,18 @@ static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__11___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__58(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn_x27___spec__63___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__13___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__11(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__58___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_mkBinding___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__38___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__13(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_modify___at_Lean_instMonadMCtxStateRefT_x27MetavarContextST___spec__2___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); uint8_t lean_expr_equal(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__69(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__5(lean_object*); extern lean_object* l_Id_instMonadId; LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn___spec__36(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__15(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__106___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentHashMap_containsAux___at_Lean_MVarId_isDelayedAssigned___spec__2(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__32___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1229,7 +1192,6 @@ uint8_t lean_usize_dec_le(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_assignExprMVar(lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_replace___at_Lean_instantiateExprMVars___spec__8(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__32(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__25___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__41___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1241,26 +1203,27 @@ uint8_t l_Std_RBNode_isRed___rarg(lean_object*); lean_object* l_Lean_Expr_betaRev(lean_object*, lean_object*, uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn___spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__41___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__96(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_MetavarContext_MkBinding_instToStringException___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn___spec__21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__6___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__4___closed__3; +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__2; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_erase___at_Lean_MetavarContext_setMVarUserName___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__11___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__26(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignLevelMVar(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); uint8_t l_Lean_Name_isAnonymous(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__18___closed__2; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_eraseAux___at_Lean_MetavarContext_setMVarUserName___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_addExprMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn___spec__28(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__17(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Std_HashSetImp_contains___at___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit___spec__1___boxed(lean_object*, lean_object*); static size_t l_Std_PersistentHashMap_findAux___at_Lean_getLevelMVarAssignment_x3f___spec__2___closed__1; @@ -1268,18 +1231,19 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_co static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__15___closed__2; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_assignLevelMVar___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_MetavarContext_addLevelMVarDecl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__17(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__91___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_assignDelayedMVar___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__48(lean_object*, lean_object*, size_t, size_t); static lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getLocalDeclWithSmallestIdx___closed__1; -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__14(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__9___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__12(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadCacheExprStructEqExprM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn___spec__10___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLocalDeclMVars___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1295,8 +1259,6 @@ LEAN_EXPORT lean_object* l_List_anyM___at_Lean_hasAssignableMVar___spec__1___rar LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__32(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__6___boxed(lean_object*, lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__11___closed__3; -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__13(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__11(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__8(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__7___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__13___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1306,7 +1268,6 @@ LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkB static lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getLocalDeclWithSmallestIdx___closed__2; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_eraseAux___at_Lean_MetavarContext_setMVarUserName___spec__2(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__8(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_MetavarContext_usedAssignment___default; LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_instMonadMCtxM___lambda__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getDelayedMVarRoot___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1324,14 +1285,11 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars__ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__13___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_toStringAux___at_Lean_MetavarContext_MkBinding_instToStringException___spec__3(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_LocalInstances_erase___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_instantiateLCtxMVars___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__16___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__19(lean_object*, lean_object*, size_t, size_t); lean_object* l_Array_eraseIdx_x27___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_mkAuxMVarType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26___boxed(lean_object*, lean_object*, lean_object*); @@ -1347,10 +1305,9 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_isLevelMVarA LEAN_EXPORT lean_object* l_Lean_instantiateLocalDeclMVars___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_exprDependsOn_x27___spec__22(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__15___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_instantiateMVarsCore___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_instantiateExprMVars___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__6___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); @@ -1359,12 +1316,10 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_MkBinding_instMonadMCtxM___closed__1; LEAN_EXPORT lean_object* l_Lean_DependsOn_instMonadMCtxM___lambda__1___boxed(lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__12(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_mkFreshBinderName(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprStructEqExprMInstBEqExprStructEqInstHashableExprStructEq___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn_x27___spec__5(lean_object*); -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__16(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__37___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); @@ -1374,28 +1329,28 @@ static lean_object* l_Lean_MetavarContext_MkBinding_State_cache___default___clos LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn_x27___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__32___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getLocalDeclWithSmallestIdx___closed__4; +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__13___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__13___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elim___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__4(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__18(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__70___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__112(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__13(lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_TSyntax_getNat___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_anyM___at_Lean_hasAssignableMVar___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_getDelayedMVarAssignment_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlFromMAux___at_Lean_instantiateLCtxMVars___spec__3___rarg___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_abstractRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn___spec__19___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_modify___at_Lean_MetavarContext_instMonadMCtxStateRefT_x27MetavarContextST___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVarsCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1405,6 +1360,7 @@ static lean_object* l_Lean_MetavarContext_MkBinding_instToStringException___clos LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__11___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__10(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__42___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__32(lean_object*, lean_object*); @@ -1426,11 +1382,12 @@ LEAN_EXPORT lean_object* l_Lean_MetavarContext_getLevelDepth(lean_object*, lean_ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__51(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_ins___at_Lean_MetavarContext_mkBinding___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__113(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_isLevelMVarAssignable___spec__4(lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__89___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_isLevelMVarAssignable___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__28___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_MetavarContext_getExprAssignmentCore_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_mkBinding(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); @@ -1439,13 +1396,15 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars__ LEAN_EXPORT lean_object* l_Lean_dependsOnPred___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__11; LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__94(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_AssocList_contains___at_Lean_instantiateExprMVars___spec__4(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__36___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__35___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn___spec__37___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_MetavarContext_instMonadMCtxStateRefT_x27MetavarContextST___spec__1___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn___spec__26___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_mkAppRangeAux(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1456,9 +1415,11 @@ uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_371_( LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_DependsOn_instMonadMCtxM___spec__2___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_MetavarContext_findUserName_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignDelayedMVar___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn___spec__45(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__21(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__6___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignedMVar___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* lean_expr_abstract(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__1(lean_object*, lean_object*, lean_object*); @@ -1474,46 +1435,43 @@ LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_v LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_MetavarContext_getDecl___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_MetavarContext_getExprAssignmentDomain___spec__2___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__55(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__11___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_elem___at___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit___spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_mkMVarApp(lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__17___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_anyM___at_Lean_hasAssignedMVar___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__14(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__36(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn___spec__5___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__6___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_EXPORT lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn_x27___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_instantiateLCtxMVars___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__24___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn_x27___spec__63(lean_object*, lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__19___closed__1; LEAN_EXPORT uint8_t l_Std_HashSetImp_contains___at___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9(lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_MetavarContext_addLevelMVarDecl___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__21___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__58___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__30___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getLevelMVarAssignment_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_preserveOrder___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__2(lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_instantiateLCtxMVars___rarg___closed__3; LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__6___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__55___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOnPred(lean_object*); -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__17(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__32___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn_x27___spec__15(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_lAssignment___default; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_exprDependsOn___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_isLevelMVarAssignable___rarg___lambda__1___closed__4; lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__22___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__48___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__4___boxed(lean_object*, lean_object*, lean_object*); @@ -1525,8 +1483,8 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBindi LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_instantiateMVarsCore___spec__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignedMVar(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__68___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__38___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn_x27___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignableLevelMVar___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); @@ -1540,24 +1498,21 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_getDelayedMVa LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn_x27___spec__45(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_MkBinding_instToStringException___closed__4; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_withFreshCache___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__18___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_dependsOnPred(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__4___rarg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashSetImp_moveEntries___at___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit___spec__5(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__8(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__24(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignedMVar___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__111___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_isLevelMVarAssignable___spec__4___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__14___boxed(lean_object*, lean_object*); lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_MetavarContext_getDecl___spec__2(lean_object*, size_t, lean_object*); -static lean_object* l_Lean_markUsedAssignment___rarg___closed__1; -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__99(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1573,12 +1528,13 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars__ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_reduceLocalContext(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5(lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__20___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn_x27___spec__62___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarDecl_userName___default; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_MetavarContext_getExprAssignmentDomain___spec__4(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__86(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment(lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn___spec__44(lean_object*, lean_object*); static lean_object* l_List_toStringAux___at_Lean_MetavarContext_MkBinding_instToStringException___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned(lean_object*); @@ -1587,7 +1543,6 @@ LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentA LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_MetavarContext_findUserName_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__64___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__2___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__15(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isExprMVarAssigned(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__35___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__33(lean_object*, lean_object*, size_t, size_t); @@ -1599,78 +1554,70 @@ LEAN_EXPORT lean_object* l_Lean_MetavarKind_noConfusion___rarg___lambda__1___box LEAN_EXPORT lean_object* l_Std_HashMapImp_expand___at_Lean_instantiateExprMVars___spec__5(lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarKind_isSyntheticOpaque___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_MetavarContext_getDecl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__26___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_MetavarContext_LevelMVarToParam_main_visitApp___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__85___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn_x27___spec__30___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignedLevelMVar___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___lambda__2(lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__5___boxed(lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_getLevelDepth___closed__2; lean_object* l_Std_instInhabitedPersistentArrayNode(lean_object*); -LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__1(lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprStructEqExprMInstBEqExprStructEqInstHashableExprStructEq; +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__92___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__59___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_MkBinding_instMonadHashMapCacheAdapterExprStructEqExprMInstBEqExprStructEqInstHashableExprStructEq___closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__42(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__41___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn_x27___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLocalDeclMVars___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__4(lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__14(lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_findUserName_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn_x27___spec__11(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__15___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__25(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_mkAuxMVarType___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_MetavarContext_MkBinding_instMonadMCtxM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__8___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__5___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__10(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_DependsOn_instMonadMCtxM___closed__1; LEAN_EXPORT lean_object* l_Std_AssocList_foldlM___at_Lean_instantiateExprMVars___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_isLevelMVarAssignable___rarg___lambda__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__17(lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__30___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_mkBinding___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasFVar(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__21___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__90___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_getExprAssignmentDomain___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__38(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_mkMVarApp___spec__1(lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*); lean_object* l_Nat_foldRevM_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__13(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__30(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn_x27___spec__38___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__22___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn_x27___spec__24(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MetavarContext_0__Lean_reprMetavarKind____x40_Lean_MetavarContext___hyg_102____closed__7; +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_assignDelayedMVar___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__35___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__22___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__44___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___rarg___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__5___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__31___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__27___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__56(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn_x27___spec__12(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_instMonadMCtxM___lambda__1(lean_object*, lean_object*); @@ -1681,11 +1628,9 @@ LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_localDeclDependsOn_x27_ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__48(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_instReprMetavarKind___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_visitLevel___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__91(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_MetavarContext_getExprAssignmentCore_x3f___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignedMVar___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getInScope___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -1694,7 +1639,6 @@ static lean_object* l_Lean_MetavarContext_MkBinding_instMonadMCtxM___closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__39(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__18(lean_object*, lean_object*, size_t, size_t); lean_object* lean_nat_to_int(lean_object*); -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn_x27___spec__23(lean_object*, lean_object*); @@ -1704,40 +1648,37 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore__ lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_MetavarContext_findUserName_x3f___spec__2(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_DependsOn_instMonadMCtxM___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__18___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__1___closed__2; LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn_x27___spec__39(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__39___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_revert(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__31___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__38___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__16(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__35___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__35(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__20(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18___rarg(lean_object*, lean_object*); uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__105(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__63___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__31(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssigned___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__40___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_getInScope(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__20(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__10(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__84(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__33___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn_x27___spec__8(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__81(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__100(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn_x27___spec__47(lean_object*, lean_object*); -static lean_object* l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_MetavarContext_getExprAssignmentCore_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__35___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_localDeclDependsOn___spec__13(lean_object*, lean_object*); @@ -1749,27 +1690,24 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MetavarContext_MkBi LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__39___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_MetavarContext_getDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_instMonadCacheExprStructEqExprM; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20(lean_object*, lean_object*); static lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__6(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__10___closed__2; LEAN_EXPORT lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at_Lean_instantiateLCtxMVars___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__2___closed__3; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__37(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__5(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__56___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateExprMVars___rarg___lambda__18(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MetavarContext_MkBinding_instMonadMCtxM___lambda__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instMonadMCtx___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__43(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__35(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_foldlM___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__53(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_mkMVarApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_runST___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__23___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__16___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_localDeclDependsOn___spec__42(lean_object*, lean_object*, lean_object*); @@ -1781,19 +1719,18 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBindi static lean_object* l_Lean_instantiateExprMVars___rarg___lambda__10___closed__1; lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignableLevelMVar___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__79___boxed(lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isLet(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_localDeclDependsOn_x27___spec__18(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_localDeclDependsOn_x27___spec__34(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__24(lean_object*, lean_object*, size_t, size_t); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasAssignedMVar___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_MVarId_assign___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__20___rarg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Repr_addAppParen(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_toStringAux___at_Lean_MetavarContext_MkBinding_instToStringException___spec__3___boxed(lean_object*, lean_object*); @@ -2595,14 +2532,6 @@ x_1 = l_Lean_MetavarContext_decls___default___closed__1; return x_1; } } -static uint8_t _init_l_Lean_MetavarContext_usedAssignment___default() { -_start: -{ -uint8_t x_1; -x_1 = 0; -return x_1; -} -} LEAN_EXPORT lean_object* l_Lean_instMonadMCtx___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2640,201 +2569,12 @@ x_3 = lean_alloc_closure((void*)(l_Lean_instMonadMCtx___rarg), 2, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___rarg___lambda__1(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = !lean_is_exclusive(x_1); -if (x_2 == 0) -{ -uint8_t x_3; -x_3 = 1; -lean_ctor_set_uint8(x_1, sizeof(void*)*8, x_3); -return x_1; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = lean_ctor_get(x_1, 2); -x_7 = lean_ctor_get(x_1, 3); -x_8 = lean_ctor_get(x_1, 4); -x_9 = lean_ctor_get(x_1, 5); -x_10 = lean_ctor_get(x_1, 6); -x_11 = lean_ctor_get(x_1, 7); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_dec(x_1); -x_12 = 1; -x_13 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_5); -lean_ctor_set(x_13, 2, x_6); -lean_ctor_set(x_13, 3, x_7); -lean_ctor_set(x_13, 4, x_8); -lean_ctor_set(x_13, 5, x_9); -lean_ctor_set(x_13, 6, x_10); -lean_ctor_set(x_13, 7, x_11); -lean_ctor_set_uint8(x_13, sizeof(void*)*8, x_12); -return x_13; -} -} -} -static lean_object* _init_l_Lean_markUsedAssignment___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___rarg___lambda__1), 1, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = lean_ctor_get(x_1, 1); -lean_inc(x_2); -lean_dec(x_1); -x_3 = l_Lean_markUsedAssignment___rarg___closed__1; -x_4 = lean_apply_1(x_2, x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___rarg), 1, 0); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_setMCtx___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_3; -x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 2); -lean_inc(x_6); -x_7 = lean_ctor_get(x_1, 3); -lean_inc(x_7); -x_8 = lean_ctor_get(x_1, 4); -lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 5); -lean_inc(x_9); -x_10 = lean_ctor_get(x_1, 6); -lean_inc(x_10); -x_11 = lean_ctor_get(x_1, 7); -lean_inc(x_11); -lean_dec(x_1); -x_12 = !lean_is_exclusive(x_2); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_13 = lean_ctor_get(x_2, 7); -lean_dec(x_13); -x_14 = lean_ctor_get(x_2, 6); -lean_dec(x_14); -x_15 = lean_ctor_get(x_2, 5); -lean_dec(x_15); -x_16 = lean_ctor_get(x_2, 4); -lean_dec(x_16); -x_17 = lean_ctor_get(x_2, 3); -lean_dec(x_17); -x_18 = lean_ctor_get(x_2, 2); -lean_dec(x_18); -x_19 = lean_ctor_get(x_2, 1); -lean_dec(x_19); -x_20 = lean_ctor_get(x_2, 0); -lean_dec(x_20); -lean_ctor_set(x_2, 7, x_11); -lean_ctor_set(x_2, 6, x_10); -lean_ctor_set(x_2, 5, x_9); -lean_ctor_set(x_2, 4, x_8); -lean_ctor_set(x_2, 3, x_7); -lean_ctor_set(x_2, 2, x_6); -lean_ctor_set(x_2, 1, x_5); -lean_ctor_set(x_2, 0, x_4); -return x_2; -} -else -{ -uint8_t x_21; lean_object* x_22; -x_21 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); -lean_dec(x_2); -x_22 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_22, 0, x_4); -lean_ctor_set(x_22, 1, x_5); -lean_ctor_set(x_22, 2, x_6); -lean_ctor_set(x_22, 3, x_7); -lean_ctor_set(x_22, 4, x_8); -lean_ctor_set(x_22, 5, x_9); -lean_ctor_set(x_22, 6, x_10); -lean_ctor_set(x_22, 7, x_11); -lean_ctor_set_uint8(x_22, sizeof(void*)*8, x_21); -return x_22; -} -} -else -{ -uint8_t x_23; -lean_dec(x_2); -x_23 = !lean_is_exclusive(x_1); -if (x_23 == 0) -{ -uint8_t x_24; -x_24 = 1; -lean_ctor_set_uint8(x_1, sizeof(void*)*8, x_24); +lean_inc(x_1); return x_1; } -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; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; -x_25 = lean_ctor_get(x_1, 0); -x_26 = lean_ctor_get(x_1, 1); -x_27 = lean_ctor_get(x_1, 2); -x_28 = lean_ctor_get(x_1, 3); -x_29 = lean_ctor_get(x_1, 4); -x_30 = lean_ctor_get(x_1, 5); -x_31 = lean_ctor_get(x_1, 6); -x_32 = lean_ctor_get(x_1, 7); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_1); -x_33 = 1; -x_34 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_34, 0, x_25); -lean_ctor_set(x_34, 1, x_26); -lean_ctor_set(x_34, 2, x_27); -lean_ctor_set(x_34, 3, x_28); -lean_ctor_set(x_34, 4, x_29); -lean_ctor_set(x_34, 5, x_30); -lean_ctor_set(x_34, 6, x_31); -lean_ctor_set(x_34, 7, x_32); -lean_ctor_set_uint8(x_34, sizeof(void*)*8, x_33); -return x_34; -} -} -} } LEAN_EXPORT lean_object* l_Lean_setMCtx___rarg(lean_object* x_1, lean_object* x_2) { _start: @@ -2843,7 +2583,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; x_3 = lean_ctor_get(x_1, 1); lean_inc(x_3); lean_dec(x_1); -x_4 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1), 2, 1); +x_4 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); lean_closure_set(x_4, 0, x_2); x_5 = lean_apply_1(x_3, x_4); return x_5; @@ -2857,6 +2597,16 @@ x_2 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg), 2, 0); return x_2; } } +LEAN_EXPORT lean_object* l_Lean_setMCtx___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_setMCtx___rarg___lambda__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_getLevelMVarAssignment_x3f___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -3014,54 +2764,19 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1(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_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = lean_ctor_get(x_1, 0); lean_inc(x_4); lean_dec(x_1); x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); lean_dec(x_4); -x_6 = lean_apply_2(x_5, lean_box(0), x_2); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_5, 5); +x_6 = lean_ctor_get(x_3, 5); lean_inc(x_6); -lean_dec(x_5); -x_7 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_6, x_1); -lean_inc(x_7); -lean_inc(x_2); -x_8 = lean_alloc_closure((void*)(l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1___boxed), 3, 2); -lean_closure_set(x_8, 0, x_2); -lean_closure_set(x_8, 1, x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -lean_dec(x_4); -x_9 = lean_ctor_get(x_2, 0); -lean_inc(x_9); -lean_dec(x_2); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_box(0); -x_12 = lean_apply_2(x_10, lean_box(0), x_11); -x_13 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_12, x_8); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_7); -lean_dec(x_2); -x_14 = l_Lean_markUsedAssignment___rarg(x_4); -x_15 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_14, x_8); -return x_15; -} +lean_dec(x_3); +x_7 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_6, x_2); +x_8 = lean_apply_2(x_5, lean_box(0), x_7); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_getLevelMVarAssignment_x3f___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -3072,12 +2787,10 @@ x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); x_5 = lean_ctor_get(x_2, 0); lean_inc(x_5); -lean_inc(x_4); -x_6 = lean_alloc_closure((void*)(l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__2), 5, 4); -lean_closure_set(x_6, 0, x_3); -lean_closure_set(x_6, 1, x_1); -lean_closure_set(x_6, 2, x_4); -lean_closure_set(x_6, 3, x_2); +lean_dec(x_2); +x_6 = lean_alloc_closure((void*)(l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1), 3, 2); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_3); x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6); return x_7; } @@ -3112,15 +2825,6 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_MetavarContext_getExprAssignmentCore_x3f___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -3288,40 +2992,19 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_6; lean_object* x_7; -x_6 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_5, x_1); -lean_inc(x_6); -lean_inc(x_2); -x_7 = lean_alloc_closure((void*)(l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1___boxed), 3, 2); -lean_closure_set(x_7, 0, x_2); -lean_closure_set(x_7, 1, x_6); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); lean_dec(x_4); -x_8 = lean_ctor_get(x_2, 0); -lean_inc(x_8); -lean_dec(x_2); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_box(0); -x_11 = lean_apply_2(x_9, lean_box(0), x_10); -x_12 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_11, x_7); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_6); -lean_dec(x_2); -x_13 = l_Lean_markUsedAssignment___rarg(x_4); -x_14 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_13, x_7); -return x_14; -} +x_6 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_3, x_2); +x_7 = lean_apply_2(x_5, lean_box(0), x_6); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -3332,12 +3015,10 @@ x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); x_5 = lean_ctor_get(x_2, 0); lean_inc(x_5); -lean_inc(x_4); -x_6 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___rarg___lambda__1), 5, 4); -lean_closure_set(x_6, 0, x_3); -lean_closure_set(x_6, 1, x_1); -lean_closure_set(x_6, 2, x_4); -lean_closure_set(x_6, 3, x_2); +lean_dec(x_2); +x_6 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___rarg___lambda__1), 3, 2); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_3); x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6); return x_7; } @@ -3484,43 +3165,22 @@ lean_dec(x_2); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_5, 7); -lean_inc(x_6); -lean_dec(x_5); -x_7 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_6, x_1); -lean_inc(x_7); -lean_inc(x_2); -x_8 = lean_alloc_closure((void*)(l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1___boxed), 3, 2); -lean_closure_set(x_8, 0, x_2); -lean_closure_set(x_8, 1, x_7); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); lean_dec(x_4); -x_9 = lean_ctor_get(x_2, 0); -lean_inc(x_9); -lean_dec(x_2); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_box(0); -x_12 = lean_apply_2(x_10, lean_box(0), x_11); -x_13 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_12, x_8); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_7); -lean_dec(x_2); -x_14 = l_Lean_markUsedAssignment___rarg(x_4); -x_15 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_14, x_8); -return x_15; -} +x_6 = lean_ctor_get(x_3, 7); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_6, x_2); +x_8 = lean_apply_2(x_5, lean_box(0), x_7); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -3531,12 +3191,10 @@ x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); x_5 = lean_ctor_get(x_2, 0); lean_inc(x_5); -lean_inc(x_4); -x_6 = lean_alloc_closure((void*)(l_Lean_getDelayedMVarAssignment_x3f___rarg___lambda__1), 5, 4); -lean_closure_set(x_6, 0, x_3); -lean_closure_set(x_6, 1, x_1); -lean_closure_set(x_6, 2, x_4); -lean_closure_set(x_6, 3, x_2); +lean_dec(x_2); +x_6 = lean_alloc_closure((void*)(l_Lean_getDelayedMVarAssignment_x3f___rarg___lambda__1), 3, 2); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_3); x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6); return x_7; } @@ -3764,34 +3422,18 @@ x_9 = lean_apply_2(x_5, lean_box(0), x_8); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssigned___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_alloc_closure((void*)(l_Lean_isLevelMVarAssigned___rarg___lambda__1), 3, 2); -lean_closure_set(x_7, 0, x_2); -lean_closure_set(x_7, 1, x_3); -x_8 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_6, x_7); -return x_8; -} -} LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssigned___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); -lean_inc(x_2); -x_5 = l_Lean_markUsedAssignment___rarg(x_2); -lean_inc(x_4); -x_6 = lean_alloc_closure((void*)(l_Lean_isLevelMVarAssigned___rarg___lambda__2___boxed), 5, 4); -lean_closure_set(x_6, 0, x_2); -lean_closure_set(x_6, 1, x_1); -lean_closure_set(x_6, 2, x_3); -lean_closure_set(x_6, 3, x_4); +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_alloc_closure((void*)(l_Lean_isLevelMVarAssigned___rarg___lambda__1), 3, 2); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_3); x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6); return x_7; } @@ -3837,15 +3479,6 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssigned___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_isLevelMVarAssigned___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -return x_6; -} -} LEAN_EXPORT uint8_t l_Std_PersistentHashMap_containsAtAux___at_Lean_MVarId_isAssigned___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -3982,34 +3615,18 @@ x_9 = lean_apply_2(x_5, lean_box(0), x_8); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_alloc_closure((void*)(l_Lean_MVarId_isAssigned___rarg___lambda__1), 3, 2); -lean_closure_set(x_7, 0, x_2); -lean_closure_set(x_7, 1, x_3); -x_8 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_6, x_7); -return x_8; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); -lean_inc(x_2); -x_5 = l_Lean_markUsedAssignment___rarg(x_2); -lean_inc(x_4); -x_6 = lean_alloc_closure((void*)(l_Lean_MVarId_isAssigned___rarg___lambda__2___boxed), 5, 4); -lean_closure_set(x_6, 0, x_2); -lean_closure_set(x_6, 1, x_1); -lean_closure_set(x_6, 2, x_3); -lean_closure_set(x_6, 3, x_4); +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_alloc_closure((void*)(l_Lean_MVarId_isAssigned___rarg___lambda__1), 3, 2); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_3); x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6); return x_7; } @@ -4055,15 +3672,6 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_MVarId_isAssigned___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -return x_6; -} -} LEAN_EXPORT lean_object* l_Lean_isExprMVarAssigned___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -4216,34 +3824,18 @@ x_9 = lean_apply_2(x_5, lean_box(0), x_8); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_alloc_closure((void*)(l_Lean_MVarId_isDelayedAssigned___rarg___lambda__1), 3, 2); -lean_closure_set(x_7, 0, x_2); -lean_closure_set(x_7, 1, x_3); -x_8 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_6, x_7); -return x_8; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); -lean_inc(x_2); -x_5 = l_Lean_markUsedAssignment___rarg(x_2); -lean_inc(x_4); -x_6 = lean_alloc_closure((void*)(l_Lean_MVarId_isDelayedAssigned___rarg___lambda__2___boxed), 5, 4); -lean_closure_set(x_6, 0, x_2); -lean_closure_set(x_6, 1, x_1); -lean_closure_set(x_6, 2, x_3); -lean_closure_set(x_6, 3, x_4); +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_alloc_closure((void*)(l_Lean_MVarId_isDelayedAssigned___rarg___lambda__1), 3, 2); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_3); x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6); return x_7; } @@ -4289,15 +3881,6 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_MVarId_isDelayedAssigned___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_MVarId_isDelayedAssigned___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -return x_6; -} -} LEAN_EXPORT lean_object* l_Lean_isMVarDelayedAssigned___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -4497,7 +4080,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; x_1 = l_Lean_isLevelMVarAssignable___rarg___lambda__1___closed__1; x_2 = l_Lean_isLevelMVarAssignable___rarg___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(361u); +x_3 = lean_unsigned_to_nat(344u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_isLevelMVarAssignable___rarg___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4543,34 +4126,18 @@ return x_14; } } } -LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_alloc_closure((void*)(l_Lean_isLevelMVarAssignable___rarg___lambda__1), 3, 2); -lean_closure_set(x_7, 0, x_2); -lean_closure_set(x_7, 1, x_3); -x_8 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_6, x_7); -return x_8; -} -} LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); -lean_inc(x_2); -x_5 = l_Lean_markUsedAssignment___rarg(x_2); -lean_inc(x_4); -x_6 = lean_alloc_closure((void*)(l_Lean_isLevelMVarAssignable___rarg___lambda__2___boxed), 5, 4); -lean_closure_set(x_6, 0, x_2); -lean_closure_set(x_6, 1, x_3); -lean_closure_set(x_6, 2, x_1); -lean_closure_set(x_6, 3, x_4); +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_alloc_closure((void*)(l_Lean_isLevelMVarAssignable___rarg___lambda__1), 3, 2); +lean_closure_set(x_6, 0, x_3); +lean_closure_set(x_6, 1, x_1); x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6); return x_7; } @@ -4605,15 +4172,6 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_isLevelMVarAssignable___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_isLevelMVarAssignable___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -return x_6; -} -} LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_MetavarContext_getDecl___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -4779,7 +4337,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; x_1 = l_Lean_isLevelMVarAssignable___rarg___lambda__1___closed__1; x_2 = l_Lean_MetavarContext_getDecl___closed__1; -x_3 = lean_unsigned_to_nat(366u); +x_3 = lean_unsigned_to_nat(349u); x_4 = lean_unsigned_to_nat(17u); x_5 = l_Lean_MetavarContext_getDecl___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4859,34 +4417,18 @@ x_11 = lean_apply_2(x_6, lean_box(0), x_10); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_1, 0); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_alloc_closure((void*)(l_Lean_MVarId_isAssignable___rarg___lambda__1), 3, 2); -lean_closure_set(x_7, 0, x_2); -lean_closure_set(x_7, 1, x_3); -x_8 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_6, x_7); -return x_8; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); -lean_inc(x_2); -x_5 = l_Lean_markUsedAssignment___rarg(x_2); -lean_inc(x_4); -x_6 = lean_alloc_closure((void*)(l_Lean_MVarId_isAssignable___rarg___lambda__2___boxed), 5, 4); -lean_closure_set(x_6, 0, x_2); -lean_closure_set(x_6, 1, x_3); -lean_closure_set(x_6, 2, x_1); -lean_closure_set(x_6, 3, x_4); +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_alloc_closure((void*)(l_Lean_MVarId_isAssignable___rarg___lambda__1), 3, 2); +lean_closure_set(x_6, 0, x_3); +lean_closure_set(x_6, 1, x_1); x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6); return x_7; } @@ -4899,15 +4441,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_MVarId_isAssignable___rarg), 3, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_MVarId_isAssignable___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -return x_6; -} -} LEAN_EXPORT lean_object* l_Lean_isExprMVarAssignable___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -6909,26 +6442,23 @@ uint8_t x_4; x_4 = !lean_is_exclusive(x_3); if (x_4 == 0) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; +lean_object* x_5; lean_object* x_6; x_5 = lean_ctor_get(x_3, 5); x_6 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_5, x_1, x_2); -x_7 = 1; lean_ctor_set(x_3, 5, x_6); -lean_ctor_set_uint8(x_3, sizeof(void*)*8, x_7); return x_3; } 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; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_8 = lean_ctor_get(x_3, 0); -x_9 = lean_ctor_get(x_3, 1); -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_3, 5); -x_14 = lean_ctor_get(x_3, 6); -x_15 = lean_ctor_get(x_3, 7); -lean_inc(x_15); +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; +x_7 = lean_ctor_get(x_3, 0); +x_8 = lean_ctor_get(x_3, 1); +x_9 = lean_ctor_get(x_3, 2); +x_10 = lean_ctor_get(x_3, 3); +x_11 = lean_ctor_get(x_3, 4); +x_12 = lean_ctor_get(x_3, 5); +x_13 = lean_ctor_get(x_3, 6); +x_14 = lean_ctor_get(x_3, 7); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -6936,20 +6466,19 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_dec(x_3); -x_16 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_13, x_1, x_2); -x_17 = 1; -x_18 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_18, 0, x_8); -lean_ctor_set(x_18, 1, x_9); -lean_ctor_set(x_18, 2, x_10); -lean_ctor_set(x_18, 3, x_11); -lean_ctor_set(x_18, 4, x_12); -lean_ctor_set(x_18, 5, x_16); -lean_ctor_set(x_18, 6, x_14); -lean_ctor_set(x_18, 7, x_15); -lean_ctor_set_uint8(x_18, sizeof(void*)*8, x_17); -return x_18; +x_15 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_12, x_1, x_2); +x_16 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_16, 0, x_7); +lean_ctor_set(x_16, 1, x_8); +lean_ctor_set(x_16, 2, x_9); +lean_ctor_set(x_16, 3, x_10); +lean_ctor_set(x_16, 4, x_11); +lean_ctor_set(x_16, 5, x_15); +lean_ctor_set(x_16, 6, x_13); +lean_ctor_set(x_16, 7, x_14); +return x_16; } } } @@ -7540,26 +7069,23 @@ uint8_t x_4; x_4 = !lean_is_exclusive(x_3); if (x_4 == 0) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; +lean_object* x_5; lean_object* x_6; x_5 = lean_ctor_get(x_3, 6); x_6 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_5, x_1, x_2); -x_7 = 1; lean_ctor_set(x_3, 6, x_6); -lean_ctor_set_uint8(x_3, sizeof(void*)*8, x_7); return x_3; } 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; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_8 = lean_ctor_get(x_3, 0); -x_9 = lean_ctor_get(x_3, 1); -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_3, 5); -x_14 = lean_ctor_get(x_3, 6); -x_15 = lean_ctor_get(x_3, 7); -lean_inc(x_15); +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; +x_7 = lean_ctor_get(x_3, 0); +x_8 = lean_ctor_get(x_3, 1); +x_9 = lean_ctor_get(x_3, 2); +x_10 = lean_ctor_get(x_3, 3); +x_11 = lean_ctor_get(x_3, 4); +x_12 = lean_ctor_get(x_3, 5); +x_13 = lean_ctor_get(x_3, 6); +x_14 = lean_ctor_get(x_3, 7); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -7567,20 +7093,19 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_dec(x_3); -x_16 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_14, x_1, x_2); -x_17 = 1; -x_18 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_18, 0, x_8); -lean_ctor_set(x_18, 1, x_9); -lean_ctor_set(x_18, 2, x_10); -lean_ctor_set(x_18, 3, x_11); -lean_ctor_set(x_18, 4, x_12); -lean_ctor_set(x_18, 5, x_13); -lean_ctor_set(x_18, 6, x_16); -lean_ctor_set(x_18, 7, x_15); -lean_ctor_set_uint8(x_18, sizeof(void*)*8, x_17); -return x_18; +x_15 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_13, x_1, x_2); +x_16 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_16, 0, x_7); +lean_ctor_set(x_16, 1, x_8); +lean_ctor_set(x_16, 2, x_9); +lean_ctor_set(x_16, 3, x_10); +lean_ctor_set(x_16, 4, x_11); +lean_ctor_set(x_16, 5, x_12); +lean_ctor_set(x_16, 6, x_15); +lean_ctor_set(x_16, 7, x_14); +return x_16; } } } @@ -8187,29 +7712,26 @@ 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; uint8_t x_9; +lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_4, 7); x_7 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_7, 0, x_1); lean_ctor_set(x_7, 1, x_2); x_8 = l_Std_PersistentHashMap_insert___at_Lean_assignDelayedMVar___spec__1(x_6, x_3, x_7); -x_9 = 1; lean_ctor_set(x_4, 7, x_8); -lean_ctor_set_uint8(x_4, sizeof(void*)*8, x_9); return x_4; } 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; uint8_t x_20; lean_object* x_21; -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); -x_16 = lean_ctor_get(x_4, 6); -x_17 = lean_ctor_get(x_4, 7); -lean_inc(x_17); +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_4, 0); +x_10 = lean_ctor_get(x_4, 1); +x_11 = lean_ctor_get(x_4, 2); +x_12 = lean_ctor_get(x_4, 3); +x_13 = lean_ctor_get(x_4, 4); +x_14 = lean_ctor_get(x_4, 5); +x_15 = lean_ctor_get(x_4, 6); +x_16 = lean_ctor_get(x_4, 7); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); @@ -8217,23 +7739,22 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_dec(x_4); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_1); -lean_ctor_set(x_18, 1, x_2); -x_19 = l_Std_PersistentHashMap_insert___at_Lean_assignDelayedMVar___spec__1(x_17, x_3, x_18); -x_20 = 1; -x_21 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_21, 0, x_10); -lean_ctor_set(x_21, 1, x_11); -lean_ctor_set(x_21, 2, x_12); -lean_ctor_set(x_21, 3, x_13); -lean_ctor_set(x_21, 4, x_14); -lean_ctor_set(x_21, 5, x_15); -lean_ctor_set(x_21, 6, x_16); -lean_ctor_set(x_21, 7, x_19); -lean_ctor_set_uint8(x_21, sizeof(void*)*8, x_20); -return x_21; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +x_18 = l_Std_PersistentHashMap_insert___at_Lean_assignDelayedMVar___spec__1(x_16, x_3, x_17); +x_19 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_10); +lean_ctor_set(x_19, 2, x_11); +lean_ctor_set(x_19, 3, x_12); +lean_ctor_set(x_19, 4, x_13); +lean_ctor_set(x_19, 5, x_14); +lean_ctor_set(x_19, 6, x_15); +lean_ctor_set(x_19, 7, x_18); +return x_19; } } } @@ -8589,20 +8110,34 @@ x_9 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_7, x_8); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_apply_2(x_5, lean_box(0), x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_inc(x_5); x_6 = l_Lean_assignLevelMVar___rarg(x_1, x_2, x_5); -x_7 = lean_alloc_closure((void*)(l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1___boxed), 3, 2); +x_7 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__6___boxed), 3, 2); lean_closure_set(x_7, 0, x_3); lean_closure_set(x_7, 1, x_5); x_8 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_6, x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { if (lean_obj_tag(x_6) == 0) @@ -8650,7 +8185,7 @@ lean_inc(x_3); lean_inc(x_1); x_15 = l_Lean_instantiateLevelMVars___rarg(x_1, x_3, x_10); lean_inc(x_5); -x_16 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__6), 5, 4); +x_16 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__7), 5, 4); lean_closure_set(x_16, 0, x_3); lean_closure_set(x_16, 1, x_4); lean_closure_set(x_16, 2, x_1); @@ -8733,19 +8268,15 @@ x_22 = lean_ctor_get(x_1, 1); lean_inc(x_22); x_23 = lean_ctor_get(x_2, 0); lean_inc(x_23); -lean_inc(x_2); -lean_inc(x_22); -lean_inc(x_1); lean_inc(x_21); -x_24 = lean_alloc_closure((void*)(l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__2), 5, 4); -lean_closure_set(x_24, 0, x_21); -lean_closure_set(x_24, 1, x_1); -lean_closure_set(x_24, 2, x_22); -lean_closure_set(x_24, 3, x_2); +lean_inc(x_1); +x_24 = lean_alloc_closure((void*)(l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1), 3, 2); +lean_closure_set(x_24, 0, x_1); +lean_closure_set(x_24, 1, x_21); lean_inc(x_22); x_25 = lean_apply_4(x_22, lean_box(0), lean_box(0), x_23, x_24); lean_inc(x_22); -x_26 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__7), 6, 5); +x_26 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__8), 6, 5); lean_closure_set(x_26, 0, x_1); lean_closure_set(x_26, 1, x_3); lean_closure_set(x_26, 2, x_2); @@ -8796,6 +8327,15 @@ lean_dec(x_2); return x_5; } } +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_instantiateLevelMVars___rarg___lambda__6(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_instantiateExprMVars___spec__2(lean_object* x_1, lean_object* x_2) { _start: { @@ -9168,106 +8708,33 @@ return x_40; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__10___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = l_Lean_markUsedAssignment___rarg___closed__1; -x_6 = lean_apply_1(x_4, x_5); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__10(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__10___rarg___boxed), 3, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_1, 0); +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_3, x_1); +x_5 = lean_ctor_get(x_2, 0); lean_inc(x_5); -lean_dec(x_1); +lean_dec(x_2); x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = lean_apply_2(x_6, lean_box(0), x_2); +x_7 = lean_apply_2(x_6, lean_box(0), x_4); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_apply_2(x_1, x_3, x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_7, x_1); -lean_inc(x_8); -lean_inc(x_2); -x_9 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__1___boxed), 4, 2); -lean_closure_set(x_9, 0, x_2); -lean_closure_set(x_9, 1, x_8); -if (lean_obj_tag(x_8) == 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_dec(x_5); -x_10 = lean_ctor_get(x_2, 0); -lean_inc(x_10); -lean_dec(x_2); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_box(0); -x_13 = lean_apply_2(x_11, lean_box(0), x_12); -x_14 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__2), 3, 2); -lean_closure_set(x_14, 0, x_9); -lean_closure_set(x_14, 1, x_3); -x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_13, x_14); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_8); -lean_dec(x_2); -x_16 = l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__10___rarg(x_5, x_6, x_3); -x_17 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__2), 3, 2); -lean_closure_set(x_17, 0, x_9); -lean_closure_set(x_17, 1, x_3); -x_18 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_16, x_17); -return x_18; -} -} -} LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_6 = lean_ctor_get(x_2, 0); lean_inc(x_6); +lean_dec(x_2); x_7 = lean_ctor_get(x_1, 1); lean_inc(x_7); -lean_inc(x_7); -x_8 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__3___boxed), 7, 6); +x_8 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__1), 3, 2); lean_closure_set(x_8, 0, x_4); lean_closure_set(x_8, 1, x_1); -lean_closure_set(x_8, 2, x_5); -lean_closure_set(x_8, 3, x_7); -lean_closure_set(x_8, 4, x_2); -lean_closure_set(x_8, 5, x_3); x_9 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_6, x_8); return x_9; } @@ -9276,11 +8743,11 @@ LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateE _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___boxed), 5, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__11___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__10___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -9294,35 +8761,15 @@ x_8 = lean_apply_1(x_7, x_6); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__11(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__10(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__11___rarg___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__10___rarg___boxed), 5, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__13___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = l_Lean_markUsedAssignment___rarg___closed__1; -x_6 = lean_apply_1(x_4, x_5); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__13(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__13___rarg___boxed), 3, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -9336,15 +8783,15 @@ x_8 = lean_apply_1(x_7, x_6); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__14(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__12(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__14___rarg___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__12___rarg___boxed), 5, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 1) @@ -9402,7 +8849,7 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_1) == 2) @@ -9480,13 +8927,13 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_inc(x_1); -x_9 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg(x_1, x_2, x_3, x_4, x_5); -x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__2___boxed), 4, 3); +x_9 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg(x_1, x_2, x_3, x_4, x_5); +x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__2___boxed), 4, 3); lean_closure_set(x_10, 0, x_6); lean_closure_set(x_10, 1, x_1); lean_closure_set(x_10, 2, x_8); @@ -9494,7 +8941,7 @@ x_11 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_9, x_10); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_1) == 3) @@ -9570,13 +9017,13 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_inc(x_1); -x_9 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg(x_1, x_2, x_3, x_4, x_5); -x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4___boxed), 4, 3); +x_9 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg(x_1, x_2, x_3, x_4, x_5); +x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__4___boxed), 4, 3); lean_closure_set(x_10, 0, x_6); lean_closure_set(x_10, 1, x_1); lean_closure_set(x_10, 2, x_8); @@ -9584,65 +9031,38 @@ x_11 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_9, x_10); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_7, 5); -lean_inc(x_8); -lean_dec(x_7); -x_9 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_8, x_1); -lean_inc(x_9); -lean_inc(x_2); -x_10 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__1___boxed), 4, 2); -lean_closure_set(x_10, 0, x_2); -lean_closure_set(x_10, 1, x_9); -if (lean_obj_tag(x_9) == 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_dec(x_5); -x_11 = lean_ctor_get(x_2, 0); -lean_inc(x_11); +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 5); +lean_inc(x_4); +lean_dec(x_3); +x_5 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_4, x_1); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); lean_dec(x_2); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_box(0); -x_14 = lean_apply_2(x_12, lean_box(0), x_13); -x_15 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__2), 3, 2); -lean_closure_set(x_15, 0, x_10); -lean_closure_set(x_15, 1, x_3); -x_16 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_14, x_15); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_9); -lean_dec(x_2); -x_17 = l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__13___rarg(x_5, x_6, x_3); -x_18 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__2), 3, 2); -lean_closure_set(x_18, 0, x_10); -lean_closure_set(x_18, 1, x_3); -x_19 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_17, x_18); -return x_19; +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_apply_2(x_7, lean_box(0), x_5); +return x_8; } } -} -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_inc(x_7); -x_8 = l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__14___rarg(x_1, x_2, x_3, x_7, x_4); -x_9 = lean_alloc_closure((void*)(l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1___boxed), 3, 2); +x_8 = l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__12___rarg(x_1, x_2, x_3, x_7, x_4); +x_9 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__6___boxed), 3, 2); lean_closure_set(x_9, 0, x_5); lean_closure_set(x_9, 1, x_7); x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__8(lean_object* x_1, 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_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_8) == 0) @@ -9694,9 +9114,9 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_17 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg(x_1, x_3, x_4, x_12, x_5); +x_17 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg(x_1, x_3, x_4, x_12, x_5); lean_inc(x_7); -x_18 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__7___boxed), 7, 6); +x_18 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__7___boxed), 7, 6); lean_closure_set(x_18, 0, x_3); lean_closure_set(x_18, 1, x_4); lean_closure_set(x_18, 2, x_6); @@ -9709,7 +9129,7 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { switch (lean_obj_tag(x_4)) { @@ -9721,8 +9141,8 @@ lean_inc(x_6); x_7 = lean_ctor_get(x_1, 1); lean_inc(x_7); lean_inc(x_1); -x_8 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg(x_1, x_2, x_3, x_6, x_5); -x_9 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__1), 3, 2); +x_8 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg(x_1, x_2, x_3, x_6, x_5); +x_9 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__1), 3, 2); lean_closure_set(x_9, 0, x_4); lean_closure_set(x_9, 1, x_1); x_10 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_8, x_9); @@ -9741,9 +9161,9 @@ lean_inc(x_5); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_14 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg(x_1, x_2, x_3, x_11, x_5); +x_14 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg(x_1, x_2, x_3, x_11, x_5); lean_inc(x_13); -x_15 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__3), 8, 7); +x_15 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__3), 8, 7); lean_closure_set(x_15, 0, x_1); lean_closure_set(x_15, 1, x_2); lean_closure_set(x_15, 2, x_3); @@ -9767,9 +9187,9 @@ lean_inc(x_5); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_20 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg(x_1, x_2, x_3, x_17, x_5); +x_20 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg(x_1, x_2, x_3, x_17, x_5); lean_inc(x_19); -x_21 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__5), 8, 7); +x_21 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__5), 8, 7); lean_closure_set(x_21, 0, x_1); lean_closure_set(x_21, 1, x_2); lean_closure_set(x_21, 2, x_3); @@ -9789,23 +9209,15 @@ x_24 = lean_ctor_get(x_2, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_1, 1); lean_inc(x_25); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_25); -lean_inc(x_5); lean_inc(x_1); lean_inc(x_23); -x_26 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__6___boxed), 7, 6); +x_26 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__6), 3, 2); lean_closure_set(x_26, 0, x_23); lean_closure_set(x_26, 1, x_1); -lean_closure_set(x_26, 2, x_5); -lean_closure_set(x_26, 3, x_25); -lean_closure_set(x_26, 4, x_2); -lean_closure_set(x_26, 5, x_3); lean_inc(x_25); x_27 = lean_apply_4(x_25, lean_box(0), lean_box(0), x_24, x_26); lean_inc(x_25); -x_28 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__8), 8, 7); +x_28 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__8), 8, 7); lean_closure_set(x_28, 0, x_1); lean_closure_set(x_28, 1, x_4); lean_closure_set(x_28, 2, x_2); @@ -9834,35 +9246,15 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg), 5, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__16___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = l_Lean_markUsedAssignment___rarg___closed__1; -x_6 = lean_apply_1(x_4, x_5); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__16(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__16___rarg___boxed), 3, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__17___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -9876,21 +9268,21 @@ x_8 = lean_apply_1(x_7, x_6); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__17(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__14(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__17___rarg___boxed), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__14___rarg___boxed), 5, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_inc(x_1); -x_9 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg(x_1, x_2, x_3, x_4, x_5); -x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__2___boxed), 4, 3); +x_9 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg(x_1, x_2, x_3, x_4, x_5); +x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__2___boxed), 4, 3); lean_closure_set(x_10, 0, x_6); lean_closure_set(x_10, 1, x_1); lean_closure_set(x_10, 2, x_8); @@ -9898,13 +9290,13 @@ x_11 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_9, x_10); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_inc(x_1); -x_9 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg(x_1, x_2, x_3, x_4, x_5); -x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4___boxed), 4, 3); +x_9 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg(x_1, x_2, x_3, x_4, x_5); +x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__4___boxed), 4, 3); lean_closure_set(x_10, 0, x_6); lean_closure_set(x_10, 1, x_1); lean_closure_set(x_10, 2, x_8); @@ -9912,65 +9304,20 @@ x_11 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_9, x_10); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_7, 5); -lean_inc(x_8); -lean_dec(x_7); -x_9 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_8, x_1); -lean_inc(x_9); -lean_inc(x_2); -x_10 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__1___boxed), 4, 2); -lean_closure_set(x_10, 0, x_2); -lean_closure_set(x_10, 1, x_9); -if (lean_obj_tag(x_9) == 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_dec(x_5); -x_11 = lean_ctor_get(x_2, 0); -lean_inc(x_11); -lean_dec(x_2); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_box(0); -x_14 = lean_apply_2(x_12, lean_box(0), x_13); -x_15 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__2), 3, 2); -lean_closure_set(x_15, 0, x_10); -lean_closure_set(x_15, 1, x_3); -x_16 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_14, x_15); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_9); -lean_dec(x_2); -x_17 = l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__16___rarg(x_5, x_6, x_3); -x_18 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__2), 3, 2); -lean_closure_set(x_18, 0, x_10); -lean_closure_set(x_18, 1, x_3); -x_19 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_17, x_18); -return x_19; -} -} -} -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_inc(x_7); -x_8 = l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__17___rarg(x_1, x_2, x_3, x_7, x_4); -x_9 = lean_alloc_closure((void*)(l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1___boxed), 3, 2); +x_8 = l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__14___rarg(x_1, x_2, x_3, x_7, x_4); +x_9 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__6___boxed), 3, 2); lean_closure_set(x_9, 0, x_5); lean_closure_set(x_9, 1, x_7); x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_8) == 0) @@ -10022,9 +9369,9 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_17 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg(x_1, x_3, x_4, x_12, x_5); +x_17 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg(x_1, x_3, x_4, x_12, x_5); lean_inc(x_7); -x_18 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__4___boxed), 7, 6); +x_18 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__3___boxed), 7, 6); lean_closure_set(x_18, 0, x_3); lean_closure_set(x_18, 1, x_4); lean_closure_set(x_18, 2, x_6); @@ -10037,7 +9384,7 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { switch (lean_obj_tag(x_4)) { @@ -10049,8 +9396,8 @@ lean_inc(x_6); x_7 = lean_ctor_get(x_1, 1); lean_inc(x_7); lean_inc(x_1); -x_8 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg(x_1, x_2, x_3, x_6, x_5); -x_9 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__1), 3, 2); +x_8 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg(x_1, x_2, x_3, x_6, x_5); +x_9 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__1), 3, 2); lean_closure_set(x_9, 0, x_4); lean_closure_set(x_9, 1, x_1); x_10 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_8, x_9); @@ -10069,9 +9416,9 @@ lean_inc(x_5); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_14 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg(x_1, x_2, x_3, x_11, x_5); +x_14 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg(x_1, x_2, x_3, x_11, x_5); lean_inc(x_13); -x_15 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__1), 8, 7); +x_15 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__1), 8, 7); lean_closure_set(x_15, 0, x_1); lean_closure_set(x_15, 1, x_2); lean_closure_set(x_15, 2, x_3); @@ -10095,9 +9442,9 @@ lean_inc(x_5); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_20 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg(x_1, x_2, x_3, x_17, x_5); +x_20 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg(x_1, x_2, x_3, x_17, x_5); lean_inc(x_19); -x_21 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__2), 8, 7); +x_21 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__2), 8, 7); lean_closure_set(x_21, 0, x_1); lean_closure_set(x_21, 1, x_2); lean_closure_set(x_21, 2, x_3); @@ -10117,23 +9464,15 @@ x_24 = lean_ctor_get(x_2, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_1, 1); lean_inc(x_25); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_25); -lean_inc(x_5); lean_inc(x_1); lean_inc(x_23); -x_26 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__3___boxed), 7, 6); +x_26 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__6), 3, 2); lean_closure_set(x_26, 0, x_23); lean_closure_set(x_26, 1, x_1); -lean_closure_set(x_26, 2, x_5); -lean_closure_set(x_26, 3, x_25); -lean_closure_set(x_26, 4, x_2); -lean_closure_set(x_26, 5, x_3); lean_inc(x_25); x_27 = lean_apply_4(x_25, lean_box(0), lean_box(0), x_24, x_26); lean_inc(x_25); -x_28 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__5), 8, 7); +x_28 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__4), 8, 7); lean_closure_set(x_28, 0, x_1); lean_closure_set(x_28, 1, x_4); lean_closure_set(x_28, 2, x_2); @@ -10162,15 +9501,15 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg), 5, 0); return x_3; } } -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__18___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__1(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; @@ -10187,20 +9526,20 @@ x_7 = lean_apply_2(x_6, lean_box(0), x_4); return x_7; } } -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__18___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_inc(x_1); -x_8 = l_List_mapM___at_Lean_instantiateExprMVars___spec__18___rarg(x_1, x_2, x_3, x_4, x_5); -x_9 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_instantiateExprMVars___spec__18___rarg___lambda__1), 3, 2); +x_8 = l_List_mapM___at_Lean_instantiateExprMVars___spec__15___rarg(x_1, x_2, x_3, x_4, x_5); +x_9 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__1), 3, 2); lean_closure_set(x_9, 0, x_7); lean_closure_set(x_9, 1, x_1); x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9); return x_10; } } -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__18___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__15___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_4) == 0) @@ -10233,9 +9572,9 @@ lean_inc(x_5); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_13 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg(x_1, x_2, x_3, x_10, x_5); +x_13 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg(x_1, x_2, x_3, x_10, x_5); lean_inc(x_12); -x_14 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_instantiateExprMVars___spec__18___rarg___lambda__2), 7, 6); +x_14 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__2), 7, 6); lean_closure_set(x_14, 0, x_1); lean_closure_set(x_14, 1, x_2); lean_closure_set(x_14, 2, x_3); @@ -10247,11 +9586,221 @@ return x_15; } } } -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__18(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateExprMVars___spec__15(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_instantiateExprMVars___spec__18___rarg), 5, 0); +x_3 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_instantiateExprMVars___spec__15___rarg), 5, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; +x_10 = 1; +x_11 = lean_usize_add(x_1, x_10); +x_12 = lean_array_uset(x_2, x_1, x_9); +x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg(x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_8); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_6, x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_apply_2(x_11, lean_box(0), x_7); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_array_uget(x_7, x_6); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_array_uset(x_7, x_6, x_14); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_17 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_13, x_8); +x_18 = lean_box_usize(x_6); +x_19 = lean_box_usize(x_5); +x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg___lambda__1___boxed), 9, 8); +lean_closure_set(x_20, 0, x_18); +lean_closure_set(x_20, 1, x_15); +lean_closure_set(x_20, 2, x_1); +lean_closure_set(x_20, 3, x_2); +lean_closure_set(x_20, 4, x_3); +lean_closure_set(x_20, 5, x_4); +lean_closure_set(x_20, 6, x_19); +lean_closure_set(x_20, 7, x_8); +x_21 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_17, x_20); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg___boxed), 8, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; +x_10 = 1; +x_11 = lean_usize_add(x_1, x_10); +x_12 = lean_array_uset(x_2, x_1, x_9); +x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg(x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_8); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_6, x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_apply_2(x_11, lean_box(0), x_7); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_array_uget(x_7, x_6); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_array_uset(x_7, x_6, x_14); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_17 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_13, x_8); +x_18 = lean_box_usize(x_6); +x_19 = lean_box_usize(x_5); +x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg___lambda__1___boxed), 9, 8); +lean_closure_set(x_20, 0, x_18); +lean_closure_set(x_20, 1, x_15); +lean_closure_set(x_20, 2, x_1); +lean_closure_set(x_20, 3, x_2); +lean_closure_set(x_20, 4, x_3); +lean_closure_set(x_20, 5, x_4); +lean_closure_set(x_20, 6, x_19); +lean_closure_set(x_20, 7, x_8); +x_21 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_17, x_20); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg___boxed), 8, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; +x_10 = 1; +x_11 = lean_usize_add(x_1, x_10); +x_12 = lean_array_uset(x_2, x_1, x_9); +x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg(x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_8); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_6, x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_apply_2(x_11, lean_box(0), x_7); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_array_uget(x_7, x_6); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_array_uset(x_7, x_6, x_14); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_17 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_13, x_8); +x_18 = lean_box_usize(x_6); +x_19 = lean_box_usize(x_5); +x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg___lambda__1___boxed), 9, 8); +lean_closure_set(x_20, 0, x_18); +lean_closure_set(x_20, 1, x_15); +lean_closure_set(x_20, 2, x_1); +lean_closure_set(x_20, 3, x_2); +lean_closure_set(x_20, 4, x_3); +lean_closure_set(x_20, 5, x_4); +lean_closure_set(x_20, 6, x_19); +lean_closure_set(x_20, 7, x_8); +x_21 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_17, x_20); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg___boxed), 8, 0); return x_3; } } @@ -10325,73 +9874,45 @@ x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExp return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__20___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; -x_10 = 1; -x_11 = lean_usize_add(x_1, x_10); -x_12 = lean_array_uset(x_2, x_1, x_9); -x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg(x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_8); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; -x_9 = lean_usize_dec_lt(x_6, x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_apply_2(x_11, lean_box(0), x_7); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_13 = lean_array_uget(x_7, x_6); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_uset(x_7, x_6, x_14); -x_16 = lean_ctor_get(x_1, 1); -lean_inc(x_16); -lean_inc(x_8); +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 7); lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_17 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_13, x_8); -x_18 = lean_box_usize(x_6); -x_19 = lean_box_usize(x_5); -x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg___lambda__1___boxed), 9, 8); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_15); -lean_closure_set(x_20, 2, x_1); -lean_closure_set(x_20, 3, x_2); -lean_closure_set(x_20, 4, x_3); -lean_closure_set(x_20, 5, x_4); -lean_closure_set(x_20, 6, x_19); -lean_closure_set(x_20, 7, x_8); -x_21 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_17, x_20); -return x_21; +lean_dec(x_3); +x_5 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_4, x_1); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +lean_dec(x_2); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_apply_2(x_7, lean_box(0), x_5); +return x_8; } } +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__20___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_alloc_closure((void*)(l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__20___rarg___lambda__1), 3, 2); +lean_closure_set(x_8, 0, x_4); +lean_closure_set(x_8, 1, x_1); +x_9 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_6, x_8); +return x_9; } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20(lean_object* x_1, lean_object* x_2) { +} +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__20(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg___boxed), 8, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__20___rarg___boxed), 5, 0); return x_3; } } @@ -10535,96 +10056,143 @@ x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExp return x_3; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__24___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -lean_dec(x_1); -x_5 = l_Lean_markUsedAssignment___rarg___closed__1; -x_6 = lean_apply_1(x_4, x_5); -return x_6; +size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; +x_10 = 1; +x_11 = lean_usize_add(x_1, x_10); +x_12 = lean_array_uset(x_2, x_1, x_9); +x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg(x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_8); +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__24(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__24___rarg___boxed), 3, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__23___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_6, x_5); +if (x_9 == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_7, 7); -lean_inc(x_8); -lean_dec(x_7); -x_9 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_8, x_1); -lean_inc(x_9); -lean_inc(x_2); -x_10 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__1___boxed), 4, 2); -lean_closure_set(x_10, 0, x_2); -lean_closure_set(x_10, 1, x_9); -if (lean_obj_tag(x_9) == 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_dec(x_5); -x_11 = lean_ctor_get(x_2, 0); -lean_inc(x_11); +lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_box(0); -x_14 = lean_apply_2(x_12, lean_box(0), x_13); -x_15 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__2), 3, 2); -lean_closure_set(x_15, 0, x_10); -lean_closure_set(x_15, 1, x_3); -x_16 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_14, x_15); -return x_16; +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_apply_2(x_11, lean_box(0), x_7); +return x_12; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_9); -lean_dec(x_2); -x_17 = l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__24___rarg(x_5, x_6, x_3); -x_18 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__2), 3, 2); -lean_closure_set(x_18, 0, x_10); -lean_closure_set(x_18, 1, x_3); -x_19 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_17, x_18); -return x_19; +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_13 = lean_array_uget(x_7, x_6); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_array_uset(x_7, x_6, x_14); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_17 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_13, x_8); +x_18 = lean_box_usize(x_6); +x_19 = lean_box_usize(x_5); +x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg___lambda__1___boxed), 9, 8); +lean_closure_set(x_20, 0, x_18); +lean_closure_set(x_20, 1, x_15); +lean_closure_set(x_20, 2, x_1); +lean_closure_set(x_20, 3, x_2); +lean_closure_set(x_20, 4, x_3); +lean_closure_set(x_20, 5, x_4); +lean_closure_set(x_20, 6, x_19); +lean_closure_set(x_20, 7, x_8); +x_21 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_17, x_20); +return x_21; } } } -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__23___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_6 = lean_ctor_get(x_2, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_1, 1); -lean_inc(x_7); -lean_inc(x_7); -x_8 = lean_alloc_closure((void*)(l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__23___rarg___lambda__1___boxed), 7, 6); -lean_closure_set(x_8, 0, x_4); -lean_closure_set(x_8, 1, x_1); -lean_closure_set(x_8, 2, x_5); -lean_closure_set(x_8, 3, x_7); -lean_closure_set(x_8, 4, x_2); -lean_closure_set(x_8, 5, x_3); -x_9 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_6, x_8); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__23(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__23___rarg), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg___boxed), 8, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; +x_10 = 1; +x_11 = lean_usize_add(x_1, x_10); +x_12 = lean_array_uset(x_2, x_1, x_9); +x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg(x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_8); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_6, x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_apply_2(x_11, lean_box(0), x_7); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_array_uget(x_7, x_6); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_array_uset(x_7, x_6, x_14); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_17 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_13, x_8); +x_18 = lean_box_usize(x_6); +x_19 = lean_box_usize(x_5); +x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg___lambda__1___boxed), 9, 8); +lean_closure_set(x_20, 0, x_18); +lean_closure_set(x_20, 1, x_15); +lean_closure_set(x_20, 2, x_1); +lean_closure_set(x_20, 3, x_2); +lean_closure_set(x_20, 4, x_3); +lean_closure_set(x_20, 5, x_4); +lean_closure_set(x_20, 6, x_19); +lean_closure_set(x_20, 7, x_8); +x_21 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_17, x_20); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg___boxed), 8, 0); return x_3; } } @@ -11958,287 +11526,7 @@ x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExp return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; -x_10 = 1; -x_11 = lean_usize_add(x_1, x_10); -x_12 = lean_array_uset(x_2, x_1, x_9); -x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg(x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_8); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; -x_9 = lean_usize_dec_lt(x_6, x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_apply_2(x_11, lean_box(0), x_7); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_13 = lean_array_uget(x_7, x_6); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_uset(x_7, x_6, x_14); -x_16 = lean_ctor_get(x_1, 1); -lean_inc(x_16); -lean_inc(x_8); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_17 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_13, x_8); -x_18 = lean_box_usize(x_6); -x_19 = lean_box_usize(x_5); -x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1___boxed), 9, 8); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_15); -lean_closure_set(x_20, 2, x_1); -lean_closure_set(x_20, 3, x_2); -lean_closure_set(x_20, 4, x_3); -lean_closure_set(x_20, 5, x_4); -lean_closure_set(x_20, 6, x_19); -lean_closure_set(x_20, 7, x_8); -x_21 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_17, x_20); -return x_21; -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg___boxed), 8, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; -x_10 = 1; -x_11 = lean_usize_add(x_1, x_10); -x_12 = lean_array_uset(x_2, x_1, x_9); -x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg(x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_8); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; -x_9 = lean_usize_dec_lt(x_6, x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_apply_2(x_11, lean_box(0), x_7); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_13 = lean_array_uget(x_7, x_6); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_uset(x_7, x_6, x_14); -x_16 = lean_ctor_get(x_1, 1); -lean_inc(x_16); -lean_inc(x_8); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_17 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_13, x_8); -x_18 = lean_box_usize(x_6); -x_19 = lean_box_usize(x_5); -x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg___lambda__1___boxed), 9, 8); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_15); -lean_closure_set(x_20, 2, x_1); -lean_closure_set(x_20, 3, x_2); -lean_closure_set(x_20, 4, x_3); -lean_closure_set(x_20, 5, x_4); -lean_closure_set(x_20, 6, x_19); -lean_closure_set(x_20, 7, x_8); -x_21 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_17, x_20); -return x_21; -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg___boxed), 8, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; -x_10 = 1; -x_11 = lean_usize_add(x_1, x_10); -x_12 = lean_array_uset(x_2, x_1, x_9); -x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg(x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_8); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; -x_9 = lean_usize_dec_lt(x_6, x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_apply_2(x_11, lean_box(0), x_7); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_13 = lean_array_uget(x_7, x_6); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_uset(x_7, x_6, x_14); -x_16 = lean_ctor_get(x_1, 1); -lean_inc(x_16); -lean_inc(x_8); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_17 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_13, x_8); -x_18 = lean_box_usize(x_6); -x_19 = lean_box_usize(x_5); -x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg___lambda__1___boxed), 9, 8); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_15); -lean_closure_set(x_20, 2, x_1); -lean_closure_set(x_20, 3, x_2); -lean_closure_set(x_20, 4, x_3); -lean_closure_set(x_20, 5, x_4); -lean_closure_set(x_20, 6, x_19); -lean_closure_set(x_20, 7, x_8); -x_21 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_17, x_20); -return x_21; -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg___boxed), 8, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; -x_10 = 1; -x_11 = lean_usize_add(x_1, x_10); -x_12 = lean_array_uset(x_2, x_1, x_9); -x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg(x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_8); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; -x_9 = lean_usize_dec_lt(x_6, x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_apply_2(x_11, lean_box(0), x_7); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_13 = lean_array_uget(x_7, x_6); -x_14 = lean_unsigned_to_nat(0u); -x_15 = lean_array_uset(x_7, x_6, x_14); -x_16 = lean_ctor_get(x_1, 1); -lean_inc(x_16); -lean_inc(x_8); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_17 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_13, x_8); -x_18 = lean_box_usize(x_6); -x_19 = lean_box_usize(x_5); -x_20 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg___lambda__1___boxed), 9, 8); -lean_closure_set(x_20, 0, x_18); -lean_closure_set(x_20, 1, x_15); -lean_closure_set(x_20, 2, x_1); -lean_closure_set(x_20, 3, x_2); -lean_closure_set(x_20, 4, x_3); -lean_closure_set(x_20, 5, x_4); -lean_closure_set(x_20, 6, x_19); -lean_closure_set(x_20, 7, x_8); -x_21 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_17, x_20); -return x_21; -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg___boxed), 8, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1(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; @@ -12253,7 +11541,7 @@ x_7 = lean_apply_2(x_6, lean_box(0), x_4); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (x_1 == 0) @@ -12264,8 +11552,8 @@ x_11 = lean_usize_of_nat(x_10); lean_dec(x_10); x_12 = 0; lean_inc(x_3); -x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__19___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); +x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_14, 0, x_9); lean_closure_set(x_14, 1, x_3); x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); @@ -12283,8 +11571,8 @@ x_18 = lean_usize_of_nat(x_17); lean_dec(x_17); x_19 = 0; lean_inc(x_3); -x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); -x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); +x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_21, 0, x_9); lean_closure_set(x_21, 1, x_3); x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); @@ -12304,7 +11592,58 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_10 = lean_array_get_size(x_2); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +lean_inc(x_3); +x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); +x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); +lean_closure_set(x_14, 0, x_9); +lean_closure_set(x_14, 1, x_3); +x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); +return x_15; +} +else +{ +uint8_t x_16; +x_16 = l_Lean_Expr_isLambda(x_9); +if (x_16 == 0) +{ +lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_array_get_size(x_2); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_19 = 0; +lean_inc(x_3); +x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__19___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); +x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); +lean_closure_set(x_21, 0, x_9); +lean_closure_set(x_21, 1, x_3); +x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); +return x_22; +} +else +{ +lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_8); +x_23 = l_Array_reverse___rarg(x_2); +x_24 = 0; +x_25 = l_Lean_Expr_betaRev(x_9, x_23, x_24, x_24); +lean_dec(x_23); +x_26 = l_Lean_instantiateExprMVars___rarg(x_3, x_4, x_5, x_6, x_25, x_7); +return x_26; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (x_1 == 0) @@ -12316,7 +11655,7 @@ lean_dec(x_10); x_12 = 0; lean_inc(x_3); x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__21___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_14, 0, x_9); lean_closure_set(x_14, 1, x_3); x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); @@ -12335,7 +11674,7 @@ lean_dec(x_17); x_19 = 0; lean_inc(x_3); x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__22___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); -x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_21, 0, x_9); lean_closure_set(x_21, 1, x_3); x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); @@ -12355,58 +11694,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (x_1 == 0) -{ -lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_10 = lean_array_get_size(x_2); -x_11 = lean_usize_of_nat(x_10); -lean_dec(x_10); -x_12 = 0; -lean_inc(x_3); -x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__25___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); -lean_closure_set(x_14, 0, x_9); -lean_closure_set(x_14, 1, x_3); -x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); -return x_15; -} -else -{ -uint8_t x_16; -x_16 = l_Lean_Expr_isLambda(x_9); -if (x_16 == 0) -{ -lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_17 = lean_array_get_size(x_2); -x_18 = lean_usize_of_nat(x_17); -lean_dec(x_17); -x_19 = 0; -lean_inc(x_3); -x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__26___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); -x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); -lean_closure_set(x_21, 0, x_9); -lean_closure_set(x_21, 1, x_3); -x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); -return x_22; -} -else -{ -lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_8); -x_23 = l_Array_reverse___rarg(x_2); -x_24 = 0; -x_25 = l_Lean_Expr_betaRev(x_9, x_23, x_24, x_24); -lean_dec(x_23); -x_26 = l_Lean_instantiateExprMVars___rarg(x_3, x_4, x_5, x_6, x_25, x_7); -return x_26; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -12427,7 +11715,7 @@ x_13 = lean_apply_2(x_12, lean_box(0), x_10); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -12439,8 +11727,8 @@ lean_dec(x_11); x_14 = lean_usize_of_nat(x_1); x_15 = 0; lean_inc(x_2); -x_16 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__27___rarg(x_2, x_3, x_4, x_5, x_14, x_15, x_6, x_7); -x_17 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__5___boxed), 5, 4); +x_16 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg(x_2, x_3, x_4, x_5, x_14, x_15, x_6, x_7); +x_17 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__5___boxed), 5, 4); lean_closure_set(x_17, 0, x_12); lean_closure_set(x_17, 1, x_8); lean_closure_set(x_17, 2, x_9); @@ -12457,8 +11745,8 @@ lean_dec(x_8); x_19 = lean_usize_of_nat(x_1); x_20 = 0; lean_inc(x_2); -x_21 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__28___rarg(x_2, x_3, x_4, x_5, x_19, x_20, x_6, x_7); -x_22 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_21 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg(x_2, x_3, x_4, x_5, x_19, x_20, x_6, x_7); +x_22 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_22, 0, x_11); lean_closure_set(x_22, 1, x_2); x_23 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_21, x_22); @@ -12466,7 +11754,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { if (lean_obj_tag(x_10) == 0) @@ -12480,7 +11768,7 @@ lean_inc(x_1); x_11 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_5, x_6); x_12 = lean_box(x_7); lean_inc(x_9); -x_13 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__4___boxed), 9, 8); +x_13 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__4___boxed), 9, 8); lean_closure_set(x_13, 0, x_12); lean_closure_set(x_13, 1, x_8); lean_closure_set(x_13, 2, x_1); @@ -12517,7 +11805,7 @@ lean_inc(x_2); lean_inc(x_1); x_22 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_21, x_6); lean_inc(x_9); -x_23 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__6___boxed), 12, 11); +x_23 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__6___boxed), 12, 11); lean_closure_set(x_23, 0, x_18); lean_closure_set(x_23, 1, x_1); lean_closure_set(x_23, 2, x_2); @@ -12542,8 +11830,8 @@ x_25 = lean_usize_of_nat(x_18); lean_dec(x_18); x_26 = 0; lean_inc(x_1); -x_27 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__29___rarg(x_1, x_2, x_3, x_4, x_25, x_26, x_8, x_6); -x_28 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_27 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__25___rarg(x_1, x_2, x_3, x_4, x_25, x_26, x_8, x_6); +x_28 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_28, 0, x_5); lean_closure_set(x_28, 1, x_1); x_29 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_27, x_28); @@ -12552,7 +11840,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__8(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__8(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (x_1 == 0) @@ -12563,8 +11851,8 @@ x_11 = lean_usize_of_nat(x_10); lean_dec(x_10); x_12 = 0; lean_inc(x_3); -x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__30___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__26___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); +x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_14, 0, x_9); lean_closure_set(x_14, 1, x_3); x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); @@ -12582,8 +11870,8 @@ x_18 = lean_usize_of_nat(x_17); lean_dec(x_17); x_19 = 0; lean_inc(x_3); -x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__31___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); -x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__27___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); +x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_21, 0, x_9); lean_closure_set(x_21, 1, x_3); x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); @@ -12603,7 +11891,58 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__9(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__9(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_10 = lean_array_get_size(x_2); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +lean_inc(x_3); +x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__28___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); +x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); +lean_closure_set(x_14, 0, x_9); +lean_closure_set(x_14, 1, x_3); +x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); +return x_15; +} +else +{ +uint8_t x_16; +x_16 = l_Lean_Expr_isLambda(x_9); +if (x_16 == 0) +{ +lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_array_get_size(x_2); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_19 = 0; +lean_inc(x_3); +x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__29___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); +x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); +lean_closure_set(x_21, 0, x_9); +lean_closure_set(x_21, 1, x_3); +x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); +return x_22; +} +else +{ +lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_8); +x_23 = l_Array_reverse___rarg(x_2); +x_24 = 0; +x_25 = l_Lean_Expr_betaRev(x_9, x_23, x_24, x_24); +lean_dec(x_23); +x_26 = l_Lean_instantiateExprMVars___rarg(x_3, x_4, x_5, x_6, x_25, x_7); +return x_26; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__10(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (x_1 == 0) @@ -12615,7 +11954,7 @@ lean_dec(x_10); x_12 = 0; lean_inc(x_3); x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__32___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_14, 0, x_9); lean_closure_set(x_14, 1, x_3); x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); @@ -12634,7 +11973,7 @@ lean_dec(x_17); x_19 = 0; lean_inc(x_3); x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__33___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); -x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_21, 0, x_9); lean_closure_set(x_21, 1, x_3); x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); @@ -12654,7 +11993,58 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__10(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__11(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_10 = lean_array_get_size(x_2); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +lean_inc(x_3); +x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__34___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); +x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); +lean_closure_set(x_14, 0, x_9); +lean_closure_set(x_14, 1, x_3); +x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); +return x_15; +} +else +{ +uint8_t x_16; +x_16 = l_Lean_Expr_isLambda(x_9); +if (x_16 == 0) +{ +lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_array_get_size(x_2); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_19 = 0; +lean_inc(x_3); +x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__35___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); +x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); +lean_closure_set(x_21, 0, x_9); +lean_closure_set(x_21, 1, x_3); +x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); +return x_22; +} +else +{ +lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_8); +x_23 = l_Array_reverse___rarg(x_2); +x_24 = 0; +x_25 = l_Lean_Expr_betaRev(x_9, x_23, x_24, x_24); +lean_dec(x_23); +x_26 = l_Lean_instantiateExprMVars___rarg(x_3, x_4, x_5, x_6, x_25, x_7); +return x_26; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__12(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (x_1 == 0) @@ -12666,7 +12056,7 @@ lean_dec(x_10); x_12 = 0; lean_inc(x_3); x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__36___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_14, 0, x_9); lean_closure_set(x_14, 1, x_3); x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); @@ -12685,7 +12075,7 @@ lean_dec(x_17); x_19 = 0; lean_inc(x_3); x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__37___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); -x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_21, 0, x_9); lean_closure_set(x_21, 1, x_3); x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); @@ -12705,7 +12095,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__11(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__13(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (x_1 == 0) @@ -12717,7 +12107,7 @@ lean_dec(x_10); x_12 = 0; lean_inc(x_3); x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__38___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_14, 0, x_9); lean_closure_set(x_14, 1, x_3); x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); @@ -12736,7 +12126,7 @@ lean_dec(x_17); x_19 = 0; lean_inc(x_3); x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__39___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); -x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_21, 0, x_9); lean_closure_set(x_21, 1, x_3); x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); @@ -12756,7 +12146,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__12(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__14(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (x_1 == 0) @@ -12768,7 +12158,7 @@ lean_dec(x_10); x_12 = 0; lean_inc(x_3); x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__40___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_14, 0, x_9); lean_closure_set(x_14, 1, x_3); x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); @@ -12787,7 +12177,7 @@ lean_dec(x_17); x_19 = 0; lean_inc(x_3); x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__41___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); -x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_21, 0, x_9); lean_closure_set(x_21, 1, x_3); x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); @@ -12807,7 +12197,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__13(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__15(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (x_1 == 0) @@ -12819,7 +12209,7 @@ lean_dec(x_10); x_12 = 0; lean_inc(x_3); x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__42___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_14, 0, x_9); lean_closure_set(x_14, 1, x_3); x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); @@ -12838,7 +12228,7 @@ lean_dec(x_17); x_19 = 0; lean_inc(x_3); x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__43___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); -x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); +x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1), 3, 2); lean_closure_set(x_21, 0, x_9); lean_closure_set(x_21, 1, x_3); x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); @@ -12858,109 +12248,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__14(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (x_1 == 0) -{ -lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_10 = lean_array_get_size(x_2); -x_11 = lean_usize_of_nat(x_10); -lean_dec(x_10); -x_12 = 0; -lean_inc(x_3); -x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); -lean_closure_set(x_14, 0, x_9); -lean_closure_set(x_14, 1, x_3); -x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); -return x_15; -} -else -{ -uint8_t x_16; -x_16 = l_Lean_Expr_isLambda(x_9); -if (x_16 == 0) -{ -lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_17 = lean_array_get_size(x_2); -x_18 = lean_usize_of_nat(x_17); -lean_dec(x_17); -x_19 = 0; -lean_inc(x_3); -x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); -x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); -lean_closure_set(x_21, 0, x_9); -lean_closure_set(x_21, 1, x_3); -x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); -return x_22; -} -else -{ -lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_8); -x_23 = l_Array_reverse___rarg(x_2); -x_24 = 0; -x_25 = l_Lean_Expr_betaRev(x_9, x_23, x_24, x_24); -lean_dec(x_23); -x_26 = l_Lean_instantiateExprMVars___rarg(x_3, x_4, x_5, x_6, x_25, x_7); -return x_26; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__15(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (x_1 == 0) -{ -lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_10 = lean_array_get_size(x_2); -x_11 = lean_usize_of_nat(x_10); -lean_dec(x_10); -x_12 = 0; -lean_inc(x_3); -x_13 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg(x_3, x_4, x_5, x_6, x_11, x_12, x_2, x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); -lean_closure_set(x_14, 0, x_9); -lean_closure_set(x_14, 1, x_3); -x_15 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_13, x_14); -return x_15; -} -else -{ -uint8_t x_16; -x_16 = l_Lean_Expr_isLambda(x_9); -if (x_16 == 0) -{ -lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_17 = lean_array_get_size(x_2); -x_18 = lean_usize_of_nat(x_17); -lean_dec(x_17); -x_19 = 0; -lean_inc(x_3); -x_20 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg(x_3, x_4, x_5, x_6, x_18, x_19, x_2, x_7); -x_21 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__1), 3, 2); -lean_closure_set(x_21, 0, x_9); -lean_closure_set(x_21, 1, x_3); -x_22 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_20, x_21); -return x_22; -} -else -{ -lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_8); -x_23 = l_Array_reverse___rarg(x_2); -x_24 = 0; -x_25 = l_Lean_Expr_betaRev(x_9, x_23, x_24, x_24); -lean_dec(x_23); -x_26 = l_Lean_instantiateExprMVars___rarg(x_3, x_4, x_5, x_6, x_25, x_7); -return x_26; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { switch (lean_obj_tag(x_6)) { @@ -12977,7 +12265,7 @@ lean_inc(x_1); x_11 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_6, x_9); x_12 = lean_box(x_10); lean_inc(x_5); -x_13 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__2___boxed), 9, 8); +x_13 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__2___boxed), 9, 8); lean_closure_set(x_13, 0, x_12); lean_closure_set(x_13, 1, x_7); lean_closure_set(x_13, 2, x_1); @@ -13002,7 +12290,7 @@ lean_inc(x_1); x_16 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_6, x_9); x_17 = lean_box(x_15); lean_inc(x_5); -x_18 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__3___boxed), 9, 8); +x_18 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__3___boxed), 9, 8); lean_closure_set(x_18, 0, x_17); lean_closure_set(x_18, 1, x_7); lean_closure_set(x_18, 2, x_1); @@ -13021,14 +12309,12 @@ lean_dec(x_8); x_20 = lean_ctor_get(x_6, 0); lean_inc(x_20); x_21 = l_Lean_Expr_isMVar(x_6); -lean_inc(x_9); -lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_22 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__23___rarg(x_1, x_2, x_3, x_20, x_9); +x_22 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__20___rarg(x_1, x_2, x_3, x_20, x_9); x_23 = lean_box(x_21); lean_inc(x_5); -x_24 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__7___boxed), 10, 9); +x_24 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__7___boxed), 10, 9); lean_closure_set(x_24, 0, x_1); lean_closure_set(x_24, 1, x_2); lean_closure_set(x_24, 2, x_3); @@ -13054,7 +12340,7 @@ lean_inc(x_1); x_27 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_6, x_9); x_28 = lean_box(x_26); lean_inc(x_5); -x_29 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__8___boxed), 9, 8); +x_29 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__8___boxed), 9, 8); lean_closure_set(x_29, 0, x_28); lean_closure_set(x_29, 1, x_7); lean_closure_set(x_29, 2, x_1); @@ -13079,7 +12365,7 @@ lean_inc(x_1); x_32 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_6, x_9); x_33 = lean_box(x_31); lean_inc(x_5); -x_34 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__9___boxed), 9, 8); +x_34 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__9___boxed), 9, 8); lean_closure_set(x_34, 0, x_33); lean_closure_set(x_34, 1, x_7); lean_closure_set(x_34, 2, x_1); @@ -13121,7 +12407,7 @@ lean_inc(x_1); x_43 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_6, x_9); x_44 = lean_box(x_42); lean_inc(x_5); -x_45 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__10___boxed), 9, 8); +x_45 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__10___boxed), 9, 8); lean_closure_set(x_45, 0, x_44); lean_closure_set(x_45, 1, x_7); lean_closure_set(x_45, 2, x_1); @@ -13146,7 +12432,7 @@ lean_inc(x_1); x_48 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_6, x_9); x_49 = lean_box(x_47); lean_inc(x_5); -x_50 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__11___boxed), 9, 8); +x_50 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__11___boxed), 9, 8); lean_closure_set(x_50, 0, x_49); lean_closure_set(x_50, 1, x_7); lean_closure_set(x_50, 2, x_1); @@ -13171,7 +12457,7 @@ lean_inc(x_1); x_53 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_6, x_9); x_54 = lean_box(x_52); lean_inc(x_5); -x_55 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__12___boxed), 9, 8); +x_55 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__12___boxed), 9, 8); lean_closure_set(x_55, 0, x_54); lean_closure_set(x_55, 1, x_7); lean_closure_set(x_55, 2, x_1); @@ -13196,7 +12482,7 @@ lean_inc(x_1); x_58 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_6, x_9); x_59 = lean_box(x_57); lean_inc(x_5); -x_60 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__13___boxed), 9, 8); +x_60 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__13___boxed), 9, 8); lean_closure_set(x_60, 0, x_59); lean_closure_set(x_60, 1, x_7); lean_closure_set(x_60, 2, x_1); @@ -13221,7 +12507,7 @@ lean_inc(x_1); x_63 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_6, x_9); x_64 = lean_box(x_62); lean_inc(x_5); -x_65 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__14___boxed), 9, 8); +x_65 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__14___boxed), 9, 8); lean_closure_set(x_65, 0, x_64); lean_closure_set(x_65, 1, x_7); lean_closure_set(x_65, 2, x_1); @@ -13246,7 +12532,7 @@ lean_inc(x_1); x_68 = l_Lean_instantiateExprMVars___rarg(x_1, x_2, x_3, x_4, x_6, x_9); x_69 = lean_box(x_67); lean_inc(x_5); -x_70 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__15___boxed), 9, 8); +x_70 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__15___boxed), 9, 8); lean_closure_set(x_70, 0, x_69); lean_closure_set(x_70, 1, x_7); lean_closure_set(x_70, 2, x_1); @@ -13261,11 +12547,11 @@ return x_71; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg), 9, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg), 9, 0); return x_3; } } @@ -13328,8 +12614,8 @@ _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_inc(x_7); -x_8 = l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__11___rarg(x_1, x_2, x_3, x_7, x_4); -x_9 = lean_alloc_closure((void*)(l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1___boxed), 3, 2); +x_8 = l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__10___rarg(x_1, x_2, x_3, x_7, x_4); +x_9 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__6___boxed), 3, 2); lean_closure_set(x_9, 0, x_5); lean_closure_set(x_9, 1, x_7); x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9); @@ -13394,7 +12680,7 @@ x_8 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), lean_closure_set(x_8, 0, x_2); lean_closure_set(x_8, 1, x_7); x_9 = lean_apply_2(x_3, lean_box(0), x_8); -x_10 = lean_alloc_closure((void*)(l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1___boxed), 3, 2); +x_10 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__6___boxed), 3, 2); lean_closure_set(x_10, 0, x_4); lean_closure_set(x_10, 1, x_6); x_11 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_9, x_10); @@ -13407,9 +12693,7 @@ _start: 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_inc(x_5); lean_inc(x_4); -lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); x_10 = l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg(x_1, x_2, x_3, x_4, x_5); @@ -14303,7 +13587,7 @@ x_15 = lean_ctor_get(x_1, 0); lean_inc(x_15); lean_inc(x_3); lean_inc(x_2); -x_16 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg(x_2, x_6, x_7, x_15, x_3); +x_16 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg(x_2, x_6, x_7, x_15, x_3); lean_inc(x_1); lean_inc(x_2); x_17 = lean_alloc_closure((void*)(l_Lean_instantiateExprMVars___rarg___lambda__9), 3, 2); @@ -14329,7 +13613,7 @@ x_21 = lean_ctor_get(x_1, 1); lean_inc(x_21); lean_inc(x_3); lean_inc(x_2); -x_22 = l_List_mapM___at_Lean_instantiateExprMVars___spec__18___rarg(x_2, x_6, x_7, x_21, x_3); +x_22 = l_List_mapM___at_Lean_instantiateExprMVars___spec__15___rarg(x_2, x_6, x_7, x_21, x_3); lean_inc(x_1); lean_inc(x_2); x_23 = lean_alloc_closure((void*)(l_Lean_instantiateExprMVars___rarg___lambda__10), 3, 2); @@ -14364,7 +13648,7 @@ lean_inc(x_1); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_33 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg(x_2, x_6, x_7, x_4, x_5, x_1, x_30, x_32, x_3); +x_33 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg(x_2, x_6, x_7, x_4, x_5, x_1, x_30, x_32, x_3); lean_inc(x_5); x_34 = lean_alloc_closure((void*)(l_Lean_instantiateExprMVars___rarg___lambda__7), 6, 5); lean_closure_set(x_34, 0, x_1); @@ -14688,53 +13972,62 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__10___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__10___rarg(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__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_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_4); -lean_dec(x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__11___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__11___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__9___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__10___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_MVarId_assign___at_Lean_instantiateExprMVars___spec__10___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__13___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__12___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_4; -x_4 = l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__13___rarg(x_1, x_2, x_3); -lean_dec(x_3); +lean_object* x_6; +x_6 = l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__12___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); lean_dec(x_2); -return x_4; +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__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_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__4(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__11___rarg___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_4); +lean_dec(x_2); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__14___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -14747,80 +14040,86 @@ lean_dec(x_2); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__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_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__2(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__4(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__12___rarg___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__13___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_4); lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__16___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_4; -x_4 = l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__16___rarg(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -return x_4; +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_11 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_12 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9); +return x_12; } } -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__17___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_6; -x_6 = l_Lean_assignLevelMVar___at_Lean_instantiateExprMVars___spec__17___rarg(x_1, x_2, x_3, x_4, x_5); +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_5); lean_dec(x_5); -lean_dec(x_2); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_10 = lean_unbox_usize(x_6); lean_dec(x_6); -return x_8; +x_11 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__16___rarg(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_8; -x_8 = l_Lean_instantiateLevelMVars___at_Lean_instantiateExprMVars___spec__15___rarg___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_4); -lean_dec(x_2); -return x_8; +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_11 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_12 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_10 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_11 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__17___rarg(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_11 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_12 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_10 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_11 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__18___rarg(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); +return x_11; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__19___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -14847,28 +14146,14 @@ x_11 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__19___rarg(x return x_11; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__20___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_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_11 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_12 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_5); +lean_object* x_6; +x_6 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__20___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); -x_10 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_11 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__20___rarg(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); -return x_11; +lean_dec(x_3); +return x_6; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__21___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -14919,23 +14204,52 @@ x_11 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__22___rarg(x return x_11; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__24___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_4; -x_4 = l_Lean_markUsedAssignment___at_Lean_instantiateExprMVars___spec__24___rarg(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -return x_4; +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_11 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_12 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9); +return x_12; } } -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__23___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_8; -x_8 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateExprMVars___spec__23___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_10 = lean_unbox_usize(x_6); lean_dec(x_6); -return x_8; +x_11 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__23___rarg(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_11 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_12 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_10 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_11 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__24___rarg(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); +return x_11; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__25___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -15394,239 +14708,143 @@ x_11 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__43___rarg(x return x_11; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_11 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_12 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_10 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_11 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__44___rarg(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_11 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_12 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_10 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_11 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__45___rarg(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_11 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_12 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_10 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_11 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__46___rarg(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_11 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_12 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_10 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_11 = l_Array_mapMUnsafe_map___at_Lean_instantiateExprMVars___spec__47___rarg(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__2(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__2(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__3(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__3(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__4(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__4(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__5(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__5(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_7); lean_dec(x_7); -x_12 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9, x_10); +x_12 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9, x_10); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__8___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_1); lean_dec(x_1); -x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__8(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__8(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__9___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_1); lean_dec(x_1); -x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__9(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__9(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__10(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__10(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__11___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_1); lean_dec(x_1); -x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__11(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__11(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__12___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_1); lean_dec(x_1); -x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__12(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__12(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__13___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_1); lean_dec(x_1); -x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__13(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__13(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__14___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_1); lean_dec(x_1); -x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__14(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__14(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__15___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_1); lean_dec(x_1); -x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__48___rarg___lambda__15(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Expr_withAppAux___at_Lean_instantiateExprMVars___spec__44___rarg___lambda__15(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } @@ -15800,198 +15018,6 @@ x_2 = l_Std_mkHashMapImp___rarg(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__4___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_st_ref_take(x_1, x_2); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_3, 1); -lean_inc(x_5); -lean_dec(x_3); -x_6 = !lean_is_exclusive(x_4); -if (x_6 == 0) -{ -uint8_t x_7; lean_object* x_8; -x_7 = 1; -lean_ctor_set_uint8(x_4, sizeof(void*)*8, x_7); -x_8 = lean_st_ref_set(x_1, 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; -x_10 = lean_ctor_get(x_8, 0); -lean_dec(x_10); -x_11 = lean_box(0); -lean_ctor_set(x_8, 0, x_11); -return x_8; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 1); -lean_inc(x_12); -lean_dec(x_8); -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; -} -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_8); -if (x_15 == 0) -{ -return x_8; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_8, 0); -x_17 = lean_ctor_get(x_8, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_8); -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; -} -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; -x_19 = lean_ctor_get(x_4, 0); -x_20 = lean_ctor_get(x_4, 1); -x_21 = lean_ctor_get(x_4, 2); -x_22 = lean_ctor_get(x_4, 3); -x_23 = lean_ctor_get(x_4, 4); -x_24 = lean_ctor_get(x_4, 5); -x_25 = lean_ctor_get(x_4, 6); -x_26 = lean_ctor_get(x_4, 7); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_4); -x_27 = 1; -x_28 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_28, 0, x_19); -lean_ctor_set(x_28, 1, x_20); -lean_ctor_set(x_28, 2, x_21); -lean_ctor_set(x_28, 3, x_22); -lean_ctor_set(x_28, 4, x_23); -lean_ctor_set(x_28, 5, x_24); -lean_ctor_set(x_28, 6, x_25); -lean_ctor_set(x_28, 7, x_26); -lean_ctor_set_uint8(x_28, sizeof(void*)*8, x_27); -x_29 = lean_st_ref_set(x_1, x_28, x_5); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - x_31 = x_29; -} else { - lean_dec_ref(x_29); - x_31 = lean_box(0); -} -x_32 = lean_box(0); -if (lean_is_scalar(x_31)) { - x_33 = lean_alloc_ctor(0, 2, 0); -} else { - x_33 = x_31; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_30); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_29, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_29, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - x_36 = x_29; -} else { - lean_dec_ref(x_29); - x_36 = lean_box(0); -} -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(1, 2, 0); -} else { - x_37 = x_36; -} -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -} -} -else -{ -uint8_t x_38; -x_38 = !lean_is_exclusive(x_3); -if (x_38 == 0) -{ -return x_3; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_3, 0); -x_40 = lean_ctor_get(x_3, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_3); -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_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__4___rarg___boxed), 2, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__3___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_5); -return x_6; -} -} LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -16003,161 +15029,48 @@ uint8_t x_6; x_6 = !lean_is_exclusive(x_5); if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_7; lean_object* x_8; x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_5, 1); -x_9 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_7, x_1); -if (lean_obj_tag(x_9) == 0) -{ -lean_ctor_set(x_5, 0, x_9); +x_8 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_7, x_1); +lean_ctor_set(x_5, 0, x_8); return x_5; } else { -lean_object* x_10; -lean_free_object(x_5); -x_10 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__4___rarg(x_3, 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; -x_12 = lean_ctor_get(x_10, 0); -lean_dec(x_12); -lean_ctor_set(x_10, 0, x_9); -return x_10; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_10, 1); -lean_inc(x_13); -lean_dec(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_9); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -} -else -{ -uint8_t x_15; -lean_dec(x_9); -x_15 = !lean_is_exclusive(x_10); -if (x_15 == 0) -{ -return x_10; -} -else -{ -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; -} -} -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_5, 0); -x_20 = lean_ctor_get(x_5, 1); -lean_inc(x_20); -lean_inc(x_19); +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_21 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_19, x_1); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -else -{ -lean_object* x_23; -x_23 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__4___rarg(x_3, x_20); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_25 = x_23; -} else { - lean_dec_ref(x_23); - x_25 = lean_box(0); -} -if (lean_is_scalar(x_25)) { - x_26 = lean_alloc_ctor(0, 2, 0); -} else { - x_26 = x_25; -} -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_24); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_21); -x_27 = lean_ctor_get(x_23, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_29 = x_23; -} else { - lean_dec_ref(x_23); - x_29 = lean_box(0); -} -if (lean_is_scalar(x_29)) { - x_30 = lean_alloc_ctor(1, 2, 0); -} else { - x_30 = x_29; -} -lean_ctor_set(x_30, 0, x_27); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} +x_11 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_9, x_1); +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_31; +uint8_t x_13; lean_dec(x_1); -x_31 = !lean_is_exclusive(x_5); -if (x_31 == 0) +x_13 = !lean_is_exclusive(x_5); +if (x_13 == 0) { return x_5; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_5, 0); -x_33 = lean_ctor_get(x_5, 1); -lean_inc(x_33); -lean_inc(x_32); +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_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; +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; } } } @@ -16170,7 +15083,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_inst return x_2; } } -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; @@ -16186,74 +15099,71 @@ lean_dec(x_6); x_9 = !lean_is_exclusive(x_7); if (x_9 == 0) { -lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_7, 6); x_11 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_10, x_1, x_2); -x_12 = 1; lean_ctor_set(x_7, 6, x_11); -lean_ctor_set_uint8(x_7, sizeof(void*)*8, x_12); -x_13 = lean_st_ref_set(x_4, x_7, x_8); -if (lean_obj_tag(x_13) == 0) +x_12 = lean_st_ref_set(x_4, x_7, x_8); +if (lean_obj_tag(x_12) == 0) { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) { -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -lean_dec(x_15); -x_16 = lean_box(0); -lean_ctor_set(x_13, 0, x_16); -return x_13; +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_dec(x_14); +x_15 = lean_box(0); +lean_ctor_set(x_12, 0, x_15); +return x_12; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_13, 1); -lean_inc(x_17); -lean_dec(x_13); -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* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_12, 1); +lean_inc(x_16); +lean_dec(x_12); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; } } else { -uint8_t x_20; -x_20 = !lean_is_exclusive(x_13); -if (x_20 == 0) +uint8_t x_19; +x_19 = !lean_is_exclusive(x_12); +if (x_19 == 0) { -return x_13; +return x_12; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_13, 0); -x_22 = lean_ctor_get(x_13, 1); -lean_inc(x_22); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_12, 0); +x_21 = lean_ctor_get(x_12, 1); lean_inc(x_21); -lean_dec(x_13); -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_inc(x_20); +lean_dec(x_12); +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; } } } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_24 = lean_ctor_get(x_7, 0); -x_25 = lean_ctor_get(x_7, 1); -x_26 = lean_ctor_get(x_7, 2); -x_27 = lean_ctor_get(x_7, 3); -x_28 = lean_ctor_get(x_7, 4); -x_29 = lean_ctor_get(x_7, 5); -x_30 = lean_ctor_get(x_7, 6); -x_31 = lean_ctor_get(x_7, 7); -lean_inc(x_31); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_23 = lean_ctor_get(x_7, 0); +x_24 = lean_ctor_get(x_7, 1); +x_25 = lean_ctor_get(x_7, 2); +x_26 = lean_ctor_get(x_7, 3); +x_27 = lean_ctor_get(x_7, 4); +x_28 = lean_ctor_get(x_7, 5); +x_29 = lean_ctor_get(x_7, 6); +x_30 = lean_ctor_get(x_7, 7); lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); @@ -16261,104 +15171,103 @@ lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); +lean_inc(x_23); lean_dec(x_7); -x_32 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_30, x_1, x_2); -x_33 = 1; -x_34 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_34, 0, x_24); -lean_ctor_set(x_34, 1, x_25); -lean_ctor_set(x_34, 2, x_26); -lean_ctor_set(x_34, 3, x_27); -lean_ctor_set(x_34, 4, x_28); -lean_ctor_set(x_34, 5, x_29); -lean_ctor_set(x_34, 6, x_32); -lean_ctor_set(x_34, 7, x_31); -lean_ctor_set_uint8(x_34, sizeof(void*)*8, x_33); -x_35 = lean_st_ref_set(x_4, x_34, x_8); -if (lean_obj_tag(x_35) == 0) +x_31 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_29, x_1, x_2); +x_32 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_32, 0, x_23); +lean_ctor_set(x_32, 1, x_24); +lean_ctor_set(x_32, 2, x_25); +lean_ctor_set(x_32, 3, x_26); +lean_ctor_set(x_32, 4, x_27); +lean_ctor_set(x_32, 5, x_28); +lean_ctor_set(x_32, 6, x_31); +lean_ctor_set(x_32, 7, x_30); +x_33 = lean_st_ref_set(x_4, x_32, x_8); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_35 = x_33; +} else { + lean_dec_ref(x_33); + x_35 = lean_box(0); +} +x_36 = lean_box(0); +if (lean_is_scalar(x_35)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { x_37 = x_35; -} else { - lean_dec_ref(x_35); - x_37 = lean_box(0); } -x_38 = lean_box(0); -if (lean_is_scalar(x_37)) { - x_39 = lean_alloc_ctor(0, 2, 0); -} else { - x_39 = x_37; -} -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_36); -return x_39; +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +return x_37; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_ctor_get(x_35, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_35, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_42 = x_35; +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_33, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_40 = x_33; } else { - lean_dec_ref(x_35); - x_42 = lean_box(0); + lean_dec_ref(x_33); + x_40 = lean_box(0); } -if (lean_is_scalar(x_42)) { - x_43 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(1, 2, 0); } else { - x_43 = x_42; + x_41 = x_40; } -lean_ctor_set(x_43, 0, x_40); -lean_ctor_set(x_43, 1, x_41); -return x_43; +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_39); +return x_41; } } } else { -uint8_t x_44; +uint8_t x_42; lean_dec(x_2); lean_dec(x_1); -x_44 = !lean_is_exclusive(x_6); -if (x_44 == 0) +x_42 = !lean_is_exclusive(x_6); +if (x_42 == 0) { return x_6; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_6, 0); -x_46 = lean_ctor_get(x_6, 1); -lean_inc(x_46); -lean_inc(x_45); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_6, 0); +x_44 = lean_ctor_get(x_6, 1); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_6); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } } -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__5(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__4(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__5___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__4___rarg___boxed), 5, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__6___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; @@ -16374,74 +15283,71 @@ lean_dec(x_6); x_9 = !lean_is_exclusive(x_7); if (x_9 == 0) { -lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_7, 5); x_11 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_10, x_1, x_2); -x_12 = 1; lean_ctor_set(x_7, 5, x_11); -lean_ctor_set_uint8(x_7, sizeof(void*)*8, x_12); -x_13 = lean_st_ref_set(x_4, x_7, x_8); -if (lean_obj_tag(x_13) == 0) +x_12 = lean_st_ref_set(x_4, x_7, x_8); +if (lean_obj_tag(x_12) == 0) { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) { -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -lean_dec(x_15); -x_16 = lean_box(0); -lean_ctor_set(x_13, 0, x_16); -return x_13; +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_dec(x_14); +x_15 = lean_box(0); +lean_ctor_set(x_12, 0, x_15); +return x_12; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_13, 1); -lean_inc(x_17); -lean_dec(x_13); -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* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_12, 1); +lean_inc(x_16); +lean_dec(x_12); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; } } else { -uint8_t x_20; -x_20 = !lean_is_exclusive(x_13); -if (x_20 == 0) +uint8_t x_19; +x_19 = !lean_is_exclusive(x_12); +if (x_19 == 0) { -return x_13; +return x_12; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_13, 0); -x_22 = lean_ctor_get(x_13, 1); -lean_inc(x_22); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_12, 0); +x_21 = lean_ctor_get(x_12, 1); lean_inc(x_21); -lean_dec(x_13); -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_inc(x_20); +lean_dec(x_12); +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; } } } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_24 = lean_ctor_get(x_7, 0); -x_25 = lean_ctor_get(x_7, 1); -x_26 = lean_ctor_get(x_7, 2); -x_27 = lean_ctor_get(x_7, 3); -x_28 = lean_ctor_get(x_7, 4); -x_29 = lean_ctor_get(x_7, 5); -x_30 = lean_ctor_get(x_7, 6); -x_31 = lean_ctor_get(x_7, 7); -lean_inc(x_31); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_23 = lean_ctor_get(x_7, 0); +x_24 = lean_ctor_get(x_7, 1); +x_25 = lean_ctor_get(x_7, 2); +x_26 = lean_ctor_get(x_7, 3); +x_27 = lean_ctor_get(x_7, 4); +x_28 = lean_ctor_get(x_7, 5); +x_29 = lean_ctor_get(x_7, 6); +x_30 = lean_ctor_get(x_7, 7); lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); @@ -16449,286 +15355,103 @@ lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); +lean_inc(x_23); lean_dec(x_7); -x_32 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_29, x_1, x_2); -x_33 = 1; -x_34 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_34, 0, x_24); -lean_ctor_set(x_34, 1, x_25); -lean_ctor_set(x_34, 2, x_26); -lean_ctor_set(x_34, 3, x_27); -lean_ctor_set(x_34, 4, x_28); -lean_ctor_set(x_34, 5, x_32); -lean_ctor_set(x_34, 6, x_30); -lean_ctor_set(x_34, 7, x_31); -lean_ctor_set_uint8(x_34, sizeof(void*)*8, x_33); -x_35 = lean_st_ref_set(x_4, x_34, x_8); -if (lean_obj_tag(x_35) == 0) +x_31 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_28, x_1, x_2); +x_32 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_32, 0, x_23); +lean_ctor_set(x_32, 1, x_24); +lean_ctor_set(x_32, 2, x_25); +lean_ctor_set(x_32, 3, x_26); +lean_ctor_set(x_32, 4, x_27); +lean_ctor_set(x_32, 5, x_31); +lean_ctor_set(x_32, 6, x_29); +lean_ctor_set(x_32, 7, x_30); +x_33 = lean_st_ref_set(x_4, x_32, x_8); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_35 = x_33; +} else { + lean_dec_ref(x_33); + x_35 = lean_box(0); +} +x_36 = lean_box(0); +if (lean_is_scalar(x_35)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { x_37 = x_35; -} else { - lean_dec_ref(x_35); - x_37 = lean_box(0); } -x_38 = lean_box(0); -if (lean_is_scalar(x_37)) { - x_39 = lean_alloc_ctor(0, 2, 0); -} else { - x_39 = x_37; -} -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_36); -return x_39; +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +return x_37; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_ctor_get(x_35, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_35, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_42 = x_35; +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_33, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_40 = x_33; } else { - lean_dec_ref(x_35); - x_42 = lean_box(0); + lean_dec_ref(x_33); + x_40 = lean_box(0); } -if (lean_is_scalar(x_42)) { - x_43 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(1, 2, 0); } else { - x_43 = x_42; + x_41 = x_40; } -lean_ctor_set(x_43, 0, x_40); -lean_ctor_set(x_43, 1, x_41); -return x_43; +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_39); +return x_41; } } } else { -uint8_t x_44; +uint8_t x_42; lean_dec(x_2); lean_dec(x_1); -x_44 = !lean_is_exclusive(x_6); -if (x_44 == 0) +x_42 = !lean_is_exclusive(x_6); +if (x_42 == 0) { return x_6; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_6, 0); -x_46 = lean_ctor_get(x_6, 1); -lean_inc(x_46); -lean_inc(x_45); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_6, 0); +x_44 = lean_ctor_get(x_6, 1); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_6); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } } -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__7(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__6(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__7___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__6___rarg___boxed), 5, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_st_ref_take(x_1, x_2); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_3, 1); -lean_inc(x_5); -lean_dec(x_3); -x_6 = !lean_is_exclusive(x_4); -if (x_6 == 0) -{ -uint8_t x_7; lean_object* x_8; -x_7 = 1; -lean_ctor_set_uint8(x_4, sizeof(void*)*8, x_7); -x_8 = lean_st_ref_set(x_1, 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; -x_10 = lean_ctor_get(x_8, 0); -lean_dec(x_10); -x_11 = lean_box(0); -lean_ctor_set(x_8, 0, x_11); -return x_8; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 1); -lean_inc(x_12); -lean_dec(x_8); -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; -} -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_8); -if (x_15 == 0) -{ -return x_8; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_8, 0); -x_17 = lean_ctor_get(x_8, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_8); -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; -} -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; -x_19 = lean_ctor_get(x_4, 0); -x_20 = lean_ctor_get(x_4, 1); -x_21 = lean_ctor_get(x_4, 2); -x_22 = lean_ctor_get(x_4, 3); -x_23 = lean_ctor_get(x_4, 4); -x_24 = lean_ctor_get(x_4, 5); -x_25 = lean_ctor_get(x_4, 6); -x_26 = lean_ctor_get(x_4, 7); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_4); -x_27 = 1; -x_28 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_28, 0, x_19); -lean_ctor_set(x_28, 1, x_20); -lean_ctor_set(x_28, 2, x_21); -lean_ctor_set(x_28, 3, x_22); -lean_ctor_set(x_28, 4, x_23); -lean_ctor_set(x_28, 5, x_24); -lean_ctor_set(x_28, 6, x_25); -lean_ctor_set(x_28, 7, x_26); -lean_ctor_set_uint8(x_28, sizeof(void*)*8, x_27); -x_29 = lean_st_ref_set(x_1, x_28, x_5); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - x_31 = x_29; -} else { - lean_dec_ref(x_29); - x_31 = lean_box(0); -} -x_32 = lean_box(0); -if (lean_is_scalar(x_31)) { - x_33 = lean_alloc_ctor(0, 2, 0); -} else { - x_33 = x_31; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_30); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_29, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_29, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - x_36 = x_29; -} else { - lean_dec_ref(x_29); - x_36 = lean_box(0); -} -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(1, 2, 0); -} else { - x_37 = x_36; -} -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -} -} -else -{ -uint8_t x_38; -x_38 = !lean_is_exclusive(x_3); -if (x_38 == 0) -{ -return x_3; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_3, 0); -x_40 = lean_ctor_get(x_3, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_3); -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_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8___rarg___boxed), 2, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_1)) { @@ -16738,7 +15461,7 @@ lean_object* x_5; lean_object* x_6; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_inc(x_5); -x_6 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_5, x_2, x_3, x_4); +x_6 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg(x_5, x_2, x_3, x_4); if (lean_obj_tag(x_6) == 0) { uint8_t x_7; @@ -16832,7 +15555,7 @@ lean_inc(x_25); x_26 = lean_ctor_get(x_1, 1); lean_inc(x_26); lean_inc(x_25); -x_27 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_25, x_2, x_3, x_4); +x_27 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg(x_25, x_2, x_3, x_4); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; lean_object* x_29; lean_object* x_30; @@ -16842,7 +15565,7 @@ x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); lean_inc(x_26); -x_30 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_26, x_2, x_3, x_29); +x_30 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg(x_26, x_2, x_3, x_29); if (lean_obj_tag(x_30) == 0) { uint8_t x_31; @@ -17007,7 +15730,7 @@ lean_inc(x_64); x_65 = lean_ctor_get(x_1, 1); lean_inc(x_65); lean_inc(x_64); -x_66 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_64, x_2, x_3, x_4); +x_66 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg(x_64, x_2, x_3, x_4); if (lean_obj_tag(x_66) == 0) { lean_object* x_67; lean_object* x_68; lean_object* x_69; @@ -17017,7 +15740,7 @@ x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); lean_dec(x_66); lean_inc(x_65); -x_69 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_65, x_2, x_3, x_68); +x_69 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg(x_65, x_2, x_3, x_68); if (lean_obj_tag(x_69) == 0) { uint8_t x_70; @@ -17172,18 +15895,141 @@ return x_102; } case 5: { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_127; +lean_object* x_103; lean_object* x_104; x_103 = lean_ctor_get(x_1, 0); lean_inc(x_103); -x_127 = lean_st_ref_get(x_3, x_4); -if (lean_obj_tag(x_127) == 0) +x_104 = lean_st_ref_get(x_3, x_4); +if (lean_obj_tag(x_104) == 0) +{ +uint8_t x_105; +x_105 = !lean_is_exclusive(x_104); +if (x_105 == 0) +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_106 = lean_ctor_get(x_104, 0); +x_107 = lean_ctor_get(x_104, 1); +x_108 = lean_ctor_get(x_106, 5); +lean_inc(x_108); +lean_dec(x_106); +lean_inc(x_103); +x_109 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_108, x_103); +if (lean_obj_tag(x_109) == 0) +{ +lean_dec(x_103); +lean_ctor_set(x_104, 0, x_1); +return x_104; +} +else +{ +lean_object* x_110; uint8_t x_111; +lean_dec(x_1); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +lean_dec(x_109); +x_111 = l_Lean_Level_hasMVar(x_110); +if (x_111 == 0) +{ +lean_dec(x_103); +lean_ctor_set(x_104, 0, x_110); +return x_104; +} +else +{ +lean_object* x_112; +lean_free_object(x_104); +x_112 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg(x_110, x_2, x_3, x_107); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +lean_inc(x_113); +x_115 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__6___rarg(x_103, x_113, x_2, x_3, x_114); +if (lean_obj_tag(x_115) == 0) +{ +uint8_t x_116; +x_116 = !lean_is_exclusive(x_115); +if (x_116 == 0) +{ +lean_object* x_117; +x_117 = lean_ctor_get(x_115, 0); +lean_dec(x_117); +lean_ctor_set(x_115, 0, x_113); +return x_115; +} +else +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_115, 1); +lean_inc(x_118); +lean_dec(x_115); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_113); +lean_ctor_set(x_119, 1, x_118); +return x_119; +} +} +else +{ +uint8_t x_120; +lean_dec(x_113); +x_120 = !lean_is_exclusive(x_115); +if (x_120 == 0) +{ +return x_115; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_115, 0); +x_122 = lean_ctor_get(x_115, 1); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_115); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +} +else +{ +uint8_t x_124; +lean_dec(x_103); +x_124 = !lean_is_exclusive(x_112); +if (x_124 == 0) +{ +return x_112; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_112, 0); +x_126 = lean_ctor_get(x_112, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_112); +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; -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); +x_128 = lean_ctor_get(x_104, 0); +x_129 = lean_ctor_get(x_104, 1); lean_inc(x_129); -lean_dec(x_127); +lean_inc(x_128); +lean_dec(x_104); x_130 = lean_ctor_get(x_128, 5); lean_inc(x_130); lean_dec(x_128); @@ -17191,212 +16037,166 @@ lean_inc(x_103); x_131 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_130, x_103); if (lean_obj_tag(x_131) == 0) { -x_104 = x_131; -x_105 = x_129; -goto block_126; -} -else -{ lean_object* x_132; -x_132 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8___rarg(x_3, x_129); -if (lean_obj_tag(x_132) == 0) -{ -lean_object* x_133; -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -lean_dec(x_132); -x_104 = x_131; -x_105 = x_133; -goto block_126; -} -else -{ -uint8_t x_134; -lean_dec(x_131); lean_dec(x_103); -lean_dec(x_1); -x_134 = !lean_is_exclusive(x_132); -if (x_134 == 0) -{ +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_1); +lean_ctor_set(x_132, 1, x_129); return x_132; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_135 = lean_ctor_get(x_132, 0); -x_136 = lean_ctor_get(x_132, 1); -lean_inc(x_136); -lean_inc(x_135); -lean_dec(x_132); -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_136); -return x_137; -} -} -} -} -else -{ -uint8_t x_138; -lean_dec(x_103); +lean_object* x_133; uint8_t x_134; lean_dec(x_1); -x_138 = !lean_is_exclusive(x_127); -if (x_138 == 0) +x_133 = lean_ctor_get(x_131, 0); +lean_inc(x_133); +lean_dec(x_131); +x_134 = l_Lean_Level_hasMVar(x_133); +if (x_134 == 0) { -return x_127; +lean_object* x_135; +lean_dec(x_103); +x_135 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_129); +return x_135; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_127, 0); -x_140 = lean_ctor_get(x_127, 1); +lean_object* x_136; +x_136 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg(x_133, x_2, x_3, x_129); +if (lean_obj_tag(x_136) == 0) +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); +lean_dec(x_136); +lean_inc(x_137); +x_139 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__6___rarg(x_103, x_137, x_2, x_3, x_138); +if (lean_obj_tag(x_139) == 0) +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_139, 1); lean_inc(x_140); -lean_inc(x_139); -lean_dec(x_127); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_139); -lean_ctor_set(x_141, 1, x_140); -return x_141; +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_141 = x_139; +} else { + lean_dec_ref(x_139); + x_141 = lean_box(0); } +if (lean_is_scalar(x_141)) { + x_142 = lean_alloc_ctor(0, 2, 0); +} else { + x_142 = x_141; } -block_126: -{ -if (lean_obj_tag(x_104) == 0) -{ -lean_object* x_106; -lean_dec(x_103); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_1); -lean_ctor_set(x_106, 1, x_105); -return x_106; +lean_ctor_set(x_142, 0, x_137); +lean_ctor_set(x_142, 1, x_140); +return x_142; } else { -lean_object* x_107; uint8_t x_108; +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +lean_dec(x_137); +x_143 = lean_ctor_get(x_139, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_145 = x_139; +} else { + lean_dec_ref(x_139); + x_145 = lean_box(0); +} +if (lean_is_scalar(x_145)) { + x_146 = lean_alloc_ctor(1, 2, 0); +} else { + x_146 = x_145; +} +lean_ctor_set(x_146, 0, x_143); +lean_ctor_set(x_146, 1, x_144); +return x_146; +} +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +lean_dec(x_103); +x_147 = lean_ctor_get(x_136, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_136, 1); +lean_inc(x_148); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + x_149 = x_136; +} else { + lean_dec_ref(x_136); + x_149 = lean_box(0); +} +if (lean_is_scalar(x_149)) { + x_150 = lean_alloc_ctor(1, 2, 0); +} else { + x_150 = x_149; +} +lean_ctor_set(x_150, 0, x_147); +lean_ctor_set(x_150, 1, x_148); +return x_150; +} +} +} +} +} +else +{ +uint8_t x_151; +lean_dec(x_103); lean_dec(x_1); -x_107 = lean_ctor_get(x_104, 0); -lean_inc(x_107); +x_151 = !lean_is_exclusive(x_104); +if (x_151 == 0) +{ +return x_104; +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_104, 0); +x_153 = lean_ctor_get(x_104, 1); +lean_inc(x_153); +lean_inc(x_152); lean_dec(x_104); -x_108 = l_Lean_Level_hasMVar(x_107); -if (x_108 == 0) -{ -lean_object* x_109; -lean_dec(x_103); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_105); -return x_109; -} -else -{ -lean_object* x_110; -x_110 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_107, x_2, x_3, x_105); -if (lean_obj_tag(x_110) == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -lean_inc(x_111); -x_113 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__7___rarg(x_103, x_111, x_2, x_3, x_112); -if (lean_obj_tag(x_113) == 0) -{ -uint8_t x_114; -x_114 = !lean_is_exclusive(x_113); -if (x_114 == 0) -{ -lean_object* x_115; -x_115 = lean_ctor_get(x_113, 0); -lean_dec(x_115); -lean_ctor_set(x_113, 0, x_111); -return x_113; -} -else -{ -lean_object* x_116; lean_object* x_117; -x_116 = lean_ctor_get(x_113, 1); -lean_inc(x_116); -lean_dec(x_113); -x_117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_117, 0, x_111); -lean_ctor_set(x_117, 1, x_116); -return x_117; -} -} -else -{ -uint8_t x_118; -lean_dec(x_111); -x_118 = !lean_is_exclusive(x_113); -if (x_118 == 0) -{ -return x_113; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_113, 0); -x_120 = lean_ctor_get(x_113, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_113); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; -} -} -} -else -{ -uint8_t x_122; -lean_dec(x_103); -x_122 = !lean_is_exclusive(x_110); -if (x_122 == 0) -{ -return x_110; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_110, 0); -x_124 = lean_ctor_get(x_110, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_110); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -return x_125; -} -} -} +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set(x_154, 1, x_153); +return x_154; } } } default: { -lean_object* x_142; -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_1); -lean_ctor_set(x_142, 1, x_4); -return x_142; +lean_object* x_155; +x_155 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_155, 0, x_1); +lean_ctor_set(x_155, 1, x_4); +return x_155; } } } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg___boxed), 4, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__10___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__8___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; @@ -17412,74 +16212,71 @@ lean_dec(x_6); x_9 = !lean_is_exclusive(x_7); if (x_9 == 0) { -lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_7, 5); x_11 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_10, x_1, x_2); -x_12 = 1; lean_ctor_set(x_7, 5, x_11); -lean_ctor_set_uint8(x_7, sizeof(void*)*8, x_12); -x_13 = lean_st_ref_set(x_4, x_7, x_8); -if (lean_obj_tag(x_13) == 0) +x_12 = lean_st_ref_set(x_4, x_7, x_8); +if (lean_obj_tag(x_12) == 0) { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) { -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_13, 0); -lean_dec(x_15); -x_16 = lean_box(0); -lean_ctor_set(x_13, 0, x_16); -return x_13; +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 0); +lean_dec(x_14); +x_15 = lean_box(0); +lean_ctor_set(x_12, 0, x_15); +return x_12; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_13, 1); -lean_inc(x_17); -lean_dec(x_13); -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* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_12, 1); +lean_inc(x_16); +lean_dec(x_12); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; } } else { -uint8_t x_20; -x_20 = !lean_is_exclusive(x_13); -if (x_20 == 0) +uint8_t x_19; +x_19 = !lean_is_exclusive(x_12); +if (x_19 == 0) { -return x_13; +return x_12; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_13, 0); -x_22 = lean_ctor_get(x_13, 1); -lean_inc(x_22); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_12, 0); +x_21 = lean_ctor_get(x_12, 1); lean_inc(x_21); -lean_dec(x_13); -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_inc(x_20); +lean_dec(x_12); +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; } } } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_24 = lean_ctor_get(x_7, 0); -x_25 = lean_ctor_get(x_7, 1); -x_26 = lean_ctor_get(x_7, 2); -x_27 = lean_ctor_get(x_7, 3); -x_28 = lean_ctor_get(x_7, 4); -x_29 = lean_ctor_get(x_7, 5); -x_30 = lean_ctor_get(x_7, 6); -x_31 = lean_ctor_get(x_7, 7); -lean_inc(x_31); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_23 = lean_ctor_get(x_7, 0); +x_24 = lean_ctor_get(x_7, 1); +x_25 = lean_ctor_get(x_7, 2); +x_26 = lean_ctor_get(x_7, 3); +x_27 = lean_ctor_get(x_7, 4); +x_28 = lean_ctor_get(x_7, 5); +x_29 = lean_ctor_get(x_7, 6); +x_30 = lean_ctor_get(x_7, 7); lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); @@ -17487,286 +16284,103 @@ lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); +lean_inc(x_23); lean_dec(x_7); -x_32 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_29, x_1, x_2); -x_33 = 1; -x_34 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_34, 0, x_24); -lean_ctor_set(x_34, 1, x_25); -lean_ctor_set(x_34, 2, x_26); -lean_ctor_set(x_34, 3, x_27); -lean_ctor_set(x_34, 4, x_28); -lean_ctor_set(x_34, 5, x_32); -lean_ctor_set(x_34, 6, x_30); -lean_ctor_set(x_34, 7, x_31); -lean_ctor_set_uint8(x_34, sizeof(void*)*8, x_33); -x_35 = lean_st_ref_set(x_4, x_34, x_8); -if (lean_obj_tag(x_35) == 0) +x_31 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_28, x_1, x_2); +x_32 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_32, 0, x_23); +lean_ctor_set(x_32, 1, x_24); +lean_ctor_set(x_32, 2, x_25); +lean_ctor_set(x_32, 3, x_26); +lean_ctor_set(x_32, 4, x_27); +lean_ctor_set(x_32, 5, x_31); +lean_ctor_set(x_32, 6, x_29); +lean_ctor_set(x_32, 7, x_30); +x_33 = lean_st_ref_set(x_4, x_32, x_8); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_35 = x_33; +} else { + lean_dec_ref(x_33); + x_35 = lean_box(0); +} +x_36 = lean_box(0); +if (lean_is_scalar(x_35)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { x_37 = x_35; -} else { - lean_dec_ref(x_35); - x_37 = lean_box(0); } -x_38 = lean_box(0); -if (lean_is_scalar(x_37)) { - x_39 = lean_alloc_ctor(0, 2, 0); -} else { - x_39 = x_37; -} -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_36); -return x_39; +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_34); +return x_37; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_ctor_get(x_35, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_35, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_42 = x_35; +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_33, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_40 = x_33; } else { - lean_dec_ref(x_35); - x_42 = lean_box(0); + lean_dec_ref(x_33); + x_40 = lean_box(0); } -if (lean_is_scalar(x_42)) { - x_43 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(1, 2, 0); } else { - x_43 = x_42; + x_41 = x_40; } -lean_ctor_set(x_43, 0, x_40); -lean_ctor_set(x_43, 1, x_41); -return x_43; +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_39); +return x_41; } } } else { -uint8_t x_44; +uint8_t x_42; lean_dec(x_2); lean_dec(x_1); -x_44 = !lean_is_exclusive(x_6); -if (x_44 == 0) +x_42 = !lean_is_exclusive(x_6); +if (x_42 == 0) { return x_6; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_6, 0); -x_46 = lean_ctor_get(x_6, 1); -lean_inc(x_46); -lean_inc(x_45); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_6, 0); +x_44 = lean_ctor_get(x_6, 1); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_6); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } } -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__10(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__8(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__10___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__8___rarg___boxed), 5, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_st_ref_take(x_1, x_2); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_3, 1); -lean_inc(x_5); -lean_dec(x_3); -x_6 = !lean_is_exclusive(x_4); -if (x_6 == 0) -{ -uint8_t x_7; lean_object* x_8; -x_7 = 1; -lean_ctor_set_uint8(x_4, sizeof(void*)*8, x_7); -x_8 = lean_st_ref_set(x_1, 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; -x_10 = lean_ctor_get(x_8, 0); -lean_dec(x_10); -x_11 = lean_box(0); -lean_ctor_set(x_8, 0, x_11); -return x_8; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 1); -lean_inc(x_12); -lean_dec(x_8); -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; -} -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_8); -if (x_15 == 0) -{ -return x_8; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_8, 0); -x_17 = lean_ctor_get(x_8, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_8); -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; -} -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; -x_19 = lean_ctor_get(x_4, 0); -x_20 = lean_ctor_get(x_4, 1); -x_21 = lean_ctor_get(x_4, 2); -x_22 = lean_ctor_get(x_4, 3); -x_23 = lean_ctor_get(x_4, 4); -x_24 = lean_ctor_get(x_4, 5); -x_25 = lean_ctor_get(x_4, 6); -x_26 = lean_ctor_get(x_4, 7); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_4); -x_27 = 1; -x_28 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_28, 0, x_19); -lean_ctor_set(x_28, 1, x_20); -lean_ctor_set(x_28, 2, x_21); -lean_ctor_set(x_28, 3, x_22); -lean_ctor_set(x_28, 4, x_23); -lean_ctor_set(x_28, 5, x_24); -lean_ctor_set(x_28, 6, x_25); -lean_ctor_set(x_28, 7, x_26); -lean_ctor_set_uint8(x_28, sizeof(void*)*8, x_27); -x_29 = lean_st_ref_set(x_1, x_28, x_5); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - x_31 = x_29; -} else { - lean_dec_ref(x_29); - x_31 = lean_box(0); -} -x_32 = lean_box(0); -if (lean_is_scalar(x_31)) { - x_33 = lean_alloc_ctor(0, 2, 0); -} else { - x_33 = x_31; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_30); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_29, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_29, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - x_36 = x_29; -} else { - lean_dec_ref(x_29); - x_36 = lean_box(0); -} -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(1, 2, 0); -} else { - x_37 = x_36; -} -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -} -} -else -{ -uint8_t x_38; -x_38 = !lean_is_exclusive(x_3); -if (x_38 == 0) -{ -return x_3; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_3, 0); -x_40 = lean_ctor_get(x_3, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_3); -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_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11___rarg___boxed), 2, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_1)) { @@ -17776,7 +16390,7 @@ lean_object* x_5; lean_object* x_6; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_inc(x_5); -x_6 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_5, x_2, x_3, x_4); +x_6 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg(x_5, x_2, x_3, x_4); if (lean_obj_tag(x_6) == 0) { uint8_t x_7; @@ -17870,7 +16484,7 @@ lean_inc(x_25); x_26 = lean_ctor_get(x_1, 1); lean_inc(x_26); lean_inc(x_25); -x_27 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_25, x_2, x_3, x_4); +x_27 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg(x_25, x_2, x_3, x_4); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; lean_object* x_29; lean_object* x_30; @@ -17880,7 +16494,7 @@ x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); lean_inc(x_26); -x_30 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_26, x_2, x_3, x_29); +x_30 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg(x_26, x_2, x_3, x_29); if (lean_obj_tag(x_30) == 0) { uint8_t x_31; @@ -18045,7 +16659,7 @@ lean_inc(x_64); x_65 = lean_ctor_get(x_1, 1); lean_inc(x_65); lean_inc(x_64); -x_66 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_64, x_2, x_3, x_4); +x_66 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg(x_64, x_2, x_3, x_4); if (lean_obj_tag(x_66) == 0) { lean_object* x_67; lean_object* x_68; lean_object* x_69; @@ -18055,7 +16669,7 @@ x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); lean_dec(x_66); lean_inc(x_65); -x_69 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_65, x_2, x_3, x_68); +x_69 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg(x_65, x_2, x_3, x_68); if (lean_obj_tag(x_69) == 0) { uint8_t x_70; @@ -18210,18 +16824,141 @@ return x_102; } case 5: { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_127; +lean_object* x_103; lean_object* x_104; x_103 = lean_ctor_get(x_1, 0); lean_inc(x_103); -x_127 = lean_st_ref_get(x_3, x_4); -if (lean_obj_tag(x_127) == 0) +x_104 = lean_st_ref_get(x_3, x_4); +if (lean_obj_tag(x_104) == 0) +{ +uint8_t x_105; +x_105 = !lean_is_exclusive(x_104); +if (x_105 == 0) +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_106 = lean_ctor_get(x_104, 0); +x_107 = lean_ctor_get(x_104, 1); +x_108 = lean_ctor_get(x_106, 5); +lean_inc(x_108); +lean_dec(x_106); +lean_inc(x_103); +x_109 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_108, x_103); +if (lean_obj_tag(x_109) == 0) +{ +lean_dec(x_103); +lean_ctor_set(x_104, 0, x_1); +return x_104; +} +else +{ +lean_object* x_110; uint8_t x_111; +lean_dec(x_1); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +lean_dec(x_109); +x_111 = l_Lean_Level_hasMVar(x_110); +if (x_111 == 0) +{ +lean_dec(x_103); +lean_ctor_set(x_104, 0, x_110); +return x_104; +} +else +{ +lean_object* x_112; +lean_free_object(x_104); +x_112 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg(x_110, x_2, x_3, x_107); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +lean_inc(x_113); +x_115 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__8___rarg(x_103, x_113, x_2, x_3, x_114); +if (lean_obj_tag(x_115) == 0) +{ +uint8_t x_116; +x_116 = !lean_is_exclusive(x_115); +if (x_116 == 0) +{ +lean_object* x_117; +x_117 = lean_ctor_get(x_115, 0); +lean_dec(x_117); +lean_ctor_set(x_115, 0, x_113); +return x_115; +} +else +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_115, 1); +lean_inc(x_118); +lean_dec(x_115); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_113); +lean_ctor_set(x_119, 1, x_118); +return x_119; +} +} +else +{ +uint8_t x_120; +lean_dec(x_113); +x_120 = !lean_is_exclusive(x_115); +if (x_120 == 0) +{ +return x_115; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_115, 0); +x_122 = lean_ctor_get(x_115, 1); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_115); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +} +else +{ +uint8_t x_124; +lean_dec(x_103); +x_124 = !lean_is_exclusive(x_112); +if (x_124 == 0) +{ +return x_112; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_112, 0); +x_126 = lean_ctor_get(x_112, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_112); +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; -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); +x_128 = lean_ctor_get(x_104, 0); +x_129 = lean_ctor_get(x_104, 1); lean_inc(x_129); -lean_dec(x_127); +lean_inc(x_128); +lean_dec(x_104); x_130 = lean_ctor_get(x_128, 5); lean_inc(x_130); lean_dec(x_128); @@ -18229,212 +16966,166 @@ lean_inc(x_103); x_131 = l_Std_PersistentHashMap_find_x3f___at_Lean_getLevelMVarAssignment_x3f___spec__1(x_130, x_103); if (lean_obj_tag(x_131) == 0) { -x_104 = x_131; -x_105 = x_129; -goto block_126; -} -else -{ lean_object* x_132; -x_132 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11___rarg(x_3, x_129); -if (lean_obj_tag(x_132) == 0) -{ -lean_object* x_133; -x_133 = lean_ctor_get(x_132, 1); -lean_inc(x_133); -lean_dec(x_132); -x_104 = x_131; -x_105 = x_133; -goto block_126; -} -else -{ -uint8_t x_134; -lean_dec(x_131); lean_dec(x_103); -lean_dec(x_1); -x_134 = !lean_is_exclusive(x_132); -if (x_134 == 0) -{ +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_1); +lean_ctor_set(x_132, 1, x_129); return x_132; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_135 = lean_ctor_get(x_132, 0); -x_136 = lean_ctor_get(x_132, 1); -lean_inc(x_136); -lean_inc(x_135); -lean_dec(x_132); -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_136); -return x_137; -} -} -} -} -else -{ -uint8_t x_138; -lean_dec(x_103); +lean_object* x_133; uint8_t x_134; lean_dec(x_1); -x_138 = !lean_is_exclusive(x_127); -if (x_138 == 0) +x_133 = lean_ctor_get(x_131, 0); +lean_inc(x_133); +lean_dec(x_131); +x_134 = l_Lean_Level_hasMVar(x_133); +if (x_134 == 0) { -return x_127; +lean_object* x_135; +lean_dec(x_103); +x_135 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_129); +return x_135; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_127, 0); -x_140 = lean_ctor_get(x_127, 1); +lean_object* x_136; +x_136 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg(x_133, x_2, x_3, x_129); +if (lean_obj_tag(x_136) == 0) +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); +lean_dec(x_136); +lean_inc(x_137); +x_139 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__8___rarg(x_103, x_137, x_2, x_3, x_138); +if (lean_obj_tag(x_139) == 0) +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_139, 1); lean_inc(x_140); -lean_inc(x_139); -lean_dec(x_127); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_139); -lean_ctor_set(x_141, 1, x_140); -return x_141; +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_141 = x_139; +} else { + lean_dec_ref(x_139); + x_141 = lean_box(0); } +if (lean_is_scalar(x_141)) { + x_142 = lean_alloc_ctor(0, 2, 0); +} else { + x_142 = x_141; } -block_126: -{ -if (lean_obj_tag(x_104) == 0) -{ -lean_object* x_106; -lean_dec(x_103); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_1); -lean_ctor_set(x_106, 1, x_105); -return x_106; +lean_ctor_set(x_142, 0, x_137); +lean_ctor_set(x_142, 1, x_140); +return x_142; } else { -lean_object* x_107; uint8_t x_108; +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +lean_dec(x_137); +x_143 = lean_ctor_get(x_139, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_145 = x_139; +} else { + lean_dec_ref(x_139); + x_145 = lean_box(0); +} +if (lean_is_scalar(x_145)) { + x_146 = lean_alloc_ctor(1, 2, 0); +} else { + x_146 = x_145; +} +lean_ctor_set(x_146, 0, x_143); +lean_ctor_set(x_146, 1, x_144); +return x_146; +} +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +lean_dec(x_103); +x_147 = lean_ctor_get(x_136, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_136, 1); +lean_inc(x_148); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + x_149 = x_136; +} else { + lean_dec_ref(x_136); + x_149 = lean_box(0); +} +if (lean_is_scalar(x_149)) { + x_150 = lean_alloc_ctor(1, 2, 0); +} else { + x_150 = x_149; +} +lean_ctor_set(x_150, 0, x_147); +lean_ctor_set(x_150, 1, x_148); +return x_150; +} +} +} +} +} +else +{ +uint8_t x_151; +lean_dec(x_103); lean_dec(x_1); -x_107 = lean_ctor_get(x_104, 0); -lean_inc(x_107); +x_151 = !lean_is_exclusive(x_104); +if (x_151 == 0) +{ +return x_104; +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_104, 0); +x_153 = lean_ctor_get(x_104, 1); +lean_inc(x_153); +lean_inc(x_152); lean_dec(x_104); -x_108 = l_Lean_Level_hasMVar(x_107); -if (x_108 == 0) -{ -lean_object* x_109; -lean_dec(x_103); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_105); -return x_109; -} -else -{ -lean_object* x_110; -x_110 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_107, x_2, x_3, x_105); -if (lean_obj_tag(x_110) == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -lean_inc(x_111); -x_113 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__10___rarg(x_103, x_111, x_2, x_3, x_112); -if (lean_obj_tag(x_113) == 0) -{ -uint8_t x_114; -x_114 = !lean_is_exclusive(x_113); -if (x_114 == 0) -{ -lean_object* x_115; -x_115 = lean_ctor_get(x_113, 0); -lean_dec(x_115); -lean_ctor_set(x_113, 0, x_111); -return x_113; -} -else -{ -lean_object* x_116; lean_object* x_117; -x_116 = lean_ctor_get(x_113, 1); -lean_inc(x_116); -lean_dec(x_113); -x_117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_117, 0, x_111); -lean_ctor_set(x_117, 1, x_116); -return x_117; -} -} -else -{ -uint8_t x_118; -lean_dec(x_111); -x_118 = !lean_is_exclusive(x_113); -if (x_118 == 0) -{ -return x_113; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_113, 0); -x_120 = lean_ctor_get(x_113, 1); -lean_inc(x_120); -lean_inc(x_119); -lean_dec(x_113); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; -} -} -} -else -{ -uint8_t x_122; -lean_dec(x_103); -x_122 = !lean_is_exclusive(x_110); -if (x_122 == 0) -{ -return x_110; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_110, 0); -x_124 = lean_ctor_get(x_110, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_110); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -return x_125; -} -} -} +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set(x_154, 1, x_153); +return x_154; } } } default: { -lean_object* x_142; -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_1); -lean_ctor_set(x_142, 1, x_4); -return x_142; +lean_object* x_155; +x_155 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_155, 0, x_1); +lean_ctor_set(x_155, 1, x_4); +return x_155; } } } } -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg___boxed), 4, 0); return x_2; } } -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateMVarsCore___spec__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_2) == 0) @@ -18455,7 +17146,7 @@ if (x_8 == 0) lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_ctor_get(x_2, 0); x_10 = lean_ctor_get(x_2, 1); -x_11 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_9, x_3, x_4, x_5); +x_11 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg(x_9, x_3, x_4, x_5); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -18464,7 +17155,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg(x_1, x_10, x_3, x_4, x_13); +x_14 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__9___rarg(x_1, x_10, x_3, x_4, x_13); if (lean_obj_tag(x_14) == 0) { uint8_t x_15; @@ -18552,7 +17243,7 @@ x_29 = lean_ctor_get(x_2, 1); lean_inc(x_29); lean_inc(x_28); lean_dec(x_2); -x_30 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_28, x_3, x_4, x_5); +x_30 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg(x_28, x_3, x_4, x_5); if (lean_obj_tag(x_30) == 0) { lean_object* x_31; lean_object* x_32; lean_object* x_33; @@ -18561,7 +17252,7 @@ lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); lean_dec(x_30); -x_33 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg(x_1, x_29, x_3, x_4, x_32); +x_33 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__9___rarg(x_1, x_29, x_3, x_4, 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; @@ -18644,11 +17335,221 @@ return x_46; } } } -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateMVarsCore___spec__12(lean_object* x_1) { +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateMVarsCore___spec__9(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_instantiateMVarsCore___spec__9___rarg___boxed), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__10___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_3, x_2); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_4); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_array_uget(x_4, x_3); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_uset(x_4, x_3, x_11); +x_13 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_10, x_5, x_6, x_7); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = 1; +x_17 = lean_usize_add(x_3, x_16); +x_18 = lean_array_uset(x_12, x_3, x_14); +x_3 = x_17; +x_4 = x_18; +x_7 = x_15; +goto _start; +} +else +{ +uint8_t x_20; +lean_dec(x_12); +x_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) +{ +return x_13; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_13, 0); +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_13); +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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__10(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__10___rarg___boxed), 7, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__11___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_3, x_2); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_4); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_array_uget(x_4, x_3); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_uset(x_4, x_3, x_11); +x_13 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_10, x_5, x_6, x_7); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = 1; +x_17 = lean_usize_add(x_3, x_16); +x_18 = lean_array_uset(x_12, x_3, x_14); +x_3 = x_17; +x_4 = x_18; +x_7 = x_15; +goto _start; +} +else +{ +uint8_t x_20; +lean_dec(x_12); +x_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) +{ +return x_13; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_13, 0); +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_13); +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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__11(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__11___rarg___boxed), 7, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__12___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_3, x_2); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_4); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_array_uget(x_4, x_3); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_uset(x_4, x_3, x_11); +x_13 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_10, x_5, x_6, x_7); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = 1; +x_17 = lean_usize_add(x_3, x_16); +x_18 = lean_array_uset(x_12, x_3, x_14); +x_3 = x_17; +x_4 = x_18; +x_7 = x_15; +goto _start; +} +else +{ +uint8_t x_20; +lean_dec(x_12); +x_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) +{ +return x_13; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_13, 0); +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_13); +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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__12(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__12___rarg___boxed), 7, 0); return x_2; } } @@ -18722,73 +17623,74 @@ x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateMVa return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__14___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -uint8_t x_8; -x_8 = lean_usize_dec_lt(x_3, x_2); -if (x_8 == 0) +lean_object* x_5; +x_5 = lean_st_ref_get(x_3, x_4); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_9; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_4); -lean_ctor_set(x_9, 1, x_7); -return x_9; +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_7, 7); +lean_inc(x_8); +lean_dec(x_7); +x_9 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_8, x_1); +lean_ctor_set(x_5, 0, x_9); +return x_5; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_array_uget(x_4, x_3); -x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_array_uset(x_4, x_3, x_11); -x_13 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_10, x_5, x_6, x_7); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = 1; -x_17 = lean_usize_add(x_3, x_16); -x_18 = lean_array_uset(x_12, x_3, x_14); -x_3 = x_17; -x_4 = x_18; -x_7 = x_15; -goto _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_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_ctor_get(x_10, 7); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_12, x_1); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_11); +return x_14; +} } else { -uint8_t x_20; -lean_dec(x_12); -x_20 = !lean_is_exclusive(x_13); -if (x_20 == 0) +uint8_t x_15; +lean_dec(x_1); +x_15 = !lean_is_exclusive(x_5); +if (x_15 == 0) { -return x_13; +return x_5; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_13, 0); -x_22 = lean_ctor_get(x_13, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_13); -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_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_5, 0); +x_17 = lean_ctor_get(x_5, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_5); +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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__14(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__14(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__14___rarg___boxed), 7, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__14___rarg___boxed), 4, 0); return x_2; } } @@ -18932,369 +17834,143 @@ x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateMVa return x_2; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__17___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_3; -x_3 = lean_st_ref_take(x_1, x_2); -if (lean_obj_tag(x_3) == 0) +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_3, x_2); +if (x_8 == 0) { -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_3, 1); -lean_inc(x_5); -lean_dec(x_3); -x_6 = !lean_is_exclusive(x_4); -if (x_6 == 0) -{ -uint8_t x_7; lean_object* x_8; -x_7 = 1; -lean_ctor_set_uint8(x_4, sizeof(void*)*8, x_7); -x_8 = lean_st_ref_set(x_1, 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; -x_10 = lean_ctor_get(x_8, 0); -lean_dec(x_10); -x_11 = lean_box(0); -lean_ctor_set(x_8, 0, x_11); -return x_8; +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_4); +lean_ctor_set(x_9, 1, x_7); +return x_9; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 1); -lean_inc(x_12); -lean_dec(x_8); -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; -} -} -else +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_array_uget(x_4, x_3); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_uset(x_4, x_3, x_11); +x_13 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_10, x_5, x_6, x_7); +if (lean_obj_tag(x_13) == 0) { -uint8_t x_15; -x_15 = !lean_is_exclusive(x_8); -if (x_15 == 0) -{ -return x_8; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_8, 0); -x_17 = lean_ctor_get(x_8, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_8); -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; -} -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; -x_19 = lean_ctor_get(x_4, 0); -x_20 = lean_ctor_get(x_4, 1); -x_21 = lean_ctor_get(x_4, 2); -x_22 = lean_ctor_get(x_4, 3); -x_23 = lean_ctor_get(x_4, 4); -x_24 = lean_ctor_get(x_4, 5); -x_25 = lean_ctor_get(x_4, 6); -x_26 = lean_ctor_get(x_4, 7); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_4); -x_27 = 1; -x_28 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_28, 0, x_19); -lean_ctor_set(x_28, 1, x_20); -lean_ctor_set(x_28, 2, x_21); -lean_ctor_set(x_28, 3, x_22); -lean_ctor_set(x_28, 4, x_23); -lean_ctor_set(x_28, 5, x_24); -lean_ctor_set(x_28, 6, x_25); -lean_ctor_set(x_28, 7, x_26); -lean_ctor_set_uint8(x_28, sizeof(void*)*8, x_27); -x_29 = lean_st_ref_set(x_1, x_28, x_5); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - x_31 = x_29; -} else { - lean_dec_ref(x_29); - x_31 = lean_box(0); -} -x_32 = lean_box(0); -if (lean_is_scalar(x_31)) { - x_33 = lean_alloc_ctor(0, 2, 0); -} else { - x_33 = x_31; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_30); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_29, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_29, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - x_36 = x_29; -} else { - lean_dec_ref(x_29); - x_36 = lean_box(0); -} -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(1, 2, 0); -} else { - x_37 = x_36; -} -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -} -} -else -{ -uint8_t x_38; -x_38 = !lean_is_exclusive(x_3); -if (x_38 == 0) -{ -return x_3; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_3, 0); -x_40 = lean_ctor_get(x_3, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_3); -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_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18___rarg___boxed), 2, 0); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__17___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_st_ref_get(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; lean_object* x_9; lean_object* x_10; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_5, 1); -x_9 = lean_ctor_get(x_7, 7); -lean_inc(x_9); -lean_dec(x_7); -x_10 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_9, x_1); -if (lean_obj_tag(x_10) == 0) -{ -lean_ctor_set(x_5, 0, x_10); -return x_5; -} -else -{ -lean_object* x_11; -lean_free_object(x_5); -x_11 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18___rarg(x_3, x_8); -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; -x_13 = lean_ctor_get(x_11, 0); -lean_dec(x_13); -lean_ctor_set(x_11, 0, x_10); -return x_11; -} -else -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_11, 1); +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); -lean_dec(x_11); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_10); -lean_ctor_set(x_15, 1, x_14); -return x_15; -} +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = 1; +x_17 = lean_usize_add(x_3, x_16); +x_18 = lean_array_uset(x_12, x_3, x_14); +x_3 = x_17; +x_4 = x_18; +x_7 = x_15; +goto _start; } else { -uint8_t x_16; -lean_dec(x_10); -x_16 = !lean_is_exclusive(x_11); -if (x_16 == 0) +uint8_t x_20; +lean_dec(x_12); +x_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) { -return x_11; +return x_13; } 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; -} -} -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_5, 0); -x_21 = lean_ctor_get(x_5, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_5); -x_22 = lean_ctor_get(x_20, 7); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_13, 0); +x_22 = lean_ctor_get(x_13, 1); lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_22, x_1); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_21); -return x_24; -} -else -{ -lean_object* x_25; -x_25 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18___rarg(x_3, x_21); -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); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_27 = x_25; -} else { - lean_dec_ref(x_25); - x_27 = lean_box(0); -} -if (lean_is_scalar(x_27)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_27; -} -lean_ctor_set(x_28, 0, x_23); -lean_ctor_set(x_28, 1, x_26); -return x_28; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -lean_dec(x_23); -x_29 = lean_ctor_get(x_25, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_25, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_31 = x_25; -} else { - lean_dec_ref(x_25); - x_31 = lean_box(0); -} -if (lean_is_scalar(x_31)) { - x_32 = lean_alloc_ctor(1, 2, 0); -} else { - x_32 = x_31; -} -lean_ctor_set(x_32, 0, x_29); -lean_ctor_set(x_32, 1, x_30); -return x_32; +lean_inc(x_21); +lean_dec(x_13); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; } } } } -else -{ -uint8_t x_33; -lean_dec(x_1); -x_33 = !lean_is_exclusive(x_5); -if (x_33 == 0) -{ -return x_5; } -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_5, 0); -x_35 = lean_ctor_get(x_5, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_5); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__17(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__17(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__17___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__17___rarg___boxed), 7, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__18___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_3, x_2); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_4); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_array_uget(x_4, x_3); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_uset(x_4, x_3, x_11); +x_13 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_10, x_5, x_6, x_7); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = 1; +x_17 = lean_usize_add(x_3, x_16); +x_18 = lean_array_uset(x_12, x_3, x_14); +x_3 = x_17; +x_4 = x_18; +x_7 = x_15; +goto _start; +} +else +{ +uint8_t x_20; +lean_dec(x_12); +x_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) +{ +return x_13; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_13, 0); +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_13); +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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__18(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__18___rarg___boxed), 7, 0); return x_2; } } @@ -20628,287 +19304,7 @@ x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateMVa return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__38___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; -x_8 = lean_usize_dec_lt(x_3, x_2); -if (x_8 == 0) -{ -lean_object* x_9; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_4); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_array_uget(x_4, x_3); -x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_array_uset(x_4, x_3, x_11); -x_13 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_10, x_5, x_6, x_7); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = 1; -x_17 = lean_usize_add(x_3, x_16); -x_18 = lean_array_uset(x_12, x_3, x_14); -x_3 = x_17; -x_4 = x_18; -x_7 = x_15; -goto _start; -} -else -{ -uint8_t x_20; -lean_dec(x_12); -x_20 = !lean_is_exclusive(x_13); -if (x_20 == 0) -{ -return x_13; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_13, 0); -x_22 = lean_ctor_get(x_13, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_13); -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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__38(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__38___rarg___boxed), 7, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__39___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; -x_8 = lean_usize_dec_lt(x_3, x_2); -if (x_8 == 0) -{ -lean_object* x_9; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_4); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_array_uget(x_4, x_3); -x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_array_uset(x_4, x_3, x_11); -x_13 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_10, x_5, x_6, x_7); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = 1; -x_17 = lean_usize_add(x_3, x_16); -x_18 = lean_array_uset(x_12, x_3, x_14); -x_3 = x_17; -x_4 = x_18; -x_7 = x_15; -goto _start; -} -else -{ -uint8_t x_20; -lean_dec(x_12); -x_20 = !lean_is_exclusive(x_13); -if (x_20 == 0) -{ -return x_13; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_13, 0); -x_22 = lean_ctor_get(x_13, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_13); -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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__39(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__39___rarg___boxed), 7, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__40___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; -x_8 = lean_usize_dec_lt(x_3, x_2); -if (x_8 == 0) -{ -lean_object* x_9; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_4); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_array_uget(x_4, x_3); -x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_array_uset(x_4, x_3, x_11); -x_13 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_10, x_5, x_6, x_7); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = 1; -x_17 = lean_usize_add(x_3, x_16); -x_18 = lean_array_uset(x_12, x_3, x_14); -x_3 = x_17; -x_4 = x_18; -x_7 = x_15; -goto _start; -} -else -{ -uint8_t x_20; -lean_dec(x_12); -x_20 = !lean_is_exclusive(x_13); -if (x_20 == 0) -{ -return x_13; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_13, 0); -x_22 = lean_ctor_get(x_13, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_13); -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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__40(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__40___rarg___boxed), 7, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__41___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; -x_8 = lean_usize_dec_lt(x_3, x_2); -if (x_8 == 0) -{ -lean_object* x_9; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_4); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_array_uget(x_4, x_3); -x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_array_uset(x_4, x_3, x_11); -x_13 = l_Lean_instantiateExprMVars___at_Lean_instantiateMVarsCore___spec__2___rarg(x_10, x_5, x_6, x_7); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = 1; -x_17 = lean_usize_add(x_3, x_16); -x_18 = lean_array_uset(x_12, x_3, x_14); -x_3 = x_17; -x_4 = x_18; -x_7 = x_15; -goto _start; -} -else -{ -uint8_t x_20; -lean_dec(x_12); -x_20 = !lean_is_exclusive(x_13); -if (x_20 == 0) -{ -return x_13; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_13, 0); -x_22 = lean_ctor_get(x_13, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_13); -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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__41(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__41___rarg___boxed), 7, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__38___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { switch (lean_obj_tag(x_2)) { @@ -20932,7 +19328,7 @@ x_12 = lean_array_get_size(x_3); x_13 = lean_usize_of_nat(x_12); lean_dec(x_12); x_14 = 0; -x_15 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__13___rarg(x_1, x_13, x_14, x_3, x_5, x_6, x_11); +x_15 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__10___rarg(x_1, x_13, x_14, x_3, x_5, x_6, x_11); lean_dec(x_1); if (lean_obj_tag(x_15) == 0) { @@ -21001,7 +19397,7 @@ x_30 = lean_array_get_size(x_3); x_31 = lean_usize_of_nat(x_30); lean_dec(x_30); x_32 = 0; -x_33 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__14___rarg(x_1, x_31, x_32, x_3, x_5, x_6, x_28); +x_33 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__11___rarg(x_1, x_31, x_32, x_3, x_5, x_6, x_28); lean_dec(x_1); if (lean_obj_tag(x_33) == 0) { @@ -21112,7 +19508,7 @@ x_57 = lean_array_get_size(x_3); x_58 = lean_usize_of_nat(x_57); lean_dec(x_57); x_59 = 0; -x_60 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__15___rarg(x_1, x_58, x_59, x_3, x_5, x_6, x_56); +x_60 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__12___rarg(x_1, x_58, x_59, x_3, x_5, x_6, x_56); lean_dec(x_1); if (lean_obj_tag(x_60) == 0) { @@ -21181,7 +19577,7 @@ x_75 = lean_array_get_size(x_3); x_76 = lean_usize_of_nat(x_75); lean_dec(x_75); x_77 = 0; -x_78 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__16___rarg(x_1, x_76, x_77, x_3, x_5, x_6, x_73); +x_78 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__13___rarg(x_1, x_76, x_77, x_3, x_5, x_6, x_73); lean_dec(x_1); if (lean_obj_tag(x_78) == 0) { @@ -21279,7 +19675,7 @@ lean_dec(x_4); x_98 = lean_ctor_get(x_2, 0); lean_inc(x_98); x_99 = l_Lean_Expr_isMVar(x_2); -x_100 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__17___rarg(x_98, x_5, x_6, x_7); +x_100 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__14___rarg(x_98, x_5, x_6, x_7); if (lean_obj_tag(x_100) == 0) { lean_object* x_101; @@ -21306,7 +19702,7 @@ x_106 = lean_array_get_size(x_3); x_107 = lean_usize_of_nat(x_106); lean_dec(x_106); x_108 = 0; -x_109 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__19___rarg(x_1, x_107, x_108, x_3, x_5, x_6, x_105); +x_109 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__15___rarg(x_1, x_107, x_108, x_3, x_5, x_6, x_105); lean_dec(x_1); if (lean_obj_tag(x_109) == 0) { @@ -21375,7 +19771,7 @@ x_124 = lean_array_get_size(x_3); x_125 = lean_usize_of_nat(x_124); lean_dec(x_124); x_126 = 0; -x_127 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__20___rarg(x_1, x_125, x_126, x_3, x_5, x_6, x_122); +x_127 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__16___rarg(x_1, x_125, x_126, x_3, x_5, x_6, x_122); lean_dec(x_1); if (lean_obj_tag(x_127) == 0) { @@ -21504,7 +19900,7 @@ lean_dec(x_2); x_159 = lean_usize_of_nat(x_151); lean_dec(x_151); x_160 = 0; -x_161 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__21___rarg(x_1, x_159, x_160, x_3, x_5, x_6, x_157); +x_161 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__17___rarg(x_1, x_159, x_160, x_3, x_5, x_6, x_157); lean_dec(x_1); if (lean_obj_tag(x_161) == 0) { @@ -21586,7 +19982,7 @@ lean_dec(x_149); x_181 = lean_usize_of_nat(x_151); lean_dec(x_151); x_182 = 0; -x_183 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__22___rarg(x_1, x_181, x_182, x_3, x_5, x_6, x_157); +x_183 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__18___rarg(x_1, x_181, x_182, x_3, x_5, x_6, x_157); lean_dec(x_1); if (lean_obj_tag(x_183) == 0) { @@ -21678,7 +20074,7 @@ lean_dec(x_149); x_199 = lean_usize_of_nat(x_151); lean_dec(x_151); x_200 = 0; -x_201 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__23___rarg(x_1, x_199, x_200, x_3, x_5, x_6, x_148); +x_201 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__19___rarg(x_1, x_199, x_200, x_3, x_5, x_6, x_148); lean_dec(x_1); if (lean_obj_tag(x_201) == 0) { @@ -21779,7 +20175,7 @@ x_221 = lean_array_get_size(x_3); x_222 = lean_usize_of_nat(x_221); lean_dec(x_221); x_223 = 0; -x_224 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__24___rarg(x_1, x_222, x_223, x_3, x_5, x_6, x_220); +x_224 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__20___rarg(x_1, x_222, x_223, x_3, x_5, x_6, x_220); lean_dec(x_1); if (lean_obj_tag(x_224) == 0) { @@ -21848,7 +20244,7 @@ x_239 = lean_array_get_size(x_3); x_240 = lean_usize_of_nat(x_239); lean_dec(x_239); x_241 = 0; -x_242 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__25___rarg(x_1, x_240, x_241, x_3, x_5, x_6, x_237); +x_242 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__21___rarg(x_1, x_240, x_241, x_3, x_5, x_6, x_237); lean_dec(x_1); if (lean_obj_tag(x_242) == 0) { @@ -21959,7 +20355,7 @@ x_266 = lean_array_get_size(x_3); x_267 = lean_usize_of_nat(x_266); lean_dec(x_266); x_268 = 0; -x_269 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__26___rarg(x_1, x_267, x_268, x_3, x_5, x_6, x_265); +x_269 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__22___rarg(x_1, x_267, x_268, x_3, x_5, x_6, x_265); lean_dec(x_1); if (lean_obj_tag(x_269) == 0) { @@ -22028,7 +20424,7 @@ x_284 = lean_array_get_size(x_3); x_285 = lean_usize_of_nat(x_284); lean_dec(x_284); x_286 = 0; -x_287 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__27___rarg(x_1, x_285, x_286, x_3, x_5, x_6, x_282); +x_287 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__23___rarg(x_1, x_285, x_286, x_3, x_5, x_6, x_282); lean_dec(x_1); if (lean_obj_tag(x_287) == 0) { @@ -22156,7 +20552,7 @@ x_317 = lean_array_get_size(x_3); x_318 = lean_usize_of_nat(x_317); lean_dec(x_317); x_319 = 0; -x_320 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__30___rarg(x_1, x_318, x_319, x_3, x_5, x_6, x_316); +x_320 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__26___rarg(x_1, x_318, x_319, x_3, x_5, x_6, x_316); lean_dec(x_1); if (lean_obj_tag(x_320) == 0) { @@ -22225,7 +20621,7 @@ x_335 = lean_array_get_size(x_3); x_336 = lean_usize_of_nat(x_335); lean_dec(x_335); x_337 = 0; -x_338 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__31___rarg(x_1, x_336, x_337, x_3, x_5, x_6, x_333); +x_338 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__27___rarg(x_1, x_336, x_337, x_3, x_5, x_6, x_333); lean_dec(x_1); if (lean_obj_tag(x_338) == 0) { @@ -22336,7 +20732,7 @@ x_362 = lean_array_get_size(x_3); x_363 = lean_usize_of_nat(x_362); lean_dec(x_362); x_364 = 0; -x_365 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__32___rarg(x_1, x_363, x_364, x_3, x_5, x_6, x_361); +x_365 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__28___rarg(x_1, x_363, x_364, x_3, x_5, x_6, x_361); lean_dec(x_1); if (lean_obj_tag(x_365) == 0) { @@ -22405,7 +20801,7 @@ x_380 = lean_array_get_size(x_3); x_381 = lean_usize_of_nat(x_380); lean_dec(x_380); x_382 = 0; -x_383 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__33___rarg(x_1, x_381, x_382, x_3, x_5, x_6, x_378); +x_383 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__29___rarg(x_1, x_381, x_382, x_3, x_5, x_6, x_378); lean_dec(x_1); if (lean_obj_tag(x_383) == 0) { @@ -22516,7 +20912,7 @@ x_407 = lean_array_get_size(x_3); x_408 = lean_usize_of_nat(x_407); lean_dec(x_407); x_409 = 0; -x_410 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__34___rarg(x_1, x_408, x_409, x_3, x_5, x_6, x_406); +x_410 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__30___rarg(x_1, x_408, x_409, x_3, x_5, x_6, x_406); lean_dec(x_1); if (lean_obj_tag(x_410) == 0) { @@ -22585,7 +20981,7 @@ x_425 = lean_array_get_size(x_3); x_426 = lean_usize_of_nat(x_425); lean_dec(x_425); x_427 = 0; -x_428 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__35___rarg(x_1, x_426, x_427, x_3, x_5, x_6, x_423); +x_428 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__31___rarg(x_1, x_426, x_427, x_3, x_5, x_6, x_423); lean_dec(x_1); if (lean_obj_tag(x_428) == 0) { @@ -22696,7 +21092,7 @@ x_452 = lean_array_get_size(x_3); x_453 = lean_usize_of_nat(x_452); lean_dec(x_452); x_454 = 0; -x_455 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__36___rarg(x_1, x_453, x_454, x_3, x_5, x_6, x_451); +x_455 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__32___rarg(x_1, x_453, x_454, x_3, x_5, x_6, x_451); lean_dec(x_1); if (lean_obj_tag(x_455) == 0) { @@ -22765,7 +21161,7 @@ x_470 = lean_array_get_size(x_3); x_471 = lean_usize_of_nat(x_470); lean_dec(x_470); x_472 = 0; -x_473 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__37___rarg(x_1, x_471, x_472, x_3, x_5, x_6, x_468); +x_473 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__33___rarg(x_1, x_471, x_472, x_3, x_5, x_6, x_468); lean_dec(x_1); if (lean_obj_tag(x_473) == 0) { @@ -22876,7 +21272,7 @@ x_497 = lean_array_get_size(x_3); x_498 = lean_usize_of_nat(x_497); lean_dec(x_497); x_499 = 0; -x_500 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__38___rarg(x_1, x_498, x_499, x_3, x_5, x_6, x_496); +x_500 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__34___rarg(x_1, x_498, x_499, x_3, x_5, x_6, x_496); lean_dec(x_1); if (lean_obj_tag(x_500) == 0) { @@ -22945,7 +21341,7 @@ x_515 = lean_array_get_size(x_3); x_516 = lean_usize_of_nat(x_515); lean_dec(x_515); x_517 = 0; -x_518 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__39___rarg(x_1, x_516, x_517, x_3, x_5, x_6, x_513); +x_518 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__35___rarg(x_1, x_516, x_517, x_3, x_5, x_6, x_513); lean_dec(x_1); if (lean_obj_tag(x_518) == 0) { @@ -23056,7 +21452,7 @@ x_542 = lean_array_get_size(x_3); x_543 = lean_usize_of_nat(x_542); lean_dec(x_542); x_544 = 0; -x_545 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__40___rarg(x_1, x_543, x_544, x_3, x_5, x_6, x_541); +x_545 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__36___rarg(x_1, x_543, x_544, x_3, x_5, x_6, x_541); lean_dec(x_1); if (lean_obj_tag(x_545) == 0) { @@ -23125,7 +21521,7 @@ x_560 = lean_array_get_size(x_3); x_561 = lean_usize_of_nat(x_560); lean_dec(x_560); x_562 = 0; -x_563 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__41___rarg(x_1, x_561, x_562, x_3, x_5, x_6, x_558); +x_563 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__37___rarg(x_1, x_561, x_562, x_3, x_5, x_6, x_558); lean_dec(x_1); if (lean_obj_tag(x_563) == 0) { @@ -23219,11 +21615,11 @@ return x_582; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__38(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42___rarg___boxed), 7, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__38___rarg___boxed), 7, 0); return x_2; } } @@ -23317,7 +21713,7 @@ x_62 = lean_ctor_get(x_60, 1); lean_inc(x_62); lean_dec(x_60); lean_inc(x_61); -x_63 = l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__5___rarg(x_50, x_61, x_2, x_3, x_62); +x_63 = l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__4___rarg(x_50, x_61, x_2, x_3, x_62); if (lean_obj_tag(x_63) == 0) { lean_object* x_64; @@ -23447,7 +21843,7 @@ lean_object* x_82; lean_object* x_83; x_82 = lean_ctor_get(x_1, 0); lean_inc(x_82); lean_inc(x_82); -x_83 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_82, x_2, x_3, x_48); +x_83 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg(x_82, x_2, x_3, x_48); if (lean_obj_tag(x_83) == 0) { lean_object* x_84; lean_object* x_85; size_t x_86; size_t x_87; uint8_t x_88; @@ -23510,7 +21906,7 @@ lean_inc(x_94); x_95 = lean_ctor_get(x_1, 1); lean_inc(x_95); lean_inc(x_95); -x_96 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg(x_5, x_95, x_2, x_3, x_48); +x_96 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__9___rarg(x_5, x_95, x_2, x_3, x_48); if (lean_obj_tag(x_96) == 0) { lean_object* x_97; lean_object* x_98; uint8_t x_99; @@ -23577,7 +21973,7 @@ x_109 = lean_unsigned_to_nat(1u); x_110 = lean_nat_sub(x_106, x_109); lean_dec(x_106); lean_inc(x_1); -x_111 = l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42___rarg(x_5, x_1, x_108, x_110, x_2, x_3, x_48); +x_111 = l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__38___rarg(x_5, x_1, x_108, x_110, x_2, x_3, x_48); if (lean_obj_tag(x_111) == 0) { lean_object* x_112; lean_object* x_113; lean_object* x_114; @@ -24475,7 +22871,7 @@ x_291 = lean_ctor_get(x_289, 1); lean_inc(x_291); lean_dec(x_289); lean_inc(x_290); -x_292 = l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__5___rarg(x_279, x_290, x_2, x_3, x_291); +x_292 = l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__4___rarg(x_279, x_290, x_2, x_3, x_291); if (lean_obj_tag(x_292) == 0) { lean_object* x_293; @@ -24613,7 +23009,7 @@ lean_object* x_311; lean_object* x_312; x_311 = lean_ctor_get(x_1, 0); lean_inc(x_311); lean_inc(x_311); -x_312 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_311, x_2, x_3, x_277); +x_312 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg(x_311, x_2, x_3, x_277); if (lean_obj_tag(x_312) == 0) { lean_object* x_313; lean_object* x_314; size_t x_315; size_t x_316; uint8_t x_317; @@ -24678,7 +23074,7 @@ lean_inc(x_323); x_324 = lean_ctor_get(x_1, 1); lean_inc(x_324); lean_inc(x_324); -x_325 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg(x_5, x_324, x_2, x_3, x_277); +x_325 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__9___rarg(x_5, x_324, x_2, x_3, x_277); if (lean_obj_tag(x_325) == 0) { lean_object* x_326; lean_object* x_327; uint8_t x_328; @@ -24747,7 +23143,7 @@ x_338 = lean_unsigned_to_nat(1u); x_339 = lean_nat_sub(x_335, x_338); lean_dec(x_335); lean_inc(x_1); -x_340 = l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42___rarg(x_5, x_1, x_337, x_339, x_2, x_3, x_277); +x_340 = l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__38___rarg(x_5, x_1, x_337, x_339, x_2, x_3, x_277); if (lean_obj_tag(x_340) == 0) { lean_object* x_341; lean_object* x_342; lean_object* x_343; @@ -26019,35 +24415,6 @@ lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__4___rarg(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__4___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__4(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__3___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__3___rarg___lambda__1(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_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -26058,103 +24425,112 @@ lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__5___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__5___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_MVarId_assign___at_Lean_instantiateMVarsCore___spec__4___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__6___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__7___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__6___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8___rarg(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__8(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__6___rarg(x_1, x_2, x_3, x_4); +x_5 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__5___rarg(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__10___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__10___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_assignLevelMVar___at_Lean_instantiateMVarsCore___spec__8___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11___rarg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11___rarg(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__11(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__9___rarg(x_1, x_2, x_3, x_4); +x_5 = l_Lean_instantiateLevelMVars___at_Lean_instantiateMVarsCore___spec__7___rarg(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_List_mapM___at_Lean_instantiateMVarsCore___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__12___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_List_mapM___at_Lean_instantiateMVarsCore___spec__9___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); return x_6; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__10___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__10___rarg(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__11___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__11___rarg(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__12___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__12___rarg(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_10; +} +} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__13___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -26170,19 +24546,14 @@ lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__14___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__14___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_9 = lean_unbox_usize(x_3); +lean_object* x_5; +x_5 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__14___rarg(x_1, x_2, x_3, x_4); lean_dec(x_3); -x_10 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__14___rarg(x_1, x_8, x_9, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_10; +lean_dec(x_2); +return x_5; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__15___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -26215,32 +24586,34 @@ lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18___rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__17___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_3; -x_3 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18___rarg(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_markUsedAssignment___at_Lean_instantiateMVarsCore___spec__18(x_1, x_2); +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_2); lean_dec(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__17___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_instantiateMVarsCore___spec__17___rarg(x_1, x_2, x_3, x_4); +x_9 = lean_unbox_usize(x_3); lean_dec(x_3); +x_10 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__17___rarg(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__18___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_2); lean_dec(x_2); -return x_5; +x_9 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_10 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__18___rarg(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_10; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__19___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -26528,71 +24901,11 @@ lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__38___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_9 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_10 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__38___rarg(x_1, x_8, x_9, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__39___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_9 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_10 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__39___rarg(x_1, x_8, x_9, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__40___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_9 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_10 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__40___rarg(x_1, x_8, x_9, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___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* x_6, lean_object* x_7) { -_start: -{ -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_9 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_10 = l_Array_mapMUnsafe_map___at_Lean_instantiateMVarsCore___spec__41___rarg(x_1, x_8, x_9, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__38___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__42___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Expr_withAppAux___at_Lean_instantiateMVarsCore___spec__38___rarg(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; @@ -26608,14 +24921,7 @@ lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_inc(x_1); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_instantiateMVars___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; 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; @@ -26628,10 +24934,10 @@ lean_dec(x_6); x_9 = lean_ctor_get(x_2, 1); lean_inc(x_9); lean_dec(x_2); -x_10 = lean_alloc_closure((void*)(l_Lean_instantiateMVars___rarg___lambda__1___boxed), 2, 1); +x_10 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); lean_closure_set(x_10, 0, x_8); x_11 = lean_apply_1(x_9, x_10); -x_12 = lean_alloc_closure((void*)(l_Lean_getLevelMVarAssignment_x3f___rarg___lambda__1___boxed), 3, 2); +x_12 = lean_alloc_closure((void*)(l_Lean_instantiateLevelMVars___rarg___lambda__6___boxed), 3, 2); lean_closure_set(x_12, 0, x_3); lean_closure_set(x_12, 1, x_7); x_13 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_11, x_12); @@ -26664,7 +24970,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_2, 0); lean_inc(x_9); lean_inc(x_8); -x_10 = lean_alloc_closure((void*)(l_Lean_instantiateMVars___rarg___lambda__2), 5, 4); +x_10 = lean_alloc_closure((void*)(l_Lean_instantiateMVars___rarg___lambda__1), 5, 4); lean_closure_set(x_10, 0, x_3); lean_closure_set(x_10, 1, x_2); lean_closure_set(x_10, 2, x_1); @@ -26682,16 +24988,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_instantiateMVars___rarg), 3, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_instantiateMVars___rarg___lambda__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_instantiateLCtxMVars___spec__5___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, lean_object* x_6) { _start: { @@ -29273,7 +27569,7 @@ return x_5; } 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; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t 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_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; x_16 = lean_ctor_get(x_5, 0); x_17 = lean_ctor_get(x_5, 1); x_18 = lean_ctor_get(x_5, 2); @@ -29282,7 +27578,6 @@ x_20 = lean_ctor_get(x_5, 4); x_21 = lean_ctor_get(x_5, 5); x_22 = lean_ctor_get(x_5, 6); x_23 = lean_ctor_get(x_5, 7); -x_24 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); @@ -29292,38 +27587,37 @@ lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_dec(x_5); -x_25 = lean_ctor_get(x_1, 0); -x_26 = lean_ctor_get(x_1, 3); -x_27 = lean_ctor_get(x_1, 4); -x_28 = lean_ctor_get_uint8(x_1, sizeof(void*)*7); -x_29 = lean_ctor_get(x_1, 5); -x_30 = lean_ctor_get(x_1, 6); -lean_inc(x_30); +x_24 = lean_ctor_get(x_1, 0); +x_25 = lean_ctor_get(x_1, 3); +x_26 = lean_ctor_get(x_1, 4); +x_27 = lean_ctor_get_uint8(x_1, sizeof(void*)*7); +x_28 = lean_ctor_get(x_1, 5); +x_29 = lean_ctor_get(x_1, 6); lean_inc(x_29); -lean_inc(x_27); +lean_inc(x_28); lean_inc(x_26); lean_inc(x_25); -x_31 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_31, 0, x_25); -lean_ctor_set(x_31, 1, x_2); -lean_ctor_set(x_31, 2, x_3); -lean_ctor_set(x_31, 3, x_26); -lean_ctor_set(x_31, 4, x_27); -lean_ctor_set(x_31, 5, x_29); -lean_ctor_set(x_31, 6, x_30); -lean_ctor_set_uint8(x_31, sizeof(void*)*7, x_28); -x_32 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_19, x_4, x_31); -x_33 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_33, 0, x_16); -lean_ctor_set(x_33, 1, x_17); -lean_ctor_set(x_33, 2, x_18); -lean_ctor_set(x_33, 3, x_32); -lean_ctor_set(x_33, 4, x_20); -lean_ctor_set(x_33, 5, x_21); -lean_ctor_set(x_33, 6, x_22); -lean_ctor_set(x_33, 7, x_23); -lean_ctor_set_uint8(x_33, sizeof(void*)*8, x_24); -return x_33; +lean_inc(x_24); +x_30 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_30, 0, x_24); +lean_ctor_set(x_30, 1, x_2); +lean_ctor_set(x_30, 2, x_3); +lean_ctor_set(x_30, 3, x_25); +lean_ctor_set(x_30, 4, x_26); +lean_ctor_set(x_30, 5, x_28); +lean_ctor_set(x_30, 6, x_29); +lean_ctor_set_uint8(x_30, sizeof(void*)*7, x_27); +x_31 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_19, x_4, x_30); +x_32 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_32, 0, x_16); +lean_ctor_set(x_32, 1, x_17); +lean_ctor_set(x_32, 2, x_18); +lean_ctor_set(x_32, 3, x_31); +lean_ctor_set(x_32, 4, x_20); +lean_ctor_set(x_32, 5, x_21); +lean_ctor_set(x_32, 6, x_22); +lean_ctor_set(x_32, 7, x_23); +return x_32; } } } @@ -30893,7 +29187,23 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = 0; +x_6 = lean_box(x_5); +x_7 = lean_apply_2(x_4, lean_box(0), x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__2(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; @@ -30908,7 +29218,7 @@ x_7 = lean_apply_2(x_5, lean_box(0), x_6); return x_7; } } -static lean_object* _init_l_Lean_findExprDependsOn___rarg___lambda__2___closed__1() { +static lean_object* _init_l_Lean_findExprDependsOn___rarg___lambda__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -30917,79 +29227,88 @@ x_2 = l_Std_mkHashSetImp___rarg(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_18 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_7); -x_20 = l_Lean_Expr_hasFVar(x_1); -if (x_20 == 0) +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(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_7); +x_10 = l_Lean_Expr_hasFVar(x_1); +if (x_10 == 0) { -uint8_t x_21; -x_21 = l_Lean_Expr_hasMVar(x_1); -if (x_21 == 0) +uint8_t x_11; +x_11 = l_Lean_Expr_hasMVar(x_1); +if (x_11 == 0) { -uint8_t x_22; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_22 = 0; -x_8 = x_22; -x_9 = x_19; -goto block_17; +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_dec(x_2); +x_13 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_13, 0, x_7); +x_14 = lean_apply_1(x_12, x_13); +x_15 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_15, 0, x_3); +x_16 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_14, x_15); +return x_16; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_5, x_6, x_1, x_19); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_unbox(x_24); -lean_dec(x_24); -x_8 = x_26; -x_9 = x_25; -goto block_17; +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_7); +x_17 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_5, x_6, x_1, x_9); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_ctor_get(x_2, 1); +lean_inc(x_21); +lean_dec(x_2); +x_22 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_22, 0, x_20); +x_23 = lean_apply_1(x_21, x_22); +x_24 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_24, 0, x_3); +lean_closure_set(x_24, 1, x_19); +x_25 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_23, x_24); +return x_25; } } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_27 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_5, x_6, x_1, x_19); -x_28 = lean_ctor_get(x_27, 0); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_7); +x_26 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(x_5, x_6, x_1, x_9); +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_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = lean_unbox(x_28); -lean_dec(x_28); -x_8 = x_30; -x_9 = x_29; -goto block_17; -} -block_17: -{ -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_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_ctor_get(x_2, 1); -lean_inc(x_11); +x_30 = lean_ctor_get(x_2, 1); +lean_inc(x_30); lean_dec(x_2); -x_12 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1), 2, 1); -lean_closure_set(x_12, 0, x_10); -x_13 = lean_apply_1(x_11, x_12); -x_14 = lean_box(x_8); -x_15 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 3, 2); -lean_closure_set(x_15, 0, x_3); -lean_closure_set(x_15, 1, x_14); -x_16 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_13, x_15); -return x_16; +x_31 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_31, 0, x_29); +x_32 = lean_apply_1(x_30, x_31); +x_33 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_33, 0, x_3); +lean_closure_set(x_33, 1, x_28); +x_34 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_32, x_33); +return x_34; } } } @@ -31002,7 +29321,7 @@ lean_inc(x_6); x_7 = lean_ctor_get(x_2, 0); lean_inc(x_7); lean_inc(x_6); -x_8 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2), 7, 6); +x_8 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__3), 7, 6); lean_closure_set(x_8, 0, x_3); lean_closure_set(x_8, 1, x_2); lean_closure_set(x_8, 2, x_1); @@ -31021,13 +29340,22 @@ x_2 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg), 5, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_findExprDependsOn___rarg___lambda__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_findExprDependsOn___rarg___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_findExprDependsOn___rarg___lambda__1(x_1, x_4, x_3); +x_5 = l_Lean_findExprDependsOn___rarg___lambda__2(x_1, x_4, x_3); lean_dec(x_3); return x_5; } @@ -31036,7 +29364,7 @@ LEAN_EXPORT lean_object* l_Lean_findLocalDeclDependsOn___rarg___lambda__1(lean_o _start: { uint8_t x_11; lean_object* x_12; uint8_t x_21; lean_object* x_22; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_35 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; +x_35 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; x_36 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_10); @@ -31098,11 +29426,11 @@ lean_dec(x_12); x_14 = lean_ctor_get(x_3, 1); lean_inc(x_14); lean_dec(x_3); -x_15 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1), 2, 1); +x_15 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); lean_closure_set(x_15, 0, x_13); x_16 = lean_apply_1(x_14, x_15); x_17 = lean_box(x_11); -x_18 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 3, 2); +x_18 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); lean_closure_set(x_18, 0, x_4); lean_closure_set(x_18, 1, x_17); x_19 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_16, x_18); @@ -31187,7 +29515,7 @@ lean_inc(x_7); x_8 = lean_ctor_get(x_2, 0); lean_inc(x_8); lean_inc(x_7); -x_9 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2), 7, 6); +x_9 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__3), 7, 6); lean_closure_set(x_9, 0, x_6); lean_closure_set(x_9, 1, x_2); lean_closure_set(x_9, 2, x_1); @@ -31303,183 +29631,20 @@ return x_15; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_exprDependsOn___spec__5(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = !lean_is_exclusive(x_1); -if (x_2 == 0) -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_1, 1); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -uint8_t x_5; lean_object* x_6; lean_object* x_7; -x_5 = 1; -lean_ctor_set_uint8(x_3, sizeof(void*)*8, 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_1); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_8 = lean_ctor_get(x_3, 0); -x_9 = lean_ctor_get(x_3, 1); -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_3, 5); -x_14 = lean_ctor_get(x_3, 6); -x_15 = lean_ctor_get(x_3, 7); -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_inc(x_9); -lean_inc(x_8); -lean_dec(x_3); -x_16 = 1; -x_17 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_17, 0, x_8); -lean_ctor_set(x_17, 1, x_9); -lean_ctor_set(x_17, 2, x_10); -lean_ctor_set(x_17, 3, x_11); -lean_ctor_set(x_17, 4, x_12); -lean_ctor_set(x_17, 5, x_13); -lean_ctor_set(x_17, 6, x_14); -lean_ctor_set(x_17, 7, x_15); -lean_ctor_set_uint8(x_17, sizeof(void*)*8, x_16); -lean_ctor_set(x_1, 1, x_17); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_1); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_20 = lean_ctor_get(x_1, 1); -x_21 = lean_ctor_get(x_1, 0); -lean_inc(x_20); -lean_inc(x_21); -lean_dec(x_1); -x_22 = lean_ctor_get(x_20, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_20, 2); -lean_inc(x_24); -x_25 = lean_ctor_get(x_20, 3); -lean_inc(x_25); -x_26 = lean_ctor_get(x_20, 4); -lean_inc(x_26); -x_27 = lean_ctor_get(x_20, 5); -lean_inc(x_27); -x_28 = lean_ctor_get(x_20, 6); -lean_inc(x_28); -x_29 = lean_ctor_get(x_20, 7); -lean_inc(x_29); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - lean_ctor_release(x_20, 2); - lean_ctor_release(x_20, 3); - lean_ctor_release(x_20, 4); - lean_ctor_release(x_20, 5); - lean_ctor_release(x_20, 6); - lean_ctor_release(x_20, 7); - x_30 = x_20; -} else { - lean_dec_ref(x_20); - x_30 = lean_box(0); -} -x_31 = 1; -if (lean_is_scalar(x_30)) { - x_32 = lean_alloc_ctor(0, 8, 1); -} else { - x_32 = x_30; -} -lean_ctor_set(x_32, 0, x_22); -lean_ctor_set(x_32, 1, x_23); -lean_ctor_set(x_32, 2, x_24); -lean_ctor_set(x_32, 3, x_25); -lean_ctor_set(x_32, 4, x_26); -lean_ctor_set(x_32, 5, x_27); -lean_ctor_set(x_32, 6, x_28); -lean_ctor_set(x_32, 7, x_29); -lean_ctor_set_uint8(x_32, sizeof(void*)*8, x_31); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_21); -lean_ctor_set(x_33, 1, x_32); -x_34 = lean_box(0); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -return x_35; -} -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_exprDependsOn___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_3); -return x_4; -} -} LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_exprDependsOn___spec__4(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; +lean_object* x_3; lean_object* x_4; lean_object* x_5; x_3 = lean_ctor_get(x_2, 1); lean_inc(x_3); x_4 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_3, x_1); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_2); return x_5; } -else -{ -lean_object* x_6; uint8_t x_7; -x_6 = l_Lean_markUsedAssignment___at_Lean_exprDependsOn___spec__5(x_2); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_6, 0); -lean_dec(x_8); -lean_ctor_set(x_6, 0, x_4); -return x_6; } -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_6, 1); -lean_inc(x_9); -lean_dec(x_6); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_4); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__8(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; @@ -31488,7 +29653,7 @@ if (x_5 == 0) { lean_object* x_6; uint8_t x_7; x_6 = lean_array_uget(x_2, x_3); -x_7 = l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__7(x_1, x_6); +x_7 = l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__6(x_1, x_6); if (x_7 == 0) { size_t x_8; size_t x_9; @@ -31512,6 +29677,144 @@ return x_12; } } } +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__8(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_6) == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_3, x_7); +x_3 = x_8; +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = l_Lean_LocalDecl_fvarId(x_10); +lean_dec(x_10); +x_12 = lean_name_eq(x_1, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +uint8_t x_16; +x_16 = 1; +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = 0; +return x_17; +} +} +} +LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__6(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); +lean_inc(x_3); +lean_dec(x_2); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_4); +lean_dec(x_3); +x_7 = 0; +return x_7; +} +else +{ +uint8_t x_8; +x_8 = lean_nat_dec_le(x_4, x_4); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_4); +lean_dec(x_3); +x_9 = 0; +return x_9; +} +else +{ +size_t x_10; size_t x_11; uint8_t x_12; +x_10 = 0; +x_11 = lean_usize_of_nat(x_4); +lean_dec(x_4); +x_12 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__7(x_1, x_3, x_10, x_11); +lean_dec(x_3); +return x_12; +} +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_2, 0); +lean_inc(x_13); +lean_dec(x_2); +x_14 = lean_array_get_size(x_13); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_nat_dec_lt(x_15, x_14); +if (x_16 == 0) +{ +uint8_t x_17; +lean_dec(x_14); +lean_dec(x_13); +x_17 = 0; +return x_17; +} +else +{ +uint8_t x_18; +x_18 = lean_nat_dec_le(x_14, x_14); +if (x_18 == 0) +{ +uint8_t x_19; +lean_dec(x_14); +lean_dec(x_13); +x_19 = 0; +return x_19; +} +else +{ +size_t x_20; size_t x_21; uint8_t x_22; +x_20 = 0; +x_21 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_22 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__8(x_1, x_13, x_20, x_21); +lean_dec(x_13); +return x_22; +} +} +} +} +} LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__9(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { @@ -31563,151 +29866,13 @@ return x_17; } } } -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__7(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); -lean_inc(x_3); -lean_dec(x_2); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_4); -lean_dec(x_3); -x_7 = 0; -return x_7; -} -else -{ -uint8_t x_8; -x_8 = lean_nat_dec_le(x_4, x_4); -if (x_8 == 0) -{ -uint8_t x_9; -lean_dec(x_4); -lean_dec(x_3); -x_9 = 0; -return x_9; -} -else -{ -size_t x_10; size_t x_11; uint8_t x_12; -x_10 = 0; -x_11 = lean_usize_of_nat(x_4); -lean_dec(x_4); -x_12 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__8(x_1, x_3, x_10, x_11); -lean_dec(x_3); -return x_12; -} -} -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_ctor_get(x_2, 0); -lean_inc(x_13); -lean_dec(x_2); -x_14 = lean_array_get_size(x_13); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_nat_dec_lt(x_15, x_14); -if (x_16 == 0) -{ -uint8_t x_17; -lean_dec(x_14); -lean_dec(x_13); -x_17 = 0; -return x_17; -} -else -{ -uint8_t x_18; -x_18 = lean_nat_dec_le(x_14, x_14); -if (x_18 == 0) -{ -uint8_t x_19; -lean_dec(x_14); -lean_dec(x_13); -x_19 = 0; -return x_19; -} -else -{ -size_t x_20; size_t x_21; uint8_t x_22; -x_20 = 0; -x_21 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_22 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__9(x_1, x_13, x_20, x_21); -lean_dec(x_13); -return x_22; -} -} -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__10(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_3, x_4); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = lean_array_uget(x_2, x_3); -if (lean_obj_tag(x_6) == 0) -{ -size_t x_7; size_t x_8; -x_7 = 1; -x_8 = lean_usize_add(x_3, x_7); -x_3 = x_8; -goto _start; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_6, 0); -lean_inc(x_10); -lean_dec(x_6); -x_11 = l_Lean_LocalDecl_fvarId(x_10); -lean_dec(x_10); -x_12 = lean_name_eq(x_1, x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -size_t x_13; size_t x_14; -x_13 = 1; -x_14 = lean_usize_add(x_3, x_13); -x_3 = x_14; -goto _start; -} -else -{ -uint8_t x_16; -x_16 = 1; -return x_16; -} -} -} -else -{ -uint8_t x_17; -x_17 = 0; -return x_17; -} -} -} -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__6(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__5(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); -x_4 = l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__7(x_1, x_3); +x_4 = l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__6(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; @@ -31743,7 +29908,7 @@ size_t x_12; size_t x_13; uint8_t x_14; x_12 = 0; x_13 = lean_usize_of_nat(x_6); lean_dec(x_6); -x_14 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__10(x_1, x_5, x_12, x_13); +x_14 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__9(x_1, x_5, x_12, x_13); lean_dec(x_5); return x_14; } @@ -31756,7 +29921,7 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -31885,7 +30050,7 @@ lean_dec(x_15); x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); -x_18 = l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__6(x_1, x_17); +x_18 = l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__5(x_1, x_17); x_19 = lean_box(x_18); lean_ctor_set(x_9, 0, x_19); return x_9; @@ -31905,7 +30070,7 @@ lean_dec(x_22); x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__6(x_1, x_24); +x_25 = l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__5(x_1, x_24); x_26 = lean_box(x_25); x_27 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_27, 0, x_26); @@ -31943,7 +30108,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -32231,7 +30396,7 @@ return x_16; } } } -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 5) @@ -32242,7 +30407,7 @@ lean_inc(x_4); x_5 = lean_ctor_get(x_2, 1); lean_inc(x_5); lean_dec(x_2); -x_6 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__14(x_1, x_4, x_3); +x_6 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__13(x_1, x_4, x_3); x_7 = lean_ctor_get(x_6, 0); lean_inc(x_7); x_8 = lean_unbox(x_7); @@ -32253,7 +30418,7 @@ lean_dec(x_7); x_9 = lean_ctor_get(x_6, 1); lean_inc(x_9); lean_dec(x_6); -x_10 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_1, x_5, x_9); +x_10 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_1, x_5, x_9); return x_10; } else @@ -32284,12 +30449,12 @@ return x_14; else { lean_object* x_15; -x_15 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_1, x_2, x_3); +x_15 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_1, x_2, x_3); return x_15; } } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__17(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__16(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; @@ -32298,7 +30463,7 @@ if (x_5 == 0) { lean_object* x_6; uint8_t x_7; x_6 = lean_array_uget(x_2, x_3); -x_7 = l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__16(x_1, x_6); +x_7 = l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__15(x_1, x_6); if (x_7 == 0) { size_t x_8; size_t x_9; @@ -32322,6 +30487,144 @@ return x_12; } } } +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__17(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_array_uget(x_2, x_3); +if (lean_obj_tag(x_6) == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_3, x_7); +x_3 = x_8; +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = l_Lean_LocalDecl_fvarId(x_10); +lean_dec(x_10); +x_12 = lean_name_eq(x_1, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +goto _start; +} +else +{ +uint8_t x_16; +x_16 = 1; +return x_16; +} +} +} +else +{ +uint8_t x_17; +x_17 = 0; +return x_17; +} +} +} +LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___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); +lean_inc(x_3); +lean_dec(x_2); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_4); +lean_dec(x_3); +x_7 = 0; +return x_7; +} +else +{ +uint8_t x_8; +x_8 = lean_nat_dec_le(x_4, x_4); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_4); +lean_dec(x_3); +x_9 = 0; +return x_9; +} +else +{ +size_t x_10; size_t x_11; uint8_t x_12; +x_10 = 0; +x_11 = lean_usize_of_nat(x_4); +lean_dec(x_4); +x_12 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__16(x_1, x_3, x_10, x_11); +lean_dec(x_3); +return x_12; +} +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_2, 0); +lean_inc(x_13); +lean_dec(x_2); +x_14 = lean_array_get_size(x_13); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_nat_dec_lt(x_15, x_14); +if (x_16 == 0) +{ +uint8_t x_17; +lean_dec(x_14); +lean_dec(x_13); +x_17 = 0; +return x_17; +} +else +{ +uint8_t x_18; +x_18 = lean_nat_dec_le(x_14, x_14); +if (x_18 == 0) +{ +uint8_t x_19; +lean_dec(x_14); +lean_dec(x_13); +x_19 = 0; +return x_19; +} +else +{ +size_t x_20; size_t x_21; uint8_t x_22; +x_20 = 0; +x_21 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_22 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__17(x_1, x_13, x_20, x_21); +lean_dec(x_13); +return x_22; +} +} +} +} +} LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__18(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { @@ -32373,151 +30676,13 @@ return x_17; } } } -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___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); -lean_inc(x_3); -lean_dec(x_2); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_4); -lean_dec(x_3); -x_7 = 0; -return x_7; -} -else -{ -uint8_t x_8; -x_8 = lean_nat_dec_le(x_4, x_4); -if (x_8 == 0) -{ -uint8_t x_9; -lean_dec(x_4); -lean_dec(x_3); -x_9 = 0; -return x_9; -} -else -{ -size_t x_10; size_t x_11; uint8_t x_12; -x_10 = 0; -x_11 = lean_usize_of_nat(x_4); -lean_dec(x_4); -x_12 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__17(x_1, x_3, x_10, x_11); -lean_dec(x_3); -return x_12; -} -} -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_ctor_get(x_2, 0); -lean_inc(x_13); -lean_dec(x_2); -x_14 = lean_array_get_size(x_13); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_nat_dec_lt(x_15, x_14); -if (x_16 == 0) -{ -uint8_t x_17; -lean_dec(x_14); -lean_dec(x_13); -x_17 = 0; -return x_17; -} -else -{ -uint8_t x_18; -x_18 = lean_nat_dec_le(x_14, x_14); -if (x_18 == 0) -{ -uint8_t x_19; -lean_dec(x_14); -lean_dec(x_13); -x_19 = 0; -return x_19; -} -else -{ -size_t x_20; size_t x_21; uint8_t x_22; -x_20 = 0; -x_21 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_22 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__18(x_1, x_13, x_20, x_21); -lean_dec(x_13); -return x_22; -} -} -} -} -} -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__19(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_3, x_4); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = lean_array_uget(x_2, x_3); -if (lean_obj_tag(x_6) == 0) -{ -size_t x_7; size_t x_8; -x_7 = 1; -x_8 = lean_usize_add(x_3, x_7); -x_3 = x_8; -goto _start; -} -else -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_6, 0); -lean_inc(x_10); -lean_dec(x_6); -x_11 = l_Lean_LocalDecl_fvarId(x_10); -lean_dec(x_10); -x_12 = lean_name_eq(x_1, x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -size_t x_13; size_t x_14; -x_13 = 1; -x_14 = lean_usize_add(x_3, x_13); -x_3 = x_14; -goto _start; -} -else -{ -uint8_t x_16; -x_16 = 1; -return x_16; -} -} -} -else -{ -uint8_t x_17; -x_17 = 0; -return x_17; -} -} -} -LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__15(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___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); lean_inc(x_3); -x_4 = l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__16(x_1, x_3); +x_4 = l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___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; @@ -32553,7 +30718,7 @@ size_t x_12; size_t x_13; uint8_t x_14; x_12 = 0; x_13 = lean_usize_of_nat(x_6); lean_dec(x_6); -x_14 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__19(x_1, x_5, x_12, x_13); +x_14 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__18(x_1, x_5, x_12, x_13); lean_dec(x_5); return x_14; } @@ -32566,7 +30731,7 @@ return x_4; } } } -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { switch (lean_obj_tag(x_2)) { @@ -32613,7 +30778,7 @@ lean_dec(x_15); x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); -x_18 = l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__15(x_1, x_17); +x_18 = l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__14(x_1, x_17); x_19 = lean_box(x_18); lean_ctor_set(x_9, 0, x_19); return x_9; @@ -32633,7 +30798,7 @@ lean_dec(x_22); x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__15(x_1, x_24); +x_25 = l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__14(x_1, x_24); x_26 = lean_box(x_25); x_27 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_27, 0, x_26); @@ -32651,7 +30816,7 @@ lean_dec(x_9); x_29 = lean_ctor_get(x_10, 0); lean_inc(x_29); lean_dec(x_10); -x_30 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_1, x_29, x_28); +x_30 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_1, x_29, x_28); return x_30; } } @@ -32664,14 +30829,14 @@ if (x_32 == 0) { lean_object* x_33; lean_dec(x_31); -x_33 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__14(x_1, x_2, x_3); +x_33 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__13(x_1, x_2, x_3); return x_33; } else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -32692,7 +30857,7 @@ else { lean_object* x_40; lean_dec(x_35); -x_40 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__14(x_1, x_2, x_36); +x_40 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__13(x_1, x_2, x_36); return x_40; } } @@ -32705,7 +30870,7 @@ lean_inc(x_41); x_42 = lean_ctor_get(x_2, 2); lean_inc(x_42); lean_dec(x_2); -x_43 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_1, x_41, x_3); +x_43 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_1, x_41, x_3); x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); x_45 = lean_unbox(x_44); @@ -32716,7 +30881,7 @@ lean_dec(x_44); x_46 = lean_ctor_get(x_43, 1); lean_inc(x_46); lean_dec(x_43); -x_47 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_1, x_42, x_46); +x_47 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_1, x_42, x_46); return x_47; } else @@ -32752,7 +30917,7 @@ lean_inc(x_52); x_53 = lean_ctor_get(x_2, 2); lean_inc(x_53); lean_dec(x_2); -x_54 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_1, x_52, x_3); +x_54 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_1, x_52, x_3); x_55 = lean_ctor_get(x_54, 0); lean_inc(x_55); x_56 = lean_unbox(x_55); @@ -32763,7 +30928,7 @@ lean_dec(x_55); x_57 = lean_ctor_get(x_54, 1); lean_inc(x_57); lean_dec(x_54); -x_58 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_1, x_53, x_57); +x_58 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_1, x_53, x_57); return x_58; } else @@ -32801,7 +30966,7 @@ lean_inc(x_64); x_65 = lean_ctor_get(x_2, 3); lean_inc(x_65); lean_dec(x_2); -x_66 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_1, x_63, x_3); +x_66 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_1, x_63, x_3); x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); x_68 = lean_unbox(x_67); @@ -32812,7 +30977,7 @@ lean_dec(x_67); x_69 = lean_ctor_get(x_66, 1); lean_inc(x_69); lean_dec(x_66); -x_70 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_1, x_64, x_69); +x_70 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_1, x_64, x_69); x_71 = lean_ctor_get(x_70, 0); lean_inc(x_71); x_72 = lean_unbox(x_71); @@ -32823,7 +30988,7 @@ lean_dec(x_71); x_73 = lean_ctor_get(x_70, 1); lean_inc(x_73); lean_dec(x_70); -x_74 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_1, x_65, x_73); +x_74 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_1, x_65, x_73); return x_74; } else @@ -32883,7 +31048,7 @@ lean_object* x_83; lean_object* x_84; x_83 = lean_ctor_get(x_2, 1); lean_inc(x_83); lean_dec(x_2); -x_84 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_1, x_83, x_3); +x_84 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_1, x_83, x_3); return x_84; } case 11: @@ -32892,7 +31057,7 @@ lean_object* x_85; lean_object* x_86; x_85 = lean_ctor_get(x_2, 2); lean_inc(x_85); lean_dec(x_2); -x_86 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_1, x_85, x_3); +x_86 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_1, x_85, x_3); return x_86; } default: @@ -32909,7 +31074,7 @@ return x_89; } } } -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(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; @@ -32954,7 +31119,7 @@ lean_object* x_15; lean_object* x_16; x_15 = lean_ctor_get(x_4, 1); lean_inc(x_15); lean_dec(x_4); -x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__13(x_1, x_2, x_15); +x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__12(x_1, x_2, x_15); return x_16; } } @@ -32962,74 +31127,83 @@ return x_16; LEAN_EXPORT lean_object* l_Lean_exprDependsOn___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_6); -x_19 = l_Lean_Expr_hasFVar(x_1); -if (x_19 == 0) +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(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_6); +x_9 = l_Lean_Expr_hasFVar(x_1); +if (x_9 == 0) { -uint8_t x_20; -x_20 = l_Lean_Expr_hasMVar(x_1); -if (x_20 == 0) +uint8_t x_10; +x_10 = l_Lean_Expr_hasMVar(x_1); +if (x_10 == 0) { -uint8_t x_21; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_8); lean_dec(x_1); -x_21 = 0; -x_7 = x_21; -x_8 = x_18; -goto block_16; +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_12, 0, x_6); +x_13 = lean_apply_1(x_11, x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_14, 0, x_3); +x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_13, x_14); +return x_15; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__1(x_5, x_1, x_18); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_unbox(x_23); -lean_dec(x_23); -x_7 = x_25; -x_8 = x_24; -goto block_16; +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_dec(x_6); +x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__1(x_5, x_1, x_8); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_2, 1); +lean_inc(x_20); +lean_dec(x_2); +x_21 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_21, 0, x_19); +x_22 = lean_apply_1(x_20, x_21); +x_23 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_23, 0, x_3); +lean_closure_set(x_23, 1, x_18); +x_24 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_22, x_23); +return x_24; } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_5, x_1, x_18); -x_27 = lean_ctor_get(x_26, 0); +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_dec(x_6); +x_25 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_5, x_1, x_8); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 0); lean_inc(x_27); +lean_dec(x_25); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = lean_unbox(x_27); -lean_dec(x_27); -x_7 = x_29; -x_8 = x_28; -goto block_16; -} -block_16: -{ -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_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); +x_29 = lean_ctor_get(x_2, 1); +lean_inc(x_29); lean_dec(x_2); -x_11 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1), 2, 1); -lean_closure_set(x_11, 0, x_9); -x_12 = lean_apply_1(x_10, x_11); -x_13 = lean_box(x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 3, 2); -lean_closure_set(x_14, 0, x_3); -lean_closure_set(x_14, 1, x_13); -x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_12, x_14); -return x_15; +x_30 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_30, 0, x_28); +x_31 = lean_apply_1(x_29, x_30); +x_32 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_32, 0, x_3); +lean_closure_set(x_32, 1, x_27); +x_33 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_31, x_32); +return x_33; } } } @@ -33069,13 +31243,19 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_exprDependsOn___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__7___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_getExprMVarAssignment_x3f___at_Lean_exprDependsOn___spec__4___lambda__1(x_1, x_2, x_3); +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__7(x_1, x_2, x_5, x_6); lean_dec(x_2); -return x_4; +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; } } LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -33093,6 +31273,16 @@ x_8 = lean_box(x_7); return x_8; } } +LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__6___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__6(x_1, x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -33108,36 +31298,11 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__7___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__5___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__7(x_1, x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__10(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__6___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__6(x_1, x_2); +x_3 = l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__5(x_1, x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; @@ -33161,15 +31326,30 @@ lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__14(x_1, x_2, x_3); +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_exprDependsOn___spec__13(x_1, x_2, x_3); lean_dec(x_1); return x_4; } } +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__16(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -33185,6 +31365,16 @@ x_8 = lean_box(x_7); return x_8; } } +LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__15___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__15(x_1, x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -33200,55 +31390,30 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__16___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__14___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_Std_PersistentArray_anyMAux___at_Lean_exprDependsOn___spec__16(x_1, x_2); +x_3 = l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__14(x_1, x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; -x_5 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_6 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_exprDependsOn___spec__19(x_1, x_2, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__15___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Std_PersistentArray_anyM___at_Lean_exprDependsOn___spec__15(x_1, x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__13(x_1, x_2, x_3); +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_exprDependsOn___spec__12(x_1, x_2, x_3); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__12(x_1, x_2, x_3); +x_4 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn___spec__11(x_1, x_2, x_3); lean_dec(x_1); return x_4; } @@ -33718,7 +31883,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -34446,7 +32611,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -35174,7 +33339,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -35902,7 +34067,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -36630,7 +34795,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -37358,7 +35523,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -37649,74 +35814,83 @@ return x_16; LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_6); -x_19 = l_Lean_Expr_hasFVar(x_1); -if (x_19 == 0) +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(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_6); +x_9 = l_Lean_Expr_hasFVar(x_1); +if (x_9 == 0) { -uint8_t x_20; -x_20 = l_Lean_Expr_hasMVar(x_1); -if (x_20 == 0) +uint8_t x_10; +x_10 = l_Lean_Expr_hasMVar(x_1); +if (x_10 == 0) { -uint8_t x_21; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_8); lean_dec(x_1); -x_21 = 0; -x_7 = x_21; -x_8 = x_18; -goto block_16; +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_12, 0, x_6); +x_13 = lean_apply_1(x_11, x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_14, 0, x_3); +x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_13, x_14); +return x_15; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__1(x_5, x_1, x_18); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_unbox(x_23); -lean_dec(x_23); -x_7 = x_25; -x_8 = x_24; -goto block_16; +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_dec(x_6); +x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__1(x_5, x_1, x_8); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_2, 1); +lean_inc(x_20); +lean_dec(x_2); +x_21 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_21, 0, x_19); +x_22 = lean_apply_1(x_20, x_21); +x_23 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_23, 0, x_3); +lean_closure_set(x_23, 1, x_18); +x_24 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_22, x_23); +return x_24; } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__9(x_5, x_1, x_18); -x_27 = lean_ctor_get(x_26, 0); +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_dec(x_6); +x_25 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn___spec__9(x_5, x_1, x_8); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 0); lean_inc(x_27); +lean_dec(x_25); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = lean_unbox(x_27); -lean_dec(x_27); -x_7 = x_29; -x_8 = x_28; -goto block_16; -} -block_16: -{ -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_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); +x_29 = lean_ctor_get(x_2, 1); +lean_inc(x_29); lean_dec(x_2); -x_11 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1), 2, 1); -lean_closure_set(x_11, 0, x_9); -x_12 = lean_apply_1(x_10, x_11); -x_13 = lean_box(x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 3, 2); -lean_closure_set(x_14, 0, x_3); -lean_closure_set(x_14, 1, x_13); -x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_12, x_14); -return x_15; +x_30 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_30, 0, x_28); +x_31 = lean_apply_1(x_29, x_30); +x_32 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_32, 0, x_3); +lean_closure_set(x_32, 1, x_27); +x_33 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_31, x_32); +return x_33; } } } @@ -37724,7 +35898,7 @@ LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn___rarg___lambda__2(lean_objec _start: { uint8_t x_9; lean_object* x_10; uint8_t x_19; lean_object* x_20; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_33 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; +x_33 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; x_34 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_8); @@ -37782,11 +35956,11 @@ lean_dec(x_10); x_12 = lean_ctor_get(x_3, 1); lean_inc(x_12); lean_dec(x_3); -x_13 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1), 2, 1); +x_13 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); lean_closure_set(x_13, 0, x_11); x_14 = lean_apply_1(x_12, x_13); x_15 = lean_box(x_9); -x_16 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 3, 2); +x_16 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); lean_closure_set(x_16, 0, x_4); lean_closure_set(x_16, 1, x_15); x_17 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_14, x_16); @@ -38863,7 +37037,7 @@ else { lean_object* x_39; uint8_t x_40; lean_inc(x_2); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_40 = !lean_is_exclusive(x_39); if (x_40 == 0) { @@ -39419,7 +37593,7 @@ else { lean_object* x_39; uint8_t x_40; lean_inc(x_2); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_40 = !lean_is_exclusive(x_39); if (x_40 == 0) { @@ -40255,7 +38429,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -41018,7 +39192,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -41319,150 +39493,168 @@ return x_16; LEAN_EXPORT lean_object* l_Lean_exprDependsOn_x27___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_6); -x_19 = l_Lean_Expr_hasFVar(x_1); -if (x_19 == 0) +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(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_6); +x_9 = l_Lean_Expr_hasFVar(x_1); +if (x_9 == 0) { -uint8_t x_20; -x_20 = l_Lean_Expr_hasMVar(x_1); -if (x_20 == 0) +uint8_t x_10; +x_10 = l_Lean_Expr_hasMVar(x_1); +if (x_10 == 0) { -uint8_t x_21; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_8); lean_dec(x_5); lean_dec(x_1); -x_21 = 0; -x_7 = x_21; -x_8 = x_18; -goto block_16; +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_12, 0, x_6); +x_13 = lean_apply_1(x_11, x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_14, 0, x_3); +x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_13, x_14); +return x_15; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn_x27___spec__1(x_5, x_1, x_18); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_unbox(x_23); -lean_dec(x_23); -x_7 = x_25; -x_8 = x_24; -goto block_16; +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_dec(x_6); +x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn_x27___spec__1(x_5, x_1, x_8); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_2, 1); +lean_inc(x_20); +lean_dec(x_2); +x_21 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_21, 0, x_19); +x_22 = lean_apply_1(x_20, x_21); +x_23 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_23, 0, x_3); +lean_closure_set(x_23, 1, x_18); +x_24 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_22, x_23); +return x_24; } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn_x27___spec__8(x_5, x_1, x_18); -x_27 = lean_ctor_get(x_26, 0); +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_dec(x_6); +x_25 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn_x27___spec__8(x_5, x_1, x_8); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 0); lean_inc(x_27); +lean_dec(x_25); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = lean_unbox(x_27); -lean_dec(x_27); -x_7 = x_29; -x_8 = x_28; -goto block_16; -} -block_16: -{ -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_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); +x_29 = lean_ctor_get(x_2, 1); +lean_inc(x_29); lean_dec(x_2); -x_11 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1), 2, 1); -lean_closure_set(x_11, 0, x_9); -x_12 = lean_apply_1(x_10, x_11); -x_13 = lean_box(x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 3, 2); -lean_closure_set(x_14, 0, x_3); -lean_closure_set(x_14, 1, x_13); -x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_12, x_14); -return x_15; +x_30 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_30, 0, x_28); +x_31 = lean_apply_1(x_29, x_30); +x_32 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_32, 0, x_3); +lean_closure_set(x_32, 1, x_27); +x_33 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_31, x_32); +return x_33; } } } LEAN_EXPORT lean_object* l_Lean_exprDependsOn_x27___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_6); -x_19 = l_Lean_Expr_hasFVar(x_1); -if (x_19 == 0) +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(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_6); +x_9 = l_Lean_Expr_hasFVar(x_1); +if (x_9 == 0) { -uint8_t x_20; -x_20 = l_Lean_Expr_hasMVar(x_1); -if (x_20 == 0) +uint8_t x_10; +x_10 = l_Lean_Expr_hasMVar(x_1); +if (x_10 == 0) { -uint8_t x_21; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_8); lean_dec(x_5); lean_dec(x_1); -x_21 = 0; -x_7 = x_21; -x_8 = x_18; -goto block_16; +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_12, 0, x_6); +x_13 = lean_apply_1(x_11, x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_14, 0, x_3); +x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_13, x_14); +return x_15; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn_x27___spec__11(x_5, x_1, x_18); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_unbox(x_23); -lean_dec(x_23); -x_7 = x_25; -x_8 = x_24; -goto block_16; +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_dec(x_6); +x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn_x27___spec__11(x_5, x_1, x_8); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_2, 1); +lean_inc(x_20); +lean_dec(x_2); +x_21 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_21, 0, x_19); +x_22 = lean_apply_1(x_20, x_21); +x_23 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_23, 0, x_3); +lean_closure_set(x_23, 1, x_18); +x_24 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_22, x_23); +return x_24; } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn_x27___spec__19(x_5, x_1, x_18); -x_27 = lean_ctor_get(x_26, 0); +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_dec(x_6); +x_25 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_exprDependsOn_x27___spec__19(x_5, x_1, x_8); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 0); lean_inc(x_27); +lean_dec(x_25); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = lean_unbox(x_27); -lean_dec(x_27); -x_7 = x_29; -x_8 = x_28; -goto block_16; -} -block_16: -{ -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_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); +x_29 = lean_ctor_get(x_2, 1); +lean_inc(x_29); lean_dec(x_2); -x_11 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1), 2, 1); -lean_closure_set(x_11, 0, x_9); -x_12 = lean_apply_1(x_10, x_11); -x_13 = lean_box(x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 3, 2); -lean_closure_set(x_14, 0, x_3); -lean_closure_set(x_14, 1, x_13); -x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_12, x_14); -return x_15; +x_30 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_30, 0, x_28); +x_31 = lean_apply_1(x_29, x_30); +x_32 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_32, 0, x_3); +lean_closure_set(x_32, 1, x_27); +x_33 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_31, x_32); +return x_33; } } } @@ -41888,7 +40080,7 @@ else { lean_object* x_39; uint8_t x_40; lean_inc(x_2); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_40 = !lean_is_exclusive(x_39); if (x_40 == 0) { @@ -42444,7 +40636,7 @@ else { lean_object* x_39; uint8_t x_40; lean_inc(x_2); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_40 = !lean_is_exclusive(x_39); if (x_40 == 0) { @@ -43000,7 +41192,7 @@ else { lean_object* x_39; uint8_t x_40; lean_inc(x_2); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_40 = !lean_is_exclusive(x_39); if (x_40 == 0) { @@ -43556,7 +41748,7 @@ else { lean_object* x_39; uint8_t x_40; lean_inc(x_2); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_40 = !lean_is_exclusive(x_39); if (x_40 == 0) { @@ -44112,7 +42304,7 @@ else { lean_object* x_39; uint8_t x_40; lean_inc(x_2); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_40 = !lean_is_exclusive(x_39); if (x_40 == 0) { @@ -44668,7 +42860,7 @@ else { lean_object* x_39; uint8_t x_40; lean_inc(x_2); -x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_39 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_40 = !lean_is_exclusive(x_39); if (x_40 == 0) { @@ -45504,7 +43696,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -46267,7 +44459,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -47030,7 +45222,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -47793,7 +45985,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -48556,7 +46748,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -49319,7 +47511,7 @@ else { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_inc(x_2); -x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_35 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -49620,75 +47812,84 @@ return x_16; LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn_x27___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_6); -x_19 = l_Lean_Expr_hasFVar(x_1); -if (x_19 == 0) +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(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_6); +x_9 = l_Lean_Expr_hasFVar(x_1); +if (x_9 == 0) { -uint8_t x_20; -x_20 = l_Lean_Expr_hasMVar(x_1); -if (x_20 == 0) +uint8_t x_10; +x_10 = l_Lean_Expr_hasMVar(x_1); +if (x_10 == 0) { -uint8_t x_21; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_8); lean_dec(x_5); lean_dec(x_1); -x_21 = 0; -x_7 = x_21; -x_8 = x_18; -goto block_16; +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_12, 0, x_6); +x_13 = lean_apply_1(x_11, x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_14, 0, x_3); +x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_13, x_14); +return x_15; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__1(x_5, x_1, x_18); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_unbox(x_23); -lean_dec(x_23); -x_7 = x_25; -x_8 = x_24; -goto block_16; +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_dec(x_6); +x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__1(x_5, x_1, x_8); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_2, 1); +lean_inc(x_20); +lean_dec(x_2); +x_21 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_21, 0, x_19); +x_22 = lean_apply_1(x_20, x_21); +x_23 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_23, 0, x_3); +lean_closure_set(x_23, 1, x_18); +x_24 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_22, x_23); +return x_24; } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__4(x_5, x_1, x_18); -x_27 = lean_ctor_get(x_26, 0); +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_dec(x_6); +x_25 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__4(x_5, x_1, x_8); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 0); lean_inc(x_27); +lean_dec(x_25); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = lean_unbox(x_27); -lean_dec(x_27); -x_7 = x_29; -x_8 = x_28; -goto block_16; -} -block_16: -{ -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_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); +x_29 = lean_ctor_get(x_2, 1); +lean_inc(x_29); lean_dec(x_2); -x_11 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1), 2, 1); -lean_closure_set(x_11, 0, x_9); -x_12 = lean_apply_1(x_10, x_11); -x_13 = lean_box(x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 3, 2); -lean_closure_set(x_14, 0, x_3); -lean_closure_set(x_14, 1, x_13); -x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_12, x_14); -return x_15; +x_30 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_30, 0, x_28); +x_31 = lean_apply_1(x_29, x_30); +x_32 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_32, 0, x_3); +lean_closure_set(x_32, 1, x_27); +x_33 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_31, x_32); +return x_33; } } } @@ -49696,7 +47897,7 @@ LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn_x27___rarg___lambda__2(lean_o _start: { uint8_t x_9; lean_object* x_10; uint8_t x_19; lean_object* x_20; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_33 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; +x_33 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; x_34 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_8); @@ -49756,11 +47957,11 @@ lean_dec(x_10); x_12 = lean_ctor_get(x_3, 1); lean_inc(x_12); lean_dec(x_3); -x_13 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1), 2, 1); +x_13 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); lean_closure_set(x_13, 0, x_11); x_14 = lean_apply_1(x_12, x_13); x_15 = lean_box(x_9); -x_16 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 3, 2); +x_16 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); lean_closure_set(x_16, 0, x_4); lean_closure_set(x_16, 1, x_15); x_17 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_14, x_16); @@ -49832,75 +48033,84 @@ goto block_18; LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn_x27___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_6); -x_19 = l_Lean_Expr_hasFVar(x_1); -if (x_19 == 0) +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(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_6); +x_9 = l_Lean_Expr_hasFVar(x_1); +if (x_9 == 0) { -uint8_t x_20; -x_20 = l_Lean_Expr_hasMVar(x_1); -if (x_20 == 0) +uint8_t x_10; +x_10 = l_Lean_Expr_hasMVar(x_1); +if (x_10 == 0) { -uint8_t x_21; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_8); lean_dec(x_5); lean_dec(x_1); -x_21 = 0; -x_7 = x_21; -x_8 = x_18; -goto block_16; +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_12, 0, x_6); +x_13 = lean_apply_1(x_11, x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_14, 0, x_3); +x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_13, x_14); +return x_15; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__19(x_5, x_1, x_18); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_unbox(x_23); -lean_dec(x_23); -x_7 = x_25; -x_8 = x_24; -goto block_16; +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_dec(x_6); +x_16 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__19(x_5, x_1, x_8); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_2, 1); +lean_inc(x_20); +lean_dec(x_2); +x_21 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_21, 0, x_19); +x_22 = lean_apply_1(x_20, x_21); +x_23 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_23, 0, x_3); +lean_closure_set(x_23, 1, x_18); +x_24 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_22, x_23); +return x_24; } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__27(x_5, x_1, x_18); -x_27 = lean_ctor_get(x_26, 0); +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_dec(x_6); +x_25 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_localDeclDependsOn_x27___spec__27(x_5, x_1, x_8); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 0); lean_inc(x_27); +lean_dec(x_25); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = lean_unbox(x_27); -lean_dec(x_27); -x_7 = x_29; -x_8 = x_28; -goto block_16; -} -block_16: -{ -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_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); +x_29 = lean_ctor_get(x_2, 1); +lean_inc(x_29); lean_dec(x_2); -x_11 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1), 2, 1); -lean_closure_set(x_11, 0, x_9); -x_12 = lean_apply_1(x_10, x_11); -x_13 = lean_box(x_7); -x_14 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 3, 2); -lean_closure_set(x_14, 0, x_3); -lean_closure_set(x_14, 1, x_13); -x_15 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_12, x_14); -return x_15; +x_30 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_30, 0, x_28); +x_31 = lean_apply_1(x_29, x_30); +x_32 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); +lean_closure_set(x_32, 0, x_3); +lean_closure_set(x_32, 1, x_27); +x_33 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_31, x_32); +return x_33; } } } @@ -49908,7 +48118,7 @@ LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn_x27___rarg___lambda__4(lean_o _start: { uint8_t x_9; lean_object* x_10; uint8_t x_19; lean_object* x_20; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_33 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; +x_33 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; x_34 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_8); @@ -49968,11 +48178,11 @@ lean_dec(x_10); x_12 = lean_ctor_get(x_3, 1); lean_inc(x_12); lean_dec(x_3); -x_13 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1), 2, 1); +x_13 = lean_alloc_closure((void*)(l_Lean_setMCtx___rarg___lambda__1___boxed), 2, 1); lean_closure_set(x_13, 0, x_11); x_14 = lean_apply_1(x_12, x_13); x_15 = lean_box(x_9); -x_16 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__1___boxed), 3, 2); +x_16 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2___boxed), 3, 2); lean_closure_set(x_16, 0, x_4); lean_closure_set(x_16, 1, x_15); x_17 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_14, x_16); @@ -50561,7 +48771,7 @@ lean_inc(x_6); x_7 = lean_ctor_get(x_2, 0); lean_inc(x_7); lean_inc(x_6); -x_8 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2), 7, 6); +x_8 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__3), 7, 6); lean_closure_set(x_8, 0, x_3); lean_closure_set(x_8, 1, x_2); lean_closure_set(x_8, 2, x_1); @@ -50594,7 +48804,7 @@ lean_inc(x_7); x_8 = lean_ctor_get(x_2, 0); lean_inc(x_8); lean_inc(x_7); -x_9 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__2), 7, 6); +x_9 = lean_alloc_closure((void*)(l_Lean_findExprDependsOn___rarg___lambda__3), 7, 6); lean_closure_set(x_9, 0, x_6); lean_closure_set(x_9, 1, x_2); lean_closure_set(x_9, 2, x_1); @@ -50645,23 +48855,21 @@ return x_2; static lean_object* _init_l_Lean_MetavarContext_instInhabitedMetavarContext___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_MetavarContext_lDepth___default___closed__1; x_3 = l_Lean_MetavarContext_decls___default___closed__1; x_4 = l_Lean_MetavarContext_userNames___default___closed__1; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_MetavarContext_instInhabitedMetavarContext() { @@ -51263,7 +49471,7 @@ return x_1; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +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; uint8_t x_32; x_20 = lean_ctor_get(x_1, 0); x_21 = lean_ctor_get(x_1, 1); x_22 = lean_ctor_get(x_1, 2); @@ -51272,7 +49480,6 @@ x_24 = lean_ctor_get(x_1, 4); x_25 = lean_ctor_get(x_1, 5); x_26 = lean_ctor_get(x_1, 6); x_27 = lean_ctor_get(x_1, 7); -x_28 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); @@ -51282,54 +49489,52 @@ lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); lean_dec(x_1); -x_29 = lean_unsigned_to_nat(1u); -x_30 = lean_nat_add(x_21, x_29); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_21, x_28); lean_inc(x_20); lean_inc(x_3); -x_31 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_31, 0, x_3); -lean_ctor_set(x_31, 1, x_4); -lean_ctor_set(x_31, 2, x_6); -lean_ctor_set(x_31, 3, x_20); -lean_ctor_set(x_31, 4, x_5); -lean_ctor_set(x_31, 5, x_8); -lean_ctor_set(x_31, 6, x_21); -lean_ctor_set_uint8(x_31, sizeof(void*)*7, x_7); +x_30 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_30, 0, x_3); +lean_ctor_set(x_30, 1, x_4); +lean_ctor_set(x_30, 2, x_6); +lean_ctor_set(x_30, 3, x_20); +lean_ctor_set(x_30, 4, x_5); +lean_ctor_set(x_30, 5, x_8); +lean_ctor_set(x_30, 6, x_21); +lean_ctor_set_uint8(x_30, sizeof(void*)*7, x_7); lean_inc(x_2); -x_32 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_23, x_2, x_31); -x_33 = l_Lean_Name_isAnonymous(x_3); -if (x_33 == 0) +x_31 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_23, x_2, x_30); +x_32 = l_Lean_Name_isAnonymous(x_3); +if (x_32 == 0) { -lean_object* x_34; lean_object* x_35; -x_34 = l_Std_PersistentHashMap_insert___at_Lean_MetavarContext_addExprMVarDecl___spec__1(x_24, x_3, x_2); -x_35 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_35, 0, x_20); -lean_ctor_set(x_35, 1, x_30); -lean_ctor_set(x_35, 2, x_22); -lean_ctor_set(x_35, 3, x_32); -lean_ctor_set(x_35, 4, x_34); -lean_ctor_set(x_35, 5, x_25); -lean_ctor_set(x_35, 6, x_26); -lean_ctor_set(x_35, 7, x_27); -lean_ctor_set_uint8(x_35, sizeof(void*)*8, x_28); -return x_35; +lean_object* x_33; lean_object* x_34; +x_33 = l_Std_PersistentHashMap_insert___at_Lean_MetavarContext_addExprMVarDecl___spec__1(x_24, x_3, x_2); +x_34 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_34, 0, x_20); +lean_ctor_set(x_34, 1, x_29); +lean_ctor_set(x_34, 2, x_22); +lean_ctor_set(x_34, 3, x_31); +lean_ctor_set(x_34, 4, x_33); +lean_ctor_set(x_34, 5, x_25); +lean_ctor_set(x_34, 6, x_26); +lean_ctor_set(x_34, 7, x_27); +return x_34; } else { -lean_object* x_36; +lean_object* x_35; lean_dec(x_3); lean_dec(x_2); -x_36 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_36, 0, x_20); -lean_ctor_set(x_36, 1, x_30); -lean_ctor_set(x_36, 2, x_22); -lean_ctor_set(x_36, 3, x_32); -lean_ctor_set(x_36, 4, x_24); -lean_ctor_set(x_36, 5, x_25); -lean_ctor_set(x_36, 6, x_26); -lean_ctor_set(x_36, 7, x_27); -lean_ctor_set_uint8(x_36, sizeof(void*)*8, x_28); -return x_36; +x_35 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_35, 0, x_20); +lean_ctor_set(x_35, 1, x_29); +lean_ctor_set(x_35, 2, x_22); +lean_ctor_set(x_35, 3, x_31); +lean_ctor_set(x_35, 4, x_24); +lean_ctor_set(x_35, 5, x_25); +lean_ctor_set(x_35, 6, x_26); +lean_ctor_set(x_35, 7, x_27); +return x_35; } } } @@ -51938,7 +50143,7 @@ return x_1; } else { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; +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; x_7 = lean_ctor_get(x_1, 0); x_8 = lean_ctor_get(x_1, 1); x_9 = lean_ctor_get(x_1, 2); @@ -51947,7 +50152,6 @@ x_11 = lean_ctor_get(x_1, 4); x_12 = lean_ctor_get(x_1, 5); x_13 = lean_ctor_get(x_1, 6); x_14 = lean_ctor_get(x_1, 7); -x_15 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -51958,18 +50162,17 @@ lean_inc(x_8); lean_inc(x_7); lean_dec(x_1); lean_inc(x_7); -x_16 = l_Std_PersistentHashMap_insert___at_Lean_MetavarContext_addLevelMVarDecl___spec__1(x_9, x_2, x_7); -x_17 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_17, 0, x_7); -lean_ctor_set(x_17, 1, x_8); -lean_ctor_set(x_17, 2, x_16); -lean_ctor_set(x_17, 3, x_10); -lean_ctor_set(x_17, 4, x_11); -lean_ctor_set(x_17, 5, x_12); -lean_ctor_set(x_17, 6, x_13); -lean_ctor_set(x_17, 7, x_14); -lean_ctor_set_uint8(x_17, sizeof(void*)*8, x_15); -return x_17; +x_15 = l_Std_PersistentHashMap_insert___at_Lean_MetavarContext_addLevelMVarDecl___spec__1(x_9, x_2, x_7); +x_16 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_16, 0, x_7); +lean_ctor_set(x_16, 1, x_8); +lean_ctor_set(x_16, 2, x_15); +lean_ctor_set(x_16, 3, x_10); +lean_ctor_set(x_16, 4, x_11); +lean_ctor_set(x_16, 5, x_12); +lean_ctor_set(x_16, 6, x_13); +lean_ctor_set(x_16, 7, x_14); +return x_16; } } } @@ -52231,7 +50434,7 @@ return x_1; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +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; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; x_19 = lean_ctor_get(x_1, 0); x_20 = lean_ctor_get(x_1, 1); x_21 = lean_ctor_get(x_1, 2); @@ -52240,7 +50443,6 @@ x_23 = lean_ctor_get(x_1, 4); x_24 = lean_ctor_get(x_1, 5); x_25 = lean_ctor_get(x_1, 6); x_26 = lean_ctor_get(x_1, 7); -x_27 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); @@ -52250,20 +50452,20 @@ lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); lean_dec(x_1); -x_28 = lean_ctor_get(x_4, 0); +x_27 = lean_ctor_get(x_4, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_4, 1); lean_inc(x_28); -x_29 = lean_ctor_get(x_4, 1); +x_29 = lean_ctor_get(x_4, 2); lean_inc(x_29); -x_30 = lean_ctor_get(x_4, 2); +x_30 = lean_ctor_get(x_4, 3); lean_inc(x_30); -x_31 = lean_ctor_get(x_4, 3); +x_31 = lean_ctor_get(x_4, 4); lean_inc(x_31); -x_32 = lean_ctor_get(x_4, 4); +x_32 = lean_ctor_get(x_4, 5); lean_inc(x_32); -x_33 = lean_ctor_get(x_4, 5); +x_33 = lean_ctor_get(x_4, 6); lean_inc(x_33); -x_34 = lean_ctor_get(x_4, 6); -lean_inc(x_34); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -52272,36 +50474,35 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 4); lean_ctor_release(x_4, 5); lean_ctor_release(x_4, 6); - x_35 = x_4; + x_34 = x_4; } else { lean_dec_ref(x_4); - x_35 = lean_box(0); + x_34 = lean_box(0); } -if (lean_is_scalar(x_35)) { - x_36 = lean_alloc_ctor(0, 7, 1); +if (lean_is_scalar(x_34)) { + x_35 = lean_alloc_ctor(0, 7, 1); } else { - x_36 = x_35; + x_35 = x_34; } -lean_ctor_set(x_36, 0, x_28); -lean_ctor_set(x_36, 1, x_29); -lean_ctor_set(x_36, 2, x_30); -lean_ctor_set(x_36, 3, x_31); -lean_ctor_set(x_36, 4, x_32); -lean_ctor_set(x_36, 5, x_33); -lean_ctor_set(x_36, 6, x_34); -lean_ctor_set_uint8(x_36, sizeof(void*)*7, x_3); -x_37 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_22, x_2, x_36); -x_38 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_38, 0, x_19); -lean_ctor_set(x_38, 1, x_20); -lean_ctor_set(x_38, 2, x_21); -lean_ctor_set(x_38, 3, x_37); -lean_ctor_set(x_38, 4, x_23); -lean_ctor_set(x_38, 5, x_24); -lean_ctor_set(x_38, 6, x_25); -lean_ctor_set(x_38, 7, x_26); -lean_ctor_set_uint8(x_38, sizeof(void*)*8, x_27); -return x_38; +lean_ctor_set(x_35, 0, x_27); +lean_ctor_set(x_35, 1, x_28); +lean_ctor_set(x_35, 2, x_29); +lean_ctor_set(x_35, 3, x_30); +lean_ctor_set(x_35, 4, x_31); +lean_ctor_set(x_35, 5, x_32); +lean_ctor_set(x_35, 6, x_33); +lean_ctor_set_uint8(x_35, sizeof(void*)*7, x_3); +x_36 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_22, x_2, x_35); +x_37 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_37, 0, x_19); +lean_ctor_set(x_37, 1, x_20); +lean_ctor_set(x_37, 2, x_21); +lean_ctor_set(x_37, 3, x_36); +lean_ctor_set(x_37, 4, x_23); +lean_ctor_set(x_37, 5, x_24); +lean_ctor_set(x_37, 6, x_25); +lean_ctor_set(x_37, 7, x_26); +return x_37; } } } @@ -53081,7 +51282,7 @@ return x_1; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +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; 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; uint8_t x_49; x_29 = lean_ctor_get(x_1, 0); x_30 = lean_ctor_get(x_1, 1); x_31 = lean_ctor_get(x_1, 2); @@ -53090,7 +51291,6 @@ x_33 = lean_ctor_get(x_1, 4); x_34 = lean_ctor_get(x_1, 5); x_35 = lean_ctor_get(x_1, 6); x_36 = lean_ctor_get(x_1, 7); -x_37 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); lean_inc(x_36); lean_inc(x_35); lean_inc(x_34); @@ -53100,21 +51300,21 @@ lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); lean_dec(x_1); -x_38 = lean_ctor_get(x_4, 0); +x_37 = lean_ctor_get(x_4, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_4, 1); lean_inc(x_38); -x_39 = lean_ctor_get(x_4, 1); +x_39 = lean_ctor_get(x_4, 2); lean_inc(x_39); -x_40 = lean_ctor_get(x_4, 2); +x_40 = lean_ctor_get(x_4, 3); lean_inc(x_40); -x_41 = lean_ctor_get(x_4, 3); +x_41 = lean_ctor_get(x_4, 4); lean_inc(x_41); -x_42 = lean_ctor_get(x_4, 4); -lean_inc(x_42); -x_43 = lean_ctor_get_uint8(x_4, sizeof(void*)*7); -x_44 = lean_ctor_get(x_4, 5); +x_42 = lean_ctor_get_uint8(x_4, sizeof(void*)*7); +x_43 = lean_ctor_get(x_4, 5); +lean_inc(x_43); +x_44 = lean_ctor_get(x_4, 6); lean_inc(x_44); -x_45 = lean_ctor_get(x_4, 6); -lean_inc(x_45); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -53123,62 +51323,60 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 4); lean_ctor_release(x_4, 5); lean_ctor_release(x_4, 6); - x_46 = x_4; + x_45 = x_4; } else { lean_dec_ref(x_4); - x_46 = lean_box(0); + x_45 = lean_box(0); } lean_inc(x_3); -if (lean_is_scalar(x_46)) { - x_47 = lean_alloc_ctor(0, 7, 1); +if (lean_is_scalar(x_45)) { + x_46 = lean_alloc_ctor(0, 7, 1); } else { - x_47 = x_46; + x_46 = x_45; } -lean_ctor_set(x_47, 0, x_3); -lean_ctor_set(x_47, 1, x_39); -lean_ctor_set(x_47, 2, x_40); -lean_ctor_set(x_47, 3, x_41); -lean_ctor_set(x_47, 4, x_42); -lean_ctor_set(x_47, 5, x_44); -lean_ctor_set(x_47, 6, x_45); -lean_ctor_set_uint8(x_47, sizeof(void*)*7, x_43); +lean_ctor_set(x_46, 0, x_3); +lean_ctor_set(x_46, 1, x_38); +lean_ctor_set(x_46, 2, x_39); +lean_ctor_set(x_46, 3, x_40); +lean_ctor_set(x_46, 4, x_41); +lean_ctor_set(x_46, 5, x_43); +lean_ctor_set(x_46, 6, x_44); +lean_ctor_set_uint8(x_46, sizeof(void*)*7, x_42); lean_inc(x_2); -x_48 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_32, x_2, x_47); -x_49 = l_Std_PersistentHashMap_erase___at_Lean_MetavarContext_setMVarUserName___spec__1(x_33, x_38); -lean_dec(x_38); -x_50 = l_Lean_Name_isAnonymous(x_3); -if (x_50 == 0) +x_47 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_32, x_2, x_46); +x_48 = l_Std_PersistentHashMap_erase___at_Lean_MetavarContext_setMVarUserName___spec__1(x_33, x_37); +lean_dec(x_37); +x_49 = l_Lean_Name_isAnonymous(x_3); +if (x_49 == 0) { -lean_object* x_51; lean_object* x_52; -x_51 = l_Std_PersistentHashMap_insert___at_Lean_MetavarContext_addExprMVarDecl___spec__1(x_49, x_3, x_2); -x_52 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_52, 0, x_29); -lean_ctor_set(x_52, 1, x_30); -lean_ctor_set(x_52, 2, x_31); -lean_ctor_set(x_52, 3, x_48); -lean_ctor_set(x_52, 4, x_51); -lean_ctor_set(x_52, 5, x_34); -lean_ctor_set(x_52, 6, x_35); -lean_ctor_set(x_52, 7, x_36); -lean_ctor_set_uint8(x_52, sizeof(void*)*8, x_37); -return x_52; +lean_object* x_50; lean_object* x_51; +x_50 = l_Std_PersistentHashMap_insert___at_Lean_MetavarContext_addExprMVarDecl___spec__1(x_48, x_3, x_2); +x_51 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_51, 0, x_29); +lean_ctor_set(x_51, 1, x_30); +lean_ctor_set(x_51, 2, x_31); +lean_ctor_set(x_51, 3, x_47); +lean_ctor_set(x_51, 4, x_50); +lean_ctor_set(x_51, 5, x_34); +lean_ctor_set(x_51, 6, x_35); +lean_ctor_set(x_51, 7, x_36); +return x_51; } else { -lean_object* x_53; +lean_object* x_52; lean_dec(x_3); lean_dec(x_2); -x_53 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_53, 0, x_29); -lean_ctor_set(x_53, 1, x_30); -lean_ctor_set(x_53, 2, x_31); -lean_ctor_set(x_53, 3, x_48); -lean_ctor_set(x_53, 4, x_49); -lean_ctor_set(x_53, 5, x_34); -lean_ctor_set(x_53, 6, x_35); -lean_ctor_set(x_53, 7, x_36); -lean_ctor_set_uint8(x_53, sizeof(void*)*8, x_37); -return x_53; +x_52 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_52, 0, x_29); +lean_ctor_set(x_52, 1, x_30); +lean_ctor_set(x_52, 2, x_31); +lean_ctor_set(x_52, 3, x_47); +lean_ctor_set(x_52, 4, x_48); +lean_ctor_set(x_52, 5, x_34); +lean_ctor_set(x_52, 6, x_35); +lean_ctor_set(x_52, 7, x_36); +return x_52; } } } @@ -53270,7 +51468,7 @@ return x_1; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +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; uint8_t 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_20 = lean_ctor_get(x_1, 0); x_21 = lean_ctor_get(x_1, 1); x_22 = lean_ctor_get(x_1, 2); @@ -53279,7 +51477,6 @@ x_24 = lean_ctor_get(x_1, 4); x_25 = lean_ctor_get(x_1, 5); x_26 = lean_ctor_get(x_1, 6); x_27 = lean_ctor_get(x_1, 7); -x_28 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); @@ -53289,19 +51486,19 @@ lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); lean_dec(x_1); -x_29 = lean_ctor_get(x_4, 1); +x_28 = lean_ctor_get(x_4, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_4, 2); lean_inc(x_29); -x_30 = lean_ctor_get(x_4, 2); +x_30 = lean_ctor_get(x_4, 3); lean_inc(x_30); -x_31 = lean_ctor_get(x_4, 3); +x_31 = lean_ctor_get(x_4, 4); lean_inc(x_31); -x_32 = lean_ctor_get(x_4, 4); -lean_inc(x_32); -x_33 = lean_ctor_get_uint8(x_4, sizeof(void*)*7); -x_34 = lean_ctor_get(x_4, 5); +x_32 = lean_ctor_get_uint8(x_4, sizeof(void*)*7); +x_33 = lean_ctor_get(x_4, 5); +lean_inc(x_33); +x_34 = lean_ctor_get(x_4, 6); lean_inc(x_34); -x_35 = lean_ctor_get(x_4, 6); -lean_inc(x_35); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -53310,36 +51507,35 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 4); lean_ctor_release(x_4, 5); lean_ctor_release(x_4, 6); - x_36 = x_4; + x_35 = x_4; } else { lean_dec_ref(x_4); - x_36 = lean_box(0); + x_35 = lean_box(0); } -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(0, 7, 1); +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(0, 7, 1); } else { - x_37 = x_36; + x_36 = x_35; } -lean_ctor_set(x_37, 0, x_3); -lean_ctor_set(x_37, 1, x_29); -lean_ctor_set(x_37, 2, x_30); -lean_ctor_set(x_37, 3, x_31); -lean_ctor_set(x_37, 4, x_32); -lean_ctor_set(x_37, 5, x_34); -lean_ctor_set(x_37, 6, x_35); -lean_ctor_set_uint8(x_37, sizeof(void*)*7, x_33); -x_38 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_23, x_2, x_37); -x_39 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_39, 0, x_20); -lean_ctor_set(x_39, 1, x_21); -lean_ctor_set(x_39, 2, x_22); -lean_ctor_set(x_39, 3, x_38); -lean_ctor_set(x_39, 4, x_24); -lean_ctor_set(x_39, 5, x_25); -lean_ctor_set(x_39, 6, x_26); -lean_ctor_set(x_39, 7, x_27); -lean_ctor_set_uint8(x_39, sizeof(void*)*8, x_28); -return x_39; +lean_ctor_set(x_36, 0, x_3); +lean_ctor_set(x_36, 1, x_28); +lean_ctor_set(x_36, 2, x_29); +lean_ctor_set(x_36, 3, x_30); +lean_ctor_set(x_36, 4, x_31); +lean_ctor_set(x_36, 5, x_33); +lean_ctor_set(x_36, 6, x_34); +lean_ctor_set_uint8(x_36, sizeof(void*)*7, x_32); +x_37 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_23, x_2, x_36); +x_38 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_38, 0, x_20); +lean_ctor_set(x_38, 1, x_21); +lean_ctor_set(x_38, 2, x_22); +lean_ctor_set(x_38, 3, x_37); +lean_ctor_set(x_38, 4, x_24); +lean_ctor_set(x_38, 5, x_25); +lean_ctor_set(x_38, 6, x_26); +lean_ctor_set(x_38, 7, x_27); +return x_38; } } } @@ -53400,7 +51596,7 @@ return x_1; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +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; uint8_t 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_20 = lean_ctor_get(x_1, 0); x_21 = lean_ctor_get(x_1, 1); x_22 = lean_ctor_get(x_1, 2); @@ -53409,7 +51605,6 @@ x_24 = lean_ctor_get(x_1, 4); x_25 = lean_ctor_get(x_1, 5); x_26 = lean_ctor_get(x_1, 6); x_27 = lean_ctor_get(x_1, 7); -x_28 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); @@ -53419,19 +51614,19 @@ lean_inc(x_22); lean_inc(x_21); lean_inc(x_20); lean_dec(x_1); -x_29 = lean_ctor_get(x_4, 0); +x_28 = lean_ctor_get(x_4, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_4, 1); lean_inc(x_29); -x_30 = lean_ctor_get(x_4, 1); +x_30 = lean_ctor_get(x_4, 3); lean_inc(x_30); -x_31 = lean_ctor_get(x_4, 3); +x_31 = lean_ctor_get(x_4, 4); lean_inc(x_31); -x_32 = lean_ctor_get(x_4, 4); -lean_inc(x_32); -x_33 = lean_ctor_get_uint8(x_4, sizeof(void*)*7); -x_34 = lean_ctor_get(x_4, 5); +x_32 = lean_ctor_get_uint8(x_4, sizeof(void*)*7); +x_33 = lean_ctor_get(x_4, 5); +lean_inc(x_33); +x_34 = lean_ctor_get(x_4, 6); lean_inc(x_34); -x_35 = lean_ctor_get(x_4, 6); -lean_inc(x_35); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -53440,36 +51635,35 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 4); lean_ctor_release(x_4, 5); lean_ctor_release(x_4, 6); - x_36 = x_4; + x_35 = x_4; } else { lean_dec_ref(x_4); - x_36 = lean_box(0); + x_35 = lean_box(0); } -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(0, 7, 1); +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(0, 7, 1); } else { - x_37 = x_36; + x_36 = x_35; } -lean_ctor_set(x_37, 0, x_29); -lean_ctor_set(x_37, 1, x_30); -lean_ctor_set(x_37, 2, x_3); -lean_ctor_set(x_37, 3, x_31); -lean_ctor_set(x_37, 4, x_32); -lean_ctor_set(x_37, 5, x_34); -lean_ctor_set(x_37, 6, x_35); -lean_ctor_set_uint8(x_37, sizeof(void*)*7, x_33); -x_38 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_23, x_2, x_37); -x_39 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_39, 0, x_20); -lean_ctor_set(x_39, 1, x_21); -lean_ctor_set(x_39, 2, x_22); -lean_ctor_set(x_39, 3, x_38); -lean_ctor_set(x_39, 4, x_24); -lean_ctor_set(x_39, 5, x_25); -lean_ctor_set(x_39, 6, x_26); -lean_ctor_set(x_39, 7, x_27); -lean_ctor_set_uint8(x_39, sizeof(void*)*8, x_28); -return x_39; +lean_ctor_set(x_36, 0, x_28); +lean_ctor_set(x_36, 1, x_29); +lean_ctor_set(x_36, 2, x_3); +lean_ctor_set(x_36, 3, x_30); +lean_ctor_set(x_36, 4, x_31); +lean_ctor_set(x_36, 5, x_33); +lean_ctor_set(x_36, 6, x_34); +lean_ctor_set_uint8(x_36, sizeof(void*)*7, x_32); +x_37 = l_Std_PersistentHashMap_insert___at_Lean_instantiateMVarDeclMVars___spec__1(x_23, x_2, x_36); +x_38 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_38, 0, x_20); +lean_ctor_set(x_38, 1, x_21); +lean_ctor_set(x_38, 2, x_22); +lean_ctor_set(x_38, 3, x_37); +lean_ctor_set(x_38, 4, x_24); +lean_ctor_set(x_38, 5, x_25); +lean_ctor_set(x_38, 6, x_26); +lean_ctor_set(x_38, 7, x_27); +return x_38; } } } @@ -53498,7 +51692,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; x_1 = l_Lean_isLevelMVarAssignable___rarg___lambda__1___closed__1; x_2 = l_Lean_MetavarContext_getLevelDepth___closed__1; -x_3 = lean_unsigned_to_nat(807u); +x_3 = lean_unsigned_to_nat(789u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_MetavarContext_getDecl___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -53579,7 +51773,7 @@ return x_1; } else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +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; x_6 = lean_ctor_get(x_1, 0); x_7 = lean_ctor_get(x_1, 1); x_8 = lean_ctor_get(x_1, 2); @@ -53588,7 +51782,6 @@ x_10 = lean_ctor_get(x_1, 4); x_11 = lean_ctor_get(x_1, 5); x_12 = lean_ctor_get(x_1, 6); x_13 = lean_ctor_get(x_1, 7); -x_14 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); @@ -53598,20 +51791,19 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_dec(x_1); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_6, x_15); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); lean_dec(x_6); -x_17 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_7); -lean_ctor_set(x_17, 2, x_8); -lean_ctor_set(x_17, 3, x_9); -lean_ctor_set(x_17, 4, x_10); -lean_ctor_set(x_17, 5, x_11); -lean_ctor_set(x_17, 6, x_12); -lean_ctor_set(x_17, 7, x_13); -lean_ctor_set_uint8(x_17, sizeof(void*)*8, x_14); -return x_17; +x_16 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_7); +lean_ctor_set(x_16, 2, x_8); +lean_ctor_set(x_16, 3, x_9); +lean_ctor_set(x_16, 4, x_10); +lean_ctor_set(x_16, 5, x_11); +lean_ctor_set(x_16, 6, x_12); +lean_ctor_set(x_16, 7, x_13); +return x_16; } } } @@ -55271,7 +53463,7 @@ else { lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_inc(x_2); -x_46 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_46 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); x_48 = lean_ctor_get(x_46, 1); @@ -56108,7 +54300,7 @@ else { lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_inc(x_2); -x_46 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_46 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); x_48 = lean_ctor_get(x_46, 1); @@ -56945,7 +55137,7 @@ else { lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_inc(x_2); -x_46 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_46 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); x_48 = lean_ctor_get(x_46, 1); @@ -57782,7 +55974,7 @@ else { lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_inc(x_2); -x_46 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_46 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); x_48 = lean_ctor_get(x_46, 1); @@ -58619,7 +56811,7 @@ else { lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_inc(x_2); -x_46 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_46 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); x_48 = lean_ctor_get(x_46, 1); @@ -59456,7 +57648,7 @@ else { lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_inc(x_2); -x_46 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_46 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); x_48 = lean_ctor_get(x_46, 1); @@ -59910,55 +58102,55 @@ goto _start; } else { -lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_92; uint8_t x_139; +lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_36; uint8_t x_114; x_21 = lean_ctor_get(x_17, 0); lean_inc(x_21); lean_dec(x_17); lean_inc(x_3); -x_139 = l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50(x_7, x_21, x_3, x_3); -if (x_139 == 0) +x_114 = l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50(x_7, x_21, x_3, x_3); +if (x_114 == 0) { -lean_object* x_140; uint8_t x_141; -x_140 = lean_unsigned_to_nat(0u); -x_141 = lean_nat_dec_lt(x_140, x_2); -if (x_141 == 0) +lean_object* x_115; uint8_t x_116; +x_115 = lean_unsigned_to_nat(0u); +x_116 = lean_nat_dec_lt(x_115, x_2); +if (x_116 == 0) { -lean_object* x_142; -x_142 = lean_box(0); -x_92 = x_142; -goto block_138; +lean_object* x_117; +x_117 = lean_box(0); +x_36 = x_117; +goto block_113; } else { -uint8_t x_143; -x_143 = lean_nat_dec_le(x_2, x_2); -if (x_143 == 0) +uint8_t x_118; +x_118 = lean_nat_dec_le(x_2, x_2); +if (x_118 == 0) { -lean_object* x_144; -x_144 = lean_box(0); -x_92 = x_144; -goto block_138; +lean_object* x_119; +x_119 = lean_box(0); +x_36 = x_119; +goto block_113; } else { -size_t x_145; size_t x_146; uint8_t x_147; -x_145 = 0; -x_146 = lean_usize_of_nat(x_2); -x_147 = l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51(x_21, x_1, x_145, x_146); -if (x_147 == 0) +size_t x_120; size_t x_121; uint8_t x_122; +x_120 = 0; +x_121 = lean_usize_of_nat(x_2); +x_122 = l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51(x_21, x_1, x_120, x_121); +if (x_122 == 0) { -lean_object* x_148; -x_148 = lean_box(0); -x_92 = x_148; -goto block_138; +lean_object* x_123; +x_123 = lean_box(0); +x_36 = x_123; +goto block_113; } else { -lean_object* x_149; lean_object* x_150; -x_149 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_124; lean_object* x_125; +x_124 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_150 = lean_array_push(x_7, x_149); -x_10 = x_150; +x_125 = lean_array_push(x_7, x_124); +x_10 = x_125; x_11 = x_9; goto block_15; } @@ -59972,200 +58164,18 @@ x_10 = x_7; x_11 = x_9; goto block_15; } -block_91: +block_35: { lean_object* x_24; uint8_t x_25; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = lean_ctor_get_uint8(x_24, sizeof(void*)*8); +x_25 = !lean_is_exclusive(x_9); if (x_25 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_object* x_26; x_26 = lean_ctor_get(x_9, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_24, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_24, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_24, 3); -lean_inc(x_30); -x_31 = lean_ctor_get(x_24, 4); -lean_inc(x_31); -x_32 = lean_ctor_get(x_24, 5); -lean_inc(x_32); -x_33 = lean_ctor_get(x_24, 6); -lean_inc(x_33); -x_34 = lean_ctor_get(x_24, 7); -lean_inc(x_34); -lean_dec(x_24); -x_35 = !lean_is_exclusive(x_9); -if (x_35 == 0) -{ -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_9, 0); -lean_dec(x_36); -x_37 = !lean_is_exclusive(x_26); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_38 = lean_ctor_get(x_26, 7); -lean_dec(x_38); -x_39 = lean_ctor_get(x_26, 6); -lean_dec(x_39); -x_40 = lean_ctor_get(x_26, 5); -lean_dec(x_40); -x_41 = lean_ctor_get(x_26, 4); -lean_dec(x_41); -x_42 = lean_ctor_get(x_26, 3); -lean_dec(x_42); -x_43 = lean_ctor_get(x_26, 2); -lean_dec(x_43); -x_44 = lean_ctor_get(x_26, 1); -lean_dec(x_44); -x_45 = lean_ctor_get(x_26, 0); -lean_dec(x_45); -lean_ctor_set(x_26, 7, x_34); -lean_ctor_set(x_26, 6, x_33); -lean_ctor_set(x_26, 5, x_32); -lean_ctor_set(x_26, 4, x_31); -lean_ctor_set(x_26, 3, x_30); -lean_ctor_set(x_26, 2, x_29); -lean_ctor_set(x_26, 1, x_28); -lean_ctor_set(x_26, 0, x_27); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_9; -goto block_15; -} -else -{ -lean_object* x_46; lean_object* x_47; -x_46 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_47 = lean_array_push(x_7, x_46); -x_10 = x_47; -x_11 = x_9; -goto block_15; -} -} -else -{ -uint8_t x_48; lean_object* x_49; -x_48 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); lean_dec(x_26); -x_49 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_49, 0, x_27); -lean_ctor_set(x_49, 1, x_28); -lean_ctor_set(x_49, 2, x_29); -lean_ctor_set(x_49, 3, x_30); -lean_ctor_set(x_49, 4, x_31); -lean_ctor_set(x_49, 5, x_32); -lean_ctor_set(x_49, 6, x_33); -lean_ctor_set(x_49, 7, x_34); -lean_ctor_set_uint8(x_49, sizeof(void*)*8, x_48); -lean_ctor_set(x_9, 0, x_49); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_9; -goto block_15; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_51 = lean_array_push(x_7, x_50); -x_10 = x_51; -x_11 = x_9; -goto block_15; -} -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_52 = lean_ctor_get(x_9, 1); -x_53 = lean_ctor_get(x_9, 2); -x_54 = lean_ctor_get(x_9, 3); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_9); -x_55 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - lean_ctor_release(x_26, 3); - lean_ctor_release(x_26, 4); - lean_ctor_release(x_26, 5); - lean_ctor_release(x_26, 6); - lean_ctor_release(x_26, 7); - x_56 = x_26; -} else { - lean_dec_ref(x_26); - x_56 = lean_box(0); -} -if (lean_is_scalar(x_56)) { - x_57 = lean_alloc_ctor(0, 8, 1); -} else { - x_57 = x_56; -} -lean_ctor_set(x_57, 0, x_27); -lean_ctor_set(x_57, 1, x_28); -lean_ctor_set(x_57, 2, x_29); -lean_ctor_set(x_57, 3, x_30); -lean_ctor_set(x_57, 4, x_31); -lean_ctor_set(x_57, 5, x_32); -lean_ctor_set(x_57, 6, x_33); -lean_ctor_set(x_57, 7, x_34); -lean_ctor_set_uint8(x_57, sizeof(void*)*8, x_55); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_52); -lean_ctor_set(x_58, 2, x_53); -lean_ctor_set(x_58, 3, x_54); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_58; -goto block_15; -} -else -{ -lean_object* x_59; lean_object* x_60; -x_59 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_60 = lean_array_push(x_7, x_59); -x_10 = x_60; -x_11 = x_58; -goto block_15; -} -} -} -else -{ -uint8_t x_61; -x_61 = !lean_is_exclusive(x_24); -if (x_61 == 0) -{ -uint8_t x_62; -x_62 = !lean_is_exclusive(x_9); -if (x_62 == 0) -{ -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_9, 0); -lean_dec(x_63); -x_64 = 1; -lean_ctor_set_uint8(x_24, sizeof(void*)*8, x_64); lean_ctor_set(x_9, 0, x_24); if (x_22 == 0) { @@ -60176,302 +58186,382 @@ goto block_15; } else { -lean_object* x_65; lean_object* x_66; -x_65 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_27; lean_object* x_28; +x_27 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_66 = lean_array_push(x_7, x_65); -x_10 = x_66; +x_28 = lean_array_push(x_7, x_27); +x_10 = x_28; x_11 = x_9; goto block_15; } } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; -x_67 = lean_ctor_get(x_9, 1); -x_68 = lean_ctor_get(x_9, 2); -x_69 = lean_ctor_get(x_9, 3); -lean_inc(x_69); -lean_inc(x_68); -lean_inc(x_67); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_9, 1); +x_30 = lean_ctor_get(x_9, 2); +x_31 = lean_ctor_get(x_9, 3); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_9); -x_70 = 1; -lean_ctor_set_uint8(x_24, sizeof(void*)*8, x_70); -x_71 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_71, 0, x_24); -lean_ctor_set(x_71, 1, x_67); -lean_ctor_set(x_71, 2, x_68); -lean_ctor_set(x_71, 3, x_69); +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_24); +lean_ctor_set(x_32, 1, x_29); +lean_ctor_set(x_32, 2, x_30); +lean_ctor_set(x_32, 3, x_31); if (x_22 == 0) { lean_dec(x_21); x_10 = x_7; -x_11 = x_71; +x_11 = x_32; goto block_15; } else { -lean_object* x_72; lean_object* x_73; -x_72 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_33; lean_object* x_34; +x_33 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_73 = lean_array_push(x_7, x_72); -x_10 = x_73; -x_11 = x_71; +x_34 = lean_array_push(x_7, x_33); +x_10 = x_34; +x_11 = x_32; goto block_15; } } } -else +block_113: { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_74 = lean_ctor_get(x_24, 0); -x_75 = lean_ctor_get(x_24, 1); -x_76 = lean_ctor_get(x_24, 2); -x_77 = lean_ctor_get(x_24, 3); -x_78 = lean_ctor_get(x_24, 4); -x_79 = lean_ctor_get(x_24, 5); -x_80 = lean_ctor_get(x_24, 6); -x_81 = lean_ctor_get(x_24, 7); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_24); -x_82 = lean_ctor_get(x_9, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_9, 2); -lean_inc(x_83); -x_84 = lean_ctor_get(x_9, 3); -lean_inc(x_84); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - x_85 = x_9; -} else { - lean_dec_ref(x_9); - x_85 = lean_box(0); -} -x_86 = 1; -x_87 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_87, 0, x_74); -lean_ctor_set(x_87, 1, x_75); -lean_ctor_set(x_87, 2, x_76); -lean_ctor_set(x_87, 3, x_77); -lean_ctor_set(x_87, 4, x_78); -lean_ctor_set(x_87, 5, x_79); -lean_ctor_set(x_87, 6, x_80); -lean_ctor_set(x_87, 7, x_81); -lean_ctor_set_uint8(x_87, sizeof(void*)*8, x_86); -if (lean_is_scalar(x_85)) { - x_88 = lean_alloc_ctor(0, 4, 0); -} else { - x_88 = x_85; -} -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_82); -lean_ctor_set(x_88, 2, x_83); -lean_ctor_set(x_88, 3, x_84); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_88; -goto block_15; -} -else -{ -lean_object* x_89; lean_object* x_90; -x_89 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_90 = lean_array_push(x_7, x_89); -x_10 = x_90; -x_11 = x_88; -goto block_15; -} -} -} -} -block_138: -{ -lean_dec(x_92); +lean_dec(x_36); if (lean_obj_tag(x_21) == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_93 = lean_ctor_get(x_21, 3); -lean_inc(x_93); -x_94 = lean_ctor_get(x_9, 0); -lean_inc(x_94); -x_95 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = l_Lean_Expr_hasFVar(x_93); -if (x_97 == 0) +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_21, 3); +lean_inc(x_37); +x_38 = !lean_is_exclusive(x_9); +if (x_38 == 0) { -uint8_t x_98; -x_98 = l_Lean_Expr_hasMVar(x_93); -if (x_98 == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_9, 0); +x_40 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_Lean_Expr_hasFVar(x_37); +if (x_42 == 0) { -uint8_t x_99; -lean_dec(x_93); -x_99 = 0; -x_22 = x_99; -x_23 = x_96; -goto block_91; +uint8_t x_43; +x_43 = l_Lean_Expr_hasMVar(x_37); +if (x_43 == 0) +{ +lean_dec(x_41); +lean_dec(x_37); +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_100 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_93, x_96); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_unbox(x_101); -lean_dec(x_101); -x_22 = x_103; -x_23 = x_102; -goto block_91; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_dec(x_39); +x_44 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_37, x_41); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +lean_ctor_set(x_9, 0, x_47); +x_48 = lean_unbox(x_46); +lean_dec(x_46); +if (x_48 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_50 = lean_array_push(x_7, x_49); +x_10 = x_50; +x_11 = x_9; +goto block_15; +} } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_104 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_93, x_96); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_39); +x_51 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_37, x_41); +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_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +lean_ctor_set(x_9, 0, x_54); +x_55 = lean_unbox(x_53); +lean_dec(x_53); +if (x_55 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_57 = lean_array_push(x_7, x_56); +x_10 = x_57; +x_11 = x_9; +goto block_15; +} +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_58 = lean_ctor_get(x_9, 0); +x_59 = lean_ctor_get(x_9, 1); +x_60 = lean_ctor_get(x_9, 2); +x_61 = lean_ctor_get(x_9, 3); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_9); +x_62 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(x_58); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_58); +x_64 = l_Lean_Expr_hasFVar(x_37); +if (x_64 == 0) +{ +uint8_t x_65; +x_65 = l_Lean_Expr_hasMVar(x_37); +if (x_65 == 0) +{ +lean_object* x_66; +lean_dec(x_63); +lean_dec(x_37); +lean_dec(x_21); +x_66 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_66, 0, x_58); +lean_ctor_set(x_66, 1, x_59); +lean_ctor_set(x_66, 2, x_60); +lean_ctor_set(x_66, 3, x_61); +x_10 = x_7; +x_11 = x_66; +goto block_15; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_58); +x_67 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_37, x_63); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_59); +lean_ctor_set(x_71, 2, x_60); +lean_ctor_set(x_71, 3, x_61); +x_72 = lean_unbox(x_69); +lean_dec(x_69); +if (x_72 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_71; +goto block_15; +} +else +{ +lean_object* x_73; lean_object* x_74; +x_73 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_74 = lean_array_push(x_7, x_73); +x_10 = x_74; +x_11 = x_71; +goto block_15; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +lean_dec(x_58); +x_75 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_37, x_63); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_59); +lean_ctor_set(x_79, 2, x_60); +lean_ctor_set(x_79, 3, x_61); +x_80 = lean_unbox(x_77); +lean_dec(x_77); +if (x_80 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_79; +goto block_15; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_82 = lean_array_push(x_7, x_81); +x_10 = x_82; +x_11 = x_79; +goto block_15; +} +} +} +} +else +{ +lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_83 = lean_ctor_get(x_21, 3); +lean_inc(x_83); +x_84 = lean_ctor_get(x_21, 4); +lean_inc(x_84); +x_99 = lean_ctor_get(x_9, 0); +lean_inc(x_99); +x_100 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = l_Lean_Expr_hasFVar(x_83); +if (x_102 == 0) +{ +uint8_t x_103; +x_103 = l_Lean_Expr_hasMVar(x_83); +if (x_103 == 0) +{ +uint8_t x_104; +lean_dec(x_83); +x_104 = 0; +x_85 = x_104; +x_86 = x_101; +goto block_98; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_105 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34(x_7, x_83, x_101); +x_106 = lean_ctor_get(x_105, 0); lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_unbox(x_105); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); lean_dec(x_105); -x_22 = x_107; -x_23 = x_106; -goto block_91; +x_108 = lean_unbox(x_106); +lean_dec(x_106); +x_85 = x_108; +x_86 = x_107; +goto block_98; } } else { -lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_108 = lean_ctor_get(x_21, 3); -lean_inc(x_108); -x_109 = lean_ctor_get(x_21, 4); -lean_inc(x_109); -x_124 = lean_ctor_get(x_9, 0); -lean_inc(x_124); -x_125 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_127 = l_Lean_Expr_hasFVar(x_108); -if (x_127 == 0) -{ -uint8_t x_128; -x_128 = l_Lean_Expr_hasMVar(x_108); -if (x_128 == 0) -{ -uint8_t x_129; -lean_dec(x_108); -x_129 = 0; -x_110 = x_129; -x_111 = x_126; -goto block_123; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; -x_130 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34(x_7, x_108, x_126); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_unbox(x_131); -lean_dec(x_131); -x_110 = x_133; -x_111 = x_132; -goto block_123; -} -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_134 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42(x_7, x_108, x_126); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = lean_unbox(x_135); -lean_dec(x_135); -x_110 = x_137; -x_111 = x_136; -goto block_123; -} -block_123: -{ -if (x_110 == 0) -{ -uint8_t x_112; -x_112 = l_Lean_Expr_hasFVar(x_109); -if (x_112 == 0) -{ -uint8_t x_113; -x_113 = l_Lean_Expr_hasMVar(x_109); -if (x_113 == 0) -{ -uint8_t x_114; +lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_109 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42(x_7, x_83, x_101); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); lean_dec(x_109); -x_114 = 0; -x_22 = x_114; -x_23 = x_111; -goto block_91; +x_112 = lean_unbox(x_110); +lean_dec(x_110); +x_85 = x_112; +x_86 = x_111; +goto block_98; +} +block_98: +{ +if (x_85 == 0) +{ +uint8_t x_87; +x_87 = l_Lean_Expr_hasFVar(x_84); +if (x_87 == 0) +{ +uint8_t x_88; +x_88 = l_Lean_Expr_hasMVar(x_84); +if (x_88 == 0) +{ +uint8_t x_89; +lean_dec(x_84); +x_89 = 0; +x_22 = x_89; +x_23 = x_86; +goto block_35; } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_115 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18(x_7, x_109, x_111); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = lean_unbox(x_116); -lean_dec(x_116); -x_22 = x_118; -x_23 = x_117; -goto block_91; +lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_90 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18(x_7, x_84, x_86); +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_22 = x_93; +x_23 = x_92; +goto block_35; } } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_119 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26(x_7, x_109, x_111); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_unbox(x_120); -lean_dec(x_120); -x_22 = x_122; -x_23 = x_121; -goto block_91; +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26(x_7, x_84, x_86); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_unbox(x_95); +lean_dec(x_95); +x_22 = x_97; +x_23 = x_96; +goto block_35; } } else { -lean_dec(x_109); -x_22 = x_110; -x_23 = x_111; -goto block_91; +lean_dec(x_84); +x_22 = x_85; +x_23 = x_86; +goto block_35; } } } @@ -60480,12 +58570,12 @@ goto block_91; } else { -lean_object* x_151; +lean_object* x_126; lean_dec(x_3); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_7); -lean_ctor_set(x_151, 1, x_9); -return x_151; +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_7); +lean_ctor_set(x_126, 1, x_9); +return x_126; } block_15: { @@ -60658,55 +58748,55 @@ goto _start; } else { -lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_92; uint8_t x_139; +lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_36; uint8_t x_114; x_21 = lean_ctor_get(x_17, 0); lean_inc(x_21); lean_dec(x_17); lean_inc(x_3); -x_139 = l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50(x_7, x_21, x_3, x_3); -if (x_139 == 0) +x_114 = l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50(x_7, x_21, x_3, x_3); +if (x_114 == 0) { -lean_object* x_140; uint8_t x_141; -x_140 = lean_unsigned_to_nat(0u); -x_141 = lean_nat_dec_lt(x_140, x_2); -if (x_141 == 0) +lean_object* x_115; uint8_t x_116; +x_115 = lean_unsigned_to_nat(0u); +x_116 = lean_nat_dec_lt(x_115, x_2); +if (x_116 == 0) { -lean_object* x_142; -x_142 = lean_box(0); -x_92 = x_142; -goto block_138; +lean_object* x_117; +x_117 = lean_box(0); +x_36 = x_117; +goto block_113; } else { -uint8_t x_143; -x_143 = lean_nat_dec_le(x_2, x_2); -if (x_143 == 0) +uint8_t x_118; +x_118 = lean_nat_dec_le(x_2, x_2); +if (x_118 == 0) { -lean_object* x_144; -x_144 = lean_box(0); -x_92 = x_144; -goto block_138; +lean_object* x_119; +x_119 = lean_box(0); +x_36 = x_119; +goto block_113; } else { -size_t x_145; size_t x_146; uint8_t x_147; -x_145 = 0; -x_146 = lean_usize_of_nat(x_2); -x_147 = l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51(x_21, x_1, x_145, x_146); -if (x_147 == 0) +size_t x_120; size_t x_121; uint8_t x_122; +x_120 = 0; +x_121 = lean_usize_of_nat(x_2); +x_122 = l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51(x_21, x_1, x_120, x_121); +if (x_122 == 0) { -lean_object* x_148; -x_148 = lean_box(0); -x_92 = x_148; -goto block_138; +lean_object* x_123; +x_123 = lean_box(0); +x_36 = x_123; +goto block_113; } else { -lean_object* x_149; lean_object* x_150; -x_149 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_124; lean_object* x_125; +x_124 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_150 = lean_array_push(x_7, x_149); -x_10 = x_150; +x_125 = lean_array_push(x_7, x_124); +x_10 = x_125; x_11 = x_9; goto block_15; } @@ -60720,200 +58810,18 @@ x_10 = x_7; x_11 = x_9; goto block_15; } -block_91: +block_35: { lean_object* x_24; uint8_t x_25; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = lean_ctor_get_uint8(x_24, sizeof(void*)*8); +x_25 = !lean_is_exclusive(x_9); if (x_25 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_object* x_26; x_26 = lean_ctor_get(x_9, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_24, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_24, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_24, 3); -lean_inc(x_30); -x_31 = lean_ctor_get(x_24, 4); -lean_inc(x_31); -x_32 = lean_ctor_get(x_24, 5); -lean_inc(x_32); -x_33 = lean_ctor_get(x_24, 6); -lean_inc(x_33); -x_34 = lean_ctor_get(x_24, 7); -lean_inc(x_34); -lean_dec(x_24); -x_35 = !lean_is_exclusive(x_9); -if (x_35 == 0) -{ -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_9, 0); -lean_dec(x_36); -x_37 = !lean_is_exclusive(x_26); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_38 = lean_ctor_get(x_26, 7); -lean_dec(x_38); -x_39 = lean_ctor_get(x_26, 6); -lean_dec(x_39); -x_40 = lean_ctor_get(x_26, 5); -lean_dec(x_40); -x_41 = lean_ctor_get(x_26, 4); -lean_dec(x_41); -x_42 = lean_ctor_get(x_26, 3); -lean_dec(x_42); -x_43 = lean_ctor_get(x_26, 2); -lean_dec(x_43); -x_44 = lean_ctor_get(x_26, 1); -lean_dec(x_44); -x_45 = lean_ctor_get(x_26, 0); -lean_dec(x_45); -lean_ctor_set(x_26, 7, x_34); -lean_ctor_set(x_26, 6, x_33); -lean_ctor_set(x_26, 5, x_32); -lean_ctor_set(x_26, 4, x_31); -lean_ctor_set(x_26, 3, x_30); -lean_ctor_set(x_26, 2, x_29); -lean_ctor_set(x_26, 1, x_28); -lean_ctor_set(x_26, 0, x_27); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_9; -goto block_15; -} -else -{ -lean_object* x_46; lean_object* x_47; -x_46 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_47 = lean_array_push(x_7, x_46); -x_10 = x_47; -x_11 = x_9; -goto block_15; -} -} -else -{ -uint8_t x_48; lean_object* x_49; -x_48 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); lean_dec(x_26); -x_49 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_49, 0, x_27); -lean_ctor_set(x_49, 1, x_28); -lean_ctor_set(x_49, 2, x_29); -lean_ctor_set(x_49, 3, x_30); -lean_ctor_set(x_49, 4, x_31); -lean_ctor_set(x_49, 5, x_32); -lean_ctor_set(x_49, 6, x_33); -lean_ctor_set(x_49, 7, x_34); -lean_ctor_set_uint8(x_49, sizeof(void*)*8, x_48); -lean_ctor_set(x_9, 0, x_49); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_9; -goto block_15; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_51 = lean_array_push(x_7, x_50); -x_10 = x_51; -x_11 = x_9; -goto block_15; -} -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_52 = lean_ctor_get(x_9, 1); -x_53 = lean_ctor_get(x_9, 2); -x_54 = lean_ctor_get(x_9, 3); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_9); -x_55 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - lean_ctor_release(x_26, 3); - lean_ctor_release(x_26, 4); - lean_ctor_release(x_26, 5); - lean_ctor_release(x_26, 6); - lean_ctor_release(x_26, 7); - x_56 = x_26; -} else { - lean_dec_ref(x_26); - x_56 = lean_box(0); -} -if (lean_is_scalar(x_56)) { - x_57 = lean_alloc_ctor(0, 8, 1); -} else { - x_57 = x_56; -} -lean_ctor_set(x_57, 0, x_27); -lean_ctor_set(x_57, 1, x_28); -lean_ctor_set(x_57, 2, x_29); -lean_ctor_set(x_57, 3, x_30); -lean_ctor_set(x_57, 4, x_31); -lean_ctor_set(x_57, 5, x_32); -lean_ctor_set(x_57, 6, x_33); -lean_ctor_set(x_57, 7, x_34); -lean_ctor_set_uint8(x_57, sizeof(void*)*8, x_55); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_52); -lean_ctor_set(x_58, 2, x_53); -lean_ctor_set(x_58, 3, x_54); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_58; -goto block_15; -} -else -{ -lean_object* x_59; lean_object* x_60; -x_59 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_60 = lean_array_push(x_7, x_59); -x_10 = x_60; -x_11 = x_58; -goto block_15; -} -} -} -else -{ -uint8_t x_61; -x_61 = !lean_is_exclusive(x_24); -if (x_61 == 0) -{ -uint8_t x_62; -x_62 = !lean_is_exclusive(x_9); -if (x_62 == 0) -{ -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_9, 0); -lean_dec(x_63); -x_64 = 1; -lean_ctor_set_uint8(x_24, sizeof(void*)*8, x_64); lean_ctor_set(x_9, 0, x_24); if (x_22 == 0) { @@ -60924,302 +58832,382 @@ goto block_15; } else { -lean_object* x_65; lean_object* x_66; -x_65 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_27; lean_object* x_28; +x_27 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_66 = lean_array_push(x_7, x_65); -x_10 = x_66; +x_28 = lean_array_push(x_7, x_27); +x_10 = x_28; x_11 = x_9; goto block_15; } } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; -x_67 = lean_ctor_get(x_9, 1); -x_68 = lean_ctor_get(x_9, 2); -x_69 = lean_ctor_get(x_9, 3); -lean_inc(x_69); -lean_inc(x_68); -lean_inc(x_67); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_9, 1); +x_30 = lean_ctor_get(x_9, 2); +x_31 = lean_ctor_get(x_9, 3); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_9); -x_70 = 1; -lean_ctor_set_uint8(x_24, sizeof(void*)*8, x_70); -x_71 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_71, 0, x_24); -lean_ctor_set(x_71, 1, x_67); -lean_ctor_set(x_71, 2, x_68); -lean_ctor_set(x_71, 3, x_69); +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_24); +lean_ctor_set(x_32, 1, x_29); +lean_ctor_set(x_32, 2, x_30); +lean_ctor_set(x_32, 3, x_31); if (x_22 == 0) { lean_dec(x_21); x_10 = x_7; -x_11 = x_71; +x_11 = x_32; goto block_15; } else { -lean_object* x_72; lean_object* x_73; -x_72 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_33; lean_object* x_34; +x_33 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_73 = lean_array_push(x_7, x_72); -x_10 = x_73; -x_11 = x_71; +x_34 = lean_array_push(x_7, x_33); +x_10 = x_34; +x_11 = x_32; goto block_15; } } } -else +block_113: { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_74 = lean_ctor_get(x_24, 0); -x_75 = lean_ctor_get(x_24, 1); -x_76 = lean_ctor_get(x_24, 2); -x_77 = lean_ctor_get(x_24, 3); -x_78 = lean_ctor_get(x_24, 4); -x_79 = lean_ctor_get(x_24, 5); -x_80 = lean_ctor_get(x_24, 6); -x_81 = lean_ctor_get(x_24, 7); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_24); -x_82 = lean_ctor_get(x_9, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_9, 2); -lean_inc(x_83); -x_84 = lean_ctor_get(x_9, 3); -lean_inc(x_84); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - x_85 = x_9; -} else { - lean_dec_ref(x_9); - x_85 = lean_box(0); -} -x_86 = 1; -x_87 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_87, 0, x_74); -lean_ctor_set(x_87, 1, x_75); -lean_ctor_set(x_87, 2, x_76); -lean_ctor_set(x_87, 3, x_77); -lean_ctor_set(x_87, 4, x_78); -lean_ctor_set(x_87, 5, x_79); -lean_ctor_set(x_87, 6, x_80); -lean_ctor_set(x_87, 7, x_81); -lean_ctor_set_uint8(x_87, sizeof(void*)*8, x_86); -if (lean_is_scalar(x_85)) { - x_88 = lean_alloc_ctor(0, 4, 0); -} else { - x_88 = x_85; -} -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_82); -lean_ctor_set(x_88, 2, x_83); -lean_ctor_set(x_88, 3, x_84); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_88; -goto block_15; -} -else -{ -lean_object* x_89; lean_object* x_90; -x_89 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_90 = lean_array_push(x_7, x_89); -x_10 = x_90; -x_11 = x_88; -goto block_15; -} -} -} -} -block_138: -{ -lean_dec(x_92); +lean_dec(x_36); if (lean_obj_tag(x_21) == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_93 = lean_ctor_get(x_21, 3); -lean_inc(x_93); -x_94 = lean_ctor_get(x_9, 0); -lean_inc(x_94); -x_95 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = l_Lean_Expr_hasFVar(x_93); -if (x_97 == 0) +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_21, 3); +lean_inc(x_37); +x_38 = !lean_is_exclusive(x_9); +if (x_38 == 0) { -uint8_t x_98; -x_98 = l_Lean_Expr_hasMVar(x_93); -if (x_98 == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_9, 0); +x_40 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_Lean_Expr_hasFVar(x_37); +if (x_42 == 0) { -uint8_t x_99; -lean_dec(x_93); -x_99 = 0; -x_22 = x_99; -x_23 = x_96; -goto block_91; +uint8_t x_43; +x_43 = l_Lean_Expr_hasMVar(x_37); +if (x_43 == 0) +{ +lean_dec(x_41); +lean_dec(x_37); +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_100 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_93, x_96); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_unbox(x_101); -lean_dec(x_101); -x_22 = x_103; -x_23 = x_102; -goto block_91; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_dec(x_39); +x_44 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_37, x_41); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +lean_ctor_set(x_9, 0, x_47); +x_48 = lean_unbox(x_46); +lean_dec(x_46); +if (x_48 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_50 = lean_array_push(x_7, x_49); +x_10 = x_50; +x_11 = x_9; +goto block_15; +} } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_104 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_93, x_96); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_39); +x_51 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_37, x_41); +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_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +lean_ctor_set(x_9, 0, x_54); +x_55 = lean_unbox(x_53); +lean_dec(x_53); +if (x_55 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_57 = lean_array_push(x_7, x_56); +x_10 = x_57; +x_11 = x_9; +goto block_15; +} +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_58 = lean_ctor_get(x_9, 0); +x_59 = lean_ctor_get(x_9, 1); +x_60 = lean_ctor_get(x_9, 2); +x_61 = lean_ctor_get(x_9, 3); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_9); +x_62 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(x_58); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_58); +x_64 = l_Lean_Expr_hasFVar(x_37); +if (x_64 == 0) +{ +uint8_t x_65; +x_65 = l_Lean_Expr_hasMVar(x_37); +if (x_65 == 0) +{ +lean_object* x_66; +lean_dec(x_63); +lean_dec(x_37); +lean_dec(x_21); +x_66 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_66, 0, x_58); +lean_ctor_set(x_66, 1, x_59); +lean_ctor_set(x_66, 2, x_60); +lean_ctor_set(x_66, 3, x_61); +x_10 = x_7; +x_11 = x_66; +goto block_15; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_58); +x_67 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_37, x_63); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_59); +lean_ctor_set(x_71, 2, x_60); +lean_ctor_set(x_71, 3, x_61); +x_72 = lean_unbox(x_69); +lean_dec(x_69); +if (x_72 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_71; +goto block_15; +} +else +{ +lean_object* x_73; lean_object* x_74; +x_73 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_74 = lean_array_push(x_7, x_73); +x_10 = x_74; +x_11 = x_71; +goto block_15; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +lean_dec(x_58); +x_75 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_37, x_63); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_59); +lean_ctor_set(x_79, 2, x_60); +lean_ctor_set(x_79, 3, x_61); +x_80 = lean_unbox(x_77); +lean_dec(x_77); +if (x_80 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_79; +goto block_15; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_82 = lean_array_push(x_7, x_81); +x_10 = x_82; +x_11 = x_79; +goto block_15; +} +} +} +} +else +{ +lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_83 = lean_ctor_get(x_21, 3); +lean_inc(x_83); +x_84 = lean_ctor_get(x_21, 4); +lean_inc(x_84); +x_99 = lean_ctor_get(x_9, 0); +lean_inc(x_99); +x_100 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = l_Lean_Expr_hasFVar(x_83); +if (x_102 == 0) +{ +uint8_t x_103; +x_103 = l_Lean_Expr_hasMVar(x_83); +if (x_103 == 0) +{ +uint8_t x_104; +lean_dec(x_83); +x_104 = 0; +x_85 = x_104; +x_86 = x_101; +goto block_98; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_105 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34(x_7, x_83, x_101); +x_106 = lean_ctor_get(x_105, 0); lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_unbox(x_105); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); lean_dec(x_105); -x_22 = x_107; -x_23 = x_106; -goto block_91; +x_108 = lean_unbox(x_106); +lean_dec(x_106); +x_85 = x_108; +x_86 = x_107; +goto block_98; } } else { -lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_108 = lean_ctor_get(x_21, 3); -lean_inc(x_108); -x_109 = lean_ctor_get(x_21, 4); -lean_inc(x_109); -x_124 = lean_ctor_get(x_9, 0); -lean_inc(x_124); -x_125 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_127 = l_Lean_Expr_hasFVar(x_108); -if (x_127 == 0) -{ -uint8_t x_128; -x_128 = l_Lean_Expr_hasMVar(x_108); -if (x_128 == 0) -{ -uint8_t x_129; -lean_dec(x_108); -x_129 = 0; -x_110 = x_129; -x_111 = x_126; -goto block_123; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; -x_130 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34(x_7, x_108, x_126); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_unbox(x_131); -lean_dec(x_131); -x_110 = x_133; -x_111 = x_132; -goto block_123; -} -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_134 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42(x_7, x_108, x_126); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = lean_unbox(x_135); -lean_dec(x_135); -x_110 = x_137; -x_111 = x_136; -goto block_123; -} -block_123: -{ -if (x_110 == 0) -{ -uint8_t x_112; -x_112 = l_Lean_Expr_hasFVar(x_109); -if (x_112 == 0) -{ -uint8_t x_113; -x_113 = l_Lean_Expr_hasMVar(x_109); -if (x_113 == 0) -{ -uint8_t x_114; +lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_109 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42(x_7, x_83, x_101); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); lean_dec(x_109); -x_114 = 0; -x_22 = x_114; -x_23 = x_111; -goto block_91; +x_112 = lean_unbox(x_110); +lean_dec(x_110); +x_85 = x_112; +x_86 = x_111; +goto block_98; +} +block_98: +{ +if (x_85 == 0) +{ +uint8_t x_87; +x_87 = l_Lean_Expr_hasFVar(x_84); +if (x_87 == 0) +{ +uint8_t x_88; +x_88 = l_Lean_Expr_hasMVar(x_84); +if (x_88 == 0) +{ +uint8_t x_89; +lean_dec(x_84); +x_89 = 0; +x_22 = x_89; +x_23 = x_86; +goto block_35; } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_115 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18(x_7, x_109, x_111); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = lean_unbox(x_116); -lean_dec(x_116); -x_22 = x_118; -x_23 = x_117; -goto block_91; +lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_90 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18(x_7, x_84, x_86); +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_22 = x_93; +x_23 = x_92; +goto block_35; } } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_119 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26(x_7, x_109, x_111); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_unbox(x_120); -lean_dec(x_120); -x_22 = x_122; -x_23 = x_121; -goto block_91; +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26(x_7, x_84, x_86); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_unbox(x_95); +lean_dec(x_95); +x_22 = x_97; +x_23 = x_96; +goto block_35; } } else { -lean_dec(x_109); -x_22 = x_110; -x_23 = x_111; -goto block_91; +lean_dec(x_84); +x_22 = x_85; +x_23 = x_86; +goto block_35; } } } @@ -61228,12 +59216,12 @@ goto block_91; } else { -lean_object* x_151; +lean_object* x_126; lean_dec(x_3); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_7); -lean_ctor_set(x_151, 1, x_9); -return x_151; +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_7); +lean_ctor_set(x_126, 1, x_9); +return x_126; } block_15: { @@ -61435,55 +59423,55 @@ goto _start; } else { -lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_92; uint8_t x_139; +lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_36; uint8_t x_114; x_21 = lean_ctor_get(x_17, 0); lean_inc(x_21); lean_dec(x_17); lean_inc(x_3); -x_139 = l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50(x_7, x_21, x_3, x_3); -if (x_139 == 0) +x_114 = l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50(x_7, x_21, x_3, x_3); +if (x_114 == 0) { -lean_object* x_140; uint8_t x_141; -x_140 = lean_unsigned_to_nat(0u); -x_141 = lean_nat_dec_lt(x_140, x_2); -if (x_141 == 0) +lean_object* x_115; uint8_t x_116; +x_115 = lean_unsigned_to_nat(0u); +x_116 = lean_nat_dec_lt(x_115, x_2); +if (x_116 == 0) { -lean_object* x_142; -x_142 = lean_box(0); -x_92 = x_142; -goto block_138; +lean_object* x_117; +x_117 = lean_box(0); +x_36 = x_117; +goto block_113; } else { -uint8_t x_143; -x_143 = lean_nat_dec_le(x_2, x_2); -if (x_143 == 0) +uint8_t x_118; +x_118 = lean_nat_dec_le(x_2, x_2); +if (x_118 == 0) { -lean_object* x_144; -x_144 = lean_box(0); -x_92 = x_144; -goto block_138; +lean_object* x_119; +x_119 = lean_box(0); +x_36 = x_119; +goto block_113; } else { -size_t x_145; size_t x_146; uint8_t x_147; -x_145 = 0; -x_146 = lean_usize_of_nat(x_2); -x_147 = l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51(x_21, x_1, x_145, x_146); -if (x_147 == 0) +size_t x_120; size_t x_121; uint8_t x_122; +x_120 = 0; +x_121 = lean_usize_of_nat(x_2); +x_122 = l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51(x_21, x_1, x_120, x_121); +if (x_122 == 0) { -lean_object* x_148; -x_148 = lean_box(0); -x_92 = x_148; -goto block_138; +lean_object* x_123; +x_123 = lean_box(0); +x_36 = x_123; +goto block_113; } else { -lean_object* x_149; lean_object* x_150; -x_149 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_124; lean_object* x_125; +x_124 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_150 = lean_array_push(x_7, x_149); -x_10 = x_150; +x_125 = lean_array_push(x_7, x_124); +x_10 = x_125; x_11 = x_9; goto block_15; } @@ -61497,200 +59485,18 @@ x_10 = x_7; x_11 = x_9; goto block_15; } -block_91: +block_35: { lean_object* x_24; uint8_t x_25; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = lean_ctor_get_uint8(x_24, sizeof(void*)*8); +x_25 = !lean_is_exclusive(x_9); if (x_25 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_object* x_26; x_26 = lean_ctor_get(x_9, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_24, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_24, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_24, 3); -lean_inc(x_30); -x_31 = lean_ctor_get(x_24, 4); -lean_inc(x_31); -x_32 = lean_ctor_get(x_24, 5); -lean_inc(x_32); -x_33 = lean_ctor_get(x_24, 6); -lean_inc(x_33); -x_34 = lean_ctor_get(x_24, 7); -lean_inc(x_34); -lean_dec(x_24); -x_35 = !lean_is_exclusive(x_9); -if (x_35 == 0) -{ -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_9, 0); -lean_dec(x_36); -x_37 = !lean_is_exclusive(x_26); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_38 = lean_ctor_get(x_26, 7); -lean_dec(x_38); -x_39 = lean_ctor_get(x_26, 6); -lean_dec(x_39); -x_40 = lean_ctor_get(x_26, 5); -lean_dec(x_40); -x_41 = lean_ctor_get(x_26, 4); -lean_dec(x_41); -x_42 = lean_ctor_get(x_26, 3); -lean_dec(x_42); -x_43 = lean_ctor_get(x_26, 2); -lean_dec(x_43); -x_44 = lean_ctor_get(x_26, 1); -lean_dec(x_44); -x_45 = lean_ctor_get(x_26, 0); -lean_dec(x_45); -lean_ctor_set(x_26, 7, x_34); -lean_ctor_set(x_26, 6, x_33); -lean_ctor_set(x_26, 5, x_32); -lean_ctor_set(x_26, 4, x_31); -lean_ctor_set(x_26, 3, x_30); -lean_ctor_set(x_26, 2, x_29); -lean_ctor_set(x_26, 1, x_28); -lean_ctor_set(x_26, 0, x_27); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_9; -goto block_15; -} -else -{ -lean_object* x_46; lean_object* x_47; -x_46 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_47 = lean_array_push(x_7, x_46); -x_10 = x_47; -x_11 = x_9; -goto block_15; -} -} -else -{ -uint8_t x_48; lean_object* x_49; -x_48 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); lean_dec(x_26); -x_49 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_49, 0, x_27); -lean_ctor_set(x_49, 1, x_28); -lean_ctor_set(x_49, 2, x_29); -lean_ctor_set(x_49, 3, x_30); -lean_ctor_set(x_49, 4, x_31); -lean_ctor_set(x_49, 5, x_32); -lean_ctor_set(x_49, 6, x_33); -lean_ctor_set(x_49, 7, x_34); -lean_ctor_set_uint8(x_49, sizeof(void*)*8, x_48); -lean_ctor_set(x_9, 0, x_49); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_9; -goto block_15; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_51 = lean_array_push(x_7, x_50); -x_10 = x_51; -x_11 = x_9; -goto block_15; -} -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_52 = lean_ctor_get(x_9, 1); -x_53 = lean_ctor_get(x_9, 2); -x_54 = lean_ctor_get(x_9, 3); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_9); -x_55 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - lean_ctor_release(x_26, 3); - lean_ctor_release(x_26, 4); - lean_ctor_release(x_26, 5); - lean_ctor_release(x_26, 6); - lean_ctor_release(x_26, 7); - x_56 = x_26; -} else { - lean_dec_ref(x_26); - x_56 = lean_box(0); -} -if (lean_is_scalar(x_56)) { - x_57 = lean_alloc_ctor(0, 8, 1); -} else { - x_57 = x_56; -} -lean_ctor_set(x_57, 0, x_27); -lean_ctor_set(x_57, 1, x_28); -lean_ctor_set(x_57, 2, x_29); -lean_ctor_set(x_57, 3, x_30); -lean_ctor_set(x_57, 4, x_31); -lean_ctor_set(x_57, 5, x_32); -lean_ctor_set(x_57, 6, x_33); -lean_ctor_set(x_57, 7, x_34); -lean_ctor_set_uint8(x_57, sizeof(void*)*8, x_55); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_52); -lean_ctor_set(x_58, 2, x_53); -lean_ctor_set(x_58, 3, x_54); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_58; -goto block_15; -} -else -{ -lean_object* x_59; lean_object* x_60; -x_59 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_60 = lean_array_push(x_7, x_59); -x_10 = x_60; -x_11 = x_58; -goto block_15; -} -} -} -else -{ -uint8_t x_61; -x_61 = !lean_is_exclusive(x_24); -if (x_61 == 0) -{ -uint8_t x_62; -x_62 = !lean_is_exclusive(x_9); -if (x_62 == 0) -{ -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_9, 0); -lean_dec(x_63); -x_64 = 1; -lean_ctor_set_uint8(x_24, sizeof(void*)*8, x_64); lean_ctor_set(x_9, 0, x_24); if (x_22 == 0) { @@ -61701,302 +59507,382 @@ goto block_15; } else { -lean_object* x_65; lean_object* x_66; -x_65 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_27; lean_object* x_28; +x_27 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_66 = lean_array_push(x_7, x_65); -x_10 = x_66; +x_28 = lean_array_push(x_7, x_27); +x_10 = x_28; x_11 = x_9; goto block_15; } } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; -x_67 = lean_ctor_get(x_9, 1); -x_68 = lean_ctor_get(x_9, 2); -x_69 = lean_ctor_get(x_9, 3); -lean_inc(x_69); -lean_inc(x_68); -lean_inc(x_67); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_9, 1); +x_30 = lean_ctor_get(x_9, 2); +x_31 = lean_ctor_get(x_9, 3); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_9); -x_70 = 1; -lean_ctor_set_uint8(x_24, sizeof(void*)*8, x_70); -x_71 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_71, 0, x_24); -lean_ctor_set(x_71, 1, x_67); -lean_ctor_set(x_71, 2, x_68); -lean_ctor_set(x_71, 3, x_69); +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_24); +lean_ctor_set(x_32, 1, x_29); +lean_ctor_set(x_32, 2, x_30); +lean_ctor_set(x_32, 3, x_31); if (x_22 == 0) { lean_dec(x_21); x_10 = x_7; -x_11 = x_71; +x_11 = x_32; goto block_15; } else { -lean_object* x_72; lean_object* x_73; -x_72 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_33; lean_object* x_34; +x_33 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_73 = lean_array_push(x_7, x_72); -x_10 = x_73; -x_11 = x_71; +x_34 = lean_array_push(x_7, x_33); +x_10 = x_34; +x_11 = x_32; goto block_15; } } } -else +block_113: { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_74 = lean_ctor_get(x_24, 0); -x_75 = lean_ctor_get(x_24, 1); -x_76 = lean_ctor_get(x_24, 2); -x_77 = lean_ctor_get(x_24, 3); -x_78 = lean_ctor_get(x_24, 4); -x_79 = lean_ctor_get(x_24, 5); -x_80 = lean_ctor_get(x_24, 6); -x_81 = lean_ctor_get(x_24, 7); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_24); -x_82 = lean_ctor_get(x_9, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_9, 2); -lean_inc(x_83); -x_84 = lean_ctor_get(x_9, 3); -lean_inc(x_84); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - x_85 = x_9; -} else { - lean_dec_ref(x_9); - x_85 = lean_box(0); -} -x_86 = 1; -x_87 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_87, 0, x_74); -lean_ctor_set(x_87, 1, x_75); -lean_ctor_set(x_87, 2, x_76); -lean_ctor_set(x_87, 3, x_77); -lean_ctor_set(x_87, 4, x_78); -lean_ctor_set(x_87, 5, x_79); -lean_ctor_set(x_87, 6, x_80); -lean_ctor_set(x_87, 7, x_81); -lean_ctor_set_uint8(x_87, sizeof(void*)*8, x_86); -if (lean_is_scalar(x_85)) { - x_88 = lean_alloc_ctor(0, 4, 0); -} else { - x_88 = x_85; -} -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_82); -lean_ctor_set(x_88, 2, x_83); -lean_ctor_set(x_88, 3, x_84); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_88; -goto block_15; -} -else -{ -lean_object* x_89; lean_object* x_90; -x_89 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_90 = lean_array_push(x_7, x_89); -x_10 = x_90; -x_11 = x_88; -goto block_15; -} -} -} -} -block_138: -{ -lean_dec(x_92); +lean_dec(x_36); if (lean_obj_tag(x_21) == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_93 = lean_ctor_get(x_21, 3); -lean_inc(x_93); -x_94 = lean_ctor_get(x_9, 0); -lean_inc(x_94); -x_95 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = l_Lean_Expr_hasFVar(x_93); -if (x_97 == 0) +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_21, 3); +lean_inc(x_37); +x_38 = !lean_is_exclusive(x_9); +if (x_38 == 0) { -uint8_t x_98; -x_98 = l_Lean_Expr_hasMVar(x_93); -if (x_98 == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_9, 0); +x_40 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_Lean_Expr_hasFVar(x_37); +if (x_42 == 0) { -uint8_t x_99; -lean_dec(x_93); -x_99 = 0; -x_22 = x_99; -x_23 = x_96; -goto block_91; +uint8_t x_43; +x_43 = l_Lean_Expr_hasMVar(x_37); +if (x_43 == 0) +{ +lean_dec(x_41); +lean_dec(x_37); +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_100 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_93, x_96); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_unbox(x_101); -lean_dec(x_101); -x_22 = x_103; -x_23 = x_102; -goto block_91; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_dec(x_39); +x_44 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_37, x_41); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +lean_ctor_set(x_9, 0, x_47); +x_48 = lean_unbox(x_46); +lean_dec(x_46); +if (x_48 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_50 = lean_array_push(x_7, x_49); +x_10 = x_50; +x_11 = x_9; +goto block_15; +} } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_104 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_93, x_96); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_39); +x_51 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_37, x_41); +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_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +lean_ctor_set(x_9, 0, x_54); +x_55 = lean_unbox(x_53); +lean_dec(x_53); +if (x_55 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_57 = lean_array_push(x_7, x_56); +x_10 = x_57; +x_11 = x_9; +goto block_15; +} +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_58 = lean_ctor_get(x_9, 0); +x_59 = lean_ctor_get(x_9, 1); +x_60 = lean_ctor_get(x_9, 2); +x_61 = lean_ctor_get(x_9, 3); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_9); +x_62 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(x_58); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_58); +x_64 = l_Lean_Expr_hasFVar(x_37); +if (x_64 == 0) +{ +uint8_t x_65; +x_65 = l_Lean_Expr_hasMVar(x_37); +if (x_65 == 0) +{ +lean_object* x_66; +lean_dec(x_63); +lean_dec(x_37); +lean_dec(x_21); +x_66 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_66, 0, x_58); +lean_ctor_set(x_66, 1, x_59); +lean_ctor_set(x_66, 2, x_60); +lean_ctor_set(x_66, 3, x_61); +x_10 = x_7; +x_11 = x_66; +goto block_15; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_58); +x_67 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_37, x_63); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_59); +lean_ctor_set(x_71, 2, x_60); +lean_ctor_set(x_71, 3, x_61); +x_72 = lean_unbox(x_69); +lean_dec(x_69); +if (x_72 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_71; +goto block_15; +} +else +{ +lean_object* x_73; lean_object* x_74; +x_73 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_74 = lean_array_push(x_7, x_73); +x_10 = x_74; +x_11 = x_71; +goto block_15; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +lean_dec(x_58); +x_75 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_37, x_63); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_59); +lean_ctor_set(x_79, 2, x_60); +lean_ctor_set(x_79, 3, x_61); +x_80 = lean_unbox(x_77); +lean_dec(x_77); +if (x_80 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_79; +goto block_15; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_82 = lean_array_push(x_7, x_81); +x_10 = x_82; +x_11 = x_79; +goto block_15; +} +} +} +} +else +{ +lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_83 = lean_ctor_get(x_21, 3); +lean_inc(x_83); +x_84 = lean_ctor_get(x_21, 4); +lean_inc(x_84); +x_99 = lean_ctor_get(x_9, 0); +lean_inc(x_99); +x_100 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = l_Lean_Expr_hasFVar(x_83); +if (x_102 == 0) +{ +uint8_t x_103; +x_103 = l_Lean_Expr_hasMVar(x_83); +if (x_103 == 0) +{ +uint8_t x_104; +lean_dec(x_83); +x_104 = 0; +x_85 = x_104; +x_86 = x_101; +goto block_98; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_105 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34(x_7, x_83, x_101); +x_106 = lean_ctor_get(x_105, 0); lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_unbox(x_105); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); lean_dec(x_105); -x_22 = x_107; -x_23 = x_106; -goto block_91; +x_108 = lean_unbox(x_106); +lean_dec(x_106); +x_85 = x_108; +x_86 = x_107; +goto block_98; } } else { -lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_108 = lean_ctor_get(x_21, 3); -lean_inc(x_108); -x_109 = lean_ctor_get(x_21, 4); -lean_inc(x_109); -x_124 = lean_ctor_get(x_9, 0); -lean_inc(x_124); -x_125 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_127 = l_Lean_Expr_hasFVar(x_108); -if (x_127 == 0) -{ -uint8_t x_128; -x_128 = l_Lean_Expr_hasMVar(x_108); -if (x_128 == 0) -{ -uint8_t x_129; -lean_dec(x_108); -x_129 = 0; -x_110 = x_129; -x_111 = x_126; -goto block_123; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; -x_130 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34(x_7, x_108, x_126); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_unbox(x_131); -lean_dec(x_131); -x_110 = x_133; -x_111 = x_132; -goto block_123; -} -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_134 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42(x_7, x_108, x_126); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = lean_unbox(x_135); -lean_dec(x_135); -x_110 = x_137; -x_111 = x_136; -goto block_123; -} -block_123: -{ -if (x_110 == 0) -{ -uint8_t x_112; -x_112 = l_Lean_Expr_hasFVar(x_109); -if (x_112 == 0) -{ -uint8_t x_113; -x_113 = l_Lean_Expr_hasMVar(x_109); -if (x_113 == 0) -{ -uint8_t x_114; +lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_109 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42(x_7, x_83, x_101); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); lean_dec(x_109); -x_114 = 0; -x_22 = x_114; -x_23 = x_111; -goto block_91; +x_112 = lean_unbox(x_110); +lean_dec(x_110); +x_85 = x_112; +x_86 = x_111; +goto block_98; +} +block_98: +{ +if (x_85 == 0) +{ +uint8_t x_87; +x_87 = l_Lean_Expr_hasFVar(x_84); +if (x_87 == 0) +{ +uint8_t x_88; +x_88 = l_Lean_Expr_hasMVar(x_84); +if (x_88 == 0) +{ +uint8_t x_89; +lean_dec(x_84); +x_89 = 0; +x_22 = x_89; +x_23 = x_86; +goto block_35; } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_115 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18(x_7, x_109, x_111); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = lean_unbox(x_116); -lean_dec(x_116); -x_22 = x_118; -x_23 = x_117; -goto block_91; +lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_90 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18(x_7, x_84, x_86); +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_22 = x_93; +x_23 = x_92; +goto block_35; } } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_119 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26(x_7, x_109, x_111); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_unbox(x_120); -lean_dec(x_120); -x_22 = x_122; -x_23 = x_121; -goto block_91; +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26(x_7, x_84, x_86); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_unbox(x_95); +lean_dec(x_95); +x_22 = x_97; +x_23 = x_96; +goto block_35; } } else { -lean_dec(x_109); -x_22 = x_110; -x_23 = x_111; -goto block_91; +lean_dec(x_84); +x_22 = x_85; +x_23 = x_86; +goto block_35; } } } @@ -62005,12 +59891,12 @@ goto block_91; } else { -lean_object* x_151; +lean_object* x_126; lean_dec(x_3); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_7); -lean_ctor_set(x_151, 1, x_9); -return x_151; +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_7); +lean_ctor_set(x_126, 1, x_9); +return x_126; } block_15: { @@ -62043,55 +59929,55 @@ goto _start; } else { -lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_92; uint8_t x_139; +lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_36; uint8_t x_114; x_21 = lean_ctor_get(x_17, 0); lean_inc(x_21); lean_dec(x_17); lean_inc(x_3); -x_139 = l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50(x_7, x_21, x_3, x_3); -if (x_139 == 0) +x_114 = l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50(x_7, x_21, x_3, x_3); +if (x_114 == 0) { -lean_object* x_140; uint8_t x_141; -x_140 = lean_unsigned_to_nat(0u); -x_141 = lean_nat_dec_lt(x_140, x_2); -if (x_141 == 0) +lean_object* x_115; uint8_t x_116; +x_115 = lean_unsigned_to_nat(0u); +x_116 = lean_nat_dec_lt(x_115, x_2); +if (x_116 == 0) { -lean_object* x_142; -x_142 = lean_box(0); -x_92 = x_142; -goto block_138; +lean_object* x_117; +x_117 = lean_box(0); +x_36 = x_117; +goto block_113; } else { -uint8_t x_143; -x_143 = lean_nat_dec_le(x_2, x_2); -if (x_143 == 0) +uint8_t x_118; +x_118 = lean_nat_dec_le(x_2, x_2); +if (x_118 == 0) { -lean_object* x_144; -x_144 = lean_box(0); -x_92 = x_144; -goto block_138; +lean_object* x_119; +x_119 = lean_box(0); +x_36 = x_119; +goto block_113; } else { -size_t x_145; size_t x_146; uint8_t x_147; -x_145 = 0; -x_146 = lean_usize_of_nat(x_2); -x_147 = l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51(x_21, x_1, x_145, x_146); -if (x_147 == 0) +size_t x_120; size_t x_121; uint8_t x_122; +x_120 = 0; +x_121 = lean_usize_of_nat(x_2); +x_122 = l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51(x_21, x_1, x_120, x_121); +if (x_122 == 0) { -lean_object* x_148; -x_148 = lean_box(0); -x_92 = x_148; -goto block_138; +lean_object* x_123; +x_123 = lean_box(0); +x_36 = x_123; +goto block_113; } else { -lean_object* x_149; lean_object* x_150; -x_149 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_124; lean_object* x_125; +x_124 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_150 = lean_array_push(x_7, x_149); -x_10 = x_150; +x_125 = lean_array_push(x_7, x_124); +x_10 = x_125; x_11 = x_9; goto block_15; } @@ -62105,200 +59991,18 @@ x_10 = x_7; x_11 = x_9; goto block_15; } -block_91: +block_35: { lean_object* x_24; uint8_t x_25; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = lean_ctor_get_uint8(x_24, sizeof(void*)*8); +x_25 = !lean_is_exclusive(x_9); if (x_25 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_object* x_26; x_26 = lean_ctor_get(x_9, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_24, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_24, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_24, 3); -lean_inc(x_30); -x_31 = lean_ctor_get(x_24, 4); -lean_inc(x_31); -x_32 = lean_ctor_get(x_24, 5); -lean_inc(x_32); -x_33 = lean_ctor_get(x_24, 6); -lean_inc(x_33); -x_34 = lean_ctor_get(x_24, 7); -lean_inc(x_34); -lean_dec(x_24); -x_35 = !lean_is_exclusive(x_9); -if (x_35 == 0) -{ -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_9, 0); -lean_dec(x_36); -x_37 = !lean_is_exclusive(x_26); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_38 = lean_ctor_get(x_26, 7); -lean_dec(x_38); -x_39 = lean_ctor_get(x_26, 6); -lean_dec(x_39); -x_40 = lean_ctor_get(x_26, 5); -lean_dec(x_40); -x_41 = lean_ctor_get(x_26, 4); -lean_dec(x_41); -x_42 = lean_ctor_get(x_26, 3); -lean_dec(x_42); -x_43 = lean_ctor_get(x_26, 2); -lean_dec(x_43); -x_44 = lean_ctor_get(x_26, 1); -lean_dec(x_44); -x_45 = lean_ctor_get(x_26, 0); -lean_dec(x_45); -lean_ctor_set(x_26, 7, x_34); -lean_ctor_set(x_26, 6, x_33); -lean_ctor_set(x_26, 5, x_32); -lean_ctor_set(x_26, 4, x_31); -lean_ctor_set(x_26, 3, x_30); -lean_ctor_set(x_26, 2, x_29); -lean_ctor_set(x_26, 1, x_28); -lean_ctor_set(x_26, 0, x_27); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_9; -goto block_15; -} -else -{ -lean_object* x_46; lean_object* x_47; -x_46 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_47 = lean_array_push(x_7, x_46); -x_10 = x_47; -x_11 = x_9; -goto block_15; -} -} -else -{ -uint8_t x_48; lean_object* x_49; -x_48 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); lean_dec(x_26); -x_49 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_49, 0, x_27); -lean_ctor_set(x_49, 1, x_28); -lean_ctor_set(x_49, 2, x_29); -lean_ctor_set(x_49, 3, x_30); -lean_ctor_set(x_49, 4, x_31); -lean_ctor_set(x_49, 5, x_32); -lean_ctor_set(x_49, 6, x_33); -lean_ctor_set(x_49, 7, x_34); -lean_ctor_set_uint8(x_49, sizeof(void*)*8, x_48); -lean_ctor_set(x_9, 0, x_49); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_9; -goto block_15; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_51 = lean_array_push(x_7, x_50); -x_10 = x_51; -x_11 = x_9; -goto block_15; -} -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_52 = lean_ctor_get(x_9, 1); -x_53 = lean_ctor_get(x_9, 2); -x_54 = lean_ctor_get(x_9, 3); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_9); -x_55 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - lean_ctor_release(x_26, 3); - lean_ctor_release(x_26, 4); - lean_ctor_release(x_26, 5); - lean_ctor_release(x_26, 6); - lean_ctor_release(x_26, 7); - x_56 = x_26; -} else { - lean_dec_ref(x_26); - x_56 = lean_box(0); -} -if (lean_is_scalar(x_56)) { - x_57 = lean_alloc_ctor(0, 8, 1); -} else { - x_57 = x_56; -} -lean_ctor_set(x_57, 0, x_27); -lean_ctor_set(x_57, 1, x_28); -lean_ctor_set(x_57, 2, x_29); -lean_ctor_set(x_57, 3, x_30); -lean_ctor_set(x_57, 4, x_31); -lean_ctor_set(x_57, 5, x_32); -lean_ctor_set(x_57, 6, x_33); -lean_ctor_set(x_57, 7, x_34); -lean_ctor_set_uint8(x_57, sizeof(void*)*8, x_55); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_52); -lean_ctor_set(x_58, 2, x_53); -lean_ctor_set(x_58, 3, x_54); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_58; -goto block_15; -} -else -{ -lean_object* x_59; lean_object* x_60; -x_59 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_60 = lean_array_push(x_7, x_59); -x_10 = x_60; -x_11 = x_58; -goto block_15; -} -} -} -else -{ -uint8_t x_61; -x_61 = !lean_is_exclusive(x_24); -if (x_61 == 0) -{ -uint8_t x_62; -x_62 = !lean_is_exclusive(x_9); -if (x_62 == 0) -{ -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_9, 0); -lean_dec(x_63); -x_64 = 1; -lean_ctor_set_uint8(x_24, sizeof(void*)*8, x_64); lean_ctor_set(x_9, 0, x_24); if (x_22 == 0) { @@ -62309,302 +60013,382 @@ goto block_15; } else { -lean_object* x_65; lean_object* x_66; -x_65 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_27; lean_object* x_28; +x_27 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_66 = lean_array_push(x_7, x_65); -x_10 = x_66; +x_28 = lean_array_push(x_7, x_27); +x_10 = x_28; x_11 = x_9; goto block_15; } } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; -x_67 = lean_ctor_get(x_9, 1); -x_68 = lean_ctor_get(x_9, 2); -x_69 = lean_ctor_get(x_9, 3); -lean_inc(x_69); -lean_inc(x_68); -lean_inc(x_67); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_9, 1); +x_30 = lean_ctor_get(x_9, 2); +x_31 = lean_ctor_get(x_9, 3); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_9); -x_70 = 1; -lean_ctor_set_uint8(x_24, sizeof(void*)*8, x_70); -x_71 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_71, 0, x_24); -lean_ctor_set(x_71, 1, x_67); -lean_ctor_set(x_71, 2, x_68); -lean_ctor_set(x_71, 3, x_69); +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_24); +lean_ctor_set(x_32, 1, x_29); +lean_ctor_set(x_32, 2, x_30); +lean_ctor_set(x_32, 3, x_31); if (x_22 == 0) { lean_dec(x_21); x_10 = x_7; -x_11 = x_71; +x_11 = x_32; goto block_15; } else { -lean_object* x_72; lean_object* x_73; -x_72 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_33; lean_object* x_34; +x_33 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_73 = lean_array_push(x_7, x_72); -x_10 = x_73; -x_11 = x_71; +x_34 = lean_array_push(x_7, x_33); +x_10 = x_34; +x_11 = x_32; goto block_15; } } } -else +block_113: { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_74 = lean_ctor_get(x_24, 0); -x_75 = lean_ctor_get(x_24, 1); -x_76 = lean_ctor_get(x_24, 2); -x_77 = lean_ctor_get(x_24, 3); -x_78 = lean_ctor_get(x_24, 4); -x_79 = lean_ctor_get(x_24, 5); -x_80 = lean_ctor_get(x_24, 6); -x_81 = lean_ctor_get(x_24, 7); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_24); -x_82 = lean_ctor_get(x_9, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_9, 2); -lean_inc(x_83); -x_84 = lean_ctor_get(x_9, 3); -lean_inc(x_84); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - x_85 = x_9; -} else { - lean_dec_ref(x_9); - x_85 = lean_box(0); -} -x_86 = 1; -x_87 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_87, 0, x_74); -lean_ctor_set(x_87, 1, x_75); -lean_ctor_set(x_87, 2, x_76); -lean_ctor_set(x_87, 3, x_77); -lean_ctor_set(x_87, 4, x_78); -lean_ctor_set(x_87, 5, x_79); -lean_ctor_set(x_87, 6, x_80); -lean_ctor_set(x_87, 7, x_81); -lean_ctor_set_uint8(x_87, sizeof(void*)*8, x_86); -if (lean_is_scalar(x_85)) { - x_88 = lean_alloc_ctor(0, 4, 0); -} else { - x_88 = x_85; -} -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_82); -lean_ctor_set(x_88, 2, x_83); -lean_ctor_set(x_88, 3, x_84); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_88; -goto block_15; -} -else -{ -lean_object* x_89; lean_object* x_90; -x_89 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_90 = lean_array_push(x_7, x_89); -x_10 = x_90; -x_11 = x_88; -goto block_15; -} -} -} -} -block_138: -{ -lean_dec(x_92); +lean_dec(x_36); if (lean_obj_tag(x_21) == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_93 = lean_ctor_get(x_21, 3); -lean_inc(x_93); -x_94 = lean_ctor_get(x_9, 0); -lean_inc(x_94); -x_95 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = l_Lean_Expr_hasFVar(x_93); -if (x_97 == 0) +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_21, 3); +lean_inc(x_37); +x_38 = !lean_is_exclusive(x_9); +if (x_38 == 0) { -uint8_t x_98; -x_98 = l_Lean_Expr_hasMVar(x_93); -if (x_98 == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_9, 0); +x_40 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_Lean_Expr_hasFVar(x_37); +if (x_42 == 0) { -uint8_t x_99; -lean_dec(x_93); -x_99 = 0; -x_22 = x_99; -x_23 = x_96; -goto block_91; +uint8_t x_43; +x_43 = l_Lean_Expr_hasMVar(x_37); +if (x_43 == 0) +{ +lean_dec(x_41); +lean_dec(x_37); +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_100 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_93, x_96); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_unbox(x_101); -lean_dec(x_101); -x_22 = x_103; -x_23 = x_102; -goto block_91; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_dec(x_39); +x_44 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_37, x_41); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +lean_ctor_set(x_9, 0, x_47); +x_48 = lean_unbox(x_46); +lean_dec(x_46); +if (x_48 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_50 = lean_array_push(x_7, x_49); +x_10 = x_50; +x_11 = x_9; +goto block_15; +} } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_104 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_93, x_96); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_39); +x_51 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_37, x_41); +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_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +lean_ctor_set(x_9, 0, x_54); +x_55 = lean_unbox(x_53); +lean_dec(x_53); +if (x_55 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_57 = lean_array_push(x_7, x_56); +x_10 = x_57; +x_11 = x_9; +goto block_15; +} +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_58 = lean_ctor_get(x_9, 0); +x_59 = lean_ctor_get(x_9, 1); +x_60 = lean_ctor_get(x_9, 2); +x_61 = lean_ctor_get(x_9, 3); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_9); +x_62 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(x_58); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_58); +x_64 = l_Lean_Expr_hasFVar(x_37); +if (x_64 == 0) +{ +uint8_t x_65; +x_65 = l_Lean_Expr_hasMVar(x_37); +if (x_65 == 0) +{ +lean_object* x_66; +lean_dec(x_63); +lean_dec(x_37); +lean_dec(x_21); +x_66 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_66, 0, x_58); +lean_ctor_set(x_66, 1, x_59); +lean_ctor_set(x_66, 2, x_60); +lean_ctor_set(x_66, 3, x_61); +x_10 = x_7; +x_11 = x_66; +goto block_15; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_58); +x_67 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_37, x_63); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_59); +lean_ctor_set(x_71, 2, x_60); +lean_ctor_set(x_71, 3, x_61); +x_72 = lean_unbox(x_69); +lean_dec(x_69); +if (x_72 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_71; +goto block_15; +} +else +{ +lean_object* x_73; lean_object* x_74; +x_73 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_74 = lean_array_push(x_7, x_73); +x_10 = x_74; +x_11 = x_71; +goto block_15; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +lean_dec(x_58); +x_75 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_37, x_63); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_59); +lean_ctor_set(x_79, 2, x_60); +lean_ctor_set(x_79, 3, x_61); +x_80 = lean_unbox(x_77); +lean_dec(x_77); +if (x_80 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_79; +goto block_15; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_82 = lean_array_push(x_7, x_81); +x_10 = x_82; +x_11 = x_79; +goto block_15; +} +} +} +} +else +{ +lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_83 = lean_ctor_get(x_21, 3); +lean_inc(x_83); +x_84 = lean_ctor_get(x_21, 4); +lean_inc(x_84); +x_99 = lean_ctor_get(x_9, 0); +lean_inc(x_99); +x_100 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = l_Lean_Expr_hasFVar(x_83); +if (x_102 == 0) +{ +uint8_t x_103; +x_103 = l_Lean_Expr_hasMVar(x_83); +if (x_103 == 0) +{ +uint8_t x_104; +lean_dec(x_83); +x_104 = 0; +x_85 = x_104; +x_86 = x_101; +goto block_98; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_105 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34(x_7, x_83, x_101); +x_106 = lean_ctor_get(x_105, 0); lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_unbox(x_105); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); lean_dec(x_105); -x_22 = x_107; -x_23 = x_106; -goto block_91; +x_108 = lean_unbox(x_106); +lean_dec(x_106); +x_85 = x_108; +x_86 = x_107; +goto block_98; } } else { -lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_108 = lean_ctor_get(x_21, 3); -lean_inc(x_108); -x_109 = lean_ctor_get(x_21, 4); -lean_inc(x_109); -x_124 = lean_ctor_get(x_9, 0); -lean_inc(x_124); -x_125 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_127 = l_Lean_Expr_hasFVar(x_108); -if (x_127 == 0) -{ -uint8_t x_128; -x_128 = l_Lean_Expr_hasMVar(x_108); -if (x_128 == 0) -{ -uint8_t x_129; -lean_dec(x_108); -x_129 = 0; -x_110 = x_129; -x_111 = x_126; -goto block_123; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; -x_130 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34(x_7, x_108, x_126); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_unbox(x_131); -lean_dec(x_131); -x_110 = x_133; -x_111 = x_132; -goto block_123; -} -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_134 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42(x_7, x_108, x_126); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = lean_unbox(x_135); -lean_dec(x_135); -x_110 = x_137; -x_111 = x_136; -goto block_123; -} -block_123: -{ -if (x_110 == 0) -{ -uint8_t x_112; -x_112 = l_Lean_Expr_hasFVar(x_109); -if (x_112 == 0) -{ -uint8_t x_113; -x_113 = l_Lean_Expr_hasMVar(x_109); -if (x_113 == 0) -{ -uint8_t x_114; +lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_109 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42(x_7, x_83, x_101); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); lean_dec(x_109); -x_114 = 0; -x_22 = x_114; -x_23 = x_111; -goto block_91; +x_112 = lean_unbox(x_110); +lean_dec(x_110); +x_85 = x_112; +x_86 = x_111; +goto block_98; +} +block_98: +{ +if (x_85 == 0) +{ +uint8_t x_87; +x_87 = l_Lean_Expr_hasFVar(x_84); +if (x_87 == 0) +{ +uint8_t x_88; +x_88 = l_Lean_Expr_hasMVar(x_84); +if (x_88 == 0) +{ +uint8_t x_89; +lean_dec(x_84); +x_89 = 0; +x_22 = x_89; +x_23 = x_86; +goto block_35; } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_115 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18(x_7, x_109, x_111); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = lean_unbox(x_116); -lean_dec(x_116); -x_22 = x_118; -x_23 = x_117; -goto block_91; +lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_90 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18(x_7, x_84, x_86); +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_22 = x_93; +x_23 = x_92; +goto block_35; } } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_119 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26(x_7, x_109, x_111); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_unbox(x_120); -lean_dec(x_120); -x_22 = x_122; -x_23 = x_121; -goto block_91; +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26(x_7, x_84, x_86); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_unbox(x_95); +lean_dec(x_95); +x_22 = x_97; +x_23 = x_96; +goto block_35; } } else { -lean_dec(x_109); -x_22 = x_110; -x_23 = x_111; -goto block_91; +lean_dec(x_84); +x_22 = x_85; +x_23 = x_86; +goto block_35; } } } @@ -62613,12 +60397,12 @@ goto block_91; } else { -lean_object* x_151; +lean_object* x_126; lean_dec(x_3); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_7); -lean_ctor_set(x_151, 1, x_9); -return x_151; +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_7); +lean_ctor_set(x_126, 1, x_9); +return x_126; } block_15: { @@ -62687,55 +60471,55 @@ goto _start; } else { -lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_92; uint8_t x_139; +lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_36; uint8_t x_114; x_21 = lean_ctor_get(x_17, 0); lean_inc(x_21); lean_dec(x_17); lean_inc(x_3); -x_139 = l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50(x_7, x_21, x_3, x_3); -if (x_139 == 0) +x_114 = l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50(x_7, x_21, x_3, x_3); +if (x_114 == 0) { -lean_object* x_140; uint8_t x_141; -x_140 = lean_unsigned_to_nat(0u); -x_141 = lean_nat_dec_lt(x_140, x_2); -if (x_141 == 0) +lean_object* x_115; uint8_t x_116; +x_115 = lean_unsigned_to_nat(0u); +x_116 = lean_nat_dec_lt(x_115, x_2); +if (x_116 == 0) { -lean_object* x_142; -x_142 = lean_box(0); -x_92 = x_142; -goto block_138; +lean_object* x_117; +x_117 = lean_box(0); +x_36 = x_117; +goto block_113; } else { -uint8_t x_143; -x_143 = lean_nat_dec_le(x_2, x_2); -if (x_143 == 0) +uint8_t x_118; +x_118 = lean_nat_dec_le(x_2, x_2); +if (x_118 == 0) { -lean_object* x_144; -x_144 = lean_box(0); -x_92 = x_144; -goto block_138; +lean_object* x_119; +x_119 = lean_box(0); +x_36 = x_119; +goto block_113; } else { -size_t x_145; size_t x_146; uint8_t x_147; -x_145 = 0; -x_146 = lean_usize_of_nat(x_2); -x_147 = l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51(x_21, x_1, x_145, x_146); -if (x_147 == 0) +size_t x_120; size_t x_121; uint8_t x_122; +x_120 = 0; +x_121 = lean_usize_of_nat(x_2); +x_122 = l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51(x_21, x_1, x_120, x_121); +if (x_122 == 0) { -lean_object* x_148; -x_148 = lean_box(0); -x_92 = x_148; -goto block_138; +lean_object* x_123; +x_123 = lean_box(0); +x_36 = x_123; +goto block_113; } else { -lean_object* x_149; lean_object* x_150; -x_149 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_124; lean_object* x_125; +x_124 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_150 = lean_array_push(x_7, x_149); -x_10 = x_150; +x_125 = lean_array_push(x_7, x_124); +x_10 = x_125; x_11 = x_9; goto block_15; } @@ -62749,200 +60533,18 @@ x_10 = x_7; x_11 = x_9; goto block_15; } -block_91: +block_35: { lean_object* x_24; uint8_t x_25; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = lean_ctor_get_uint8(x_24, sizeof(void*)*8); +x_25 = !lean_is_exclusive(x_9); if (x_25 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_object* x_26; x_26 = lean_ctor_get(x_9, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_24, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_24, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_24, 3); -lean_inc(x_30); -x_31 = lean_ctor_get(x_24, 4); -lean_inc(x_31); -x_32 = lean_ctor_get(x_24, 5); -lean_inc(x_32); -x_33 = lean_ctor_get(x_24, 6); -lean_inc(x_33); -x_34 = lean_ctor_get(x_24, 7); -lean_inc(x_34); -lean_dec(x_24); -x_35 = !lean_is_exclusive(x_9); -if (x_35 == 0) -{ -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_9, 0); -lean_dec(x_36); -x_37 = !lean_is_exclusive(x_26); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_38 = lean_ctor_get(x_26, 7); -lean_dec(x_38); -x_39 = lean_ctor_get(x_26, 6); -lean_dec(x_39); -x_40 = lean_ctor_get(x_26, 5); -lean_dec(x_40); -x_41 = lean_ctor_get(x_26, 4); -lean_dec(x_41); -x_42 = lean_ctor_get(x_26, 3); -lean_dec(x_42); -x_43 = lean_ctor_get(x_26, 2); -lean_dec(x_43); -x_44 = lean_ctor_get(x_26, 1); -lean_dec(x_44); -x_45 = lean_ctor_get(x_26, 0); -lean_dec(x_45); -lean_ctor_set(x_26, 7, x_34); -lean_ctor_set(x_26, 6, x_33); -lean_ctor_set(x_26, 5, x_32); -lean_ctor_set(x_26, 4, x_31); -lean_ctor_set(x_26, 3, x_30); -lean_ctor_set(x_26, 2, x_29); -lean_ctor_set(x_26, 1, x_28); -lean_ctor_set(x_26, 0, x_27); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_9; -goto block_15; -} -else -{ -lean_object* x_46; lean_object* x_47; -x_46 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_47 = lean_array_push(x_7, x_46); -x_10 = x_47; -x_11 = x_9; -goto block_15; -} -} -else -{ -uint8_t x_48; lean_object* x_49; -x_48 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); lean_dec(x_26); -x_49 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_49, 0, x_27); -lean_ctor_set(x_49, 1, x_28); -lean_ctor_set(x_49, 2, x_29); -lean_ctor_set(x_49, 3, x_30); -lean_ctor_set(x_49, 4, x_31); -lean_ctor_set(x_49, 5, x_32); -lean_ctor_set(x_49, 6, x_33); -lean_ctor_set(x_49, 7, x_34); -lean_ctor_set_uint8(x_49, sizeof(void*)*8, x_48); -lean_ctor_set(x_9, 0, x_49); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_9; -goto block_15; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_51 = lean_array_push(x_7, x_50); -x_10 = x_51; -x_11 = x_9; -goto block_15; -} -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_52 = lean_ctor_get(x_9, 1); -x_53 = lean_ctor_get(x_9, 2); -x_54 = lean_ctor_get(x_9, 3); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_9); -x_55 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - lean_ctor_release(x_26, 3); - lean_ctor_release(x_26, 4); - lean_ctor_release(x_26, 5); - lean_ctor_release(x_26, 6); - lean_ctor_release(x_26, 7); - x_56 = x_26; -} else { - lean_dec_ref(x_26); - x_56 = lean_box(0); -} -if (lean_is_scalar(x_56)) { - x_57 = lean_alloc_ctor(0, 8, 1); -} else { - x_57 = x_56; -} -lean_ctor_set(x_57, 0, x_27); -lean_ctor_set(x_57, 1, x_28); -lean_ctor_set(x_57, 2, x_29); -lean_ctor_set(x_57, 3, x_30); -lean_ctor_set(x_57, 4, x_31); -lean_ctor_set(x_57, 5, x_32); -lean_ctor_set(x_57, 6, x_33); -lean_ctor_set(x_57, 7, x_34); -lean_ctor_set_uint8(x_57, sizeof(void*)*8, x_55); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_52); -lean_ctor_set(x_58, 2, x_53); -lean_ctor_set(x_58, 3, x_54); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_58; -goto block_15; -} -else -{ -lean_object* x_59; lean_object* x_60; -x_59 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_60 = lean_array_push(x_7, x_59); -x_10 = x_60; -x_11 = x_58; -goto block_15; -} -} -} -else -{ -uint8_t x_61; -x_61 = !lean_is_exclusive(x_24); -if (x_61 == 0) -{ -uint8_t x_62; -x_62 = !lean_is_exclusive(x_9); -if (x_62 == 0) -{ -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_9, 0); -lean_dec(x_63); -x_64 = 1; -lean_ctor_set_uint8(x_24, sizeof(void*)*8, x_64); lean_ctor_set(x_9, 0, x_24); if (x_22 == 0) { @@ -62953,302 +60555,382 @@ goto block_15; } else { -lean_object* x_65; lean_object* x_66; -x_65 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_27; lean_object* x_28; +x_27 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_66 = lean_array_push(x_7, x_65); -x_10 = x_66; +x_28 = lean_array_push(x_7, x_27); +x_10 = x_28; x_11 = x_9; goto block_15; } } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; -x_67 = lean_ctor_get(x_9, 1); -x_68 = lean_ctor_get(x_9, 2); -x_69 = lean_ctor_get(x_9, 3); -lean_inc(x_69); -lean_inc(x_68); -lean_inc(x_67); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_9, 1); +x_30 = lean_ctor_get(x_9, 2); +x_31 = lean_ctor_get(x_9, 3); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_9); -x_70 = 1; -lean_ctor_set_uint8(x_24, sizeof(void*)*8, x_70); -x_71 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_71, 0, x_24); -lean_ctor_set(x_71, 1, x_67); -lean_ctor_set(x_71, 2, x_68); -lean_ctor_set(x_71, 3, x_69); +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_24); +lean_ctor_set(x_32, 1, x_29); +lean_ctor_set(x_32, 2, x_30); +lean_ctor_set(x_32, 3, x_31); if (x_22 == 0) { lean_dec(x_21); x_10 = x_7; -x_11 = x_71; +x_11 = x_32; goto block_15; } else { -lean_object* x_72; lean_object* x_73; -x_72 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_33; lean_object* x_34; +x_33 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_73 = lean_array_push(x_7, x_72); -x_10 = x_73; -x_11 = x_71; +x_34 = lean_array_push(x_7, x_33); +x_10 = x_34; +x_11 = x_32; goto block_15; } } } -else +block_113: { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_74 = lean_ctor_get(x_24, 0); -x_75 = lean_ctor_get(x_24, 1); -x_76 = lean_ctor_get(x_24, 2); -x_77 = lean_ctor_get(x_24, 3); -x_78 = lean_ctor_get(x_24, 4); -x_79 = lean_ctor_get(x_24, 5); -x_80 = lean_ctor_get(x_24, 6); -x_81 = lean_ctor_get(x_24, 7); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_24); -x_82 = lean_ctor_get(x_9, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_9, 2); -lean_inc(x_83); -x_84 = lean_ctor_get(x_9, 3); -lean_inc(x_84); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - x_85 = x_9; -} else { - lean_dec_ref(x_9); - x_85 = lean_box(0); -} -x_86 = 1; -x_87 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_87, 0, x_74); -lean_ctor_set(x_87, 1, x_75); -lean_ctor_set(x_87, 2, x_76); -lean_ctor_set(x_87, 3, x_77); -lean_ctor_set(x_87, 4, x_78); -lean_ctor_set(x_87, 5, x_79); -lean_ctor_set(x_87, 6, x_80); -lean_ctor_set(x_87, 7, x_81); -lean_ctor_set_uint8(x_87, sizeof(void*)*8, x_86); -if (lean_is_scalar(x_85)) { - x_88 = lean_alloc_ctor(0, 4, 0); -} else { - x_88 = x_85; -} -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_82); -lean_ctor_set(x_88, 2, x_83); -lean_ctor_set(x_88, 3, x_84); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_88; -goto block_15; -} -else -{ -lean_object* x_89; lean_object* x_90; -x_89 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_90 = lean_array_push(x_7, x_89); -x_10 = x_90; -x_11 = x_88; -goto block_15; -} -} -} -} -block_138: -{ -lean_dec(x_92); +lean_dec(x_36); if (lean_obj_tag(x_21) == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_93 = lean_ctor_get(x_21, 3); -lean_inc(x_93); -x_94 = lean_ctor_get(x_9, 0); -lean_inc(x_94); -x_95 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = l_Lean_Expr_hasFVar(x_93); -if (x_97 == 0) +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_21, 3); +lean_inc(x_37); +x_38 = !lean_is_exclusive(x_9); +if (x_38 == 0) { -uint8_t x_98; -x_98 = l_Lean_Expr_hasMVar(x_93); -if (x_98 == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_9, 0); +x_40 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_Lean_Expr_hasFVar(x_37); +if (x_42 == 0) { -uint8_t x_99; -lean_dec(x_93); -x_99 = 0; -x_22 = x_99; -x_23 = x_96; -goto block_91; +uint8_t x_43; +x_43 = l_Lean_Expr_hasMVar(x_37); +if (x_43 == 0) +{ +lean_dec(x_41); +lean_dec(x_37); +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_100 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_93, x_96); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_unbox(x_101); -lean_dec(x_101); -x_22 = x_103; -x_23 = x_102; -goto block_91; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_dec(x_39); +x_44 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_37, x_41); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +lean_ctor_set(x_9, 0, x_47); +x_48 = lean_unbox(x_46); +lean_dec(x_46); +if (x_48 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_50 = lean_array_push(x_7, x_49); +x_10 = x_50; +x_11 = x_9; +goto block_15; +} } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_104 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_93, x_96); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_39); +x_51 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_37, x_41); +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_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +lean_ctor_set(x_9, 0, x_54); +x_55 = lean_unbox(x_53); +lean_dec(x_53); +if (x_55 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_57 = lean_array_push(x_7, x_56); +x_10 = x_57; +x_11 = x_9; +goto block_15; +} +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_58 = lean_ctor_get(x_9, 0); +x_59 = lean_ctor_get(x_9, 1); +x_60 = lean_ctor_get(x_9, 2); +x_61 = lean_ctor_get(x_9, 3); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_9); +x_62 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(x_58); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_58); +x_64 = l_Lean_Expr_hasFVar(x_37); +if (x_64 == 0) +{ +uint8_t x_65; +x_65 = l_Lean_Expr_hasMVar(x_37); +if (x_65 == 0) +{ +lean_object* x_66; +lean_dec(x_63); +lean_dec(x_37); +lean_dec(x_21); +x_66 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_66, 0, x_58); +lean_ctor_set(x_66, 1, x_59); +lean_ctor_set(x_66, 2, x_60); +lean_ctor_set(x_66, 3, x_61); +x_10 = x_7; +x_11 = x_66; +goto block_15; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_58); +x_67 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_37, x_63); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_59); +lean_ctor_set(x_71, 2, x_60); +lean_ctor_set(x_71, 3, x_61); +x_72 = lean_unbox(x_69); +lean_dec(x_69); +if (x_72 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_71; +goto block_15; +} +else +{ +lean_object* x_73; lean_object* x_74; +x_73 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_74 = lean_array_push(x_7, x_73); +x_10 = x_74; +x_11 = x_71; +goto block_15; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +lean_dec(x_58); +x_75 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_37, x_63); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_59); +lean_ctor_set(x_79, 2, x_60); +lean_ctor_set(x_79, 3, x_61); +x_80 = lean_unbox(x_77); +lean_dec(x_77); +if (x_80 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_79; +goto block_15; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_82 = lean_array_push(x_7, x_81); +x_10 = x_82; +x_11 = x_79; +goto block_15; +} +} +} +} +else +{ +lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_83 = lean_ctor_get(x_21, 3); +lean_inc(x_83); +x_84 = lean_ctor_get(x_21, 4); +lean_inc(x_84); +x_99 = lean_ctor_get(x_9, 0); +lean_inc(x_99); +x_100 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = l_Lean_Expr_hasFVar(x_83); +if (x_102 == 0) +{ +uint8_t x_103; +x_103 = l_Lean_Expr_hasMVar(x_83); +if (x_103 == 0) +{ +uint8_t x_104; +lean_dec(x_83); +x_104 = 0; +x_85 = x_104; +x_86 = x_101; +goto block_98; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_105 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34(x_7, x_83, x_101); +x_106 = lean_ctor_get(x_105, 0); lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_unbox(x_105); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); lean_dec(x_105); -x_22 = x_107; -x_23 = x_106; -goto block_91; +x_108 = lean_unbox(x_106); +lean_dec(x_106); +x_85 = x_108; +x_86 = x_107; +goto block_98; } } else { -lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_108 = lean_ctor_get(x_21, 3); -lean_inc(x_108); -x_109 = lean_ctor_get(x_21, 4); -lean_inc(x_109); -x_124 = lean_ctor_get(x_9, 0); -lean_inc(x_124); -x_125 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_127 = l_Lean_Expr_hasFVar(x_108); -if (x_127 == 0) -{ -uint8_t x_128; -x_128 = l_Lean_Expr_hasMVar(x_108); -if (x_128 == 0) -{ -uint8_t x_129; -lean_dec(x_108); -x_129 = 0; -x_110 = x_129; -x_111 = x_126; -goto block_123; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; -x_130 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34(x_7, x_108, x_126); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_unbox(x_131); -lean_dec(x_131); -x_110 = x_133; -x_111 = x_132; -goto block_123; -} -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_134 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42(x_7, x_108, x_126); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = lean_unbox(x_135); -lean_dec(x_135); -x_110 = x_137; -x_111 = x_136; -goto block_123; -} -block_123: -{ -if (x_110 == 0) -{ -uint8_t x_112; -x_112 = l_Lean_Expr_hasFVar(x_109); -if (x_112 == 0) -{ -uint8_t x_113; -x_113 = l_Lean_Expr_hasMVar(x_109); -if (x_113 == 0) -{ -uint8_t x_114; +lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_109 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42(x_7, x_83, x_101); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); lean_dec(x_109); -x_114 = 0; -x_22 = x_114; -x_23 = x_111; -goto block_91; +x_112 = lean_unbox(x_110); +lean_dec(x_110); +x_85 = x_112; +x_86 = x_111; +goto block_98; +} +block_98: +{ +if (x_85 == 0) +{ +uint8_t x_87; +x_87 = l_Lean_Expr_hasFVar(x_84); +if (x_87 == 0) +{ +uint8_t x_88; +x_88 = l_Lean_Expr_hasMVar(x_84); +if (x_88 == 0) +{ +uint8_t x_89; +lean_dec(x_84); +x_89 = 0; +x_22 = x_89; +x_23 = x_86; +goto block_35; } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_115 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18(x_7, x_109, x_111); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = lean_unbox(x_116); -lean_dec(x_116); -x_22 = x_118; -x_23 = x_117; -goto block_91; +lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_90 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18(x_7, x_84, x_86); +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_22 = x_93; +x_23 = x_92; +goto block_35; } } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_119 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26(x_7, x_109, x_111); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_unbox(x_120); -lean_dec(x_120); -x_22 = x_122; -x_23 = x_121; -goto block_91; +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26(x_7, x_84, x_86); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_unbox(x_95); +lean_dec(x_95); +x_22 = x_97; +x_23 = x_96; +goto block_35; } } else { -lean_dec(x_109); -x_22 = x_110; -x_23 = x_111; -goto block_91; +lean_dec(x_84); +x_22 = x_85; +x_23 = x_86; +goto block_35; } } } @@ -63257,12 +60939,12 @@ goto block_91; } else { -lean_object* x_151; +lean_object* x_126; lean_dec(x_3); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_7); -lean_ctor_set(x_151, 1, x_9); -return x_151; +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_7); +lean_ctor_set(x_126, 1, x_9); +return x_126; } block_15: { @@ -63399,55 +61081,55 @@ goto _start; } else { -lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_92; uint8_t x_139; +lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_36; uint8_t x_114; x_21 = lean_ctor_get(x_17, 0); lean_inc(x_21); lean_dec(x_17); lean_inc(x_3); -x_139 = l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50(x_7, x_21, x_3, x_3); -if (x_139 == 0) +x_114 = l_Nat_anyAux___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__50(x_7, x_21, x_3, x_3); +if (x_114 == 0) { -lean_object* x_140; uint8_t x_141; -x_140 = lean_unsigned_to_nat(0u); -x_141 = lean_nat_dec_lt(x_140, x_2); -if (x_141 == 0) +lean_object* x_115; uint8_t x_116; +x_115 = lean_unsigned_to_nat(0u); +x_116 = lean_nat_dec_lt(x_115, x_2); +if (x_116 == 0) { -lean_object* x_142; -x_142 = lean_box(0); -x_92 = x_142; -goto block_138; +lean_object* x_117; +x_117 = lean_box(0); +x_36 = x_117; +goto block_113; } else { -uint8_t x_143; -x_143 = lean_nat_dec_le(x_2, x_2); -if (x_143 == 0) +uint8_t x_118; +x_118 = lean_nat_dec_le(x_2, x_2); +if (x_118 == 0) { -lean_object* x_144; -x_144 = lean_box(0); -x_92 = x_144; -goto block_138; +lean_object* x_119; +x_119 = lean_box(0); +x_36 = x_119; +goto block_113; } else { -size_t x_145; size_t x_146; uint8_t x_147; -x_145 = 0; -x_146 = lean_usize_of_nat(x_2); -x_147 = l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51(x_21, x_1, x_145, x_146); -if (x_147 == 0) +size_t x_120; size_t x_121; uint8_t x_122; +x_120 = 0; +x_121 = lean_usize_of_nat(x_2); +x_122 = l_Array_anyMUnsafe_any___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__51(x_21, x_1, x_120, x_121); +if (x_122 == 0) { -lean_object* x_148; -x_148 = lean_box(0); -x_92 = x_148; -goto block_138; +lean_object* x_123; +x_123 = lean_box(0); +x_36 = x_123; +goto block_113; } else { -lean_object* x_149; lean_object* x_150; -x_149 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_124; lean_object* x_125; +x_124 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_150 = lean_array_push(x_7, x_149); -x_10 = x_150; +x_125 = lean_array_push(x_7, x_124); +x_10 = x_125; x_11 = x_9; goto block_15; } @@ -63461,200 +61143,18 @@ x_10 = x_7; x_11 = x_9; goto block_15; } -block_91: +block_35: { lean_object* x_24; uint8_t x_25; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = lean_ctor_get_uint8(x_24, sizeof(void*)*8); +x_25 = !lean_is_exclusive(x_9); if (x_25 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_object* x_26; x_26 = lean_ctor_get(x_9, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_24, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_24, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_24, 3); -lean_inc(x_30); -x_31 = lean_ctor_get(x_24, 4); -lean_inc(x_31); -x_32 = lean_ctor_get(x_24, 5); -lean_inc(x_32); -x_33 = lean_ctor_get(x_24, 6); -lean_inc(x_33); -x_34 = lean_ctor_get(x_24, 7); -lean_inc(x_34); -lean_dec(x_24); -x_35 = !lean_is_exclusive(x_9); -if (x_35 == 0) -{ -lean_object* x_36; uint8_t x_37; -x_36 = lean_ctor_get(x_9, 0); -lean_dec(x_36); -x_37 = !lean_is_exclusive(x_26); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_38 = lean_ctor_get(x_26, 7); -lean_dec(x_38); -x_39 = lean_ctor_get(x_26, 6); -lean_dec(x_39); -x_40 = lean_ctor_get(x_26, 5); -lean_dec(x_40); -x_41 = lean_ctor_get(x_26, 4); -lean_dec(x_41); -x_42 = lean_ctor_get(x_26, 3); -lean_dec(x_42); -x_43 = lean_ctor_get(x_26, 2); -lean_dec(x_43); -x_44 = lean_ctor_get(x_26, 1); -lean_dec(x_44); -x_45 = lean_ctor_get(x_26, 0); -lean_dec(x_45); -lean_ctor_set(x_26, 7, x_34); -lean_ctor_set(x_26, 6, x_33); -lean_ctor_set(x_26, 5, x_32); -lean_ctor_set(x_26, 4, x_31); -lean_ctor_set(x_26, 3, x_30); -lean_ctor_set(x_26, 2, x_29); -lean_ctor_set(x_26, 1, x_28); -lean_ctor_set(x_26, 0, x_27); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_9; -goto block_15; -} -else -{ -lean_object* x_46; lean_object* x_47; -x_46 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_47 = lean_array_push(x_7, x_46); -x_10 = x_47; -x_11 = x_9; -goto block_15; -} -} -else -{ -uint8_t x_48; lean_object* x_49; -x_48 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); lean_dec(x_26); -x_49 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_49, 0, x_27); -lean_ctor_set(x_49, 1, x_28); -lean_ctor_set(x_49, 2, x_29); -lean_ctor_set(x_49, 3, x_30); -lean_ctor_set(x_49, 4, x_31); -lean_ctor_set(x_49, 5, x_32); -lean_ctor_set(x_49, 6, x_33); -lean_ctor_set(x_49, 7, x_34); -lean_ctor_set_uint8(x_49, sizeof(void*)*8, x_48); -lean_ctor_set(x_9, 0, x_49); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_9; -goto block_15; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_51 = lean_array_push(x_7, x_50); -x_10 = x_51; -x_11 = x_9; -goto block_15; -} -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_52 = lean_ctor_get(x_9, 1); -x_53 = lean_ctor_get(x_9, 2); -x_54 = lean_ctor_get(x_9, 3); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_9); -x_55 = lean_ctor_get_uint8(x_26, sizeof(void*)*8); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - lean_ctor_release(x_26, 3); - lean_ctor_release(x_26, 4); - lean_ctor_release(x_26, 5); - lean_ctor_release(x_26, 6); - lean_ctor_release(x_26, 7); - x_56 = x_26; -} else { - lean_dec_ref(x_26); - x_56 = lean_box(0); -} -if (lean_is_scalar(x_56)) { - x_57 = lean_alloc_ctor(0, 8, 1); -} else { - x_57 = x_56; -} -lean_ctor_set(x_57, 0, x_27); -lean_ctor_set(x_57, 1, x_28); -lean_ctor_set(x_57, 2, x_29); -lean_ctor_set(x_57, 3, x_30); -lean_ctor_set(x_57, 4, x_31); -lean_ctor_set(x_57, 5, x_32); -lean_ctor_set(x_57, 6, x_33); -lean_ctor_set(x_57, 7, x_34); -lean_ctor_set_uint8(x_57, sizeof(void*)*8, x_55); -x_58 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_52); -lean_ctor_set(x_58, 2, x_53); -lean_ctor_set(x_58, 3, x_54); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_58; -goto block_15; -} -else -{ -lean_object* x_59; lean_object* x_60; -x_59 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_60 = lean_array_push(x_7, x_59); -x_10 = x_60; -x_11 = x_58; -goto block_15; -} -} -} -else -{ -uint8_t x_61; -x_61 = !lean_is_exclusive(x_24); -if (x_61 == 0) -{ -uint8_t x_62; -x_62 = !lean_is_exclusive(x_9); -if (x_62 == 0) -{ -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_9, 0); -lean_dec(x_63); -x_64 = 1; -lean_ctor_set_uint8(x_24, sizeof(void*)*8, x_64); lean_ctor_set(x_9, 0, x_24); if (x_22 == 0) { @@ -63665,302 +61165,382 @@ goto block_15; } else { -lean_object* x_65; lean_object* x_66; -x_65 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_27; lean_object* x_28; +x_27 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_66 = lean_array_push(x_7, x_65); -x_10 = x_66; +x_28 = lean_array_push(x_7, x_27); +x_10 = x_28; x_11 = x_9; goto block_15; } } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; -x_67 = lean_ctor_get(x_9, 1); -x_68 = lean_ctor_get(x_9, 2); -x_69 = lean_ctor_get(x_9, 3); -lean_inc(x_69); -lean_inc(x_68); -lean_inc(x_67); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_9, 1); +x_30 = lean_ctor_get(x_9, 2); +x_31 = lean_ctor_get(x_9, 3); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_9); -x_70 = 1; -lean_ctor_set_uint8(x_24, sizeof(void*)*8, x_70); -x_71 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_71, 0, x_24); -lean_ctor_set(x_71, 1, x_67); -lean_ctor_set(x_71, 2, x_68); -lean_ctor_set(x_71, 3, x_69); +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_24); +lean_ctor_set(x_32, 1, x_29); +lean_ctor_set(x_32, 2, x_30); +lean_ctor_set(x_32, 3, x_31); if (x_22 == 0) { lean_dec(x_21); x_10 = x_7; -x_11 = x_71; +x_11 = x_32; goto block_15; } else { -lean_object* x_72; lean_object* x_73; -x_72 = l_Lean_LocalDecl_toExpr(x_21); +lean_object* x_33; lean_object* x_34; +x_33 = l_Lean_LocalDecl_toExpr(x_21); lean_dec(x_21); -x_73 = lean_array_push(x_7, x_72); -x_10 = x_73; -x_11 = x_71; +x_34 = lean_array_push(x_7, x_33); +x_10 = x_34; +x_11 = x_32; goto block_15; } } } -else +block_113: { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_74 = lean_ctor_get(x_24, 0); -x_75 = lean_ctor_get(x_24, 1); -x_76 = lean_ctor_get(x_24, 2); -x_77 = lean_ctor_get(x_24, 3); -x_78 = lean_ctor_get(x_24, 4); -x_79 = lean_ctor_get(x_24, 5); -x_80 = lean_ctor_get(x_24, 6); -x_81 = lean_ctor_get(x_24, 7); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_79); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_24); -x_82 = lean_ctor_get(x_9, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_9, 2); -lean_inc(x_83); -x_84 = lean_ctor_get(x_9, 3); -lean_inc(x_84); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - lean_ctor_release(x_9, 2); - lean_ctor_release(x_9, 3); - x_85 = x_9; -} else { - lean_dec_ref(x_9); - x_85 = lean_box(0); -} -x_86 = 1; -x_87 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_87, 0, x_74); -lean_ctor_set(x_87, 1, x_75); -lean_ctor_set(x_87, 2, x_76); -lean_ctor_set(x_87, 3, x_77); -lean_ctor_set(x_87, 4, x_78); -lean_ctor_set(x_87, 5, x_79); -lean_ctor_set(x_87, 6, x_80); -lean_ctor_set(x_87, 7, x_81); -lean_ctor_set_uint8(x_87, sizeof(void*)*8, x_86); -if (lean_is_scalar(x_85)) { - x_88 = lean_alloc_ctor(0, 4, 0); -} else { - x_88 = x_85; -} -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_82); -lean_ctor_set(x_88, 2, x_83); -lean_ctor_set(x_88, 3, x_84); -if (x_22 == 0) -{ -lean_dec(x_21); -x_10 = x_7; -x_11 = x_88; -goto block_15; -} -else -{ -lean_object* x_89; lean_object* x_90; -x_89 = l_Lean_LocalDecl_toExpr(x_21); -lean_dec(x_21); -x_90 = lean_array_push(x_7, x_89); -x_10 = x_90; -x_11 = x_88; -goto block_15; -} -} -} -} -block_138: -{ -lean_dec(x_92); +lean_dec(x_36); if (lean_obj_tag(x_21) == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_93 = lean_ctor_get(x_21, 3); -lean_inc(x_93); -x_94 = lean_ctor_get(x_9, 0); -lean_inc(x_94); -x_95 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = l_Lean_Expr_hasFVar(x_93); -if (x_97 == 0) +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_21, 3); +lean_inc(x_37); +x_38 = !lean_is_exclusive(x_9); +if (x_38 == 0) { -uint8_t x_98; -x_98 = l_Lean_Expr_hasMVar(x_93); -if (x_98 == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_9, 0); +x_40 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_Lean_Expr_hasFVar(x_37); +if (x_42 == 0) { -uint8_t x_99; -lean_dec(x_93); -x_99 = 0; -x_22 = x_99; -x_23 = x_96; -goto block_91; +uint8_t x_43; +x_43 = l_Lean_Expr_hasMVar(x_37); +if (x_43 == 0) +{ +lean_dec(x_41); +lean_dec(x_37); +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_100 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_93, x_96); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_unbox(x_101); -lean_dec(x_101); -x_22 = x_103; -x_23 = x_102; -goto block_91; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_dec(x_39); +x_44 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_37, x_41); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +lean_ctor_set(x_9, 0, x_47); +x_48 = lean_unbox(x_46); +lean_dec(x_46); +if (x_48 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_50 = lean_array_push(x_7, x_49); +x_10 = x_50; +x_11 = x_9; +goto block_15; +} } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_104 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_93, x_96); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_39); +x_51 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_37, x_41); +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_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +lean_ctor_set(x_9, 0, x_54); +x_55 = lean_unbox(x_53); +lean_dec(x_53); +if (x_55 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_9; +goto block_15; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_57 = lean_array_push(x_7, x_56); +x_10 = x_57; +x_11 = x_9; +goto block_15; +} +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_58 = lean_ctor_get(x_9, 0); +x_59 = lean_ctor_get(x_9, 1); +x_60 = lean_ctor_get(x_9, 2); +x_61 = lean_ctor_get(x_9, 3); +lean_inc(x_61); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_9); +x_62 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(x_58); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_58); +x_64 = l_Lean_Expr_hasFVar(x_37); +if (x_64 == 0) +{ +uint8_t x_65; +x_65 = l_Lean_Expr_hasMVar(x_37); +if (x_65 == 0) +{ +lean_object* x_66; +lean_dec(x_63); +lean_dec(x_37); +lean_dec(x_21); +x_66 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_66, 0, x_58); +lean_ctor_set(x_66, 1, x_59); +lean_ctor_set(x_66, 2, x_60); +lean_ctor_set(x_66, 3, x_61); +x_10 = x_7; +x_11 = x_66; +goto block_15; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_58); +x_67 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__2(x_7, x_37, x_63); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_59); +lean_ctor_set(x_71, 2, x_60); +lean_ctor_set(x_71, 3, x_61); +x_72 = lean_unbox(x_69); +lean_dec(x_69); +if (x_72 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_71; +goto block_15; +} +else +{ +lean_object* x_73; lean_object* x_74; +x_73 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_74 = lean_array_push(x_7, x_73); +x_10 = x_74; +x_11 = x_71; +goto block_15; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +lean_dec(x_58); +x_75 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__10(x_7, x_37, x_63); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_59); +lean_ctor_set(x_79, 2, x_60); +lean_ctor_set(x_79, 3, x_61); +x_80 = lean_unbox(x_77); +lean_dec(x_77); +if (x_80 == 0) +{ +lean_dec(x_21); +x_10 = x_7; +x_11 = x_79; +goto block_15; +} +else +{ +lean_object* x_81; lean_object* x_82; +x_81 = l_Lean_LocalDecl_toExpr(x_21); +lean_dec(x_21); +x_82 = lean_array_push(x_7, x_81); +x_10 = x_82; +x_11 = x_79; +goto block_15; +} +} +} +} +else +{ +lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_83 = lean_ctor_get(x_21, 3); +lean_inc(x_83); +x_84 = lean_ctor_get(x_21, 4); +lean_inc(x_84); +x_99 = lean_ctor_get(x_9, 0); +lean_inc(x_99); +x_100 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = l_Lean_Expr_hasFVar(x_83); +if (x_102 == 0) +{ +uint8_t x_103; +x_103 = l_Lean_Expr_hasMVar(x_83); +if (x_103 == 0) +{ +uint8_t x_104; +lean_dec(x_83); +x_104 = 0; +x_85 = x_104; +x_86 = x_101; +goto block_98; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_105 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34(x_7, x_83, x_101); +x_106 = lean_ctor_get(x_105, 0); lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_unbox(x_105); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); lean_dec(x_105); -x_22 = x_107; -x_23 = x_106; -goto block_91; +x_108 = lean_unbox(x_106); +lean_dec(x_106); +x_85 = x_108; +x_86 = x_107; +goto block_98; } } else { -lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_108 = lean_ctor_get(x_21, 3); -lean_inc(x_108); -x_109 = lean_ctor_get(x_21, 4); -lean_inc(x_109); -x_124 = lean_ctor_get(x_9, 0); -lean_inc(x_124); -x_125 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -x_127 = l_Lean_Expr_hasFVar(x_108); -if (x_127 == 0) -{ -uint8_t x_128; -x_128 = l_Lean_Expr_hasMVar(x_108); -if (x_128 == 0) -{ -uint8_t x_129; -lean_dec(x_108); -x_129 = 0; -x_110 = x_129; -x_111 = x_126; -goto block_123; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; -x_130 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__34(x_7, x_108, x_126); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_unbox(x_131); -lean_dec(x_131); -x_110 = x_133; -x_111 = x_132; -goto block_123; -} -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_134 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42(x_7, x_108, x_126); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = lean_unbox(x_135); -lean_dec(x_135); -x_110 = x_137; -x_111 = x_136; -goto block_123; -} -block_123: -{ -if (x_110 == 0) -{ -uint8_t x_112; -x_112 = l_Lean_Expr_hasFVar(x_109); -if (x_112 == 0) -{ -uint8_t x_113; -x_113 = l_Lean_Expr_hasMVar(x_109); -if (x_113 == 0) -{ -uint8_t x_114; +lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_109 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__42(x_7, x_83, x_101); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); lean_dec(x_109); -x_114 = 0; -x_22 = x_114; -x_23 = x_111; -goto block_91; +x_112 = lean_unbox(x_110); +lean_dec(x_110); +x_85 = x_112; +x_86 = x_111; +goto block_98; +} +block_98: +{ +if (x_85 == 0) +{ +uint8_t x_87; +x_87 = l_Lean_Expr_hasFVar(x_84); +if (x_87 == 0) +{ +uint8_t x_88; +x_88 = l_Lean_Expr_hasMVar(x_84); +if (x_88 == 0) +{ +uint8_t x_89; +lean_dec(x_84); +x_89 = 0; +x_22 = x_89; +x_23 = x_86; +goto block_35; } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_115 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18(x_7, x_109, x_111); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = lean_unbox(x_116); -lean_dec(x_116); -x_22 = x_118; -x_23 = x_117; -goto block_91; +lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_90 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__18(x_7, x_84, x_86); +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_22 = x_93; +x_23 = x_92; +goto block_35; } } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_119 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26(x_7, x_109, x_111); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_unbox(x_120); -lean_dec(x_120); -x_22 = x_122; -x_23 = x_121; -goto block_91; +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__26(x_7, x_84, x_86); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_unbox(x_95); +lean_dec(x_95); +x_22 = x_97; +x_23 = x_96; +goto block_35; } } else { -lean_dec(x_109); -x_22 = x_110; -x_23 = x_111; -goto block_91; +lean_dec(x_84); +x_22 = x_85; +x_23 = x_86; +goto block_35; } } } @@ -63969,12 +61549,12 @@ goto block_91; } else { -lean_object* x_151; +lean_object* x_126; lean_dec(x_3); -x_151 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_151, 0, x_7); -lean_ctor_set(x_151, 1, x_9); -return x_151; +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_7); +lean_ctor_set(x_126, 1, x_9); +return x_126; } block_15: { @@ -64731,7 +62311,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -65459,7 +63039,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -66187,7 +63767,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -66915,7 +64495,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -67643,7 +65223,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -68371,7 +65951,7 @@ else { lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_inc(x_2); -x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__11(x_2, x_3); +x_34 = l_Lean_instantiateMVars___at_Lean_exprDependsOn___spec__10(x_2, x_3); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); @@ -68664,51 +66244,197 @@ _start: { if (lean_obj_tag(x_1) == 0) { -lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_76; lean_object* x_77; uint8_t x_78; +lean_object* x_5; uint8_t x_6; x_5 = lean_ctor_get(x_1, 3); lean_inc(x_5); lean_dec(x_1); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -x_76 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -lean_inc(x_6); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_6); -x_78 = l_Lean_Expr_hasFVar(x_5); -if (x_78 == 0) +x_6 = !lean_is_exclusive(x_4); +if (x_6 == 0) { -uint8_t x_79; -x_79 = l_Lean_Expr_hasMVar(x_5); -if (x_79 == 0) +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_4, 0); +x_8 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(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_7); +x_10 = l_Lean_Expr_hasFVar(x_5); +if (x_10 == 0) { -uint8_t x_80; +uint8_t x_11; +x_11 = l_Lean_Expr_hasMVar(x_5); +if (x_11 == 0) +{ +uint8_t x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_9); lean_dec(x_5); -x_80 = 0; -x_7 = x_80; -x_8 = x_77; -goto block_75; +x_12 = 0; +x_13 = lean_box(x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_4); +return x_14; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_81 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__67(x_2, x_5, x_77); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_unbox(x_82); -lean_dec(x_82); -x_7 = x_84; -x_8 = x_83; -goto block_75; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_7); +x_15 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__67(x_2, x_5, x_9); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +lean_ctor_set(x_4, 0, x_18); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_4); +return x_19; } } else { +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_7); +x_20 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__75(x_2, x_5, x_9); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +lean_ctor_set(x_4, 0, x_23); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_4); +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; uint8_t x_31; +x_25 = lean_ctor_get(x_4, 0); +x_26 = lean_ctor_get(x_4, 1); +x_27 = lean_ctor_get(x_4, 2); +x_28 = lean_ctor_get(x_4, 3); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_4); +x_29 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +lean_inc(x_25); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_25); +x_31 = l_Lean_Expr_hasFVar(x_5); +if (x_31 == 0) +{ +uint8_t x_32; +x_32 = l_Lean_Expr_hasMVar(x_5); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_30); +lean_dec(x_5); +x_33 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_33, 0, x_25); +lean_ctor_set(x_33, 1, x_26); +lean_ctor_set(x_33, 2, x_27); +lean_ctor_set(x_33, 3, x_28); +x_34 = 0; +x_35 = lean_box(x_34); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_33); +return x_36; +} +else +{ +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_dec(x_25); +x_37 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__67(x_2, x_5, x_30); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 0); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_26); +lean_ctor_set(x_41, 2, x_27); +lean_ctor_set(x_41, 3, x_28); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_39); +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_object* x_47; lean_object* x_48; +lean_dec(x_25); +x_43 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__75(x_2, x_5, x_30); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 0); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_26); +lean_ctor_set(x_47, 2, x_27); +lean_ctor_set(x_47, 3, x_28); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; uint8_t x_66; lean_object* x_67; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_49 = lean_ctor_get(x_1, 3); +lean_inc(x_49); +x_50 = lean_ctor_get(x_1, 4); +lean_inc(x_50); +lean_dec(x_1); +x_51 = lean_ctor_get(x_4, 0); +lean_inc(x_51); +x_80 = l_Lean_findExprDependsOn___rarg___lambda__3___closed__1; +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_51); +x_82 = l_Lean_Expr_hasFVar(x_49); +if (x_82 == 0) +{ +uint8_t x_83; +x_83 = l_Lean_Expr_hasMVar(x_49); +if (x_83 == 0) +{ +uint8_t x_84; +lean_dec(x_49); +x_84 = 0; +x_66 = x_84; +x_67 = x_81; +goto block_79; +} +else +{ lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_85 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__75(x_2, x_5, x_77); +x_85 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__99(x_2, x_49, x_81); x_86 = lean_ctor_get(x_85, 0); lean_inc(x_86); x_87 = lean_ctor_get(x_85, 1); @@ -68716,632 +66442,124 @@ lean_inc(x_87); lean_dec(x_85); x_88 = lean_unbox(x_86); lean_dec(x_86); -x_7 = x_88; -x_8 = x_87; -goto block_75; -} -block_75: -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_ctor_get_uint8(x_9, sizeof(void*)*8); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_11 = lean_ctor_get(x_9, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -x_13 = lean_ctor_get(x_9, 2); -lean_inc(x_13); -x_14 = lean_ctor_get(x_9, 3); -lean_inc(x_14); -x_15 = lean_ctor_get(x_9, 4); -lean_inc(x_15); -x_16 = lean_ctor_get(x_9, 5); -lean_inc(x_16); -x_17 = lean_ctor_get(x_9, 6); -lean_inc(x_17); -x_18 = lean_ctor_get(x_9, 7); -lean_inc(x_18); -lean_dec(x_9); -x_19 = !lean_is_exclusive(x_4); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_4, 0); -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_6); -if (x_21 == 0) -{ -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_22 = lean_ctor_get(x_6, 7); -lean_dec(x_22); -x_23 = lean_ctor_get(x_6, 6); -lean_dec(x_23); -x_24 = lean_ctor_get(x_6, 5); -lean_dec(x_24); -x_25 = lean_ctor_get(x_6, 4); -lean_dec(x_25); -x_26 = lean_ctor_get(x_6, 3); -lean_dec(x_26); -x_27 = lean_ctor_get(x_6, 2); -lean_dec(x_27); -x_28 = lean_ctor_get(x_6, 1); -lean_dec(x_28); -x_29 = lean_ctor_get(x_6, 0); -lean_dec(x_29); -lean_ctor_set(x_6, 7, x_18); -lean_ctor_set(x_6, 6, x_17); -lean_ctor_set(x_6, 5, x_16); -lean_ctor_set(x_6, 4, x_15); -lean_ctor_set(x_6, 3, x_14); -lean_ctor_set(x_6, 2, x_13); -lean_ctor_set(x_6, 1, x_12); -lean_ctor_set(x_6, 0, x_11); -x_30 = lean_box(x_7); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_4); -return x_31; -} -else -{ -uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); -lean_dec(x_6); -x_33 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_33, 0, x_11); -lean_ctor_set(x_33, 1, x_12); -lean_ctor_set(x_33, 2, x_13); -lean_ctor_set(x_33, 3, x_14); -lean_ctor_set(x_33, 4, x_15); -lean_ctor_set(x_33, 5, x_16); -lean_ctor_set(x_33, 6, x_17); -lean_ctor_set(x_33, 7, x_18); -lean_ctor_set_uint8(x_33, sizeof(void*)*8, x_32); -lean_ctor_set(x_4, 0, x_33); -x_34 = lean_box(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_4); -return x_35; +x_66 = x_88; +x_67 = x_87; +goto block_79; } } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_36 = lean_ctor_get(x_4, 1); -x_37 = lean_ctor_get(x_4, 2); -x_38 = lean_ctor_get(x_4, 3); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_4); -x_39 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - lean_ctor_release(x_6, 2); - lean_ctor_release(x_6, 3); - lean_ctor_release(x_6, 4); - lean_ctor_release(x_6, 5); - lean_ctor_release(x_6, 6); - lean_ctor_release(x_6, 7); - x_40 = x_6; -} else { - lean_dec_ref(x_6); - x_40 = lean_box(0); -} -if (lean_is_scalar(x_40)) { - x_41 = lean_alloc_ctor(0, 8, 1); -} else { - x_41 = x_40; -} -lean_ctor_set(x_41, 0, x_11); -lean_ctor_set(x_41, 1, x_12); -lean_ctor_set(x_41, 2, x_13); -lean_ctor_set(x_41, 3, x_14); -lean_ctor_set(x_41, 4, x_15); -lean_ctor_set(x_41, 5, x_16); -lean_ctor_set(x_41, 6, x_17); -lean_ctor_set(x_41, 7, x_18); -lean_ctor_set_uint8(x_41, sizeof(void*)*8, x_39); -x_42 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_36); -lean_ctor_set(x_42, 2, x_37); -lean_ctor_set(x_42, 3, x_38); -x_43 = lean_box(x_7); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -return x_44; +lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_89 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__107(x_2, x_49, x_81); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_unbox(x_90); +lean_dec(x_90); +x_66 = x_92; +x_67 = x_91; +goto block_79; } +block_65: +{ +lean_object* x_54; uint8_t x_55; +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = !lean_is_exclusive(x_4); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_4, 0); +lean_dec(x_56); +lean_ctor_set(x_4, 0, x_54); +x_57 = lean_box(x_52); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_4); +return x_58; } else { -uint8_t x_45; -lean_dec(x_6); -x_45 = !lean_is_exclusive(x_9); -if (x_45 == 0) -{ -uint8_t x_46; -x_46 = !lean_is_exclusive(x_4); -if (x_46 == 0) -{ -lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; -x_47 = lean_ctor_get(x_4, 0); -lean_dec(x_47); -x_48 = 1; -lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_48); -lean_ctor_set(x_4, 0, x_9); -x_49 = lean_box(x_7); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_4); -return x_50; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_51 = lean_ctor_get(x_4, 1); -x_52 = lean_ctor_get(x_4, 2); -x_53 = lean_ctor_get(x_4, 3); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_4); -x_54 = 1; -lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_54); -x_55 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_55, 0, x_9); -lean_ctor_set(x_55, 1, x_51); -lean_ctor_set(x_55, 2, x_52); -lean_ctor_set(x_55, 3, x_53); -x_56 = lean_box(x_7); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -return x_57; -} -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_58 = lean_ctor_get(x_9, 0); -x_59 = lean_ctor_get(x_9, 1); -x_60 = lean_ctor_get(x_9, 2); -x_61 = lean_ctor_get(x_9, 3); -x_62 = lean_ctor_get(x_9, 4); -x_63 = lean_ctor_get(x_9, 5); -x_64 = lean_ctor_get(x_9, 6); -x_65 = lean_ctor_get(x_9, 7); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_59 = lean_ctor_get(x_4, 1); +x_60 = lean_ctor_get(x_4, 2); +x_61 = lean_ctor_get(x_4, 3); lean_inc(x_61); lean_inc(x_60); lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_9); -x_66 = lean_ctor_get(x_4, 1); -lean_inc(x_66); -x_67 = lean_ctor_get(x_4, 2); -lean_inc(x_67); -x_68 = lean_ctor_get(x_4, 3); -lean_inc(x_68); -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); - x_69 = x_4; -} else { - lean_dec_ref(x_4); - x_69 = lean_box(0); -} -x_70 = 1; -x_71 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_71, 0, x_58); -lean_ctor_set(x_71, 1, x_59); -lean_ctor_set(x_71, 2, x_60); -lean_ctor_set(x_71, 3, x_61); -lean_ctor_set(x_71, 4, x_62); -lean_ctor_set(x_71, 5, x_63); -lean_ctor_set(x_71, 6, x_64); -lean_ctor_set(x_71, 7, x_65); -lean_ctor_set_uint8(x_71, sizeof(void*)*8, x_70); -if (lean_is_scalar(x_69)) { - x_72 = lean_alloc_ctor(0, 4, 0); -} else { - x_72 = x_69; -} -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_66); -lean_ctor_set(x_72, 2, x_67); -lean_ctor_set(x_72, 3, x_68); -x_73 = lean_box(x_7); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -return x_74; -} -} -} -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; uint8_t x_161; lean_object* x_162; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_89 = lean_ctor_get(x_1, 3); -lean_inc(x_89); -x_90 = lean_ctor_get(x_1, 4); -lean_inc(x_90); -lean_dec(x_1); -x_91 = lean_ctor_get(x_4, 0); -lean_inc(x_91); -x_175 = l_Lean_findExprDependsOn___rarg___lambda__2___closed__1; -lean_inc(x_91); -x_176 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_91); -x_177 = l_Lean_Expr_hasFVar(x_89); -if (x_177 == 0) -{ -uint8_t x_178; -x_178 = l_Lean_Expr_hasMVar(x_89); -if (x_178 == 0) -{ -uint8_t x_179; -lean_dec(x_89); -x_179 = 0; -x_161 = x_179; -x_162 = x_176; -goto block_174; -} -else -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; -x_180 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__99(x_2, x_89, x_176); -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); -lean_inc(x_182); -lean_dec(x_180); -x_183 = lean_unbox(x_181); -lean_dec(x_181); -x_161 = x_183; -x_162 = x_182; -goto block_174; -} -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; -x_184 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__107(x_2, x_89, x_176); -x_185 = lean_ctor_get(x_184, 0); -lean_inc(x_185); -x_186 = lean_ctor_get(x_184, 1); -lean_inc(x_186); -lean_dec(x_184); -x_187 = lean_unbox(x_185); -lean_dec(x_185); -x_161 = x_187; -x_162 = x_186; -goto block_174; -} -block_160: -{ -lean_object* x_94; uint8_t x_95; -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_95 = lean_ctor_get_uint8(x_94, sizeof(void*)*8); -if (x_95 == 0) -{ -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; uint8_t x_104; -x_96 = lean_ctor_get(x_94, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_94, 1); -lean_inc(x_97); -x_98 = lean_ctor_get(x_94, 2); -lean_inc(x_98); -x_99 = lean_ctor_get(x_94, 3); -lean_inc(x_99); -x_100 = lean_ctor_get(x_94, 4); -lean_inc(x_100); -x_101 = lean_ctor_get(x_94, 5); -lean_inc(x_101); -x_102 = lean_ctor_get(x_94, 6); -lean_inc(x_102); -x_103 = lean_ctor_get(x_94, 7); -lean_inc(x_103); -lean_dec(x_94); -x_104 = !lean_is_exclusive(x_4); -if (x_104 == 0) -{ -lean_object* x_105; uint8_t x_106; -x_105 = lean_ctor_get(x_4, 0); -lean_dec(x_105); -x_106 = !lean_is_exclusive(x_91); -if (x_106 == 0) -{ -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_107 = lean_ctor_get(x_91, 7); -lean_dec(x_107); -x_108 = lean_ctor_get(x_91, 6); -lean_dec(x_108); -x_109 = lean_ctor_get(x_91, 5); -lean_dec(x_109); -x_110 = lean_ctor_get(x_91, 4); -lean_dec(x_110); -x_111 = lean_ctor_get(x_91, 3); -lean_dec(x_111); -x_112 = lean_ctor_get(x_91, 2); -lean_dec(x_112); -x_113 = lean_ctor_get(x_91, 1); -lean_dec(x_113); -x_114 = lean_ctor_get(x_91, 0); -lean_dec(x_114); -lean_ctor_set(x_91, 7, x_103); -lean_ctor_set(x_91, 6, x_102); -lean_ctor_set(x_91, 5, x_101); -lean_ctor_set(x_91, 4, x_100); -lean_ctor_set(x_91, 3, x_99); -lean_ctor_set(x_91, 2, x_98); -lean_ctor_set(x_91, 1, x_97); -lean_ctor_set(x_91, 0, x_96); -x_115 = lean_box(x_92); -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_4); -return x_116; -} -else -{ -uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_117 = lean_ctor_get_uint8(x_91, sizeof(void*)*8); -lean_dec(x_91); -x_118 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_118, 0, x_96); -lean_ctor_set(x_118, 1, x_97); -lean_ctor_set(x_118, 2, x_98); -lean_ctor_set(x_118, 3, x_99); -lean_ctor_set(x_118, 4, x_100); -lean_ctor_set(x_118, 5, x_101); -lean_ctor_set(x_118, 6, x_102); -lean_ctor_set(x_118, 7, x_103); -lean_ctor_set_uint8(x_118, sizeof(void*)*8, x_117); -lean_ctor_set(x_4, 0, x_118); -x_119 = lean_box(x_92); -x_120 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_4); -return x_120; -} -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_121 = lean_ctor_get(x_4, 1); -x_122 = lean_ctor_get(x_4, 2); -x_123 = lean_ctor_get(x_4, 3); -lean_inc(x_123); -lean_inc(x_122); -lean_inc(x_121); lean_dec(x_4); -x_124 = lean_ctor_get_uint8(x_91, sizeof(void*)*8); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - lean_ctor_release(x_91, 2); - lean_ctor_release(x_91, 3); - lean_ctor_release(x_91, 4); - lean_ctor_release(x_91, 5); - lean_ctor_release(x_91, 6); - lean_ctor_release(x_91, 7); - x_125 = x_91; -} else { - lean_dec_ref(x_91); - x_125 = lean_box(0); +x_62 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_62, 0, x_54); +lean_ctor_set(x_62, 1, x_59); +lean_ctor_set(x_62, 2, x_60); +lean_ctor_set(x_62, 3, x_61); +x_63 = lean_box(x_52); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +return x_64; } -if (lean_is_scalar(x_125)) { - x_126 = lean_alloc_ctor(0, 8, 1); -} else { - x_126 = x_125; } -lean_ctor_set(x_126, 0, x_96); -lean_ctor_set(x_126, 1, x_97); -lean_ctor_set(x_126, 2, x_98); -lean_ctor_set(x_126, 3, x_99); -lean_ctor_set(x_126, 4, x_100); -lean_ctor_set(x_126, 5, x_101); -lean_ctor_set(x_126, 6, x_102); -lean_ctor_set(x_126, 7, x_103); -lean_ctor_set_uint8(x_126, sizeof(void*)*8, x_124); -x_127 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_121); -lean_ctor_set(x_127, 2, x_122); -lean_ctor_set(x_127, 3, x_123); -x_128 = lean_box(x_92); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -return x_129; +block_79: +{ +if (x_66 == 0) +{ +uint8_t x_68; +x_68 = l_Lean_Expr_hasFVar(x_50); +if (x_68 == 0) +{ +uint8_t x_69; +x_69 = l_Lean_Expr_hasMVar(x_50); +if (x_69 == 0) +{ +uint8_t x_70; +lean_dec(x_50); +x_70 = 0; +x_52 = x_70; +x_53 = x_67; +goto block_65; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_71 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__83(x_2, x_50, x_67); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_unbox(x_72); +lean_dec(x_72); +x_52 = x_74; +x_53 = x_73; +goto block_65; } } else { -uint8_t x_130; -lean_dec(x_91); -x_130 = !lean_is_exclusive(x_94); -if (x_130 == 0) -{ -uint8_t x_131; -x_131 = !lean_is_exclusive(x_4); -if (x_131 == 0) -{ -lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_135; -x_132 = lean_ctor_get(x_4, 0); -lean_dec(x_132); -x_133 = 1; -lean_ctor_set_uint8(x_94, sizeof(void*)*8, x_133); -lean_ctor_set(x_4, 0, x_94); -x_134 = lean_box(x_92); -x_135 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_4); -return x_135; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_136 = lean_ctor_get(x_4, 1); -x_137 = lean_ctor_get(x_4, 2); -x_138 = lean_ctor_get(x_4, 3); -lean_inc(x_138); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_4); -x_139 = 1; -lean_ctor_set_uint8(x_94, sizeof(void*)*8, x_139); -x_140 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_140, 0, x_94); -lean_ctor_set(x_140, 1, x_136); -lean_ctor_set(x_140, 2, x_137); -lean_ctor_set(x_140, 3, x_138); -x_141 = lean_box(x_92); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_140); -return x_142; +lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_75 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__91(x_2, x_50, x_67); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_unbox(x_76); +lean_dec(x_76); +x_52 = x_78; +x_53 = x_77; +goto block_65; } } else { -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; uint8_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_143 = lean_ctor_get(x_94, 0); -x_144 = lean_ctor_get(x_94, 1); -x_145 = lean_ctor_get(x_94, 2); -x_146 = lean_ctor_get(x_94, 3); -x_147 = lean_ctor_get(x_94, 4); -x_148 = lean_ctor_get(x_94, 5); -x_149 = lean_ctor_get(x_94, 6); -x_150 = lean_ctor_get(x_94, 7); -lean_inc(x_150); -lean_inc(x_149); -lean_inc(x_148); -lean_inc(x_147); -lean_inc(x_146); -lean_inc(x_145); -lean_inc(x_144); -lean_inc(x_143); -lean_dec(x_94); -x_151 = lean_ctor_get(x_4, 1); -lean_inc(x_151); -x_152 = lean_ctor_get(x_4, 2); -lean_inc(x_152); -x_153 = lean_ctor_get(x_4, 3); -lean_inc(x_153); -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); - x_154 = x_4; -} else { - lean_dec_ref(x_4); - x_154 = lean_box(0); -} -x_155 = 1; -x_156 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_156, 0, x_143); -lean_ctor_set(x_156, 1, x_144); -lean_ctor_set(x_156, 2, x_145); -lean_ctor_set(x_156, 3, x_146); -lean_ctor_set(x_156, 4, x_147); -lean_ctor_set(x_156, 5, x_148); -lean_ctor_set(x_156, 6, x_149); -lean_ctor_set(x_156, 7, x_150); -lean_ctor_set_uint8(x_156, sizeof(void*)*8, x_155); -if (lean_is_scalar(x_154)) { - x_157 = lean_alloc_ctor(0, 4, 0); -} else { - x_157 = x_154; -} -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_151); -lean_ctor_set(x_157, 2, x_152); -lean_ctor_set(x_157, 3, x_153); -x_158 = lean_box(x_92); -x_159 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -return x_159; -} -} -} -block_174: -{ -if (x_161 == 0) -{ -uint8_t x_163; -x_163 = l_Lean_Expr_hasFVar(x_90); -if (x_163 == 0) -{ -uint8_t x_164; -x_164 = l_Lean_Expr_hasMVar(x_90); -if (x_164 == 0) -{ -uint8_t x_165; -lean_dec(x_90); -x_165 = 0; -x_92 = x_165; -x_93 = x_162; -goto block_160; -} -else -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; -x_166 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__83(x_2, x_90, x_162); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -lean_dec(x_166); -x_169 = lean_unbox(x_167); -lean_dec(x_167); -x_92 = x_169; -x_93 = x_168; -goto block_160; -} -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_170 = l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_MetavarContext_MkBinding_collectForwardDeps___spec__91(x_2, x_90, x_162); -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); -lean_dec(x_170); -x_173 = lean_unbox(x_171); -lean_dec(x_171); -x_92 = x_173; -x_93 = x_172; -goto block_160; -} -} -else -{ -lean_dec(x_90); -x_92 = x_161; -x_93 = x_162; -goto block_160; +lean_dec(x_50); +x_52 = x_66; +x_53 = x_67; +goto block_65; } } } @@ -72843,197 +70061,20 @@ return x_22; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4___rarg(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = !lean_is_exclusive(x_1); -if (x_2 == 0) -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_1, 0); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -uint8_t x_5; lean_object* x_6; lean_object* x_7; -x_5 = 1; -lean_ctor_set_uint8(x_3, sizeof(void*)*8, 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_1); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_8 = lean_ctor_get(x_3, 0); -x_9 = lean_ctor_get(x_3, 1); -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_3, 5); -x_14 = lean_ctor_get(x_3, 6); -x_15 = lean_ctor_get(x_3, 7); -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_inc(x_9); -lean_inc(x_8); -lean_dec(x_3); -x_16 = 1; -x_17 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_17, 0, x_8); -lean_ctor_set(x_17, 1, x_9); -lean_ctor_set(x_17, 2, x_10); -lean_ctor_set(x_17, 3, x_11); -lean_ctor_set(x_17, 4, x_12); -lean_ctor_set(x_17, 5, x_13); -lean_ctor_set(x_17, 6, x_14); -lean_ctor_set(x_17, 7, x_15); -lean_ctor_set_uint8(x_17, sizeof(void*)*8, x_16); -lean_ctor_set(x_1, 0, x_17); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_1); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_20 = lean_ctor_get(x_1, 0); -x_21 = lean_ctor_get(x_1, 1); -x_22 = lean_ctor_get(x_1, 2); -x_23 = lean_ctor_get(x_1, 3); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_1); -x_24 = lean_ctor_get(x_20, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_20, 2); -lean_inc(x_26); -x_27 = lean_ctor_get(x_20, 3); -lean_inc(x_27); -x_28 = lean_ctor_get(x_20, 4); -lean_inc(x_28); -x_29 = lean_ctor_get(x_20, 5); -lean_inc(x_29); -x_30 = lean_ctor_get(x_20, 6); -lean_inc(x_30); -x_31 = lean_ctor_get(x_20, 7); -lean_inc(x_31); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - lean_ctor_release(x_20, 2); - lean_ctor_release(x_20, 3); - lean_ctor_release(x_20, 4); - lean_ctor_release(x_20, 5); - lean_ctor_release(x_20, 6); - lean_ctor_release(x_20, 7); - x_32 = x_20; -} else { - lean_dec_ref(x_20); - x_32 = lean_box(0); -} -x_33 = 1; -if (lean_is_scalar(x_32)) { - x_34 = lean_alloc_ctor(0, 8, 1); -} else { - x_34 = x_32; -} -lean_ctor_set(x_34, 0, x_24); -lean_ctor_set(x_34, 1, x_25); -lean_ctor_set(x_34, 2, x_26); -lean_ctor_set(x_34, 3, x_27); -lean_ctor_set(x_34, 4, x_28); -lean_ctor_set(x_34, 5, x_29); -lean_ctor_set(x_34, 6, x_30); -lean_ctor_set(x_34, 7, x_31); -lean_ctor_set_uint8(x_34, sizeof(void*)*8, x_33); -x_35 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_21); -lean_ctor_set(x_35, 2, x_22); -lean_ctor_set(x_35, 3, x_23); -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -return x_37; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4___rarg), 1, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_4); -return x_5; -} -} LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; +lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_4, x_1); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_6; x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_5); lean_ctor_set(x_6, 1, x_3); return x_6; } -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = l_Lean_markUsedAssignment___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4___rarg(x_3); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; -x_9 = lean_ctor_get(x_7, 0); -lean_dec(x_9); -lean_ctor_set(x_7, 0, x_5); -return x_7; } -else -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_5); -lean_ctor_set(x_11, 1, x_10); -return x_11; -} -} -} -} -LEAN_EXPORT lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -73077,6 +70118,74 @@ goto _start; } } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_3, x_2); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_5); +lean_dec(x_1); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_4); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_array_uget(x_4, x_3); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_4, x_3, x_10); +lean_inc(x_5); +lean_inc(x_1); +x_12 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_9, x_5, x_6); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = 1; +x_16 = lean_usize_add(x_3, x_15); +x_17 = lean_array_uset(x_11, x_3, x_13); +x_3 = x_16; +x_4 = x_17; +x_6 = x_14; +goto _start; +} +else +{ +uint8_t x_19; +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_12); +if (x_19 == 0) +{ +return x_12; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_12, 0); +x_21 = lean_ctor_get(x_12, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_12); +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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -73757,74 +70866,6 @@ return x_22; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__16(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; -x_7 = lean_usize_dec_lt(x_3, x_2); -if (x_7 == 0) -{ -lean_object* x_8; -lean_dec(x_5); -lean_dec(x_1); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_4); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_array_uget(x_4, x_3); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_uset(x_4, x_3, x_10); -lean_inc(x_5); -lean_inc(x_1); -x_12 = l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_visit(x_1, x_9, x_5, x_6); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = 1; -x_16 = lean_usize_add(x_3, x_15); -x_17 = lean_array_uset(x_11, x_3, x_13); -x_3 = x_16; -x_4 = x_17; -x_6 = x_14; -goto _start; -} -else -{ -uint8_t x_19; -lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_1); -x_19 = !lean_is_exclusive(x_12); -if (x_19 == 0) -{ -return x_12; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_12, 0); -x_21 = lean_ctor_get(x_12, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_12); -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_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -74038,7 +71079,7 @@ lean_inc(x_53); lean_dec(x_51); x_54 = lean_ctor_get(x_4, 1); lean_inc(x_54); -x_55 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_54, x_50); +x_55 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_54, x_50); lean_dec(x_54); if (lean_obj_tag(x_55) == 0) { @@ -74108,7 +71149,7 @@ x_68 = lean_array_get_size(x_3); x_69 = lean_usize_of_nat(x_68); lean_dec(x_68); x_70 = 0; -x_71 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__6(x_1, x_69, x_70, x_3, x_4, x_53); +x_71 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_1, x_69, x_70, x_3, x_4, x_53); if (lean_obj_tag(x_71) == 0) { uint8_t x_72; @@ -74188,7 +71229,7 @@ lean_dec(x_87); x_89 = 0; lean_inc(x_4); lean_inc(x_1); -x_90 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__7(x_1, x_88, x_89, x_3, x_4, x_83); +x_90 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__6(x_1, x_88, x_89, x_3, x_4, x_83); if (lean_obj_tag(x_90) == 0) { lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; lean_object* x_95; lean_object* x_96; @@ -74250,7 +71291,7 @@ x_104 = lean_array_get_size(x_3); x_105 = lean_usize_of_nat(x_104); lean_dec(x_104); x_106 = 0; -x_107 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__8(x_1, x_105, x_106, x_3, x_4, x_103); +x_107 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__7(x_1, x_105, x_106, x_3, x_4, x_103); if (lean_obj_tag(x_107) == 0) { uint8_t x_108; @@ -74346,7 +71387,7 @@ x_126 = lean_array_get_size(x_3); x_127 = lean_usize_of_nat(x_126); lean_dec(x_126); x_128 = 0; -x_129 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__9(x_1, x_127, x_128, x_3, x_4, x_125); +x_129 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__8(x_1, x_127, x_128, x_3, x_4, x_125); if (lean_obj_tag(x_129) == 0) { uint8_t x_130; @@ -74442,7 +71483,7 @@ x_148 = lean_array_get_size(x_3); x_149 = lean_usize_of_nat(x_148); lean_dec(x_148); x_150 = 0; -x_151 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__10(x_1, x_149, x_150, x_3, x_4, x_147); +x_151 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__9(x_1, x_149, x_150, x_3, x_4, x_147); if (lean_obj_tag(x_151) == 0) { uint8_t x_152; @@ -74538,7 +71579,7 @@ x_170 = lean_array_get_size(x_3); x_171 = lean_usize_of_nat(x_170); lean_dec(x_170); x_172 = 0; -x_173 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__11(x_1, x_171, x_172, x_3, x_4, x_169); +x_173 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__10(x_1, x_171, x_172, x_3, x_4, x_169); if (lean_obj_tag(x_173) == 0) { uint8_t x_174; @@ -74634,7 +71675,7 @@ x_192 = lean_array_get_size(x_3); x_193 = lean_usize_of_nat(x_192); lean_dec(x_192); x_194 = 0; -x_195 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__12(x_1, x_193, x_194, x_3, x_4, x_191); +x_195 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__11(x_1, x_193, x_194, x_3, x_4, x_191); if (lean_obj_tag(x_195) == 0) { uint8_t x_196; @@ -74730,7 +71771,7 @@ x_214 = lean_array_get_size(x_3); x_215 = lean_usize_of_nat(x_214); lean_dec(x_214); x_216 = 0; -x_217 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__13(x_1, x_215, x_216, x_3, x_4, x_213); +x_217 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__12(x_1, x_215, x_216, x_3, x_4, x_213); if (lean_obj_tag(x_217) == 0) { uint8_t x_218; @@ -74826,7 +71867,7 @@ x_236 = lean_array_get_size(x_3); x_237 = lean_usize_of_nat(x_236); lean_dec(x_236); x_238 = 0; -x_239 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__14(x_1, x_237, x_238, x_3, x_4, x_235); +x_239 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__13(x_1, x_237, x_238, x_3, x_4, x_235); if (lean_obj_tag(x_239) == 0) { uint8_t x_240; @@ -74922,7 +71963,7 @@ x_258 = lean_array_get_size(x_3); x_259 = lean_usize_of_nat(x_258); lean_dec(x_258); x_260 = 0; -x_261 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__15(x_1, x_259, x_260, x_3, x_4, x_257); +x_261 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__14(x_1, x_259, x_260, x_3, x_4, x_257); if (lean_obj_tag(x_261) == 0) { uint8_t x_262; @@ -75018,7 +72059,7 @@ x_280 = lean_array_get_size(x_3); x_281 = lean_usize_of_nat(x_280); lean_dec(x_280); x_282 = 0; -x_283 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__16(x_1, x_281, x_282, x_3, x_4, x_279); +x_283 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__15(x_1, x_281, x_282, x_3, x_4, x_279); if (lean_obj_tag(x_283) == 0) { uint8_t x_284; @@ -75102,57 +72143,25 @@ return x_298; LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_markUsedAssignment___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4___rarg(x_3); -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; -x_6 = lean_ctor_get(x_4, 1); +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_inc(x_4); +x_5 = l_Lean_MetavarContext_getDecl(x_4, x_1); +x_6 = lean_ctor_get(x_5, 3); +lean_inc(x_6); +lean_dec(x_5); x_7 = lean_ctor_get(x_4, 0); -lean_dec(x_7); -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -lean_inc(x_8); -x_9 = l_Lean_MetavarContext_getDecl(x_8, x_1); -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_ctor_get(x_8, 0); -lean_inc(x_11); -lean_dec(x_8); -x_12 = lean_nat_dec_eq(x_10, x_11); -lean_dec(x_11); -lean_dec(x_10); -x_13 = lean_box(x_12); -lean_ctor_set(x_4, 0, x_13); -return x_4; -} -else -{ -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_14 = lean_ctor_get(x_4, 1); -lean_inc(x_14); +lean_inc(x_7); lean_dec(x_4); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_inc(x_15); -x_16 = l_Lean_MetavarContext_getDecl(x_15, x_1); -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_ctor_get(x_15, 0); -lean_inc(x_18); -lean_dec(x_15); -x_19 = lean_nat_dec_eq(x_17, x_18); -lean_dec(x_18); -lean_dec(x_17); -x_20 = lean_box(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_14); -return x_21; -} +x_8 = lean_nat_dec_eq(x_6, x_7); +lean_dec(x_7); +lean_dec(x_6); +x_9 = lean_box(x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; } } LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { @@ -75202,30 +72211,27 @@ x_6 = lean_ctor_get(x_4, 0); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) { -lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_8 = lean_ctor_get(x_6, 6); x_9 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_8, x_1, x_2); -x_10 = 1; lean_ctor_set(x_6, 6, x_9); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_10); -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_4); -return x_12; +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_4); +return x_11; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_13 = lean_ctor_get(x_6, 0); -x_14 = lean_ctor_get(x_6, 1); -x_15 = lean_ctor_get(x_6, 2); -x_16 = lean_ctor_get(x_6, 3); -x_17 = lean_ctor_get(x_6, 4); -x_18 = lean_ctor_get(x_6, 5); -x_19 = lean_ctor_get(x_6, 6); -x_20 = lean_ctor_get(x_6, 7); -lean_inc(x_20); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_12 = lean_ctor_get(x_6, 0); +x_13 = lean_ctor_get(x_6, 1); +x_14 = lean_ctor_get(x_6, 2); +x_15 = lean_ctor_get(x_6, 3); +x_16 = lean_ctor_get(x_6, 4); +x_17 = lean_ctor_get(x_6, 5); +x_18 = lean_ctor_get(x_6, 6); +x_19 = lean_ctor_get(x_6, 7); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -75233,142 +72239,110 @@ lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); +lean_inc(x_12); lean_dec(x_6); -x_21 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_19, x_1, x_2); -x_22 = 1; -x_23 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_23, 0, x_13); -lean_ctor_set(x_23, 1, x_14); -lean_ctor_set(x_23, 2, x_15); -lean_ctor_set(x_23, 3, x_16); -lean_ctor_set(x_23, 4, x_17); -lean_ctor_set(x_23, 5, x_18); -lean_ctor_set(x_23, 6, x_21); -lean_ctor_set(x_23, 7, x_20); -lean_ctor_set_uint8(x_23, sizeof(void*)*8, x_22); -lean_ctor_set(x_4, 0, x_23); -x_24 = lean_box(0); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_4); -return x_25; +x_20 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_18, x_1, x_2); +x_21 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_21, 0, x_12); +lean_ctor_set(x_21, 1, x_13); +lean_ctor_set(x_21, 2, x_14); +lean_ctor_set(x_21, 3, x_15); +lean_ctor_set(x_21, 4, x_16); +lean_ctor_set(x_21, 5, x_17); +lean_ctor_set(x_21, 6, x_20); +lean_ctor_set(x_21, 7, x_19); +lean_ctor_set(x_4, 0, x_21); +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_4); +return x_23; } } 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; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_26 = lean_ctor_get(x_4, 0); -x_27 = lean_ctor_get(x_4, 1); -x_28 = lean_ctor_get(x_4, 2); -x_29 = lean_ctor_get(x_4, 3); -lean_inc(x_29); -lean_inc(x_28); +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; 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_24 = lean_ctor_get(x_4, 0); +x_25 = lean_ctor_get(x_4, 1); +x_26 = lean_ctor_get(x_4, 2); +x_27 = lean_ctor_get(x_4, 3); lean_inc(x_27); lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); lean_dec(x_4); -x_30 = lean_ctor_get(x_26, 0); +x_28 = lean_ctor_get(x_24, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_24, 1); +lean_inc(x_29); +x_30 = lean_ctor_get(x_24, 2); lean_inc(x_30); -x_31 = lean_ctor_get(x_26, 1); +x_31 = lean_ctor_get(x_24, 3); lean_inc(x_31); -x_32 = lean_ctor_get(x_26, 2); +x_32 = lean_ctor_get(x_24, 4); lean_inc(x_32); -x_33 = lean_ctor_get(x_26, 3); +x_33 = lean_ctor_get(x_24, 5); lean_inc(x_33); -x_34 = lean_ctor_get(x_26, 4); +x_34 = lean_ctor_get(x_24, 6); lean_inc(x_34); -x_35 = lean_ctor_get(x_26, 5); +x_35 = lean_ctor_get(x_24, 7); lean_inc(x_35); -x_36 = lean_ctor_get(x_26, 6); -lean_inc(x_36); -x_37 = lean_ctor_get(x_26, 7); -lean_inc(x_37); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - lean_ctor_release(x_26, 3); - lean_ctor_release(x_26, 4); - lean_ctor_release(x_26, 5); - lean_ctor_release(x_26, 6); - lean_ctor_release(x_26, 7); - x_38 = x_26; +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + lean_ctor_release(x_24, 2); + lean_ctor_release(x_24, 3); + lean_ctor_release(x_24, 4); + lean_ctor_release(x_24, 5); + lean_ctor_release(x_24, 6); + lean_ctor_release(x_24, 7); + x_36 = x_24; } else { - lean_dec_ref(x_26); - x_38 = lean_box(0); + lean_dec_ref(x_24); + x_36 = lean_box(0); } -x_39 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_36, x_1, x_2); -x_40 = 1; -if (lean_is_scalar(x_38)) { - x_41 = lean_alloc_ctor(0, 8, 1); +x_37 = l_Std_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_34, x_1, x_2); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(0, 8, 0); } else { - x_41 = x_38; + x_38 = x_36; } -lean_ctor_set(x_41, 0, x_30); -lean_ctor_set(x_41, 1, x_31); -lean_ctor_set(x_41, 2, x_32); -lean_ctor_set(x_41, 3, x_33); -lean_ctor_set(x_41, 4, x_34); -lean_ctor_set(x_41, 5, x_35); -lean_ctor_set(x_41, 6, x_39); -lean_ctor_set(x_41, 7, x_37); -lean_ctor_set_uint8(x_41, sizeof(void*)*8, x_40); -x_42 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_27); -lean_ctor_set(x_42, 2, x_28); -lean_ctor_set(x_42, 3, x_29); -x_43 = lean_box(0); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -return x_44; +lean_ctor_set(x_38, 0, x_28); +lean_ctor_set(x_38, 1, x_29); +lean_ctor_set(x_38, 2, x_30); +lean_ctor_set(x_38, 3, x_31); +lean_ctor_set(x_38, 4, x_32); +lean_ctor_set(x_38, 5, x_33); +lean_ctor_set(x_38, 6, x_37); +lean_ctor_set(x_38, 7, x_35); +x_39 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_25); +lean_ctor_set(x_39, 2, x_26); +lean_ctor_set(x_39, 3, x_27); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +return x_41; } } } LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__4(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_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_4, 7); lean_inc(x_5); lean_dec(x_4); x_6 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_5, x_1); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; 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; uint8_t x_9; -x_8 = l_Lean_markUsedAssignment___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4___rarg(x_3); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; -x_10 = lean_ctor_get(x_8, 0); -lean_dec(x_10); -lean_ctor_set(x_8, 0, x_6); -return x_8; -} -else -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_8, 1); -lean_inc(x_11); -lean_dec(x_8); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_6); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} -} -} } LEAN_EXPORT lean_object* l_Lean_assignDelayedMVar___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: @@ -75382,33 +72356,30 @@ x_7 = lean_ctor_get(x_5, 0); x_8 = !lean_is_exclusive(x_7); if (x_8 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; +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_7, 7); x_10 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_10, 0, x_2); lean_ctor_set(x_10, 1, x_3); x_11 = l_Std_PersistentHashMap_insert___at_Lean_assignDelayedMVar___spec__1(x_9, x_1, x_10); -x_12 = 1; lean_ctor_set(x_7, 7, x_11); -lean_ctor_set_uint8(x_7, sizeof(void*)*8, x_12); -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_5); -return x_14; +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_5); +return x_13; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_15 = lean_ctor_get(x_7, 0); -x_16 = lean_ctor_get(x_7, 1); -x_17 = lean_ctor_get(x_7, 2); -x_18 = lean_ctor_get(x_7, 3); -x_19 = lean_ctor_get(x_7, 4); -x_20 = lean_ctor_get(x_7, 5); -x_21 = lean_ctor_get(x_7, 6); -x_22 = lean_ctor_get(x_7, 7); -lean_inc(x_22); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); lean_inc(x_21); lean_inc(x_20); lean_inc(x_19); @@ -75416,101 +72387,98 @@ lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); +lean_inc(x_14); lean_dec(x_7); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_2); -lean_ctor_set(x_23, 1, x_3); -x_24 = l_Std_PersistentHashMap_insert___at_Lean_assignDelayedMVar___spec__1(x_22, x_1, x_23); -x_25 = 1; -x_26 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_26, 0, x_15); -lean_ctor_set(x_26, 1, x_16); -lean_ctor_set(x_26, 2, x_17); -lean_ctor_set(x_26, 3, x_18); -lean_ctor_set(x_26, 4, x_19); -lean_ctor_set(x_26, 5, x_20); -lean_ctor_set(x_26, 6, x_21); -lean_ctor_set(x_26, 7, x_24); -lean_ctor_set_uint8(x_26, sizeof(void*)*8, x_25); -lean_ctor_set(x_5, 0, x_26); -x_27 = lean_box(0); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_5); -return x_28; +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_2); +lean_ctor_set(x_22, 1, x_3); +x_23 = l_Std_PersistentHashMap_insert___at_Lean_assignDelayedMVar___spec__1(x_21, x_1, x_22); +x_24 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_15); +lean_ctor_set(x_24, 2, x_16); +lean_ctor_set(x_24, 3, x_17); +lean_ctor_set(x_24, 4, x_18); +lean_ctor_set(x_24, 5, x_19); +lean_ctor_set(x_24, 6, x_20); +lean_ctor_set(x_24, 7, x_23); +lean_ctor_set(x_5, 0, x_24); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_5); +return x_26; } } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_29 = lean_ctor_get(x_5, 0); -x_30 = lean_ctor_get(x_5, 1); -x_31 = lean_ctor_get(x_5, 2); -x_32 = lean_ctor_get(x_5, 3); -lean_inc(x_32); -lean_inc(x_31); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_27 = lean_ctor_get(x_5, 0); +x_28 = lean_ctor_get(x_5, 1); +x_29 = lean_ctor_get(x_5, 2); +x_30 = lean_ctor_get(x_5, 3); lean_inc(x_30); lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); lean_dec(x_5); -x_33 = lean_ctor_get(x_29, 0); +x_31 = lean_ctor_get(x_27, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_27, 1); +lean_inc(x_32); +x_33 = lean_ctor_get(x_27, 2); lean_inc(x_33); -x_34 = lean_ctor_get(x_29, 1); +x_34 = lean_ctor_get(x_27, 3); lean_inc(x_34); -x_35 = lean_ctor_get(x_29, 2); +x_35 = lean_ctor_get(x_27, 4); lean_inc(x_35); -x_36 = lean_ctor_get(x_29, 3); +x_36 = lean_ctor_get(x_27, 5); lean_inc(x_36); -x_37 = lean_ctor_get(x_29, 4); +x_37 = lean_ctor_get(x_27, 6); lean_inc(x_37); -x_38 = lean_ctor_get(x_29, 5); +x_38 = lean_ctor_get(x_27, 7); lean_inc(x_38); -x_39 = lean_ctor_get(x_29, 6); -lean_inc(x_39); -x_40 = lean_ctor_get(x_29, 7); -lean_inc(x_40); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - lean_ctor_release(x_29, 2); - lean_ctor_release(x_29, 3); - lean_ctor_release(x_29, 4); - lean_ctor_release(x_29, 5); - lean_ctor_release(x_29, 6); - lean_ctor_release(x_29, 7); - x_41 = x_29; +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + lean_ctor_release(x_27, 2); + lean_ctor_release(x_27, 3); + lean_ctor_release(x_27, 4); + lean_ctor_release(x_27, 5); + lean_ctor_release(x_27, 6); + lean_ctor_release(x_27, 7); + x_39 = x_27; } else { - lean_dec_ref(x_29); - x_41 = lean_box(0); + lean_dec_ref(x_27); + x_39 = lean_box(0); } -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_2); -lean_ctor_set(x_42, 1, x_3); -x_43 = l_Std_PersistentHashMap_insert___at_Lean_assignDelayedMVar___spec__1(x_40, x_1, x_42); -x_44 = 1; -if (lean_is_scalar(x_41)) { - x_45 = lean_alloc_ctor(0, 8, 1); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_2); +lean_ctor_set(x_40, 1, x_3); +x_41 = l_Std_PersistentHashMap_insert___at_Lean_assignDelayedMVar___spec__1(x_38, x_1, x_40); +if (lean_is_scalar(x_39)) { + x_42 = lean_alloc_ctor(0, 8, 0); } else { - x_45 = x_41; + x_42 = x_39; } -lean_ctor_set(x_45, 0, x_33); -lean_ctor_set(x_45, 1, x_34); -lean_ctor_set(x_45, 2, x_35); -lean_ctor_set(x_45, 3, x_36); -lean_ctor_set(x_45, 4, x_37); -lean_ctor_set(x_45, 5, x_38); -lean_ctor_set(x_45, 6, x_39); -lean_ctor_set(x_45, 7, x_43); -lean_ctor_set_uint8(x_45, sizeof(void*)*8, x_44); -x_46 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_30); -lean_ctor_set(x_46, 2, x_31); -lean_ctor_set(x_46, 3, x_32); -x_47 = lean_box(0); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -return x_48; +lean_ctor_set(x_42, 0, x_31); +lean_ctor_set(x_42, 1, x_32); +lean_ctor_set(x_42, 2, x_33); +lean_ctor_set(x_42, 3, x_34); +lean_ctor_set(x_42, 4, x_35); +lean_ctor_set(x_42, 5, x_36); +lean_ctor_set(x_42, 6, x_37); +lean_ctor_set(x_42, 7, x_41); +x_43 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_28); +lean_ctor_set(x_43, 2, x_29); +lean_ctor_set(x_43, 3, x_30); +x_44 = lean_box(0); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +return x_45; } } } @@ -77251,25 +74219,6 @@ x_9 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarC return x_9; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_markUsedAssignment___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_1); -lean_dec(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__3___lambda__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_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__3___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -77279,16 +74228,28 @@ lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_1, x_2); +x_3 = l_Std_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___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) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__5(x_1, x_7, x_8, x_4, x_5, x_6); +return x_9; +} +} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___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: { @@ -77409,18 +74370,6 @@ x_9 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarC return x_9; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_8 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_9 = l_Array_mapMUnsafe_map___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__16(x_1, x_7, x_8, x_4, x_5, x_6); -return x_9; -} -} LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimMVar___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -82865,30 +79814,27 @@ x_6 = lean_ctor_get(x_4, 0); x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) { -lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_8 = lean_ctor_get(x_6, 5); x_9 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_8, x_1, x_2); -x_10 = 1; lean_ctor_set(x_6, 5, x_9); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_10); -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_4); -return x_12; +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_4); +return x_11; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_13 = lean_ctor_get(x_6, 0); -x_14 = lean_ctor_get(x_6, 1); -x_15 = lean_ctor_get(x_6, 2); -x_16 = lean_ctor_get(x_6, 3); -x_17 = lean_ctor_get(x_6, 4); -x_18 = lean_ctor_get(x_6, 5); -x_19 = lean_ctor_get(x_6, 6); -x_20 = lean_ctor_get(x_6, 7); -lean_inc(x_20); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_12 = lean_ctor_get(x_6, 0); +x_13 = lean_ctor_get(x_6, 1); +x_14 = lean_ctor_get(x_6, 2); +x_15 = lean_ctor_get(x_6, 3); +x_16 = lean_ctor_get(x_6, 4); +x_17 = lean_ctor_get(x_6, 5); +x_18 = lean_ctor_get(x_6, 6); +x_19 = lean_ctor_get(x_6, 7); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -82896,246 +79842,95 @@ lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); -lean_dec(x_6); -x_21 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_18, x_1, x_2); -x_22 = 1; -x_23 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_23, 0, x_13); -lean_ctor_set(x_23, 1, x_14); -lean_ctor_set(x_23, 2, x_15); -lean_ctor_set(x_23, 3, x_16); -lean_ctor_set(x_23, 4, x_17); -lean_ctor_set(x_23, 5, x_21); -lean_ctor_set(x_23, 6, x_19); -lean_ctor_set(x_23, 7, x_20); -lean_ctor_set_uint8(x_23, sizeof(void*)*8, x_22); -lean_ctor_set(x_4, 0, x_23); -x_24 = lean_box(0); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_4); -return x_25; -} -} -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; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_26 = lean_ctor_get(x_4, 0); -x_27 = lean_ctor_get(x_4, 1); -x_28 = lean_ctor_get(x_4, 2); -x_29 = lean_ctor_get(x_4, 3); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_4); -x_30 = lean_ctor_get(x_26, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_26, 1); -lean_inc(x_31); -x_32 = lean_ctor_get(x_26, 2); -lean_inc(x_32); -x_33 = lean_ctor_get(x_26, 3); -lean_inc(x_33); -x_34 = lean_ctor_get(x_26, 4); -lean_inc(x_34); -x_35 = lean_ctor_get(x_26, 5); -lean_inc(x_35); -x_36 = lean_ctor_get(x_26, 6); -lean_inc(x_36); -x_37 = lean_ctor_get(x_26, 7); -lean_inc(x_37); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - lean_ctor_release(x_26, 2); - lean_ctor_release(x_26, 3); - lean_ctor_release(x_26, 4); - lean_ctor_release(x_26, 5); - lean_ctor_release(x_26, 6); - lean_ctor_release(x_26, 7); - x_38 = x_26; -} else { - lean_dec_ref(x_26); - x_38 = lean_box(0); -} -x_39 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_35, x_1, x_2); -x_40 = 1; -if (lean_is_scalar(x_38)) { - x_41 = lean_alloc_ctor(0, 8, 1); -} else { - x_41 = x_38; -} -lean_ctor_set(x_41, 0, x_30); -lean_ctor_set(x_41, 1, x_31); -lean_ctor_set(x_41, 2, x_32); -lean_ctor_set(x_41, 3, x_33); -lean_ctor_set(x_41, 4, x_34); -lean_ctor_set(x_41, 5, x_39); -lean_ctor_set(x_41, 6, x_36); -lean_ctor_set(x_41, 7, x_37); -lean_ctor_set_uint8(x_41, sizeof(void*)*8, x_40); -x_42 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_27); -lean_ctor_set(x_42, 2, x_28); -lean_ctor_set(x_42, 3, x_29); -x_43 = lean_box(0); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -return x_44; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__2___rarg(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = !lean_is_exclusive(x_1); -if (x_2 == 0) -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_1, 0); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -uint8_t x_5; lean_object* x_6; lean_object* x_7; -x_5 = 1; -lean_ctor_set_uint8(x_3, sizeof(void*)*8, 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_1); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_8 = lean_ctor_get(x_3, 0); -x_9 = lean_ctor_get(x_3, 1); -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_3, 5); -x_14 = lean_ctor_get(x_3, 6); -x_15 = lean_ctor_get(x_3, 7); -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_inc(x_9); -lean_inc(x_8); -lean_dec(x_3); -x_16 = 1; -x_17 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_17, 0, x_8); -lean_ctor_set(x_17, 1, x_9); -lean_ctor_set(x_17, 2, x_10); -lean_ctor_set(x_17, 3, x_11); -lean_ctor_set(x_17, 4, x_12); -lean_ctor_set(x_17, 5, x_13); -lean_ctor_set(x_17, 6, x_14); -lean_ctor_set(x_17, 7, x_15); -lean_ctor_set_uint8(x_17, sizeof(void*)*8, x_16); -lean_ctor_set(x_1, 0, x_17); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_1); -return x_19; +lean_dec(x_6); +x_20 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_17, x_1, x_2); +x_21 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_21, 0, x_12); +lean_ctor_set(x_21, 1, x_13); +lean_ctor_set(x_21, 2, x_14); +lean_ctor_set(x_21, 3, x_15); +lean_ctor_set(x_21, 4, x_16); +lean_ctor_set(x_21, 5, x_20); +lean_ctor_set(x_21, 6, x_18); +lean_ctor_set(x_21, 7, x_19); +lean_ctor_set(x_4, 0, x_21); +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_4); +return x_23; } } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_20 = lean_ctor_get(x_1, 0); -x_21 = lean_ctor_get(x_1, 1); -x_22 = lean_ctor_get(x_1, 2); -x_23 = lean_ctor_get(x_1, 3); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_1); -x_24 = lean_ctor_get(x_20, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_20, 2); -lean_inc(x_26); -x_27 = lean_ctor_get(x_20, 3); +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; 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_24 = lean_ctor_get(x_4, 0); +x_25 = lean_ctor_get(x_4, 1); +x_26 = lean_ctor_get(x_4, 2); +x_27 = lean_ctor_get(x_4, 3); lean_inc(x_27); -x_28 = lean_ctor_get(x_20, 4); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_4); +x_28 = lean_ctor_get(x_24, 0); lean_inc(x_28); -x_29 = lean_ctor_get(x_20, 5); +x_29 = lean_ctor_get(x_24, 1); lean_inc(x_29); -x_30 = lean_ctor_get(x_20, 6); +x_30 = lean_ctor_get(x_24, 2); lean_inc(x_30); -x_31 = lean_ctor_get(x_20, 7); +x_31 = lean_ctor_get(x_24, 3); lean_inc(x_31); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - lean_ctor_release(x_20, 2); - lean_ctor_release(x_20, 3); - lean_ctor_release(x_20, 4); - lean_ctor_release(x_20, 5); - lean_ctor_release(x_20, 6); - lean_ctor_release(x_20, 7); - x_32 = x_20; +x_32 = lean_ctor_get(x_24, 4); +lean_inc(x_32); +x_33 = lean_ctor_get(x_24, 5); +lean_inc(x_33); +x_34 = lean_ctor_get(x_24, 6); +lean_inc(x_34); +x_35 = lean_ctor_get(x_24, 7); +lean_inc(x_35); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + lean_ctor_release(x_24, 2); + lean_ctor_release(x_24, 3); + lean_ctor_release(x_24, 4); + lean_ctor_release(x_24, 5); + lean_ctor_release(x_24, 6); + lean_ctor_release(x_24, 7); + x_36 = x_24; } else { - lean_dec_ref(x_20); - x_32 = lean_box(0); + lean_dec_ref(x_24); + x_36 = lean_box(0); } -x_33 = 1; -if (lean_is_scalar(x_32)) { - x_34 = lean_alloc_ctor(0, 8, 1); +x_37 = l_Std_PersistentHashMap_insert___at_Lean_assignLevelMVar___spec__1(x_33, x_1, x_2); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(0, 8, 0); } else { - x_34 = x_32; + x_38 = x_36; } -lean_ctor_set(x_34, 0, x_24); -lean_ctor_set(x_34, 1, x_25); -lean_ctor_set(x_34, 2, x_26); -lean_ctor_set(x_34, 3, x_27); -lean_ctor_set(x_34, 4, x_28); -lean_ctor_set(x_34, 5, x_29); -lean_ctor_set(x_34, 6, x_30); -lean_ctor_set(x_34, 7, x_31); -lean_ctor_set_uint8(x_34, sizeof(void*)*8, x_33); -x_35 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_21); -lean_ctor_set(x_35, 2, x_22); -lean_ctor_set(x_35, 3, x_23); -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -return x_37; +lean_ctor_set(x_38, 0, x_28); +lean_ctor_set(x_38, 1, x_29); +lean_ctor_set(x_38, 2, x_30); +lean_ctor_set(x_38, 3, x_31); +lean_ctor_set(x_38, 4, x_32); +lean_ctor_set(x_38, 5, x_37); +lean_ctor_set(x_38, 6, x_34); +lean_ctor_set(x_38, 7, x_35); +x_39 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_25); +lean_ctor_set(x_39, 2, x_26); +lean_ctor_set(x_39, 3, x_27); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +return x_41; } } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__2___rarg), 1, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_visitLevel___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_4); -return x_5; -} -} LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_visitLevel(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -83504,29 +80299,24 @@ return x_98; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_object* x_99; lean_dec(x_82); lean_dec(x_1); x_99 = lean_ctor_get(x_85, 0); lean_inc(x_99); lean_dec(x_85); -x_100 = l_Lean_markUsedAssignment___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__2___rarg(x_3); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -lean_dec(x_100); x_1 = x_99; -x_3 = x_101; goto _start; } } default: { -lean_object* x_103; +lean_object* x_101; lean_dec(x_2); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_1); -lean_ctor_set(x_103, 1, x_3); -return x_103; +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_1); +lean_ctor_set(x_101, 1, x_3); +return x_101; } } } @@ -83540,25 +80330,6 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__2___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_markUsedAssignment___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__2(x_1); -lean_dec(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_visitLevel___lambda__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_Lean_MetavarContext_LevelMVarToParam_visitLevel___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MetavarContext_LevelMVarToParam_main_visitApp___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -83599,44 +80370,15 @@ goto _start; LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_MetavarContext_LevelMVarToParam_main_visitApp___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; +lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_4, x_1); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_6; x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_5); lean_ctor_set(x_6, 1, x_3); return x_6; } -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = l_Lean_markUsedAssignment___at_Lean_MetavarContext_LevelMVarToParam_visitLevel___spec__2___rarg(x_3); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; -x_9 = lean_ctor_get(x_7, 0); -lean_dec(x_9); -lean_ctor_set(x_7, 0, x_5); -return x_7; -} -else -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_5); -lean_ctor_set(x_11, 1, x_10); -return x_11; -} -} -} } LEAN_EXPORT lean_object* l_Lean_MetavarContext_LevelMVarToParam_main_visitApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: @@ -84924,9 +81666,6 @@ l_Lean_MetavarContext_eAssignment___default = _init_l_Lean_MetavarContext_eAssig lean_mark_persistent(l_Lean_MetavarContext_eAssignment___default); l_Lean_MetavarContext_dAssignment___default = _init_l_Lean_MetavarContext_dAssignment___default(); lean_mark_persistent(l_Lean_MetavarContext_dAssignment___default); -l_Lean_MetavarContext_usedAssignment___default = _init_l_Lean_MetavarContext_usedAssignment___default(); -l_Lean_markUsedAssignment___rarg___closed__1 = _init_l_Lean_markUsedAssignment___rarg___closed__1(); -lean_mark_persistent(l_Lean_markUsedAssignment___rarg___closed__1); l_Std_PersistentHashMap_findAux___at_Lean_getLevelMVarAssignment_x3f___spec__2___closed__1 = _init_l_Std_PersistentHashMap_findAux___at_Lean_getLevelMVarAssignment_x3f___spec__2___closed__1(); l_Std_PersistentHashMap_findAux___at_Lean_getLevelMVarAssignment_x3f___spec__2___closed__2 = _init_l_Std_PersistentHashMap_findAux___at_Lean_getLevelMVarAssignment_x3f___spec__2___closed__2(); l_Lean_isLevelMVarAssignable___rarg___lambda__1___closed__1 = _init_l_Lean_isLevelMVarAssignable___rarg___lambda__1___closed__1(); @@ -85033,8 +81772,8 @@ l_Lean_DependsOn_instMonadMCtxM = _init_l_Lean_DependsOn_instMonadMCtxM(); lean_mark_persistent(l_Lean_DependsOn_instMonadMCtxM); l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___closed__1 = _init_l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___closed__1(); lean_mark_persistent(l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___closed__1); -l_Lean_findExprDependsOn___rarg___lambda__2___closed__1 = _init_l_Lean_findExprDependsOn___rarg___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_findExprDependsOn___rarg___lambda__2___closed__1); +l_Lean_findExprDependsOn___rarg___lambda__3___closed__1 = _init_l_Lean_findExprDependsOn___rarg___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_findExprDependsOn___rarg___lambda__3___closed__1); l_Lean_MetavarContext_instInhabitedMetavarContext___closed__1 = _init_l_Lean_MetavarContext_instInhabitedMetavarContext___closed__1(); lean_mark_persistent(l_Lean_MetavarContext_instInhabitedMetavarContext___closed__1); l_Lean_MetavarContext_instInhabitedMetavarContext = _init_l_Lean_MetavarContext_instInhabitedMetavarContext(); diff --git a/stage0/stdlib/Lean/ParserCompiler.c b/stage0/stdlib/Lean/ParserCompiler.c index ea30288b62..305db0a6ec 100644 --- a/stage0/stdlib/Lean/ParserCompiler.c +++ b/stage0/stdlib/Lean/ParserCompiler.c @@ -37042,23 +37042,21 @@ return x_3; static lean_object* _init_l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__16() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__13; x_3 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__14; x_4 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__15; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__17() { @@ -37147,14 +37145,13 @@ x_1 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__ x_2 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__19; x_3 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__20; x_4 = l_Lean_ParserCompiler_registerParserCompiler___rarg___lambda__1___closed__23; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/PrettyPrinter.c b/stage0/stdlib/Lean/PrettyPrinter.c index 55f3da7acd..35d89eb80b 100644 --- a/stage0/stdlib/Lean/PrettyPrinter.c +++ b/stage0/stdlib/Lean/PrettyPrinter.c @@ -690,14 +690,13 @@ x_1 = l_Lean_PPContext_runMetaM___rarg___closed__2; x_2 = l_Lean_PPContext_runMetaM___rarg___closed__4; x_3 = l_Lean_PPContext_runMetaM___rarg___closed__5; x_4 = l_Lean_PPContext_runMetaM___rarg___closed__8; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c index b5a615ee63..0d2d604a41 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c @@ -75,6 +75,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHBinO LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeMData___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeMData___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHBinOp___lambda__1___closed__27; +static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__2; LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeLet___spec__25(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_tryUnify___closed__1; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_canBottomUp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -170,6 +171,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_getPos___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_applyFunBinderHeuristic___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_applyFunBinderHeuristic_core___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__1; static lean_object* l_Lean_getPPAnalysisBlockImplicit___closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_maybeSetExplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withLetBody___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeLet___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -247,6 +249,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM__ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_collectHigherOrders___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHBinOp___lambda__1___closed__61; +static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_maybeSetExplicit___spec__4(lean_object*); lean_object* l_Lean_MVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -308,6 +311,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withProj___at_Lean_ static lean_object* l_Lean_getPPAnalysisNeedsType___closed__1; LEAN_EXPORT uint8_t l_List_foldr___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeConst___spec__2(uint8_t, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeApp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeMData___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -376,12 +380,15 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_anal LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_collectTrivialBottomUps___spec__1___boxed(lean_object**); static lean_object* l_Lean_getPPAnalysisSkip___closed__2; lean_object* lean_st_mk_ref(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__4; lean_object* l_Lean_Elab_Term_setElabConfig(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_PrettyPrinter_Delaborator_topDownAnalyze___spec__1(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeProj___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_3395____closed__1; +extern lean_object* l_Lean_Expr_instHashableExpr; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_analyzeArg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHigherOrder___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getPPAnalyzeTrustId___boxed(lean_object*); lean_object* l_StateT_lift___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -487,6 +494,7 @@ static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownA LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeProj___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_collectHigherOrders___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHBinOp(lean_object*); +lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isFunLike___closed__1; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_applyFunBinderHeuristic___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHBinOp___lambda__1___closed__16; @@ -674,6 +682,7 @@ lean_object* l_StateT_instMonadStateT___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_topDownAnalyze(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_maybeSetExplicit___spec__6___lambda__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*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_collectBottomUps___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_topDownAnalyze___closed__2; static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyze_analyzeConst___closed__2; static lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_canBottomUp___spec__1___closed__1; @@ -696,6 +705,7 @@ LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_TopD static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHBinOp___lambda__1___closed__46; uint8_t l_Lean_Expr_isAtomic(lean_object*); LEAN_EXPORT lean_object* l_Std_HashMap_insert___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_replaceLPsWithVars___spec__2(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_instBEqExpr; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_pp_analyze_trustCoe; static lean_object* l_Lean_getPPAnalysisSkip___closed__4; @@ -5345,226 +5355,799 @@ return x_52; } } } +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Expr_instBEqExpr; +x_2 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2); +lean_closure_set(x_2, 0, x_1); +lean_closure_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Expr_instHashableExpr; +x_2 = lean_alloc_closure((void*)(l_instHashableProd___rarg___boxed), 3, 2); +lean_closure_set(x_2, 0, x_1); +lean_closure_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__3; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__4; +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_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___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, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_23; +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; x_9 = l_Lean_Meta_saveState___rarg(x_5, x_6, x_7, x_8); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_12 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_11); -x_13 = lean_ctor_get(x_12, 0); +x_12 = lean_st_ref_get(x_7, x_11); +x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); lean_dec(x_12); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_23 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isDefEqAssigning(x_1, x_2, x_4, x_5, x_6, x_7, x_14); -if (lean_obj_tag(x_23) == 0) +x_14 = lean_st_ref_take(x_5, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) { -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_23, 0); +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_15, 1); +lean_dec(x_19); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +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_36; +x_21 = lean_ctor_get(x_16, 5); +lean_dec(x_21); +x_22 = l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__5; +lean_ctor_set(x_16, 5, x_22); +x_23 = lean_st_ref_set(x_5, x_15, x_17); +x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); -x_25 = lean_unbox(x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -lean_dec(x_13); -x_26 = lean_ctor_get(x_23, 1); +lean_dec(x_23); +x_25 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_24); +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_23); -x_27 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_26); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -x_30 = 0; -x_31 = lean_box(x_30); -lean_ctor_set(x_27, 0, x_31); -return x_27; -} -else -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_27, 1); -lean_inc(x_32); -lean_dec(x_27); -x_33 = 0; -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -else -{ -lean_object* x_36; uint8_t x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_23, 1); -lean_inc(x_36); -lean_dec(x_23); -x_37 = 0; +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_38 = l_Lean_Meta_processPostponed(x_3, x_37, x_4, x_5, x_6, x_7, x_36); -if (lean_obj_tag(x_38) == 0) +x_36 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isDefEqAssigning(x_1, x_2, x_4, x_5, x_6, x_7, x_27); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_39; uint8_t x_40; -x_39 = lean_ctor_get(x_38, 0); +lean_object* x_37; uint8_t x_38; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_unbox(x_37); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_dec(x_26); +x_39 = lean_ctor_get(x_36, 1); lean_inc(x_39); -x_40 = lean_unbox(x_39); -lean_dec(x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_13); -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_42 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_41); +lean_dec(x_36); +x_40 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_39); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +lean_dec(x_10); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -x_45 = lean_box(x_37); -lean_ctor_set(x_42, 0, x_45); -return x_42; +lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +x_43 = 0; +x_44 = lean_box(x_43); +lean_ctor_set(x_40, 0, x_44); +return x_40; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); -lean_dec(x_42); -x_47 = lean_box(x_37); +lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = 0; +x_47 = lean_box(x_46); x_48 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 1, x_45); return x_48; } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -lean_dec(x_10); -x_49 = lean_ctor_get(x_38, 1); +lean_object* x_49; uint8_t x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_36, 1); lean_inc(x_49); -lean_dec(x_38); -x_50 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); +lean_dec(x_36); +x_50 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_51 = l_Lean_Meta_processPostponed(x_3, x_50, x_4, x_5, x_6, x_7, x_49); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; uint8_t x_53; +x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Std_PersistentArray_append___rarg(x_13, x_51); -x_54 = l_Lean_Meta_setPostponed(x_53, x_4, x_5, x_6, x_7, x_52); +x_53 = lean_unbox(x_52); +lean_dec(x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_dec(x_26); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +lean_dec(x_51); +x_55 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_54); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) +lean_dec(x_10); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) { -lean_object* x_56; uint8_t x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -x_57 = 1; -x_58 = lean_box(x_57); -lean_ctor_set(x_54, 0, x_58); -return x_54; +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +x_58 = lean_box(x_50); +lean_ctor_set(x_55, 0, x_58); +return x_55; } else { -lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_54, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_55, 1); lean_inc(x_59); -lean_dec(x_54); -x_60 = 1; -x_61 = lean_box(x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_59); -return x_62; -} +lean_dec(x_55); +x_60 = lean_box(x_50); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +return x_61; } } else { -lean_object* x_63; lean_object* x_64; -lean_dec(x_13); -x_63 = lean_ctor_get(x_38, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_38, 1); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_10); +x_62 = lean_ctor_get(x_51, 1); +lean_inc(x_62); +lean_dec(x_51); +x_63 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_62); +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec(x_38); -x_15 = x_63; -x_16 = x_64; -goto block_22; -} -} -} -else -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_13); -x_65 = lean_ctor_get(x_23, 0); +x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_23, 1); -lean_inc(x_66); -lean_dec(x_23); -x_15 = x_65; -x_16 = x_66; -goto block_22; -} -block_22: -{ -lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_16); +lean_dec(x_63); +x_66 = l_Std_PersistentArray_append___rarg(x_26, x_64); +x_67 = l_Lean_Meta_setPostponed(x_66, x_4, x_5, x_6, x_7, x_65); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 0); -lean_dec(x_19); -lean_ctor_set_tag(x_17, 1); -lean_ctor_set(x_17, 0, x_15); -return x_17; +lean_object* x_69; uint8_t x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_67, 0); +lean_dec(x_69); +x_70 = 1; +x_71 = lean_box(x_70); +lean_ctor_set(x_67, 0, x_71); +return x_67; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_15); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_67, 1); +lean_inc(x_72); +lean_dec(x_67); +x_73 = 1; +x_74 = lean_box(x_73); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_72); +return x_75; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_26); +x_76 = lean_ctor_get(x_51, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_51, 1); +lean_inc(x_77); +lean_dec(x_51); +x_28 = x_76; +x_29 = x_77; +goto block_35; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_26); +x_78 = lean_ctor_get(x_36, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_36, 1); +lean_inc(x_79); +lean_dec(x_36); +x_28 = x_78; +x_29 = x_79; +goto block_35; +} +block_35: +{ +lean_object* x_30; uint8_t x_31; +x_30 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_29); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_30, 0); +lean_dec(x_32); +lean_ctor_set_tag(x_30, 1); +lean_ctor_set(x_30, 0, x_28); +return x_30; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_28); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +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; lean_object* x_93; lean_object* x_99; +x_80 = lean_ctor_get(x_16, 0); +x_81 = lean_ctor_get(x_16, 1); +x_82 = lean_ctor_get(x_16, 2); +x_83 = lean_ctor_get(x_16, 3); +x_84 = lean_ctor_get(x_16, 4); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_16); +x_85 = l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__5; +x_86 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_86, 0, x_80); +lean_ctor_set(x_86, 1, x_81); +lean_ctor_set(x_86, 2, x_82); +lean_ctor_set(x_86, 3, x_83); +lean_ctor_set(x_86, 4, x_84); +lean_ctor_set(x_86, 5, x_85); +lean_ctor_set(x_15, 1, x_86); +x_87 = lean_st_ref_set(x_5, x_15, x_17); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_99 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isDefEqAssigning(x_1, x_2, x_4, x_5, x_6, x_7, x_91); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; uint8_t x_101; +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; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_90); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +x_103 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_102); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_105 = x_103; +} else { + lean_dec_ref(x_103); + x_105 = lean_box(0); +} +x_106 = 0; +x_107 = lean_box(x_106); +if (lean_is_scalar(x_105)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_105; +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_104); +return x_108; +} +else +{ +lean_object* x_109; uint8_t x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_99, 1); +lean_inc(x_109); +lean_dec(x_99); +x_110 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_111 = l_Lean_Meta_processPostponed(x_3, x_110, x_4, x_5, x_6, x_7, x_109); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; uint8_t x_113; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_unbox(x_112); +lean_dec(x_112); +if (x_113 == 0) +{ +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_dec(x_90); +x_114 = lean_ctor_get(x_111, 1); +lean_inc(x_114); +lean_dec(x_111); +x_115 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_114); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_117 = x_115; +} else { + lean_dec_ref(x_115); + x_117 = lean_box(0); +} +x_118 = lean_box(x_110); +if (lean_is_scalar(x_117)) { + x_119 = lean_alloc_ctor(0, 2, 0); +} else { + x_119 = x_117; +} +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_116); +return x_119; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_10); +x_120 = lean_ctor_get(x_111, 1); +lean_inc(x_120); +lean_dec(x_111); +x_121 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_120); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = l_Std_PersistentArray_append___rarg(x_90, x_122); +x_125 = l_Lean_Meta_setPostponed(x_124, x_4, x_5, x_6, x_7, x_123); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_125)) { + lean_ctor_release(x_125, 0); + lean_ctor_release(x_125, 1); + x_127 = x_125; +} else { + lean_dec_ref(x_125); + x_127 = lean_box(0); +} +x_128 = 1; +x_129 = lean_box(x_128); +if (lean_is_scalar(x_127)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_127; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_126); +return x_130; +} +} +else +{ +lean_object* x_131; lean_object* x_132; +lean_dec(x_90); +x_131 = lean_ctor_get(x_111, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_111, 1); +lean_inc(x_132); +lean_dec(x_111); +x_92 = x_131; +x_93 = x_132; +goto block_98; +} +} +} +else +{ +lean_object* x_133; lean_object* x_134; +lean_dec(x_90); +x_133 = lean_ctor_get(x_99, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_99, 1); +lean_inc(x_134); +lean_dec(x_99); +x_92 = x_133; +x_93 = x_134; +goto block_98; +} +block_98: +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_94 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_93); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_96 = x_94; +} else { + lean_dec_ref(x_94); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); +} else { + x_97 = x_96; + lean_ctor_set_tag(x_97, 1); +} +lean_ctor_set(x_97, 0, x_92); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_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_159; +x_135 = lean_ctor_get(x_15, 0); +x_136 = lean_ctor_get(x_15, 2); +x_137 = lean_ctor_get(x_15, 3); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_15); +x_138 = lean_ctor_get(x_16, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_16, 1); +lean_inc(x_139); +x_140 = lean_ctor_get(x_16, 2); +lean_inc(x_140); +x_141 = lean_ctor_get(x_16, 3); +lean_inc(x_141); +x_142 = lean_ctor_get(x_16, 4); +lean_inc(x_142); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + lean_ctor_release(x_16, 3); + lean_ctor_release(x_16, 4); + lean_ctor_release(x_16, 5); + x_143 = x_16; +} else { + lean_dec_ref(x_16); + x_143 = lean_box(0); +} +x_144 = l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__5; +if (lean_is_scalar(x_143)) { + x_145 = lean_alloc_ctor(0, 6, 0); +} else { + x_145 = x_143; +} +lean_ctor_set(x_145, 0, x_138); +lean_ctor_set(x_145, 1, x_139); +lean_ctor_set(x_145, 2, x_140); +lean_ctor_set(x_145, 3, x_141); +lean_ctor_set(x_145, 4, x_142); +lean_ctor_set(x_145, 5, x_144); +x_146 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_146, 0, x_135); +lean_ctor_set(x_146, 1, x_145); +lean_ctor_set(x_146, 2, x_136); +lean_ctor_set(x_146, 3, x_137); +x_147 = lean_st_ref_set(x_5, x_146, x_17); +x_148 = lean_ctor_get(x_147, 1); +lean_inc(x_148); +lean_dec(x_147); +x_149 = l_Lean_Meta_getResetPostponed(x_4, x_5, x_6, x_7, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_159 = l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isDefEqAssigning(x_1, x_2, x_4, x_5, x_6, x_7, x_151); +if (lean_obj_tag(x_159) == 0) +{ +lean_object* x_160; uint8_t x_161; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_unbox(x_160); +lean_dec(x_160); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_150); +x_162 = lean_ctor_get(x_159, 1); +lean_inc(x_162); +lean_dec(x_159); +x_163 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_162); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_165 = x_163; +} else { + lean_dec_ref(x_163); + x_165 = lean_box(0); +} +x_166 = 0; +x_167 = lean_box(x_166); +if (lean_is_scalar(x_165)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_165; +} +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_164); +return x_168; +} +else +{ +lean_object* x_169; uint8_t x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_159, 1); +lean_inc(x_169); +lean_dec(x_159); +x_170 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_171 = l_Lean_Meta_processPostponed(x_3, x_170, x_4, x_5, x_6, x_7, x_169); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; uint8_t x_173; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_unbox(x_172); +lean_dec(x_172); +if (x_173 == 0) +{ +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_dec(x_150); +x_174 = lean_ctor_get(x_171, 1); +lean_inc(x_174); +lean_dec(x_171); +x_175 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_174); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_177 = x_175; +} else { + lean_dec_ref(x_175); + x_177 = lean_box(0); +} +x_178 = lean_box(x_170); +if (lean_is_scalar(x_177)) { + x_179 = lean_alloc_ctor(0, 2, 0); +} else { + x_179 = x_177; +} +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_176); +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; uint8_t x_188; lean_object* x_189; lean_object* x_190; +lean_dec(x_10); +x_180 = lean_ctor_get(x_171, 1); +lean_inc(x_180); +lean_dec(x_171); +x_181 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, x_180); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_184 = l_Std_PersistentArray_append___rarg(x_150, x_182); +x_185 = l_Lean_Meta_setPostponed(x_184, x_4, x_5, x_6, x_7, x_183); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_186 = lean_ctor_get(x_185, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + lean_ctor_release(x_185, 1); + x_187 = x_185; +} else { + lean_dec_ref(x_185); + x_187 = lean_box(0); +} +x_188 = 1; +x_189 = lean_box(x_188); +if (lean_is_scalar(x_187)) { + x_190 = lean_alloc_ctor(0, 2, 0); +} else { + x_190 = x_187; +} +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_186); +return x_190; +} +} +else +{ +lean_object* x_191; lean_object* x_192; +lean_dec(x_150); +x_191 = lean_ctor_get(x_171, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_171, 1); +lean_inc(x_192); +lean_dec(x_171); +x_152 = x_191; +x_153 = x_192; +goto block_158; +} +} +} +else +{ +lean_object* x_193; lean_object* x_194; +lean_dec(x_150); +x_193 = lean_ctor_get(x_159, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_159, 1); +lean_inc(x_194); +lean_dec(x_159); +x_152 = x_193; +x_153 = x_194; +goto block_158; +} +block_158: +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_154 = l_Lean_Meta_SavedState_restore(x_10, x_4, x_5, x_6, x_7, x_153); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_10); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + x_156 = x_154; +} else { + lean_dec_ref(x_154); + x_156 = lean_box(0); +} +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 2, 0); +} else { + x_157 = x_156; + lean_ctor_set_tag(x_157, 1); +} +lean_ctor_set(x_157, 0, x_152); +lean_ctor_set(x_157, 1, x_155); +return x_157; } } } @@ -33207,6 +33790,16 @@ l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_replaceLPsWithVars___lambda__2__ lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_replaceLPsWithVars___lambda__2___closed__2); l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_replaceLPsWithVars___lambda__2___closed__3 = _init_l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_replaceLPsWithVars___lambda__2___closed__3(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_replaceLPsWithVars___lambda__2___closed__3); +l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__1 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__1); +l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__2 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__2); +l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__3 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__3(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__3); +l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__4 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__4(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__4); +l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__5 = _init_l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__5(); +lean_mark_persistent(l_Lean_Meta_checkpointDefEq___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_checkpointDefEq___spec__1___closed__5); l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHigherOrder___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHigherOrder___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHigherOrder___closed__1); l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isFunLike___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isFunLike___closed__1(); diff --git a/stage0/stdlib/Lean/Server/Completion.c b/stage0/stdlib/Lean/Server/Completion.c index 449b925b40..16f1f5878b 100644 --- a/stage0/stdlib/Lean/Server/Completion.c +++ b/stage0/stdlib/Lean/Server/Completion.c @@ -888,6 +888,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -922,6 +923,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +lean_dec(x_8); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -974,6 +976,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { @@ -1008,6 +1011,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_9); x_22 = !lean_is_exclusive(x_21); if (x_22 == 0) { diff --git a/stage0/stdlib/Lean/Server/FileWorker.c b/stage0/stdlib/Lean/Server/FileWorker.c index 235a1a98fa..64588304ca 100644 --- a/stage0/stdlib/Lean/Server/FileWorker.c +++ b/stage0/stdlib/Lean/Server/FileWorker.c @@ -4270,23 +4270,21 @@ return x_3; static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__6; x_3 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__5; x_4 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__7; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__9() { diff --git a/stage0/stdlib/Lean/Server/References.c b/stage0/stdlib/Lean/Server/References.c index 1046272a1a..409e0b419a 100644 --- a/stage0/stdlib/Lean/Server/References.c +++ b/stage0/stdlib/Lean/Server/References.c @@ -591,23 +591,21 @@ return x_3; static lean_object* _init_l_Lean_Server_instInhabitedReference___closed__16() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Server_instInhabitedReference___closed__14; x_3 = l_Lean_Server_instInhabitedReference___closed__15; x_4 = l_Lean_Server_instInhabitedReference___closed__7; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Server_instInhabitedReference___closed__17() { diff --git a/stage0/stdlib/Lean/Server/Rpc/RequestHandling.c b/stage0/stdlib/Lean/Server/Rpc/RequestHandling.c index e09b432224..b4fc208cfc 100644 --- a/stage0/stdlib/Lean/Server/Rpc/RequestHandling.c +++ b/stage0/stdlib/Lean/Server/Rpc/RequestHandling.c @@ -23,10 +23,9 @@ static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_h static lean_object* l_Lean_Server_registerRpcProcedure___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure___lambda__2___boxed(lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__2; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___closed__1; size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Server_registerRpcProcedure___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4; LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__11; static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__4___closed__1; @@ -53,32 +52,38 @@ LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHand static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__4; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__18; lean_object* l_Lean_Server_FileWorker_instMonadRpcSession___rarg(lean_object*, lean_object*); +static lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__1; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__19; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__5; LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__1; +static lean_object* l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__5___closed__1; static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_32____closed__1; static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___closed__4; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__15; static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_73____closed__1; lean_object* l_Lean_setEnv___at_Lean_Meta_unfoldDeclsFrom___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__4___closed__2; static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_350____closed__1; +LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__6(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__11; uint8_t l_Lean_isCasesOnRecursor(lean_object*, lean_object*); static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__6; lean_object* l_id___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Server_registerBuiltinRpcProcedure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1___boxed(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -static lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__3; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__12; LEAN_EXPORT lean_object* l_Lean_Server_builtinRpcProcedures; LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__3; +LEAN_EXPORT lean_object* l_Lean_compileDecl___at_Lean_Server_registerRpcProcedure___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Server_registerRpcProcedure___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__1(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -96,16 +101,13 @@ static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___closed__2; static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_350____spec__1___lambda__4___closed__1; size_t lean_usize_shift_right(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_compileDecl___at_Lean_Server_registerRpcProcedure___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_List_head_x21___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___closed__3; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__25; uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_101_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_350____spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2; -static lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_32____closed__3; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_contains___at_Lean_Server_registerBuiltinRpcProcedure___spec__5___boxed(lean_object*, lean_object*); @@ -130,7 +132,7 @@ uint8_t l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(lean_object*, lea lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__1; -LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__13; LEAN_EXPORT lean_object* l_Lean_Server_userRpcProcedures; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); @@ -139,17 +141,14 @@ lean_object* l_Lean_Json_compress(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___spec__2___boxed(lean_object*, lean_object*, lean_object*); static size_t l_Std_PersistentHashMap_findAux___at___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___spec__2___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Server_registerRpcProcedure___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Server_registerRpcProcedure___lambda__2(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__6___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addAndCompile___at_Lean_Server_registerRpcProcedure___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_instInhabitedRpcProcedure___rarg___closed__2; lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____lambda__2___closed__2; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__7; -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_Server_registerBuiltinRpcProcedure___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__9; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__2; @@ -162,7 +161,8 @@ LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__4(lean_object* lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insert___at_Lean_Server_registerLspRequestHandler___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__21; -LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Server_registerRpcProcedure___spec__7(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkMapDeclarationExtension___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_containsAtAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -172,7 +172,6 @@ lean_object* l_Nat_repr(lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__4; static lean_object* l_Lean_Server_registerRpcProcedure___closed__4; lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__1; static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___closed__2; uint8_t lean_uint64_dec_lt(uint64_t, uint64_t); @@ -184,12 +183,14 @@ static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__24; lean_object* l_Lean_Server_RequestM_bindTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_350____spec__1___lambda__1(lean_object*); +static lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__2; uint8_t l_Std_PersistentHashMap_contains___at_Lean_Server_registerLspRequestHandler___spec__6(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__5(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); +static lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__1; LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_350____spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___closed__1; lean_object* l_Lean_Server_RequestM_mapTask___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -198,6 +199,7 @@ static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling_ static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__16; LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Server_wrapRpcProcedure___spec__3(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__3; +LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_instInhabitedRpcProcedure___rarg___closed__4; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__5; static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__3; @@ -224,6 +226,7 @@ static lean_object* l_Lean_Server_registerRpcProcedure___lambda__4___closed__3; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__18; extern lean_object* l_Lean_warningAsError; static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__15; +lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__22; lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); @@ -240,7 +243,6 @@ LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__3___boxed(lean lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at___private_Lean_Meta_Match_Value_0__Lean_Meta_isUIntTypeName___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); @@ -262,14 +264,13 @@ uint8_t lean_usize_dec_le(size_t, size_t); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Server_registerRpcProcedure___spec__6(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__11; lean_object* l_Lean_quoteNameMk(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Server_registerRpcProcedure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure(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_Elab_Command_instInhabitedScope; uint8_t lean_is_aux_recursor(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -277,22 +278,22 @@ static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_h static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__3___closed__1; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__12; static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___closed__5; -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__19; LEAN_EXPORT uint8_t l_Std_PersistentHashMap_contains___at_Lean_Server_registerBuiltinRpcProcedure___spec__5(lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__6; lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); -static lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4; static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_350____spec__1___lambda__3___closed__2; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_endPos(lean_object*); +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_350____spec__2(lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__23; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__25; +LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Server_registerRpcProcedure___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instInhabitedRpcProcedure___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_StateT_instMonadStateT___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instInhabitedRpcProcedure___rarg(lean_object*); @@ -302,17 +303,14 @@ uint8_t l_Lean_MapDeclarationExtension_contains___rarg(lean_object*, lean_object static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__20; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_Server_wrapRpcProcedure___lambda__1___closed__6; -LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__3; lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); extern lean_object* l_Lean_Expr_instBEqExpr; -lean_object* l_Lean_Elab_Term_withoutErrToSorry___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__10; lean_object* lean_io_initializing(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_350____spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___closed__3; -static lean_object* l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__4___closed__1; +LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_syntax_ident(lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__21; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__1___boxed(lean_object*, lean_object*); @@ -326,12 +324,14 @@ LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_Server_wrapRpcProcedure___s lean_object* l_instMonadStateOfStateT___rarg(lean_object*); uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__8; +LEAN_EXPORT uint8_t l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_350____spec__1___lambda__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Declaration_foldExprM___at_Lean_Declaration_hasSorry___spec__1(lean_object*, uint8_t); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__1___closed__20; lean_object* lean_usize_to_nat(size_t); LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1(lean_object*, lean_object*); +static lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1330_(lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__4___closed__4; LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_wrapRpcProcedure___spec__2___rarg(lean_object*, lean_object*, lean_object*); @@ -341,7 +341,6 @@ static lean_object* l_Lean_Server_instInhabitedRpcProcedure___rarg___closed__3; static lean_object* l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_1484____closed__1; LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_350____spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_env(lean_object*); -LEAN_EXPORT lean_object* l_Lean_addAndCompile___at_Lean_Server_registerRpcProcedure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors; lean_object* l_Std_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__9; @@ -350,11 +349,13 @@ static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_h lean_object* l_Lean_Server_RequestM_readDoc(lean_object*, lean_object*); static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__4; LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__3; LEAN_EXPORT lean_object* l_Lean_Server_wrapRpcProcedure___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_350____spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__7; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Server_registerBuiltinRpcProcedure___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_handleRpcCallUnsafe___lambda__3___closed__13; static lean_object* l_Lean_Server_registerRpcProcedure___lambda__3___closed__17; @@ -3447,7 +3448,15 @@ lean_dec(x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Server_registerRpcProcedure___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; @@ -3459,7 +3468,7 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Server_registerRpcProcedure___spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Server_registerRpcProcedure___spec__7(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_257; uint8_t x_258; @@ -4310,20 +4319,20 @@ return x_255; } } } -LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__5(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__6(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; x_6 = lean_ctor_get(x_3, 5); lean_inc(x_6); -x_7 = l_Lean_logAt___at_Lean_Server_registerRpcProcedure___spec__6(x_6, x_1, x_2, x_3, x_4, x_5); +x_7 = l_Lean_logAt___at_Lean_Server_registerRpcProcedure___spec__7(x_6, x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_6); return x_7; } } -static lean_object* _init_l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__4___closed__1() { +static lean_object* _init_l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__5___closed__1() { _start: { lean_object* x_1; @@ -4331,32 +4340,32 @@ x_1 = l_Lean_warningAsError; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_2, 2); lean_inc(x_5); -x_6 = l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__4___closed__1; +x_6 = l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__5___closed__1; x_7 = l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(x_5, x_6); lean_dec(x_5); if (x_7 == 0) { uint8_t x_8; lean_object* x_9; x_8 = 1; -x_9 = l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__5(x_1, x_8, x_2, x_3, x_4); +x_9 = l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__6(x_1, x_8, x_2, x_3, x_4); return x_9; } else { uint8_t x_10; lean_object* x_11; x_10 = 2; -x_11 = l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__5(x_1, x_10, x_2, x_3, x_4); +x_11 = l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__6(x_1, x_10, x_2, x_3, x_4); return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -4378,7 +4387,7 @@ lean_object* x_11; lean_object* x_12; x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); lean_dec(x_10); -x_12 = l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__3(x_11, x_3, x_4, x_8); +x_12 = l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__4(x_11, x_3, x_4, x_8); lean_dec(x_4); return x_12; } @@ -4395,7 +4404,7 @@ return x_14; } } } -static lean_object* _init_l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__1() { +static lean_object* _init_l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__1() { _start: { lean_object* x_1; @@ -4403,27 +4412,27 @@ x_1 = lean_mk_string_from_bytes("declaration uses 'sorry'", 24); return x_1; } } -static lean_object* _init_l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__2() { +static lean_object* _init_l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__1; +x_1 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__3() { +static lean_object* _init_l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__2; +x_1 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -4447,22 +4456,22 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_box(0); -x_13 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___lambda__1(x_1, x_12, x_2, x_3, x_7); +x_13 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___lambda__1(x_1, x_12, x_2, x_3, x_7); return x_13; } else { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_14 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__3; +x_14 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__3; lean_inc(x_3); lean_inc(x_2); -x_15 = l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__4(x_14, x_2, x_3, x_7); +x_15 = l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__5(x_14, x_2, x_3, x_7); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___lambda__1(x_1, x_16, x_2, x_3, x_17); +x_18 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___lambda__1(x_1, x_16, x_2, x_3, x_17); return x_18; } } @@ -4470,12 +4479,12 @@ else { lean_object* x_19; lean_object* x_20; x_19 = lean_box(0); -x_20 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___lambda__1(x_1, x_19, x_2, x_3, x_7); +x_20 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___lambda__1(x_1, x_19, x_2, x_3, x_7); return x_20; } } } -LEAN_EXPORT uint8_t l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 4) @@ -4589,7 +4598,7 @@ return x_22; } } } -static lean_object* _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__1() { +static lean_object* _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__1() { _start: { lean_object* x_1; @@ -4597,16 +4606,16 @@ x_1 = lean_mk_string_from_bytes("code generator does not support recursor '", 42 return x_1; } } -static lean_object* _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2() { +static lean_object* _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__1; +x_1 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__3() { +static lean_object* _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__3() { _start: { lean_object* x_1; @@ -4614,16 +4623,16 @@ x_1 = lean_mk_string_from_bytes("' yet, consider using 'match ... with' and/or s return x_1; } } -static lean_object* _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4() { +static lean_object* _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__3; +x_1 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { if (lean_obj_tag(x_3) == 0) @@ -4650,7 +4659,7 @@ x_32 = lean_ctor_get(x_31, 2); lean_inc(x_32); lean_dec(x_31); lean_inc(x_1); -x_33 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1___boxed), 2, 1); +x_33 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1___boxed), 2, 1); lean_closure_set(x_33, 0, x_1); x_34 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_33, x_32); if (lean_obj_tag(x_34) == 0) @@ -4675,11 +4684,11 @@ lean_inc(x_36); lean_dec(x_35); x_37 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_37, 0, x_36); -x_38 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2; +x_38 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2; x_39 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); -x_40 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4; +x_40 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4; x_41 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_41, 0, x_39); lean_ctor_set(x_41, 1, x_40); @@ -4717,7 +4726,7 @@ x_11 = lean_ctor_get(x_8, 1); lean_inc(x_11); lean_dec(x_8); lean_inc(x_1); -x_12 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1___boxed), 2, 1); +x_12 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1___boxed), 2, 1); lean_closure_set(x_12, 0, x_1); x_13 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_12, x_11); if (lean_obj_tag(x_13) == 0) @@ -4745,11 +4754,11 @@ lean_inc(x_17); lean_dec(x_16); x_18 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_18, 0, x_17); -x_19 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2; +x_19 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4; +x_21 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -4788,7 +4797,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { if (lean_obj_tag(x_3) == 0) @@ -4813,7 +4822,7 @@ x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); lean_inc(x_1); -x_11 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1___boxed), 2, 1); +x_11 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1___boxed), 2, 1); lean_closure_set(x_11, 0, x_1); x_12 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_11, x_10); if (lean_obj_tag(x_12) == 0) @@ -4840,11 +4849,11 @@ lean_inc(x_16); lean_dec(x_15); x_17 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_17, 0, x_16); -x_18 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2; +x_18 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); -x_20 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4; +x_20 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4; x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); @@ -4881,7 +4890,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { if (lean_obj_tag(x_3) == 0) @@ -4905,7 +4914,7 @@ lean_dec(x_3); x_19 = lean_ctor_get(x_8, 1); lean_inc(x_19); lean_inc(x_1); -x_20 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1___boxed), 2, 1); +x_20 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1___boxed), 2, 1); lean_closure_set(x_20, 0, x_1); x_21 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_20, x_19); if (lean_obj_tag(x_21) == 0) @@ -4916,7 +4925,7 @@ lean_inc(x_22); lean_dec(x_8); x_23 = lean_box(0); lean_inc(x_1); -x_24 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11(x_1, x_23, x_22, x_4, x_5, x_6); +x_24 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__12(x_1, x_23, x_22, x_4, x_5, x_6); x_10 = x_24; goto block_18; } @@ -4935,11 +4944,11 @@ lean_inc(x_26); lean_dec(x_25); x_27 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_27, 0, x_26); -x_28 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2; +x_28 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2; x_29 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); -x_30 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4; +x_30 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4; x_31 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_31, 0, x_29); lean_ctor_set(x_31, 1, x_30); @@ -4974,7 +4983,7 @@ lean_inc(x_37); lean_dec(x_8); x_38 = lean_box(0); lean_inc(x_1); -x_39 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11(x_1, x_38, x_37, x_4, x_5, x_6); +x_39 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__12(x_1, x_38, x_37, x_4, x_5, x_6); x_10 = x_39; goto block_18; } @@ -5022,7 +5031,7 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { switch (lean_obj_tag(x_2)) { @@ -5039,7 +5048,7 @@ lean_dec(x_7); x_9 = lean_ctor_get(x_8, 2); lean_inc(x_9); lean_dec(x_8); -x_10 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1___boxed), 2, 1); +x_10 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1___boxed), 2, 1); lean_closure_set(x_10, 0, x_1); x_11 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_10, x_9); if (lean_obj_tag(x_11) == 0) @@ -5065,11 +5074,11 @@ lean_inc(x_15); lean_dec(x_14); x_16 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_16, 0, x_15); -x_17 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2; +x_17 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2; x_18 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -x_19 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4; +x_19 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); @@ -5104,7 +5113,7 @@ x_27 = lean_ctor_get(x_25, 2); lean_inc(x_27); lean_dec(x_25); lean_inc(x_1); -x_44 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1___boxed), 2, 1); +x_44 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1___boxed), 2, 1); lean_closure_set(x_44, 0, x_1); x_45 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_44, x_27); if (lean_obj_tag(x_45) == 0) @@ -5128,11 +5137,11 @@ lean_inc(x_47); lean_dec(x_46); x_48 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_48, 0, x_47); -x_49 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2; +x_49 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2; x_50 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); -x_51 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4; +x_51 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4; x_52 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_52, 0, x_50); lean_ctor_set(x_52, 1, x_51); @@ -5166,7 +5175,7 @@ goto block_43; block_43: { lean_object* x_29; lean_object* x_30; -x_29 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1___boxed), 2, 1); +x_29 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1___boxed), 2, 1); lean_closure_set(x_29, 0, x_1); x_30 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_29, x_26); if (lean_obj_tag(x_30) == 0) @@ -5192,11 +5201,11 @@ lean_inc(x_34); lean_dec(x_33); x_35 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_35, 0, x_34); -x_36 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2; +x_36 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2; x_37 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); -x_38 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4; +x_38 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4; x_39 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_39, 0, x_37); lean_ctor_set(x_39, 1, x_38); @@ -5232,7 +5241,7 @@ x_61 = lean_ctor_get(x_59, 2); lean_inc(x_61); lean_dec(x_59); lean_inc(x_1); -x_78 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1___boxed), 2, 1); +x_78 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1___boxed), 2, 1); lean_closure_set(x_78, 0, x_1); x_79 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_78, x_61); if (lean_obj_tag(x_79) == 0) @@ -5256,11 +5265,11 @@ lean_inc(x_81); lean_dec(x_80); x_82 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_82, 0, x_81); -x_83 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2; +x_83 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2; x_84 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_82); -x_85 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4; +x_85 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4; x_86 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_86, 0, x_84); lean_ctor_set(x_86, 1, x_85); @@ -5294,7 +5303,7 @@ goto block_77; block_77: { lean_object* x_63; lean_object* x_64; -x_63 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1___boxed), 2, 1); +x_63 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1___boxed), 2, 1); lean_closure_set(x_63, 0, x_1); x_64 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_63, x_60); if (lean_obj_tag(x_64) == 0) @@ -5320,11 +5329,11 @@ lean_inc(x_68); lean_dec(x_67); x_69 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_69, 0, x_68); -x_70 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2; +x_70 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2; x_71 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_69); -x_72 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4; +x_72 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4; x_73 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_73, 0, x_71); lean_ctor_set(x_73, 1, x_72); @@ -5360,7 +5369,7 @@ x_95 = lean_ctor_get(x_93, 2); lean_inc(x_95); lean_dec(x_93); lean_inc(x_1); -x_112 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1___boxed), 2, 1); +x_112 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1___boxed), 2, 1); lean_closure_set(x_112, 0, x_1); x_113 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_112, x_95); if (lean_obj_tag(x_113) == 0) @@ -5384,11 +5393,11 @@ lean_inc(x_115); lean_dec(x_114); x_116 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_116, 0, x_115); -x_117 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2; +x_117 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2; x_118 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_118, 0, x_117); lean_ctor_set(x_118, 1, x_116); -x_119 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4; +x_119 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4; x_120 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_120, 0, x_118); lean_ctor_set(x_120, 1, x_119); @@ -5422,7 +5431,7 @@ goto block_111; block_111: { lean_object* x_97; lean_object* x_98; -x_97 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1___boxed), 2, 1); +x_97 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1___boxed), 2, 1); lean_closure_set(x_97, 0, x_1); x_98 = l_Lean_Expr_FindImpl_findUnsafe_x3f(x_97, x_94); if (lean_obj_tag(x_98) == 0) @@ -5448,11 +5457,11 @@ lean_inc(x_102); lean_dec(x_101); x_103 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_103, 0, x_102); -x_104 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2; +x_104 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2; x_105 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_105, 0, x_104); lean_ctor_set(x_105, 1, x_103); -x_106 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4; +x_106 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4; x_107 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_107, 0, x_105); lean_ctor_set(x_107, 1, x_106); @@ -5487,7 +5496,7 @@ lean_object* x_127; lean_object* x_128; x_127 = lean_ctor_get(x_2, 0); lean_inc(x_127); lean_dec(x_2); -x_128 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10(x_1, x_3, x_127, x_4, x_5, x_6); +x_128 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11(x_1, x_3, x_127, x_4, x_5, x_6); return x_128; } default: @@ -5496,13 +5505,13 @@ lean_object* x_129; lean_object* x_130; x_129 = lean_ctor_get(x_2, 2); lean_inc(x_129); lean_dec(x_2); -x_130 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__12(x_1, x_3, x_129, x_4, x_5, x_6); +x_130 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__13(x_1, x_3, x_129, x_4, x_5, x_6); return x_130; } } } } -LEAN_EXPORT lean_object* l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Server_registerRpcProcedure___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Server_registerRpcProcedure___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -5516,13 +5525,13 @@ x_8 = lean_ctor_get(x_6, 0); lean_inc(x_8); lean_dec(x_6); x_9 = lean_box(0); -x_10 = l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__9(x_8, x_1, x_9, x_2, x_3, x_7); +x_10 = l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__10(x_8, x_1, x_9, x_2, x_3, x_7); lean_dec(x_3); lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_compileDecl___at_Lean_Server_registerRpcProcedure___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_compileDecl___at_Lean_Server_registerRpcProcedure___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -5554,7 +5563,7 @@ lean_inc(x_12); lean_dec(x_11); lean_inc(x_3); lean_inc(x_2); -x_13 = l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Server_registerRpcProcedure___spec__8(x_1, x_2, x_3, x_7); +x_13 = l___private_Lean_MonadEnv_0__Lean_checkUnsupported___at_Lean_Server_registerRpcProcedure___spec__9(x_1, x_2, x_3, x_7); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -5600,7 +5609,7 @@ else { lean_object* x_22; lean_dec(x_1); -x_22 = l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__3(x_11, x_2, x_3, x_7); +x_22 = l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__4(x_11, x_2, x_3, x_7); lean_dec(x_3); return x_22; } @@ -5619,21 +5628,21 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_addAndCompile___at_Lean_Server_registerRpcProcedure___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_addAndCompile___at_Lean_Server_registerRpcProcedure___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_5 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3(x_1, x_2, x_3, x_4); if (lean_obj_tag(x_5) == 0) { lean_object* x_6; lean_object* x_7; x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = l_Lean_compileDecl___at_Lean_Server_registerRpcProcedure___spec__7(x_1, x_2, x_3, x_6); +x_7 = l_Lean_compileDecl___at_Lean_Server_registerRpcProcedure___spec__8(x_1, x_2, x_3, x_6); return x_7; } else @@ -6449,23 +6458,21 @@ return x_3; static lean_object* _init_l_Lean_Server_registerRpcProcedure___lambda__3___closed__17() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Server_registerRpcProcedure___lambda__3___closed__15; x_3 = l_Lean_Server_registerRpcProcedure___lambda__3___closed__16; x_4 = l_Lean_Server_initFn____x40_Lean_Server_Rpc_RequestHandling___hyg_32____closed__3; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Server_registerRpcProcedure___lambda__3___closed__18() { @@ -6554,14 +6561,13 @@ x_1 = l_Lean_Server_registerRpcProcedure___lambda__3___closed__18; x_2 = l_Lean_Server_registerRpcProcedure___lambda__3___closed__20; x_3 = l_Lean_Server_registerRpcProcedure___lambda__3___closed__21; x_4 = l_Lean_Server_registerRpcProcedure___lambda__3___closed__24; -x_5 = lean_alloc_ctor(0, 7, 0); +x_5 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); lean_ctor_set(x_5, 2, x_3); lean_ctor_set(x_5, 3, x_1); lean_ctor_set(x_5, 4, x_1); lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_4); return x_5; } } @@ -6594,7 +6600,7 @@ x_10 = lean_alloc_closure((void*)(l_Lean_Server_registerRpcProcedure___lambda__1 lean_closure_set(x_10, 0, x_8); lean_closure_set(x_10, 1, x_1); lean_closure_set(x_10, 2, x_9); -x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___rarg), 8, 1); +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Server_registerRpcProcedure___spec__1), 8, 1); lean_closure_set(x_11, 0, x_10); x_12 = lean_st_ref_get(x_4, x_5); x_13 = lean_ctor_get(x_12, 1); @@ -6655,7 +6661,7 @@ x_34 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_34, 0, x_33); lean_inc(x_4); lean_inc(x_3); -x_35 = l_Lean_addAndCompile___at_Lean_Server_registerRpcProcedure___spec__1(x_34, x_3, x_4, x_28); +x_35 = l_Lean_addAndCompile___at_Lean_Server_registerRpcProcedure___spec__2(x_34, x_3, x_4, x_28); if (lean_obj_tag(x_35) == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; @@ -6928,57 +6934,47 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwKernelException___at_Lean_Server_registerRpcProcedure___spec__4(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Server_registerRpcProcedure___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) { +LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Server_registerRpcProcedure___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_3); lean_dec(x_3); -x_8 = l_Lean_logAt___at_Lean_Server_registerRpcProcedure___spec__6(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l_Lean_logAt___at_Lean_Server_registerRpcProcedure___spec__7(x_1, x_2, x_7, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Server_registerRpcProcedure___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 = lean_unbox(x_2); lean_dec(x_2); -x_7 = l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__5(x_1, x_6, x_3, x_4, x_5); +x_7 = l_Lean_log___at_Lean_Server_registerRpcProcedure___spec__6(x_1, x_6, x_3, x_4, x_5); return x_7; } } -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___lambda__1(x_1, x_2); +x_3 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___lambda__1(x_1, x_2); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_7; -} -} LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___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: { @@ -6999,11 +6995,21 @@ lean_dec(x_4); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__9___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_EXPORT lean_object* l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__13___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_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__9(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__13(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Declaration_foldExprM___at_Lean_Server_registerRpcProcedure___spec__10(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); return x_7; @@ -7319,22 +7325,22 @@ l_Lean_Server_registerBuiltinRpcProcedure___closed__2 = _init_l_Lean_Server_regi lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___closed__2); l_Lean_Server_registerBuiltinRpcProcedure___closed__3 = _init_l_Lean_Server_registerBuiltinRpcProcedure___closed__3(); lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___closed__3); -l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__4___closed__1 = _init_l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__4___closed__1(); -lean_mark_persistent(l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__4___closed__1); -l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__1 = _init_l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__1(); -lean_mark_persistent(l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__1); -l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__2 = _init_l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__2(); -lean_mark_persistent(l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__2); -l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__3 = _init_l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__3(); -lean_mark_persistent(l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__2___closed__3); -l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__1 = _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__1(); -lean_mark_persistent(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__1); -l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2 = _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2(); -lean_mark_persistent(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__2); -l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__3 = _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__3(); -lean_mark_persistent(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__3); -l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4 = _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4(); -lean_mark_persistent(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__10___closed__4); +l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__5___closed__1 = _init_l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__5___closed__1(); +lean_mark_persistent(l_Lean_logWarning___at_Lean_Server_registerRpcProcedure___spec__5___closed__1); +l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__1 = _init_l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__1(); +lean_mark_persistent(l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__1); +l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__2 = _init_l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__2(); +lean_mark_persistent(l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__2); +l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__3 = _init_l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__3(); +lean_mark_persistent(l_Lean_addDecl___at_Lean_Server_registerRpcProcedure___spec__3___closed__3); +l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__1 = _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__1(); +lean_mark_persistent(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__1); +l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2 = _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2(); +lean_mark_persistent(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__2); +l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__3 = _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__3(); +lean_mark_persistent(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__3); +l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4 = _init_l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4(); +lean_mark_persistent(l_List_foldlM___at_Lean_Server_registerRpcProcedure___spec__11___closed__4); l_Lean_Server_registerRpcProcedure___lambda__1___closed__1 = _init_l_Lean_Server_registerRpcProcedure___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Server_registerRpcProcedure___lambda__1___closed__1); l_Lean_Server_registerRpcProcedure___lambda__1___closed__2 = _init_l_Lean_Server_registerRpcProcedure___lambda__1___closed__2(); diff --git a/stage0/stdlib/Lean/Util/OccursCheck.c b/stage0/stdlib/Lean/Util/OccursCheck.c index 1781c3e82d..03912950ae 100644 --- a/stage0/stdlib/Lean/Util/OccursCheck.c +++ b/stage0/stdlib/Lean/Util/OccursCheck.c @@ -13,41 +13,32 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__3(lean_object*); lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_occursCheck___rarg___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_occursCheck_visitMVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__4___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__2(lean_object*); +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_mkHashSetImp___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_occursCheck_visit___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_occursCheck_visit___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_occursCheck_visitMVar___rarg___closed__1; -static lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_occursCheck_visit___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_occursCheck___rarg___lambda__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashSetImp_insert___at___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit___spec__3(lean_object*, lean_object*); -static lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_occursCheck_visit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getExprAssignmentCore_x3f(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_occursCheck_visit___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_occursCheck_visitMVar___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_occursCheck___rarg___closed__1; +static lean_object* l_Lean_occursCheck_visitMVar___rarg___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_occursCheck_visitMVar(lean_object*); uint8_t l_Std_HashSetImp_contains___at___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_occursCheck(lean_object*); @@ -55,55 +46,7 @@ LEAN_EXPORT lean_object* l_Lean_occursCheck_visit(lean_object*); LEAN_EXPORT lean_object* l_Lean_occursCheck_visit___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_occursCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_occursCheck_visitMVar___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__1(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = !lean_is_exclusive(x_1); -if (x_2 == 0) -{ -uint8_t x_3; -x_3 = 1; -lean_ctor_set_uint8(x_1, sizeof(void*)*8, x_3); -return x_1; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; -x_4 = lean_ctor_get(x_1, 0); -x_5 = lean_ctor_get(x_1, 1); -x_6 = lean_ctor_get(x_1, 2); -x_7 = lean_ctor_get(x_1, 3); -x_8 = lean_ctor_get(x_1, 4); -x_9 = lean_ctor_get(x_1, 5); -x_10 = lean_ctor_get(x_1, 6); -x_11 = lean_ctor_get(x_1, 7); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_dec(x_1); -x_12 = 1; -x_13 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_5); -lean_ctor_set(x_13, 2, x_6); -lean_ctor_set(x_13, 3, x_7); -lean_ctor_set(x_13, 4, x_8); -lean_ctor_set(x_13, 5, x_9); -lean_ctor_set(x_13, 6, x_10); -lean_ctor_set(x_13, 7, x_11); -lean_ctor_set_uint8(x_13, sizeof(void*)*8, x_12); -return x_13; -} -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__1(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; @@ -120,7 +63,7 @@ x_7 = lean_apply_2(x_5, lean_box(0), x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__2(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -165,143 +108,6 @@ return x_15; } } } -static lean_object* _init_l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__1), 1, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_4 = lean_ctor_get(x_2, 1); -lean_inc(x_4); -lean_dec(x_2); -x_5 = l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___closed__1; -x_6 = lean_apply_1(x_4, x_5); -x_7 = lean_ctor_get(x_1, 1); -lean_inc(x_7); -lean_inc(x_1); -x_8 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__2), 3, 2); -lean_closure_set(x_8, 0, x_1); -lean_closure_set(x_8, 1, x_3); -lean_inc(x_7); -x_9 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_6, x_8); -x_10 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__3), 2, 1); -lean_closure_set(x_10, 0, x_1); -x_11 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_9, x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg), 3, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_5, 0, x_1); -x_6 = lean_ctor_get(x_2, 0); -lean_inc(x_6); -lean_dec(x_2); -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); -lean_dec(x_6); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_5); -lean_ctor_set(x_8, 1, x_4); -x_9 = lean_apply_2(x_7, lean_box(0), x_8); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -if (lean_obj_tag(x_4) == 0) -{ -uint8_t x_5; -lean_dec(x_2); -x_5 = !lean_is_exclusive(x_3); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_3, 0); -lean_dec(x_6); -x_7 = !lean_is_exclusive(x_4); -if (x_7 == 0) -{ -lean_object* x_8; -x_8 = lean_apply_2(x_1, lean_box(0), x_3); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_4, 0); -lean_inc(x_9); -lean_dec(x_4); -x_10 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_3, 0, x_10); -x_11 = lean_apply_2(x_1, lean_box(0), x_3); -return x_11; -} -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_12 = lean_ctor_get(x_3, 1); -lean_inc(x_12); -lean_dec(x_3); -x_13 = lean_ctor_get(x_4, 0); -lean_inc(x_13); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - x_14 = x_4; -} else { - lean_dec_ref(x_4); - x_14 = lean_box(0); -} -if (lean_is_scalar(x_14)) { - x_15 = lean_alloc_ctor(0, 1, 0); -} else { - x_15 = x_14; -} -lean_ctor_set(x_15, 0, 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_12); -x_17 = lean_apply_2(x_1, lean_box(0), x_16); -return x_17; -} -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_1); -x_18 = lean_ctor_get(x_3, 1); -lean_inc(x_18); -lean_dec(x_3); -x_19 = lean_ctor_get(x_4, 0); -lean_inc(x_19); -lean_dec(x_4); -x_20 = lean_apply_2(x_2, x_19, x_18); -return x_20; -} -} -} LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -386,215 +192,82 @@ return x_23; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_1); -x_24 = lean_ctor_get(x_3, 1); -lean_inc(x_24); -lean_dec(x_3); -x_25 = lean_ctor_get(x_4, 0); -lean_inc(x_25); -lean_dec(x_4); -x_26 = lean_apply_2(x_2, x_25, x_24); -return x_26; -} -} -} -static lean_object* _init_l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1() { -_start: +uint8_t x_24; +x_24 = !lean_is_exclusive(x_3); +if (x_24 == 0) { -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_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) -{ -uint8_t x_7; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_7 = !lean_is_exclusive(x_5); -if (x_7 == 0) -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_ctor_get(x_5, 0); -lean_dec(x_8); -x_9 = !lean_is_exclusive(x_6); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_apply_2(x_11, lean_box(0), x_5); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_6, 0); -lean_inc(x_13); -lean_dec(x_6); -x_14 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_14, 0, x_13); -x_15 = lean_ctor_get(x_1, 0); -lean_inc(x_15); -lean_dec(x_1); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -lean_ctor_set(x_5, 0, x_14); -x_17 = lean_apply_2(x_16, lean_box(0), x_5); -return x_17; -} -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_18 = lean_ctor_get(x_5, 1); -lean_inc(x_18); -lean_dec(x_5); -x_19 = lean_ctor_get(x_6, 0); -lean_inc(x_19); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - x_20 = x_6; -} else { - lean_dec_ref(x_6); - x_20 = lean_box(0); -} -if (lean_is_scalar(x_20)) { - x_21 = lean_alloc_ctor(0, 1, 0); -} else { - x_21 = x_20; -} -lean_ctor_set(x_21, 0, x_19); -x_22 = lean_ctor_get(x_1, 0); -lean_inc(x_22); -lean_dec(x_1); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_21); -lean_ctor_set(x_24, 1, x_18); -x_25 = lean_apply_2(x_23, lean_box(0), x_24); -return x_25; -} -} -else -{ -uint8_t x_26; -x_26 = !lean_is_exclusive(x_5); +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_3, 0); +lean_dec(x_25); +x_26 = !lean_is_exclusive(x_4); if (x_26 == 0) { 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_5, 1); -x_28 = lean_ctor_get(x_5, 0); -lean_dec(x_28); -x_29 = lean_ctor_get(x_6, 0); +x_27 = lean_ctor_get(x_4, 0); +x_28 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_27, x_2); +lean_ctor_set(x_4, 0, x_28); +x_29 = lean_ctor_get(x_1, 0); lean_inc(x_29); -lean_dec(x_6); -x_30 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_29, x_2); -lean_inc(x_1); +lean_dec(x_1); +x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); -x_31 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__1___boxed), 4, 2); -lean_closure_set(x_31, 0, x_30); -lean_closure_set(x_31, 1, x_1); -if (lean_obj_tag(x_30) == 0) +lean_dec(x_29); +x_31 = lean_apply_2(x_30, lean_box(0), x_3); +return x_31; +} +else { lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_4); -x_32 = lean_ctor_get(x_1, 0); +x_32 = lean_ctor_get(x_4, 0); lean_inc(x_32); +lean_dec(x_4); +x_33 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_32, x_2); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = lean_ctor_get(x_1, 0); +lean_inc(x_35); lean_dec(x_1); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_34 = l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1; -lean_ctor_set(x_5, 0, x_34); -lean_inc(x_33); -x_35 = lean_apply_2(x_33, lean_box(0), x_5); -x_36 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__2), 3, 2); -lean_closure_set(x_36, 0, x_33); -lean_closure_set(x_36, 1, x_31); -x_37 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_35, x_36); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +lean_ctor_set(x_3, 0, x_34); +x_37 = lean_apply_2(x_36, lean_box(0), x_3); return x_37; } -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_dec(x_30); -lean_free_object(x_5); -lean_inc(x_1); -x_38 = l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg(x_1, x_4, x_27); -x_39 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__3), 3, 2); -lean_closure_set(x_39, 0, x_1); -lean_closure_set(x_39, 1, x_31); -x_40 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_38, x_39); -return x_40; -} } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_41 = lean_ctor_get(x_5, 1); -lean_inc(x_41); -lean_dec(x_5); -x_42 = lean_ctor_get(x_6, 0); -lean_inc(x_42); -lean_dec(x_6); -x_43 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_42, x_2); -lean_inc(x_1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_38 = lean_ctor_get(x_3, 1); +lean_inc(x_38); +lean_dec(x_3); +x_39 = lean_ctor_get(x_4, 0); +lean_inc(x_39); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + x_40 = x_4; +} else { + lean_dec_ref(x_4); + x_40 = lean_box(0); +} +x_41 = l_Lean_MetavarContext_getExprAssignmentCore_x3f(x_39, x_2); +if (lean_is_scalar(x_40)) { + x_42 = lean_alloc_ctor(1, 1, 0); +} else { + x_42 = x_40; +} +lean_ctor_set(x_42, 0, x_41); +x_43 = lean_ctor_get(x_1, 0); lean_inc(x_43); -x_44 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__1___boxed), 4, 2); -lean_closure_set(x_44, 0, x_43); -lean_closure_set(x_44, 1, x_1); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -lean_dec(x_4); -x_45 = lean_ctor_get(x_1, 0); -lean_inc(x_45); lean_dec(x_1); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1; -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_41); -lean_inc(x_46); -x_49 = lean_apply_2(x_46, lean_box(0), x_48); -x_50 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__2), 3, 2); -lean_closure_set(x_50, 0, x_46); -lean_closure_set(x_50, 1, x_44); -x_51 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_49, x_50); -return x_51; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); lean_dec(x_43); -lean_inc(x_1); -x_52 = l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg(x_1, x_4, x_41); -x_53 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__3), 3, 2); -lean_closure_set(x_53, 0, x_1); -lean_closure_set(x_53, 1, x_44); -x_54 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_52, x_53); -return x_54; -} +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_38); +x_46 = lean_apply_2(x_44, lean_box(0), x_45); +return x_46; } } } @@ -605,25 +278,23 @@ _start: lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_5 = lean_ctor_get(x_2, 0); lean_inc(x_5); +lean_dec(x_2); x_6 = lean_ctor_get(x_1, 1); lean_inc(x_6); lean_inc(x_1); -x_7 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__2), 3, 2); +x_7 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__1), 3, 2); lean_closure_set(x_7, 0, x_1); lean_closure_set(x_7, 1, x_4); lean_inc(x_6); x_8 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_5, x_7); lean_inc(x_1); -x_9 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__3), 2, 1); +x_9 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__2), 2, 1); lean_closure_set(x_9, 0, x_1); lean_inc(x_6); x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9); -lean_inc(x_6); -x_11 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4), 5, 4); +x_11 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__3), 3, 2); lean_closure_set(x_11, 0, x_1); lean_closure_set(x_11, 1, x_3); -lean_closure_set(x_11, 2, x_6); -lean_closure_set(x_11, 3, x_2); x_12 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_10, x_11); return x_12; } @@ -636,267 +307,221 @@ x_2 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occu return x_2; } } -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__1(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_11; -x_4 = lean_ctor_get(x_2, 1); +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; lean_dec(x_2); -x_5 = l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___closed__1; -x_6 = lean_apply_1(x_4, x_5); -x_7 = lean_ctor_get(x_1, 1); -lean_inc(x_7); -lean_inc(x_1); -x_8 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__2), 3, 2); -lean_closure_set(x_8, 0, x_1); -lean_closure_set(x_8, 1, x_3); -lean_inc(x_7); -x_9 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_6, x_8); -x_10 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__3), 2, 1); -lean_closure_set(x_10, 0, x_1); -x_11 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_9, x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__4(lean_object* x_1) { -_start: +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) { -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__4___rarg), 3, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__3___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) -{ -uint8_t x_7; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_7 = !lean_is_exclusive(x_5); +lean_object* x_6; uint8_t x_7; +x_6 = lean_ctor_get(x_3, 0); +lean_dec(x_6); +x_7 = !lean_is_exclusive(x_4); if (x_7 == 0) { -lean_object* x_8; uint8_t x_9; -x_8 = lean_ctor_get(x_5, 0); +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); lean_dec(x_8); -x_9 = !lean_is_exclusive(x_6); -if (x_9 == 0) +x_10 = lean_apply_2(x_9, lean_box(0), x_3); +return x_10; +} +else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_1, 0); -lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_ctor_get(x_10, 1); +lean_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_4, 0); lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_apply_2(x_11, lean_box(0), x_5); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_6, 0); +lean_dec(x_4); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = lean_ctor_get(x_1, 0); lean_inc(x_13); -lean_dec(x_6); -x_14 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_14, 0, x_13); -x_15 = lean_ctor_get(x_1, 0); -lean_inc(x_15); lean_dec(x_1); -x_16 = lean_ctor_get(x_15, 1); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +lean_ctor_set(x_3, 0, x_12); +x_15 = lean_apply_2(x_14, lean_box(0), x_3); +return x_15; +} +} +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; lean_object* x_23; +x_16 = lean_ctor_get(x_3, 1); lean_inc(x_16); -lean_dec(x_15); -lean_ctor_set(x_5, 0, x_14); -x_17 = lean_apply_2(x_16, lean_box(0), x_5); -return x_17; -} -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_18 = lean_ctor_get(x_5, 1); -lean_inc(x_18); -lean_dec(x_5); -x_19 = lean_ctor_get(x_6, 0); -lean_inc(x_19); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - x_20 = x_6; +lean_dec(x_3); +x_17 = lean_ctor_get(x_4, 0); +lean_inc(x_17); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + x_18 = x_4; } else { - lean_dec_ref(x_6); - x_20 = lean_box(0); + lean_dec_ref(x_4); + x_18 = lean_box(0); } -if (lean_is_scalar(x_20)) { - x_21 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_18)) { + x_19 = lean_alloc_ctor(0, 1, 0); } else { - x_21 = x_20; + x_19 = x_18; } -lean_ctor_set(x_21, 0, x_19); -x_22 = lean_ctor_get(x_1, 0); -lean_inc(x_22); +lean_ctor_set(x_19, 0, x_17); +x_20 = lean_ctor_get(x_1, 0); +lean_inc(x_20); lean_dec(x_1); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_21); -lean_ctor_set(x_24, 1, x_18); -x_25 = lean_apply_2(x_23, lean_box(0), x_24); -return x_25; +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_16); +x_23 = lean_apply_2(x_21, lean_box(0), x_22); +return x_23; } } else { -uint8_t x_26; -x_26 = !lean_is_exclusive(x_5); +uint8_t x_24; +x_24 = !lean_is_exclusive(x_3); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_3, 0); +lean_dec(x_25); +x_26 = !lean_is_exclusive(x_4); if (x_26 == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_27 = lean_ctor_get(x_5, 1); -x_28 = lean_ctor_get(x_5, 0); -lean_dec(x_28); -x_29 = lean_ctor_get(x_6, 0); -lean_inc(x_29); -lean_dec(x_6); -x_30 = lean_ctor_get(x_29, 7); +x_27 = lean_ctor_get(x_4, 0); +x_28 = lean_ctor_get(x_27, 7); +lean_inc(x_28); +lean_dec(x_27); +x_29 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_28, x_2); +lean_ctor_set(x_4, 0, x_29); +x_30 = lean_ctor_get(x_1, 0); lean_inc(x_30); -lean_dec(x_29); -x_31 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_30, x_2); -lean_inc(x_1); -lean_inc(x_31); -x_32 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__1___boxed), 4, 2); -lean_closure_set(x_32, 0, x_31); -lean_closure_set(x_32, 1, x_1); -if (lean_obj_tag(x_31) == 0) -{ -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_4); -x_33 = lean_ctor_get(x_1, 0); -lean_inc(x_33); lean_dec(x_1); -x_34 = lean_ctor_get(x_33, 1); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_apply_2(x_31, lean_box(0), x_3); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_33 = lean_ctor_get(x_4, 0); +lean_inc(x_33); +lean_dec(x_4); +x_34 = lean_ctor_get(x_33, 7); lean_inc(x_34); lean_dec(x_33); -x_35 = l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1; -lean_ctor_set(x_5, 0, x_35); -lean_inc(x_34); -x_36 = lean_apply_2(x_34, lean_box(0), x_5); -x_37 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__2), 3, 2); -lean_closure_set(x_37, 0, x_34); -lean_closure_set(x_37, 1, x_32); -x_38 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_36, x_37); -return x_38; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -lean_dec(x_31); -lean_free_object(x_5); -lean_inc(x_1); -x_39 = l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__4___rarg(x_1, x_4, x_27); -x_40 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__3), 3, 2); -lean_closure_set(x_40, 0, x_1); -lean_closure_set(x_40, 1, x_32); -x_41 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_39, x_40); -return x_41; -} -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_42 = lean_ctor_get(x_5, 1); -lean_inc(x_42); -lean_dec(x_5); -x_43 = lean_ctor_get(x_6, 0); -lean_inc(x_43); -lean_dec(x_6); -x_44 = lean_ctor_get(x_43, 7); -lean_inc(x_44); -lean_dec(x_43); -x_45 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_44, x_2); -lean_inc(x_1); -lean_inc(x_45); -x_46 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__1___boxed), 4, 2); -lean_closure_set(x_46, 0, x_45); -lean_closure_set(x_46, 1, x_1); -if (lean_obj_tag(x_45) == 0) -{ -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_dec(x_4); -x_47 = lean_ctor_get(x_1, 0); -lean_inc(x_47); +x_35 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_34, x_2); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_35); +x_37 = lean_ctor_get(x_1, 0); +lean_inc(x_37); lean_dec(x_1); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1; -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_42); -lean_inc(x_48); -x_51 = lean_apply_2(x_48, lean_box(0), x_50); -x_52 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__2), 3, 2); -lean_closure_set(x_52, 0, x_48); -lean_closure_set(x_52, 1, x_46); -x_53 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_51, x_52); -return x_53; +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +lean_ctor_set(x_3, 0, x_36); +x_39 = lean_apply_2(x_38, lean_box(0), x_3); +return x_39; +} } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_45); -lean_inc(x_1); -x_54 = l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__4___rarg(x_1, x_4, x_42); -x_55 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__3), 3, 2); -lean_closure_set(x_55, 0, x_1); -lean_closure_set(x_55, 1, x_46); -x_56 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_54, x_55); -return x_56; +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; +x_40 = lean_ctor_get(x_3, 1); +lean_inc(x_40); +lean_dec(x_3); +x_41 = lean_ctor_get(x_4, 0); +lean_inc(x_41); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + x_42 = x_4; +} else { + lean_dec_ref(x_4); + x_42 = lean_box(0); +} +x_43 = lean_ctor_get(x_41, 7); +lean_inc(x_43); +lean_dec(x_41); +x_44 = l_Std_PersistentHashMap_find_x3f___at_Lean_getDelayedMVarAssignment_x3f___spec__1(x_43, x_2); +if (lean_is_scalar(x_42)) { + x_45 = lean_alloc_ctor(1, 1, 0); +} else { + x_45 = x_42; +} +lean_ctor_set(x_45, 0, x_44); +x_46 = lean_ctor_get(x_1, 0); +lean_inc(x_46); +lean_dec(x_1); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_40); +x_49 = lean_apply_2(x_47, lean_box(0), x_48); +return x_49; } } } } -} -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_5 = lean_ctor_get(x_2, 0); lean_inc(x_5); +lean_dec(x_2); x_6 = lean_ctor_get(x_1, 1); lean_inc(x_6); lean_inc(x_1); -x_7 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__2), 3, 2); +x_7 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__1), 3, 2); lean_closure_set(x_7, 0, x_1); lean_closure_set(x_7, 1, x_4); lean_inc(x_6); x_8 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_5, x_7); lean_inc(x_1); -x_9 = lean_alloc_closure((void*)(l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__3), 2, 1); +x_9 = lean_alloc_closure((void*)(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__2), 2, 1); lean_closure_set(x_9, 0, x_1); lean_inc(x_6); x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9); -lean_inc(x_6); -x_11 = lean_alloc_closure((void*)(l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__3___rarg___lambda__1), 5, 4); +x_11 = lean_alloc_closure((void*)(l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__2___rarg___lambda__1), 3, 2); lean_closure_set(x_11, 0, x_1); lean_closure_set(x_11, 1, x_3); -lean_closure_set(x_11, 2, x_6); -lean_closure_set(x_11, 3, x_2); x_12 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_10, x_11); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__3(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__3___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__2___rarg), 4, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_occursCheck_visitMVar___rarg___lambda__1___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; } } @@ -1006,7 +631,7 @@ lean_dec(x_1); x_29 = lean_ctor_get(x_28, 1); lean_inc(x_29); lean_dec(x_28); -x_30 = l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1; +x_30 = l_Lean_occursCheck_visitMVar___rarg___lambda__1___closed__1; lean_ctor_set(x_4, 0, x_30); x_31 = lean_apply_2(x_29, lean_box(0), x_4); return x_31; @@ -1023,7 +648,7 @@ lean_dec(x_1); x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); -x_35 = l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1; +x_35 = l_Lean_occursCheck_visitMVar___rarg___lambda__1___closed__1; x_36 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_32); @@ -1148,7 +773,7 @@ lean_inc(x_28); lean_dec(x_6); lean_inc(x_2); lean_inc(x_1); -x_29 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__3___rarg(x_1, x_2, x_3, x_28); +x_29 = l_Lean_getDelayedMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__2___rarg(x_1, x_2, x_3, x_28); x_30 = lean_alloc_closure((void*)(l_Lean_occursCheck_visitMVar___rarg___lambda__1), 4, 3); lean_closure_set(x_30, 0, x_1); lean_closure_set(x_30, 1, x_2); @@ -1669,7 +1294,7 @@ if (x_56 == 0) lean_object* x_57; lean_object* x_58; lean_object* x_59; x_57 = lean_ctor_get(x_7, 0); lean_dec(x_57); -x_58 = l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1; +x_58 = l_Lean_occursCheck_visitMVar___rarg___lambda__1___closed__1; lean_ctor_set(x_7, 0, x_58); x_59 = lean_apply_2(x_1, lean_box(0), x_7); return x_59; @@ -1680,7 +1305,7 @@ lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; x_60 = lean_ctor_get(x_7, 1); lean_inc(x_60); lean_dec(x_7); -x_61 = l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1; +x_61 = l_Lean_occursCheck_visitMVar___rarg___lambda__1___closed__1; x_62 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); @@ -1808,7 +1433,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_34 = l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1; +x_34 = l_Lean_occursCheck_visitMVar___rarg___lambda__1___closed__1; lean_ctor_set(x_8, 0, x_34); x_35 = lean_apply_2(x_1, lean_box(0), x_8); return x_35; @@ -1858,7 +1483,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_46 = l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1; +x_46 = l_Lean_occursCheck_visitMVar___rarg___lambda__1___closed__1; x_47 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_36); @@ -1886,7 +1511,7 @@ lean_dec(x_1); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); -x_9 = l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1; +x_9 = l_Lean_occursCheck_visitMVar___rarg___lambda__1___closed__1; x_10 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_5); @@ -1937,15 +1562,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_occursCheck_visit___rarg), 5, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__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_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} LEAN_EXPORT lean_object* l_Lean_occursCheck___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -2057,10 +1673,8 @@ lean_dec_ref(res); res = initialize_Lean_MetavarContext(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___closed__1 = _init_l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___closed__1(); -lean_mark_persistent(l_Lean_markUsedAssignment___at_Lean_occursCheck_visitMVar___spec__2___rarg___closed__1); -l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1 = _init_l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_getExprMVarAssignment_x3f___at_Lean_occursCheck_visitMVar___spec__1___rarg___lambda__4___closed__1); +l_Lean_occursCheck_visitMVar___rarg___lambda__1___closed__1 = _init_l_Lean_occursCheck_visitMVar___rarg___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_occursCheck_visitMVar___rarg___lambda__1___closed__1); l_Lean_occursCheck_visitMVar___rarg___closed__1 = _init_l_Lean_occursCheck_visitMVar___rarg___closed__1(); lean_mark_persistent(l_Lean_occursCheck_visitMVar___rarg___closed__1); l_Lean_occursCheck___rarg___closed__1 = _init_l_Lean_occursCheck___rarg___closed__1(); diff --git a/stage0/stdlib/Lean/Util/PPExt.c b/stage0/stdlib/Lean/Util/PPExt.c index f74212bdff..4f3c5672eb 100644 --- a/stage0/stdlib/Lean/Util/PPExt.c +++ b/stage0/stdlib/Lean/Util/PPExt.c @@ -395,23 +395,21 @@ return x_3; static lean_object* _init_l_Lean_PPContext_mctx___default___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_PPContext_mctx___default___closed__3; x_3 = l_Lean_PPContext_mctx___default___closed__4; x_4 = l_Lean_PPContext_mctx___default___closed__5; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_PPContext_mctx___default() { diff --git a/stage0/stdlib/Lean/Widget/Basic.c b/stage0/stdlib/Lean/Widget/Basic.c index 2343762118..7435e84260 100644 --- a/stage0/stdlib/Lean/Widget/Basic.c +++ b/stage0/stdlib/Lean/Widget/Basic.c @@ -244,23 +244,21 @@ return x_3; static lean_object* _init_l_Lean_Widget_instInhabitedInfoWithCtx___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Widget_instInhabitedInfoWithCtx___closed__12; x_3 = l_Lean_Widget_instInhabitedInfoWithCtx___closed__13; x_4 = l_Lean_Widget_instInhabitedInfoWithCtx___closed__4; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Widget_instInhabitedInfoWithCtx___closed__15() { diff --git a/stage0/stdlib/Lean/Widget/InteractiveCode.c b/stage0/stdlib/Lean/Widget/InteractiveCode.c index 5d84317846..e43a6dec87 100644 --- a/stage0/stdlib/Lean/Widget/InteractiveCode.c +++ b/stage0/stdlib/Lean/Widget/InteractiveCode.c @@ -273,23 +273,21 @@ return x_3; static lean_object* _init_l_Lean_Widget_instInhabitedSubexprInfo___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Widget_instInhabitedSubexprInfo___closed__12; x_3 = l_Lean_Widget_instInhabitedSubexprInfo___closed__13; x_4 = l_Lean_Widget_instInhabitedSubexprInfo___closed__4; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Widget_instInhabitedSubexprInfo___closed__15() { diff --git a/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c b/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c index 8cf2438961..c71d989f4f 100644 --- a/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c +++ b/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c @@ -14068,23 +14068,21 @@ return x_3; static lean_object* _init_l_Lean_Widget_instInhabitedEmbedFmt___closed__13() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_Widget_instInhabitedEmbedFmt___closed__11; x_3 = l_Lean_Widget_instInhabitedEmbedFmt___closed__12; x_4 = l_Lean_Widget_instInhabitedEmbedFmt___closed__4; -x_5 = 0; -x_6 = lean_alloc_ctor(0, 8, 1); -lean_ctor_set(x_6, 0, x_1); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_2); -lean_ctor_set(x_6, 3, x_3); -lean_ctor_set(x_6, 4, x_4); -lean_ctor_set(x_6, 5, x_2); -lean_ctor_set(x_6, 6, x_3); -lean_ctor_set(x_6, 7, x_3); -lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); -return x_6; +x_5 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_3); +lean_ctor_set(x_5, 4, x_4); +lean_ctor_set(x_5, 5, x_2); +lean_ctor_set(x_5, 6, x_3); +lean_ctor_set(x_5, 7, x_3); +return x_5; } } static lean_object* _init_l_Lean_Widget_instInhabitedEmbedFmt___closed__14() {