diff --git a/stage0/src/Init/Control/ExceptCps.lean b/stage0/src/Init/Control/ExceptCps.lean index a25d248357..d8ee0b4a51 100644 --- a/stage0/src/Init/Control/ExceptCps.lean +++ b/stage0/src/Init/Control/ExceptCps.lean @@ -46,7 +46,7 @@ instance [Inhabited ε] : Inhabited (ExceptCpsT ε m α) where @[simp] theorem run_pure [Monad m] : run (pure x : ExceptCpsT ε m α) = pure (Except.ok x) := rfl -@[simp] theorem run_lift {α ε : Type u} [Monad m] (x : m α) : run (ExceptCpsT.lift x : ExceptCpsT ε m α) = x >>= fun a => pure (Except.ok a) := rfl +@[simp] theorem run_lift {α ε : Type u} [Monad m] (x : m α) : run (ExceptCpsT.lift x : ExceptCpsT ε m α) = (x >>= fun a => pure (Except.ok a) : m (Except ε α)) := rfl @[simp] theorem run_throw [Monad m] : run (throw e : ExceptCpsT ε m β) = pure (Except.error e) := rfl diff --git a/stage0/src/Init/Control/Lawful.lean b/stage0/src/Init/Control/Lawful.lean index d74e421dcb..7ab038e53b 100644 --- a/stage0/src/Init/Control/Lawful.lean +++ b/stage0/src/Init/Control/Lawful.lean @@ -30,8 +30,8 @@ class LawfulApplicative (f : Type u → Type v) [Applicative f] extends LawfulFu seqRight_eq (x : f α) (y : f β) : x *> y = const α id <$> x <*> y pure_seq (g : α → β) (x : f α) : pure g <*> x = g <$> x map_pure (g : α → β) (x : α) : g <$> (pure x : f α) = pure (g x) - seq_pure (g : f (α → β)) (x : α) : g <*> pure x = (fun h => h x) <$> g - seq_assoc (x : f α) (g : f (α → β)) (h : f (β → γ)) : h <*> (g <*> x) = ((. ∘ .) <$> h) <*> g <*> x + seq_pure {α β : Type u} (g : f (α → β)) (x : α) : g <*> pure x = (fun h => h x) <$> g + seq_assoc {α β γ : Type u} (x : f α) (g : f (α → β)) (h : f (β → γ)) : h <*> (g <*> x) = ((@comp α β γ) <$> h) <*> g <*> x comp_map g h x := by repeat rw [← pure_seq] simp [seq_assoc, map_pure, seq_pure] @@ -45,7 +45,7 @@ attribute [simp] map_pure seq_pure class LawfulMonad (m : Type u → Type v) [Monad m] extends LawfulApplicative m : Prop where bind_pure_comp (f : α → β) (x : m α) : x >>= pure ∘ f = f <$> x - bind_map (f : m (α → (β : Type u))) (x : m α) : f >>= (. <$> x) = f <*> x + bind_map {α β : Type u} (f : m (α → β)) (x : m α) : f >>= (. <$> x) = f <*> x pure_bind (x : α) (f : α → m β) : pure x >>= f = f x bind_assoc (x : m α) (f : α → m β) (g : β → m γ) : x >>= f >>= g = x >>= fun x => f x >>= g map_pure g x := by rw [← bind_pure_comp, pure_bind] @@ -116,7 +116,7 @@ theorem ext [Monad m] {x y : ExceptT ε m α} (h : x.run = y.run) : x = y := by @[simp] theorem run_pure [Monad m] : run (pure x : ExceptT ε m α) = pure (Except.ok x) := rfl -@[simp] theorem run_lift [Monad m] : run (ExceptT.lift x : ExceptT ε m α) = Except.ok <$> x := rfl +@[simp] theorem run_lift [Monad m] (x : m α) : run (ExceptT.lift x : ExceptT ε m α) = (Except.ok <$> x : m (Except ε α)) := rfl @[simp] theorem run_throw [Monad m] : run (throw e : ExceptT ε m β) = pure (Except.error e) := rfl diff --git a/stage0/src/Lean/Data/Lsp/Diagnostics.lean b/stage0/src/Lean/Data/Lsp/Diagnostics.lean index f703be85e0..c33a12740c 100644 --- a/stage0/src/Lean/Data/Lsp/Diagnostics.lean +++ b/stage0/src/Lean/Data/Lsp/Diagnostics.lean @@ -72,6 +72,8 @@ structure DiagnosticRelatedInformation where structure Diagnostic where range : Range + /-- extension: preserve semantic range of errors when truncating them for display purposes -/ + fullRange : Range := range severity? : Option DiagnosticSeverity := none code? : Option DiagnosticCode := none source? : Option String := none @@ -89,6 +91,7 @@ structure PublishDiagnosticsParams where /-- Transform a Lean Message concerning the given text into an LSP Diagnostic. -/ def msgToDiagnostic (text : FileMap) (m : Message) : IO Diagnostic := do let low : Lsp.Position := text.leanPosToLspPos m.pos + let fullHigh := text.leanPosToLspPos <| m.endPos.getD m.pos let high : Lsp.Position := match m.endPos with | some endPos => /- @@ -100,6 +103,7 @@ def msgToDiagnostic (text : FileMap) (m : Message) : IO Diagnostic := do text.leanPosToLspPos endPos | none => low let range : Range := ⟨low, high⟩ + let fullRange : Range := ⟨low, fullHigh⟩ let severity := match m.severity with | MessageSeverity.information => DiagnosticSeverity.information | MessageSeverity.warning => DiagnosticSeverity.warning @@ -107,9 +111,10 @@ def msgToDiagnostic (text : FileMap) (m : Message) : IO Diagnostic := do let source := "Lean 4 server" let message ← m.data.toString pure { - range := range, - severity? := severity, - source? := source, + range := range + fullRange := fullRange + severity? := severity + source? := source message := message } diff --git a/stage0/src/Lean/Data/Lsp/Extra.lean b/stage0/src/Lean/Data/Lsp/Extra.lean index 0e5fe053d3..0bd811d4a2 100644 --- a/stage0/src/Lean/Data/Lsp/Extra.lean +++ b/stage0/src/Lean/Data/Lsp/Extra.lean @@ -39,6 +39,7 @@ structure PlainGoalParams extends TextDocumentPositionParams structure PlainGoal where rendered : String + goals : Array String deriving FromJson, ToJson end Lean.Lsp diff --git a/stage0/src/Lean/Elab/App.lean b/stage0/src/Lean/Elab/App.lean index 6d6caeb989..9022129c48 100644 --- a/stage0/src/Lean/Elab/App.lean +++ b/stage0/src/Lean/Elab/App.lean @@ -292,13 +292,13 @@ private def propagateExpectedType (arg : Arg) : M Unit := do modify fun s => { s with propagateExpected := false } else let numRemainingArgs := s.args.length - trace[Elab.app.propagateExpectedType]! "etaArgs.size: {s.etaArgs.size}, numRemainingArgs: {numRemainingArgs}, fType: {s.fType}" + trace[Elab.app.propagateExpectedType] "etaArgs.size: {s.etaArgs.size}, numRemainingArgs: {numRemainingArgs}, fType: {s.fType}" match getForallBody s.explicit numRemainingArgs s.namedArgs s.fType with | none => pure () | some fTypeBody => unless fTypeBody.hasLooseBVars do unless (← hasOptAutoParams fTypeBody) do - trace[Elab.app.propagateExpectedType]! "{expectedType} =?= {fTypeBody}" + trace[Elab.app.propagateExpectedType] "{expectedType} =?= {fTypeBody}" if (← isDefEq expectedType fTypeBody) then /- Note that we only set `propagateExpected := false` when propagation has succeeded. -/ modify fun s => { s with propagateExpected := false } @@ -319,7 +319,7 @@ private def finalize : M Expr := do let s ← get let mut e := s.f -- all user explicit arguments have been consumed - trace[Elab.app.finalize]! e + trace[Elab.app.finalize] e let ref ← getRef -- Register the error context of implicits for mvarId in s.toSetErrorCtx do @@ -331,11 +331,11 @@ private def finalize : M Expr := do `s.etaArgs.isEmpty`. Reason: it may have been unfolded. -/ let eType ← inferType e - trace[Elab.app.finalize]! "after etaArgs, {e} : {eType}" + trace[Elab.app.finalize] "after etaArgs, {e} : {eType}" match s.expectedType? with | none => pure () | some expectedType => - trace[Elab.app.finalize]! "expected type: {expectedType}" + trace[Elab.app.finalize] "expected type: {expectedType}" -- Try to propagate expected type. Ignore if types are not definitionally equal, caller must handle it. discard <| isDefEq expectedType eType synthesizeAppInstMVars @@ -485,7 +485,7 @@ def elabAppArgs (f : Expr) (namedArgs : Array NamedArg) (args : Array Arg) (expectedType? : Option Expr) (explicit ellipsis : Bool) : TermElabM Expr := do let fType ← inferType f let fType ← instantiateMVars fType - trace[Elab.app.args]! "explicit: {explicit}, {f} : {fType}" + trace[Elab.app.args] "explicit: {explicit}, {f} : {fType}" unless namedArgs.isEmpty && args.isEmpty do tryPostponeIfMVar fType ElabAppArgs.main.run' { diff --git a/stage0/src/Lean/Elab/Binders.lean b/stage0/src/Lean/Elab/Binders.lean index 0da728b456..e0287d4159 100644 --- a/stage0/src/Lean/Elab/Binders.lean +++ b/stage0/src/Lean/Elab/Binders.lean @@ -64,7 +64,7 @@ def declareTacticSyntax (tactic : Syntax) : TermElabM Name := let tactic ← quoteAutoTactic tactic let val ← elabTerm tactic type let val ← instantiateMVars val - trace[Elab.autoParam]! val + trace[Elab.autoParam] val let decl := Declaration.defnDecl { name := name, levelParams := [], type := type, value := val, hints := ReducibilityHints.opaque, safety := DefinitionSafety.safe } addDecl decl @@ -518,7 +518,7 @@ def elabLetDeclAux (id : Syntax) (binders : Array Syntax) (typeStx : Syntax) (va let type ← mkForallFVars xs type let val ← mkLambdaFVars xs val pure (type, val, xs.size) - trace[Elab.let.decl]! "{id.getId} : {type} := {val}" + trace[Elab.let.decl] "{id.getId} : {type} := {val}" let result ← if useLetExpr then withLetDecl id.getId type val fun x => do diff --git a/stage0/src/Lean/Elab/BuiltinNotation.lean b/stage0/src/Lean/Elab/BuiltinNotation.lean index 87b1cf1e7e..3711e4d4b1 100644 --- a/stage0/src/Lean/Elab/BuiltinNotation.lean +++ b/stage0/src/Lean/Elab/BuiltinNotation.lean @@ -154,7 +154,6 @@ private def getPropToDecide (expectedType? : Option Expr) : TermElabM Expr := do @[builtinTermElab Lean.Parser.Term.decide] def elabDecide : TermElab := fun stx expectedType? => do let p ← getPropToDecide expectedType? - trace[Meta.debug]! "elabDecide: {p}" let d ← mkDecide p let d ← instantiateMVars d let r ← withDefault <| whnf d diff --git a/stage0/src/Lean/Elab/Deriving/BEq.lean b/stage0/src/Lean/Elab/Deriving/BEq.lean index 58105bb064..7357f952f7 100644 --- a/stage0/src/Lean/Elab/Deriving/BEq.lean +++ b/stage0/src/Lean/Elab/Deriving/BEq.lean @@ -94,7 +94,7 @@ def mkMutualBlock (ctx : Context) : TermElabM Syntax := do private def mkBEqInstanceCmds (declNames : Array Name) : TermElabM (Array Syntax) := do let ctx ← mkContext "beq" declNames[0] let cmds := #[← mkMutualBlock ctx] ++ (← mkInstanceCmds ctx `BEq declNames) - trace[Elab.Deriving.beq]! "\n{cmds}" + trace[Elab.Deriving.beq] "\n{cmds}" return cmds open Command diff --git a/stage0/src/Lean/Elab/Deriving/DecEq.lean b/stage0/src/Lean/Elab/Deriving/DecEq.lean index 1f661652ee..676824da7f 100644 --- a/stage0/src/Lean/Elab/Deriving/DecEq.lean +++ b/stage0/src/Lean/Elab/Deriving/DecEq.lean @@ -90,7 +90,7 @@ def mkAuxFunction (ctx : Context) : TermElabM Syntax := do def mkDecEqCmds (indVal : InductiveVal) : TermElabM (Array Syntax) := do let ctx ← mkContext "decEq" indVal.name let cmds := #[← mkAuxFunction ctx] ++ (← mkInstanceCmds ctx `DecidableEq #[indVal.name] (useAnonCtor := false)) - trace[Elab.Deriving.decEq]! "\n{cmds}" + trace[Elab.Deriving.decEq] "\n{cmds}" return cmds open Command diff --git a/stage0/src/Lean/Elab/Deriving/Inhabited.lean b/stage0/src/Lean/Elab/Deriving/Inhabited.lean index 80083a91a7..ff386ffc3c 100644 --- a/stage0/src/Lean/Elab/Deriving/Inhabited.lean +++ b/stage0/src/Lean/Elab/Deriving/Inhabited.lean @@ -30,7 +30,7 @@ where let instType ← mkAppM `Inhabited #[x] if (← isTypeCorrect instType) then withLocalDeclD (← mkFreshUserName `inst) instType fun inst => do - trace[Elab.Deriving.inhabited]! "adding local instance {instType}" + trace[Elab.Deriving.inhabited] "adding local instance {instType}" addLocalInstancesForParamsAux k xs (i+1) (map.insert inst.fvarId! i) else addLocalInstancesForParamsAux k xs (i+1) map @@ -89,20 +89,20 @@ where for i in [ctorVal.numParams:xs.size] do let x := xs[i] let instType ← mkAppM `Inhabited #[(← inferType x)] - trace[Elab.Deriving.inhabited]! "checking {instType} for '{ctorName}'" + trace[Elab.Deriving.inhabited] "checking {instType} for '{ctorName}'" match (← trySynthInstance instType) with | LOption.some e => usedInstIdxs ← collectUsedLocalsInsts usedInstIdxs localInst2Index e | _ => - trace[Elab.Deriving.inhabited]! "failed to generate instance using '{ctorName}' {if addHypotheses then "(assuming parameters are inhabited)" else ""} because of field with type{indentExpr (← inferType x)}" + trace[Elab.Deriving.inhabited] "failed to generate instance using '{ctorName}' {if addHypotheses then "(assuming parameters are inhabited)" else ""} because of field with type{indentExpr (← inferType x)}" ok := false break if !ok then return none else - trace[Elab.Deriving.inhabited]! "inhabited instance using '{ctorName}' {if addHypotheses then "(assuming parameters are inhabited)" else ""} {usedInstIdxs.toList}" + trace[Elab.Deriving.inhabited] "inhabited instance using '{ctorName}' {if addHypotheses then "(assuming parameters are inhabited)" else ""} {usedInstIdxs.toList}" let cmd ← mkInstanceCmdWith usedInstIdxs - trace[Elab.Deriving.inhabited]! "\n{cmd}" + trace[Elab.Deriving.inhabited] "\n{cmd}" return some cmd private def mkInhabitedInstance (declName : Name) : CommandElabM Unit := do diff --git a/stage0/src/Lean/Elab/Deriving/Repr.lean b/stage0/src/Lean/Elab/Deriving/Repr.lean index 3f2a3950ee..a2b70237e3 100644 --- a/stage0/src/Lean/Elab/Deriving/Repr.lean +++ b/stage0/src/Lean/Elab/Deriving/Repr.lean @@ -108,7 +108,7 @@ def mkMutualBlock (ctx : Context) : TermElabM Syntax := do private def mkReprInstanceCmds (declNames : Array Name) : TermElabM (Array Syntax) := do let ctx ← mkContext "repr" declNames[0] let cmds := #[← mkMutualBlock ctx] ++ (← mkInstanceCmds ctx `Repr declNames) - trace[Elab.Deriving.repr]! "\n{cmds}" + trace[Elab.Deriving.repr] "\n{cmds}" return cmds open Command diff --git a/stage0/src/Lean/Elab/Deriving/Util.lean b/stage0/src/Lean/Elab/Deriving/Util.lean index 3c4ef885aa..0b8240ea15 100644 --- a/stage0/src/Lean/Elab/Deriving/Util.lean +++ b/stage0/src/Lean/Elab/Deriving/Util.lean @@ -61,7 +61,7 @@ def mkContext (fnPrefix : String) (typeName : Name) : TermElabM Context := do match typeName.eraseMacroScopes with | Name.str _ t _ => auxFunNames := auxFunNames.push (← mkFreshUserName <| Name.mkSimple <| fnPrefix ++ t) | _ => auxFunNames := auxFunNames.push (← mkFreshUserName `instFn) - trace[Elab.Deriving.beq]! "{auxFunNames}" + trace[Elab.Deriving.beq] "{auxFunNames}" let usePartial := indVal.isNested || typeInfos.size > 1 return { typeInfos := typeInfos @@ -104,7 +104,6 @@ def mkInstanceCmds (ctx : Context) (className : Name) (typeNames : Array Name) ( let type ← `($(mkIdent className) $indType) let val ← if useAnonCtor then `(⟨$(mkIdent auxFunName)⟩) else pure <| mkIdent auxFunName let instCmd ← `(instance $binders:implicitBinder* : $type := $val) - trace[Meta.debug]! "\n{instCmd}" instances := instances.push instCmd return instances diff --git a/stage0/src/Lean/Elab/Do.lean b/stage0/src/Lean/Elab/Do.lean index 7248cff342..c40bac67bf 100644 --- a/stage0/src/Lean/Elab/Do.lean +++ b/stage0/src/Lean/Elab/Do.lean @@ -1541,7 +1541,7 @@ def elabDo : TermElab := fun stx expectedType? => do let m ← mkMonadAlias bindInfo.m let codeBlock ← ToCodeBlock.run stx m let stxNew ← liftMacroM $ ToTerm.run codeBlock.code m - trace[Elab.do]! stxNew + trace[Elab.do] stxNew withMacroExpansion stx stxNew $ elabTermEnsuringType stxNew bindInfo.expectedType end Do diff --git a/stage0/src/Lean/Elab/Inductive.lean b/stage0/src/Lean/Elab/Inductive.lean index 1fee1b8b8e..51ae332744 100644 --- a/stage0/src/Lean/Elab/Inductive.lean +++ b/stage0/src/Lean/Elab/Inductive.lean @@ -215,7 +215,6 @@ private def elabCtors (indFVars : Array Expr) (indFVar : Expr) (params : Array E let ctorParams ← Term.addAutoBoundImplicits ctorParams let type ← mkForallFVars ctorParams type let type ← mkForallFVars params type - trace[Meta.debug]! "{ctorView.declName} : {type}" return { name := ctorView.declName, type := type } where checkParamOccs (ctorType : Expr) : MetaM Expr := @@ -339,7 +338,7 @@ private def updateResultingUniverse (numParams : Nat) (indTypes : List Inductive unless r.isParam do throwError "failed to compute resulting universe level of inductive datatype, provide universe explicitly" let us ← collectUniverses r rOffset numParams indTypes - trace[Elab.inductive]! "updateResultingUniverse us: {us}, r: {r}, rOffset: {rOffset}" + trace[Elab.inductive] "updateResultingUniverse us: {us}, r: {r}, rOffset: {rOffset}" let rNew := mkResultUniverse us rOffset let updateLevel (e : Expr) : Expr := e.replaceLevel fun u => if u == tmpIndParam then some rNew else none return indTypes.map fun indType => diff --git a/stage0/src/Lean/Elab/Match.lean b/stage0/src/Lean/Elab/Match.lean index 575304f383..e26927a2c5 100644 --- a/stage0/src/Lean/Elab/Match.lean +++ b/stage0/src/Lean/Elab/Match.lean @@ -47,7 +47,7 @@ private def elabDiscrsWitMatchType (discrStxs : Array Syntax) (matchType : Expr) match matchType with | Expr.forallE _ d b _ => let discr ← fullApproxDefEq <| elabTermEnsuringType discrStx[1] d - trace[Elab.match]! "discr #{i} {discr} : {d}" + trace[Elab.match] "discr #{i} {discr} : {d}" if b.hasLooseBVars then isDep := true matchType ← b.instantiate1 discr @@ -473,7 +473,7 @@ where def main (alt : MatchAltView) : M MatchAltView := do let patterns ← alt.patterns.mapM fun p => do - trace[Elab.match]! "collecting variables at pattern: {p}" + trace[Elab.match] "collecting variables at pattern: {p}" collect p return { alt with patterns := patterns } @@ -552,13 +552,13 @@ def finalizePatternDecls (patternVarDecls : Array PatternVarDecl) : TermElabM (A decls := decls.push decl | PatternVarDecl.anonymousVar mvarId fvarId => let e ← instantiateMVars (mkMVar mvarId); - trace[Elab.match]! "finalizePatternDecls: mvarId: {mvarId} := {e}, fvar: {mkFVar fvarId}" + trace[Elab.match] "finalizePatternDecls: mvarId: {mvarId} := {e}, fvar: {mkFVar fvarId}" match e with | Expr.mvar newMVarId _ => /- Metavariable was not assigned, or assigned to another metavariable. So, we assign to the auxiliary free variable we created at `withPatternVars` to `newMVarId`. -/ assignExprMVar newMVarId (mkFVar fvarId) - trace[Elab.match]! "finalizePatternDecls: {mkMVar newMVarId} := {mkFVar fvarId}" + trace[Elab.match] "finalizePatternDecls: {mkMVar newMVarId} := {mkFVar fvarId}" let decl ← getLocalDecl fvarId let decl ← instantiateLocalDeclMVars decl decls := decls.push decl @@ -683,13 +683,13 @@ private def withElaboratedLHS {α} (ref : Syntax) (patternVarDecls : Array Patte def elabMatchAltView (alt : MatchAltView) (matchType : Expr) : TermElabM (AltLHS × Expr) := withRef alt.ref do let (patternVars, alt) ← collectPatternVars alt - trace[Elab.match]! "patternVars: {patternVars}" + trace[Elab.match] "patternVars: {patternVars}" withPatternVars patternVars fun patternVarDecls => do withElaboratedLHS alt.ref patternVarDecls alt.patterns matchType fun altLHS matchType => do let rhs ← elabTermEnsuringType alt.rhs matchType let xs := altLHS.fvarDecls.toArray.map LocalDecl.toExpr let rhs ← if xs.isEmpty then pure <| mkSimpleThunk rhs else mkLambdaFVars xs rhs - trace[Elab.match]! "rhs: {rhs}" + trace[Elab.match] "rhs: {rhs}" return (altLHS, rhs) def mkMatcher (elimName : Name) (matchType : Expr) (numDiscrs : Nat) (lhss : List AltLHS) : TermElabM MatcherResult := @@ -730,7 +730,7 @@ private def elabMatchAux (discrStxs : Array Syntax) (altViews : Array MatchAltVi let (discrs, matchType, altLHSS, isDep, rhss) ← commitIfDidNotPostpone do let ⟨discrs, matchType, isDep, altViews⟩ ← elabMatchTypeAndDiscrs discrStxs matchOptType altViews expectedType let matchAlts ← liftMacroM <| expandMacrosInPatterns altViews - trace[Elab.match]! "matchType: {matchType}" + trace[Elab.match] "matchType: {matchType}" let alts ← matchAlts.mapM fun alt => elabMatchAltView alt matchType /- We should not use `synthesizeSyntheticMVarsNoPostponing` here. Otherwise, we will not be @@ -796,7 +796,7 @@ private def elabMatchAux (discrStxs : Array Syntax) (altViews : Array MatchAltVi let r := mkApp matcherResult.matcher motive let r := mkAppN r discrs let r := mkAppN r rhss - trace[Elab.match]! "result: {r}" + trace[Elab.match] "result: {r}" return r private def getDiscrs (matchStx : Syntax) : Array Syntax := @@ -852,7 +852,7 @@ private def tryPostponeIfDiscrTypeIsMVar (matchStx : Syntax) : TermElabM Unit := | none => throwErrorAt discr "unexpected discriminant" -- see `expandNonAtomicDiscrs? | some d => let dType ← inferType d - trace[Elab.match]! "discr {d} : {dType}" + trace[Elab.match] "discr {d} : {dType}" tryPostponeIfMVar dType /- diff --git a/stage0/src/Lean/Elab/MutualDef.lean b/stage0/src/Lean/Elab/MutualDef.lean index 79510a8037..1358f0754d 100644 --- a/stage0/src/Lean/Elab/MutualDef.lean +++ b/stage0/src/Lean/Elab/MutualDef.lean @@ -438,7 +438,7 @@ private partial def mkClosureForAux (toProcess : Array FVarId) : StateRefT Closu match pickMaxFVar? lctx toProcess with | none => pure () | some fvarId => - trace[Elab.definition.mkClosure]! "toProcess: {toProcess.map mkFVar}, maxVar: {mkFVar fvarId}" + trace[Elab.definition.mkClosure] "toProcess: {toProcess.map mkFVar}, maxVar: {mkFVar fvarId}" let toProcess := toProcess.erase fvarId let localDecl ← getLocalDecl fvarId match localDecl with diff --git a/stage0/src/Lean/Elab/PreDefinition/Main.lean b/stage0/src/Lean/Elab/PreDefinition/Main.lean index 5abd5fbd44..ae3b3b5774 100644 --- a/stage0/src/Lean/Elab/PreDefinition/Main.lean +++ b/stage0/src/Lean/Elab/PreDefinition/Main.lean @@ -12,10 +12,10 @@ open Term private def addAndCompilePartial (preDefs : Array PreDefinition) : TermElabM Unit := do for preDef in preDefs do - trace[Elab.definition]! "processing {preDef.declName}" + trace[Elab.definition] "processing {preDef.declName}" forallTelescope preDef.type fun xs type => do let inh ← liftM $ mkInhabitantFor preDef.declName xs type - trace[Elab.definition]! "inhabitant for {preDef.declName}" + trace[Elab.definition] "inhabitant for {preDef.declName}" addNonRec { preDef with kind := DefKind.«opaque», value := inh @@ -53,11 +53,11 @@ private def ensureNoUnassignedMVarsAtPreDef (preDef : PreDefinition) : TermElabM def addPreDefinitions (preDefs : Array PreDefinition) : TermElabM Unit := do for preDef in preDefs do - trace[Elab.definition.body]! "{preDef.declName} : {preDef.type} :=\n{preDef.value}" + trace[Elab.definition.body] "{preDef.declName} : {preDef.type} :=\n{preDef.value}" for preDef in preDefs do ensureNoUnassignedMVarsAtPreDef preDef for preDefs in partitionPreDefs preDefs do - trace[Elab.definition.scc]! "{preDefs.map (·.declName)}" + trace[Elab.definition.scc] "{preDefs.map (·.declName)}" if preDefs.size == 1 && isNonRecursive preDefs[0] then let preDef := preDefs[0] if preDef.modifiers.isNoncomputable then diff --git a/stage0/src/Lean/Elab/PreDefinition/Structural.lean b/stage0/src/Lean/Elab/PreDefinition/Structural.lean index 87897a85f6..c404fa4b37 100644 --- a/stage0/src/Lean/Elab/PreDefinition/Structural.lean +++ b/stage0/src/Lean/Elab/PreDefinition/Structural.lean @@ -183,7 +183,7 @@ private def throwToBelowFailed {α} : MetaM α := private partial def toBelowAux (C : Expr) : Expr → Expr → Expr → MetaM Expr | belowDict, arg, F => do let belowDict ← whnf belowDict - trace[Elab.definition.structural]! "belowDict: {belowDict}, arg: {arg}" + trace[Elab.definition.structural] "belowDict: {belowDict}, arg: {arg}" match belowDict with | Expr.app (Expr.app (Expr.const `PProd _ _) d1 _) d2 _ => (do toBelowAux C d1 arg (← mkAppM `PProd.fst #[F])) @@ -209,7 +209,7 @@ private partial def toBelowAux (C : Expr) : Expr → Expr → Expr → MetaM Exp /- See toBelow -/ private def withBelowDict {α} (below : Expr) (numIndParams : Nat) (k : Expr → Expr → MetaM α) : MetaM α := do let belowType ← inferType below - trace[Elab.definition.structural]! "belowType: {belowType}" + trace[Elab.definition.structural] "belowType: {belowType}" belowType.withApp fun f args => do let motivePos := numIndParams + 1 unless motivePos < args.size do throwError! "unexpected 'below' type{indentExpr belowType}" @@ -321,12 +321,12 @@ private partial def replaceRecApps (recFnName : Name) (recArgInfo : RecArgInfo) To make it work, users have to write the third alternative as `| zs => g zs + 2` If this is too annoying in practice, we may replace `ys` with the matching term, but this may generate weird error messages, when it doesn't work. -/ - trace[Elab.definition.structural]! "below before matcherApp.addArg: {below} : {← inferType below}" + trace[Elab.definition.structural] "below before matcherApp.addArg: {below} : {← inferType below}" let matcherApp ← mapError (matcherApp.addArg below) (fun msg => "failed to add `below` argument to 'matcher' application" ++ indentD msg) modify fun s => { s with matcherBelowDep := s.matcherBelowDep.insert matcherApp.matcherName } let altsNew ← (Array.zip matcherApp.alts matcherApp.altNumParams).mapM fun (alt, numParams) => lambdaTelescope alt fun xs altBody => do - trace[Elab.definition.structural]! "altNumParams: {numParams}, xs: {xs}" + trace[Elab.definition.structural] "altNumParams: {numParams}, xs: {xs}" unless xs.size >= numParams do throwError! "unexpected matcher application alternative{indentExpr alt}\nat application{indentExpr e}" let belowForAlt := xs[numParams - 1] @@ -340,15 +340,15 @@ private def mkBRecOn (recFnName : Name) (recArgInfo : RecArgInfo) (value : Expr) let type := (← inferType value).headBeta let major := recArgInfo.ys[recArgInfo.pos] let otherArgs := recArgInfo.ys.filter fun y => y != major && !recArgInfo.indIndices.contains y - trace[Elab.definition.structural]! "fixedParams: {recArgInfo.fixedParams}, otherArgs: {otherArgs}" + trace[Elab.definition.structural] "fixedParams: {recArgInfo.fixedParams}, otherArgs: {otherArgs}" let motive ← mkForallFVars otherArgs type let mut brecOnUniv ← getLevel motive - trace[Elab.definition.structural]! "brecOn univ: {brecOnUniv}" + trace[Elab.definition.structural] "brecOn univ: {brecOnUniv}" let useBInductionOn := recArgInfo.reflexive && brecOnUniv == levelZero if recArgInfo.reflexive && brecOnUniv != levelZero then brecOnUniv ← decLevel brecOnUniv let motive ← mkLambdaFVars (recArgInfo.indIndices.push major) motive - trace[Elab.definition.structural]! "brecOn motive: {motive}" + trace[Elab.definition.structural] "brecOn motive: {motive}" let brecOn := if useBInductionOn then Lean.mkConst (mkBInductionOnName recArgInfo.indName) recArgInfo.indLevels @@ -360,12 +360,12 @@ private def mkBRecOn (recFnName : Name) (recArgInfo : RecArgInfo) (value : Expr) let brecOn := mkApp brecOn major check brecOn let brecOnType ← inferType brecOn - trace[Elab.definition.structural]! "brecOn {brecOn}" - trace[Elab.definition.structural]! "brecOnType {brecOnType}" + trace[Elab.definition.structural] "brecOn {brecOn}" + trace[Elab.definition.structural] "brecOnType {brecOnType}" forallBoundedTelescope brecOnType (some 1) fun F _ => do let F := F[0] let FType ← inferType F - trace[Elab.definition.structural]! "FType: {FType}" + trace[Elab.definition.structural] "FType: {FType}" let FType ← instantiateForall FType recArgInfo.indIndices let FType ← instantiateForall FType #[major] forallBoundedTelescope FType (some 1) fun below _ => do @@ -378,14 +378,14 @@ private def mkBRecOn (recFnName : Name) (recArgInfo : RecArgInfo) (value : Expr) private def elimRecursion (preDef : PreDefinition) : M PreDefinition := withoutModifyingEnv do lambdaTelescope preDef.value fun xs value => do addAsAxiom preDef - trace[Elab.definition.structural]! "{preDef.declName} {xs} :=\n{value}" + trace[Elab.definition.structural] "{preDef.declName} {xs} :=\n{value}" let numFixed ← getFixedPrefix preDef.declName xs value - trace[Elab.definition.structural]! "numFixed: {numFixed}" + trace[Elab.definition.structural] "numFixed: {numFixed}" findRecArg numFixed xs fun recArgInfo => do -- when (recArgInfo.indName == `Nat) throwStructuralFailed -- HACK to skip Nat argument let valueNew ← mkBRecOn preDef.declName recArgInfo value let valueNew ← mkLambdaFVars xs valueNew - trace[Elab.definition.structural]! "result: {valueNew}" + trace[Elab.definition.structural] "result: {valueNew}" -- Recursive applications may still occur in expressions that were not visited by replaceRecApps (e.g., in types) let valueNew ← ensureNoRecFn preDef.declName valueNew pure { preDef with value := valueNew } diff --git a/stage0/src/Lean/Elab/Quotation.lean b/stage0/src/Lean/Elab/Quotation.lean index 64c2c00d80..a092d6aa4b 100644 --- a/stage0/src/Lean/Elab/Quotation.lean +++ b/stage0/src/Lean/Elab/Quotation.lean @@ -403,7 +403,7 @@ private def deduplicate (floatedLetDecls : Array Syntax) : Alt → TermElabM (Ar (floatedLetDecls.push (← `(letDecl|rhs $vars:ident* := $rhs)), (pats, rhs')) private partial def compileStxMatch (discrs : List Syntax) (alts : List Alt) : TermElabM Syntax := do - trace[Elab.match_syntax]! "match {discrs} with {alts}" + trace[Elab.match_syntax] "match {discrs} with {alts}" match discrs, alts with | [], ([], rhs)::_ => pure rhs -- nothing left to match | _, [] => throwError "non-exhaustive 'match_syntax'" @@ -461,7 +461,7 @@ def match_syntax.expand (stx : Syntax) : TermElabM Syntax := do -- no quotations => fall back to regular `match` throwUnsupportedSyntax let stx ← compileStxMatch discrs.toList (patss.map (·.toList) |>.zip rhss).toList - trace[Elab.match_syntax.result]! "{stx}" + trace[Elab.match_syntax.result] "{stx}" stx | _ => throwUnsupportedSyntax diff --git a/stage0/src/Lean/Elab/StructInst.lean b/stage0/src/Lean/Elab/StructInst.lean index 47e9d0c186..328fa2ccd6 100644 --- a/stage0/src/Lean/Elab/StructInst.lean +++ b/stage0/src/Lean/Elab/StructInst.lean @@ -127,9 +127,9 @@ private def elabModifyOp (stx modifyOp source : Syntax) (expectedType? : Option let idx := lval[1] let self := source[0] let stxNew ← `($(self).modifyOp (idx := $idx) (fun s => $val)) - trace[Elab.struct.modifyOp]! "{stx}\n===>\n{stxNew}" + trace[Elab.struct.modifyOp] "{stx}\n===>\n{stxNew}" withMacroExpansion stx stxNew <| elabTerm stxNew expectedType? - trace[Elab.struct.modifyOp]! "{modifyOp}\nSource: {source}" + trace[Elab.struct.modifyOp] "{modifyOp}\nSource: {source}" let rest := modifyOp[0][1] if rest.isNone then cont modifyOp[2] @@ -143,7 +143,7 @@ private def elabModifyOp (stx modifyOp source : Syntax) (expectedType? : Option let valSource := source.modifyArg 0 fun _ => s let val := stx.setArg 1 valSource let val := val.setArg 2 <| mkNullNode #[mkNullNode #[valField, mkNullNode]] - trace[Elab.struct.modifyOp]! "{stx}\nval: {val}" + trace[Elab.struct.modifyOp] "{stx}\nval: {val}" cont val /- Get structure name and elaborate explicit source (if available) -/ @@ -789,7 +789,7 @@ private def elabStructInstAux (stx : Syntax) (expectedType? : Option Expr) (sour | Except.error ex => throwError ex | Except.ok struct => let struct ← expandStruct struct - trace[Elab.struct]! "{struct}" + trace[Elab.struct] "{struct}" let (r, struct) ← elabStruct struct expectedType? DefaultFields.propagate struct pure r diff --git a/stage0/src/Lean/Elab/Structure.lean b/stage0/src/Lean/Elab/Structure.lean index 4ce8761636..5942766b96 100644 --- a/stage0/src/Lean/Elab/Structure.lean +++ b/stage0/src/Lean/Elab/Structure.lean @@ -431,7 +431,6 @@ private def mkCtor (view : StructView) (levelParams : List Name) (params : Array let type ← addCtorFields fieldInfos fieldInfos.size type let type ← mkForallFVars params type let type ← instantiateMVars type - trace[Meta.debug]! "ctor type: {type}" let type := type.inferImplicit params.size !view.ctor.inferMod pure { name := view.ctor.declName, type := type } @@ -488,7 +487,7 @@ private def elabStructureView (view : StructView) : TermElabM Unit := do else checkResultingUniverse (← getResultUniverse type) pure type - trace[Elab.structure]! "type: {type}" + trace[Elab.structure] "type: {type}" let usedLevelNames ← collectLevelParamsInStructure type scopeVars view.params fieldInfos match sortDeclLevelParams view.scopeLevelNames view.allUserLevelNames usedLevelNames with | Except.error msg => withRef view.ref <| throwError msg @@ -497,7 +496,6 @@ private def elabStructureView (view : StructView) : TermElabM Unit := do let ctor ← mkCtor view levelParams params fieldInfos let type ← mkForallFVars params type let type ← instantiateMVars type - trace[Meta.debug]! "type: {type}" let indType := { name := view.declName, type := type, ctors := [ctor] : InductiveType } let decl := Declaration.inductDecl levelParams params.size [indType] view.modifiers.isUnsafe Term.ensureNoUnassignedMVars decl diff --git a/stage0/src/Lean/Elab/SyntheticMVars.lean b/stage0/src/Lean/Elab/SyntheticMVars.lean index 024abbbdf2..32290c1f8e 100644 --- a/stage0/src/Lean/Elab/SyntheticMVars.lean +++ b/stage0/src/Lean/Elab/SyntheticMVars.lean @@ -101,14 +101,14 @@ private def tryToSynthesizeUsingDefaultInstance (mvarId : MVarId) (defaultInstan let candidate := Lean.mkConst defaultInstance (← mkFreshLevelMVars constInfo.levelParams.length) let (mvars, bis, _) ← forallMetaTelescopeReducing (← inferType candidate) let candidate := mkAppN candidate mvars - trace[Elab.resume]! "trying default instance for {mkMVar mvarId} := {candidate}" + trace[Elab.resume] "trying default instance for {mkMVar mvarId} := {candidate}" if (← isDefEqGuarded (mkMVar mvarId) candidate) then -- Succeeded. Collect new TC problems let mut result := [] for i in [:bis.size] do if bis[i] == BinderInfo.instImplicit then result := { mvarId := mvars[i].mvarId!, stx := (← getRef), kind := SyntheticMVarKind.typeClass } :: result - trace[Elab.resume]! "worked" + trace[Elab.resume] "worked" return some result else return none @@ -239,7 +239,7 @@ mutual -- We use `traceM` because we want to make sure the metavar local context is used to trace the message traceM `Elab.postpone (withMVarContext mvarDecl.mvarId do addMessageContext m!"resuming {mkMVar mvarDecl.mvarId}") let succeeded ← synthesizeSyntheticMVar mvarDecl postponeOnError runTactics - trace[Elab.postpone]! if succeeded then fmt "succeeded" else fmt "not ready yet" + trace[Elab.postpone] if succeeded then fmt "succeeded" else fmt "not ready yet" pure !succeeded -- Merge new synthetic metavariables with `remainingSyntheticMVars`, i.e., metavariables that still couldn't be synthesized modify fun s => { s with syntheticMVars := s.syntheticMVars ++ remainingSyntheticMVars } diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index acb5729a18..dfb241e453 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -876,7 +876,7 @@ def tryPostponeIfHasMVars (expectedType? : Option Expr) (msg : String) : TermEla pure expectedType private def postponeElabTerm (stx : Syntax) (expectedType? : Option Expr) : TermElabM Expr := do - trace[Elab.postpone]! "{stx} : {expectedType?}" + trace[Elab.postpone] "{stx} : {expectedType?}" let mvar ← mkFreshExprMVar expectedType? MetavarKind.syntheticOpaque let ctx ← read registerSyntheticMVar stx mvar.mvarId! (SyntheticMVarKind.postponed ctx.macroStack ctx.declName?) @@ -980,7 +980,7 @@ private def elabImplicitLambdaAux (stx : Syntax) (catchExPostpone : Bool) (expec let body ← elabUsingElabFns stx expectedType catchExPostpone let body ← ensureHasType expectedType body let r ← mkLambdaFVars fvars body - trace[Elab.implicitForall]! r + trace[Elab.implicitForall] r pure r private partial def elabImplicitLambda (stx : Syntax) (catchExPostpone : Bool) : Expr → Array Expr → TermElabM Expr @@ -998,7 +998,7 @@ private partial def elabImplicitLambda (stx : Syntax) (catchExPostpone : Bool) : /- Main loop for `elabTerm` -/ private partial def elabTermAux (expectedType? : Option Expr) (catchExPostpone : Bool) (implicitLambda : Bool) : Syntax → TermElabM Expr | stx => withFreshMacroScope <| withIncRecDepth do - trace[Elab.step]! "expected type: {expectedType?}, term\n{stx}" + trace[Elab.step] "expected type: {expectedType?}, term\n{stx}" checkMaxHeartbeats "elaborator" withNestedTraces do let env ← getEnv @@ -1157,9 +1157,9 @@ builtin_initialize registerTraceClass `Elab.letrec /- Return true if mvarId is an auxiliary metavariable created for compiling `let rec` or it is delayed assigned to one. -/ def isLetRecAuxMVar (mvarId : MVarId) : TermElabM Bool := do - trace[Elab.letrec]! "mvarId: {mkMVar mvarId} letrecMVars: {(← get).letRecsToLift.map (mkMVar $ ·.mvarId)}" + trace[Elab.letrec] "mvarId: {mkMVar mvarId} letrecMVars: {(← get).letRecsToLift.map (mkMVar $ ·.mvarId)}" let mvarId := (← getMCtx).getDelayedRoot mvarId - trace[Elab.letrec]! "mvarId root: {mkMVar mvarId}" + trace[Elab.letrec] "mvarId root: {mkMVar mvarId}" return (← get).letRecsToLift.any (·.mvarId == mvarId) /- ======================================= diff --git a/stage0/src/Lean/Meta/AppBuilder.lean b/stage0/src/Lean/Meta/AppBuilder.lean index 8547b95c35..6122d6965c 100644 --- a/stage0/src/Lean/Meta/AppBuilder.lean +++ b/stage0/src/Lean/Meta/AppBuilder.lean @@ -51,14 +51,14 @@ def mkHEqRefl (a : Expr) : MetaM Expr := do return mkApp2 (mkConst ``HEq.refl [u]) aType a def mkAbsurd (e : Expr) (hp hnp : Expr) : MetaM Expr := do - let p ← inferType hp - let u ← getLevel e - return mkApp4 (mkConst ``absurd [u]) p e hp hnp + let p ← inferType hp + let u ← getLevel e + return mkApp4 (mkConst ``absurd [u]) p e hp hnp def mkFalseElim (e : Expr) (h : Expr) : MetaM Expr := do let u ← getLevel e return mkApp2 (mkConst ``False.elim [u]) e h - + private def infer (h : Expr) : MetaM Expr := do let hType ← inferType h whnfD hType @@ -243,7 +243,7 @@ def mkAppM (constName : Name) (xs : Array Expr) : MetaM Expr := do traceCtx `Meta.appBuilder <| withNewMCtxDepth do let (f, fType) ← mkFun constName let r ← mkAppMArgs f fType xs - trace[Meta.appBuilder]! "constName: {constName}, xs: {xs}, result: {r}" + trace[Meta.appBuilder] "constName: {constName}, xs: {xs}, result: {r}" return r private partial def mkAppOptMAux (f : Expr) (xs : Array (Option Expr)) : Nat → Array Expr → Nat → Array MVarId → Expr → MetaM Expr diff --git a/stage0/src/Lean/Meta/Check.lean b/stage0/src/Lean/Meta/Check.lean index af14a06179..30fd32ee19 100644 --- a/stage0/src/Lean/Meta/Check.lean +++ b/stage0/src/Lean/Meta/Check.lean @@ -186,7 +186,7 @@ def isTypeCorrect (e : Expr) : MetaM Bool := do check e pure true catch ex => - trace[Meta.typeError]! ex.toMessageData + trace[Meta.typeError] ex.toMessageData pure false builtin_initialize diff --git a/stage0/src/Lean/Meta/Closure.lean b/stage0/src/Lean/Meta/Closure.lean index 1c1c36d510..cbc8622f8f 100644 --- a/stage0/src/Lean/Meta/Closure.lean +++ b/stage0/src/Lean/Meta/Closure.lean @@ -347,7 +347,7 @@ end Closure returned where `u_i`s are universe parameters and metavariables `type` and `value` depend on, and `t_j`s are free and meta variables `type` and `value` depend on. -/ def mkAuxDefinition (name : Name) (type : Expr) (value : Expr) (zeta : Bool := false) (compile : Bool := true) : MetaM Expr := do - trace[Meta.debug]! "{name} : {type} := {value}" + trace[Meta.debug] "{name} : {type} := {value}" let result ← Closure.mkValueTypeClosure type value zeta let env ← getEnv let decl := Declaration.defnDecl { @@ -358,7 +358,7 @@ def mkAuxDefinition (name : Name) (type : Expr) (value : Expr) (zeta : Bool := f hints := ReducibilityHints.regular (getMaxHeight env result.value + 1), safety := if env.hasUnsafe result.type || env.hasUnsafe result.value then DefinitionSafety.unsafe else DefinitionSafety.safe } - trace[Meta.debug]! "{name} : {result.type} := {result.value}" + trace[Meta.debug] "{name} : {result.type} := {result.value}" addDecl decl if compile then compileDecl decl diff --git a/stage0/src/Lean/Meta/ExprDefEq.lean b/stage0/src/Lean/Meta/ExprDefEq.lean index eb1f6a9cff..c3f1fa0322 100644 --- a/stage0/src/Lean/Meta/ExprDefEq.lean +++ b/stage0/src/Lean/Meta/ExprDefEq.lean @@ -229,18 +229,18 @@ private partial def isDefEqBindingAux (lctx : LocalContext) (fvars : Array Expr) private def checkTypesAndAssign (mvar : Expr) (v : Expr) : MetaM Bool := traceCtx `Meta.isDefEq.assign.checkTypes do if !mvar.isMVar then - trace[Meta.isDefEq.assign.final]! "metavariable expected at {mvar} := {v}" + trace[Meta.isDefEq.assign.final] "metavariable expected at {mvar} := {v}" return false else -- must check whether types are definitionally equal or not, before assigning and returning true let mvarType ← inferType mvar let vType ← inferType v if (← withTransparency TransparencyMode.default <| Meta.isExprDefEqAux mvarType vType) then - trace[Meta.isDefEq.assign.final]! "{mvar} := {v}" + trace[Meta.isDefEq.assign.final] "{mvar} := {v}" assignExprMVar mvar.mvarId! v pure true else - trace[Meta.isDefEq.assign.typeMismatch]! "{mvar} : {mvarType} := {v} : {vType}" + trace[Meta.isDefEq.assign.typeMismatch] "{mvar} : {mvarType} := {v} : {vType}" pure false /-- @@ -278,7 +278,7 @@ private partial def mkLambdaFVarsWithLetDeps (xs : Array Expr) (v : Expr) : Meta mkLambdaFVars xs v else let ys ← addLetDeps - trace[Meta.debug]! "ys: {ys}, v: {v}" + trace[Meta.debug] "ys: {ys}, v: {v}" mkLambdaFVars ys v where @@ -834,7 +834,7 @@ private partial def processAssignmentFOApprox (mvar : Expr) (args : Array Expr) if !cfg.foApprox then pure false else - trace[Meta.isDefEq.foApprox]! "{mvar} {args} := {v}" + trace[Meta.isDefEq.foApprox] "{mvar} {args} := {v}" let v := v.headBeta if (← commitWhen <| processAssignmentFOApproxAux mvar args v) then pure true @@ -872,7 +872,7 @@ private def assignConst (mvar : Expr) (numArgs : Nat) (v : Expr) : MetaM Bool := match (← checkAssignment mvar.mvarId! #[] v) with | none => pure false | some v => - trace[Meta.isDefEq.constApprox]! "{mvar} := {v}" + trace[Meta.isDefEq.constApprox] "{mvar} := {v}" checkTypesAndAssign mvar v private def processConstApprox (mvar : Expr) (numArgs : Nat) (v : Expr) : MetaM Bool := do @@ -888,7 +888,7 @@ private def processConstApprox (mvar : Expr) (numArgs : Nat) (v : Expr) : MetaM It assumes `?m` is unassigned. -/ private partial def processAssignment (mvarApp : Expr) (v : Expr) : MetaM Bool := traceCtx `Meta.isDefEq.assign do - trace[Meta.isDefEq.assign]! "{mvarApp} := {v}" + trace[Meta.isDefEq.assign] "{mvarApp} := {v}" let mvar := mvarApp.getAppFn let mvarDecl ← getMVarDecl mvar.mvarId! let rec process (i : Nat) (args : Array Expr) (v : Expr) := do @@ -919,7 +919,7 @@ private partial def processAssignment (mvarApp : Expr) (v : Expr) : MetaM Bool : match (← checkAssignment mvarId args v) with | none => useFOApprox args | some v => do - trace[Meta.isDefEq.assign.beforeMkLambda]! "{mvar} {args} := {v}" + trace[Meta.isDefEq.assign.beforeMkLambda] "{mvar} {args} := {v}" let some v ← mkLambdaFVarsWithLetDeps args v | return false if args.any (fun arg => mvarDecl.lctx.containsFVar arg) then /- We need to type check `v` because abstraction using `mkLambdaFVars` may have produced @@ -927,7 +927,7 @@ private partial def processAssignment (mvarApp : Expr) (v : Expr) : MetaM Bool : if (← isTypeCorrect v) then checkTypesAndAssign mvar v else - trace[Meta.isDefEq.assign.typeError]! "{mvar} := {v}" + trace[Meta.isDefEq.assign.typeError] "{mvar} := {v}" useFOApprox args else checkTypesAndAssign mvar v @@ -968,17 +968,17 @@ private def isListLevelDefEq (us vs : List Level) : MetaM LBool := /-- Auxiliary method for isDefEqDelta -/ private def isDefEqLeft (fn : Name) (t s : Expr) : MetaM LBool := do - trace[Meta.isDefEq.delta.unfoldLeft]! fn + trace[Meta.isDefEq.delta.unfoldLeft] fn toLBoolM <| Meta.isExprDefEqAux t s /-- Auxiliary method for isDefEqDelta -/ private def isDefEqRight (fn : Name) (t s : Expr) : MetaM LBool := do - trace[Meta.isDefEq.delta.unfoldRight]! fn + trace[Meta.isDefEq.delta.unfoldRight] fn toLBoolM <| Meta.isExprDefEqAux t s /-- Auxiliary method for isDefEqDelta -/ private def isDefEqLeftRight (fn : Name) (t s : Expr) : MetaM LBool := do - trace[Meta.isDefEq.delta.unfoldLeftRight]! fn + trace[Meta.isDefEq.delta.unfoldLeftRight] fn toLBoolM <| Meta.isExprDefEqAux t s /-- Try to solve `f a₁ ... aₙ =?= f b₁ ... bₙ` by solving `a₁ =?= b₁, ..., aₙ =?= bₙ`. @@ -1012,7 +1012,7 @@ private def tryHeuristic (t s : Expr) : MetaM Bool := <&&> isListLevelDefEqAux tFn.constLevels! sFn.constLevels! unless b do - trace[Meta.isDefEq.delta]! "heuristic failed {t} =?= {s}" + trace[Meta.isDefEq.delta] "heuristic failed {t} =?= {s}" pure b /-- Auxiliary method for isDefEqDelta -/ @@ -1288,7 +1288,7 @@ private partial def isDefEqQuickOther (t s : Expr) : MetaM LBool := do let tAssign? ← isAssignable tFn let sAssign? ← isAssignable sFn let assignableMsg (b : Bool) := if b then "[assignable]" else "[nonassignable]" - trace[Meta.isDefEq]! "{t} {assignableMsg tAssign?} =?= {s} {assignableMsg sAssign?}" + trace[Meta.isDefEq] "{t} {assignableMsg tAssign?} =?= {s} {assignableMsg sAssign?}" if tAssign? && !sAssign? then toLBoolM <| processAssignment' t s else if !tAssign? && sAssign? then @@ -1297,7 +1297,7 @@ private partial def isDefEqQuickOther (t s : Expr) : MetaM LBool := do if tFn.isMVar || sFn.isMVar then let ctx ← read if ctx.config.isDefEqStuckEx then do - trace[Meta.isDefEq.stuck]! "{t} =?= {s}" + trace[Meta.isDefEq.stuck] "{t} =?= {s}" Meta.throwIsDefEqStuck else pure LBool.false @@ -1337,7 +1337,7 @@ end @[specialize] private def unstuckMVar (e : Expr) (successK : Expr → MetaM Bool) (failK : MetaM Bool): MetaM Bool := do match (← getStuckMVar? e) with | some mvarId => - trace[Meta.isDefEq.stuckMVar]! "found stuck MVar {mkMVar mvarId} : {← inferType (mkMVar mvarId)}" + trace[Meta.isDefEq.stuckMVar] "found stuck MVar {mkMVar mvarId} : {← inferType (mkMVar mvarId)}" if (← Meta.synthPending mvarId) then let e ← instantiateMVars e successK e @@ -1373,7 +1373,7 @@ private def isDefEqApp (t s : Expr) : MetaM Bool := do isDefEqOnFailure t s partial def isExprDefEqAuxImpl (t : Expr) (s : Expr) : MetaM Bool := do - trace[Meta.isDefEq.step]! "{t} =?= {s}" + trace[Meta.isDefEq.step] "{t} =?= {s}" checkMaxHeartbeats "isDefEq" withNestedTraces do whenUndefDo (isDefEqQuick t s) do diff --git a/stage0/src/Lean/Meta/LevelDefEq.lean b/stage0/src/Lean/Meta/LevelDefEq.lean index 3cbcca9e7d..32e3f1d7e2 100644 --- a/stage0/src/Lean/Meta/LevelDefEq.lean +++ b/stage0/src/Lean/Meta/LevelDefEq.lean @@ -116,10 +116,10 @@ mutual partial def isLevelDefEqAux : Level → Level → MetaM Bool | Level.succ lhs _, Level.succ rhs _ => isLevelDefEqAux lhs rhs | lhs, rhs => do - if lhs == rhs then - return true + if lhs.getLevelOffset == rhs.getLevelOffset then + return lhs.getOffset == rhs.getOffset else - trace[Meta.isLevelDefEq.step]! "{lhs} =?= {rhs}" + trace[Meta.isLevelDefEq.step] "{lhs} =?= {rhs}" let lhs' ← instantiateLevelMVars lhs let lhs' := lhs'.normalize let rhs' ← instantiateLevelMVars rhs @@ -139,7 +139,7 @@ mutual if !mctx.hasAssignableLevelMVar lhs && !mctx.hasAssignableLevelMVar rhs then let ctx ← read if ctx.config.isDefEqStuckEx && (lhs.isMVar || rhs.isMVar) then do - trace[Meta.isLevelDefEq.stuck]! "{lhs} =?= {rhs}" + trace[Meta.isLevelDefEq.stuck] "{lhs} =?= {rhs}" Meta.throwIsDefEqStuck else return false @@ -181,7 +181,7 @@ else if numPostponed == 0 then return true else - trace[Meta.isLevelDefEq.postponed]! "processing #{numPostponed} postponed is-def-eq level constraints" + trace[Meta.isLevelDefEq.postponed] "processing #{numPostponed} postponed is-def-eq level constraints" if !(← processPostponedStep) then return false else @@ -191,7 +191,7 @@ else else if numPostponed' < numPostponed then loop else - trace[Meta.isLevelDefEq.postponed]! "no progress solving pending is-def-eq level constraints" + trace[Meta.isLevelDefEq.postponed] "no progress solving pending is-def-eq level constraints" return mayPostpone loop @@ -213,6 +213,8 @@ private def restore (env : Environment) (mctx : MetavarContext) (postponed : Per try if (← x) then if (← processPostponed mayPostpone) then + let newPostponed ← getPostponed + setPostponed (postponed ++ newPostponed) return true else restore env mctx postponed @@ -225,9 +227,16 @@ private def restore (env : Environment) (mctx : MetavarContext) (postponed : Per throw ex private def postponedToMessageData (ps : PersistentArray PostponedEntry) : MessageData := do + let mut found : Std.HashSet (Level × Level) := {} let mut r := MessageData.nil for p in ps do - r := m!"{r}\n{p.lhs} =?= {p.rhs}" + let mut lhs := p.lhs + let mut rhs := p.rhs + if Level.normLt rhs lhs then + (lhs, rhs) := (rhs, lhs) + unless found.contains (lhs, rhs) do + found := found.insert (lhs, rhs) + r := m!"{r}\n{lhs} =?= {rhs}" return r @[specialize] def withoutPostponingUniverseConstraintsImp {α} (x : MetaM α) : MetaM α := do @@ -248,13 +257,13 @@ private def postponedToMessageData (ps : PersistentArray PostponedEntry) : Messa def isLevelDefEq (u v : Level) : MetaM Bool := traceCtx `Meta.isLevelDefEq do let b ← commitWhen (mayPostpone := true) <| Meta.isLevelDefEqAux u v - trace[Meta.isLevelDefEq]! "{u} =?= {v} ... {if b then "success" else "failure"}" + trace[Meta.isLevelDefEq] "{u} =?= {v} ... {if b then "success" else "failure"}" return b def isExprDefEq (t s : Expr) : MetaM Bool := traceCtx `Meta.isDefEq do let b ← commitWhen (mayPostpone := true) <| Meta.isExprDefEqAux t s - trace[Meta.isDefEq]! "{t} =?= {s} ... {if b then "success" else "failure"}" + trace[Meta.isDefEq] "{t} =?= {s} ... {if b then "success" else "failure"}" return b abbrev isDefEq (t s : Expr) : MetaM Bool := diff --git a/stage0/src/Lean/Meta/Match/CaseValues.lean b/stage0/src/Lean/Meta/Match/CaseValues.lean index d2e05fe82a..b50ca198de 100644 --- a/stage0/src/Lean/Meta/Match/CaseValues.lean +++ b/stage0/src/Lean/Meta/Match/CaseValues.lean @@ -45,11 +45,11 @@ def caseValueAux (mvarId : MVarId) (fvarId : FVarId) (value : Expr) (hName : Nam let clearH := false let (thenSubst, thenMVarId) ← substCore thenMVarId thenH symm subst clearH withMVarContext thenMVarId do - trace[Meta]! "subst domain: {thenSubst.domain}" + trace[Meta] "subst domain: {thenSubst.domain}" let thenH := (thenSubst.get thenH).fvarId! - trace[Meta]! "searching for decl" + trace[Meta] "searching for decl" let decl ← getLocalDecl thenH - trace[Meta]! "found decl" + trace[Meta] "found decl" let thenSubgoal := { mvarId := thenMVarId, newH := (thenSubst.get thenH).fvarId!, subst := thenSubst : CaseValueSubgoal } pure (thenSubgoal, elseSubgoal) diff --git a/stage0/src/Lean/Meta/Match/Match.lean b/stage0/src/Lean/Meta/Match/Match.lean index 4cefdbc983..fe2e29e1a4 100644 --- a/stage0/src/Lean/Meta/Match/Match.lean +++ b/stage0/src/Lean/Meta/Match/Match.lean @@ -41,7 +41,7 @@ where let (minorType, minorNumParams) := if !xs.isEmpty then (minorType, xs.size) else (mkSimpleThunkType minorType, 1) let idx := alts.length let minorName := (`h).appendIndexAfter (idx+1) - trace[Meta.Match.debug]! "minor premise {minorName} : {minorType}" + trace[Meta.Match.debug] "minor premise {minorName} : {minorType}" withLocalDeclD minorName minorType fun minor => do let rhs := if xs.isEmpty then mkApp minor (mkConst `Unit.unit) else mkAppN minor xs let minors := minors.push (minor, minorNumParams) @@ -202,20 +202,20 @@ def occurs (fvarId : FVarId) (v : Expr) : Bool := def assign (fvarId : FVarId) (v : Expr) : M Bool := do if occurs fvarId v then - trace[Meta.Match.unify]! "assign occurs check failed, {mkFVar fvarId} := {v}" + trace[Meta.Match.unify] "assign occurs check failed, {mkFVar fvarId} := {v}" pure false else let ctx ← read if (← isAltVar fvarId) then - trace[Meta.Match.unify]! "{mkFVar fvarId} := {v}" + trace[Meta.Match.unify] "{mkFVar fvarId} := {v}" modify fun s => { s with fvarSubst := s.fvarSubst.insert fvarId v } pure true else - trace[Meta.Match.unify]! "assign failed variable is not local, {mkFVar fvarId} := {v}" + trace[Meta.Match.unify] "assign failed variable is not local, {mkFVar fvarId} := {v}" pure false partial def unify (a : Expr) (b : Expr) : M Bool := do - trace[Meta.Match.unify]! "{a} =?= {b}" + trace[Meta.Match.unify] "{a} =?= {b}" if (← isDefEq a b) then pure true else @@ -292,7 +292,7 @@ def processInaccessibleAsCtor (alt : Alt) (ctorName : Name) : MetaM (Option Alt) let env ← getEnv match alt.patterns with | p@(Pattern.inaccessible e) :: ps => - trace[Meta.Match.match]! "inaccessible in ctor step {e}" + trace[Meta.Match.match] "inaccessible in ctor step {e}" withExistingLocalDecls alt.fvarDecls do -- Try to push inaccessible annotations. let e ← whnfD e @@ -308,7 +308,7 @@ def processInaccessibleAsCtor (alt : Alt) (ctorName : Name) : MetaM (Option Alt) | _ => unreachable! private def processConstructor (p : Problem) : MetaM (Array Problem) := do - trace[Meta.Match.match]! "constructor step" + trace[Meta.Match.match] "constructor step" let env ← getEnv match p.vars with | [] => unreachable! @@ -395,7 +395,7 @@ private def isFirstPatternVar (alt : Alt) : Bool := | _ => false private def processValue (p : Problem) : MetaM (Array Problem) := do - trace[Meta.Match.match]! "value step" + trace[Meta.Match.match] "value step" match p.vars with | [] => unreachable! | x :: xs => do @@ -449,7 +449,7 @@ private def expandVarIntoArrayLit (alt : Alt) (fvarId : FVarId) (arrayElemType : loop arraySize #[] private def processArrayLit (p : Problem) : MetaM (Array Problem) := do - trace[Meta.Match.match]! "array literal step" + trace[Meta.Match.match] "array literal step" match p.vars with | [] => unreachable! | x :: xs => do @@ -490,7 +490,7 @@ private def expandNatValuePattern (p : Problem) : Problem := do { p with alts := alts } private def traceStep (msg : String) : StateRefT State MetaM Unit := - trace[Meta.Match.match]! "{msg} step" + trace[Meta.Match.match] "{msg} step" private def traceState (p : Problem) : MetaM Unit := withGoalOf p (traceM `Meta.Match.match p.toMessageData) @@ -579,7 +579,7 @@ builtin_initialize matcherExt : EnvExtension (Std.PHashMap (Expr × Bool) Name) /- Similar to `mkAuxDefinition`, but uses the cache `matcherExt`. It also returns an Boolean that indicates whether a new matcher function was added to the environment or not. -/ def mkMatcherAuxDefinition (name : Name) (type : Expr) (value : Expr) : MetaM (Bool × Expr) := do - trace[Meta.debug]! "{name} : {type} := {value}" + trace[Meta.debug] "{name} : {type} := {value}" let compile := bootstrap.genMatcherCode.get (← getOptions) let result ← Closure.mkValueTypeClosure type value (zeta := false) let env ← getEnv @@ -594,7 +594,7 @@ def mkMatcherAuxDefinition (name : Name) (type : Expr) (value : Expr) : MetaM (B hints := ReducibilityHints.regular (getMaxHeight env result.value + 1), safety := if env.hasUnsafe result.type || env.hasUnsafe result.value then DefinitionSafety.unsafe else DefinitionSafety.safe } - trace[Meta.debug]! "{name} : {result.type} := {result.value}" + trace[Meta.debug] "{name} : {result.type} := {result.value}" addDecl decl if compile then compileDecl decl @@ -621,9 +621,9 @@ def mkMatcher (matcherName : Name) (matchType : Expr) (numDiscrs : Nat) (lhss : let uElimGen ← if uElim == levelZero then pure levelZero else mkFreshLevelMVar let motiveType ← mkForallFVars majors (mkSort uElimGen) withLocalDeclD `motive motiveType fun motive => do - trace[Meta.Match.debug]! "motiveType: {motiveType}" + trace[Meta.Match.debug] "motiveType: {motiveType}" let mvarType := mkAppN motive majors - trace[Meta.Match.debug]! "target: {mvarType}" + trace[Meta.Match.debug] "target: {mvarType}" withAlts motive lhss fun alts minors => do let mvar ← mkFreshExprMVar mvarType let examples := majors.toList.map fun major => Example.var major.fvarId! @@ -631,7 +631,7 @@ def mkMatcher (matcherName : Name) (matchType : Expr) (numDiscrs : Nat) (lhss : let args := #[motive] ++ majors ++ minors.map Prod.fst let type ← mkForallFVars args mvarType let val ← mkLambdaFVars args mvar - trace[Meta.Match.debug]! "matcher value: {val}\ntype: {type}" + trace[Meta.Match.debug] "matcher value: {val}\ntype: {type}" /- The option `bootstrap.gen_matcher_code` is a helper hack. It is useful, for example, for compiling `src/Init/Data/Int`. It is needed because the compiler uses `Int.decLt` for generating code for `Int.casesOn` applications, but `Int.casesOn` is used to @@ -644,13 +644,13 @@ def mkMatcher (matcherName : Name) (matchType : Expr) (numDiscrs : Nat) (lhss : ``` which is defined **before** `Int.decLt` -/ let (isNewMatcher, matcher) ← mkMatcherAuxDefinition matcherName type val - trace[Meta.Match.debug]! "matcher levels: {matcher.getAppFn.constLevels!}, uElim: {uElimGen}" + trace[Meta.Match.debug] "matcher levels: {matcher.getAppFn.constLevels!}, uElim: {uElimGen}" let uElimPos? ← getUElimPos? matcher.getAppFn.constLevels! uElimGen discard <| isLevelDefEq uElimGen uElim if isNewMatcher then addMatcherInfo matcherName { numParams := matcher.getAppNumArgs, numDiscrs := numDiscrs, altNumParams := minors.map Prod.snd, uElimPos? := uElimPos? } setInlineAttribute matcherName - trace[Meta.Match.debug]! "matcher: {matcher}" + trace[Meta.Match.debug] "matcher: {matcher}" let unusedAltIdxs := lhss.length.fold (init := []) fun i r => if s.used.contains i then r else i::r pure { matcher := matcher, counterExamples := s.counterExamples, unusedAltIdxs := unusedAltIdxs.reverse } @@ -709,7 +709,6 @@ def MatcherApp.addArg (matcherApp : MatcherApp) (e : Expr) : MetaM MatcherApp := let aux := mkAppN (mkConst matcherApp.matcherName matcherLevels.toList) matcherApp.params let aux := mkApp aux motive let aux := mkAppN aux matcherApp.discrs - trace! `Meta.debug aux check aux unless (← isTypeCorrect aux) do throwError "failed to add argument to matcher application, type error when constructing the new motive" diff --git a/stage0/src/Lean/Meta/SizeOf.lean b/stage0/src/Lean/Meta/SizeOf.lean index 3baab742c2..c177f8317f 100644 --- a/stage0/src/Lean/Meta/SizeOf.lean +++ b/stage0/src/Lean/Meta/SizeOf.lean @@ -68,7 +68,7 @@ where let type ← inferType motiveFVars[i] let motive ← forallTelescopeReducing type fun xs _ => do mkLambdaFVars xs <| mkConst ``Nat - trace[Meta.sizeOf]! "motive: {motive}" + trace[Meta.sizeOf] "motive: {motive}" loop (i+1) (motives.push motive) else k motives @@ -89,7 +89,7 @@ where | some idx => minor ← mkAdd minor xs'[idx] | none => minor ← mkAdd minor (← mkAppM ``SizeOf.sizeOf #[x']) minor ← mkLambdaFVars xs' minor - trace[Meta.sizeOf]! "minor: {minor}" + trace[Meta.sizeOf] "minor: {minor}" loop (i+1) (minors.push minor) else k minors @@ -98,7 +98,7 @@ where Create a "sizeOf" function with name `declName` using the recursor `recName`. -/ partial def mkSizeOfFn (recName : Name) (declName : Name): MetaM Unit := do - trace[Meta.sizeOf]! "recName: {recName}" + trace[Meta.sizeOf] "recName: {recName}" let recInfo : RecursorVal ← getConstInfoRec recName forallTelescopeReducing recInfo.type fun xs type => let levelParams := recInfo.levelParams.tail! -- universe parameters for declaration being defined @@ -118,7 +118,7 @@ partial def mkSizeOfFn (recName : Name) (declName : Name): MetaM Unit := do let sizeOfParams := params ++ localInsts ++ indices ++ #[major] let sizeOfType ← mkForallFVars sizeOfParams nat let val := mkAppN val (minors ++ indices ++ #[major]) - trace[Meta.sizeOf]! "val: {val}" + trace[Meta.sizeOf] "val: {val}" let sizeOfValue ← mkLambdaFVars sizeOfParams val addDecl <| Declaration.defnDecl { name := declName @@ -205,7 +205,7 @@ private def recToSizeOf (e : Expr) : M Expr := do mutual /-- Construct minor premise proof for `mkSizeOfAuxLemmaProof`. `ys` contains fields and inductive hypotheses for the minor premise. -/ private partial def mkMinorProof (ys : Array Expr) (lhs rhs : Expr) : M Expr := do - trace[Meta.sizeOf.minor]! "{lhs} =?= {rhs}" + trace[Meta.sizeOf.minor] "{lhs} =?= {rhs}" if (← isDefEq lhs rhs) then mkEqRefl rhs else @@ -228,7 +228,7 @@ mutual mkEqRefl rhs else let lhs ← recToSizeOf lhs - trace[Meta.sizeOf.minor.step]! "{lhs} =?= {rhs}" + trace[Meta.sizeOf.minor.step] "{lhs} =?= {rhs}" let target ← mkEq lhs rhs for y in ys do if (← isDefEq (← inferType y) target) then @@ -317,7 +317,7 @@ mutual `Expr._sizeOf_1 args` is **not** definitionally equal to `sizeOf args`. We need a proof by induction. -/ private partial def mkSizeOfAuxLemma (lhs rhs : Expr) : M Expr := do - trace[Meta.sizeOf.aux]! "{lhs} =?= {rhs}" + trace[Meta.sizeOf.aux] "{lhs} =?= {rhs}" match lhs.getAppFn.const? with | none => throwFailed | some (fName, us) => @@ -347,7 +347,7 @@ mutual let thmType ← mkForallFVars thmParams eq let thmValue ← mkSizeOfAuxLemmaProof info lhsNew rhsNew let thmValue ← mkLambdaFVars thmParams thmValue - trace[Meta.sizeOf]! "thmValue: {thmValue}" + trace[Meta.sizeOf] "thmValue: {thmValue}" addDecl <| Declaration.thmDecl { name := thmName levelParams := thmLevelParams @@ -369,7 +369,7 @@ partial def main (lhs rhs : Expr) : M Expr := do loop lhs rhs where loop (lhs rhs : Expr) : M Expr := do - trace[Meta.sizeOf.loop]! "{lhs} =?= {rhs}" + trace[Meta.sizeOf.loop] "{lhs} =?= {rhs}" if (← isDefEq lhs rhs) then mkEqRefl rhs else diff --git a/stage0/src/Lean/Meta/SynthInstance.lean b/stage0/src/Lean/Meta/SynthInstance.lean index 22fa9f38cd..b3b0f91da7 100644 --- a/stage0/src/Lean/Meta/SynthInstance.lean +++ b/stage0/src/Lean/Meta/SynthInstance.lean @@ -199,7 +199,7 @@ def getInstances (type : Expr) : MetaM (Array Expr) := do let result ← result.mapM fun e => match e.val with | Expr.const constName us _ => return e.val.updateConst! (← us.mapM (fun _ => mkFreshLevelMVar)) | _ => panic! "global instance is not a constant" - trace[Meta.synthInstance.globalInstances]! "{type}, {result}" + trace[Meta.synthInstance.globalInstances] "{type}, {result}" let result := localInstances.foldl (init := result) fun (result : Array Expr) linst => if linst.className == className then result.push linst.fvar else result pure result @@ -224,7 +224,7 @@ def mkGeneratorNode? (key mvar : Expr) : MetaM (Option GeneratorNode) := do `key` must be `mkTableKey mctx mvarType`. -/ def newSubgoal (mctx : MetavarContext) (key : Expr) (mvar : Expr) (waiter : Waiter) : SynthM Unit := withMCtx mctx do - trace[Meta.synthInstance.newSubgoal]! key + trace[Meta.synthInstance.newSubgoal] key match (← mkGeneratorNode? key mvar) with | none => pure () | some node => @@ -316,17 +316,17 @@ def tryResolveCore (mvar : Expr) (inst : Expr) : MetaM (Option (MetavarContext let localInsts ← getLocalInstances forallTelescopeReducing mvarType fun xs mvarTypeBody => do let ⟨subgoals, instVal, instTypeBody⟩ ← getSubgoals lctx localInsts xs inst - trace[Meta.synthInstance.tryResolve]! "{mvarTypeBody} =?= {instTypeBody}" + trace[Meta.synthInstance.tryResolve] "{mvarTypeBody} =?= {instTypeBody}" if (← isDefEq mvarTypeBody instTypeBody) then let instVal ← mkLambdaFVars xs instVal if (← isDefEq mvar instVal) then - trace[Meta.synthInstance.tryResolve]! "success" + trace[Meta.synthInstance.tryResolve] "success" pure (some ((← getMCtx), subgoals)) else - trace[Meta.synthInstance.tryResolve]! "failure assigning" + trace[Meta.synthInstance.tryResolve] "failure assigning" pure none else - trace[Meta.synthInstance.tryResolve]! "failure" + trace[Meta.synthInstance.tryResolve] "failure" pure none /-- @@ -355,7 +355,7 @@ def wakeUp (answer : Answer) : Waiter → SynthM Unit modify fun s => { s with result := answer.result.expr } else let (_, _, answerExpr) ← openAbstractMVarsResult answer.result - trace[Meta.synthInstance]! "skip answer containing metavariables {answerExpr}" + trace[Meta.synthInstance] "skip answer containing metavariables {answerExpr}" pure () | Waiter.consumerNode cNode => modify fun s => { s with resumeStack := s.resumeStack.push (cNode, answer) } @@ -370,7 +370,7 @@ private def mkAnswer (cNode : ConsumerNode) : MetaM Answer := withMCtx cNode.mctx do traceM `Meta.synthInstance.newAnswer do m!"size: {cNode.size}, {← inferType cNode.mvar}" let val ← instantiateMVars cNode.mvar - trace[Meta.synthInstance.newAnswer]! "val: {val}" + trace[Meta.synthInstance.newAnswer] "val: {val}" let result ← abstractMVars val -- assignable metavariables become parameters let resultType ← inferType result.expr pure { result := result, resultType := resultType, size := cNode.size + 1 } @@ -425,7 +425,7 @@ def generate : SynthM Unit := do let inst := gNode.instances.get! idx let mctx := gNode.mctx let mvar := gNode.mvar - trace[Meta.synthInstance.generate]! "instance {inst}" + trace[Meta.synthInstance.generate] "instance {inst}" modifyTop fun gNode => { gNode with currInstanceIdx := idx } match (← tryResolve mctx mvar inst) with | none => pure () @@ -475,12 +475,12 @@ partial def synth : SynthM (Option Expr) := do | none => synth | some result => pure result else - trace[Meta.synthInstance]! "failed" + trace[Meta.synthInstance] "failed" pure none def main (type : Expr) (maxResultSize : Nat) : MetaM (Option Expr) := withCurrHeartbeats <| traceCtx `Meta.synthInstance do - trace[Meta.synthInstance]! "main goal {type}" + trace[Meta.synthInstance] "main goal {type}" let mvar ← mkFreshExprMVar type let mctx ← getMCtx let key := mkTableKey mctx type @@ -577,27 +577,27 @@ def synthInstance? (type : Expr) (maxResultSize? : Option Nat := none) : MetaM ( | none => let result? ← withNewMCtxDepth do let normType ← preprocessOutParam type - trace[Meta.synthInstance]! "{type} ==> {normType}" + trace[Meta.synthInstance] "{type} ==> {normType}" match (← SynthInstance.main normType maxResultSize) with | none => pure none | some result => - trace[Meta.synthInstance]! "FOUND result {result}" + trace[Meta.synthInstance] "FOUND result {result}" let result ← instantiateMVars result if (← hasAssignableMVar result) then - trace[Meta.synthInstance]! "Failed has assignable mvar {result.setOption `pp.all true}" + trace[Meta.synthInstance] "Failed has assignable mvar {result.setOption `pp.all true}" pure none else pure (some result) let result? ← match result? with | none => pure none | some result => do - trace[Meta.synthInstance]! "result {result}" + trace[Meta.synthInstance] "result {result}" let resultType ← inferType result if (← withConfig (fun _ => inputConfig) <| isDefEq type resultType) then let result ← instantiateMVars result pure (some result) else - trace[Meta.synthInstance]! "result type{indentExpr resultType}\nis not definitionally equal to{indentExpr type}" + trace[Meta.synthInstance] "result type{indentExpr resultType}\nis not definitionally equal to{indentExpr type}" pure none if type.hasMVar then pure result? diff --git a/stage0/src/Lean/Meta/Tactic/Cases.lean b/stage0/src/Lean/Meta/Tactic/Cases.lean index acdb7eed15..2a3f2dc577 100644 --- a/stage0/src/Lean/Meta/Tactic/Cases.lean +++ b/stage0/src/Lean/Meta/Tactic/Cases.lean @@ -296,7 +296,7 @@ def cases (mvarId : MVarId) (majorFVarId : FVarId) (givenNames : Array AltVarNam inductionCasesOn mvarId majorFVarId givenNames ctx else let s₁ ← generalizeIndices mvarId majorFVarId - trace[Meta.Tactic.cases]! "after generalizeIndices\n{MessageData.ofGoal s₁.mvarId}" + trace[Meta.Tactic.cases] "after generalizeIndices\n{MessageData.ofGoal s₁.mvarId}" let s₂ ← inductionCasesOn s₁.mvarId s₁.fvarId givenNames ctx let s₂ ← elimAuxIndices s₁ s₂ unifyCasesEqs s₁.numEqs s₂ diff --git a/stage0/src/Lean/Meta/Tactic/Induction.lean b/stage0/src/Lean/Meta/Tactic/Induction.lean index e3acf657fc..d1b6f7ccc0 100644 --- a/stage0/src/Lean/Meta/Tactic/Induction.lean +++ b/stage0/src/Lean/Meta/Tactic/Induction.lean @@ -124,7 +124,7 @@ private def throwUnexpectedMajorType {α} (mvarId : MVarId) (majorType : Expr) : def induction (mvarId : MVarId) (majorFVarId : FVarId) (recursorName : Name) (givenNames : Array AltVarNames := #[]) : MetaM (Array InductionSubgoal) := withMVarContext mvarId do - trace[Meta.Tactic.induction]! "initial\n{MessageData.ofGoal mvarId}" + trace[Meta.Tactic.induction] "initial\n{MessageData.ofGoal mvarId}" checkNotAssigned mvarId `induction let majorLocalDecl ← getLocalDecl majorFVarId let recursorInfo ← mkRecursorInfo recursorName @@ -168,7 +168,7 @@ def induction (mvarId : MVarId) (majorFVarId : FVarId) (recursorName : Name) (gi subst := subst.insert index.fvarId! (mkFVar indices'[i]) i := i + 1 pure subst - trace[Meta.Tactic.induction]! "after revert&intro\n{MessageData.ofGoal mvarId}" + trace[Meta.Tactic.induction] "after revert&intro\n{MessageData.ofGoal mvarId}" -- Update indices and major let indices := indices'.map mkFVar let majorFVarId := majorFVarId' diff --git a/stage0/src/Lean/Meta/Tactic/Injection.lean b/stage0/src/Lean/Meta/Tactic/Injection.lean index 89f4fbdcb5..400cfde0c5 100644 --- a/stage0/src/Lean/Meta/Tactic/Injection.lean +++ b/stage0/src/Lean/Meta/Tactic/Injection.lean @@ -93,7 +93,6 @@ def injection (mvarId : MVarId) (fvarId : FVarId) (newNames : List Name := []) ( match (← injectionCore mvarId fvarId) with | InjectionResultCore.solved => pure InjectionResult.solved | InjectionResultCore.subgoal mvarId numEqs => - trace[Meta.debug]! "before injectionIntro\n{MessageData.ofGoal mvarId}" injectionIntro numEqs mvarId #[] newNames end Lean.Meta diff --git a/stage0/src/Lean/Meta/Tactic/Simp/CongrLemmas.lean b/stage0/src/Lean/Meta/Tactic/Simp/CongrLemmas.lean index f31adb7630..16dc5d26d7 100644 --- a/stage0/src/Lean/Meta/Tactic/Simp/CongrLemmas.lean +++ b/stage0/src/Lean/Meta/Tactic/Simp/CongrLemmas.lean @@ -90,7 +90,7 @@ def mkCongrLemma (declName : Name) (prio : Nat) : MetaM CongrLemma := withReduci foundMVars := foundMVars.insert x.mvarId! |>.insert rhsFn.mvarId! hypothesesPos := hypothesesPos.push i i := i + 1 - trace[Meta.debug]! "c: {c} : {type}" + trace[Meta.debug] "c: {c} : {type}" return { theoremName := declName funName := lhsFn.constName! diff --git a/stage0/src/Lean/Meta/Tactic/Simp/Main.lean b/stage0/src/Lean/Meta/Tactic/Simp/Main.lean index 629c94861f..077569dcf5 100644 --- a/stage0/src/Lean/Meta/Tactic/Simp/Main.lean +++ b/stage0/src/Lean/Meta/Tactic/Simp/Main.lean @@ -57,7 +57,6 @@ private def reduceProjFn? (e : Expr) : SimpM (Option Expr) := do match (← getProjectionFnInfo? cinfo.name) with | none => return none | some projInfo => - trace[Meta.debug]! "reduceProjFn? {projInfo.fromClass}, {cinfo.name}, {e}" if projInfo.fromClass then if (← read).toUnfold.contains cinfo.name then -- We only unfold class projections when the user explicitly requested them to be unfolded. @@ -103,7 +102,7 @@ private partial def reduce (e : Expr) : SimpM Expr := withIncRecDepth do -- TODO: eta reduction if cfg.proj then match (← reduceProjFn? e) with - | some e => trace[Meta.debug]! "reduceProjFn? result {e}"; return (← reduce e) + | some e => return (← reduce e) | none => pure () if cfg.iota then match (← reduceRecMatcher? e) with @@ -168,7 +167,7 @@ where let mut r ← simp f let mut i := 0 for arg in args do - trace[Debug.Meta.Tactic.simp]! "app [{i}] {infos.size} {arg} hasFwdDeps: {infos[i].hasFwdDeps}" + trace[Debug.Meta.Tactic.simp] "app [{i}] {infos.size} {arg} hasFwdDeps: {infos[i].hasFwdDeps}" if i < infos.size && !infos[i].hasFwdDeps then r ← mkCongr r (← simp arg) else @@ -192,7 +191,7 @@ where /- Try to rewrite `e` children using the given congruence lemma -/ tryCongrLemma? (c : CongrLemma) (e : Expr) : M (Option Result) := withNewMCtxDepth do - trace[Debug.Meta.Tactic.simp.congr]! "{c.theoremName}, {e}" + trace[Debug.Meta.Tactic.simp.congr] "{c.theoremName}, {e}" let info ← getConstInfo c.theoremName let lemma := mkConst c.theoremName (← info.levelParams.mapM fun _ => mkFreshLevelMVar) let (xs, bis, type) ← forallMetaTelescopeReducing (← inferType lemma) @@ -208,13 +207,13 @@ where if (← processCongrHypothesis x) then modified := true catch _ => - trace[Meta.Tactic.simp.congr]! "processCongrHypothesis {c.theoremName} failed {← inferType x}" + trace[Meta.Tactic.simp.congr] "processCongrHypothesis {c.theoremName} failed {← inferType x}" return none unless modified do - trace[Meta.Tactic.simp.congr]! "{c.theoremName} not modified" + trace[Meta.Tactic.simp.congr] "{c.theoremName} not modified" return none unless (← synthesizeArgs c.theoremName xs bis (← read).discharge?) do - trace[Meta.Tactic.simp.congr]! "{c.theoremName} synthesizeArgs failed" + trace[Meta.Tactic.simp.congr] "{c.theoremName} synthesizeArgs failed" return none let eNew ← instantiateMVars rhs let proof ← instantiateMVars (mkAppN lemma xs) @@ -272,13 +271,13 @@ where return { expr := eNew, proof? := p } simpArrow (e : Expr) : M Result := do - trace[Debug.Meta.Tactic.simp]! "arrow {e}" + trace[Debug.Meta.Tactic.simp] "arrow {e}" let p := e.bindingDomain! let q := e.bindingBody! let rp ← simp p - trace[Debug.Meta.Tactic.simp]! "arrow [{(← getConfig).contextual}] {p} [{← isProp p}] -> {q} [{← isProp q}]" + trace[Debug.Meta.Tactic.simp] "arrow [{(← getConfig).contextual}] {p} [{← isProp p}] -> {q} [{← isProp q}]" if (← (← getConfig).contextual <&&> isProp p <&&> isProp q) then - trace[Debug.Meta.Tactic.simp]! "ctx arrow {rp.expr} -> {q}" + trace[Debug.Meta.Tactic.simp] "ctx arrow {rp.expr} -> {q}" withLocalDeclD e.bindingName! rp.expr fun h => do let s ← getSimpLemmas let s ← s.add h @@ -293,7 +292,7 @@ where mkImpCongr rp (← simp q) simpForall (e : Expr) : M Result := withParent e do - trace[Debug.Meta.Tactic.simp]! "forall {e}" + trace[Debug.Meta.Tactic.simp] "forall {e}" if e.isArrow then simpArrow e else if (← isProp e) then diff --git a/stage0/src/Lean/Meta/Tactic/Simp/Rewrite.lean b/stage0/src/Lean/Meta/Tactic/Simp/Rewrite.lean index 7b7a2a999a..5be8d052db 100644 --- a/stage0/src/Lean/Meta/Tactic/Simp/Rewrite.lean +++ b/stage0/src/Lean/Meta/Tactic/Simp/Rewrite.lean @@ -15,19 +15,19 @@ def synthesizeArgs (lemmaName : Name) (xs : Array Expr) (bis : Array BinderInfo) match ← trySynthInstance type with | LOption.some val => unless (← isDefEq x val) do - trace[Meta.Tactic.simp.discharge]! "{lemmaName}, failed to assign instance{indentExpr type}" + trace[Meta.Tactic.simp.discharge] "{lemmaName}, failed to assign instance{indentExpr type}" return false | _ => - trace[Meta.Tactic.simp.discharge]! "{lemmaName}, failed to synthesize instance{indentExpr type}" + trace[Meta.Tactic.simp.discharge] "{lemmaName}, failed to synthesize instance{indentExpr type}" return false else if (← isProp type <&&> (← instantiateMVars x).isMVar) then match ← discharge? type with | some proof => unless (← isDefEq x proof) do - trace[Meta.Tactic.simp.discharge]! "{lemmaName}, failed to assign proof{indentExpr type}" + trace[Meta.Tactic.simp.discharge] "{lemmaName}, failed to assign proof{indentExpr type}" return false | none => - trace[Meta.Tactic.simp.discharge]! "{lemmaName}, failed to discharge hypotheses{indentExpr type}" + trace[Meta.Tactic.simp.discharge] "{lemmaName}, failed to discharge hypotheses{indentExpr type}" return false return true @@ -37,7 +37,7 @@ Remark: the parameter tag is used for creating trace messages. It is irrelevant def rewrite (e : Expr) (s : DiscrTree SimpLemma) (erased : SimpLemmaNameSet) (discharge? : Expr → SimpM (Option Expr)) (tag : String) : SimpM Result := do let lemmas ← s.getMatch e if lemmas.isEmpty then - trace[Debug.Meta.Tactic.simp]! "no lemmas found for {tag}-rewriting {e}" + trace[Debug.Meta.Tactic.simp] "no lemmas found for {tag}-rewriting {e}" return { expr := e } else let lemmas := lemmas.insertionSort fun e₁ e₂ => e₁.priority < e₂.priority @@ -69,16 +69,16 @@ where if e == rhs then return none if lemma.perm && !Expr.lt rhs e then - trace[Meta.Tactic.simp.rewrite]! "{lemma}, perm rejected {e} ==> {rhs}" + trace[Meta.Tactic.simp.rewrite] "{lemma}, perm rejected {e} ==> {rhs}" return none - trace[Meta.Tactic.simp.rewrite]! "{lemma}, {e} ==> {rhs}" + trace[Meta.Tactic.simp.rewrite] "{lemma}, {e} ==> {rhs}" return some { expr := rhs, proof? := proof } else unless lhs.isMVar do -- We do not report unification failures when `lhs` is a metavariable -- Example: `x = ()` -- TODO: reconsider if we want lemmas such as `(x : Unit) → x = ()` - trace[Meta.Tactic.simp.unify]! "{lemma}, failed to unify {lhs} with {e}" + trace[Meta.Tactic.simp.unify] "{lemma}, failed to unify {lhs} with {e}" return none def rewriteCtorEq? (e : Expr) : MetaM (Option Result) := withReducibleAndInstances do diff --git a/stage0/src/Lean/Meta/Tactic/Subst.lean b/stage0/src/Lean/Meta/Tactic/Subst.lean index 4c0a907afc..c58f2673d2 100644 --- a/stage0/src/Lean/Meta/Tactic/Subst.lean +++ b/stage0/src/Lean/Meta/Tactic/Subst.lean @@ -29,16 +29,16 @@ def substCore (mvarId : MVarId) (hFVarId : FVarId) (symm := false) (fvarSubst : match a with | Expr.fvar aFVarId _ => do let aFVarIdOriginal := aFVarId - trace[Meta.Tactic.subst]! "substituting {a} (id: {aFVarId}) with {b}" + trace[Meta.Tactic.subst] "substituting {a} (id: {aFVarId}) with {b}" let mctx ← getMCtx if mctx.exprDependsOn b aFVarId then throwTacticEx `subst mvarId m!"'{a}' occurs at{indentExpr b}" let aLocalDecl ← getLocalDecl aFVarId let (vars, mvarId) ← revert mvarId #[aFVarId, hFVarId] true - trace[Meta.Tactic.subst]! "after revert {MessageData.ofGoal mvarId}" + trace[Meta.Tactic.subst] "after revert {MessageData.ofGoal mvarId}" let (twoVars, mvarId) ← introNP mvarId 2 - trace[Meta.Tactic.subst]! "after intro2 {MessageData.ofGoal mvarId}" - trace[Meta.Tactic.subst]! "reverted variables {vars}" + trace[Meta.Tactic.subst] "after intro2 {MessageData.ofGoal mvarId}" + trace[Meta.Tactic.subst] "reverted variables {vars}" let aFVarId := twoVars[0] let a := mkFVar aFVarId let hFVarId := twoVars[1] @@ -83,7 +83,7 @@ def substCore (mvarId : MVarId) (hFVarId : FVarId) (symm := false) (fvarSubst : else pure mvarId let (newFVars, mvarId) ← introNP mvarId (vars.size - 2) - trace[Meta.Tactic.subst]! "after intro rest {vars.size - 2} {MessageData.ofGoal mvarId}" + trace[Meta.Tactic.subst] "after intro rest {vars.size - 2} {MessageData.ofGoal mvarId}" let fvarSubst ← newFVars.size.foldM (init := fvarSubst) fun i (fvarSubst : FVarSubst) => let var := vars[i+2] let newFVar := newFVars[i] diff --git a/stage0/src/Lean/Meta/UnificationHint.lean b/stage0/src/Lean/Meta/UnificationHint.lean index 7e5760a7bd..72a7298f0a 100644 --- a/stage0/src/Lean/Meta/UnificationHint.lean +++ b/stage0/src/Lean/Meta/UnificationHint.lean @@ -79,7 +79,7 @@ def addUnificationHint (declName : Name) (kind : AttributeKind) : MetaM Unit := let keys ← DiscrTree.mkPath hint.pattern.lhs validateHint declName hint unificationHintExtension.add { keys := keys, val := declName } kind - trace[Meta.debug]! "addUnificationHint: {unificationHintExtension.getState (← getEnv)}" + trace[Meta.debug] "addUnificationHint: {unificationHintExtension.getState (← getEnv)}" builtin_initialize registerBuiltinAttribute { @@ -91,7 +91,7 @@ builtin_initialize } def tryUnificationHints (t s : Expr) : MetaM Bool := do - trace[Meta.isDefEq.hint]! "{t} =?= {s}" + trace[Meta.isDefEq.hint] "{t} =?= {s}" unless (← read).config.unificationHints do return false if t.isMVar then @@ -108,7 +108,7 @@ where tryCandidate candidate : MetaM Bool := traceCtx `Meta.isDefEq.hint <| commitWhen do - trace[Meta.isDefEq.hint]! "trying hint {candidate} at {t} =?= {s}" + trace[Meta.isDefEq.hint] "trying hint {candidate} at {t} =?= {s}" let cinfo ← getConstInfo candidate let us ← cinfo.levelParams.mapM fun _ => mkFreshLevelMVar let val := cinfo.instantiateValueLevelParams us @@ -124,7 +124,7 @@ where match hint? with | none => return false | some hint => - trace[Meta.isDefEq.hint]! "{candidate} succeeded, applying constraints" + trace[Meta.isDefEq.hint] "{candidate} succeeded, applying constraints" for c in hint.constraints do unless (← Meta.isExprDefEqAux c.lhs c.rhs) do return false diff --git a/stage0/src/Lean/Meta/WHNF.lean b/stage0/src/Lean/Meta/WHNF.lean index 563349641d..5dfd702157 100644 --- a/stage0/src/Lean/Meta/WHNF.lean +++ b/stage0/src/Lean/Meta/WHNF.lean @@ -337,7 +337,7 @@ private def whnfDelayedAssigned? (f' : Expr) (e : Expr) : MetaM (Option Expr) := expand let-expressions, expand assigned meta-variables. -/ partial def whnfCore (e : Expr) : MetaM Expr := whnfEasyCases e fun e => do - trace[Meta.whnf]! e + trace[Meta.whnf] e match e with | Expr.const .. => pure e | Expr.letE _ _ v b _ => whnfCore $ b.instantiate1 v @@ -519,7 +519,7 @@ def reduceUnaryNatOp (f : Nat → Nat) (a : Expr) : MetaM (Option Expr) := def reduceBinNatOp (f : Nat → Nat → Nat) (a b : Expr) : MetaM (Option Expr) := withNatValue a fun a => withNatValue b fun b => do - trace[Meta.isDefEq.whnf.reduceBinOp]! "{a} op {b}" + trace[Meta.isDefEq.whnf.reduceBinOp] "{a} op {b}" return mkNatLit <| f a b def reduceBinNatPred (f : Nat → Nat → Bool) (a b : Expr) : MetaM (Option Expr) := do diff --git a/stage0/src/Lean/PrettyPrinter/Delaborator/Basic.lean b/stage0/src/Lean/PrettyPrinter/Delaborator/Basic.lean index 213169c74a..672ec7728e 100644 --- a/stage0/src/Lean/PrettyPrinter/Delaborator/Basic.lean +++ b/stage0/src/Lean/PrettyPrinter/Delaborator/Basic.lean @@ -380,7 +380,7 @@ end Delaborator /-- "Delaborate" the given term into surface-level syntax using the default and given subterm-specific options. -/ def delab (currNamespace : Name) (openDecls : List OpenDecl) (e : Expr) (optionsPerPos : OptionsPerPos := {}) : MetaM Syntax := do - trace[PrettyPrinter.delab.input]! "{fmt e}" + trace[PrettyPrinter.delab.input] "{fmt e}" let opts ← MonadOptions.getOptions catchInternalId Delaborator.delabFailureId (Delaborator.delab.run { expr := e, defaultOptions := opts, optionsPerPos := optionsPerPos, currNamespace := currNamespace, openDecls := openDecls }) diff --git a/stage0/src/Lean/PrettyPrinter/Formatter.lean b/stage0/src/Lean/PrettyPrinter/Formatter.lean index 31ae88dea0..d7e06e53d0 100644 --- a/stage0/src/Lean/PrettyPrinter/Formatter.lean +++ b/stage0/src/Lean/PrettyPrinter/Formatter.lean @@ -187,7 +187,7 @@ def tokenWithAntiquot.formatter (p : Formatter) : Formatter := do @[combinatorFormatter Lean.Parser.categoryParser] def categoryParser.formatter (cat : Name) : Formatter := group $ indent do let stx ← getCur - trace[PrettyPrinter.format]! "formatting {indentD (fmt stx)}" + trace[PrettyPrinter.format] "formatting {indentD (fmt stx)}" if stx.getKind == `choice then visitArgs do -- format only last choice @@ -226,7 +226,7 @@ def andthen.formatter (p1 p2 : Formatter) : Formatter := p2 *> p1 def checkKind (k : SyntaxNodeKind) : FormatterM Unit := do let stx ← getCur if k != stx.getKind then - trace[PrettyPrinter.format.backtrack]! "unexpected node kind '{stx.getKind}', expected '{k}'" + trace[PrettyPrinter.format.backtrack] "unexpected node kind '{stx.getKind}', expected '{k}'" throwBacktrack @[combinatorFormatter Lean.Parser.node] @@ -314,7 +314,7 @@ def symbolNoAntiquot.formatter (sym : String) : Formatter := do pushToken info sym goLeft else do - trace[PrettyPrinter.format.backtrack]! "unexpected syntax '{fmt stx}', expected symbol '{sym}'" + trace[PrettyPrinter.format.backtrack] "unexpected syntax '{fmt stx}', expected symbol '{sym}'" throwBacktrack @[combinatorFormatter Lean.Parser.nonReservedSymbolNoAntiquot] def nonReservedSymbolNoAntiquot.formatter := symbolNoAntiquot.formatter @@ -478,7 +478,7 @@ end Formatter open Formatter def format (formatter : Formatter) (stx : Syntax) : CoreM Format := do - trace[PrettyPrinter.format.input]! "{fmt stx}" + trace[PrettyPrinter.format.input] "{fmt stx}" let options ← getOptions let table ← Parser.builtinTokenTable.get catchInternalId backtrackExceptionId diff --git a/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean b/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean index 2e295120f1..1087978269 100644 --- a/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean +++ b/stage0/src/Lean/PrettyPrinter/Parenthesizer.lean @@ -204,11 +204,11 @@ def maybeParenthesize (cat : Name) (canJuxtapose : Bool) (mkParen : Syntax → S let st ← get -- reset precs for the recursive call set { stxTrav := st.stxTrav : State } - trace[PrettyPrinter.parenthesize]! "parenthesizing (cont := {(st.contPrec, st.contCat)}){indentD (fmt stx)}" + trace[PrettyPrinter.parenthesize] "parenthesizing (cont := {(st.contPrec, st.contCat)}){indentD (fmt stx)}" x let { minPrec := some minPrec, trailPrec := trailPrec, trailCat := trailCat, .. } ← get | panic! s!"maybeParenthesize: visited a syntax tree without precedences?!{line ++ fmt stx}" - trace[PrettyPrinter.parenthesize]! ("...precedences are {prec} >? {minPrec}" ++ if canJuxtapose then m!", {(trailPrec, trailCat)} <=? {(st.contPrec, st.contCat)}" else "") + trace[PrettyPrinter.parenthesize] ("...precedences are {prec} >? {minPrec}" ++ if canJuxtapose then m!", {(trailPrec, trailCat)} <=? {(st.contPrec, st.contCat)}" else "") -- Should we parenthesize? if (prec > minPrec || canJuxtapose && match trailPrec, st.contPrec with | some trailPrec, some contPrec => trailCat == st.contCat && trailPrec <= contPrec | _, _ => false) then -- The recursive `visit` call, by the invariant, has moved to the preceding node. In order to parenthesize @@ -226,7 +226,7 @@ def maybeParenthesize (cat : Name) (canJuxtapose : Bool) (mkParen : Syntax → S stx' := stx'.setHeadInfo (SourceInfo.original lead pos "".toSubstring) if let SourceInfo.original _ pos trail := stx.getTailInfo then stx' := stx'.setTailInfo (SourceInfo.original "".toSubstring pos trail) - trace! `PrettyPrinter.parenthesize m!"parenthesized: {stx'.formatStx none}" + trace[PrettyPrinter.parenthesize] "parenthesized: {stx'.formatStx none}" setCur stx' goLeft -- after parenthesization, there is no more trailing parser @@ -377,7 +377,7 @@ def andthen.parenthesizer (p1 p2 : Parenthesizer) : Parenthesizer := def node.parenthesizer (k : SyntaxNodeKind) (p : Parenthesizer) : Parenthesizer := do let stx ← getCur if k != stx.getKind then - trace[PrettyPrinter.parenthesize.backtrack]! "unexpected node kind '{stx.getKind}', expected '{k}'" + trace[PrettyPrinter.parenthesize.backtrack] "unexpected node kind '{stx.getKind}', expected '{k}'" -- HACK; see `orelse.parenthesizer` throwBacktrack visitArgs p @@ -399,7 +399,7 @@ def leadingNode.parenthesizer (k : SyntaxNodeKind) (prec : Nat) (p : Parenthesiz def trailingNode.parenthesizer (k : SyntaxNodeKind) (prec : Nat) (p : Parenthesizer) : Parenthesizer := do let stx ← getCur if k != stx.getKind then - trace[PrettyPrinter.parenthesize.backtrack]! "unexpected node kind '{stx.getKind}', expected '{k}'" + trace[PrettyPrinter.parenthesize.backtrack] "unexpected node kind '{stx.getKind}', expected '{k}'" -- HACK; see `orelse.parenthesizer` throwBacktrack visitArgs do @@ -530,7 +530,7 @@ open Parenthesizer /-- Add necessary parentheses in `stx` parsed by `parser`. -/ def parenthesize (parenthesizer : Parenthesizer) (stx : Syntax) : CoreM Syntax := do - trace[PrettyPrinter.parenthesize.input]! "{fmt stx}" + trace[PrettyPrinter.parenthesize.input] "{fmt stx}" catchInternalId backtrackExceptionId (do let (_, st) ← (parenthesizer {}).run { stxTrav := Syntax.Traverser.fromSyntax stx } diff --git a/stage0/src/Lean/Server/FileWorker.lean b/stage0/src/Lean/Server/FileWorker.lean index 1310019370..adb3d60d98 100644 --- a/stage0/src/Lean/Server/FileWorker.lean +++ b/stage0/src/Lean/Server/FileWorker.lean @@ -436,16 +436,16 @@ section RequestHandling for t in snap.toCmdState.infoState.trees do if let some (ci, ti) := t.goalsAt? hoverPos then let ci := { ci with mctx := ti.mctxAfter } - let md ← - if ti.goalsAfter.isEmpty then + let goals ← ci.runMetaM {} <| ti.goalsAfter.mapM Meta.ppGoal + let md := + if goals.isEmpty then "no goals" else - let goals ← ci.runMetaM {} <| ti.goalsAfter.mapM Meta.ppGoal let goals := goals.map fun goal => s!"```lean {goal} ```" String.intercalate "\n---\n" goals - return some { rendered := md } + return some { goals := goals.map toString |>.toArray, rendered := md } return none diff --git a/stage0/src/Lean/Util/Trace.lean b/stage0/src/Lean/Util/Trace.lean index b30e11f4b5..053c1ec84e 100644 --- a/stage0/src/Lean/Util/Trace.lean +++ b/stage0/src/Lean/Util/Trace.lean @@ -135,13 +135,10 @@ end def registerTraceClass (traceClassName : Name) : IO Unit := registerOption (`trace ++ traceClassName) { group := "trace", defValue := false, descr := "enable/disable tracing for the given module and submodules" } -macro:max "trace!" id:term:max msg:term : term => - `(trace $id fun _ => ($msg : MessageData)) - -syntax "trace[" ident "]!" (interpolatedStr(term) <|> term) : term +syntax "trace[" ident "]" (interpolatedStr(term) <|> term) : term macro_rules - | `(trace[$id]! $s) => + | `(trace[$id] $s) => if s.getKind == interpolatedStrKind then `(Lean.trace $(quote id.getId) fun _ => m! $s) else diff --git a/stage0/src/library/compiler/eager_lambda_lifting.cpp b/stage0/src/library/compiler/eager_lambda_lifting.cpp index b950d693bb..b97f2b10d8 100644 --- a/stage0/src/library/compiler/eager_lambda_lifting.cpp +++ b/stage0/src/library/compiler/eager_lambda_lifting.cpp @@ -189,51 +189,57 @@ class eager_lambda_lifting_fn { } expr lift_lambda(expr e, bool apply_simp) { - lean_assert(is_lambda(e)); - buffer fvars; - if (!collect_fvars(e, fvars)) { + /* Hack: We use `try` here because previous compilation steps may have + produced type incorrect terms. */ + try { + lean_assert(is_lambda(e)); + buffer fvars; + if (!collect_fvars(e, fvars)) { + return e; + } + buffer params; + while (is_lambda(e)) { + expr param_type = instantiate_rev(binding_domain(e), params.size(), params.data()); + expr param = m_lctx.mk_local_decl(ngen(), binding_name(e), param_type, binding_info(e)); + params.push_back(param); + e = binding_body(e); + } + e = instantiate_rev(e, params.size(), params.data()); + buffer new_params, to_copy; + split_fvars(fvars, params, new_params, to_copy); + /* + Variables in `to_copy` only depend on global constants + and other variables in `to_copy`. Moreover, `params` do not depend on them. + It is wasteful to pass them as new parameters to the new lifted declaration. + We can just copy them. The code duplication is not problematic because later at `extract_closed` + we will create global names for closed terms, and eliminate the redundancy. + */ + e = m_lctx.mk_lambda(to_copy, e); + e = m_lctx.mk_lambda(params, e); + expr code = abstract(e, new_params.size(), new_params.data()); + unsigned i = new_params.size(); + while (i > 0) { + --i; + local_decl const & decl = m_lctx.get_local_decl(new_params[i]); + expr type = abstract(decl.get_type(), i, new_params.data()); + code = ::lean::mk_lambda(decl.get_user_name(), type, code); + } + if (apply_simp) { + code = csimp(env(), code, m_cfg); + } + expr type = cheap_beta_reduce(type_checker(m_st).infer(code)); + name n = next_name(); + /* We add the auxiliary declaration `n` as a "meta" axiom to the environment. + This is a hack to make sure we can use `csimp` to simplify `code` and + other definitions that use `n`. + We used a similar hack at `specialize.cpp`. */ + declaration aux_ax = mk_axiom(n, names(), type, true /* meta */); + m_st.env() = env().add(aux_ax, false); + m_new_decls.push_back(comp_decl(n, code)); + return mk_app(mk_constant(n), new_params); + } catch (exception &) { return e; } - buffer params; - while (is_lambda(e)) { - expr param_type = instantiate_rev(binding_domain(e), params.size(), params.data()); - expr param = m_lctx.mk_local_decl(ngen(), binding_name(e), param_type, binding_info(e)); - params.push_back(param); - e = binding_body(e); - } - e = instantiate_rev(e, params.size(), params.data()); - buffer new_params, to_copy; - split_fvars(fvars, params, new_params, to_copy); - /* - Variables in `to_copy` only depend on global constants - and other variables in `to_copy`. Moreover, `params` do not depend on them. - It is wasteful to pass them as new parameters to the new lifted declaration. - We can just copy them. The code duplication is not problematic because later at `extract_closed` - we will create global names for closed terms, and eliminate the redundancy. - */ - e = m_lctx.mk_lambda(to_copy, e); - e = m_lctx.mk_lambda(params, e); - expr code = abstract(e, new_params.size(), new_params.data()); - unsigned i = new_params.size(); - while (i > 0) { - --i; - local_decl const & decl = m_lctx.get_local_decl(new_params[i]); - expr type = abstract(decl.get_type(), i, new_params.data()); - code = ::lean::mk_lambda(decl.get_user_name(), type, code); - } - if (apply_simp) { - code = csimp(env(), code, m_cfg); - } - expr type = cheap_beta_reduce(type_checker(m_st).infer(code)); - name n = next_name(); - /* We add the auxiliary declaration `n` as a "meta" axiom to the environment. - This is a hack to make sure we can use `csimp` to simplify `code` and - other definitions that use `n`. - We used a similar hack at `specialize.cpp`. */ - declaration aux_ax = mk_axiom(n, names(), type, true /* meta */); - m_st.env() = env().add(aux_ax, false); - m_new_decls.push_back(comp_decl(n, code)); - return mk_app(mk_constant(n), new_params); } /* Given a free variable `x`, follow let-decls and return a pair `(x, v)`. diff --git a/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c b/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c index c9200ebc58..55f93acd35 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c +++ b/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c @@ -15,9 +15,11 @@ extern "C" { #endif lean_object* l_Lean_Lsp_instBEqDiagnostic___closed__1; extern lean_object* l_Lean_instFromJsonOption___rarg___closed__1; +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__5; size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Lsp_instToJsonDiagnosticCode___boxed(lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_412_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_msgToDiagnostic_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_Diagnostic_source_x3f___default; lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__7; @@ -27,235 +29,236 @@ lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_L lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag_match__1(lean_object*); lean_object* l_Lean_Lsp_msgToDiagnostic_match__2(lean_object*); extern lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_976____closed__1; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Lsp_instInhabitedDiagnosticTag; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__6(size_t, size_t, lean_object*); lean_object* l_Lean_Lsp_instFromJsonDiagnosticCode___boxed(lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticCode____x40_Lean_Data_Lsp_Diagnostics___hyg_132__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instBEqDiagnosticTag; -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Lsp_Diagnostic_relatedInformation_x3f___default; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___closed__1; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Lsp_instFromJsonDiagnosticCode(lean_object*); -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__3(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticCode____x40_Lean_Data_Lsp_Diagnostics___hyg_132____boxed(lean_object*, lean_object*); -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__1___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__3; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__4; -uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_getNat_x3f(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__5(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticTag____x40_Lean_Data_Lsp_Diagnostics___hyg_258____boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933_(lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__2; -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____spec__1(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____boxed(lean_object*); lean_object* l_Lean_Lsp_instInhabitedDiagnosticRelatedInformation; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4(size_t, size_t, lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticSeverity____x40_Lean_Data_Lsp_Diagnostics___hyg_13__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Lsp_instInhabitedRange___closed__1; extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Lsp_instBEqDiagnosticCode; lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__3; lean_object* l_Lean_Lsp_instToJsonDiagnosticTag___closed__4; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__3; extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__5(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instInhabitedDiagnosticRelatedInformation___closed__1; uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_357_(lean_object*, lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__1(lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticCode____x40_Lean_Data_Lsp_Diagnostics___hyg_132__match__1(lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnostic; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__2(lean_object*, lean_object*); +uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_msgToDiagnostic_match__1(lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticTag____x40_Lean_Data_Lsp_Diagnostics___hyg_258__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticCode(lean_object*); lean_object* l_Lean_Lsp_instInhabitedDiagnosticCode; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___closed__2; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__6(size_t, size_t, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___closed__1; lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__2; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866__match__1(lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_533____spec__1(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__6(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticTag____x40_Lean_Data_Lsp_Diagnostics___hyg_258__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_join___rarg(lean_object*); uint8_t l_USize_decLt(size_t, size_t); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__6(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__2___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__3___boxed(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__10; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__4; +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_533_(lean_object*); lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity(lean_object*); extern lean_object* l_Int_Int_pow___closed__1; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonDiagnosticRelatedInformation; +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__1___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__10; lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_1354____spec__1(lean_object*, lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__3(lean_object*, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__2(lean_object*, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__5___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__3; +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__3(lean_object*, lean_object*); +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1(lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__3(lean_object*, lean_object*); +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__1___boxed(lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__4; lean_object* l_Lean_Lsp_PublishDiagnosticsParams_version_x3f___default; +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__1; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Lsp_msgToDiagnostic___closed__2; +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__4___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_357__match__1(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__2(size_t, size_t, lean_object*); lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__1; lean_object* l_Lean_Lsp_instBEqDiagnostic; lean_object* l_Lean_Lsp_instToJsonDiagnosticRelatedInformation; lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticSeverity____x40_Lean_Data_Lsp_Diagnostics___hyg_13__match__1(lean_object*); extern lean_object* l___private_Lean_Declaration_0__Lean_reprDefinitionSafety____x40_Lean_Declaration___hyg_192____closed__3; lean_object* l_Lean_Lsp_msgToDiagnostic___closed__1; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_1382____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Lsp_msgToDiagnostic___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonDiagnosticCode_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonPublishDiagnosticsParams___closed__1; -uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__2; extern lean_object* l_Lean_Parser_Tactic_location___closed__1; +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticTag_match__1(lean_object*); -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__2(lean_object*, lean_object*); lean_object* l_Lean_Json_getInt_x3f(lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticRelatedInformation___closed__1; uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_298_(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__1; lean_object* l_Lean_Lsp_instBEqDiagnosticRelatedInformation; lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticSeverity____x40_Lean_Data_Lsp_Diagnostics___hyg_13____boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instInhabitedPublishDiagnosticsParams; lean_object* l_Lean_Lsp_instToJsonDiagnosticCode_match__1___rarg(lean_object*, lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity_match__1(lean_object*); -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__4___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__6___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__3(size_t, size_t, lean_object*); -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__2___boxed(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4(size_t, size_t, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonPublishDiagnosticsParams___closed__1; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____boxed(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__6___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828__match__1(lean_object*); +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__6___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnostic___closed__1; lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_446_(lean_object*); -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__9; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933_(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4(size_t, size_t, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticTag(uint8_t); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticSeverity____x40_Lean_Data_Lsp_Diagnostics___hyg_13__match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticTag____x40_Lean_Data_Lsp_Diagnostics___hyg_258__match__1(lean_object*); -uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527_(lean_object*, lean_object*); +uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530_(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instBEqDiagnosticTag___closed__1; lean_object* l_Lean_Lsp_msgToDiagnostic_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instInhabitedDiagnostic___closed__1; size_t lean_usize_of_nat(lean_object*); extern lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_499____closed__2; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642_(lean_object*); -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__2(lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657_(lean_object*); lean_object* l_Lean_Lsp_Diagnostic_tags_x3f___default; lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag___boxed(lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Lsp_msgToDiagnostic_match__2___rarg(uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__3(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instBEqDiagnosticSeverity___closed__1; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__6___boxed(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqLocation____x40_Lean_Data_Lsp_Basic___hyg_444_(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__6(size_t, size_t, lean_object*); extern lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_499____closed__1; +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__2(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag___closed__1; -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonPublishDiagnosticsParams; lean_object* l_Lean_Lsp_instFromJsonDiagnostic; +uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonDiagnosticRelatedInformation___closed__1; +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__1___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instInhabitedDiagnostic; lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__1; +lean_object* l_Lean_Lsp_Diagnostic_fullRange___default(lean_object*); uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticCode____x40_Lean_Data_Lsp_Diagnostics___hyg_132_(lean_object*, lean_object*); lean_object* l_Lean_JsonNumber_fromNat(lean_object*); lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticTag_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Lsp_msgToDiagnostic(lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__4(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__4; lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__12; uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticSeverity____x40_Lean_Data_Lsp_Diagnostics___hyg_13_(uint8_t, uint8_t); lean_object* l_Lean_Lsp_instFromJsonPublishDiagnosticsParams; +lean_object* l_Lean_Lsp_Diagnostic_fullRange___default___boxed(lean_object*); lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag___closed__2; -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__4; -uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____closed__1; +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__4(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonDiagnosticCode_match__1(lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__4; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____boxed(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____spec__2(size_t, size_t, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4(size_t, size_t, lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____boxed(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530__match__1(lean_object*); lean_object* l_Lean_Lsp_instBEqDiagnosticSeverity; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527__match__1(lean_object*); -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity(uint8_t); -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__2___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__1(lean_object*, lean_object*); extern lean_object* l_Int_instInhabitedInt___closed__1; lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_357__match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_357__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticTag____x40_Lean_Data_Lsp_Diagnostics___hyg_258_(uint8_t, uint8_t); lean_object* l_Lean_Json_mkObj(lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__2; extern lean_object* l_Lean_Lsp_instInhabitedLocation___closed__1; -lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___closed__2; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__3; lean_object* l_Lean_Lsp_instToJsonDiagnosticTag_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticTag___closed__3; -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__2(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___closed__2; lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_357____boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__6; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__2; +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instBEqDiagnosticRelatedInformation___closed__1; lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__8; lean_object* l_Lean_Lsp_instToJsonDiagnosticCode_match__1(lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__1; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__3(size_t, size_t, lean_object*); lean_object* l_Lean_Lsp_instBEqDiagnosticCode___closed__1; lean_object* l_Lean_Lsp_instInhabitedDiagnosticCode___closed__1; -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag(lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___boxed(lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_446____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instBEqPublishDiagnosticsParams___closed__1; +lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_446____spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_353_(lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__1; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___closed__2; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Lsp_Diagnostic_code_x3f___default; lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__5; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__2; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____boxed(lean_object*); +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__3___boxed(lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__2(lean_object*, lean_object*); uint8_t lean_int_dec_eq(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__5___boxed(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___closed__1; +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__3(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticTag___closed__2; uint8_t l_Lean_Lsp_instInhabitedDiagnosticSeverity; -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__2(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_533____spec__2(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonDiagnosticTag___boxed(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__3; +lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_Diagnostic_severity_x3f___default; lean_object* lean_nat_to_int(lean_object*); lean_object* l_Lean_Lsp_instBEqPublishDiagnosticsParams; lean_object* l_Lean_Lsp_instToJsonDiagnosticTag___closed__1; +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____closed__1; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___closed__1; lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity_match__1(lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__5(lean_object*, lean_object*); -uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828_(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__6(size_t, size_t, lean_object*); +uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866_(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_446____boxed(lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__5(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instInhabitedPublishDiagnosticsParams___closed__1; -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__2(lean_object*, lean_object*); static uint8_t _init_l_Lean_Lsp_instInhabitedDiagnosticSeverity() { _start: @@ -1933,6 +1936,22 @@ x_1 = l_Lean_Lsp_instFromJsonDiagnosticRelatedInformation___closed__1; return x_1; } } +lean_object* l_Lean_Lsp_Diagnostic_fullRange___default(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +lean_object* l_Lean_Lsp_Diagnostic_fullRange___default___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Lsp_Diagnostic_fullRange___default(x_1); +lean_dec(x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Lsp_Diagnostic_severity_x3f___default() { _start: { @@ -1980,14 +1999,15 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l_Lean_Lsp_instInhabitedRange___closed__1; x_3 = l_Lean_instInhabitedParserDescr___closed__1; -x_4 = lean_alloc_ctor(0, 7, 0); +x_4 = lean_alloc_ctor(0, 8, 0); lean_ctor_set(x_4, 0, x_2); -lean_ctor_set(x_4, 1, x_1); +lean_ctor_set(x_4, 1, x_2); lean_ctor_set(x_4, 2, x_1); lean_ctor_set(x_4, 3, x_1); -lean_ctor_set(x_4, 4, x_3); -lean_ctor_set(x_4, 5, x_1); +lean_ctor_set(x_4, 4, x_1); +lean_ctor_set(x_4, 5, x_3); lean_ctor_set(x_4, 6, x_1); +lean_ctor_set(x_4, 7, x_1); return x_4; } } @@ -1999,10 +2019,10 @@ x_1 = l_Lean_Lsp_instInhabitedDiagnostic___closed__1; return x_1; } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; 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_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; x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); x_6 = lean_ctor_get(x_1, 1); @@ -2017,44 +2037,48 @@ x_10 = lean_ctor_get(x_1, 5); lean_inc(x_10); x_11 = lean_ctor_get(x_1, 6); lean_inc(x_11); -lean_dec(x_1); -x_12 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_1, 7); lean_inc(x_12); -x_13 = lean_ctor_get(x_2, 1); +lean_dec(x_1); +x_13 = lean_ctor_get(x_2, 0); lean_inc(x_13); -x_14 = lean_ctor_get(x_2, 2); +x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); -x_15 = lean_ctor_get(x_2, 3); +x_15 = lean_ctor_get(x_2, 2); lean_inc(x_15); -x_16 = lean_ctor_get(x_2, 4); +x_16 = lean_ctor_get(x_2, 3); lean_inc(x_16); -x_17 = lean_ctor_get(x_2, 5); +x_17 = lean_ctor_get(x_2, 4); lean_inc(x_17); -x_18 = lean_ctor_get(x_2, 6); +x_18 = lean_ctor_get(x_2, 5); lean_inc(x_18); +x_19 = lean_ctor_get(x_2, 6); +lean_inc(x_19); +x_20 = lean_ctor_get(x_2, 7); +lean_inc(x_20); lean_dec(x_2); -x_19 = lean_apply_14(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -return x_19; +x_21 = lean_apply_16(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +return x_21; } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527__match__1(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527__match__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530__match__1___rarg___boxed), 4, 0); return x_2; } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527__match__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530__match__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); return x_5; } } -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__1(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2101,7 +2125,7 @@ return x_10; } } } -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__2(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2138,7 +2162,7 @@ return x_8; } } } -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__3(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2175,7 +2199,7 @@ return x_8; } } } -uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____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) { +uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____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; uint8_t x_8; @@ -2219,7 +2243,7 @@ goto _start; } } } -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__4(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__4(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2265,14 +2289,14 @@ else { lean_object* x_12; uint8_t x_13; x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__5(x_6, x_7, lean_box(0), x_6, x_7, x_12); +x_13 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__5(x_6, x_7, lean_box(0), x_6, x_7, x_12); return x_13; } } } } } -uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____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) { +uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____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) { _start: { lean_object* x_7; uint8_t x_8; @@ -2314,7 +2338,7 @@ goto _start; } } } -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__6(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__6(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2360,17 +2384,17 @@ else { lean_object* x_12; uint8_t x_13; x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__7(x_6, x_7, lean_box(0), x_6, x_7, x_12); +x_13 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__7(x_6, x_7, lean_box(0), x_6, x_7, x_12); return x_13; } } } } } -uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527_(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530_(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 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_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); x_4 = lean_ctor_get(x_1, 1); @@ -2385,138 +2409,168 @@ x_8 = lean_ctor_get(x_1, 5); lean_inc(x_8); x_9 = lean_ctor_get(x_1, 6); lean_inc(x_9); -lean_dec(x_1); -x_10 = lean_ctor_get(x_2, 0); +x_10 = lean_ctor_get(x_1, 7); lean_inc(x_10); -x_11 = lean_ctor_get(x_2, 1); +lean_dec(x_1); +x_11 = lean_ctor_get(x_2, 0); lean_inc(x_11); -x_12 = lean_ctor_get(x_2, 2); +x_12 = lean_ctor_get(x_2, 1); lean_inc(x_12); -x_13 = lean_ctor_get(x_2, 3); +x_13 = lean_ctor_get(x_2, 2); lean_inc(x_13); -x_14 = lean_ctor_get(x_2, 4); +x_14 = lean_ctor_get(x_2, 3); lean_inc(x_14); -x_15 = lean_ctor_get(x_2, 5); +x_15 = lean_ctor_get(x_2, 4); lean_inc(x_15); -x_16 = lean_ctor_get(x_2, 6); +x_16 = lean_ctor_get(x_2, 5); lean_inc(x_16); +x_17 = lean_ctor_get(x_2, 6); +lean_inc(x_17); +x_18 = lean_ctor_get(x_2, 7); +lean_inc(x_18); lean_dec(x_2); -x_17 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_298_(x_3, x_10); -lean_dec(x_10); +x_19 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_298_(x_3, x_11); +lean_dec(x_11); lean_dec(x_3); -if (x_17 == 0) +if (x_19 == 0) { -uint8_t x_18; +uint8_t x_20; +lean_dec(x_18); +lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); 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); -x_18 = 0; -return x_18; -} -else -{ -uint8_t x_19; -x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__1(x_4, x_11); -if (x_19 == 0) -{ -uint8_t x_20; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); x_20 = 0; return x_20; } else { uint8_t x_21; -x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__2(x_5, x_12); +x_21 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_298_(x_4, x_12); lean_dec(x_12); -lean_dec(x_5); +lean_dec(x_4); if (x_21 == 0) { uint8_t x_22; +lean_dec(x_18); +lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_22 = 0; return x_22; } else { uint8_t x_23; -x_23 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__3(x_6, x_13); -lean_dec(x_13); -lean_dec(x_6); +x_23 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__1(x_5, x_13); if (x_23 == 0) { uint8_t x_24; +lean_dec(x_18); +lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); x_24 = 0; return x_24; } else { uint8_t x_25; -x_25 = lean_string_dec_eq(x_7, x_14); +x_25 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__2(x_6, x_14); lean_dec(x_14); -lean_dec(x_7); +lean_dec(x_6); if (x_25 == 0) { uint8_t x_26; +lean_dec(x_18); +lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); x_26 = 0; return x_26; } else { uint8_t x_27; -x_27 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__4(x_8, x_15); +x_27 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__3(x_7, x_15); lean_dec(x_15); -lean_dec(x_8); +lean_dec(x_7); if (x_27 == 0) { uint8_t x_28; +lean_dec(x_18); +lean_dec(x_17); lean_dec(x_16); +lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); x_28 = 0; return x_28; } else { uint8_t x_29; -x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__6(x_9, x_16); +x_29 = lean_string_dec_eq(x_8, x_16); lean_dec(x_16); +lean_dec(x_8); +if (x_29 == 0) +{ +uint8_t x_30; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_10); lean_dec(x_9); -return x_29; +x_30 = 0; +return x_30; +} +else +{ +uint8_t x_31; +x_31 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__4(x_9, x_17); +lean_dec(x_17); +lean_dec(x_9); +if (x_31 == 0) +{ +uint8_t x_32; +lean_dec(x_18); +lean_dec(x_10); +x_32 = 0; +return x_32; +} +else +{ +uint8_t x_33; +x_33 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__6(x_10, x_18); +lean_dec(x_18); +lean_dec(x_10); +return x_33; } } } @@ -2525,42 +2579,43 @@ return x_29; } } } -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +} +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__1(x_1, x_2); x_4 = lean_box(x_3); return x_4; } } -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__2(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__2(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__3(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__3(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____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: { uint8_t x_7; lean_object* x_8; -x_7 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__5(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____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_2); @@ -2569,22 +2624,22 @@ x_8 = lean_box(x_7); return x_8; } } -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__4___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__4___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__4(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__4(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____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* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____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 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__7(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__7(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -2593,22 +2648,22 @@ x_8 = lean_box(x_7); return x_8; } } -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__6___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__6___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____spec__6(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____spec__6(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527_(x_1, x_2); +x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530_(x_1, x_2); x_4 = lean_box(x_3); return x_4; } @@ -2617,7 +2672,7 @@ static lean_object* _init_l_Lean_Lsp_instBEqDiagnostic___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530____boxed), 2, 0); return x_1; } } @@ -2629,7 +2684,7 @@ x_1 = l_Lean_Lsp_instBEqDiagnostic___closed__1; return x_1; } } -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2698,7 +2753,7 @@ return x_18; } } } -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2750,7 +2805,7 @@ return x_15; } } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -2759,7 +2814,7 @@ x_2 = x_1; return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -2768,7 +2823,7 @@ x_2 = x_1; return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -2793,7 +2848,7 @@ x_12 = x_2 + x_11; if (x_10 == 0) { lean_object* x_13; lean_object* x_14; -x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___closed__1; +x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___closed__1; x_14 = lean_array_uset(x_8, x_2, x_13); x_2 = x_12; x_3 = x_14; @@ -2802,7 +2857,7 @@ goto _start; else { lean_object* x_16; lean_object* x_17; -x_16 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___closed__2; +x_16 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___closed__2; x_17 = lean_array_uset(x_8, x_2, x_16); x_2 = x_12; x_3 = x_17; @@ -2811,7 +2866,7 @@ goto _start; } } } -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__3(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2832,7 +2887,7 @@ x_6 = lean_usize_of_nat(x_5); lean_dec(x_5); x_7 = 0; x_8 = x_4; -x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4(x_6, x_7, x_8); +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4(x_6, x_7, x_8); x_10 = x_9; x_11 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_11, 0, x_10); @@ -2847,7 +2902,7 @@ return x_14; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__6(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__6(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -2876,7 +2931,7 @@ goto _start; } } } -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__5(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__5(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2897,7 +2952,7 @@ x_6 = lean_usize_of_nat(x_5); lean_dec(x_5); x_7 = 0; x_8 = x_4; -x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__6(x_6, x_7, x_8); +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__6(x_6, x_7, x_8); x_10 = x_9; x_11 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_11, 0, x_10); @@ -2912,7 +2967,15 @@ return x_14; } } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("fullRange"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__2() { _start: { lean_object* x_1; @@ -2920,7 +2983,7 @@ x_1 = lean_mk_string("severity"); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__2() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__3() { _start: { lean_object* x_1; @@ -2928,7 +2991,7 @@ x_1 = lean_mk_string("source"); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__3() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__4() { _start: { lean_object* x_1; @@ -2936,7 +2999,7 @@ x_1 = lean_mk_string("tags"); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__4() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__5() { _start: { lean_object* x_1; @@ -2944,10 +3007,10 @@ x_1 = lean_mk_string("relatedInformation"); return x_1; } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642_(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657_(lean_object* x_1) { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 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_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 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; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_353_(x_2); @@ -2961,84 +3024,97 @@ lean_ctor_set(x_7, 0, x_5); lean_ctor_set(x_7, 1, x_6); x_8 = lean_ctor_get(x_1, 1); lean_inc(x_8); -x_9 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__1; -x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__1(x_9, x_8); -lean_dec(x_8); -x_11 = lean_ctor_get(x_1, 2); -lean_inc(x_11); -x_12 = l_Lean_JsonRpc_instToJsonMessage___closed__12; -x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__2(x_12, x_11); -lean_dec(x_11); -x_14 = lean_ctor_get(x_1, 3); -lean_inc(x_14); -x_15 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__2; -x_16 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_1354____spec__1(x_15, x_14); -lean_dec(x_14); -x_17 = lean_ctor_get(x_1, 4); -lean_inc(x_17); -x_18 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_18, 0, x_17); -x_19 = l_Lean_JsonRpc_instToJsonMessage___closed__10; -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 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_6); +x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_353_(x_8); +x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____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_9); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_6); +x_13 = lean_ctor_get(x_1, 2); +lean_inc(x_13); +x_14 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__2; +x_15 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__1(x_14, x_13); +lean_dec(x_13); +x_16 = lean_ctor_get(x_1, 3); +lean_inc(x_16); +x_17 = l_Lean_JsonRpc_instToJsonMessage___closed__12; +x_18 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__2(x_17, x_16); +lean_dec(x_16); +x_19 = lean_ctor_get(x_1, 4); +lean_inc(x_19); +x_20 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__3; +x_21 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_1354____spec__1(x_20, x_19); +lean_dec(x_19); x_22 = lean_ctor_get(x_1, 5); lean_inc(x_22); -x_23 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__3; -x_24 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__3(x_23, x_22); -x_25 = lean_ctor_get(x_1, 6); -lean_inc(x_25); +x_23 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = l_Lean_JsonRpc_instToJsonMessage___closed__10; +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_6); +x_27 = lean_ctor_get(x_1, 6); +lean_inc(x_27); +x_28 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__4; +x_29 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__3(x_28, x_27); +x_30 = lean_ctor_get(x_1, 7); +lean_inc(x_30); lean_dec(x_1); -x_26 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__4; -x_27 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__5(x_26, x_25); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_6); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_24); -lean_ctor_set(x_29, 1, x_28); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_21); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_16); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_13); -lean_ctor_set(x_32, 1, x_31); +x_31 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__5; +x_32 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__5(x_31, x_30); x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_10); -lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_6); x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_7); +lean_ctor_set(x_34, 0, x_29); lean_ctor_set(x_34, 1, x_33); -x_35 = l_List_join___rarg(x_34); -x_36 = l_Lean_Json_mkObj(x_35); -return x_36; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_21); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_18); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_15); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_12); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_7); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_List_join___rarg(x_40); +x_42 = l_Lean_Json_mkObj(x_41); +return x_42; } } -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__1(x_1, x_2); +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__1(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__2(x_1, x_2); +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__2(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___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; @@ -3046,11 +3122,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___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4(x_4, x_5, x_3); return x_6; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__6___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; @@ -3058,7 +3134,7 @@ 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___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__6(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__6(x_4, x_5, x_3); return x_6; } } @@ -3066,7 +3142,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonDiagnostic___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657_), 1, 0); return x_1; } } @@ -3078,7 +3154,7 @@ x_1 = l_Lean_Lsp_instToJsonDiagnostic___closed__1; return x_1; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__1() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -3088,7 +3164,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__2() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -3098,7 +3174,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__3() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -3108,7 +3184,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__4() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -3118,7 +3194,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -3173,7 +3249,7 @@ return x_16; else { lean_object* x_17; -x_17 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__1; +x_17 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__1; return x_17; } } @@ -3181,7 +3257,7 @@ else { lean_object* x_18; lean_dec(x_7); -x_18 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__2; +x_18 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__2; return x_18; } } @@ -3189,7 +3265,7 @@ else { lean_object* x_19; lean_dec(x_7); -x_19 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__3; +x_19 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__3; return x_19; } } @@ -3197,14 +3273,14 @@ else { lean_object* x_20; lean_dec(x_7); -x_20 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__4; +x_20 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__4; return x_20; } } } } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -3273,7 +3349,7 @@ return x_18; } } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___closed__1() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -3283,7 +3359,7 @@ x_3 = x_2; return x_3; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___closed__2() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -3293,7 +3369,7 @@ x_3 = x_2; return x_3; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -3348,7 +3424,7 @@ else size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; x_19 = 1; x_20 = x_2 + x_19; -x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___closed__1; +x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___closed__1; x_22 = lean_array_uset(x_9, x_2, x_21); x_2 = x_20; x_3 = x_22; @@ -3361,7 +3437,7 @@ size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; lean_dec(x_13); x_24 = 1; x_25 = x_2 + x_24; -x_26 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___closed__2; +x_26 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___closed__2; x_27 = lean_array_uset(x_9, x_2, x_26); x_2 = x_25; x_3 = x_27; @@ -3371,7 +3447,7 @@ goto _start; } } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__3(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__3(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -3394,7 +3470,7 @@ x_7 = lean_usize_of_nat(x_6); lean_dec(x_6); x_8 = 0; x_9 = x_5; -x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4(x_7, x_8, x_9); +x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4(x_7, x_8, x_9); x_11 = x_10; if (lean_obj_tag(x_11) == 0) { @@ -3437,7 +3513,7 @@ return x_18; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__6(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__6(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -3483,7 +3559,7 @@ goto _start; } } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__5(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__5(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -3506,7 +3582,7 @@ x_7 = lean_usize_of_nat(x_6); lean_dec(x_6); x_8 = 0; x_9 = x_5; -x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__6(x_7, x_8, x_9); +x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__6(x_7, x_8, x_9); x_11 = x_10; if (lean_obj_tag(x_11) == 0) { @@ -3549,7 +3625,7 @@ return x_18; } } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696_(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -3567,8 +3643,8 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); lean_dec(x_3); -x_6 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__1; -x_7 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1(x_1, x_6); +x_6 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__1; +x_7 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_533____spec__2(x_1, x_6); if (lean_obj_tag(x_7) == 0) { lean_object* x_8; @@ -3582,8 +3658,8 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_ctor_get(x_7, 0); lean_inc(x_9); lean_dec(x_7); -x_10 = l_Lean_JsonRpc_instToJsonMessage___closed__12; -x_11 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__2(x_1, x_10); +x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__2; +x_11 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1(x_1, x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; @@ -3598,8 +3674,8 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); lean_dec(x_11); -x_14 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__2; -x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_1382____spec__1(x_1, x_14); +x_14 = l_Lean_JsonRpc_instToJsonMessage___closed__12; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__2(x_1, x_14); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; @@ -3615,8 +3691,8 @@ lean_object* x_17; lean_object* x_18; lean_object* x_19; x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_JsonRpc_instToJsonMessage___closed__10; -x_19 = l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__2(x_1, x_18); +x_18 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__3; +x_19 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_1382____spec__1(x_1, x_18); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; @@ -3633,8 +3709,8 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = lean_ctor_get(x_19, 0); lean_inc(x_21); lean_dec(x_19); -x_22 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__3; -x_23 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__3(x_1, x_22); +x_22 = l_Lean_JsonRpc_instToJsonMessage___closed__10; +x_23 = l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__2(x_1, x_22); if (lean_obj_tag(x_23) == 0) { lean_object* x_24; @@ -3652,8 +3728,8 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; x_25 = lean_ctor_get(x_23, 0); lean_inc(x_25); lean_dec(x_23); -x_26 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__4; -x_27 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__5(x_1, x_26); +x_26 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__4; +x_27 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__3(x_1, x_26); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; @@ -3668,40 +3744,63 @@ return x_28; } else { -uint8_t x_29; -x_29 = !lean_is_exclusive(x_27); -if (x_29 == 0) +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__5; +x_31 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__5(x_1, x_30); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_27, 0); -x_31 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_31, 0, x_5); -lean_ctor_set(x_31, 1, x_9); -lean_ctor_set(x_31, 2, x_13); -lean_ctor_set(x_31, 3, x_17); -lean_ctor_set(x_31, 4, x_21); -lean_ctor_set(x_31, 5, x_25); -lean_ctor_set(x_31, 6, x_30); -lean_ctor_set(x_27, 0, x_31); -return x_27; +lean_object* x_32; +lean_dec(x_29); +lean_dec(x_25); +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_5); +x_32 = lean_box(0); +return x_32; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_27, 0); -lean_inc(x_32); -lean_dec(x_27); -x_33 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_33, 0, x_5); -lean_ctor_set(x_33, 1, x_9); -lean_ctor_set(x_33, 2, x_13); -lean_ctor_set(x_33, 3, x_17); -lean_ctor_set(x_33, 4, x_21); -lean_ctor_set(x_33, 5, x_25); -lean_ctor_set(x_33, 6, x_32); -x_34 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_34, 0, x_33); -return x_34; +uint8_t x_33; +x_33 = !lean_is_exclusive(x_31); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_31, 0); +x_35 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_35, 0, x_5); +lean_ctor_set(x_35, 1, x_9); +lean_ctor_set(x_35, 2, x_13); +lean_ctor_set(x_35, 3, x_17); +lean_ctor_set(x_35, 4, x_21); +lean_ctor_set(x_35, 5, x_25); +lean_ctor_set(x_35, 6, x_29); +lean_ctor_set(x_35, 7, x_34); +lean_ctor_set(x_31, 0, x_35); +return x_31; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_31, 0); +lean_inc(x_36); +lean_dec(x_31); +x_37 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_37, 0, x_5); +lean_ctor_set(x_37, 1, x_9); +lean_ctor_set(x_37, 2, x_13); +lean_ctor_set(x_37, 3, x_17); +lean_ctor_set(x_37, 4, x_21); +lean_ctor_set(x_37, 5, x_25); +lean_ctor_set(x_37, 6, x_29); +lean_ctor_set(x_37, 7, x_36); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +return x_38; } } } @@ -3712,27 +3811,28 @@ return x_34; } } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +} +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__2(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__2(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___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; @@ -3740,21 +3840,21 @@ 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___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4(x_4, x_5, x_3); return x_6; } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__3(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__3(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__6___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; @@ -3762,25 +3862,25 @@ 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___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__6(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__6(x_4, x_5, x_3); return x_6; } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__5___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__5___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__5(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__5(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____boxed(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696_(x_1); +x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720_(x_1); lean_dec(x_1); return x_2; } @@ -3789,7 +3889,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonDiagnostic___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____boxed), 1, 0); return x_1; } } @@ -3831,7 +3931,7 @@ x_1 = l_Lean_Lsp_instInhabitedPublishDiagnosticsParams___closed__1; return x_1; } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866__match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -3853,24 +3953,24 @@ x_11 = lean_apply_6(x_3, x_5, x_6, x_7, x_8, x_9, x_10); return x_11; } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828__match__1(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866__match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828__match__1___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866__match__1___rarg___boxed), 4, 0); return x_2; } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828__match__1___rarg(x_1, x_2, x_3, x_4); +x_5 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866__match__1___rarg(x_1, x_2, x_3, x_4); lean_dec(x_4); return x_5; } } -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____spec__1(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -3907,7 +4007,7 @@ return x_8; } } } -uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____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) { +uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____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; uint8_t x_8; @@ -3926,7 +4026,7 @@ else lean_object* x_10; lean_object* x_11; uint8_t x_12; x_10 = lean_array_fget(x_4, x_6); x_11 = lean_array_fget(x_5, x_6); -x_12 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_527_(x_10, x_11); +x_12 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_530_(x_10, x_11); if (x_12 == 0) { uint8_t x_13; @@ -3947,7 +4047,7 @@ goto _start; } } } -uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828_(lean_object* x_1, lean_object* x_2) { +uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -3967,7 +4067,7 @@ return x_10; else { uint8_t x_11; -x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____spec__1(x_4, x_7); +x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____spec__1(x_4, x_7); if (x_11 == 0) { uint8_t x_12; @@ -3992,29 +4092,29 @@ else { lean_object* x_17; uint8_t x_18; x_17 = lean_unsigned_to_nat(0u); -x_18 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____spec__2(x_5, x_8, lean_box(0), x_5, x_8, x_17); +x_18 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____spec__2(x_5, x_8, lean_box(0), x_5, x_8, x_17); return x_18; } } } } } -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_580____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____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* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____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) { _start: { uint8_t x_7; lean_object* x_8; -x_7 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____spec__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -4023,11 +4123,11 @@ x_8 = lean_box(x_7); return x_8; } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828_(x_1, x_2); +x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -4038,7 +4138,7 @@ static lean_object* _init_l_Lean_Lsp_instBEqPublishDiagnosticsParams___closed__1 _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_828____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_866____boxed), 2, 0); return x_1; } } @@ -4050,7 +4150,7 @@ x_1 = l_Lean_Lsp_instBEqPublishDiagnosticsParams___closed__1; return x_1; } } -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -4082,7 +4182,7 @@ return x_10; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____spec__2(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__2(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -4100,7 +4200,7 @@ x_6 = lean_array_uget(x_3, x_2); x_7 = lean_unsigned_to_nat(0u); x_8 = lean_array_uset(x_3, x_2, x_7); x_9 = x_6; -x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642_(x_9); +x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657_(x_9); x_11 = 1; x_12 = x_2 + x_11; x_13 = x_10; @@ -4111,7 +4211,7 @@ goto _start; } } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____closed__1() { _start: { lean_object* x_1; @@ -4119,7 +4219,7 @@ x_1 = lean_mk_string("diagnostics"); return x_1; } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895_(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; @@ -4141,18 +4241,18 @@ x_9 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_9, 0, x_7); lean_ctor_set(x_9, 1, x_8); x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_976____closed__1; -x_11 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____spec__1(x_10, x_3); +x_11 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__1(x_10, x_3); lean_dec(x_3); x_12 = lean_array_get_size(x_4); x_13 = lean_usize_of_nat(x_12); lean_dec(x_12); x_14 = 0; x_15 = x_4; -x_16 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____spec__2(x_13, x_14, x_15); +x_16 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__2(x_13, x_14, x_15); x_17 = x_16; x_18 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_18, 0, x_17); -x_19 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____closed__1; +x_19 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____closed__1; x_20 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); @@ -4173,16 +4273,16 @@ x_26 = l_Lean_Json_mkObj(x_25); return x_26; } } -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____spec__1(x_1, x_2); +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__1(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__2___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; @@ -4190,7 +4290,7 @@ 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___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____spec__2(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__2(x_4, x_5, x_3); return x_6; } } @@ -4198,7 +4298,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonPublishDiagnosticsParams___closed _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933_), 1, 0); return x_1; } } @@ -4210,7 +4310,7 @@ x_1 = l_Lean_Lsp_instToJsonPublishDiagnosticsParams___closed__1; return x_1; } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -4259,7 +4359,7 @@ return x_11; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__3(size_t x_1, size_t x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__3(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -4279,7 +4379,7 @@ x_7 = lean_array_uget(x_3, x_2); x_8 = lean_unsigned_to_nat(0u); x_9 = lean_array_uset(x_3, x_2, x_8); x_10 = x_7; -x_11 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696_(x_10); +x_11 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720_(x_10); lean_dec(x_10); if (lean_obj_tag(x_11) == 0) { @@ -4305,7 +4405,7 @@ goto _start; } } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -4321,7 +4421,7 @@ x_6 = lean_usize_of_nat(x_5); lean_dec(x_5); x_7 = 0; x_8 = x_4; -x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__3(x_6, x_7, x_8); +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__3(x_6, x_7, x_8); x_10 = x_9; return x_10; } @@ -4334,7 +4434,7 @@ return x_11; } } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933_(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -4353,7 +4453,7 @@ x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); lean_dec(x_3); x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_976____closed__1; -x_7 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__1(x_1, x_6); +x_7 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__1(x_1, x_6); if (lean_obj_tag(x_7) == 0) { lean_object* x_8; @@ -4367,8 +4467,8 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_ctor_get(x_7, 0); lean_inc(x_9); lean_dec(x_7); -x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____closed__1; -x_11 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__2(x_1, x_10); +x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____closed__1; +x_11 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__2(x_1, x_10); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; @@ -4411,17 +4511,17 @@ return x_18; } } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__3___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; @@ -4429,25 +4529,25 @@ 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___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__3(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__3(x_4, x_5, x_3); return x_6; } } -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____spec__2(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____spec__2(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____boxed(lean_object* x_1) { +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933_(x_1); +x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971_(x_1); lean_dec(x_1); return x_2; } @@ -4456,7 +4556,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonPublishDiagnosticsParams___clos _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971____boxed), 1, 0); return x_1; } } @@ -4586,125 +4686,150 @@ lean_dec(x_2); x_9 = l_Lean_MessageData_toString(x_8, x_3); if (lean_obj_tag(x_6) == 0) { +lean_inc(x_4); +x_10 = x_4; +goto block_77; +} +else +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_6, 0); +lean_inc(x_78); +x_10 = x_78; +goto block_77; +} +block_77: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = l_Lean_FileMap_leanPosToLspPos(x_1, x_10); +lean_inc(x_5); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_5); +lean_ctor_set(x_12, 1, x_11); +if (lean_obj_tag(x_6) == 0) +{ lean_dec(x_4); lean_inc(x_5); -x_10 = x_5; -goto block_63; +x_13 = x_5; +goto block_66; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_64 = lean_ctor_get(x_6, 0); -lean_inc(x_64); +lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_67 = lean_ctor_get(x_6, 0); +lean_inc(x_67); lean_dec(x_6); -x_65 = lean_ctor_get(x_4, 0); -lean_inc(x_65); +x_68 = lean_ctor_get(x_4, 0); +lean_inc(x_68); lean_dec(x_4); -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -x_67 = lean_nat_dec_lt(x_65, x_66); -lean_dec(x_66); -if (x_67 == 0) +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +x_70 = lean_nat_dec_lt(x_68, x_69); +lean_dec(x_69); +if (x_70 == 0) { -lean_object* x_68; -lean_dec(x_65); -x_68 = l_Lean_FileMap_leanPosToLspPos(x_1, x_64); -x_10 = x_68; -goto block_63; +lean_object* x_71; +lean_dec(x_68); +x_71 = l_Lean_FileMap_leanPosToLspPos(x_1, x_67); +x_13 = x_71; +goto block_66; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_64); -x_69 = lean_unsigned_to_nat(1u); -x_70 = lean_nat_add(x_65, x_69); -lean_dec(x_65); -x_71 = lean_unsigned_to_nat(0u); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -x_73 = l_Lean_FileMap_leanPosToLspPos(x_1, x_72); -x_10 = x_73; -goto block_63; +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_67); +x_72 = lean_unsigned_to_nat(1u); +x_73 = lean_nat_add(x_68, x_72); +lean_dec(x_68); +x_74 = lean_unsigned_to_nat(0u); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_FileMap_leanPosToLspPos(x_1, x_75); +x_13 = x_76; +goto block_66; } } -block_63: +block_66: { -lean_object* x_11; -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_5); -lean_ctor_set(x_11, 1, x_10); +lean_object* x_14; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_5); +lean_ctor_set(x_14, 1, x_13); switch (x_7) { case 0: { if (lean_obj_tag(x_9) == 0) { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_9); -if (x_12 == 0) +uint8_t x_15; +x_15 = !lean_is_exclusive(x_9); +if (x_15 == 0) { -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_9, 0); -x_14 = lean_box(0); -x_15 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__2; -x_16 = l_Lean_Lsp_msgToDiagnostic___closed__2; -x_17 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_17, 0, x_11); -lean_ctor_set(x_17, 1, x_15); -lean_ctor_set(x_17, 2, x_14); -lean_ctor_set(x_17, 3, x_16); -lean_ctor_set(x_17, 4, x_13); -lean_ctor_set(x_17, 5, x_14); -lean_ctor_set(x_17, 6, x_14); -lean_ctor_set(x_9, 0, x_17); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_9, 0); +x_17 = lean_box(0); +x_18 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__2; +x_19 = l_Lean_Lsp_msgToDiagnostic___closed__2; +x_20 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_20, 0, x_14); +lean_ctor_set(x_20, 1, x_12); +lean_ctor_set(x_20, 2, x_18); +lean_ctor_set(x_20, 3, x_17); +lean_ctor_set(x_20, 4, x_19); +lean_ctor_set(x_20, 5, x_16); +lean_ctor_set(x_20, 6, x_17); +lean_ctor_set(x_20, 7, x_17); +lean_ctor_set(x_9, 0, x_20); return x_9; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_18 = lean_ctor_get(x_9, 0); -x_19 = lean_ctor_get(x_9, 1); -lean_inc(x_19); -lean_inc(x_18); +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_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_20 = lean_box(0); -x_21 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__2; -x_22 = l_Lean_Lsp_msgToDiagnostic___closed__2; -x_23 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_23, 0, x_11); -lean_ctor_set(x_23, 1, x_21); -lean_ctor_set(x_23, 2, x_20); -lean_ctor_set(x_23, 3, x_22); -lean_ctor_set(x_23, 4, x_18); -lean_ctor_set(x_23, 5, x_20); -lean_ctor_set(x_23, 6, x_20); -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_23 = lean_box(0); +x_24 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__2; +x_25 = l_Lean_Lsp_msgToDiagnostic___closed__2; +x_26 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_26, 0, x_14); +lean_ctor_set(x_26, 1, x_12); +lean_ctor_set(x_26, 2, x_24); +lean_ctor_set(x_26, 3, x_23); +lean_ctor_set(x_26, 4, x_25); +lean_ctor_set(x_26, 5, x_21); +lean_ctor_set(x_26, 6, x_23); +lean_ctor_set(x_26, 7, x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_22); +return x_27; } } else { -uint8_t x_25; -lean_dec(x_11); -x_25 = !lean_is_exclusive(x_9); -if (x_25 == 0) +uint8_t x_28; +lean_dec(x_14); +lean_dec(x_12); +x_28 = !lean_is_exclusive(x_9); +if (x_28 == 0) { return x_9; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_9, 0); -x_27 = lean_ctor_get(x_9, 1); -lean_inc(x_27); -lean_inc(x_26); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_9, 0); +x_30 = lean_ctor_get(x_9, 1); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_9); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +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; } } } @@ -4712,72 +4837,75 @@ case 1: { if (lean_obj_tag(x_9) == 0) { -uint8_t x_29; -x_29 = !lean_is_exclusive(x_9); -if (x_29 == 0) +uint8_t x_32; +x_32 = !lean_is_exclusive(x_9); +if (x_32 == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_30 = lean_ctor_get(x_9, 0); -x_31 = lean_box(0); -x_32 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__3; -x_33 = l_Lean_Lsp_msgToDiagnostic___closed__2; -x_34 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_34, 0, x_11); -lean_ctor_set(x_34, 1, x_32); -lean_ctor_set(x_34, 2, x_31); -lean_ctor_set(x_34, 3, x_33); -lean_ctor_set(x_34, 4, x_30); -lean_ctor_set(x_34, 5, x_31); -lean_ctor_set(x_34, 6, x_31); -lean_ctor_set(x_9, 0, x_34); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = lean_ctor_get(x_9, 0); +x_34 = lean_box(0); +x_35 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__3; +x_36 = l_Lean_Lsp_msgToDiagnostic___closed__2; +x_37 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_37, 0, x_14); +lean_ctor_set(x_37, 1, x_12); +lean_ctor_set(x_37, 2, x_35); +lean_ctor_set(x_37, 3, x_34); +lean_ctor_set(x_37, 4, x_36); +lean_ctor_set(x_37, 5, x_33); +lean_ctor_set(x_37, 6, x_34); +lean_ctor_set(x_37, 7, x_34); +lean_ctor_set(x_9, 0, x_37); return x_9; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_35 = lean_ctor_get(x_9, 0); -x_36 = lean_ctor_get(x_9, 1); -lean_inc(x_36); -lean_inc(x_35); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_38 = lean_ctor_get(x_9, 0); +x_39 = lean_ctor_get(x_9, 1); +lean_inc(x_39); +lean_inc(x_38); lean_dec(x_9); -x_37 = lean_box(0); -x_38 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__3; -x_39 = l_Lean_Lsp_msgToDiagnostic___closed__2; -x_40 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_40, 0, x_11); -lean_ctor_set(x_40, 1, x_38); -lean_ctor_set(x_40, 2, x_37); -lean_ctor_set(x_40, 3, x_39); -lean_ctor_set(x_40, 4, x_35); -lean_ctor_set(x_40, 5, x_37); -lean_ctor_set(x_40, 6, x_37); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_36); -return x_41; +x_40 = lean_box(0); +x_41 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__3; +x_42 = l_Lean_Lsp_msgToDiagnostic___closed__2; +x_43 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_43, 0, x_14); +lean_ctor_set(x_43, 1, x_12); +lean_ctor_set(x_43, 2, x_41); +lean_ctor_set(x_43, 3, x_40); +lean_ctor_set(x_43, 4, x_42); +lean_ctor_set(x_43, 5, x_38); +lean_ctor_set(x_43, 6, x_40); +lean_ctor_set(x_43, 7, x_40); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_39); +return x_44; } } else { -uint8_t x_42; -lean_dec(x_11); -x_42 = !lean_is_exclusive(x_9); -if (x_42 == 0) +uint8_t x_45; +lean_dec(x_14); +lean_dec(x_12); +x_45 = !lean_is_exclusive(x_9); +if (x_45 == 0) { return x_9; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_9, 0); -x_44 = lean_ctor_get(x_9, 1); -lean_inc(x_44); -lean_inc(x_43); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_9, 0); +x_47 = lean_ctor_get(x_9, 1); +lean_inc(x_47); +lean_inc(x_46); lean_dec(x_9); -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; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } @@ -4785,72 +4913,76 @@ default: { if (lean_obj_tag(x_9) == 0) { -uint8_t x_46; -x_46 = !lean_is_exclusive(x_9); -if (x_46 == 0) +uint8_t x_49; +x_49 = !lean_is_exclusive(x_9); +if (x_49 == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_ctor_get(x_9, 0); -x_48 = lean_box(0); -x_49 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__4; -x_50 = l_Lean_Lsp_msgToDiagnostic___closed__2; -x_51 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_51, 0, x_11); -lean_ctor_set(x_51, 1, x_49); -lean_ctor_set(x_51, 2, x_48); -lean_ctor_set(x_51, 3, x_50); -lean_ctor_set(x_51, 4, x_47); -lean_ctor_set(x_51, 5, x_48); -lean_ctor_set(x_51, 6, x_48); -lean_ctor_set(x_9, 0, x_51); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_50 = lean_ctor_get(x_9, 0); +x_51 = lean_box(0); +x_52 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__4; +x_53 = l_Lean_Lsp_msgToDiagnostic___closed__2; +x_54 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_54, 0, x_14); +lean_ctor_set(x_54, 1, x_12); +lean_ctor_set(x_54, 2, x_52); +lean_ctor_set(x_54, 3, x_51); +lean_ctor_set(x_54, 4, x_53); +lean_ctor_set(x_54, 5, x_50); +lean_ctor_set(x_54, 6, x_51); +lean_ctor_set(x_54, 7, x_51); +lean_ctor_set(x_9, 0, x_54); return x_9; } 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; -x_52 = lean_ctor_get(x_9, 0); -x_53 = lean_ctor_get(x_9, 1); -lean_inc(x_53); -lean_inc(x_52); +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_55 = lean_ctor_get(x_9, 0); +x_56 = lean_ctor_get(x_9, 1); +lean_inc(x_56); +lean_inc(x_55); lean_dec(x_9); -x_54 = lean_box(0); -x_55 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__4; -x_56 = l_Lean_Lsp_msgToDiagnostic___closed__2; -x_57 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_57, 0, x_11); -lean_ctor_set(x_57, 1, x_55); -lean_ctor_set(x_57, 2, x_54); -lean_ctor_set(x_57, 3, x_56); -lean_ctor_set(x_57, 4, x_52); -lean_ctor_set(x_57, 5, x_54); -lean_ctor_set(x_57, 6, x_54); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_53); -return x_58; +x_57 = lean_box(0); +x_58 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__4; +x_59 = l_Lean_Lsp_msgToDiagnostic___closed__2; +x_60 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_60, 0, x_14); +lean_ctor_set(x_60, 1, x_12); +lean_ctor_set(x_60, 2, x_58); +lean_ctor_set(x_60, 3, x_57); +lean_ctor_set(x_60, 4, x_59); +lean_ctor_set(x_60, 5, x_55); +lean_ctor_set(x_60, 6, x_57); +lean_ctor_set(x_60, 7, x_57); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_56); +return x_61; } } else { -uint8_t x_59; -lean_dec(x_11); -x_59 = !lean_is_exclusive(x_9); -if (x_59 == 0) +uint8_t x_62; +lean_dec(x_14); +lean_dec(x_12); +x_62 = !lean_is_exclusive(x_9); +if (x_62 == 0) { return x_9; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_9, 0); -x_61 = lean_ctor_get(x_9, 1); -lean_inc(x_61); -lean_inc(x_60); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_9, 0); +x_64 = lean_ctor_get(x_9, 1); +lean_inc(x_64); +lean_inc(x_63); lean_dec(x_9); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} } } } @@ -4984,34 +5116,36 @@ l_Lean_Lsp_instBEqDiagnostic___closed__1 = _init_l_Lean_Lsp_instBEqDiagnostic___ lean_mark_persistent(l_Lean_Lsp_instBEqDiagnostic___closed__1); l_Lean_Lsp_instBEqDiagnostic = _init_l_Lean_Lsp_instBEqDiagnostic(); lean_mark_persistent(l_Lean_Lsp_instBEqDiagnostic); -l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____spec__4___closed__2); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__1 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__1); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__2 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__2(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__2); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__3 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__3(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__3); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__4 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__4(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_642____closed__4); +l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____spec__4___closed__2); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__1 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__1); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__2 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__2); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__3 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__3); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__4 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__4(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__4); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__5 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__5(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_657____closed__5); l_Lean_Lsp_instToJsonDiagnostic___closed__1 = _init_l_Lean_Lsp_instToJsonDiagnostic___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonDiagnostic___closed__1); l_Lean_Lsp_instToJsonDiagnostic = _init_l_Lean_Lsp_instToJsonDiagnostic(); lean_mark_persistent(l_Lean_Lsp_instToJsonDiagnostic); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__1(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__1); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__2 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__2(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__2); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__3 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__3(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__3); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__4 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__4(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__1___closed__4); -l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_696____spec__4___closed__2); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__1(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__1); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__2 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__2(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__2); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__3 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__3(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__3); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__4 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__4(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__1___closed__4); +l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnostic____x40_Lean_Data_Lsp_Diagnostics___hyg_720____spec__4___closed__2); l_Lean_Lsp_instFromJsonDiagnostic___closed__1 = _init_l_Lean_Lsp_instFromJsonDiagnostic___closed__1(); lean_mark_persistent(l_Lean_Lsp_instFromJsonDiagnostic___closed__1); l_Lean_Lsp_instFromJsonDiagnostic = _init_l_Lean_Lsp_instFromJsonDiagnostic(); @@ -5026,8 +5160,8 @@ l_Lean_Lsp_instBEqPublishDiagnosticsParams___closed__1 = _init_l_Lean_Lsp_instBE lean_mark_persistent(l_Lean_Lsp_instBEqPublishDiagnosticsParams___closed__1); l_Lean_Lsp_instBEqPublishDiagnosticsParams = _init_l_Lean_Lsp_instBEqPublishDiagnosticsParams(); lean_mark_persistent(l_Lean_Lsp_instBEqPublishDiagnosticsParams); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____closed__1 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895____closed__1); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____closed__1 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933____closed__1); l_Lean_Lsp_instToJsonPublishDiagnosticsParams___closed__1 = _init_l_Lean_Lsp_instToJsonPublishDiagnosticsParams___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonPublishDiagnosticsParams___closed__1); l_Lean_Lsp_instToJsonPublishDiagnosticsParams = _init_l_Lean_Lsp_instToJsonPublishDiagnosticsParams(); diff --git a/stage0/stdlib/Lean/Data/Lsp/Extra.c b/stage0/stdlib/Lean/Data/Lsp/Extra.c index 5190397d45..2d4efdde42 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Extra.c +++ b/stage0/stdlib/Lean/Data/Lsp/Extra.c @@ -13,28 +13,42 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____spec__2(size_t, size_t, lean_object*); +lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____boxed(lean_object*); +size_t l_USize_add(size_t, size_t); +lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__1; extern lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_976____closed__1; lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_387____spec__1(lean_object*, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__2; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoalParams____x40_Lean_Data_Lsp_Extra___hyg_109_(lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_236____spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1299____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonPlainGoal; +lean_object* l_Lean_Json_getStr_x3f(lean_object*); +lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Lsp_instToJsonPlainGoalParams; lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_533____spec__1(lean_object*, lean_object*); lean_object* l_List_join___rarg(lean_object*); -lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_190_(lean_object*); +uint8_t l_USize_decLt(size_t, size_t); +lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192_(lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonWaitForDiagnosticsParams____x40_Lean_Data_Lsp_Extra___hyg_8_(lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonWaitForDiagnosticsParams____x40_Lean_Data_Lsp_Extra___hyg_42_(lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoalParams____x40_Lean_Data_Lsp_Extra___hyg_109____boxed(lean_object*); lean_object* l_Lean_Lsp_instToJsonWaitForDiagnosticsParams; lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnostics(lean_object*); lean_object* l_Lean_Lsp_instFromJsonPlainGoal___closed__1; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_236____spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Lsp_instToJsonPlainGoalParams___closed__1; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoalParams____x40_Lean_Data_Lsp_Extra___hyg_153_(lean_object*); -lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_220_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_236_(lean_object*); lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnostics___closed__1; lean_object* l_Lean_Lsp_instToJsonWaitForDiagnosticsParams___closed__1; lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnostics___boxed(lean_object*); lean_object* l_Lean_Lsp_instToJsonWaitForDiagnostics___closed__1; +size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____spec__1___boxed(lean_object*, lean_object*); extern lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1053____closed__1; lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_915_(lean_object*); extern lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_499____closed__1; @@ -42,18 +56,20 @@ lean_object* l_Lean_Lsp_instToJsonWaitForDiagnostics(lean_object*); lean_object* l_Lean_Lsp_instToJsonPlainGoal___closed__1; lean_object* l_Lean_Lsp_instFromJsonPlainGoalParams___closed__1; lean_object* l_Lean_JsonNumber_fromNat(lean_object*); +lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____spec__1(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonWaitForDiagnostics___boxed(lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnosticsParams___closed__1; extern lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1265____closed__1; lean_object* l_Lean_Lsp_instToJsonPlainGoal; +lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnosticsParams; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonWaitForDiagnosticsParams____x40_Lean_Data_Lsp_Extra___hyg_42____boxed(lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_185_(lean_object*); lean_object* l_Lean_Lsp_instFromJsonPlainGoalParams; -lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_190____closed__1; lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_219____spec__1(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_190____boxed(lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonWaitForDiagnosticsParams____x40_Lean_Data_Lsp_Extra___hyg_8_(lean_object* x_1) { _start: @@ -383,7 +399,82 @@ x_1 = l_Lean_Lsp_instToJsonPlainGoalParams___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_190____closed__1() { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____spec__2(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = x_2 < x_1; +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = x_3; +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_array_uget(x_3, x_2); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_array_uset(x_3, x_2, x_8); +x_10 = x_7; +x_11 = l_Lean_Json_getStr_x3f(x_10); +lean_dec(x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; +lean_dec(x_9); +x_12 = lean_box(0); +return x_12; +} +else +{ +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = 1; +x_15 = x_2 + x_14; +x_16 = x_13; +x_17 = lean_array_uset(x_9, x_2, x_16); +x_2 = x_15; +x_3 = x_17; +goto _start; +} +} +} +} +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 4) +{ +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; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_array_get_size(x_4); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = x_4; +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____spec__2(x_6, x_7, x_8); +x_10 = x_9; +return x_10; +} +else +{ +lean_object* x_11; +lean_dec(x_3); +x_11 = lean_box(0); +return x_11; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__1() { _start: { lean_object* x_1; @@ -391,11 +482,19 @@ x_1 = lean_mk_string("rendered"); return x_1; } } -lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_190_(lean_object* x_1) { +static lean_object* _init_l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("goals"); +return x_1; +} +} +lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_190____closed__1; +x_2 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__1; x_3 = l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__2(x_1, x_2); if (lean_obj_tag(x_3) == 0) { @@ -405,30 +504,77 @@ return x_4; } else { -uint8_t x_5; -x_5 = !lean_is_exclusive(x_3); -if (x_5 == 0) +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__2; +x_7 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____spec__1(x_1, x_6); +if (lean_obj_tag(x_7) == 0) { -return x_3; +lean_object* x_8; +lean_dec(x_5); +x_8 = lean_box(0); +return x_8; } else { -lean_object* x_6; lean_object* x_7; -x_6 = lean_ctor_get(x_3, 0); -lean_inc(x_6); -lean_dec(x_3); -x_7 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_7, 0, x_6); +uint8_t x_9; +x_9 = !lean_is_exclusive(x_7); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_7, 0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_5); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set(x_7, 0, x_11); return x_7; } +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +lean_dec(x_7); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_5); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; } } } -lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_190____boxed(lean_object* x_1) { +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____spec__2___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; +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___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____spec__2(x_4, x_5, x_3); +return x_6; +} +} +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_190_(x_1); +x_2 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192_(x_1); lean_dec(x_1); return x_2; } @@ -437,7 +583,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonPlainGoal___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_190____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____boxed), 1, 0); return x_1; } } @@ -449,33 +595,99 @@ x_1 = l_Lean_Lsp_instFromJsonPlainGoal___closed__1; return x_1; } } -lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_220_(lean_object* x_1) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_236____spec__1(size_t x_1, size_t x_2, lean_object* x_3) { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_2 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2, 0, x_1); -x_3 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_190____closed__1; -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_2); -x_5 = lean_box(0); -x_6 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_6, 0, x_4); -lean_ctor_set(x_6, 1, x_5); -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_5); -x_8 = l_List_join___rarg(x_7); -x_9 = l_Lean_Json_mkObj(x_8); -return x_9; +uint8_t x_4; +x_4 = x_2 < x_1; +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = x_3; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = x_6; +x_10 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = 1; +x_12 = x_2 + x_11; +x_13 = x_10; +x_14 = lean_array_uset(x_8, x_2, x_13); +x_2 = x_12; +x_3 = x_14; +goto _start; +} +} +} +lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_236_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_4, 0, x_2); +x_5 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__1; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_array_get_size(x_3); +x_10 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_11 = 0; +x_12 = x_3; +x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_236____spec__1(x_10, x_11, x_12); +x_14 = x_13; +x_15 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__2; +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 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_7); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_7); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_8); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_List_join___rarg(x_20); +x_22 = l_Lean_Json_mkObj(x_21); +return x_22; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_236____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; +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___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_236____spec__1(x_4, x_5, x_3); +return x_6; } } static lean_object* _init_l_Lean_Lsp_instToJsonPlainGoal___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_220_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_236_), 1, 0); return x_1; } } @@ -528,8 +740,10 @@ l_Lean_Lsp_instToJsonPlainGoalParams___closed__1 = _init_l_Lean_Lsp_instToJsonPl lean_mark_persistent(l_Lean_Lsp_instToJsonPlainGoalParams___closed__1); l_Lean_Lsp_instToJsonPlainGoalParams = _init_l_Lean_Lsp_instToJsonPlainGoalParams(); lean_mark_persistent(l_Lean_Lsp_instToJsonPlainGoalParams); -l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_190____closed__1 = _init_l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_190____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_190____closed__1); +l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__1 = _init_l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__1); +l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__2 = _init_l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_192____closed__2); l_Lean_Lsp_instFromJsonPlainGoal___closed__1 = _init_l_Lean_Lsp_instFromJsonPlainGoal___closed__1(); lean_mark_persistent(l_Lean_Lsp_instFromJsonPlainGoal___closed__1); l_Lean_Lsp_instFromJsonPlainGoal = _init_l_Lean_Lsp_instFromJsonPlainGoal(); diff --git a/stage0/stdlib/Lean/Data/Lsp/Ipc.c b/stage0/stdlib/Lean/Data/Lsp/Ipc.c index ee9c0bc028..1f88cbe6ee 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Ipc.c +++ b/stage0/stdlib/Lean/Data/Lsp/Ipc.c @@ -19,7 +19,7 @@ uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequestID____x40_Lean_D lean_object* l_IO_FS_Stream_writeLspRequest___at_Lean_Lsp_Ipc_collectDiagnostics___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_Ipc_ipcStdioConfig___closed__1; lean_object* l_Lean_Lsp_Ipc_collectDiagnostics___closed__1; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971_(lean_object*); lean_object* l_Lean_Lsp_Ipc_readResponseAs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Lsp_Ipc_collectDiagnostics___spec__3(lean_object*); extern lean_object* l_Array_empty___closed__1; @@ -463,7 +463,7 @@ lean_inc(x_18); lean_dec(x_17); x_19 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_19, 0, x_18); -x_20 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933_(x_19); +x_20 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971_(x_19); lean_dec(x_19); if (lean_obj_tag(x_20) == 0) { @@ -552,7 +552,7 @@ lean_inc(x_37); lean_dec(x_17); x_38 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_38, 0, x_37); -x_39 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933_(x_38); +x_39 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971_(x_38); lean_dec(x_38); if (lean_obj_tag(x_39) == 0) { @@ -677,7 +677,7 @@ lean_inc(x_64); lean_dec(x_63); x_65 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_65, 0, x_64); -x_66 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933_(x_65); +x_66 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971_(x_65); lean_dec(x_65); if (lean_obj_tag(x_66) == 0) { @@ -761,7 +761,7 @@ lean_inc(x_81); lean_dec(x_63); x_82 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_82, 0, x_81); -x_83 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933_(x_82); +x_83 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_971_(x_82); lean_dec(x_82); if (lean_obj_tag(x_83) == 0) { diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index fbfc77c2b9..16fc5aba23 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -120,7 +120,6 @@ lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwInvalidNamedArg_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -extern lean_object* l_Lean_MessageData_nil; lean_object* l_Lean_Elab_Term_elabApp_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___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* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__1___rarg(lean_object*, lean_object*); @@ -403,7 +402,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArg lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___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_throwError___at_Lean_Elab_Term_throwInvalidNamedArg___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg_match__1(lean_object*); -lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1(lean_object*, lean_object*); uint8_t l_Lean_Expr_isForall(lean_object*); lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -571,6 +569,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn(lean_object*, uint8_t l_Lean_Expr_isOptParam(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__3___rarg(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___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_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_consumeImplicits___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -29928,7 +29927,7 @@ x_27 = lean_unbox(x_26); lean_dec(x_26); 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; 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_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; uint8_t x_43; lean_dec(x_23); x_28 = lean_ctor_get(x_25, 1); lean_inc(x_28); @@ -29939,146 +29938,145 @@ lean_inc(x_30); x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); lean_dec(x_29); -x_32 = l_Lean_MessageData_nil; -x_33 = l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1(x_30, x_32); +x_32 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData(x_30); lean_dec(x_30); -x_34 = lean_unsigned_to_nat(2u); -x_35 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__16; -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_Lean_KernelException_toMessageData___closed__15; -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_Meta_addDefaultInstance___spec__1(x_39, x_5, x_6, x_7, x_8, x_31); -x_41 = lean_ctor_get(x_40, 0); +x_33 = lean_unsigned_to_nat(2u); +x_34 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__16; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l_Lean_KernelException_toMessageData___closed__15; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_throwError___at_Lean_Meta_addDefaultInstance___spec__1(x_38, x_5, x_6, x_7, x_8, x_31); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Meta_setPostponed(x_20, x_5, x_6, x_7, x_8, x_42); +lean_dec(x_39); +x_42 = l_Lean_Meta_setPostponed(x_20, 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_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) { -lean_object* x_45; -x_45 = lean_ctor_get(x_43, 0); -lean_dec(x_45); -lean_ctor_set_tag(x_43, 1); -lean_ctor_set(x_43, 0, x_41); -return x_43; +lean_object* x_44; +x_44 = lean_ctor_get(x_42, 0); +lean_dec(x_44); +lean_ctor_set_tag(x_42, 1); +lean_ctor_set(x_42, 0, x_40); +return x_42; } 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(1, 2, 0); -lean_ctor_set(x_47, 0, x_41); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_42, 1); +lean_inc(x_45); +lean_dec(x_42); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_40); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_48 = lean_ctor_get(x_25, 1); -lean_inc(x_48); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_47 = lean_ctor_get(x_25, 1); +lean_inc(x_47); lean_dec(x_25); -x_49 = lean_box(0); -x_50 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___lambda__1(x_20, x_23, x_49, x_5, x_6, x_7, x_8, x_48); +x_48 = lean_box(0); +x_49 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___lambda__1(x_20, x_23, x_48, x_5, x_6, x_7, x_8, x_47); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_51 = lean_ctor_get(x_50, 0); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_14 = x_51; -x_15 = x_52; +lean_dec(x_49); +x_14 = x_50; +x_15 = x_51; goto block_18; } } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_dec(x_23); -x_53 = lean_ctor_get(x_25, 0); +x_52 = lean_ctor_get(x_25, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_25, 1); lean_inc(x_53); -x_54 = lean_ctor_get(x_25, 1); -lean_inc(x_54); lean_dec(x_25); -x_55 = l_Lean_Meta_setPostponed(x_20, x_5, x_6, x_7, x_8, x_54); +x_54 = l_Lean_Meta_setPostponed(x_20, x_5, x_6, x_7, x_8, x_53); 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_55 = !lean_is_exclusive(x_54); +if (x_55 == 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_56; +x_56 = lean_ctor_get(x_54, 0); +lean_dec(x_56); +lean_ctor_set_tag(x_54, 1); +lean_ctor_set(x_54, 0, x_52); +return x_54; } 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_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(1, 2, 0); +lean_ctor_set(x_58, 0, x_52); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_60 = lean_ctor_get(x_22, 0); +lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_59 = lean_ctor_get(x_22, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_22, 1); lean_inc(x_60); -x_61 = lean_ctor_get(x_22, 1); -lean_inc(x_61); lean_dec(x_22); -x_62 = l_Lean_Meta_setPostponed(x_20, x_5, x_6, x_7, x_8, x_61); +x_61 = l_Lean_Meta_setPostponed(x_20, x_5, x_6, x_7, x_8, x_60); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) { -lean_object* x_64; -x_64 = lean_ctor_get(x_62, 0); -lean_dec(x_64); -lean_ctor_set_tag(x_62, 1); -lean_ctor_set(x_62, 0, x_60); -return x_62; +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_59); +return x_61; } else { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -lean_dec(x_62); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_60); -lean_ctor_set(x_66, 1, x_65); -return x_66; +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_59); +lean_ctor_set(x_65, 1, x_64); +return x_65; } } block_18: diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 2665ac1ebc..c271de7b90 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -115,7 +115,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMatchAltsWhereDecl lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_14470____closed__2; lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__4; -extern lean_object* l_Lean_MessageData_nil; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo___closed__2; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__3; lean_object* l_Lean_Elab_Term_elabFunBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -306,7 +305,6 @@ lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addTermInfo___spec__1( lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13868____closed__12; extern lean_object* l_myMacro____x40_Init_Notation___hyg_15956____closed__11; -lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1(lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandWhereDeclsOpt___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFVar(lean_object*); @@ -452,6 +450,7 @@ extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__1; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux_loop___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* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__3___lambda__1___closed__7; +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData(lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews___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* l_Lean_Elab_Term_mkLetIdDeclView(lean_object*); @@ -5716,7 +5715,7 @@ x_25 = lean_unbox(x_24); lean_dec(x_24); if (x_25 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_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_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; uint8_t x_41; lean_dec(x_20); x_26 = lean_ctor_get(x_23, 1); lean_inc(x_26); @@ -5727,146 +5726,145 @@ lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = l_Lean_MessageData_nil; -x_31 = l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1(x_28, x_30); +x_30 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData(x_28); lean_dec(x_28); -x_32 = lean_unsigned_to_nat(2u); -x_33 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -x_34 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__16; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l_Lean_KernelException_toMessageData___closed__15; -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_Meta_addDefaultInstance___spec__1(x_37, x_6, x_7, x_8, x_9, x_29); -x_39 = lean_ctor_get(x_38, 0); +x_31 = lean_unsigned_to_nat(2u); +x_32 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__16; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_Lean_KernelException_toMessageData___closed__15; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_throwError___at_Lean_Meta_addDefaultInstance___spec__1(x_36, x_6, x_7, x_8, x_9, x_29); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_Meta_setPostponed(x_17, x_6, x_7, x_8, x_9, x_40); +lean_dec(x_37); +x_40 = l_Lean_Meta_setPostponed(x_17, 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); -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) { -lean_object* x_43; -x_43 = lean_ctor_get(x_41, 0); -lean_dec(x_43); -lean_ctor_set_tag(x_41, 1); -lean_ctor_set(x_41, 0, x_39); -return x_41; +lean_object* x_42; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +lean_ctor_set_tag(x_40, 1); +lean_ctor_set(x_40, 0, x_38); +return x_40; } else { -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_41, 1); -lean_inc(x_44); -lean_dec(x_41); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_39); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +lean_dec(x_40); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_38); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } else { -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_23, 1); -lean_inc(x_46); +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_23, 1); +lean_inc(x_45); lean_dec(x_23); -x_47 = lean_box(0); -x_48 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___lambda__1(x_17, x_20, x_47, x_6, x_7, x_8, x_9, x_46); +x_46 = lean_box(0); +x_47 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___lambda__1(x_17, x_20, x_46, x_6, x_7, x_8, x_9, x_45); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_49 = lean_ctor_get(x_48, 0); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_11 = x_49; -x_12 = x_50; +lean_dec(x_47); +x_11 = x_48; +x_12 = x_49; goto block_15; } } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_dec(x_20); -x_51 = lean_ctor_get(x_23, 0); +x_50 = lean_ctor_get(x_23, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_23, 1); lean_inc(x_51); -x_52 = lean_ctor_get(x_23, 1); -lean_inc(x_52); lean_dec(x_23); -x_53 = l_Lean_Meta_setPostponed(x_17, x_6, x_7, x_8, x_9, x_52); +x_52 = l_Lean_Meta_setPostponed(x_17, 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) +x_53 = !lean_is_exclusive(x_52); +if (x_53 == 0) { -lean_object* x_55; -x_55 = lean_ctor_get(x_53, 0); -lean_dec(x_55); -lean_ctor_set_tag(x_53, 1); -lean_ctor_set(x_53, 0, x_51); -return x_53; +lean_object* x_54; +x_54 = lean_ctor_get(x_52, 0); +lean_dec(x_54); +lean_ctor_set_tag(x_52, 1); +lean_ctor_set(x_52, 0, x_50); +return x_52; } else { -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_53, 1); -lean_inc(x_56); -lean_dec(x_53); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_51); -lean_ctor_set(x_57, 1, x_56); -return x_57; +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_52, 1); +lean_inc(x_55); +lean_dec(x_52); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_50); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_58 = lean_ctor_get(x_19, 0); +lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_57 = lean_ctor_get(x_19, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_19, 1); lean_inc(x_58); -x_59 = lean_ctor_get(x_19, 1); -lean_inc(x_59); lean_dec(x_19); -x_60 = l_Lean_Meta_setPostponed(x_17, x_6, x_7, x_8, x_9, x_59); +x_59 = l_Lean_Meta_setPostponed(x_17, x_6, x_7, x_8, x_9, x_58); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_61 = !lean_is_exclusive(x_60); -if (x_61 == 0) +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) { -lean_object* x_62; -x_62 = lean_ctor_get(x_60, 0); -lean_dec(x_62); -lean_ctor_set_tag(x_60, 1); -lean_ctor_set(x_60, 0, x_58); -return x_60; +lean_object* x_61; +x_61 = lean_ctor_get(x_59, 0); +lean_dec(x_61); +lean_ctor_set_tag(x_59, 1); +lean_ctor_set(x_59, 0, x_57); +return x_59; } else { -lean_object* x_63; lean_object* x_64; -x_63 = lean_ctor_get(x_60, 1); -lean_inc(x_63); -lean_dec(x_60); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_58); -lean_ctor_set(x_64, 1, x_63); -return x_64; +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_59, 1); +lean_inc(x_62); +lean_dec(x_59); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_57); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } block_15: diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 4ac2e0f0f0..ee77916f15 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -338,7 +338,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabSorry___closed__1; extern lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__2; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide___closed__4; lean_object* l_Lean_Elab_Term_elabSubst___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_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkNativeReflAuxDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__22; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); @@ -380,7 +379,6 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserM lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide___closed__1; lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__2___closed__3; lean_object* l_Lean_Elab_Term_elabSorry___closed__1; -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNativeRefl_match__1(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_2191____closed__4; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__7; @@ -410,7 +408,6 @@ lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabAnonymousCtor_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17932____closed__2; lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_23____closed__8; lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__37; @@ -444,7 +441,6 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserM lean_object* l_Lean_Elab_Term_expandUnreachable___rarg(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_quoteAutoTactic___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabDecide___rarg___closed__4; lean_object* l_Lean_Elab_Term_elabPanic___closed__8; extern lean_object* l_Lean_Meta_throwLetTypeMismatchMessage___rarg___closed__7; uint8_t l_Lean_Syntax_isNone(lean_object*); @@ -512,7 +508,6 @@ lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__7; extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__23; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabDecide___rarg___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices___closed__1; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Term_expandEmptyC(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -6508,23 +6503,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_elabDecide___rarg___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("elabDecide: "); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabDecide___rarg___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_elabDecide___rarg___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l_Lean_Elab_Term_elabDecide___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: { @@ -6538,165 +6516,124 @@ lean_inc(x_2); x_9 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_9) == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_87; lean_object* x_88; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_98 = lean_st_ref_get(x_7, x_11); -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_99, 3); -lean_inc(x_100); -lean_dec(x_99); -x_101 = lean_ctor_get_uint8(x_100, sizeof(void*)*1); -lean_dec(x_100); -if (x_101 == 0) -{ -lean_object* x_102; uint8_t x_103; -x_102 = lean_ctor_get(x_98, 1); -lean_inc(x_102); -lean_dec(x_98); -x_103 = 0; -x_87 = x_103; -x_88 = x_102; -goto block_97; -} -else -{ -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_104 = lean_ctor_get(x_98, 1); -lean_inc(x_104); -lean_dec(x_98); -x_105 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_106 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_105, x_2, x_3, x_4, x_5, x_6, x_7, x_104); -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_unbox(x_107); -lean_dec(x_107); -x_87 = x_109; -x_88 = x_108; -goto block_97; -} -block_86: -{ -lean_object* x_13; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_10); -x_13 = l_Lean_Meta_mkDecide(x_10, x_4, x_5, x_6, x_7, x_12); -if (lean_obj_tag(x_13) == 0) +x_12 = l_Lean_Meta_mkDecide(x_10, x_4, x_5, x_6, x_7, x_11); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_13, 0); +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); +lean_dec(x_12); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_16 = l_Lean_Meta_instantiateMVars(x_14, x_4, x_5, x_6, x_7, x_15); -if (lean_obj_tag(x_16) == 0) +x_15 = l_Lean_Meta_instantiateMVars(x_13, x_4, x_5, x_6, x_7, x_14); +if (lean_obj_tag(x_15) == 0) { -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_4, 0); +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_4, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 0); +x_18 = lean_ctor_get(x_15, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_16, 1); +lean_dec(x_15); +x_19 = lean_ctor_get(x_4, 1); lean_inc(x_19); -lean_dec(x_16); -x_20 = lean_ctor_get(x_4, 1); +x_20 = lean_ctor_get(x_4, 2); lean_inc(x_20); -x_21 = lean_ctor_get(x_4, 2); -lean_inc(x_21); -x_22 = !lean_is_exclusive(x_17); -if (x_22 == 0) +x_21 = !lean_is_exclusive(x_16); +if (x_21 == 0) { -uint8_t x_23; lean_object* x_24; lean_object* x_25; -x_23 = 1; -lean_ctor_set_uint8(x_17, 5, x_23); -x_24 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_24, 0, x_17); -lean_ctor_set(x_24, 1, x_20); -lean_ctor_set(x_24, 2, x_21); +uint8_t x_22; lean_object* x_23; lean_object* x_24; +x_22 = 1; +lean_ctor_set_uint8(x_16, 5, x_22); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_16); +lean_ctor_set(x_23, 1, x_19); +lean_ctor_set(x_23, 2, x_20); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_18); -x_25 = l_Lean_Meta_whnf(x_18, x_24, x_5, x_6, x_7, x_19); -if (lean_obj_tag(x_25) == 0) +lean_inc(x_17); +x_24 = l_Lean_Meta_whnf(x_17, x_23, x_5, x_6, x_7, x_18); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = lean_ctor_get(x_25, 0); +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +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_25, 1); -lean_inc(x_27); +lean_dec(x_24); +x_27 = l_Lean_instQuoteBool___closed__5; +x_28 = l_Lean_Expr_isConstOf(x_25, x_27); lean_dec(x_25); -x_28 = l_Lean_instQuoteBool___closed__5; -x_29 = l_Lean_Expr_isConstOf(x_26, x_28); -lean_dec(x_26); -if (x_29 == 0) +if (x_28 == 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; uint8_t x_36; -lean_dec(x_18); -x_30 = l_Lean_indentExpr(x_10); -x_31 = l_Lean_Elab_Term_elabDecide___rarg___closed__2; -x_32 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -x_33 = l_Lean_KernelException_toMessageData___closed__15; -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___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_27); +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_dec(x_17); +x_29 = l_Lean_indentExpr(x_10); +x_30 = l_Lean_Elab_Term_elabDecide___rarg___closed__2; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = l_Lean_KernelException_toMessageData___closed__15; +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___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_33, x_2, x_3, 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); lean_dec(x_3); -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) { -return x_35; +return x_34; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_35, 0); -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_38); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); lean_inc(x_37); -lean_dec(x_35); -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_inc(x_36); +lean_dec(x_34); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } else { -lean_object* x_40; lean_object* x_41; -x_40 = lean_box(0); -x_41 = l_Lean_Elab_Term_elabDecide___rarg___lambda__1(x_18, x_10, x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_27); +lean_object* x_39; lean_object* x_40; +x_39 = lean_box(0); +x_40 = l_Lean_Elab_Term_elabDecide___rarg___lambda__1(x_17, x_10, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_26); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_18); -return x_41; +lean_dec(x_17); +return x_40; } } else { -uint8_t x_42; -lean_dec(x_18); +uint8_t x_41; +lean_dec(x_17); lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); @@ -6704,124 +6641,124 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_42 = !lean_is_exclusive(x_25); -if (x_42 == 0) +x_41 = !lean_is_exclusive(x_24); +if (x_41 == 0) { -return x_25; +return x_24; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_25, 0); -x_44 = lean_ctor_get(x_25, 1); -lean_inc(x_44); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_24, 0); +x_43 = lean_ctor_get(x_24, 1); lean_inc(x_43); -lean_dec(x_25); -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_inc(x_42); +lean_dec(x_24); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } else { -uint8_t x_46; uint8_t x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; uint8_t x_51; uint8_t x_52; uint8_t x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_46 = lean_ctor_get_uint8(x_17, 0); -x_47 = lean_ctor_get_uint8(x_17, 1); -x_48 = lean_ctor_get_uint8(x_17, 2); -x_49 = lean_ctor_get_uint8(x_17, 3); -x_50 = lean_ctor_get_uint8(x_17, 4); -x_51 = lean_ctor_get_uint8(x_17, 6); -x_52 = lean_ctor_get_uint8(x_17, 7); -x_53 = lean_ctor_get_uint8(x_17, 8); -lean_dec(x_17); -x_54 = 1; -x_55 = lean_alloc_ctor(0, 0, 9); -lean_ctor_set_uint8(x_55, 0, x_46); -lean_ctor_set_uint8(x_55, 1, x_47); -lean_ctor_set_uint8(x_55, 2, x_48); -lean_ctor_set_uint8(x_55, 3, x_49); -lean_ctor_set_uint8(x_55, 4, x_50); -lean_ctor_set_uint8(x_55, 5, x_54); -lean_ctor_set_uint8(x_55, 6, x_51); -lean_ctor_set_uint8(x_55, 7, x_52); -lean_ctor_set_uint8(x_55, 8, x_53); -x_56 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_20); -lean_ctor_set(x_56, 2, x_21); +uint8_t x_45; uint8_t x_46; uint8_t x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; uint8_t x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_45 = lean_ctor_get_uint8(x_16, 0); +x_46 = lean_ctor_get_uint8(x_16, 1); +x_47 = lean_ctor_get_uint8(x_16, 2); +x_48 = lean_ctor_get_uint8(x_16, 3); +x_49 = lean_ctor_get_uint8(x_16, 4); +x_50 = lean_ctor_get_uint8(x_16, 6); +x_51 = lean_ctor_get_uint8(x_16, 7); +x_52 = lean_ctor_get_uint8(x_16, 8); +lean_dec(x_16); +x_53 = 1; +x_54 = lean_alloc_ctor(0, 0, 9); +lean_ctor_set_uint8(x_54, 0, x_45); +lean_ctor_set_uint8(x_54, 1, x_46); +lean_ctor_set_uint8(x_54, 2, x_47); +lean_ctor_set_uint8(x_54, 3, x_48); +lean_ctor_set_uint8(x_54, 4, x_49); +lean_ctor_set_uint8(x_54, 5, x_53); +lean_ctor_set_uint8(x_54, 6, x_50); +lean_ctor_set_uint8(x_54, 7, x_51); +lean_ctor_set_uint8(x_54, 8, x_52); +x_55 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_19); +lean_ctor_set(x_55, 2, x_20); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_18); -x_57 = l_Lean_Meta_whnf(x_18, x_56, x_5, x_6, x_7, x_19); -if (lean_obj_tag(x_57) == 0) +lean_inc(x_17); +x_56 = l_Lean_Meta_whnf(x_17, x_55, x_5, x_6, x_7, x_18); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_58 = lean_ctor_get(x_57, 0); +lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); +lean_dec(x_56); +x_59 = l_Lean_instQuoteBool___closed__5; +x_60 = l_Lean_Expr_isConstOf(x_57, x_59); lean_dec(x_57); -x_60 = l_Lean_instQuoteBool___closed__5; -x_61 = l_Lean_Expr_isConstOf(x_58, x_60); -lean_dec(x_58); -if (x_61 == 0) +if (x_60 == 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_dec(x_18); -x_62 = l_Lean_indentExpr(x_10); -x_63 = l_Lean_Elab_Term_elabDecide___rarg___closed__2; -x_64 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -x_65 = l_Lean_KernelException_toMessageData___closed__15; -x_66 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_66, x_2, x_3, x_4, x_5, x_6, x_7, x_59); +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_dec(x_17); +x_61 = l_Lean_indentExpr(x_10); +x_62 = l_Lean_Elab_Term_elabDecide___rarg___closed__2; +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 = l_Lean_KernelException_toMessageData___closed__15; +x_65 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(x_65, x_2, x_3, x_4, x_5, x_6, x_7, x_58); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_68 = lean_ctor_get(x_67, 0); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_70 = x_67; +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_69 = x_66; } else { - lean_dec_ref(x_67); - x_70 = lean_box(0); + lean_dec_ref(x_66); + x_69 = lean_box(0); } -if (lean_is_scalar(x_70)) { - x_71 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_69)) { + x_70 = lean_alloc_ctor(1, 2, 0); } else { - x_71 = x_70; + x_70 = x_69; } -lean_ctor_set(x_71, 0, x_68); -lean_ctor_set(x_71, 1, x_69); -return x_71; +lean_ctor_set(x_70, 0, x_67); +lean_ctor_set(x_70, 1, x_68); +return x_70; } else { -lean_object* x_72; lean_object* x_73; -x_72 = lean_box(0); -x_73 = l_Lean_Elab_Term_elabDecide___rarg___lambda__1(x_18, x_10, x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_59); +lean_object* x_71; lean_object* x_72; +x_71 = lean_box(0); +x_72 = l_Lean_Elab_Term_elabDecide___rarg___lambda__1(x_17, x_10, x_71, x_2, x_3, x_4, x_5, x_6, x_7, x_58); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_18); -return x_73; +lean_dec(x_17); +return x_72; } } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -lean_dec(x_18); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_17); lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); @@ -6829,32 +6766,32 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_74 = lean_ctor_get(x_57, 0); +x_73 = lean_ctor_get(x_56, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_56, 1); lean_inc(x_74); -x_75 = lean_ctor_get(x_57, 1); -lean_inc(x_75); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_76 = x_57; +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_75 = x_56; } else { - lean_dec_ref(x_57); - x_76 = lean_box(0); + lean_dec_ref(x_56); + x_75 = lean_box(0); } -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(1, 2, 0); } else { - x_77 = x_76; + x_76 = x_75; } -lean_ctor_set(x_77, 0, x_74); -lean_ctor_set(x_77, 1, x_75); -return x_77; +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_74); +return x_76; } } } else { -uint8_t x_78; +uint8_t x_77; lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); @@ -6862,29 +6799,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_78 = !lean_is_exclusive(x_16); -if (x_78 == 0) +x_77 = !lean_is_exclusive(x_15); +if (x_77 == 0) { -return x_16; +return x_15; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_16, 0); -x_80 = lean_ctor_get(x_16, 1); -lean_inc(x_80); +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_15, 0); +x_79 = lean_ctor_get(x_15, 1); lean_inc(x_79); -lean_dec(x_16); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -return x_81; +lean_inc(x_78); +lean_dec(x_15); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; } } } else { -uint8_t x_82; +uint8_t x_81; lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); @@ -6892,83 +6829,52 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_82 = !lean_is_exclusive(x_13); -if (x_82 == 0) +x_81 = !lean_is_exclusive(x_12); +if (x_81 == 0) { -return x_13; +return x_12; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_13, 0); -x_84 = lean_ctor_get(x_13, 1); -lean_inc(x_84); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_12, 0); +x_83 = lean_ctor_get(x_12, 1); lean_inc(x_83); -lean_dec(x_13); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; -} -} -} -block_97: -{ -if (x_87 == 0) -{ -x_12 = x_88; -goto block_86; -} -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_inc(x_10); -x_89 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_89, 0, x_10); -x_90 = l_Lean_Elab_Term_elabDecide___rarg___closed__4; -x_91 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -x_92 = l_Lean_KernelException_toMessageData___closed__15; -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_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_95 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_94, x_93, x_2, x_3, x_4, x_5, x_6, x_7, x_88); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -lean_dec(x_95); -x_12 = x_96; -goto block_86; +lean_inc(x_82); +lean_dec(x_12); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } } else { -uint8_t x_110; +uint8_t x_85; 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_110 = !lean_is_exclusive(x_9); -if (x_110 == 0) +x_85 = !lean_is_exclusive(x_9); +if (x_85 == 0) { return x_9; } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_9, 0); -x_112 = lean_ctor_get(x_9, 1); -lean_inc(x_112); -lean_inc(x_111); +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_9, 0); +x_87 = lean_ctor_get(x_9, 1); +lean_inc(x_87); +lean_inc(x_86); lean_dec(x_9); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -return x_113; +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; } } } @@ -13365,10 +13271,6 @@ l_Lean_Elab_Term_elabDecide___rarg___closed__1 = _init_l_Lean_Elab_Term_elabDeci lean_mark_persistent(l_Lean_Elab_Term_elabDecide___rarg___closed__1); l_Lean_Elab_Term_elabDecide___rarg___closed__2 = _init_l_Lean_Elab_Term_elabDecide___rarg___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_elabDecide___rarg___closed__2); -l_Lean_Elab_Term_elabDecide___rarg___closed__3 = _init_l_Lean_Elab_Term_elabDecide___rarg___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_elabDecide___rarg___closed__3); -l_Lean_Elab_Term_elabDecide___rarg___closed__4 = _init_l_Lean_Elab_Term_elabDecide___rarg___closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_elabDecide___rarg___closed__4); l___regBuiltin_Lean_Elab_Term_elabDecide___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabDecide___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabDecide___closed__1); res = l___regBuiltin_Lean_Elab_Term_elabDecide(lean_io_mk_world()); diff --git a/stage0/stdlib/Lean/Elab/Deriving/Util.c b/stage0/stdlib/Lean/Elab/Deriving/Util.c index 43d35f3819..583c860ed3 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/Util.c +++ b/stage0/stdlib/Lean/Elab/Deriving/Util.c @@ -66,7 +66,6 @@ lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Deriving_mkInstImplicitBinders___spec__3___at_Lean_Elab_Deriving_mkInstImplicitBinders___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_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_mkContext___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_15387____closed__9; lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_mkContext___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_mkContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -154,7 +153,6 @@ lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_mkContext___spec_ lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___at_Lean_Elab_Deriving_mkInductArgNames___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInstImplicitBinders___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkInstanceCmds___spec__1___boxed(lean_object**); extern lean_object* l_myMacro____x40_Init_Notation___hyg_15956____closed__2; lean_object* l_Array_ofSubarray___rarg(lean_object*); @@ -2555,7 +2553,7 @@ return x_10; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_mkInstanceCmds___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, 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; 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; 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; 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; uint8_t x_76; lean_object* x_77; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +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; x_16 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Deriving_mkInstImplicitBinders___spec__1___rarg(x_13, x_14, x_15); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); @@ -2567,16 +2565,12 @@ x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); lean_dec(x_19); x_21 = l_Lean_Elab_Term_getMainModule___rarg(x_14, x_20); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - x_23 = x_21; -} else { - lean_dec_ref(x_21); - x_23 = lean_box(0); -} +x_22 = !lean_is_exclusive(x_21); +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; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 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; 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_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); x_24 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1136____closed__2; x_25 = lean_name_mk_string(x_1, x_24); x_26 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1136____closed__4; @@ -2677,105 +2671,125 @@ x_74 = lean_array_push(x_38, x_73); x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_27); lean_ctor_set(x_75, 1, x_74); -x_97 = lean_st_ref_get(x_14, x_22); -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_76 = x_102; -x_77 = x_101; -goto block_96; +x_76 = lean_array_push(x_7, x_75); +x_77 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_21, 0, x_77); +return x_21; } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_103 = lean_ctor_get(x_97, 1); -lean_inc(x_103); -lean_dec(x_97); -x_104 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_105 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_104, x_9, x_10, x_11, x_12, x_13, x_14, x_103); -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_unbox(x_106); -lean_dec(x_106); -x_76 = x_108; -x_77 = x_107; -goto block_96; -} -block_96: -{ -if (x_76 == 0) -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_array_push(x_7, x_75); -x_79 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_79, 0, x_78); -if (lean_is_scalar(x_23)) { - x_80 = lean_alloc_ctor(0, 2, 0); -} else { - x_80 = x_23; -} -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_77); -return x_80; -} -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_dec(x_23); -lean_inc(x_75); -x_81 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_81, 0, x_75); -x_82 = l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1; -x_83 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -x_84 = l_Lean_KernelException_toMessageData___closed__15; -x_85 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_87 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_86, x_85, x_9, x_10, x_11, x_12, x_13, x_14, x_77); -x_88 = !lean_is_exclusive(x_87); -if (x_88 == 0) -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_87, 0); -lean_dec(x_89); -x_90 = lean_array_push(x_7, x_75); -x_91 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_87, 0, x_91); -return x_87; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_87, 1); -lean_inc(x_92); -lean_dec(x_87); -x_93 = lean_array_push(x_7, x_75); -x_94 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_94, 0, x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_92); -return x_95; -} -} +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; 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; 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_78 = lean_ctor_get(x_21, 1); +lean_inc(x_78); +lean_dec(x_21); +x_79 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1136____closed__2; +x_80 = lean_name_mk_string(x_1, x_79); +x_81 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1136____closed__4; +lean_inc(x_80); +x_82 = lean_name_mk_string(x_80, x_81); +x_83 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1136____closed__6; +lean_inc(x_80); +x_84 = lean_name_mk_string(x_80, x_83); +lean_inc(x_3); +lean_inc(x_2); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_2); +lean_ctor_set(x_85, 1, x_3); +lean_inc(x_85); +lean_inc(x_3); +x_86 = lean_array_push(x_3, x_85); +lean_inc(x_85); +lean_inc(x_86); +x_87 = lean_array_push(x_86, x_85); +lean_inc(x_85); +x_88 = lean_array_push(x_87, x_85); +lean_inc(x_85); +x_89 = lean_array_push(x_88, x_85); +lean_inc(x_85); +x_90 = lean_array_push(x_89, x_85); +lean_inc(x_85); +x_91 = lean_array_push(x_90, x_85); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_84); +lean_ctor_set(x_92, 1, x_91); +lean_inc(x_3); +x_93 = lean_array_push(x_3, x_92); +x_94 = l_myMacro____x40_Init_NotationExtra___hyg_5658____closed__21; +lean_inc(x_80); +x_95 = lean_name_mk_string(x_80, x_94); +x_96 = l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__3; +lean_inc(x_4); +x_97 = lean_name_mk_string(x_4, x_96); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_86); +lean_inc(x_3); +x_99 = lean_array_push(x_3, x_98); +lean_inc(x_17); +x_100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_100, 0, x_17); +lean_ctor_set(x_100, 1, x_94); +x_101 = lean_array_push(x_99, x_100); +lean_inc(x_85); +x_102 = lean_array_push(x_101, x_85); +lean_inc(x_85); +x_103 = lean_array_push(x_102, x_85); +x_104 = l_myMacro____x40_Init_NotationExtra___hyg_5658____closed__25; +lean_inc(x_80); +x_105 = lean_name_mk_string(x_80, x_104); +lean_inc(x_3); +x_106 = l_Array_appendCore___rarg(x_3, x_5); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_2); +lean_ctor_set(x_107, 1, x_106); +lean_inc(x_3); +x_108 = lean_array_push(x_3, x_107); +x_109 = l_Lean_expandExplicitBindersAux_loop___closed__3; +x_110 = lean_name_mk_string(x_4, x_109); +x_111 = l_myMacro____x40_Init_Notation___hyg_15387____closed__9; +lean_inc(x_17); +x_112 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_112, 0, x_17); +lean_ctor_set(x_112, 1, x_111); +lean_inc(x_3); +x_113 = lean_array_push(x_3, x_112); +x_114 = lean_array_push(x_113, x_6); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_110); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_array_push(x_108, x_115); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_105); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_array_push(x_103, x_117); +x_119 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1136____closed__32; +x_120 = lean_name_mk_string(x_80, x_119); +x_121 = l_myMacro____x40_Init_Notation___hyg_15956____closed__11; +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_17); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_array_push(x_3, x_122); +x_124 = lean_array_push(x_123, x_8); +x_125 = lean_array_push(x_124, x_85); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_120); +lean_ctor_set(x_126, 1, x_125); +x_127 = lean_array_push(x_118, x_126); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_95); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_array_push(x_93, x_128); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_82); +lean_ctor_set(x_130, 1, x_129); +x_131 = lean_array_push(x_7, x_130); +x_132 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_132, 0, x_131); +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_78); +return x_133; } } } diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index 324d0b3e8a..80ae26a7b9 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -144,6 +144,7 @@ lean_object* l_Lean_Level_getOffsetAux(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__4; lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__1___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__2___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_getLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -246,6 +247,7 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_C lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__3; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__6; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__9___lambda__1(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_Meta_withLocalDecl___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__8___rarg(lean_object*, uint8_t, 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*); @@ -312,7 +314,6 @@ lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Inductive_0__Lea lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__12___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__13(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_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__4; lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__2(lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___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_mk_no_confusion(lean_object*, lean_object*); @@ -341,7 +342,6 @@ lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_ob lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___closed__2; lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___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_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*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__2; lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___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* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__1; extern lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__1; @@ -352,7 +352,6 @@ lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Induct lean_object* l_Lean_Meta_isTypeFormerType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__1___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__2___lambda__1___closed__4; lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__1; uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType_match__1(lean_object*); size_t lean_usize_of_nat(lean_object*); @@ -375,6 +374,7 @@ lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Inductive_0__L lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___closed__2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___spec__1___closed__2; +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__5; lean_object* l_Lean_Elab_Command_accLevelAtCtor___closed__2; lean_object* l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); @@ -416,7 +416,6 @@ extern uint8_t l_instInhabitedBool; lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__4(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_CollectLevelParams_instInhabitedState___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__1; -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__6; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabInductiveViews___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*); @@ -443,7 +442,7 @@ lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Inductive_0__L lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_eqvFirstTypeResult___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___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*); extern lean_object* l_Std_PersistentHashMap_find_x21___rarg___closed__3; -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034_(lean_object*); lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4_(lean_object*); lean_object* l_Lean_mkIBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_tmpIndParam___closed__3; @@ -458,12 +457,12 @@ lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___ lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__8(lean_object*, lean_object*); lean_object* l_Lean_Level_normalize(lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__3; extern lean_object* l_Lean_instInhabitedExpr___closed__1; lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__2; lean_object* l_Lean_Elab_Command_elabInductiveViews___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_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__6___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* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed_match__1___rarg(lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; extern lean_object* l_Lean_Expr_ReplaceLevelImpl_initCache; extern lean_object* l_Std_HashMap_find_x21___rarg___closed__1; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -488,7 +487,6 @@ lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__1(lean_object*, le lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__12___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_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__5; lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___closed__3; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -502,6 +500,7 @@ lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_ lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__1; lean_object* l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__2; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); lean_object* l_Lean_mkBInductionOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -522,6 +521,7 @@ lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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*, lean_object*); lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkNoConfusion___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -556,7 +556,6 @@ lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg(lean_object* lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___spec__1___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier(lean_object*); lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__3; lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___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* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__1; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); @@ -615,7 +614,6 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux_ lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___spec__1___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_ReplaceImpl_initCache; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_mkHasTypeButIsExpectedMsg___closed__3; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -8406,7 +8404,6 @@ _start: { lean_object* x_12; lean_inc(x_7); -lean_inc(x_5); x_12 = l_Lean_Elab_Term_addAutoBoundImplicits(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_12) == 0) { @@ -8428,216 +8425,113 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); -lean_inc(x_7); x_20 = l_Lean_Meta_mkForallFVars(x_2, x_18, x_15, x_16, x_7, x_8, x_9, x_10, x_19); if (lean_obj_tag(x_20) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - x_23 = x_20; -} else { - lean_dec_ref(x_20); - x_23 = lean_box(0); -} -x_47 = lean_st_ref_get(x_10, x_22); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_48, 3); -lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_ctor_get_uint8(x_49, sizeof(void*)*1); -lean_dec(x_49); -if (x_50 == 0) +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) { -lean_object* x_51; -x_51 = lean_ctor_get(x_47, 1); -lean_inc(x_51); -lean_dec(x_47); -x_24 = x_15; -x_25 = x_51; -goto block_46; +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_3, 2); +lean_inc(x_23); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +lean_ctor_set(x_20, 0, x_24); +return x_20; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_52 = lean_ctor_get(x_47, 1); -lean_inc(x_52); -lean_dec(x_47); -x_53 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_54 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_53, x_5, x_6, x_7, x_8, x_9, x_10, x_52); -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_unbox(x_55); -lean_dec(x_55); -x_24 = x_57; -x_25 = x_56; -goto block_46; -} -block_46: -{ -if (x_24 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_7); -lean_dec(x_5); -x_26 = lean_ctor_get(x_3, 2); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_25 = lean_ctor_get(x_20, 0); +x_26 = lean_ctor_get(x_20, 1); lean_inc(x_26); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_21); -if (lean_is_scalar(x_23)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_23; -} +lean_inc(x_25); +lean_dec(x_20); +x_27 = lean_ctor_get(x_3, 2); +lean_inc(x_27); +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 -{ -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_dec(x_23); -x_29 = lean_ctor_get(x_3, 2); -lean_inc(x_29); -x_30 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_30, 0, x_29); -x_31 = l_Lean_KernelException_toMessageData___closed__15; -x_32 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -x_33 = l_Lean_Meta_mkHasTypeButIsExpectedMsg___closed__3; -x_34 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -lean_inc(x_21); -x_35 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_35, 0, x_21); -x_36 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_31); -x_38 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_39 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_38, x_37, x_5, x_6, x_7, x_8, x_9, x_10, x_25); -lean_dec(x_7); -lean_dec(x_5); -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_39, 0); -lean_dec(x_41); -lean_inc(x_29); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_29); -lean_ctor_set(x_42, 1, x_21); -lean_ctor_set(x_39, 0, x_42); -return x_39; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_39, 1); -lean_inc(x_43); -lean_dec(x_39); -lean_inc(x_29); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_29); -lean_ctor_set(x_44, 1, x_21); -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; -} -} +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_26); +return x_29; } } else { -uint8_t x_58; -lean_dec(x_7); -lean_dec(x_5); -x_58 = !lean_is_exclusive(x_20); -if (x_58 == 0) +uint8_t x_30; +x_30 = !lean_is_exclusive(x_20); +if (x_30 == 0) { return x_20; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_20, 0); -x_60 = lean_ctor_get(x_20, 1); -lean_inc(x_60); -lean_inc(x_59); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_20, 0); +x_32 = lean_ctor_get(x_20, 1); +lean_inc(x_32); +lean_inc(x_31); lean_dec(x_20); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +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 { -uint8_t x_62; +uint8_t x_34; lean_dec(x_7); -lean_dec(x_5); lean_dec(x_2); -x_62 = !lean_is_exclusive(x_17); -if (x_62 == 0) +x_34 = !lean_is_exclusive(x_17); +if (x_34 == 0) { return x_17; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_17, 0); -x_64 = lean_ctor_get(x_17, 1); -lean_inc(x_64); -lean_inc(x_63); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_17, 0); +x_36 = lean_ctor_get(x_17, 1); +lean_inc(x_36); +lean_inc(x_35); lean_dec(x_17); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } } else { -uint8_t x_66; +uint8_t x_38; lean_dec(x_7); -lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_66 = !lean_is_exclusive(x_12); -if (x_66 == 0) +x_38 = !lean_is_exclusive(x_12); +if (x_38 == 0) { return x_12; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_12, 0); -x_68 = lean_ctor_get(x_12, 1); -lean_inc(x_68); -lean_inc(x_67); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_12, 0); +x_40 = lean_ctor_get(x_12, 1); +lean_inc(x_40); +lean_inc(x_39); lean_dec(x_12); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; +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; } } } @@ -12075,7 +11969,7 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__1() { _start: { lean_object* x_1; @@ -12083,17 +11977,17 @@ x_1 = lean_mk_string("bootstrap"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____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_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__3() { _start: { lean_object* x_1; @@ -12101,17 +11995,17 @@ x_1 = lean_mk_string("inductiveCheckResultingUniverse"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__2; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__3; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__5() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__5() { _start: { lean_object* x_1; @@ -12119,13 +12013,13 @@ x_1 = lean_mk_string("by default the `inductive/structure commands report an err return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__6() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____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_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__5; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__1; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__5; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -12134,12 +12028,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__4; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__6; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__4; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__6; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_4____spec__1(x_2, x_3, x_1); return x_4; } @@ -20208,19 +20102,19 @@ l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___c lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___closed__1); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__4); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__5); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076____closed__6); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3076_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__5); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034____closed__6); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_3034_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse); diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index cf9b4d9744..a46c7455bf 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -510,7 +510,6 @@ lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3___closed__3 lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___spec__4(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse___closed__3; -extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -558,7 +557,7 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed___ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__10; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabStructure___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_4626_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_4560_(lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1; uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_206_(uint8_t, uint8_t); @@ -667,7 +666,6 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeV lean_object* l_Lean_Elab_Command_elabStructure___lambda__3___boxed(lean_object**); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___closed__2; uint8_t l_Lean_isStructure(lean_object*, lean_object*); lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__13(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -685,7 +683,6 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeV lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_elabDeriving___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___lambda__3___closed__3; -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint8_t _init_l_Lean_Elab_Command_instInhabitedStructFieldKind() { _start: @@ -13004,23 +13001,6 @@ lean_dec(x_1); return x_11; } } -static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ctor type: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor(lean_object* x_1, lean_object* x_2, 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: { @@ -13046,8 +13026,6 @@ 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_21 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields(x_4, x_17, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_21) == 0) { @@ -13070,556 +13048,389 @@ lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); x_29 = l_Lean_Meta_instantiateMVars(x_27, x_7, x_8, x_9, x_10, 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; uint8_t x_46; lean_object* x_47; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - x_32 = x_29; -} else { - lean_dec_ref(x_29); - x_32 = lean_box(0); -} -x_57 = lean_st_ref_get(x_10, x_31); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_58, 3); -lean_inc(x_59); -lean_dec(x_58); -x_60 = lean_ctor_get_uint8(x_59, sizeof(void*)*1); -lean_dec(x_59); -if (x_60 == 0) +uint8_t x_30; +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -lean_object* x_61; -x_61 = lean_ctor_get(x_57, 1); -lean_inc(x_61); -lean_dec(x_57); -x_46 = x_24; -x_47 = x_61; -goto block_56; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_62 = lean_ctor_get(x_57, 1); -lean_inc(x_62); -lean_dec(x_57); -x_63 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_64 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_63, x_5, x_6, x_7, x_8, x_9, x_10, x_62); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_unbox(x_65); -lean_dec(x_65); -x_46 = x_67; -x_47 = x_66; -goto block_56; -} -block_45: -{ -lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_34 = lean_array_get_size(x_3); +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_array_get_size(x_3); lean_dec(x_3); -x_35 = lean_ctor_get(x_1, 9); -lean_inc(x_35); +x_33 = lean_ctor_get(x_1, 9); +lean_inc(x_33); lean_dec(x_1); -x_36 = lean_ctor_get_uint8(x_35, sizeof(void*)*4); -if (x_36 == 0) +x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*4); +if (x_34 == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_35, 3); -lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Lean_Expr_inferImplicit(x_30, x_34, x_25); -lean_dec(x_34); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -if (lean_is_scalar(x_32)) { - x_40 = lean_alloc_ctor(0, 2, 0); -} else { - x_40 = x_32; -} -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_33); -return x_40; +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_33, 3); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_Expr_inferImplicit(x_31, x_32, x_25); +lean_dec(x_32); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_29, 0, x_37); +return x_29; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_41 = lean_ctor_get(x_35, 3); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_33, 3); +lean_inc(x_38); +lean_dec(x_33); +x_39 = l_Lean_Expr_inferImplicit(x_31, x_32, x_24); +lean_dec(x_32); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_29, 0, x_40); +return x_29; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_ctor_get(x_29, 0); +x_42 = lean_ctor_get(x_29, 1); +lean_inc(x_42); lean_inc(x_41); -lean_dec(x_35); -x_42 = l_Lean_Expr_inferImplicit(x_30, x_34, x_24); -lean_dec(x_34); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -if (lean_is_scalar(x_32)) { - x_44 = lean_alloc_ctor(0, 2, 0); -} else { - x_44 = x_32; -} -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_33); -return x_44; -} -} -block_56: +lean_dec(x_29); +x_43 = lean_array_get_size(x_3); +lean_dec(x_3); +x_44 = lean_ctor_get(x_1, 9); +lean_inc(x_44); +lean_dec(x_1); +x_45 = lean_ctor_get_uint8(x_44, sizeof(void*)*4); +if (x_45 == 0) { -if (x_46 == 0) -{ -lean_dec(x_9); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_33 = x_47; -goto block_45; +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_44, 3); +lean_inc(x_46); +lean_dec(x_44); +x_47 = l_Lean_Expr_inferImplicit(x_41, x_43, x_25); +lean_dec(x_43); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_42); +return x_49; } 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_inc(x_30); -x_48 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_48, 0, x_30); -x_49 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___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_Lean_KernelException_toMessageData___closed__15; -x_52 = lean_alloc_ctor(10, 2, 0); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_50 = lean_ctor_get(x_44, 3); +lean_inc(x_50); +lean_dec(x_44); +x_51 = l_Lean_Expr_inferImplicit(x_41, x_43, x_24); +lean_dec(x_43); +x_52 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_52, 0, x_50); lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_54 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_53, x_52, x_5, x_6, x_7, x_8, x_9, x_10, x_47); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -lean_dec(x_54); -x_33 = x_55; -goto block_45; +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_42); +return x_53; } } } else { -uint8_t x_68; -lean_dec(x_9); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); +uint8_t x_54; lean_dec(x_3); lean_dec(x_1); -x_68 = !lean_is_exclusive(x_29); -if (x_68 == 0) +x_54 = !lean_is_exclusive(x_29); +if (x_54 == 0) { return x_29; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_29, 0); -x_70 = lean_ctor_get(x_29, 1); -lean_inc(x_70); -lean_inc(x_69); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_29, 0); +x_56 = lean_ctor_get(x_29, 1); +lean_inc(x_56); +lean_inc(x_55); lean_dec(x_29); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } else { -uint8_t x_72; +uint8_t x_58; lean_dec(x_9); lean_dec(x_10); 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_72 = !lean_is_exclusive(x_26); -if (x_72 == 0) +x_58 = !lean_is_exclusive(x_26); +if (x_58 == 0) { return x_26; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_26, 0); -x_74 = lean_ctor_get(x_26, 1); -lean_inc(x_74); -lean_inc(x_73); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_26, 0); +x_60 = lean_ctor_get(x_26, 1); +lean_inc(x_60); +lean_inc(x_59); lean_dec(x_26); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; } } } else { -uint8_t x_76; +uint8_t x_62; lean_dec(x_9); lean_dec(x_10); 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_76 = !lean_is_exclusive(x_21); -if (x_76 == 0) +x_62 = !lean_is_exclusive(x_21); +if (x_62 == 0) { return x_21; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_21, 0); -x_78 = lean_ctor_get(x_21, 1); -lean_inc(x_78); -lean_inc(x_77); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_21, 0); +x_64 = lean_ctor_get(x_21, 1); +lean_inc(x_64); +lean_inc(x_63); lean_dec(x_21); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; } } } else { -lean_object* x_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_80 = lean_ctor_get(x_9, 0); -x_81 = lean_ctor_get(x_9, 1); -x_82 = lean_ctor_get(x_9, 2); -x_83 = lean_ctor_get(x_9, 3); -x_84 = lean_ctor_get(x_9, 4); -x_85 = lean_ctor_get(x_9, 5); -x_86 = lean_ctor_get(x_9, 6); -x_87 = lean_ctor_get(x_9, 7); -lean_inc(x_87); -lean_inc(x_86); -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_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; +x_66 = lean_ctor_get(x_9, 0); +x_67 = lean_ctor_get(x_9, 1); +x_68 = lean_ctor_get(x_9, 2); +x_69 = lean_ctor_get(x_9, 3); +x_70 = lean_ctor_get(x_9, 4); +x_71 = lean_ctor_get(x_9, 5); +x_72 = lean_ctor_get(x_9, 6); +x_73 = lean_ctor_get(x_9, 7); +lean_inc(x_73); +lean_inc(x_72); +lean_inc(x_71); +lean_inc(x_70); +lean_inc(x_69); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); lean_dec(x_9); -x_88 = l_Lean_replaceRef(x_12, x_83); -lean_dec(x_83); +x_74 = l_Lean_replaceRef(x_12, x_69); +lean_dec(x_69); lean_dec(x_12); -x_89 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_89, 0, x_80); -lean_ctor_set(x_89, 1, x_81); -lean_ctor_set(x_89, 2, x_82); -lean_ctor_set(x_89, 3, x_88); -lean_ctor_set(x_89, 4, x_84); -lean_ctor_set(x_89, 5, x_85); -lean_ctor_set(x_89, 6, x_86); -lean_ctor_set(x_89, 7, x_87); +x_75 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_75, 0, x_66); +lean_ctor_set(x_75, 1, x_67); +lean_ctor_set(x_75, 2, x_68); +lean_ctor_set(x_75, 3, x_74); +lean_ctor_set(x_75, 4, x_70); +lean_ctor_set(x_75, 5, x_71); +lean_ctor_set(x_75, 6, x_72); +lean_ctor_set(x_75, 7, x_73); lean_inc(x_10); -lean_inc(x_89); +lean_inc(x_75); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_90 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields(x_4, x_17, x_16, x_5, x_6, x_7, x_8, x_89, x_10, x_11); -if (lean_obj_tag(x_90) == 0) +x_76 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields(x_4, x_17, x_16, x_5, x_6, x_7, x_8, x_75, x_10, x_11); +if (lean_obj_tag(x_76) == 0) { -lean_object* x_91; lean_object* x_92; uint8_t x_93; uint8_t x_94; lean_object* x_95; -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 = 0; -x_94 = 1; +lean_object* x_77; lean_object* x_78; uint8_t x_79; uint8_t x_80; lean_object* x_81; +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_79 = 0; +x_80 = 1; lean_inc(x_7); lean_inc(x_3); -x_95 = l_Lean_Meta_mkForallFVars(x_3, x_91, x_93, x_94, x_7, x_8, x_89, x_10, x_92); -if (lean_obj_tag(x_95) == 0) +x_81 = l_Lean_Meta_mkForallFVars(x_3, x_77, x_79, x_80, x_7, x_8, x_75, x_10, x_78); +if (lean_obj_tag(x_81) == 0) { -lean_object* x_96; lean_object* x_97; lean_object* 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); -lean_inc(x_10); -lean_inc(x_89); -lean_inc(x_8); -lean_inc(x_7); -x_98 = l_Lean_Meta_instantiateMVars(x_96, x_7, x_8, x_89, x_10, x_97); -if (lean_obj_tag(x_98) == 0) +lean_object* x_82; lean_object* x_83; lean_object* 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 = l_Lean_Meta_instantiateMVars(x_82, x_7, x_8, x_75, x_10, x_83); +if (lean_obj_tag(x_84) == 0) { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_115; lean_object* x_116; lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_101 = x_98; +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_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_87 = x_84; } else { - lean_dec_ref(x_98); + lean_dec_ref(x_84); + x_87 = lean_box(0); +} +x_88 = lean_array_get_size(x_3); +lean_dec(x_3); +x_89 = lean_ctor_get(x_1, 9); +lean_inc(x_89); +lean_dec(x_1); +x_90 = lean_ctor_get_uint8(x_89, sizeof(void*)*4); +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, 3); +lean_inc(x_91); +lean_dec(x_89); +x_92 = l_Lean_Expr_inferImplicit(x_85, x_88, x_80); +lean_dec(x_88); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +if (lean_is_scalar(x_87)) { + x_94 = lean_alloc_ctor(0, 2, 0); +} else { + x_94 = x_87; +} +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_86); +return x_94; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_95 = lean_ctor_get(x_89, 3); +lean_inc(x_95); +lean_dec(x_89); +x_96 = l_Lean_Expr_inferImplicit(x_85, x_88, x_79); +lean_dec(x_88); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +if (lean_is_scalar(x_87)) { + x_98 = lean_alloc_ctor(0, 2, 0); +} else { + x_98 = x_87; +} +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_86); +return x_98; +} +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +lean_dec(x_3); +lean_dec(x_1); +x_99 = lean_ctor_get(x_84, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_84, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_101 = x_84; +} else { + lean_dec_ref(x_84); x_101 = lean_box(0); } -x_126 = lean_st_ref_get(x_10, x_100); -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_127, 3); -lean_inc(x_128); -lean_dec(x_127); -x_129 = lean_ctor_get_uint8(x_128, sizeof(void*)*1); -lean_dec(x_128); -if (x_129 == 0) -{ -lean_object* x_130; -x_130 = lean_ctor_get(x_126, 1); -lean_inc(x_130); -lean_dec(x_126); -x_115 = x_93; -x_116 = x_130; -goto block_125; +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_99); +lean_ctor_set(x_102, 1, x_100); +return x_102; +} } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; -x_131 = lean_ctor_get(x_126, 1); -lean_inc(x_131); -lean_dec(x_126); -x_132 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_133 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_132, x_5, x_6, x_7, x_8, x_89, x_10, x_131); -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_115 = x_136; -x_116 = x_135; -goto block_125; -} -block_114: -{ -lean_object* x_103; lean_object* x_104; uint8_t x_105; -x_103 = lean_array_get_size(x_3); +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_dec(x_75); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_3); -x_104 = lean_ctor_get(x_1, 9); +lean_dec(x_1); +x_103 = lean_ctor_get(x_81, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_81, 1); lean_inc(x_104); -lean_dec(x_1); -x_105 = lean_ctor_get_uint8(x_104, sizeof(void*)*4); -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, 3); -lean_inc(x_106); -lean_dec(x_104); -x_107 = l_Lean_Expr_inferImplicit(x_99, x_103, x_94); -lean_dec(x_103); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -if (lean_is_scalar(x_101)) { - x_109 = lean_alloc_ctor(0, 2, 0); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_105 = x_81; } else { - x_109 = x_101; + lean_dec_ref(x_81); + x_105 = lean_box(0); } -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_102); -return x_109; -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_110 = lean_ctor_get(x_104, 3); -lean_inc(x_110); -lean_dec(x_104); -x_111 = l_Lean_Expr_inferImplicit(x_99, x_103, x_93); -lean_dec(x_103); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -if (lean_is_scalar(x_101)) { - x_113 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_105)) { + x_106 = lean_alloc_ctor(1, 2, 0); } else { - x_113 = x_101; -} -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_102); -return x_113; -} -} -block_125: -{ -if (x_115 == 0) -{ -lean_dec(x_89); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_102 = x_116; -goto block_114; -} -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_inc(x_99); -x_117 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_117, 0, x_99); -x_118 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___closed__2; -x_119 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_117); -x_120 = l_Lean_KernelException_toMessageData___closed__15; -x_121 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -x_122 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_123 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_122, x_121, x_5, x_6, x_7, x_8, x_89, x_10, x_116); -lean_dec(x_10); -lean_dec(x_89); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); -x_102 = x_124; -goto block_114; + x_106 = x_105; } +lean_ctor_set(x_106, 0, x_103); +lean_ctor_set(x_106, 1, x_104); +return x_106; } } else { -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -lean_dec(x_89); +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_75); lean_dec(x_10); 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_137 = lean_ctor_get(x_98, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_98, 1); -lean_inc(x_138); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_139 = x_98; +x_107 = lean_ctor_get(x_76, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_76, 1); +lean_inc(x_108); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + x_109 = x_76; } else { - lean_dec_ref(x_98); - x_139 = lean_box(0); + lean_dec_ref(x_76); + x_109 = lean_box(0); } -if (lean_is_scalar(x_139)) { - x_140 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_109)) { + x_110 = lean_alloc_ctor(1, 2, 0); } else { - x_140 = x_139; + x_110 = x_109; } -lean_ctor_set(x_140, 0, x_137); -lean_ctor_set(x_140, 1, x_138); -return x_140; -} -} -else -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_89); -lean_dec(x_10); -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_141 = lean_ctor_get(x_95, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_95, 1); -lean_inc(x_142); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_143 = x_95; -} else { - lean_dec_ref(x_95); - x_143 = lean_box(0); -} -if (lean_is_scalar(x_143)) { - x_144 = lean_alloc_ctor(1, 2, 0); -} else { - x_144 = x_143; -} -lean_ctor_set(x_144, 0, x_141); -lean_ctor_set(x_144, 1, x_142); -return x_144; -} -} -else -{ -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -lean_dec(x_89); -lean_dec(x_10); -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_145 = lean_ctor_get(x_90, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_90, 1); -lean_inc(x_146); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_147 = x_90; -} else { - lean_dec_ref(x_90); - x_147 = lean_box(0); -} -if (lean_is_scalar(x_147)) { - x_148 = lean_alloc_ctor(1, 2, 0); -} else { - x_148 = x_147; -} -lean_ctor_set(x_148, 0, x_145); -lean_ctor_set(x_148, 1, x_146); -return x_148; +lean_ctor_set(x_110, 0, x_107); +lean_ctor_set(x_110, 1, x_108); +return x_110; } } } @@ -15165,23 +14976,6 @@ return x_38; static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("type: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_1077____closed__1; x_2 = l_myMacro____x40_Init_NotationExtra___hyg_5658____closed__11; @@ -15189,6 +14983,23 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("type: "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} static lean_object* _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1() { _start: { @@ -15211,73 +15022,73 @@ lean_inc(x_9); x_16 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParam(x_8, x_1, x_2, x_9, x_10, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 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_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 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; 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_244 = lean_ctor_get(x_13, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_13, 1); -lean_inc(x_245); -x_246 = lean_ctor_get(x_13, 2); -lean_inc(x_246); -x_247 = lean_ctor_get(x_13, 3); -lean_inc(x_247); -x_248 = lean_ctor_get(x_13, 4); -lean_inc(x_248); -x_249 = lean_ctor_get(x_13, 5); -lean_inc(x_249); -x_250 = lean_ctor_get(x_13, 6); -lean_inc(x_250); -x_251 = lean_ctor_get(x_13, 7); -lean_inc(x_251); -x_252 = l_Lean_replaceRef(x_4, x_247); -lean_dec(x_247); -x_253 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_253, 0, x_244); -lean_ctor_set(x_253, 1, x_245); -lean_ctor_set(x_253, 2, x_246); -lean_ctor_set(x_253, 3, x_252); -lean_ctor_set(x_253, 4, x_248); -lean_ctor_set(x_253, 5, x_249); -lean_ctor_set(x_253, 6, x_250); -lean_ctor_set(x_253, 7, x_251); +x_220 = lean_ctor_get(x_13, 0); +lean_inc(x_220); +x_221 = lean_ctor_get(x_13, 1); +lean_inc(x_221); +x_222 = lean_ctor_get(x_13, 2); +lean_inc(x_222); +x_223 = lean_ctor_get(x_13, 3); +lean_inc(x_223); +x_224 = lean_ctor_get(x_13, 4); +lean_inc(x_224); +x_225 = lean_ctor_get(x_13, 5); +lean_inc(x_225); +x_226 = lean_ctor_get(x_13, 6); +lean_inc(x_226); +x_227 = lean_ctor_get(x_13, 7); +lean_inc(x_227); +x_228 = l_Lean_replaceRef(x_4, x_223); +lean_dec(x_223); +x_229 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_229, 0, x_220); +lean_ctor_set(x_229, 1, x_221); +lean_ctor_set(x_229, 2, x_222); +lean_ctor_set(x_229, 3, x_228); +lean_ctor_set(x_229, 4, x_224); +lean_ctor_set(x_229, 5, x_225); +lean_ctor_set(x_229, 6, x_226); +lean_ctor_set(x_229, 7, x_227); if (x_6 == 0) { -lean_object* x_254; +lean_object* x_230; lean_inc(x_14); -lean_inc(x_253); +lean_inc(x_229); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); lean_inc(x_7); -x_254 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse(x_7, x_9, x_10, x_11, x_12, x_253, x_14, x_18); -if (lean_obj_tag(x_254) == 0) +x_230 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse(x_7, x_9, x_10, x_11, x_12, x_229, x_14, x_18); +if (lean_obj_tag(x_230) == 0) { -lean_object* x_255; lean_object* x_256; lean_object* x_257; -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); +lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_231 = lean_ctor_get(x_230, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_230, 1); +lean_inc(x_232); +lean_dec(x_230); lean_inc(x_9); -x_257 = l_Lean_Elab_Command_checkResultingUniverse(x_255, x_9, x_10, x_11, x_12, x_253, x_14, x_256); -lean_dec(x_253); -if (lean_obj_tag(x_257) == 0) +x_233 = l_Lean_Elab_Command_checkResultingUniverse(x_231, x_9, x_10, x_11, x_12, x_229, x_14, x_232); +lean_dec(x_229); +if (lean_obj_tag(x_233) == 0) { -lean_object* x_258; -x_258 = lean_ctor_get(x_257, 1); -lean_inc(x_258); -lean_dec(x_257); +lean_object* x_234; +x_234 = lean_ctor_get(x_233, 1); +lean_inc(x_234); +lean_dec(x_233); x_19 = x_7; -x_20 = x_258; -goto block_243; +x_20 = x_234; +goto block_219; } else { -uint8_t x_259; +uint8_t x_235; lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -15289,30 +15100,30 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_3); -x_259 = !lean_is_exclusive(x_257); -if (x_259 == 0) +x_235 = !lean_is_exclusive(x_233); +if (x_235 == 0) { -return x_257; +return x_233; } else { -lean_object* x_260; lean_object* x_261; lean_object* x_262; -x_260 = lean_ctor_get(x_257, 0); -x_261 = lean_ctor_get(x_257, 1); -lean_inc(x_261); -lean_inc(x_260); -lean_dec(x_257); -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_260); -lean_ctor_set(x_262, 1, x_261); -return x_262; +lean_object* x_236; lean_object* x_237; lean_object* x_238; +x_236 = lean_ctor_get(x_233, 0); +x_237 = lean_ctor_get(x_233, 1); +lean_inc(x_237); +lean_inc(x_236); +lean_dec(x_233); +x_238 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_238, 0, x_236); +lean_ctor_set(x_238, 1, x_237); +return x_238; } } } else { -uint8_t x_263; -lean_dec(x_253); +uint8_t x_239; +lean_dec(x_229); lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -15324,49 +15135,49 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_3); -x_263 = !lean_is_exclusive(x_254); -if (x_263 == 0) +x_239 = !lean_is_exclusive(x_230); +if (x_239 == 0) { -return x_254; +return x_230; } else { -lean_object* x_264; lean_object* x_265; lean_object* x_266; -x_264 = lean_ctor_get(x_254, 0); -x_265 = lean_ctor_get(x_254, 1); -lean_inc(x_265); -lean_inc(x_264); -lean_dec(x_254); -x_266 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_266, 0, x_264); -lean_ctor_set(x_266, 1, x_265); -return x_266; +lean_object* x_240; lean_object* x_241; lean_object* x_242; +x_240 = lean_ctor_get(x_230, 0); +x_241 = lean_ctor_get(x_230, 1); +lean_inc(x_241); +lean_inc(x_240); +lean_dec(x_230); +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_240); +lean_ctor_set(x_242, 1, x_241); +return x_242; } } } else { -lean_object* x_267; +lean_object* x_243; lean_inc(x_14); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); -x_267 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse(x_17, x_7, x_9, x_10, x_11, x_12, x_253, x_14, x_18); -if (lean_obj_tag(x_267) == 0) +x_243 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse(x_17, x_7, x_9, x_10, x_11, x_12, x_229, x_14, x_18); +if (lean_obj_tag(x_243) == 0) { -lean_object* x_268; lean_object* x_269; -x_268 = lean_ctor_get(x_267, 0); -lean_inc(x_268); -x_269 = lean_ctor_get(x_267, 1); -lean_inc(x_269); -lean_dec(x_267); -x_19 = x_268; -x_20 = x_269; -goto block_243; +lean_object* x_244; lean_object* x_245; +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_19 = x_244; +x_20 = x_245; +goto block_219; } else { -uint8_t x_270; +uint8_t x_246; lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -15377,69 +15188,69 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_5); lean_dec(x_3); -x_270 = !lean_is_exclusive(x_267); -if (x_270 == 0) +x_246 = !lean_is_exclusive(x_243); +if (x_246 == 0) { -return x_267; +return x_243; } else { -lean_object* x_271; lean_object* x_272; lean_object* x_273; -x_271 = lean_ctor_get(x_267, 0); -x_272 = lean_ctor_get(x_267, 1); -lean_inc(x_272); -lean_inc(x_271); -lean_dec(x_267); -x_273 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_273, 0, x_271); -lean_ctor_set(x_273, 1, x_272); -return x_273; +lean_object* x_247; lean_object* x_248; lean_object* x_249; +x_247 = lean_ctor_get(x_243, 0); +x_248 = lean_ctor_get(x_243, 1); +lean_inc(x_248); +lean_inc(x_247); +lean_dec(x_243); +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_247); +lean_ctor_set(x_249, 1, x_248); +return x_249; } } } -block_243: -{ -lean_object* x_21; uint8_t x_220; lean_object* x_221; lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_234; -x_231 = lean_st_ref_get(x_14, x_20); -x_232 = lean_ctor_get(x_231, 0); -lean_inc(x_232); -x_233 = lean_ctor_get(x_232, 3); -lean_inc(x_233); -lean_dec(x_232); -x_234 = lean_ctor_get_uint8(x_233, sizeof(void*)*1); -lean_dec(x_233); -if (x_234 == 0) -{ -lean_object* x_235; uint8_t x_236; -x_235 = lean_ctor_get(x_231, 1); -lean_inc(x_235); -lean_dec(x_231); -x_236 = 0; -x_220 = x_236; -x_221 = x_235; -goto block_230; -} -else -{ -lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; -x_237 = lean_ctor_get(x_231, 1); -lean_inc(x_237); -lean_dec(x_231); -x_238 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3; -x_239 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_238, x_9, x_10, x_11, x_12, x_13, x_14, x_237); -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_220 = x_242; -x_221 = x_241; -goto block_230; -} block_219: { +lean_object* x_21; uint8_t x_196; lean_object* x_197; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; +x_207 = lean_st_ref_get(x_14, x_20); +x_208 = lean_ctor_get(x_207, 0); +lean_inc(x_208); +x_209 = lean_ctor_get(x_208, 3); +lean_inc(x_209); +lean_dec(x_208); +x_210 = lean_ctor_get_uint8(x_209, sizeof(void*)*1); +lean_dec(x_209); +if (x_210 == 0) +{ +lean_object* x_211; uint8_t x_212; +x_211 = lean_ctor_get(x_207, 1); +lean_inc(x_211); +lean_dec(x_207); +x_212 = 0; +x_196 = x_212; +x_197 = x_211; +goto block_206; +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; +x_213 = lean_ctor_get(x_207, 1); +lean_inc(x_213); +lean_dec(x_207); +x_214 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1; +x_215 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_214, x_9, x_10, x_11, x_12, x_13, x_14, x_213); +x_216 = lean_ctor_get(x_215, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_215, 1); +lean_inc(x_217); +lean_dec(x_215); +x_218 = lean_unbox(x_216); +lean_dec(x_216); +x_196 = x_218; +x_197 = x_217; +goto block_206; +} +block_195: +{ lean_object* x_22; lean_inc(x_14); lean_inc(x_13); @@ -15576,413 +15387,338 @@ lean_inc(x_11); x_56 = l_Lean_Meta_instantiateMVars(x_54, x_11, x_12, x_13, x_14, x_55); if (lean_obj_tag(x_56) == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_181; lean_object* x_182; lean_object* x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; x_57 = lean_ctor_get(x_56, 0); lean_inc(x_57); x_58 = lean_ctor_get(x_56, 1); lean_inc(x_58); lean_dec(x_56); -x_192 = lean_st_ref_get(x_14, x_58); -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_196; -x_196 = lean_ctor_get(x_192, 1); -lean_inc(x_196); -lean_dec(x_192); -x_181 = x_51; -x_182 = x_196; -goto block_191; -} -else -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; -x_197 = lean_ctor_get(x_192, 1); -lean_inc(x_197); -lean_dec(x_192); -x_198 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_199 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_198, x_9, x_10, x_11, x_12, x_13, x_14, x_197); -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_181 = x_202; -x_182 = x_201; -goto block_191; -} -block_180: -{ -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_object* x_68; lean_object* x_69; -x_60 = lean_ctor_get(x_3, 4); -lean_inc(x_60); -x_61 = lean_box(0); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_49); -lean_ctor_set(x_62, 1, x_61); -lean_inc(x_60); -x_63 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_63, 0, x_60); -lean_ctor_set(x_63, 1, x_57); -lean_ctor_set(x_63, 2, x_62); -x_64 = lean_array_get_size(x_47); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_61); -x_66 = lean_ctor_get(x_3, 1); -lean_inc(x_66); -x_67 = lean_ctor_get_uint8(x_66, sizeof(void*)*2 + 3); -lean_inc(x_64); -x_68 = lean_alloc_ctor(6, 3, 1); -lean_ctor_set(x_68, 0, x_46); -lean_ctor_set(x_68, 1, x_64); -lean_ctor_set(x_68, 2, x_65); -lean_ctor_set_uint8(x_68, sizeof(void*)*3, x_67); +x_59 = lean_ctor_get(x_3, 4); +lean_inc(x_59); +x_60 = lean_box(0); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_49); +lean_ctor_set(x_61, 1, x_60); +lean_inc(x_59); +x_62 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_62, 0, x_59); +lean_ctor_set(x_62, 1, x_57); +lean_ctor_set(x_62, 2, x_61); +x_63 = lean_array_get_size(x_47); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_60); +x_65 = lean_ctor_get(x_3, 1); +lean_inc(x_65); +x_66 = lean_ctor_get_uint8(x_65, sizeof(void*)*2 + 3); +lean_inc(x_63); +x_67 = lean_alloc_ctor(6, 3, 1); +lean_ctor_set(x_67, 0, x_46); +lean_ctor_set(x_67, 1, x_63); +lean_ctor_set(x_67, 2, x_64); +lean_ctor_set_uint8(x_67, sizeof(void*)*3, x_66); 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_68); -x_69 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_68, x_9, x_10, x_11, x_12, x_13, x_14, x_59); -if (lean_obj_tag(x_69) == 0) +lean_inc(x_67); +x_68 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_67, x_9, x_10, x_11, x_12, x_13, x_14, x_58); +if (lean_obj_tag(x_68) == 0) { -lean_object* x_70; lean_object* x_71; -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -lean_inc(x_13); -lean_inc(x_9); -x_71 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(x_68, x_9, x_10, x_11, x_12, x_13, x_14, x_70); +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); lean_dec(x_68); -if (lean_obj_tag(x_71) == 0) +lean_inc(x_13); +lean_inc(x_9); +x_70 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(x_67, x_9, x_10, x_11, x_12, x_13, x_14, x_69); +lean_dec(x_67); +if (lean_obj_tag(x_70) == 0) { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_138; uint8_t x_139; uint8_t x_140; lean_object* x_141; -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_array_get_size(x_17); -x_138 = lean_unsigned_to_nat(0u); -x_139 = lean_nat_dec_lt(x_138, x_73); -x_140 = lean_ctor_get_uint8(x_3, sizeof(void*)*11); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_137; uint8_t x_138; uint8_t x_139; lean_object* x_140; +x_71 = lean_ctor_get(x_70, 1); +lean_inc(x_71); +lean_dec(x_70); +x_72 = lean_array_get_size(x_17); +x_137 = lean_unsigned_to_nat(0u); +x_138 = lean_nat_dec_lt(x_137, x_72); +x_139 = lean_ctor_get_uint8(x_3, sizeof(void*)*11); lean_dec(x_3); -if (x_139 == 0) +if (x_138 == 0) { lean_inc(x_5); -x_141 = x_5; -goto block_167; +x_140 = x_5; +goto block_166; } else { -uint8_t x_168; -x_168 = lean_nat_dec_le(x_73, x_73); -if (x_168 == 0) +uint8_t x_167; +x_167 = lean_nat_dec_le(x_72, x_72); +if (x_167 == 0) { lean_inc(x_5); -x_141 = x_5; -goto block_167; +x_140 = x_5; +goto block_166; } else { -size_t x_169; size_t x_170; lean_object* x_171; -x_169 = 0; -x_170 = lean_usize_of_nat(x_73); +size_t x_168; size_t x_169; lean_object* x_170; +x_168 = 0; +x_169 = lean_usize_of_nat(x_72); lean_inc(x_5); -x_171 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__9(x_17, x_169, x_170, x_5); -x_141 = x_171; -goto block_167; +x_170 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__9(x_17, x_168, x_169, x_5); +x_140 = x_170; +goto block_166; } } -block_137: +block_136: { -lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; -x_76 = lean_array_to_list(lean_box(0), x_74); -x_77 = l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__1(x_76); -x_78 = lean_ctor_get(x_66, 1); -lean_inc(x_78); -lean_dec(x_66); -x_79 = 0; +lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; +x_75 = lean_array_to_list(lean_box(0), x_73); +x_76 = l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__1(x_75); +x_77 = lean_ctor_get(x_65, 1); +lean_inc(x_77); +lean_dec(x_65); +x_78 = 0; lean_inc(x_14); lean_inc(x_13); lean_inc(x_9); -x_80 = l_Lean_Elab_Term_applyAttributesAt(x_60, x_78, x_79, x_9, x_10, x_11, x_12, x_13, x_14, x_75); -lean_dec(x_78); -if (lean_obj_tag(x_80) == 0) -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_82 = l_List_forM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__2(x_77, x_9, x_10, x_11, x_12, x_13, x_14, x_81); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; size_t x_87; lean_object* x_88; -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = lean_ctor_get(x_11, 1); -lean_inc(x_84); -x_85 = lean_unsigned_to_nat(0u); -x_86 = lean_nat_dec_lt(x_85, x_73); -x_87 = 0; -if (x_86 == 0) -{ -x_88 = x_5; -goto block_125; -} -else -{ -uint8_t x_126; -x_126 = lean_nat_dec_le(x_73, x_73); -if (x_126 == 0) -{ -x_88 = x_5; -goto block_125; -} -else -{ -size_t x_127; lean_object* x_128; -x_127 = lean_usize_of_nat(x_73); -x_128 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__6(x_17, x_87, x_127, x_5); -x_88 = x_128; -goto block_125; -} -} -block_125: -{ -lean_object* x_89; size_t 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_array_get_size(x_88); -x_90 = lean_usize_of_nat(x_89); -lean_dec(x_89); -x_91 = x_88; -x_92 = lean_box_usize(x_90); -x_93 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1; -x_94 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__3___boxed), 10, 3); -lean_closure_set(x_94, 0, x_92); -lean_closure_set(x_94, 1, x_93); -lean_closure_set(x_94, 2, x_91); -x_95 = x_94; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_96 = lean_apply_7(x_95, x_9, x_10, x_11, x_12, x_13, x_14, x_83); -if (lean_obj_tag(x_96) == 0) -{ -lean_object* x_97; lean_object* x_98; uint8_t x_99; -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_nat_dec_lt(x_85, x_64); -if (x_99 == 0) -{ -lean_dec(x_64); -lean_dec(x_47); -if (x_86 == 0) -{ -lean_object* x_100; -lean_dec(x_73); -lean_dec(x_17); -x_100 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_84, x_97, x_9, x_10, x_11, x_12, x_13, x_14, x_98); -return x_100; -} -else -{ -uint8_t x_101; -x_101 = lean_nat_dec_le(x_73, x_73); -if (x_101 == 0) -{ -lean_object* x_102; -lean_dec(x_73); -lean_dec(x_17); -x_102 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_84, x_97, x_9, x_10, x_11, x_12, x_13, x_14, x_98); -return x_102; -} -else -{ -size_t x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_usize_of_nat(x_73); -lean_dec(x_73); -x_104 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4(x_17, x_87, x_103, x_84); -lean_dec(x_17); -x_105 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_104, x_97, x_9, x_10, x_11, x_12, x_13, x_14, x_98); -return x_105; -} -} -} -else -{ -uint8_t x_106; -x_106 = lean_nat_dec_le(x_64, x_64); -if (x_106 == 0) -{ -lean_dec(x_64); -lean_dec(x_47); -if (x_86 == 0) -{ -lean_object* x_107; -lean_dec(x_73); -lean_dec(x_17); -x_107 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_84, x_97, x_9, x_10, x_11, x_12, x_13, x_14, x_98); -return x_107; -} -else -{ -uint8_t x_108; -x_108 = lean_nat_dec_le(x_73, x_73); -if (x_108 == 0) -{ -lean_object* x_109; -lean_dec(x_73); -lean_dec(x_17); -x_109 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_84, x_97, x_9, x_10, x_11, x_12, x_13, x_14, x_98); -return x_109; -} -else -{ -size_t x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_usize_of_nat(x_73); -lean_dec(x_73); -x_111 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4(x_17, x_87, x_110, x_84); -lean_dec(x_17); -x_112 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_111, x_97, x_9, x_10, x_11, x_12, x_13, x_14, x_98); -return x_112; -} -} -} -else -{ -size_t x_113; lean_object* x_114; -x_113 = lean_usize_of_nat(x_64); -lean_dec(x_64); -x_114 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_47, x_87, x_113, x_84); -lean_dec(x_47); -if (x_86 == 0) -{ -lean_object* x_115; -lean_dec(x_73); -lean_dec(x_17); -x_115 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_114, x_97, x_9, x_10, x_11, x_12, x_13, x_14, x_98); -return x_115; -} -else -{ -uint8_t x_116; -x_116 = lean_nat_dec_le(x_73, x_73); -if (x_116 == 0) -{ -lean_object* x_117; -lean_dec(x_73); -lean_dec(x_17); -x_117 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_114, x_97, x_9, x_10, x_11, x_12, x_13, x_14, x_98); -return x_117; -} -else -{ -size_t x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_usize_of_nat(x_73); -lean_dec(x_73); -x_119 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4(x_17, x_87, x_118, x_114); -lean_dec(x_17); -x_120 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_119, x_97, x_9, x_10, x_11, x_12, x_13, x_14, x_98); -return x_120; -} -} -} -} -} -else -{ -uint8_t x_121; -lean_dec(x_84); -lean_dec(x_73); -lean_dec(x_64); -lean_dec(x_47); -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_121 = !lean_is_exclusive(x_96); -if (x_121 == 0) -{ -return x_96; -} -else -{ -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_96, 0); -x_123 = lean_ctor_get(x_96, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_96); -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; -} -} -} -} -else -{ -uint8_t x_129; -lean_dec(x_73); -lean_dec(x_64); -lean_dec(x_47); -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -x_129 = !lean_is_exclusive(x_82); -if (x_129 == 0) -{ -return x_82; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_82, 0); -x_131 = lean_ctor_get(x_82, 1); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_82); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -return x_132; -} -} -} -else -{ -uint8_t x_133; +x_79 = l_Lean_Elab_Term_applyAttributesAt(x_59, x_77, x_78, x_9, x_10, x_11, x_12, x_13, x_14, x_74); lean_dec(x_77); -lean_dec(x_73); -lean_dec(x_64); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +lean_dec(x_79); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_81 = l_List_forM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__2(x_76, x_9, x_10, x_11, x_12, x_13, x_14, x_80); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; size_t x_86; lean_object* x_87; +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +lean_dec(x_81); +x_83 = lean_ctor_get(x_11, 1); +lean_inc(x_83); +x_84 = lean_unsigned_to_nat(0u); +x_85 = lean_nat_dec_lt(x_84, x_72); +x_86 = 0; +if (x_85 == 0) +{ +x_87 = x_5; +goto block_124; +} +else +{ +uint8_t x_125; +x_125 = lean_nat_dec_le(x_72, x_72); +if (x_125 == 0) +{ +x_87 = x_5; +goto block_124; +} +else +{ +size_t x_126; lean_object* x_127; +x_126 = lean_usize_of_nat(x_72); +x_127 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__6(x_17, x_86, x_126, x_5); +x_87 = x_127; +goto block_124; +} +} +block_124: +{ +lean_object* x_88; size_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_88 = lean_array_get_size(x_87); +x_89 = lean_usize_of_nat(x_88); +lean_dec(x_88); +x_90 = x_87; +x_91 = lean_box_usize(x_89); +x_92 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1; +x_93 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__3___boxed), 10, 3); +lean_closure_set(x_93, 0, x_91); +lean_closure_set(x_93, 1, x_92); +lean_closure_set(x_93, 2, x_90); +x_94 = x_93; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_95 = lean_apply_7(x_94, x_9, x_10, x_11, x_12, x_13, x_14, x_82); +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_nat_dec_lt(x_84, x_63); +if (x_98 == 0) +{ +lean_dec(x_63); +lean_dec(x_47); +if (x_85 == 0) +{ +lean_object* x_99; +lean_dec(x_72); +lean_dec(x_17); +x_99 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_83, x_96, x_9, x_10, x_11, x_12, x_13, x_14, x_97); +return x_99; +} +else +{ +uint8_t x_100; +x_100 = lean_nat_dec_le(x_72, x_72); +if (x_100 == 0) +{ +lean_object* x_101; +lean_dec(x_72); +lean_dec(x_17); +x_101 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_83, x_96, x_9, x_10, x_11, x_12, x_13, x_14, x_97); +return x_101; +} +else +{ +size_t x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_usize_of_nat(x_72); +lean_dec(x_72); +x_103 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4(x_17, x_86, x_102, x_83); +lean_dec(x_17); +x_104 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_103, x_96, x_9, x_10, x_11, x_12, x_13, x_14, x_97); +return x_104; +} +} +} +else +{ +uint8_t x_105; +x_105 = lean_nat_dec_le(x_63, x_63); +if (x_105 == 0) +{ +lean_dec(x_63); +lean_dec(x_47); +if (x_85 == 0) +{ +lean_object* x_106; +lean_dec(x_72); +lean_dec(x_17); +x_106 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_83, x_96, x_9, x_10, x_11, x_12, x_13, x_14, x_97); +return x_106; +} +else +{ +uint8_t x_107; +x_107 = lean_nat_dec_le(x_72, x_72); +if (x_107 == 0) +{ +lean_object* x_108; +lean_dec(x_72); +lean_dec(x_17); +x_108 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_83, x_96, x_9, x_10, x_11, x_12, x_13, x_14, x_97); +return x_108; +} +else +{ +size_t x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_usize_of_nat(x_72); +lean_dec(x_72); +x_110 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4(x_17, x_86, x_109, x_83); +lean_dec(x_17); +x_111 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_110, x_96, x_9, x_10, x_11, x_12, x_13, x_14, x_97); +return x_111; +} +} +} +else +{ +size_t x_112; lean_object* x_113; +x_112 = lean_usize_of_nat(x_63); +lean_dec(x_63); +x_113 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_47, x_86, x_112, x_83); +lean_dec(x_47); +if (x_85 == 0) +{ +lean_object* x_114; +lean_dec(x_72); +lean_dec(x_17); +x_114 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_113, x_96, x_9, x_10, x_11, x_12, x_13, x_14, x_97); +return x_114; +} +else +{ +uint8_t x_115; +x_115 = lean_nat_dec_le(x_72, x_72); +if (x_115 == 0) +{ +lean_object* x_116; +lean_dec(x_72); +lean_dec(x_17); +x_116 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_113, x_96, x_9, x_10, x_11, x_12, x_13, x_14, x_97); +return x_116; +} +else +{ +size_t x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_usize_of_nat(x_72); +lean_dec(x_72); +x_118 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4(x_17, x_86, x_117, x_113); +lean_dec(x_17); +x_119 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_118, x_96, x_9, x_10, x_11, x_12, x_13, x_14, x_97); +return x_119; +} +} +} +} +} +else +{ +uint8_t x_120; +lean_dec(x_83); +lean_dec(x_72); +lean_dec(x_63); +lean_dec(x_47); +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_120 = !lean_is_exclusive(x_95); +if (x_120 == 0) +{ +return x_95; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_95, 0); +x_122 = lean_ctor_get(x_95, 1); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_95); +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_128; +lean_dec(x_72); +lean_dec(x_63); lean_dec(x_47); lean_dec(x_17); lean_dec(x_14); @@ -15992,76 +15728,111 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); -x_133 = !lean_is_exclusive(x_80); -if (x_133 == 0) +x_128 = !lean_is_exclusive(x_81); +if (x_128 == 0) { -return x_80; +return x_81; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = lean_ctor_get(x_80, 0); -x_135 = lean_ctor_get(x_80, 1); -lean_inc(x_135); +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = lean_ctor_get(x_81, 0); +x_130 = lean_ctor_get(x_81, 1); +lean_inc(x_130); +lean_inc(x_129); +lean_dec(x_81); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +return x_131; +} +} +} +else +{ +uint8_t x_132; +lean_dec(x_76); +lean_dec(x_72); +lean_dec(x_63); +lean_dec(x_47); +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +x_132 = !lean_is_exclusive(x_79); +if (x_132 == 0) +{ +return x_79; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_79, 0); +x_134 = lean_ctor_get(x_79, 1); lean_inc(x_134); -lean_dec(x_80); -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; +lean_inc(x_133); +lean_dec(x_79); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_133); +lean_ctor_set(x_135, 1, x_134); +return x_135; } } } -block_167: +block_166: { -lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_142 = lean_array_to_list(lean_box(0), x_141); -x_143 = l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__7(x_142); +lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_141 = lean_array_to_list(lean_box(0), x_140); +x_142 = l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__7(x_141); lean_inc(x_13); lean_inc(x_9); -lean_inc(x_60); -x_144 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections(x_60, x_143, x_140, x_9, x_10, x_11, x_12, x_13, x_14, x_72); -if (lean_obj_tag(x_144) == 0) +lean_inc(x_59); +x_143 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections(x_59, x_142, x_139, x_9, x_10, x_11, x_12, x_13, x_14, x_71); +if (lean_obj_tag(x_143) == 0) { -lean_object* x_145; lean_object* x_146; -x_145 = lean_ctor_get(x_144, 1); -lean_inc(x_145); -lean_dec(x_144); +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_143, 1); +lean_inc(x_144); +lean_dec(x_143); lean_inc(x_13); lean_inc(x_9); -x_146 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions(x_60, x_9, x_10, x_11, x_12, x_13, x_14, x_145); -if (lean_obj_tag(x_146) == 0) +x_145 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions(x_59, x_9, x_10, x_11, x_12, x_13, x_14, x_144); +if (lean_obj_tag(x_145) == 0) { -if (x_139 == 0) +if (x_138 == 0) { -lean_object* x_147; -x_147 = lean_ctor_get(x_146, 1); +lean_object* x_146; +x_146 = lean_ctor_get(x_145, 1); +lean_inc(x_146); +lean_dec(x_145); +lean_inc(x_5); +x_73 = x_5; +x_74 = x_146; +goto block_136; +} +else +{ +lean_object* x_147; uint8_t x_148; +x_147 = lean_ctor_get(x_145, 1); lean_inc(x_147); -lean_dec(x_146); +lean_dec(x_145); +x_148 = lean_nat_dec_le(x_72, x_72); +if (x_148 == 0) +{ lean_inc(x_5); -x_74 = x_5; -x_75 = x_147; -goto block_137; +x_73 = x_5; +x_74 = x_147; +goto block_136; } else { -lean_object* x_148; uint8_t x_149; -x_148 = lean_ctor_get(x_146, 1); -lean_inc(x_148); -lean_dec(x_146); -x_149 = lean_nat_dec_le(x_73, x_73); -if (x_149 == 0) -{ -lean_inc(x_5); -x_74 = x_5; -x_75 = x_148; -goto block_137; -} -else -{ -size_t x_150; size_t x_151; lean_object* x_152; -x_150 = 0; -x_151 = lean_usize_of_nat(x_73); +size_t x_149; size_t x_150; lean_object* x_151; +x_149 = 0; +x_150 = lean_usize_of_nat(x_72); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -16069,26 +15840,26 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_5); -x_152 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__8(x_17, x_150, x_151, x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_148); -if (lean_obj_tag(x_152) == 0) +x_151 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__8(x_17, x_149, x_150, x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_147); +if (lean_obj_tag(x_151) == 0) { -lean_object* x_153; lean_object* x_154; -x_153 = lean_ctor_get(x_152, 0); +lean_object* x_152; lean_object* x_153; +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 1); -lean_inc(x_154); -lean_dec(x_152); +lean_dec(x_151); +x_73 = x_152; x_74 = x_153; -x_75 = x_154; -goto block_137; +goto block_136; } else { -uint8_t x_155; -lean_dec(x_73); -lean_dec(x_66); -lean_dec(x_64); -lean_dec(x_60); +uint8_t x_154; +lean_dec(x_72); +lean_dec(x_65); +lean_dec(x_63); +lean_dec(x_59); lean_dec(x_47); lean_dec(x_17); lean_dec(x_14); @@ -16098,23 +15869,23 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); -x_155 = !lean_is_exclusive(x_152); -if (x_155 == 0) +x_154 = !lean_is_exclusive(x_151); +if (x_154 == 0) { -return x_152; +return x_151; } else { -lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_156 = lean_ctor_get(x_152, 0); -x_157 = lean_ctor_get(x_152, 1); -lean_inc(x_157); +lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_155 = lean_ctor_get(x_151, 0); +x_156 = lean_ctor_get(x_151, 1); lean_inc(x_156); -lean_dec(x_152); -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_156); -lean_ctor_set(x_158, 1, x_157); -return x_158; +lean_inc(x_155); +lean_dec(x_151); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set(x_157, 1, x_156); +return x_157; } } } @@ -16122,11 +15893,11 @@ return x_158; } else { -uint8_t x_159; -lean_dec(x_73); -lean_dec(x_66); -lean_dec(x_64); -lean_dec(x_60); +uint8_t x_158; +lean_dec(x_72); +lean_dec(x_65); +lean_dec(x_63); +lean_dec(x_59); lean_dec(x_47); lean_dec(x_17); lean_dec(x_14); @@ -16136,33 +15907,33 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); -x_159 = !lean_is_exclusive(x_146); -if (x_159 == 0) +x_158 = !lean_is_exclusive(x_145); +if (x_158 == 0) { -return x_146; +return x_145; } else { -lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_160 = lean_ctor_get(x_146, 0); -x_161 = lean_ctor_get(x_146, 1); -lean_inc(x_161); +lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_159 = lean_ctor_get(x_145, 0); +x_160 = lean_ctor_get(x_145, 1); lean_inc(x_160); -lean_dec(x_146); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_160); -lean_ctor_set(x_162, 1, x_161); -return x_162; +lean_inc(x_159); +lean_dec(x_145); +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_159); +lean_ctor_set(x_161, 1, x_160); +return x_161; } } } else { -uint8_t x_163; -lean_dec(x_73); -lean_dec(x_66); -lean_dec(x_64); -lean_dec(x_60); +uint8_t x_162; +lean_dec(x_72); +lean_dec(x_65); +lean_dec(x_63); +lean_dec(x_59); lean_dec(x_47); lean_dec(x_17); lean_dec(x_14); @@ -16172,33 +15943,33 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); -x_163 = !lean_is_exclusive(x_144); -if (x_163 == 0) +x_162 = !lean_is_exclusive(x_143); +if (x_162 == 0) { -return x_144; +return x_143; } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_144, 0); -x_165 = lean_ctor_get(x_144, 1); -lean_inc(x_165); +lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = lean_ctor_get(x_143, 0); +x_164 = lean_ctor_get(x_143, 1); lean_inc(x_164); -lean_dec(x_144); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_165); -return x_166; +lean_inc(x_163); +lean_dec(x_143); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_163); +lean_ctor_set(x_165, 1, x_164); +return x_165; } } } } else { -uint8_t x_172; -lean_dec(x_66); -lean_dec(x_64); -lean_dec(x_60); +uint8_t x_171; +lean_dec(x_65); +lean_dec(x_63); +lean_dec(x_59); lean_dec(x_47); lean_dec(x_17); lean_dec(x_14); @@ -16209,33 +15980,33 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); -x_172 = !lean_is_exclusive(x_71); -if (x_172 == 0) +x_171 = !lean_is_exclusive(x_70); +if (x_171 == 0) { -return x_71; +return x_70; } else { -lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_173 = lean_ctor_get(x_71, 0); -x_174 = lean_ctor_get(x_71, 1); -lean_inc(x_174); +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_70, 0); +x_173 = lean_ctor_get(x_70, 1); lean_inc(x_173); -lean_dec(x_71); -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; +lean_inc(x_172); +lean_dec(x_70); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set(x_174, 1, x_173); +return x_174; } } } else { -uint8_t x_176; -lean_dec(x_68); -lean_dec(x_66); -lean_dec(x_64); -lean_dec(x_60); +uint8_t x_175; +lean_dec(x_67); +lean_dec(x_65); +lean_dec(x_63); +lean_dec(x_59); lean_dec(x_47); lean_dec(x_17); lean_dec(x_14); @@ -16246,60 +16017,29 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); -x_176 = !lean_is_exclusive(x_69); -if (x_176 == 0) +x_175 = !lean_is_exclusive(x_68); +if (x_175 == 0) { -return x_69; +return x_68; } else { -lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_177 = lean_ctor_get(x_69, 0); -x_178 = lean_ctor_get(x_69, 1); -lean_inc(x_178); +lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_176 = lean_ctor_get(x_68, 0); +x_177 = lean_ctor_get(x_68, 1); lean_inc(x_177); -lean_dec(x_69); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_177); -lean_ctor_set(x_179, 1, x_178); -return x_179; -} -} -} -block_191: -{ -if (x_181 == 0) -{ -x_59 = x_182; -goto block_180; -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -lean_inc(x_57); -x_183 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_183, 0, x_57); -x_184 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2; -x_185 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_183); -x_186 = l_Lean_KernelException_toMessageData___closed__15; -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_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_189 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_188, x_187, x_9, x_10, x_11, x_12, x_13, x_14, x_182); -x_190 = lean_ctor_get(x_189, 1); -lean_inc(x_190); -lean_dec(x_189); -x_59 = x_190; -goto block_180; +lean_inc(x_176); +lean_dec(x_68); +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_176); +lean_ctor_set(x_178, 1, x_177); +return x_178; } } } else { -uint8_t x_203; +uint8_t x_179; lean_dec(x_49); lean_dec(x_47); lean_dec(x_46); @@ -16312,29 +16052,29 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); -x_203 = !lean_is_exclusive(x_56); -if (x_203 == 0) +x_179 = !lean_is_exclusive(x_56); +if (x_179 == 0) { return x_56; } else { -lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_204 = lean_ctor_get(x_56, 0); -x_205 = lean_ctor_get(x_56, 1); -lean_inc(x_205); -lean_inc(x_204); +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_56, 0); +x_181 = lean_ctor_get(x_56, 1); +lean_inc(x_181); +lean_inc(x_180); lean_dec(x_56); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_204); -lean_ctor_set(x_206, 1, x_205); -return x_206; +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_180); +lean_ctor_set(x_182, 1, x_181); +return x_182; } } } else { -uint8_t x_207; +uint8_t x_183; lean_dec(x_49); lean_dec(x_47); lean_dec(x_46); @@ -16347,29 +16087,29 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); -x_207 = !lean_is_exclusive(x_53); -if (x_207 == 0) +x_183 = !lean_is_exclusive(x_53); +if (x_183 == 0) { return x_53; } else { -lean_object* x_208; lean_object* x_209; lean_object* x_210; -x_208 = lean_ctor_get(x_53, 0); -x_209 = lean_ctor_get(x_53, 1); -lean_inc(x_209); -lean_inc(x_208); +lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_184 = lean_ctor_get(x_53, 0); +x_185 = lean_ctor_get(x_53, 1); +lean_inc(x_185); +lean_inc(x_184); lean_dec(x_53); -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_208); -lean_ctor_set(x_210, 1, x_209); -return x_210; +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 { -uint8_t x_211; +uint8_t x_187; lean_dec(x_47); lean_dec(x_46); lean_dec(x_19); @@ -16382,30 +16122,30 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); -x_211 = !lean_is_exclusive(x_48); -if (x_211 == 0) +x_187 = !lean_is_exclusive(x_48); +if (x_187 == 0) { return x_48; } else { -lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_212 = lean_ctor_get(x_48, 0); -x_213 = lean_ctor_get(x_48, 1); -lean_inc(x_213); -lean_inc(x_212); +lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_188 = lean_ctor_get(x_48, 0); +x_189 = lean_ctor_get(x_48, 1); +lean_inc(x_189); +lean_inc(x_188); lean_dec(x_48); -x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_212); -lean_ctor_set(x_214, 1, x_213); -return x_214; +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; } } } } else { -uint8_t x_215; +uint8_t x_191; lean_dec(x_19); lean_dec(x_17); lean_dec(x_14); @@ -16417,61 +16157,61 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_5); lean_dec(x_3); -x_215 = !lean_is_exclusive(x_22); -if (x_215 == 0) +x_191 = !lean_is_exclusive(x_22); +if (x_191 == 0) { return x_22; } else { -lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_216 = lean_ctor_get(x_22, 0); -x_217 = lean_ctor_get(x_22, 1); -lean_inc(x_217); -lean_inc(x_216); +lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_192 = lean_ctor_get(x_22, 0); +x_193 = lean_ctor_get(x_22, 1); +lean_inc(x_193); +lean_inc(x_192); lean_dec(x_22); -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_216); -lean_ctor_set(x_218, 1, x_217); -return x_218; +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_192); +lean_ctor_set(x_194, 1, x_193); +return x_194; } } } -block_230: +block_206: { -if (x_220 == 0) +if (x_196 == 0) { -x_21 = x_221; -goto block_219; +x_21 = x_197; +goto block_195; } else { -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; +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_inc(x_19); -x_222 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_222, 0, x_19); -x_223 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2; -x_224 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_222); -x_225 = l_Lean_KernelException_toMessageData___closed__15; -x_226 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_226, 0, x_224); -lean_ctor_set(x_226, 1, x_225); -x_227 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3; -x_228 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_227, x_226, x_9, x_10, x_11, x_12, x_13, x_14, x_221); -x_229 = lean_ctor_get(x_228, 1); -lean_inc(x_229); -lean_dec(x_228); -x_21 = x_229; -goto block_219; +x_198 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_198, 0, x_19); +x_199 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3; +x_200 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = l_Lean_KernelException_toMessageData___closed__15; +x_202 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_202, 0, x_200); +lean_ctor_set(x_202, 1, x_201); +x_203 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1; +x_204 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_203, x_202, x_9, x_10, x_11, x_12, x_13, x_14, x_197); +x_205 = lean_ctor_get(x_204, 1); +lean_inc(x_205); +lean_dec(x_204); +x_21 = x_205; +goto block_195; } } } } else { -uint8_t x_274; +uint8_t x_250; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -16482,23 +16222,23 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_3); -x_274 = !lean_is_exclusive(x_16); -if (x_274 == 0) +x_250 = !lean_is_exclusive(x_16); +if (x_250 == 0) { return x_16; } else { -lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_275 = lean_ctor_get(x_16, 0); -x_276 = lean_ctor_get(x_16, 1); -lean_inc(x_276); -lean_inc(x_275); +lean_object* x_251; lean_object* x_252; lean_object* x_253; +x_251 = lean_ctor_get(x_16, 0); +x_252 = lean_ctor_get(x_16, 1); +lean_inc(x_252); +lean_inc(x_251); lean_dec(x_16); -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_275); -lean_ctor_set(x_277, 1, x_276); -return x_277; +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_251); +lean_ctor_set(x_253, 1, x_252); +return x_253; } } } @@ -19569,11 +19309,11 @@ lean_dec(x_8); return x_15; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_4626_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_4560_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3; +x_2 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -19762,10 +19502,6 @@ l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___c lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___closed__2); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___closed__3 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___closed__3(); lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___closed__3); -l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___closed__1 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___closed__1); -l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___closed__2 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor___closed__2); l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__3___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__3___closed__1(); lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__3___closed__1); l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__3___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__3___closed__2(); @@ -19802,7 +19538,7 @@ l_Lean_Elab_Command_elabStructure___lambda__4___closed__1 = _init_l_Lean_Elab_Co lean_mark_persistent(l_Lean_Elab_Command_elabStructure___lambda__4___closed__1); l_Lean_Elab_Command_elabStructure___closed__1 = _init_l_Lean_Elab_Command_elabStructure___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabStructure___closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_4626_(lean_io_mk_world()); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_4560_(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/ExprDefEq.c b/stage0/stdlib/Lean/Meta/ExprDefEq.c index 9dcabf9aa8..5bf315fa60 100644 --- a/stage0/stdlib/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Lean/Meta/ExprDefEq.c @@ -196,6 +196,7 @@ lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_de 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_object* l_Lean_Meta_CheckAssignment_outOfScopeExceptionId; lean_object* l_Lean_Meta_CheckAssignment_initFn____x40_Lean_Meta_ExprDefEq___hyg_2551____closed__1; +lean_object* l_Lean_Meta_getPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEqAuxImpl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_simpAssignmentArgAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__35___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -671,6 +672,7 @@ lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_M lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_checkMVar___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___closed__2; uint8_t l_Std_PersistentArray_anyMAux___at_Lean_Meta_CheckAssignment_checkMVar___spec__12(lean_object*, lean_object*); +lean_object* l_Lean_Meta_setPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignmentQuick_check_visit___spec__1(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_Meta_getConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -905,64 +907,75 @@ return x_63; } else { -uint8_t x_64; -lean_dec(x_27); +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_25); lean_dec(x_19); +x_64 = lean_ctor_get(x_51, 1); +lean_inc(x_64); +lean_dec(x_51); +x_65 = l_Lean_Meta_getPostponed___rarg(x_8, x_9, x_10, 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_27, x_66); +lean_dec(x_66); +x_69 = l_Lean_Meta_setPostponed(x_68, x_7, x_8, x_9, x_10, x_67); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_64 = !lean_is_exclusive(x_51); -if (x_64 == 0) +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) { -lean_object* x_65; uint8_t x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_51, 0); -lean_dec(x_65); -x_66 = 1; -x_67 = lean_box(x_66); -lean_ctor_set(x_51, 0, x_67); -return x_51; +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_68; uint8_t x_69; lean_object* x_70; lean_object* x_71; -x_68 = lean_ctor_get(x_51, 1); -lean_inc(x_68); -lean_dec(x_51); -x_69 = 1; -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); -return x_71; +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_72; lean_object* x_73; -x_72 = lean_ctor_get(x_51, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_51, 1); -lean_inc(x_73); +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_51, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_51, 1); +lean_inc(x_79); lean_dec(x_51); -x_29 = x_72; -x_30 = x_73; +x_29 = x_78; +x_30 = x_79; goto block_36; } } } else { -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_37, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_37, 1); -lean_inc(x_75); +lean_object* x_80; lean_object* x_81; +x_80 = lean_ctor_get(x_37, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_37, 1); +lean_inc(x_81); lean_dec(x_37); -x_29 = x_74; -x_30 = x_75; +x_29 = x_80; +x_30 = x_81; goto block_36; } block_36: @@ -38505,64 +38518,75 @@ return x_58; } else { -uint8_t x_59; -lean_dec(x_22); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_dec(x_20); lean_dec(x_14); +x_59 = lean_ctor_get(x_46, 1); +lean_inc(x_59); +lean_dec(x_46); +x_60 = l_Lean_Meta_getPostponed___rarg(x_6, x_7, x_8, x_59); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = l_Std_PersistentArray_append___rarg(x_22, x_61); +lean_dec(x_61); +x_64 = l_Lean_Meta_setPostponed(x_63, x_5, x_6, x_7, x_8, x_62); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_59 = !lean_is_exclusive(x_46); -if (x_59 == 0) +x_65 = !lean_is_exclusive(x_64); +if (x_65 == 0) { -lean_object* x_60; uint8_t x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_46, 0); -lean_dec(x_60); -x_61 = 1; -x_62 = lean_box(x_61); -lean_ctor_set(x_46, 0, x_62); -return x_46; +lean_object* x_66; uint8_t x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_64, 0); +lean_dec(x_66); +x_67 = 1; +x_68 = lean_box(x_67); +lean_ctor_set(x_64, 0, x_68); +return x_64; } else { -lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; -x_63 = lean_ctor_get(x_46, 1); -lean_inc(x_63); -lean_dec(x_46); -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_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; +x_69 = lean_ctor_get(x_64, 1); +lean_inc(x_69); +lean_dec(x_64); +x_70 = 1; +x_71 = lean_box(x_70); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_69); +return x_72; } } } else { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_46, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_46, 1); -lean_inc(x_68); +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_46, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_46, 1); +lean_inc(x_74); lean_dec(x_46); -x_24 = x_67; -x_25 = x_68; +x_24 = x_73; +x_25 = x_74; goto block_31; } } } else { -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_32, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_32, 1); -lean_inc(x_70); +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_32, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_32, 1); +lean_inc(x_76); lean_dec(x_32); -x_24 = x_69; -x_25 = x_70; +x_24 = x_75; +x_25 = x_76; goto block_31; } block_31: @@ -44036,64 +44060,75 @@ return x_74; } else { -uint8_t x_75; -lean_dec(x_38); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_dec(x_36); lean_dec(x_30); +x_75 = lean_ctor_get(x_62, 1); +lean_inc(x_75); +lean_dec(x_62); +x_76 = l_Lean_Meta_getPostponed___rarg(x_8, x_9, x_10, 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_79 = l_Std_PersistentArray_append___rarg(x_38, x_77); +lean_dec(x_77); +x_80 = l_Lean_Meta_setPostponed(x_79, x_7, x_8, x_9, x_10, x_78); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_75 = !lean_is_exclusive(x_62); -if (x_75 == 0) +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) { -lean_object* x_76; uint8_t x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_62, 0); -lean_dec(x_76); -x_77 = 1; -x_78 = lean_box(x_77); -lean_ctor_set(x_62, 0, x_78); -return x_62; +lean_object* x_82; uint8_t x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_80, 0); +lean_dec(x_82); +x_83 = 1; +x_84 = lean_box(x_83); +lean_ctor_set(x_80, 0, x_84); +return x_80; } else { -lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; -x_79 = lean_ctor_get(x_62, 1); -lean_inc(x_79); -lean_dec(x_62); -x_80 = 1; -x_81 = lean_box(x_80); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_79); -return x_82; +lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; +x_85 = lean_ctor_get(x_80, 1); +lean_inc(x_85); +lean_dec(x_80); +x_86 = 1; +x_87 = lean_box(x_86); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_85); +return x_88; } } } else { -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_62, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_62, 1); -lean_inc(x_84); +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_62, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_62, 1); +lean_inc(x_90); lean_dec(x_62); -x_40 = x_83; -x_41 = x_84; +x_40 = x_89; +x_41 = x_90; goto block_47; } } } else { -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_48, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_48, 1); -lean_inc(x_86); +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_48, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_48, 1); +lean_inc(x_92); lean_dec(x_48); -x_40 = x_85; -x_41 = x_86; +x_40 = x_91; +x_41 = x_92; goto block_47; } block_47: @@ -44296,64 +44331,75 @@ return x_74; } else { -uint8_t x_75; -lean_dec(x_38); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_dec(x_36); lean_dec(x_30); +x_75 = lean_ctor_get(x_62, 1); +lean_inc(x_75); +lean_dec(x_62); +x_76 = l_Lean_Meta_getPostponed___rarg(x_8, x_9, x_10, 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_79 = l_Std_PersistentArray_append___rarg(x_38, x_77); +lean_dec(x_77); +x_80 = l_Lean_Meta_setPostponed(x_79, x_7, x_8, x_9, x_10, x_78); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_75 = !lean_is_exclusive(x_62); -if (x_75 == 0) +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) { -lean_object* x_76; uint8_t x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_62, 0); -lean_dec(x_76); -x_77 = 1; -x_78 = lean_box(x_77); -lean_ctor_set(x_62, 0, x_78); -return x_62; +lean_object* x_82; uint8_t x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_80, 0); +lean_dec(x_82); +x_83 = 1; +x_84 = lean_box(x_83); +lean_ctor_set(x_80, 0, x_84); +return x_80; } else { -lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; -x_79 = lean_ctor_get(x_62, 1); -lean_inc(x_79); -lean_dec(x_62); -x_80 = 1; -x_81 = lean_box(x_80); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_79); -return x_82; +lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; +x_85 = lean_ctor_get(x_80, 1); +lean_inc(x_85); +lean_dec(x_80); +x_86 = 1; +x_87 = lean_box(x_86); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_85); +return x_88; } } } else { -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_62, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_62, 1); -lean_inc(x_84); +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_62, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_62, 1); +lean_inc(x_90); lean_dec(x_62); -x_40 = x_83; -x_41 = x_84; +x_40 = x_89; +x_41 = x_90; goto block_47; } } } else { -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_48, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_48, 1); -lean_inc(x_86); +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_48, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_48, 1); +lean_inc(x_92); lean_dec(x_48); -x_40 = x_85; -x_41 = x_86; +x_40 = x_91; +x_41 = x_92; goto block_47; } block_47: @@ -49556,64 +49602,75 @@ return x_56; } else { -uint8_t x_57; -lean_dec(x_20); +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; lean_dec(x_18); lean_dec(x_12); +x_57 = lean_ctor_get(x_44, 1); +lean_inc(x_57); +lean_dec(x_44); +x_58 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, 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 = l_Std_PersistentArray_append___rarg(x_20, x_59); +lean_dec(x_59); +x_62 = l_Lean_Meta_setPostponed(x_61, x_4, x_5, x_6, x_7, x_60); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_57 = !lean_is_exclusive(x_44); -if (x_57 == 0) +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) { -lean_object* x_58; uint8_t x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_44, 0); -lean_dec(x_58); -x_59 = 1; -x_60 = lean_box(x_59); -lean_ctor_set(x_44, 0, x_60); -return x_44; +lean_object* x_64; uint8_t x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 0); +lean_dec(x_64); +x_65 = 1; +x_66 = lean_box(x_65); +lean_ctor_set(x_62, 0, x_66); +return x_62; } else { -lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_44, 1); -lean_inc(x_61); -lean_dec(x_44); -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_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_62, 1); +lean_inc(x_67); +lean_dec(x_62); +x_68 = 1; +x_69 = lean_box(x_68); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_67); +return x_70; } } } else { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_44, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_44, 1); -lean_inc(x_66); +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_44, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_44, 1); +lean_inc(x_72); lean_dec(x_44); -x_22 = x_65; -x_23 = x_66; +x_22 = x_71; +x_23 = x_72; goto block_29; } } } else { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_30, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_30, 1); -lean_inc(x_68); +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_30, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_30, 1); +lean_inc(x_74); lean_dec(x_30); -x_22 = x_67; -x_23 = x_68; +x_22 = x_73; +x_23 = x_74; goto block_29; } block_29: @@ -49784,64 +49841,75 @@ return x_56; } else { -uint8_t x_57; -lean_dec(x_20); +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; lean_dec(x_18); lean_dec(x_12); +x_57 = lean_ctor_get(x_44, 1); +lean_inc(x_57); +lean_dec(x_44); +x_58 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, 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 = l_Std_PersistentArray_append___rarg(x_20, x_59); +lean_dec(x_59); +x_62 = l_Lean_Meta_setPostponed(x_61, x_4, x_5, x_6, x_7, x_60); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_57 = !lean_is_exclusive(x_44); -if (x_57 == 0) +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) { -lean_object* x_58; uint8_t x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_44, 0); -lean_dec(x_58); -x_59 = 1; -x_60 = lean_box(x_59); -lean_ctor_set(x_44, 0, x_60); -return x_44; +lean_object* x_64; uint8_t x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 0); +lean_dec(x_64); +x_65 = 1; +x_66 = lean_box(x_65); +lean_ctor_set(x_62, 0, x_66); +return x_62; } else { -lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_44, 1); -lean_inc(x_61); -lean_dec(x_44); -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_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_62, 1); +lean_inc(x_67); +lean_dec(x_62); +x_68 = 1; +x_69 = lean_box(x_68); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_67); +return x_70; } } } else { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_44, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_44, 1); -lean_inc(x_66); +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_44, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_44, 1); +lean_inc(x_72); lean_dec(x_44); -x_22 = x_65; -x_23 = x_66; +x_22 = x_71; +x_23 = x_72; goto block_29; } } } else { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_30, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_30, 1); -lean_inc(x_68); +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_30, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_30, 1); +lean_inc(x_74); lean_dec(x_30); -x_22 = x_67; -x_23 = x_68; +x_22 = x_73; +x_23 = x_74; goto block_29; } block_29: @@ -54391,64 +54459,75 @@ return x_60; } else { -uint8_t x_61; -lean_dec(x_24); +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_22); lean_dec(x_16); +x_61 = lean_ctor_get(x_48, 1); +lean_inc(x_61); +lean_dec(x_48); +x_62 = l_Lean_Meta_getPostponed___rarg(x_6, x_7, x_8, 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_24, x_63); +lean_dec(x_63); +x_66 = l_Lean_Meta_setPostponed(x_65, x_5, x_6, x_7, x_8, x_64); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_61 = !lean_is_exclusive(x_48); -if (x_61 == 0) +x_67 = !lean_is_exclusive(x_66); +if (x_67 == 0) { -lean_object* x_62; uint8_t x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_48, 0); -lean_dec(x_62); -x_63 = 1; -x_64 = lean_box(x_63); -lean_ctor_set(x_48, 0, x_64); -return x_48; +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_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; -x_65 = lean_ctor_get(x_48, 1); -lean_inc(x_65); -lean_dec(x_48); -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_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_69; lean_object* x_70; -x_69 = lean_ctor_get(x_48, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_48, 1); -lean_inc(x_70); +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_48, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_48, 1); +lean_inc(x_76); lean_dec(x_48); -x_26 = x_69; -x_27 = x_70; +x_26 = x_75; +x_27 = x_76; goto block_33; } } } else { -lean_object* x_71; lean_object* x_72; -x_71 = lean_ctor_get(x_34, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_34, 1); -lean_inc(x_72); +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_34, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_34, 1); +lean_inc(x_78); lean_dec(x_34); -x_26 = x_71; -x_27 = x_72; +x_26 = x_77; +x_27 = x_78; goto block_33; } block_33: @@ -54642,64 +54721,75 @@ return x_71; } else { -uint8_t x_72; -lean_dec(x_35); +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_33); lean_dec(x_27); +x_72 = lean_ctor_get(x_59, 1); +lean_inc(x_72); +lean_dec(x_59); +x_73 = l_Lean_Meta_getPostponed___rarg(x_7, x_8, x_9, x_72); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = l_Std_PersistentArray_append___rarg(x_35, x_74); +lean_dec(x_74); +x_77 = l_Lean_Meta_setPostponed(x_76, x_6, x_7, x_8, x_9, x_75); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_72 = !lean_is_exclusive(x_59); -if (x_72 == 0) +x_78 = !lean_is_exclusive(x_77); +if (x_78 == 0) { -lean_object* x_73; uint8_t x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_59, 0); -lean_dec(x_73); -x_74 = 1; -x_75 = lean_box(x_74); -lean_ctor_set(x_59, 0, x_75); -return x_59; +lean_object* x_79; uint8_t x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_77, 0); +lean_dec(x_79); +x_80 = 1; +x_81 = lean_box(x_80); +lean_ctor_set(x_77, 0, x_81); +return x_77; } else { -lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; -x_76 = lean_ctor_get(x_59, 1); -lean_inc(x_76); -lean_dec(x_59); -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; +lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; +x_82 = lean_ctor_get(x_77, 1); +lean_inc(x_82); +lean_dec(x_77); +x_83 = 1; +x_84 = lean_box(x_83); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_82); +return x_85; } } } else { -lean_object* x_80; lean_object* x_81; -x_80 = lean_ctor_get(x_59, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_59, 1); -lean_inc(x_81); +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_59, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_59, 1); +lean_inc(x_87); lean_dec(x_59); -x_37 = x_80; -x_38 = x_81; +x_37 = x_86; +x_38 = x_87; goto block_44; } } } else { -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_45, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_45, 1); -lean_inc(x_83); +lean_object* x_88; lean_object* x_89; +x_88 = lean_ctor_get(x_45, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_45, 1); +lean_inc(x_89); lean_dec(x_45); -x_37 = x_82; -x_38 = x_83; +x_37 = x_88; +x_38 = x_89; goto block_44; } block_44: diff --git a/stage0/stdlib/Lean/Meta/LevelDefEq.c b/stage0/stdlib/Lean/Meta/LevelDefEq.c index 7e677778ea..abce89d11e 100644 --- a/stage0/stdlib/Lean/Meta/LevelDefEq.c +++ b/stage0/stdlib/Lean/Meta/LevelDefEq.c @@ -14,6 +14,7 @@ extern "C" { #endif lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___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*); size_t l_USize_add(size_t, size_t); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -35,16 +36,18 @@ extern lean_object* l_Lean_unifConstraint___closed__3; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getNumPostponed(lean_object*); lean_object* l_Lean_Meta_isExprDefEq___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__4___closed__4; -lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2___lambda__1(lean_object*, lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); extern lean_object* l_StateRefT_x27_instMonadLiftStateRefT_x27___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__4___closed__5; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_HashSetImp_expand___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__5(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkMaxArgsDiff_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___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* l_Lean_Meta_isExprDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax___closed__6; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(uint8_t, uint8_t); extern lean_object* l_Std_PersistentArray_empty___closed__1; @@ -52,30 +55,43 @@ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Trace_0__Lean_addNode___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Meta_isLevelDefEq___closed__5; extern lean_object* l_Lean_MessageData_nil; +extern lean_object* l_Lean_Level_instBEqLevel; lean_object* l_Lean_throwError___at_Lean_Meta_decLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t l_Lean_Level_hash(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__15; lean_object* l_Lean_Meta_isLevelDefEq___closed__3; lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__3; lean_object* l_Lean_Meta_isExprDefEq___closed__1; lean_object* lean_array_get_size(lean_object*); +lean_object* l_Std_HashSetImp_contains___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2___boxed(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax___closed__3; lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__5; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__3(lean_object*); +lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___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* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__5___closed__1; extern lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Level_getOffsetAux(lean_object*, lean_object*); +lean_object* l_Std_mkHashSetImp___rarg(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax___closed__5; lean_object* l_Lean_Level_mvarId_x21(lean_object*); lean_object* l_Lean_Meta_decLevel_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isLevelDefEqAux___closed__4; lean_object* l_Lean_Meta_getPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; +lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax___closed__2; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_strictOccursMax___boxed(lean_object*, lean_object*); +lean_object* l_List_replace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__8(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__10___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_isLevelDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_commitWhenSome_x3f___rarg___closed__1; @@ -85,15 +101,16 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Met lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__16; lean_object* l_StateRefT_x27_instMonadExceptOfStateRefT_x27___rarg(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_strictOccursMax_visit_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Meta_isLevelDefEqAux___closed__6; +uint8_t l_Lean_Level_normLtAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_restore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__7; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_isListLevelDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__1(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax___closed__4; +lean_object* l_Std_mkHashSet___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1(lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_strictOccursMax(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -101,9 +118,11 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Met lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getLevelAssignment_x3f(lean_object*, lean_object*); +uint8_t l_List_elem___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__3(lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadRefCoreM; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax___closed__1; +extern lean_object* l_Lean_Level_instHashableLevel; lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraints___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -119,25 +138,31 @@ extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____close lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__4(lean_object*); lean_object* l_Lean_Meta_isLevelDefEqAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkMaxArgsDiff___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwIsDefEqStuck___rarg(lean_object*); lean_object* l_ReaderT_instMonadFunctorReaderT___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getNumPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_elem___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__3___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__13; lean_object* l_Lean_Meta_decLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getDecLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); uint8_t l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_strictOccursMax_visit(lean_object*, lean_object*); lean_object* l_Lean_Meta_isLevelDefEqAux___closed__2; lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__2; lean_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData_match__2___rarg(lean_object*, lean_object*); extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_904____closed__1; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___boxed(lean_object*); lean_object* l_Lean_Meta_isLevelDefEqAux___closed__1; +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__1; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__2; +size_t lean_usize_modn(size_t, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getNumPostponed___boxed(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed_loop(uint8_t, 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*); @@ -149,12 +174,13 @@ lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__4___closed__3; lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__11; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed_loop___closed__1; -lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__4; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve_match__1(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_isLevelDefEq___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_HashSetImp_moveEntries___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__6(lean_object*, lean_object*, lean_object*); +lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__6; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_strictOccursMax_visit___boxed(lean_object*, lean_object*); @@ -166,28 +192,32 @@ lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp(lean_object*); lean_object* l_Lean_Meta_isDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_decLevel___closed__1; lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp_match__1(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_decLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__4; +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__11___boxed(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_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed_loop___closed__2; lean_object* l_Lean_mkLevelSucc(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_strictOccursMax_visit_match__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_decLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData_match__2(lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_isExprDefEq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2___boxed(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Meta_decLevel___closed__2; lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MetavarContext_hasAssignableLevelMVar(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_toArray___rarg(lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__10___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_decLevel___closed__4; lean_object* l_Lean_Meta_isDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isLevelDefEq(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_Std_HashSetImp_contains___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraints___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_commitWhen_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__1; @@ -195,13 +225,18 @@ lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__2(l lean_object* l_Lean_Level_normalize(lean_object*); uint8_t l_Bool_toLBool(uint8_t); lean_object* l_Lean_setEnv___at_Lean_Meta_orelse___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_isExprDefEq___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__3(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___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Level_isMVar(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed_loop___closed__6; +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Std_HashSetImp_insert___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_mul(lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___closed__2; lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isLevelDefEqAux___closed__3; @@ -210,24 +245,30 @@ lean_object* lean_st_ref_set(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_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_mkMaxArgsDiff(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__1; +lean_object* l_Lean_Level_getLevelOffset(lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraints(lean_object*, lean_object*); lean_object* l_Lean_Meta_commitWhen_match__1(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_Meta_isDefEqNoConstantApprox(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__8; lean_object* l_Lean_Meta_isListLevelDefEqAux_match__1(lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__4; +lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__9; +size_t lean_usize_mix_hash(size_t, size_t); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_isExprDefEq___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isLevelDefEq___closed__1; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadExceptOfReaderT___rarg(lean_object*); +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData_match__1(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData(lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed_loop___closed__4; uint8_t l_Lean_Level_occurs(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_replace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__8___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_isLevelDefEq___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isLevelDefEqAux___closed__5; @@ -242,29 +283,29 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lea lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getResetPostponed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_isLevelDefEq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2___lambda__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_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*); uint8_t lean_level_eq(lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_LevelDefEq___hyg_2473_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_LevelDefEq___hyg_2640_(lean_object*); lean_object* l_Lean_Meta_setMCtx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isReadOnlyLevelMVar(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*); lean_object* l_Lean_Meta_isLevelDefEqAux_match__1(lean_object*); lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_isExprDefEq___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__3; extern lean_object* l_Array_findSomeM_x3f___rarg___closed__1; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed_loop___closed__3; extern lean_object* l_Lean_Meta_instAddMessageContextMetaM; extern lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_decLevel_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instMonadRef___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Level_isMax(lean_object*); +lean_object* l_List_foldl___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__7(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__10; -lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_isLevelDefEq___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_decAux_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: @@ -3236,1437 +3277,1446 @@ _start: switch (lean_obj_tag(x_1)) { case 0: { -uint8_t x_8; -x_8 = lean_level_eq(x_1, x_2); -if (x_8 == 0) +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = l_Lean_Level_getLevelOffset(x_1); +x_9 = l_Lean_Level_getLevelOffset(x_2); +x_10 = lean_level_eq(x_8, x_9); +lean_dec(x_9); +lean_dec(x_8); +if (x_10 == 0) { -lean_object* x_9; uint8_t x_338; lean_object* x_339; lean_object* x_352; lean_object* x_353; lean_object* x_354; uint8_t x_355; -x_352 = lean_st_ref_get(x_6, x_7); -x_353 = lean_ctor_get(x_352, 0); -lean_inc(x_353); -x_354 = lean_ctor_get(x_353, 3); -lean_inc(x_354); -lean_dec(x_353); -x_355 = lean_ctor_get_uint8(x_354, sizeof(void*)*1); -lean_dec(x_354); -if (x_355 == 0) -{ -lean_object* x_356; uint8_t x_357; -x_356 = lean_ctor_get(x_352, 1); +lean_object* x_11; uint8_t x_340; lean_object* x_341; lean_object* x_354; lean_object* x_355; lean_object* x_356; uint8_t x_357; +x_354 = lean_st_ref_get(x_6, x_7); +x_355 = lean_ctor_get(x_354, 0); +lean_inc(x_355); +x_356 = lean_ctor_get(x_355, 3); lean_inc(x_356); -lean_dec(x_352); -x_357 = 0; -x_338 = x_357; -x_339 = x_356; -goto block_351; -} -else +lean_dec(x_355); +x_357 = lean_ctor_get_uint8(x_356, sizeof(void*)*1); +lean_dec(x_356); +if (x_357 == 0) { -lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; uint8_t x_363; -x_358 = lean_ctor_get(x_352, 1); +lean_object* x_358; uint8_t x_359; +x_358 = lean_ctor_get(x_354, 1); lean_inc(x_358); -lean_dec(x_352); -x_359 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_360 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_359, x_3, x_4, x_5, x_6, x_358); -x_361 = lean_ctor_get(x_360, 0); -lean_inc(x_361); -x_362 = lean_ctor_get(x_360, 1); -lean_inc(x_362); -lean_dec(x_360); -x_363 = lean_unbox(x_361); -lean_dec(x_361); -x_338 = x_363; -x_339 = x_362; -goto block_351; -} -block_337: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -lean_inc(x_1); -x_10 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, 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 = l_Lean_Level_normalize(x_11); -lean_dec(x_11); -lean_inc(x_2); -x_14 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_12); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_Level_normalize(x_15); -lean_dec(x_15); -x_18 = lean_level_eq(x_1, x_13); -if (x_18 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_13; -x_2 = x_17; -x_7 = x_16; -goto _start; +lean_dec(x_354); +x_359 = 0; +x_340 = x_359; +x_341 = x_358; +goto block_353; } else { -uint8_t x_20; -x_20 = lean_level_eq(x_2, x_17); +lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; uint8_t x_365; +x_360 = lean_ctor_get(x_354, 1); +lean_inc(x_360); +lean_dec(x_354); +x_361 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_362 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_361, x_3, x_4, x_5, x_6, x_360); +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_340 = x_365; +x_341 = x_364; +goto block_353; +} +block_339: +{ +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_inc(x_1); +x_12 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, 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 = l_Lean_Level_normalize(x_13); +lean_dec(x_13); +lean_inc(x_2); +x_16 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_14); +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_Level_normalize(x_17); +lean_dec(x_17); +x_20 = lean_level_eq(x_1, x_15); if (x_20 == 0) { lean_dec(x_2); lean_dec(x_1); -x_1 = x_13; -x_2 = x_17; -x_7 = x_16; +x_1 = x_15; +x_2 = x_19; +x_7 = x_18; goto _start; } else { -lean_object* x_22; -lean_dec(x_17); -lean_dec(x_13); +uint8_t x_22; +x_22 = lean_level_eq(x_2, x_19); +if (x_22 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +x_1 = x_15; +x_2 = x_19; +x_7 = x_18; +goto _start; +} +else +{ +lean_object* x_24; +lean_dec(x_19); +lean_dec(x_15); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_22 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_16); -if (lean_obj_tag(x_22) == 0) +x_24 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_18); +if (lean_obj_tag(x_24) == 0) { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +uint8_t x_25; +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) { -lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; -x_24 = lean_ctor_get(x_22, 0); -x_25 = lean_ctor_get(x_22, 1); -x_26 = 2; -x_27 = lean_unbox(x_24); -x_28 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_27, x_26); -if (x_28 == 0) +lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_ctor_get(x_24, 1); +x_28 = 2; +x_29 = lean_unbox(x_26); +x_30 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_29, x_28); +if (x_30 == 0) { -uint8_t x_29; uint8_t x_30; uint8_t x_31; lean_object* x_32; +uint8_t x_31; uint8_t x_32; uint8_t x_33; lean_object* x_34; 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_29 = 1; -x_30 = lean_unbox(x_24); -lean_dec(x_24); -x_31 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_30, x_29); -x_32 = lean_box(x_31); -lean_ctor_set(x_22, 0, x_32); -return x_22; +x_31 = 1; +x_32 = lean_unbox(x_26); +lean_dec(x_26); +x_33 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_32, x_31); +x_34 = lean_box(x_33); +lean_ctor_set(x_24, 0, x_34); +return x_24; } else { -lean_object* x_33; -lean_free_object(x_22); -lean_dec(x_24); +lean_object* x_35; +lean_free_object(x_24); +lean_dec(x_26); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_33 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_25); -if (lean_obj_tag(x_33) == 0) +x_35 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_27); +if (lean_obj_tag(x_35) == 0) { -uint8_t x_34; -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) { -lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; -x_35 = lean_ctor_get(x_33, 0); -x_36 = lean_ctor_get(x_33, 1); -x_37 = lean_unbox(x_35); -x_38 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_37, x_26); -if (x_38 == 0) +lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; +x_37 = lean_ctor_get(x_35, 0); +x_38 = lean_ctor_get(x_35, 1); +x_39 = lean_unbox(x_37); +x_40 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_39, x_28); +if (x_40 == 0) { -uint8_t x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; +uint8_t x_41; uint8_t x_42; uint8_t x_43; lean_object* x_44; 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_39 = 1; -x_40 = lean_unbox(x_35); -lean_dec(x_35); -x_41 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_40, x_39); -x_42 = lean_box(x_41); -lean_ctor_set(x_33, 0, x_42); -return x_33; +x_41 = 1; +x_42 = lean_unbox(x_37); +lean_dec(x_37); +x_43 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_42, x_41); +x_44 = lean_box(x_43); +lean_ctor_set(x_35, 0, x_44); +return x_35; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -lean_free_object(x_33); -lean_dec(x_35); -x_43 = lean_st_ref_get(x_6, x_36); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); -x_45 = lean_st_ref_get(x_4, x_44); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_free_object(x_35); +lean_dec(x_37); +x_45 = lean_st_ref_get(x_6, x_38); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_st_ref_get(x_4, x_46); +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_47 = lean_ctor_get(x_45, 0); -x_48 = lean_ctor_get(x_45, 1); +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; x_49 = lean_ctor_get(x_47, 0); -lean_inc(x_49); -lean_dec(x_47); -lean_inc(x_49); -x_50 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_49, x_1); -if (x_50 == 0) -{ -uint8_t x_51; -x_51 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_49, x_2); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_82; uint8_t x_83; -x_82 = lean_ctor_get(x_3, 0); -lean_inc(x_82); -x_83 = lean_ctor_get_uint8(x_82, 4); -lean_dec(x_82); -if (x_83 == 0) -{ -uint8_t x_84; lean_object* x_85; -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_84 = 0; -x_85 = lean_box(x_84); -lean_ctor_set(x_45, 0, x_85); -return x_45; -} -else -{ -uint8_t x_86; -x_86 = l_Lean_Level_isMVar(x_1); -if (x_86 == 0) -{ -uint8_t x_87; -x_87 = l_Lean_Level_isMVar(x_2); -if (x_87 == 0) -{ -uint8_t x_88; lean_object* x_89; -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_88 = 0; -x_89 = lean_box(x_88); -lean_ctor_set(x_45, 0, x_89); -return x_45; -} -else -{ -lean_object* x_90; -lean_free_object(x_45); -x_90 = lean_box(0); -x_52 = x_90; -goto block_81; -} -} -else -{ -lean_object* x_91; -lean_free_object(x_45); -x_91 = lean_box(0); -x_52 = x_91; -goto block_81; -} -} -block_81: -{ -uint8_t x_53; lean_object* x_54; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -lean_dec(x_52); -x_69 = lean_st_ref_get(x_6, x_48); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_70, 3); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_ctor_get_uint8(x_71, sizeof(void*)*1); -lean_dec(x_71); -if (x_72 == 0) -{ -lean_object* x_73; uint8_t x_74; -x_73 = lean_ctor_get(x_69, 1); -lean_inc(x_73); -lean_dec(x_69); -x_74 = 0; -x_53 = x_74; -x_54 = x_73; -goto block_68; -} -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; -x_75 = lean_ctor_get(x_69, 1); -lean_inc(x_75); -lean_dec(x_69); -x_76 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_77 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_76, x_3, x_4, x_5, x_6, x_75); -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_53 = x_80; -x_54 = x_79; -goto block_68; -} -block_68: +x_50 = lean_ctor_get(x_47, 1); +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +lean_dec(x_49); +lean_inc(x_51); +x_52 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_51, x_1); +if (x_52 == 0) { +uint8_t x_53; +x_53 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_51, x_2); if (x_53 == 0) { -lean_object* x_55; +lean_object* x_54; lean_object* x_84; uint8_t x_85; +x_84 = lean_ctor_get(x_3, 0); +lean_inc(x_84); +x_85 = lean_ctor_get_uint8(x_84, 4); +lean_dec(x_84); +if (x_85 == 0) +{ +uint8_t x_86; lean_object* x_87; 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_55 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_54); -return x_55; +x_86 = 0; +x_87 = lean_box(x_86); +lean_ctor_set(x_47, 0, x_87); +return x_47; } 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; lean_object* x_66; lean_object* x_67; -x_56 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_56, 0, x_1); -x_57 = l_Lean_KernelException_toMessageData___closed__15; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -x_59 = l_Lean_Meta_isLevelDefEqAux___closed__5; +uint8_t x_88; +x_88 = l_Lean_Level_isMVar(x_1); +if (x_88 == 0) +{ +uint8_t x_89; +x_89 = l_Lean_Level_isMVar(x_2); +if (x_89 == 0) +{ +uint8_t x_90; lean_object* x_91; +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_90 = 0; +x_91 = lean_box(x_90); +lean_ctor_set(x_47, 0, x_91); +return x_47; +} +else +{ +lean_object* x_92; +lean_free_object(x_47); +x_92 = lean_box(0); +x_54 = x_92; +goto block_83; +} +} +else +{ +lean_object* x_93; +lean_free_object(x_47); +x_93 = lean_box(0); +x_54 = x_93; +goto block_83; +} +} +block_83: +{ +uint8_t x_55; lean_object* x_56; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +lean_dec(x_54); +x_71 = lean_st_ref_get(x_6, x_50); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_72, 3); +lean_inc(x_73); +lean_dec(x_72); +x_74 = lean_ctor_get_uint8(x_73, sizeof(void*)*1); +lean_dec(x_73); +if (x_74 == 0) +{ +lean_object* x_75; uint8_t x_76; +x_75 = lean_ctor_get(x_71, 1); +lean_inc(x_75); +lean_dec(x_71); +x_76 = 0; +x_55 = x_76; +x_56 = x_75; +goto block_70; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_77 = lean_ctor_get(x_71, 1); +lean_inc(x_77); +lean_dec(x_71); +x_78 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_79 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_78, x_3, x_4, x_5, x_6, x_77); +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_unbox(x_80); +lean_dec(x_80); +x_55 = x_82; +x_56 = x_81; +goto block_70; +} +block_70: +{ +if (x_55 == 0) +{ +lean_object* x_57; +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_57 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_56); +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; +x_58 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_58, 0, x_1); +x_59 = l_Lean_KernelException_toMessageData___closed__15; x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_61, 0, x_2); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = l_Lean_Meta_isLevelDefEqAux___closed__5; x_62 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_62, 0, x_60); 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_57); -x_64 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_65 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_64, x_63, x_3, x_4, x_5, x_6, x_54); +x_63 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_63, 0, x_2); +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_59); +x_66 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_67 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_66, x_65, x_3, x_4, x_5, x_6, x_56); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -lean_dec(x_65); -x_67 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_66); -return x_67; +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +lean_dec(x_67); +x_69 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_68); +return x_69; } } } } else { -lean_object* x_92; uint8_t x_93; -lean_free_object(x_45); -x_92 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_48); +lean_object* x_94; uint8_t x_95; +lean_free_object(x_47); +x_94 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_50); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_93 = !lean_is_exclusive(x_92); -if (x_93 == 0) +x_95 = !lean_is_exclusive(x_94); +if (x_95 == 0) { -lean_object* x_94; uint8_t x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_92, 0); +lean_object* x_96; uint8_t x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_94, 0); +lean_dec(x_96); +x_97 = 1; +x_98 = lean_box(x_97); +lean_ctor_set(x_94, 0, x_98); +return x_94; +} +else +{ +lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; +x_99 = lean_ctor_get(x_94, 1); +lean_inc(x_99); lean_dec(x_94); -x_95 = 1; -x_96 = lean_box(x_95); -lean_ctor_set(x_92, 0, x_96); -return x_92; -} -else -{ -lean_object* x_97; uint8_t 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 = 1; -x_99 = lean_box(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); -return x_100; +x_100 = 1; +x_101 = lean_box(x_100); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_99); +return x_102; } } } else { -lean_object* x_101; uint8_t x_102; -lean_dec(x_49); -lean_free_object(x_45); -x_101 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_48); +lean_object* x_103; uint8_t x_104; +lean_dec(x_51); +lean_free_object(x_47); +x_103 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_50); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_102 = !lean_is_exclusive(x_101); -if (x_102 == 0) +x_104 = !lean_is_exclusive(x_103); +if (x_104 == 0) { -lean_object* x_103; uint8_t x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_101, 0); +lean_object* x_105; uint8_t x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_103, 0); +lean_dec(x_105); +x_106 = 1; +x_107 = lean_box(x_106); +lean_ctor_set(x_103, 0, x_107); +return x_103; +} +else +{ +lean_object* x_108; uint8_t x_109; lean_object* x_110; lean_object* x_111; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); lean_dec(x_103); -x_104 = 1; -x_105 = lean_box(x_104); -lean_ctor_set(x_101, 0, x_105); -return x_101; -} -else -{ -lean_object* x_106; uint8_t x_107; lean_object* x_108; lean_object* x_109; -x_106 = lean_ctor_get(x_101, 1); -lean_inc(x_106); -lean_dec(x_101); -x_107 = 1; -x_108 = lean_box(x_107); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_106); -return x_109; +x_109 = 1; +x_110 = lean_box(x_109); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_108); +return x_111; } } } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; -x_110 = lean_ctor_get(x_45, 0); -x_111 = lean_ctor_get(x_45, 1); -lean_inc(x_111); -lean_inc(x_110); -lean_dec(x_45); -x_112 = lean_ctor_get(x_110, 0); +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_47, 0); +x_113 = lean_ctor_get(x_47, 1); +lean_inc(x_113); lean_inc(x_112); -lean_dec(x_110); -lean_inc(x_112); -x_113 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_112, x_1); -if (x_113 == 0) -{ -uint8_t x_114; -x_114 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_112, x_2); -if (x_114 == 0) -{ -lean_object* x_115; lean_object* x_145; uint8_t x_146; -x_145 = lean_ctor_get(x_3, 0); -lean_inc(x_145); -x_146 = lean_ctor_get_uint8(x_145, 4); -lean_dec(x_145); -if (x_146 == 0) -{ -uint8_t x_147; lean_object* x_148; lean_object* x_149; -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_147 = 0; -x_148 = lean_box(x_147); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_111); -return x_149; -} -else -{ -uint8_t x_150; -x_150 = l_Lean_Level_isMVar(x_1); -if (x_150 == 0) -{ -uint8_t x_151; -x_151 = l_Lean_Level_isMVar(x_2); -if (x_151 == 0) -{ -uint8_t x_152; lean_object* x_153; lean_object* x_154; -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_152 = 0; -x_153 = lean_box(x_152); -x_154 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_111); -return x_154; -} -else -{ -lean_object* x_155; -x_155 = lean_box(0); -x_115 = x_155; -goto block_144; -} -} -else -{ -lean_object* x_156; -x_156 = lean_box(0); -x_115 = x_156; -goto block_144; -} -} -block_144: -{ -uint8_t x_116; lean_object* x_117; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; -lean_dec(x_115); -x_132 = lean_st_ref_get(x_6, x_111); -x_133 = lean_ctor_get(x_132, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_133, 3); -lean_inc(x_134); -lean_dec(x_133); -x_135 = lean_ctor_get_uint8(x_134, sizeof(void*)*1); -lean_dec(x_134); -if (x_135 == 0) -{ -lean_object* x_136; uint8_t x_137; -x_136 = lean_ctor_get(x_132, 1); -lean_inc(x_136); -lean_dec(x_132); -x_137 = 0; -x_116 = x_137; -x_117 = x_136; -goto block_131; -} -else -{ -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_132, 1); -lean_inc(x_138); -lean_dec(x_132); -x_139 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_140 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_139, x_3, x_4, x_5, x_6, x_138); -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_unbox(x_141); -lean_dec(x_141); -x_116 = x_143; -x_117 = x_142; -goto block_131; -} -block_131: +lean_dec(x_47); +x_114 = lean_ctor_get(x_112, 0); +lean_inc(x_114); +lean_dec(x_112); +lean_inc(x_114); +x_115 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_114, x_1); +if (x_115 == 0) { +uint8_t x_116; +x_116 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_114, x_2); if (x_116 == 0) { -lean_object* x_118; +lean_object* x_117; lean_object* x_147; uint8_t x_148; +x_147 = lean_ctor_get(x_3, 0); +lean_inc(x_147); +x_148 = lean_ctor_get_uint8(x_147, 4); +lean_dec(x_147); +if (x_148 == 0) +{ +uint8_t x_149; lean_object* x_150; lean_object* x_151; 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_118 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_117); -return x_118; +x_149 = 0; +x_150 = lean_box(x_149); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_113); +return x_151; } 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; -x_119 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_119, 0, x_1); -x_120 = l_Lean_KernelException_toMessageData___closed__15; -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_Lean_Meta_isLevelDefEqAux___closed__5; +uint8_t x_152; +x_152 = l_Lean_Level_isMVar(x_1); +if (x_152 == 0) +{ +uint8_t x_153; +x_153 = l_Lean_Level_isMVar(x_2); +if (x_153 == 0) +{ +uint8_t x_154; lean_object* x_155; lean_object* x_156; +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_154 = 0; +x_155 = lean_box(x_154); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_113); +return x_156; +} +else +{ +lean_object* x_157; +x_157 = lean_box(0); +x_117 = x_157; +goto block_146; +} +} +else +{ +lean_object* x_158; +x_158 = lean_box(0); +x_117 = x_158; +goto block_146; +} +} +block_146: +{ +uint8_t x_118; lean_object* x_119; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_dec(x_117); +x_134 = lean_st_ref_get(x_6, x_113); +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_118 = x_139; +x_119 = x_138; +goto block_133; +} +else +{ +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_134, 1); +lean_inc(x_140); +lean_dec(x_134); +x_141 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_142 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_141, x_3, x_4, x_5, x_6, x_140); +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_unbox(x_143); +lean_dec(x_143); +x_118 = x_145; +x_119 = x_144; +goto block_133; +} +block_133: +{ +if (x_118 == 0) +{ +lean_object* x_120; +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_120 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_119); +return x_120; +} +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; +x_121 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_121, 0, x_1); +x_122 = l_Lean_KernelException_toMessageData___closed__15; x_123 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -x_124 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_124, 0, x_2); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_121); +x_124 = l_Lean_Meta_isLevelDefEqAux___closed__5; x_125 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_125, 0, x_123); lean_ctor_set(x_125, 1, x_124); -x_126 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_120); -x_127 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_128 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_127, x_126, x_3, x_4, x_5, x_6, x_117); +x_126 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_126, 0, x_2); +x_127 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_122); +x_129 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_130 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_129, x_128, x_3, x_4, x_5, x_6, x_119); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -lean_dec(x_128); -x_130 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_129); -return x_130; +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +lean_dec(x_130); +x_132 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_131); +return x_132; } } } } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; -x_157 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_111); +lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; +x_159 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, 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); -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; +x_160 = lean_ctor_get(x_159, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_161 = x_159; } else { - lean_dec_ref(x_157); - x_159 = lean_box(0); + lean_dec_ref(x_159); + x_161 = lean_box(0); } -x_160 = 1; -x_161 = lean_box(x_160); -if (lean_is_scalar(x_159)) { - x_162 = lean_alloc_ctor(0, 2, 0); +x_162 = 1; +x_163 = lean_box(x_162); +if (lean_is_scalar(x_161)) { + x_164 = lean_alloc_ctor(0, 2, 0); } else { - x_162 = x_159; + x_164 = x_161; } -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_158); -return x_162; +lean_ctor_set(x_164, 0, x_163); +lean_ctor_set(x_164, 1, x_160); +return x_164; } } else { -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_112); -x_163 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_111); +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_114); +x_165 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, 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); -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; +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_163); - x_165 = lean_box(0); + lean_dec_ref(x_165); + x_167 = 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); +x_168 = 1; +x_169 = lean_box(x_168); +if (lean_is_scalar(x_167)) { + x_170 = lean_alloc_ctor(0, 2, 0); } else { - x_168 = x_165; + x_170 = x_167; } -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_164); -return x_168; +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_166); +return x_170; } } } } else { -lean_object* x_169; lean_object* x_170; uint8_t x_171; uint8_t x_172; -x_169 = lean_ctor_get(x_33, 0); -x_170 = lean_ctor_get(x_33, 1); -lean_inc(x_170); -lean_inc(x_169); -lean_dec(x_33); -x_171 = lean_unbox(x_169); -x_172 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_171, x_26); -if (x_172 == 0) +lean_object* x_171; lean_object* x_172; uint8_t x_173; uint8_t x_174; +x_171 = lean_ctor_get(x_35, 0); +x_172 = lean_ctor_get(x_35, 1); +lean_inc(x_172); +lean_inc(x_171); +lean_dec(x_35); +x_173 = lean_unbox(x_171); +x_174 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_173, x_28); +if (x_174 == 0) { -uint8_t x_173; uint8_t x_174; uint8_t x_175; lean_object* x_176; lean_object* x_177; +uint8_t x_175; uint8_t x_176; uint8_t x_177; lean_object* x_178; lean_object* x_179; 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_173 = 1; -x_174 = lean_unbox(x_169); -lean_dec(x_169); -x_175 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_174, x_173); -x_176 = lean_box(x_175); -x_177 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_170); -return x_177; +x_175 = 1; +x_176 = lean_unbox(x_171); +lean_dec(x_171); +x_177 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_176, x_175); +x_178 = lean_box(x_177); +x_179 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_172); +return x_179; } 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_dec(x_169); -x_178 = lean_st_ref_get(x_6, x_170); -x_179 = lean_ctor_get(x_178, 1); -lean_inc(x_179); -lean_dec(x_178); -x_180 = lean_st_ref_get(x_4, x_179); -x_181 = lean_ctor_get(x_180, 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_object* x_186; uint8_t x_187; +lean_dec(x_171); +x_180 = lean_st_ref_get(x_6, x_172); +x_181 = lean_ctor_get(x_180, 1); lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); -lean_inc(x_182); -if (lean_is_exclusive(x_180)) { - lean_ctor_release(x_180, 0); - lean_ctor_release(x_180, 1); - x_183 = x_180; -} else { - lean_dec_ref(x_180); - x_183 = lean_box(0); -} -x_184 = lean_ctor_get(x_181, 0); +lean_dec(x_180); +x_182 = lean_st_ref_get(x_4, 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_181); -lean_inc(x_184); -x_185 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_184, x_1); -if (x_185 == 0) -{ -uint8_t x_186; -x_186 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_184, x_2); -if (x_186 == 0) -{ -lean_object* x_187; lean_object* x_217; uint8_t x_218; -x_217 = lean_ctor_get(x_3, 0); -lean_inc(x_217); -x_218 = lean_ctor_get_uint8(x_217, 4); -lean_dec(x_217); -if (x_218 == 0) -{ -uint8_t x_219; lean_object* x_220; lean_object* x_221; -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_219 = 0; -x_220 = lean_box(x_219); -if (lean_is_scalar(x_183)) { - x_221 = lean_alloc_ctor(0, 2, 0); +if (lean_is_exclusive(x_182)) { + lean_ctor_release(x_182, 0); + lean_ctor_release(x_182, 1); + x_185 = x_182; } else { - x_221 = x_183; + lean_dec_ref(x_182); + x_185 = lean_box(0); } -lean_ctor_set(x_221, 0, x_220); -lean_ctor_set(x_221, 1, x_182); -return x_221; -} -else -{ -uint8_t x_222; -x_222 = l_Lean_Level_isMVar(x_1); -if (x_222 == 0) -{ -uint8_t x_223; -x_223 = l_Lean_Level_isMVar(x_2); -if (x_223 == 0) -{ -uint8_t x_224; lean_object* x_225; lean_object* x_226; -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_224 = 0; -x_225 = lean_box(x_224); -if (lean_is_scalar(x_183)) { - x_226 = lean_alloc_ctor(0, 2, 0); -} else { - x_226 = x_183; -} -lean_ctor_set(x_226, 0, x_225); -lean_ctor_set(x_226, 1, x_182); -return x_226; -} -else -{ -lean_object* x_227; +x_186 = lean_ctor_get(x_183, 0); +lean_inc(x_186); lean_dec(x_183); -x_227 = lean_box(0); -x_187 = x_227; -goto block_216; -} -} -else -{ -lean_object* x_228; -lean_dec(x_183); -x_228 = lean_box(0); -x_187 = x_228; -goto block_216; -} -} -block_216: -{ -uint8_t x_188; lean_object* x_189; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; -lean_dec(x_187); -x_204 = lean_st_ref_get(x_6, x_182); -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_188 = x_209; -x_189 = x_208; -goto block_203; -} -else -{ -lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; -x_210 = lean_ctor_get(x_204, 1); -lean_inc(x_210); -lean_dec(x_204); -x_211 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_212 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_211, x_3, x_4, x_5, x_6, x_210); -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_188 = x_215; -x_189 = x_214; -goto block_203; -} -block_203: +lean_inc(x_186); +x_187 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_186, x_1); +if (x_187 == 0) { +uint8_t x_188; +x_188 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_186, x_2); if (x_188 == 0) { -lean_object* x_190; +lean_object* x_189; lean_object* x_219; uint8_t x_220; +x_219 = lean_ctor_get(x_3, 0); +lean_inc(x_219); +x_220 = lean_ctor_get_uint8(x_219, 4); +lean_dec(x_219); +if (x_220 == 0) +{ +uint8_t x_221; lean_object* x_222; lean_object* x_223; 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_190 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_189); -return x_190; +x_221 = 0; +x_222 = lean_box(x_221); +if (lean_is_scalar(x_185)) { + x_223 = lean_alloc_ctor(0, 2, 0); +} else { + x_223 = x_185; +} +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_184); +return x_223; } 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; lean_object* x_201; lean_object* x_202; -x_191 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_191, 0, x_1); -x_192 = l_Lean_KernelException_toMessageData___closed__15; -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_Lean_Meta_isLevelDefEqAux___closed__5; +uint8_t x_224; +x_224 = l_Lean_Level_isMVar(x_1); +if (x_224 == 0) +{ +uint8_t x_225; +x_225 = l_Lean_Level_isMVar(x_2); +if (x_225 == 0) +{ +uint8_t x_226; lean_object* x_227; lean_object* x_228; +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_226 = 0; +x_227 = lean_box(x_226); +if (lean_is_scalar(x_185)) { + x_228 = lean_alloc_ctor(0, 2, 0); +} else { + x_228 = x_185; +} +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_184); +return x_228; +} +else +{ +lean_object* x_229; +lean_dec(x_185); +x_229 = lean_box(0); +x_189 = x_229; +goto block_218; +} +} +else +{ +lean_object* x_230; +lean_dec(x_185); +x_230 = lean_box(0); +x_189 = x_230; +goto block_218; +} +} +block_218: +{ +uint8_t x_190; lean_object* x_191; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; +lean_dec(x_189); +x_206 = lean_st_ref_get(x_6, x_184); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_207, 3); +lean_inc(x_208); +lean_dec(x_207); +x_209 = lean_ctor_get_uint8(x_208, sizeof(void*)*1); +lean_dec(x_208); +if (x_209 == 0) +{ +lean_object* x_210; uint8_t x_211; +x_210 = lean_ctor_get(x_206, 1); +lean_inc(x_210); +lean_dec(x_206); +x_211 = 0; +x_190 = x_211; +x_191 = x_210; +goto block_205; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; +x_212 = lean_ctor_get(x_206, 1); +lean_inc(x_212); +lean_dec(x_206); +x_213 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_214 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_213, x_3, x_4, x_5, x_6, x_212); +x_215 = lean_ctor_get(x_214, 0); +lean_inc(x_215); +x_216 = lean_ctor_get(x_214, 1); +lean_inc(x_216); +lean_dec(x_214); +x_217 = lean_unbox(x_215); +lean_dec(x_215); +x_190 = x_217; +x_191 = x_216; +goto block_205; +} +block_205: +{ +if (x_190 == 0) +{ +lean_object* 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_192 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_191); +return x_192; +} +else +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_193 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_193, 0, x_1); +x_194 = l_Lean_KernelException_toMessageData___closed__15; 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(3, 1, 0); -lean_ctor_set(x_196, 0, x_2); +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_193); +x_196 = l_Lean_Meta_isLevelDefEqAux___closed__5; 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 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_192); -x_199 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_200 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_199, x_198, x_3, x_4, x_5, x_6, x_189); +x_198 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_198, 0, x_2); +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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_194); +x_201 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_202 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_201, x_200, x_3, x_4, x_5, x_6, x_191); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_201 = lean_ctor_get(x_200, 1); -lean_inc(x_201); -lean_dec(x_200); -x_202 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_201); -return x_202; +x_203 = lean_ctor_get(x_202, 1); +lean_inc(x_203); +lean_dec(x_202); +x_204 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_203); +return x_204; } } } } else { -lean_object* x_229; lean_object* x_230; lean_object* x_231; uint8_t x_232; lean_object* x_233; lean_object* x_234; -lean_dec(x_183); -x_229 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_182); +lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_234; lean_object* x_235; lean_object* x_236; +lean_dec(x_185); +x_231 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_184); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_230 = lean_ctor_get(x_229, 1); -lean_inc(x_230); -if (lean_is_exclusive(x_229)) { - lean_ctor_release(x_229, 0); - lean_ctor_release(x_229, 1); - x_231 = x_229; +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_229); - x_231 = lean_box(0); + lean_dec_ref(x_231); + x_233 = lean_box(0); } -x_232 = 1; -x_233 = lean_box(x_232); -if (lean_is_scalar(x_231)) { - x_234 = lean_alloc_ctor(0, 2, 0); +x_234 = 1; +x_235 = lean_box(x_234); +if (lean_is_scalar(x_233)) { + x_236 = lean_alloc_ctor(0, 2, 0); } else { - x_234 = x_231; + x_236 = x_233; } -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_230); -return x_234; +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_232); +return x_236; } } 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_dec(x_184); -lean_dec(x_183); -x_235 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_182); +lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; lean_object* x_241; lean_object* x_242; +lean_dec(x_186); +lean_dec(x_185); +x_237 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_184); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_236 = lean_ctor_get(x_235, 1); -lean_inc(x_236); -if (lean_is_exclusive(x_235)) { - lean_ctor_release(x_235, 0); - lean_ctor_release(x_235, 1); - x_237 = x_235; +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_235); - x_237 = lean_box(0); + lean_dec_ref(x_237); + x_239 = lean_box(0); } -x_238 = 1; -x_239 = lean_box(x_238); -if (lean_is_scalar(x_237)) { - x_240 = lean_alloc_ctor(0, 2, 0); +x_240 = 1; +x_241 = lean_box(x_240); +if (lean_is_scalar(x_239)) { + x_242 = lean_alloc_ctor(0, 2, 0); } else { - x_240 = x_237; + x_242 = x_239; } -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_236); -return x_240; +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_238); +return x_242; } } } } else { -uint8_t x_241; +uint8_t x_243; 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_241 = !lean_is_exclusive(x_33); -if (x_241 == 0) +x_243 = !lean_is_exclusive(x_35); +if (x_243 == 0) { -return x_33; +return x_35; } else { -lean_object* x_242; lean_object* x_243; lean_object* x_244; -x_242 = lean_ctor_get(x_33, 0); -x_243 = lean_ctor_get(x_33, 1); -lean_inc(x_243); -lean_inc(x_242); -lean_dec(x_33); -x_244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_244, 0, x_242); -lean_ctor_set(x_244, 1, x_243); -return x_244; -} -} -} -} -else -{ -lean_object* x_245; lean_object* x_246; uint8_t x_247; uint8_t x_248; uint8_t x_249; -x_245 = lean_ctor_get(x_22, 0); -x_246 = lean_ctor_get(x_22, 1); -lean_inc(x_246); +lean_object* x_244; lean_object* x_245; lean_object* x_246; +x_244 = lean_ctor_get(x_35, 0); +x_245 = lean_ctor_get(x_35, 1); lean_inc(x_245); -lean_dec(x_22); -x_247 = 2; -x_248 = lean_unbox(x_245); -x_249 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_248, x_247); -if (x_249 == 0) +lean_inc(x_244); +lean_dec(x_35); +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_244); +lean_ctor_set(x_246, 1, x_245); +return x_246; +} +} +} +} +else { -uint8_t x_250; uint8_t x_251; uint8_t x_252; lean_object* x_253; lean_object* x_254; +lean_object* x_247; lean_object* x_248; uint8_t x_249; uint8_t x_250; uint8_t x_251; +x_247 = lean_ctor_get(x_24, 0); +x_248 = lean_ctor_get(x_24, 1); +lean_inc(x_248); +lean_inc(x_247); +lean_dec(x_24); +x_249 = 2; +x_250 = lean_unbox(x_247); +x_251 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_250, x_249); +if (x_251 == 0) +{ +uint8_t x_252; uint8_t x_253; uint8_t x_254; lean_object* x_255; lean_object* x_256; 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_250 = 1; -x_251 = lean_unbox(x_245); -lean_dec(x_245); -x_252 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_251, x_250); -x_253 = lean_box(x_252); -x_254 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_254, 0, x_253); -lean_ctor_set(x_254, 1, x_246); -return x_254; +x_252 = 1; +x_253 = lean_unbox(x_247); +lean_dec(x_247); +x_254 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_253, x_252); +x_255 = lean_box(x_254); +x_256 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_256, 0, x_255); +lean_ctor_set(x_256, 1, x_248); +return x_256; } else { -lean_object* x_255; -lean_dec(x_245); +lean_object* x_257; +lean_dec(x_247); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_255 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_246); -if (lean_obj_tag(x_255) == 0) +x_257 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_248); +if (lean_obj_tag(x_257) == 0) { -lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; uint8_t x_260; -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -x_257 = lean_ctor_get(x_255, 1); -lean_inc(x_257); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_258 = x_255; +lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261; uint8_t x_262; +x_258 = lean_ctor_get(x_257, 0); +lean_inc(x_258); +x_259 = lean_ctor_get(x_257, 1); +lean_inc(x_259); +if (lean_is_exclusive(x_257)) { + lean_ctor_release(x_257, 0); + lean_ctor_release(x_257, 1); + x_260 = x_257; } else { - lean_dec_ref(x_255); - x_258 = lean_box(0); + lean_dec_ref(x_257); + x_260 = lean_box(0); } -x_259 = lean_unbox(x_256); -x_260 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_259, x_247); -if (x_260 == 0) +x_261 = lean_unbox(x_258); +x_262 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_261, x_249); +if (x_262 == 0) { -uint8_t x_261; uint8_t x_262; uint8_t x_263; lean_object* x_264; lean_object* x_265; +uint8_t x_263; uint8_t x_264; uint8_t x_265; lean_object* x_266; lean_object* x_267; 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_261 = 1; -x_262 = lean_unbox(x_256); -lean_dec(x_256); -x_263 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_262, x_261); -x_264 = lean_box(x_263); -if (lean_is_scalar(x_258)) { - x_265 = lean_alloc_ctor(0, 2, 0); -} else { - x_265 = x_258; -} -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_257); -return x_265; -} -else -{ -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 = 1; +x_264 = lean_unbox(x_258); lean_dec(x_258); -lean_dec(x_256); -x_266 = lean_st_ref_get(x_6, x_257); -x_267 = lean_ctor_get(x_266, 1); -lean_inc(x_267); -lean_dec(x_266); -x_268 = lean_st_ref_get(x_4, x_267); -x_269 = lean_ctor_get(x_268, 0); +x_265 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_264, x_263); +x_266 = lean_box(x_265); +if (lean_is_scalar(x_260)) { + x_267 = lean_alloc_ctor(0, 2, 0); +} else { + x_267 = x_260; +} +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_259); +return x_267; +} +else +{ +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; uint8_t x_275; +lean_dec(x_260); +lean_dec(x_258); +x_268 = lean_st_ref_get(x_6, x_259); +x_269 = lean_ctor_get(x_268, 1); lean_inc(x_269); -x_270 = lean_ctor_get(x_268, 1); -lean_inc(x_270); -if (lean_is_exclusive(x_268)) { - lean_ctor_release(x_268, 0); - lean_ctor_release(x_268, 1); - x_271 = x_268; -} else { - lean_dec_ref(x_268); - x_271 = lean_box(0); -} -x_272 = lean_ctor_get(x_269, 0); +lean_dec(x_268); +x_270 = lean_st_ref_get(x_4, x_269); +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_269); -lean_inc(x_272); -x_273 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_272, x_1); -if (x_273 == 0) -{ -uint8_t x_274; -x_274 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_272, x_2); -if (x_274 == 0) -{ -lean_object* x_275; lean_object* x_305; uint8_t x_306; -x_305 = lean_ctor_get(x_3, 0); -lean_inc(x_305); -x_306 = lean_ctor_get_uint8(x_305, 4); -lean_dec(x_305); -if (x_306 == 0) -{ -uint8_t x_307; lean_object* x_308; lean_object* x_309; -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_307 = 0; -x_308 = lean_box(x_307); -if (lean_is_scalar(x_271)) { - x_309 = lean_alloc_ctor(0, 2, 0); +if (lean_is_exclusive(x_270)) { + lean_ctor_release(x_270, 0); + lean_ctor_release(x_270, 1); + x_273 = x_270; } else { - x_309 = x_271; + lean_dec_ref(x_270); + x_273 = lean_box(0); } -lean_ctor_set(x_309, 0, x_308); -lean_ctor_set(x_309, 1, x_270); -return x_309; -} -else -{ -uint8_t x_310; -x_310 = l_Lean_Level_isMVar(x_1); -if (x_310 == 0) -{ -uint8_t x_311; -x_311 = l_Lean_Level_isMVar(x_2); -if (x_311 == 0) -{ -uint8_t x_312; lean_object* x_313; lean_object* x_314; -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_312 = 0; -x_313 = lean_box(x_312); -if (lean_is_scalar(x_271)) { - x_314 = lean_alloc_ctor(0, 2, 0); -} else { - x_314 = x_271; -} -lean_ctor_set(x_314, 0, x_313); -lean_ctor_set(x_314, 1, x_270); -return x_314; -} -else -{ -lean_object* x_315; +x_274 = lean_ctor_get(x_271, 0); +lean_inc(x_274); lean_dec(x_271); -x_315 = lean_box(0); -x_275 = x_315; -goto block_304; -} -} -else -{ -lean_object* x_316; -lean_dec(x_271); -x_316 = lean_box(0); -x_275 = x_316; -goto block_304; -} -} -block_304: -{ -uint8_t x_276; lean_object* x_277; lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; -lean_dec(x_275); -x_292 = lean_st_ref_get(x_6, x_270); -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_276 = x_297; -x_277 = x_296; -goto block_291; -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; uint8_t x_303; -x_298 = lean_ctor_get(x_292, 1); -lean_inc(x_298); -lean_dec(x_292); -x_299 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_300 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_299, x_3, x_4, x_5, x_6, x_298); -x_301 = lean_ctor_get(x_300, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_300, 1); -lean_inc(x_302); -lean_dec(x_300); -x_303 = lean_unbox(x_301); -lean_dec(x_301); -x_276 = x_303; -x_277 = x_302; -goto block_291; -} -block_291: +lean_inc(x_274); +x_275 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_274, x_1); +if (x_275 == 0) { +uint8_t x_276; +x_276 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_274, x_2); if (x_276 == 0) { -lean_object* x_278; +lean_object* x_277; lean_object* x_307; uint8_t x_308; +x_307 = lean_ctor_get(x_3, 0); +lean_inc(x_307); +x_308 = lean_ctor_get_uint8(x_307, 4); +lean_dec(x_307); +if (x_308 == 0) +{ +uint8_t x_309; lean_object* x_310; lean_object* x_311; 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_278 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_277); -return x_278; +x_309 = 0; +x_310 = lean_box(x_309); +if (lean_is_scalar(x_273)) { + x_311 = lean_alloc_ctor(0, 2, 0); +} else { + x_311 = x_273; +} +lean_ctor_set(x_311, 0, x_310); +lean_ctor_set(x_311, 1, x_272); +return x_311; } 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; -x_279 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_279, 0, x_1); -x_280 = l_Lean_KernelException_toMessageData___closed__15; -x_281 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_281, 0, x_280); -lean_ctor_set(x_281, 1, x_279); -x_282 = l_Lean_Meta_isLevelDefEqAux___closed__5; +uint8_t x_312; +x_312 = l_Lean_Level_isMVar(x_1); +if (x_312 == 0) +{ +uint8_t x_313; +x_313 = l_Lean_Level_isMVar(x_2); +if (x_313 == 0) +{ +uint8_t x_314; lean_object* x_315; lean_object* x_316; +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_314 = 0; +x_315 = lean_box(x_314); +if (lean_is_scalar(x_273)) { + x_316 = lean_alloc_ctor(0, 2, 0); +} else { + x_316 = x_273; +} +lean_ctor_set(x_316, 0, x_315); +lean_ctor_set(x_316, 1, x_272); +return x_316; +} +else +{ +lean_object* x_317; +lean_dec(x_273); +x_317 = lean_box(0); +x_277 = x_317; +goto block_306; +} +} +else +{ +lean_object* x_318; +lean_dec(x_273); +x_318 = lean_box(0); +x_277 = x_318; +goto block_306; +} +} +block_306: +{ +uint8_t x_278; lean_object* x_279; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; +lean_dec(x_277); +x_294 = lean_st_ref_get(x_6, x_272); +x_295 = lean_ctor_get(x_294, 0); +lean_inc(x_295); +x_296 = lean_ctor_get(x_295, 3); +lean_inc(x_296); +lean_dec(x_295); +x_297 = lean_ctor_get_uint8(x_296, sizeof(void*)*1); +lean_dec(x_296); +if (x_297 == 0) +{ +lean_object* x_298; uint8_t x_299; +x_298 = lean_ctor_get(x_294, 1); +lean_inc(x_298); +lean_dec(x_294); +x_299 = 0; +x_278 = x_299; +x_279 = x_298; +goto block_293; +} +else +{ +lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; uint8_t x_305; +x_300 = lean_ctor_get(x_294, 1); +lean_inc(x_300); +lean_dec(x_294); +x_301 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_302 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_301, x_3, x_4, x_5, x_6, x_300); +x_303 = lean_ctor_get(x_302, 0); +lean_inc(x_303); +x_304 = lean_ctor_get(x_302, 1); +lean_inc(x_304); +lean_dec(x_302); +x_305 = lean_unbox(x_303); +lean_dec(x_303); +x_278 = x_305; +x_279 = x_304; +goto block_293; +} +block_293: +{ +if (x_278 == 0) +{ +lean_object* x_280; +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_280 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_279); +return x_280; +} +else +{ +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; +x_281 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_281, 0, x_1); +x_282 = l_Lean_KernelException_toMessageData___closed__15; x_283 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_283, 0, x_281); -lean_ctor_set(x_283, 1, x_282); -x_284 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_284, 0, x_2); +lean_ctor_set(x_283, 0, x_282); +lean_ctor_set(x_283, 1, x_281); +x_284 = l_Lean_Meta_isLevelDefEqAux___closed__5; x_285 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_285, 0, x_283); lean_ctor_set(x_285, 1, x_284); -x_286 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_286, 0, x_285); -lean_ctor_set(x_286, 1, x_280); -x_287 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_288 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_287, x_286, x_3, x_4, x_5, x_6, x_277); +x_286 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_286, 0, x_2); +x_287 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_287, 0, x_285); +lean_ctor_set(x_287, 1, x_286); +x_288 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_288, 0, x_287); +lean_ctor_set(x_288, 1, x_282); +x_289 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_290 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_289, x_288, x_3, x_4, x_5, x_6, x_279); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_289 = lean_ctor_get(x_288, 1); -lean_inc(x_289); -lean_dec(x_288); -x_290 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_289); -return x_290; +x_291 = lean_ctor_get(x_290, 1); +lean_inc(x_291); +lean_dec(x_290); +x_292 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_291); +return x_292; } } } } else { -lean_object* x_317; lean_object* x_318; lean_object* x_319; uint8_t x_320; lean_object* x_321; lean_object* x_322; -lean_dec(x_271); -x_317 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_270); +lean_object* x_319; lean_object* x_320; lean_object* x_321; uint8_t x_322; lean_object* x_323; lean_object* x_324; +lean_dec(x_273); +x_319 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_272); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_318 = lean_ctor_get(x_317, 1); -lean_inc(x_318); -if (lean_is_exclusive(x_317)) { - lean_ctor_release(x_317, 0); - lean_ctor_release(x_317, 1); - x_319 = x_317; +x_320 = lean_ctor_get(x_319, 1); +lean_inc(x_320); +if (lean_is_exclusive(x_319)) { + lean_ctor_release(x_319, 0); + lean_ctor_release(x_319, 1); + x_321 = x_319; } else { - lean_dec_ref(x_317); - x_319 = lean_box(0); + lean_dec_ref(x_319); + x_321 = lean_box(0); } -x_320 = 1; -x_321 = lean_box(x_320); -if (lean_is_scalar(x_319)) { - x_322 = lean_alloc_ctor(0, 2, 0); +x_322 = 1; +x_323 = lean_box(x_322); +if (lean_is_scalar(x_321)) { + x_324 = lean_alloc_ctor(0, 2, 0); } else { - x_322 = x_319; + x_324 = x_321; } -lean_ctor_set(x_322, 0, x_321); -lean_ctor_set(x_322, 1, x_318); -return x_322; +lean_ctor_set(x_324, 0, x_323); +lean_ctor_set(x_324, 1, x_320); +return x_324; } } else { -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_dec(x_272); -lean_dec(x_271); -x_323 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_270); +lean_object* x_325; lean_object* x_326; lean_object* x_327; uint8_t x_328; lean_object* x_329; lean_object* x_330; +lean_dec(x_274); +lean_dec(x_273); +x_325 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_272); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_324 = lean_ctor_get(x_323, 1); -lean_inc(x_324); -if (lean_is_exclusive(x_323)) { - lean_ctor_release(x_323, 0); - lean_ctor_release(x_323, 1); - x_325 = x_323; +x_326 = lean_ctor_get(x_325, 1); +lean_inc(x_326); +if (lean_is_exclusive(x_325)) { + lean_ctor_release(x_325, 0); + lean_ctor_release(x_325, 1); + x_327 = x_325; } else { - lean_dec_ref(x_323); - x_325 = lean_box(0); + lean_dec_ref(x_325); + x_327 = lean_box(0); } -x_326 = 1; -x_327 = lean_box(x_326); -if (lean_is_scalar(x_325)) { - x_328 = lean_alloc_ctor(0, 2, 0); +x_328 = 1; +x_329 = lean_box(x_328); +if (lean_is_scalar(x_327)) { + x_330 = lean_alloc_ctor(0, 2, 0); } else { - x_328 = x_325; + x_330 = x_327; } -lean_ctor_set(x_328, 0, x_327); -lean_ctor_set(x_328, 1, x_324); -return x_328; +lean_ctor_set(x_330, 0, x_329); +lean_ctor_set(x_330, 1, x_326); +return x_330; } } } else { -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; +lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; 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_329 = lean_ctor_get(x_255, 0); -lean_inc(x_329); -x_330 = lean_ctor_get(x_255, 1); -lean_inc(x_330); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - x_331 = x_255; +x_331 = lean_ctor_get(x_257, 0); +lean_inc(x_331); +x_332 = lean_ctor_get(x_257, 1); +lean_inc(x_332); +if (lean_is_exclusive(x_257)) { + lean_ctor_release(x_257, 0); + lean_ctor_release(x_257, 1); + x_333 = x_257; } else { - lean_dec_ref(x_255); - x_331 = lean_box(0); + lean_dec_ref(x_257); + x_333 = lean_box(0); } -if (lean_is_scalar(x_331)) { - x_332 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_333)) { + x_334 = lean_alloc_ctor(1, 2, 0); } else { - x_332 = x_331; + x_334 = x_333; } -lean_ctor_set(x_332, 0, x_329); -lean_ctor_set(x_332, 1, x_330); -return x_332; +lean_ctor_set(x_334, 0, x_331); +lean_ctor_set(x_334, 1, x_332); +return x_334; } } } } else { -uint8_t x_333; +uint8_t x_335; 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_333 = !lean_is_exclusive(x_22); -if (x_333 == 0) +x_335 = !lean_is_exclusive(x_24); +if (x_335 == 0) { -return x_22; +return x_24; } else { -lean_object* x_334; lean_object* x_335; lean_object* x_336; -x_334 = lean_ctor_get(x_22, 0); -x_335 = lean_ctor_get(x_22, 1); -lean_inc(x_335); -lean_inc(x_334); -lean_dec(x_22); -x_336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_336, 0, x_334); -lean_ctor_set(x_336, 1, x_335); -return x_336; +lean_object* x_336; lean_object* x_337; lean_object* x_338; +x_336 = lean_ctor_get(x_24, 0); +x_337 = lean_ctor_get(x_24, 1); +lean_inc(x_337); +lean_inc(x_336); +lean_dec(x_24); +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_336); +lean_ctor_set(x_338, 1, x_337); +return x_338; } } } } } -block_351: +block_353: { -if (x_338 == 0) +if (x_340 == 0) { -x_9 = x_339; -goto block_337; +x_11 = x_341; +goto block_339; } else { -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; lean_object* x_350; +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; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_inc(x_1); -x_340 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_340, 0, x_1); -x_341 = l_Lean_KernelException_toMessageData___closed__15; -x_342 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_342, 0, x_341); -lean_ctor_set(x_342, 1, x_340); -x_343 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_342 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_342, 0, x_1); +x_343 = l_Lean_KernelException_toMessageData___closed__15; x_344 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_344, 0, x_342); -lean_ctor_set(x_344, 1, x_343); -lean_inc(x_2); -x_345 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_345, 0, x_2); +lean_ctor_set(x_344, 0, x_343); +lean_ctor_set(x_344, 1, x_342); +x_345 = l_Lean_Meta_isLevelDefEqAux___closed__5; x_346 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_346, 0, x_344); lean_ctor_set(x_346, 1, x_345); -x_347 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_347, 0, x_346); -lean_ctor_set(x_347, 1, x_341); -x_348 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_349 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_348, x_347, x_3, x_4, x_5, x_6, x_339); -x_350 = lean_ctor_get(x_349, 1); -lean_inc(x_350); -lean_dec(x_349); -x_9 = x_350; -goto block_337; +lean_inc(x_2); +x_347 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_347, 0, x_2); +x_348 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_348, 0, x_346); +lean_ctor_set(x_348, 1, x_347); +x_349 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_349, 0, x_348); +lean_ctor_set(x_349, 1, x_343); +x_350 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_351 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_350, x_349, x_3, x_4, x_5, x_6, x_341); +x_352 = lean_ctor_get(x_351, 1); +lean_inc(x_352); +lean_dec(x_351); +x_11 = x_352; +goto block_339; } } } else { -uint8_t x_364; lean_object* x_365; lean_object* x_366; +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_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +x_366 = lean_unsigned_to_nat(0u); +x_367 = l_Lean_Level_getOffsetAux(x_1, x_366); lean_dec(x_1); -x_364 = 1; -x_365 = lean_box(x_364); -x_366 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_366, 0, x_365); -lean_ctor_set(x_366, 1, x_7); -return x_366; +x_368 = l_Lean_Level_getOffsetAux(x_2, x_366); +lean_dec(x_2); +x_369 = lean_nat_dec_eq(x_367, x_368); +lean_dec(x_368); +lean_dec(x_367); +x_370 = lean_box(x_369); +x_371 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_371, 0, x_370); +lean_ctor_set(x_371, 1, x_7); +return x_371; } } case 1: @@ -4674,11032 +4724,11004 @@ case 1: switch (lean_obj_tag(x_2)) { case 0: { -uint8_t x_367; -x_367 = lean_level_eq(x_1, x_2); -if (x_367 == 0) -{ -lean_object* x_368; uint8_t x_697; lean_object* x_698; lean_object* x_711; lean_object* x_712; lean_object* x_713; uint8_t x_714; -x_711 = lean_st_ref_get(x_6, x_7); -x_712 = lean_ctor_get(x_711, 0); -lean_inc(x_712); -x_713 = lean_ctor_get(x_712, 3); -lean_inc(x_713); -lean_dec(x_712); -x_714 = lean_ctor_get_uint8(x_713, sizeof(void*)*1); -lean_dec(x_713); -if (x_714 == 0) -{ -lean_object* x_715; uint8_t x_716; -x_715 = lean_ctor_get(x_711, 1); -lean_inc(x_715); -lean_dec(x_711); -x_716 = 0; -x_697 = x_716; -x_698 = x_715; -goto block_710; -} -else -{ -lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; uint8_t x_722; -x_717 = lean_ctor_get(x_711, 1); -lean_inc(x_717); -lean_dec(x_711); -x_718 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_719 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_718, x_3, x_4, x_5, x_6, x_717); -x_720 = lean_ctor_get(x_719, 0); -lean_inc(x_720); -x_721 = lean_ctor_get(x_719, 1); -lean_inc(x_721); -lean_dec(x_719); -x_722 = lean_unbox(x_720); -lean_dec(x_720); -x_697 = x_722; -x_698 = x_721; -goto block_710; -} -block_696: -{ -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; uint8_t x_377; -lean_inc(x_1); -x_369 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_368); -x_370 = lean_ctor_get(x_369, 0); -lean_inc(x_370); -x_371 = lean_ctor_get(x_369, 1); -lean_inc(x_371); -lean_dec(x_369); -x_372 = l_Lean_Level_normalize(x_370); -lean_dec(x_370); -lean_inc(x_2); -x_373 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_371); -x_374 = lean_ctor_get(x_373, 0); -lean_inc(x_374); -x_375 = lean_ctor_get(x_373, 1); -lean_inc(x_375); +lean_object* x_372; lean_object* x_373; uint8_t x_374; +x_372 = l_Lean_Level_getLevelOffset(x_1); +x_373 = l_Lean_Level_getLevelOffset(x_2); +x_374 = lean_level_eq(x_372, x_373); lean_dec(x_373); -x_376 = l_Lean_Level_normalize(x_374); -lean_dec(x_374); -x_377 = lean_level_eq(x_1, x_372); -if (x_377 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_372; -x_2 = x_376; -x_7 = x_375; -goto _start; -} -else -{ -uint8_t x_379; -x_379 = lean_level_eq(x_2, x_376); -if (x_379 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_372; -x_2 = x_376; -x_7 = x_375; -goto _start; -} -else -{ -lean_object* x_381; -lean_dec(x_376); lean_dec(x_372); +if (x_374 == 0) +{ +lean_object* x_375; uint8_t x_704; lean_object* x_705; lean_object* x_718; lean_object* x_719; lean_object* x_720; uint8_t x_721; +x_718 = lean_st_ref_get(x_6, x_7); +x_719 = lean_ctor_get(x_718, 0); +lean_inc(x_719); +x_720 = lean_ctor_get(x_719, 3); +lean_inc(x_720); +lean_dec(x_719); +x_721 = lean_ctor_get_uint8(x_720, sizeof(void*)*1); +lean_dec(x_720); +if (x_721 == 0) +{ +lean_object* x_722; uint8_t x_723; +x_722 = lean_ctor_get(x_718, 1); +lean_inc(x_722); +lean_dec(x_718); +x_723 = 0; +x_704 = x_723; +x_705 = x_722; +goto block_717; +} +else +{ +lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; uint8_t x_729; +x_724 = lean_ctor_get(x_718, 1); +lean_inc(x_724); +lean_dec(x_718); +x_725 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_726 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_725, x_3, x_4, x_5, x_6, x_724); +x_727 = lean_ctor_get(x_726, 0); +lean_inc(x_727); +x_728 = lean_ctor_get(x_726, 1); +lean_inc(x_728); +lean_dec(x_726); +x_729 = lean_unbox(x_727); +lean_dec(x_727); +x_704 = x_729; +x_705 = x_728; +goto block_717; +} +block_703: +{ +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; +lean_inc(x_1); +x_376 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_375); +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 = l_Lean_Level_normalize(x_377); +lean_dec(x_377); +lean_inc(x_2); +x_380 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_378); +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); +x_383 = l_Lean_Level_normalize(x_381); +lean_dec(x_381); +x_384 = lean_level_eq(x_1, x_379); +if (x_384 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +x_1 = x_379; +x_2 = x_383; +x_7 = x_382; +goto _start; +} +else +{ +uint8_t x_386; +x_386 = lean_level_eq(x_2, x_383); +if (x_386 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +x_1 = x_379; +x_2 = x_383; +x_7 = x_382; +goto _start; +} +else +{ +lean_object* x_388; +lean_dec(x_383); +lean_dec(x_379); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_381 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_375); -if (lean_obj_tag(x_381) == 0) +x_388 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_382); +if (lean_obj_tag(x_388) == 0) { -uint8_t x_382; -x_382 = !lean_is_exclusive(x_381); -if (x_382 == 0) +uint8_t x_389; +x_389 = !lean_is_exclusive(x_388); +if (x_389 == 0) { -lean_object* x_383; lean_object* x_384; uint8_t x_385; uint8_t x_386; uint8_t x_387; -x_383 = lean_ctor_get(x_381, 0); -x_384 = lean_ctor_get(x_381, 1); -x_385 = 2; -x_386 = lean_unbox(x_383); -x_387 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_386, x_385); -if (x_387 == 0) +lean_object* x_390; lean_object* x_391; uint8_t x_392; uint8_t x_393; uint8_t x_394; +x_390 = lean_ctor_get(x_388, 0); +x_391 = lean_ctor_get(x_388, 1); +x_392 = 2; +x_393 = lean_unbox(x_390); +x_394 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_393, x_392); +if (x_394 == 0) { -uint8_t x_388; uint8_t x_389; uint8_t x_390; lean_object* x_391; +uint8_t x_395; uint8_t x_396; uint8_t x_397; lean_object* x_398; 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_388 = 1; -x_389 = lean_unbox(x_383); -lean_dec(x_383); -x_390 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_389, x_388); -x_391 = lean_box(x_390); -lean_ctor_set(x_381, 0, x_391); -return x_381; +x_395 = 1; +x_396 = lean_unbox(x_390); +lean_dec(x_390); +x_397 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_396, x_395); +x_398 = lean_box(x_397); +lean_ctor_set(x_388, 0, x_398); +return x_388; } else { -lean_object* x_392; -lean_free_object(x_381); -lean_dec(x_383); +lean_object* x_399; +lean_free_object(x_388); +lean_dec(x_390); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_392 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_384); -if (lean_obj_tag(x_392) == 0) +x_399 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_391); +if (lean_obj_tag(x_399) == 0) { -uint8_t x_393; -x_393 = !lean_is_exclusive(x_392); -if (x_393 == 0) +uint8_t x_400; +x_400 = !lean_is_exclusive(x_399); +if (x_400 == 0) { -lean_object* x_394; lean_object* x_395; uint8_t x_396; uint8_t x_397; -x_394 = lean_ctor_get(x_392, 0); -x_395 = lean_ctor_get(x_392, 1); -x_396 = lean_unbox(x_394); -x_397 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_396, x_385); -if (x_397 == 0) +lean_object* x_401; lean_object* x_402; uint8_t x_403; uint8_t x_404; +x_401 = lean_ctor_get(x_399, 0); +x_402 = lean_ctor_get(x_399, 1); +x_403 = lean_unbox(x_401); +x_404 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_403, x_392); +if (x_404 == 0) { -uint8_t x_398; uint8_t x_399; uint8_t x_400; lean_object* x_401; +uint8_t x_405; uint8_t x_406; uint8_t x_407; lean_object* x_408; 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_398 = 1; -x_399 = lean_unbox(x_394); -lean_dec(x_394); -x_400 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_399, x_398); -x_401 = lean_box(x_400); -lean_ctor_set(x_392, 0, x_401); -return x_392; +x_405 = 1; +x_406 = lean_unbox(x_401); +lean_dec(x_401); +x_407 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_406, x_405); +x_408 = lean_box(x_407); +lean_ctor_set(x_399, 0, x_408); +return x_399; } else { -lean_object* x_402; lean_object* x_403; lean_object* x_404; uint8_t x_405; -lean_free_object(x_392); -lean_dec(x_394); -x_402 = lean_st_ref_get(x_6, x_395); -x_403 = lean_ctor_get(x_402, 1); -lean_inc(x_403); -lean_dec(x_402); -x_404 = lean_st_ref_get(x_4, x_403); -x_405 = !lean_is_exclusive(x_404); -if (x_405 == 0) -{ -lean_object* x_406; lean_object* x_407; lean_object* x_408; uint8_t x_409; -x_406 = lean_ctor_get(x_404, 0); -x_407 = lean_ctor_get(x_404, 1); -x_408 = lean_ctor_get(x_406, 0); -lean_inc(x_408); -lean_dec(x_406); -lean_inc(x_408); -x_409 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_408, x_1); -if (x_409 == 0) -{ -uint8_t x_410; -x_410 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_408, x_2); -if (x_410 == 0) -{ -lean_object* x_411; lean_object* x_441; uint8_t x_442; -x_441 = lean_ctor_get(x_3, 0); -lean_inc(x_441); -x_442 = lean_ctor_get_uint8(x_441, 4); -lean_dec(x_441); -if (x_442 == 0) -{ -uint8_t x_443; lean_object* x_444; -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_443 = 0; -x_444 = lean_box(x_443); -lean_ctor_set(x_404, 0, x_444); -return x_404; -} -else -{ -uint8_t x_445; -x_445 = l_Lean_Level_isMVar(x_1); -if (x_445 == 0) -{ -uint8_t x_446; -x_446 = l_Lean_Level_isMVar(x_2); -if (x_446 == 0) -{ -uint8_t x_447; lean_object* x_448; -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_447 = 0; -x_448 = lean_box(x_447); -lean_ctor_set(x_404, 0, x_448); -return x_404; -} -else -{ -lean_object* x_449; -lean_free_object(x_404); -x_449 = lean_box(0); -x_411 = x_449; -goto block_440; -} -} -else -{ -lean_object* x_450; -lean_free_object(x_404); -x_450 = lean_box(0); -x_411 = x_450; -goto block_440; -} -} -block_440: -{ -uint8_t x_412; lean_object* x_413; lean_object* x_428; lean_object* x_429; lean_object* x_430; uint8_t x_431; -lean_dec(x_411); -x_428 = lean_st_ref_get(x_6, x_407); -x_429 = lean_ctor_get(x_428, 0); -lean_inc(x_429); -x_430 = lean_ctor_get(x_429, 3); -lean_inc(x_430); -lean_dec(x_429); -x_431 = lean_ctor_get_uint8(x_430, sizeof(void*)*1); -lean_dec(x_430); -if (x_431 == 0) -{ -lean_object* x_432; uint8_t x_433; -x_432 = lean_ctor_get(x_428, 1); -lean_inc(x_432); -lean_dec(x_428); -x_433 = 0; -x_412 = x_433; -x_413 = x_432; -goto block_427; -} -else -{ -lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; uint8_t x_439; -x_434 = lean_ctor_get(x_428, 1); -lean_inc(x_434); -lean_dec(x_428); -x_435 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_436 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_435, x_3, x_4, x_5, x_6, x_434); -x_437 = lean_ctor_get(x_436, 0); -lean_inc(x_437); -x_438 = lean_ctor_get(x_436, 1); -lean_inc(x_438); -lean_dec(x_436); -x_439 = lean_unbox(x_437); -lean_dec(x_437); -x_412 = x_439; -x_413 = x_438; -goto block_427; -} -block_427: -{ +lean_object* x_409; lean_object* x_410; lean_object* x_411; uint8_t x_412; +lean_free_object(x_399); +lean_dec(x_401); +x_409 = lean_st_ref_get(x_6, x_402); +x_410 = lean_ctor_get(x_409, 1); +lean_inc(x_410); +lean_dec(x_409); +x_411 = lean_st_ref_get(x_4, x_410); +x_412 = !lean_is_exclusive(x_411); if (x_412 == 0) { -lean_object* x_414; +lean_object* x_413; lean_object* x_414; lean_object* x_415; uint8_t x_416; +x_413 = lean_ctor_get(x_411, 0); +x_414 = lean_ctor_get(x_411, 1); +x_415 = lean_ctor_get(x_413, 0); +lean_inc(x_415); +lean_dec(x_413); +lean_inc(x_415); +x_416 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_415, x_1); +if (x_416 == 0) +{ +uint8_t x_417; +x_417 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_415, x_2); +if (x_417 == 0) +{ +lean_object* x_418; lean_object* x_448; uint8_t x_449; +x_448 = lean_ctor_get(x_3, 0); +lean_inc(x_448); +x_449 = lean_ctor_get_uint8(x_448, 4); +lean_dec(x_448); +if (x_449 == 0) +{ +uint8_t x_450; lean_object* x_451; 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_414 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_413); -return x_414; +x_450 = 0; +x_451 = lean_box(x_450); +lean_ctor_set(x_411, 0, x_451); +return x_411; } else { -lean_object* x_415; lean_object* x_416; lean_object* 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; lean_object* x_426; -x_415 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_415, 0, x_1); -x_416 = l_Lean_KernelException_toMessageData___closed__15; -x_417 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_417, 0, x_416); -lean_ctor_set(x_417, 1, x_415); -x_418 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_419 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_419, 0, x_417); -lean_ctor_set(x_419, 1, x_418); -x_420 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_420, 0, x_2); -x_421 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_421, 0, x_419); -lean_ctor_set(x_421, 1, x_420); -x_422 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_422, 0, x_421); -lean_ctor_set(x_422, 1, x_416); -x_423 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_424 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_423, x_422, x_3, x_4, x_5, x_6, x_413); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_425 = lean_ctor_get(x_424, 1); -lean_inc(x_425); -lean_dec(x_424); -x_426 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_425); -return x_426; -} -} -} -} -else -{ -lean_object* x_451; uint8_t x_452; -lean_free_object(x_404); -x_451 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_407); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_452 = !lean_is_exclusive(x_451); +uint8_t x_452; +x_452 = l_Lean_Level_isMVar(x_1); if (x_452 == 0) { -lean_object* x_453; uint8_t x_454; lean_object* x_455; -x_453 = lean_ctor_get(x_451, 0); -lean_dec(x_453); -x_454 = 1; +uint8_t x_453; +x_453 = l_Lean_Level_isMVar(x_2); +if (x_453 == 0) +{ +uint8_t x_454; lean_object* x_455; +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_454 = 0; x_455 = lean_box(x_454); -lean_ctor_set(x_451, 0, x_455); -return x_451; +lean_ctor_set(x_411, 0, x_455); +return x_411; } else { -lean_object* x_456; uint8_t x_457; lean_object* x_458; lean_object* x_459; -x_456 = lean_ctor_get(x_451, 1); -lean_inc(x_456); -lean_dec(x_451); -x_457 = 1; -x_458 = lean_box(x_457); -x_459 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_459, 0, x_458); -lean_ctor_set(x_459, 1, x_456); -return x_459; -} +lean_object* x_456; +lean_free_object(x_411); +x_456 = lean_box(0); +x_418 = x_456; +goto block_447; } } else { -lean_object* x_460; uint8_t x_461; -lean_dec(x_408); -lean_free_object(x_404); -x_460 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_407); +lean_object* x_457; +lean_free_object(x_411); +x_457 = lean_box(0); +x_418 = x_457; +goto block_447; +} +} +block_447: +{ +uint8_t x_419; lean_object* x_420; lean_object* x_435; lean_object* x_436; lean_object* x_437; uint8_t x_438; +lean_dec(x_418); +x_435 = lean_st_ref_get(x_6, x_414); +x_436 = lean_ctor_get(x_435, 0); +lean_inc(x_436); +x_437 = lean_ctor_get(x_436, 3); +lean_inc(x_437); +lean_dec(x_436); +x_438 = lean_ctor_get_uint8(x_437, sizeof(void*)*1); +lean_dec(x_437); +if (x_438 == 0) +{ +lean_object* x_439; uint8_t x_440; +x_439 = lean_ctor_get(x_435, 1); +lean_inc(x_439); +lean_dec(x_435); +x_440 = 0; +x_419 = x_440; +x_420 = x_439; +goto block_434; +} +else +{ +lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; uint8_t x_446; +x_441 = lean_ctor_get(x_435, 1); +lean_inc(x_441); +lean_dec(x_435); +x_442 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_443 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_442, x_3, x_4, x_5, x_6, x_441); +x_444 = lean_ctor_get(x_443, 0); +lean_inc(x_444); +x_445 = lean_ctor_get(x_443, 1); +lean_inc(x_445); +lean_dec(x_443); +x_446 = lean_unbox(x_444); +lean_dec(x_444); +x_419 = x_446; +x_420 = x_445; +goto block_434; +} +block_434: +{ +if (x_419 == 0) +{ +lean_object* x_421; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_461 = !lean_is_exclusive(x_460); -if (x_461 == 0) -{ -lean_object* x_462; uint8_t x_463; lean_object* x_464; -x_462 = lean_ctor_get(x_460, 0); -lean_dec(x_462); -x_463 = 1; -x_464 = lean_box(x_463); -lean_ctor_set(x_460, 0, x_464); -return x_460; +lean_dec(x_2); +lean_dec(x_1); +x_421 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_420); +return x_421; } else { -lean_object* x_465; uint8_t x_466; lean_object* x_467; lean_object* x_468; -x_465 = lean_ctor_get(x_460, 1); -lean_inc(x_465); +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; +x_422 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_422, 0, x_1); +x_423 = l_Lean_KernelException_toMessageData___closed__15; +x_424 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_424, 0, x_423); +lean_ctor_set(x_424, 1, x_422); +x_425 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_426 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_426, 0, x_424); +lean_ctor_set(x_426, 1, x_425); +x_427 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_427, 0, x_2); +x_428 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_428, 0, x_426); +lean_ctor_set(x_428, 1, x_427); +x_429 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_429, 0, x_428); +lean_ctor_set(x_429, 1, x_423); +x_430 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_431 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_430, x_429, x_3, x_4, x_5, x_6, x_420); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_432 = lean_ctor_get(x_431, 1); +lean_inc(x_432); +lean_dec(x_431); +x_433 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_432); +return x_433; +} +} +} +} +else +{ +lean_object* x_458; uint8_t x_459; +lean_free_object(x_411); +x_458 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_414); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_459 = !lean_is_exclusive(x_458); +if (x_459 == 0) +{ +lean_object* x_460; uint8_t x_461; lean_object* x_462; +x_460 = lean_ctor_get(x_458, 0); lean_dec(x_460); -x_466 = 1; -x_467 = lean_box(x_466); -x_468 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_468, 0, x_467); -lean_ctor_set(x_468, 1, x_465); -return x_468; +x_461 = 1; +x_462 = lean_box(x_461); +lean_ctor_set(x_458, 0, x_462); +return x_458; +} +else +{ +lean_object* x_463; uint8_t x_464; lean_object* x_465; lean_object* x_466; +x_463 = lean_ctor_get(x_458, 1); +lean_inc(x_463); +lean_dec(x_458); +x_464 = 1; +x_465 = lean_box(x_464); +x_466 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_466, 0, x_465); +lean_ctor_set(x_466, 1, x_463); +return x_466; } } } else { -lean_object* x_469; lean_object* x_470; lean_object* x_471; uint8_t x_472; -x_469 = lean_ctor_get(x_404, 0); -x_470 = lean_ctor_get(x_404, 1); -lean_inc(x_470); -lean_inc(x_469); -lean_dec(x_404); -x_471 = lean_ctor_get(x_469, 0); -lean_inc(x_471); +lean_object* x_467; uint8_t x_468; +lean_dec(x_415); +lean_free_object(x_411); +x_467 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_414); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_468 = !lean_is_exclusive(x_467); +if (x_468 == 0) +{ +lean_object* x_469; uint8_t x_470; lean_object* x_471; +x_469 = lean_ctor_get(x_467, 0); lean_dec(x_469); -lean_inc(x_471); -x_472 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_471, x_1); -if (x_472 == 0) +x_470 = 1; +x_471 = lean_box(x_470); +lean_ctor_set(x_467, 0, x_471); +return x_467; +} +else { -uint8_t x_473; -x_473 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_471, x_2); -if (x_473 == 0) +lean_object* x_472; uint8_t x_473; lean_object* x_474; lean_object* x_475; +x_472 = lean_ctor_get(x_467, 1); +lean_inc(x_472); +lean_dec(x_467); +x_473 = 1; +x_474 = lean_box(x_473); +x_475 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_475, 0, x_474); +lean_ctor_set(x_475, 1, x_472); +return x_475; +} +} +} +else { -lean_object* x_474; lean_object* x_504; uint8_t x_505; -x_504 = lean_ctor_get(x_3, 0); -lean_inc(x_504); -x_505 = lean_ctor_get_uint8(x_504, 4); -lean_dec(x_504); -if (x_505 == 0) +lean_object* x_476; lean_object* x_477; lean_object* x_478; uint8_t x_479; +x_476 = lean_ctor_get(x_411, 0); +x_477 = lean_ctor_get(x_411, 1); +lean_inc(x_477); +lean_inc(x_476); +lean_dec(x_411); +x_478 = lean_ctor_get(x_476, 0); +lean_inc(x_478); +lean_dec(x_476); +lean_inc(x_478); +x_479 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_478, x_1); +if (x_479 == 0) { -uint8_t x_506; lean_object* x_507; lean_object* x_508; +uint8_t x_480; +x_480 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_478, x_2); +if (x_480 == 0) +{ +lean_object* x_481; lean_object* x_511; uint8_t x_512; +x_511 = lean_ctor_get(x_3, 0); +lean_inc(x_511); +x_512 = lean_ctor_get_uint8(x_511, 4); +lean_dec(x_511); +if (x_512 == 0) +{ +uint8_t x_513; lean_object* x_514; lean_object* x_515; 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_506 = 0; -x_507 = lean_box(x_506); -x_508 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_508, 0, x_507); -lean_ctor_set(x_508, 1, x_470); -return x_508; +x_513 = 0; +x_514 = lean_box(x_513); +x_515 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_515, 0, x_514); +lean_ctor_set(x_515, 1, x_477); +return x_515; } else { -uint8_t x_509; -x_509 = l_Lean_Level_isMVar(x_1); -if (x_509 == 0) +uint8_t x_516; +x_516 = l_Lean_Level_isMVar(x_1); +if (x_516 == 0) { -uint8_t x_510; -x_510 = l_Lean_Level_isMVar(x_2); -if (x_510 == 0) +uint8_t x_517; +x_517 = l_Lean_Level_isMVar(x_2); +if (x_517 == 0) { -uint8_t x_511; lean_object* x_512; lean_object* x_513; +uint8_t x_518; lean_object* x_519; lean_object* x_520; 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_511 = 0; -x_512 = lean_box(x_511); -x_513 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_513, 0, x_512); -lean_ctor_set(x_513, 1, x_470); -return x_513; +x_518 = 0; +x_519 = lean_box(x_518); +x_520 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_520, 0, x_519); +lean_ctor_set(x_520, 1, x_477); +return x_520; } else { -lean_object* x_514; -x_514 = lean_box(0); -x_474 = x_514; -goto block_503; +lean_object* x_521; +x_521 = lean_box(0); +x_481 = x_521; +goto block_510; } } else { -lean_object* x_515; -x_515 = lean_box(0); -x_474 = x_515; -goto block_503; +lean_object* x_522; +x_522 = lean_box(0); +x_481 = x_522; +goto block_510; } } -block_503: +block_510: { -uint8_t x_475; lean_object* x_476; lean_object* x_491; lean_object* x_492; lean_object* x_493; uint8_t x_494; -lean_dec(x_474); -x_491 = lean_st_ref_get(x_6, x_470); -x_492 = lean_ctor_get(x_491, 0); -lean_inc(x_492); -x_493 = lean_ctor_get(x_492, 3); -lean_inc(x_493); -lean_dec(x_492); -x_494 = lean_ctor_get_uint8(x_493, sizeof(void*)*1); -lean_dec(x_493); -if (x_494 == 0) -{ -lean_object* x_495; uint8_t x_496; -x_495 = lean_ctor_get(x_491, 1); -lean_inc(x_495); -lean_dec(x_491); -x_496 = 0; -x_475 = x_496; -x_476 = x_495; -goto block_490; -} -else -{ -lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; uint8_t x_502; -x_497 = lean_ctor_get(x_491, 1); -lean_inc(x_497); -lean_dec(x_491); -x_498 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_499 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_498, x_3, x_4, x_5, x_6, x_497); -x_500 = lean_ctor_get(x_499, 0); +uint8_t x_482; lean_object* x_483; lean_object* x_498; lean_object* x_499; lean_object* x_500; uint8_t x_501; +lean_dec(x_481); +x_498 = lean_st_ref_get(x_6, x_477); +x_499 = lean_ctor_get(x_498, 0); +lean_inc(x_499); +x_500 = lean_ctor_get(x_499, 3); lean_inc(x_500); -x_501 = lean_ctor_get(x_499, 1); -lean_inc(x_501); lean_dec(x_499); -x_502 = lean_unbox(x_500); +x_501 = lean_ctor_get_uint8(x_500, sizeof(void*)*1); lean_dec(x_500); -x_475 = x_502; -x_476 = x_501; -goto block_490; +if (x_501 == 0) +{ +lean_object* x_502; uint8_t x_503; +x_502 = lean_ctor_get(x_498, 1); +lean_inc(x_502); +lean_dec(x_498); +x_503 = 0; +x_482 = x_503; +x_483 = x_502; +goto block_497; } -block_490: +else { -if (x_475 == 0) +lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; uint8_t x_509; +x_504 = lean_ctor_get(x_498, 1); +lean_inc(x_504); +lean_dec(x_498); +x_505 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_506 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_505, x_3, x_4, x_5, x_6, x_504); +x_507 = lean_ctor_get(x_506, 0); +lean_inc(x_507); +x_508 = lean_ctor_get(x_506, 1); +lean_inc(x_508); +lean_dec(x_506); +x_509 = lean_unbox(x_507); +lean_dec(x_507); +x_482 = x_509; +x_483 = x_508; +goto block_497; +} +block_497: { -lean_object* x_477; +if (x_482 == 0) +{ +lean_object* x_484; 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_477 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_476); -return x_477; +x_484 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_483); +return x_484; } else { -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; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; -x_478 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_478, 0, x_1); -x_479 = l_Lean_KernelException_toMessageData___closed__15; -x_480 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_480, 0, x_479); -lean_ctor_set(x_480, 1, x_478); -x_481 = l_Lean_Meta_isLevelDefEqAux___closed__5; -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 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_483, 0, x_2); -x_484 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_484, 0, x_482); -lean_ctor_set(x_484, 1, x_483); -x_485 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_485, 0, x_484); -lean_ctor_set(x_485, 1, x_479); -x_486 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_487 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_486, x_485, x_3, x_4, x_5, x_6, x_476); +lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; +x_485 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_485, 0, x_1); +x_486 = l_Lean_KernelException_toMessageData___closed__15; +x_487 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_487, 0, x_486); +lean_ctor_set(x_487, 1, x_485); +x_488 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_489 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_489, 0, x_487); +lean_ctor_set(x_489, 1, x_488); +x_490 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_490, 0, x_2); +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_486); +x_493 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_494 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_493, x_492, x_3, x_4, x_5, x_6, x_483); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_488 = lean_ctor_get(x_487, 1); -lean_inc(x_488); -lean_dec(x_487); -x_489 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_488); -return x_489; +x_495 = lean_ctor_get(x_494, 1); +lean_inc(x_495); +lean_dec(x_494); +x_496 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_495); +return x_496; } } } } else { -lean_object* x_516; lean_object* x_517; lean_object* x_518; uint8_t x_519; lean_object* x_520; lean_object* x_521; -x_516 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_470); +lean_object* x_523; lean_object* x_524; lean_object* x_525; uint8_t x_526; lean_object* x_527; lean_object* x_528; +x_523 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_477); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_517 = lean_ctor_get(x_516, 1); -lean_inc(x_517); -if (lean_is_exclusive(x_516)) { - lean_ctor_release(x_516, 0); - lean_ctor_release(x_516, 1); - x_518 = x_516; +x_524 = lean_ctor_get(x_523, 1); +lean_inc(x_524); +if (lean_is_exclusive(x_523)) { + lean_ctor_release(x_523, 0); + lean_ctor_release(x_523, 1); + x_525 = x_523; } else { - lean_dec_ref(x_516); - x_518 = lean_box(0); + lean_dec_ref(x_523); + x_525 = lean_box(0); } -x_519 = 1; -x_520 = lean_box(x_519); -if (lean_is_scalar(x_518)) { - x_521 = lean_alloc_ctor(0, 2, 0); +x_526 = 1; +x_527 = lean_box(x_526); +if (lean_is_scalar(x_525)) { + x_528 = lean_alloc_ctor(0, 2, 0); } else { - x_521 = x_518; + x_528 = x_525; } -lean_ctor_set(x_521, 0, x_520); -lean_ctor_set(x_521, 1, x_517); -return x_521; +lean_ctor_set(x_528, 0, x_527); +lean_ctor_set(x_528, 1, x_524); +return x_528; } } else { -lean_object* x_522; lean_object* x_523; lean_object* x_524; uint8_t x_525; lean_object* x_526; lean_object* x_527; -lean_dec(x_471); -x_522 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_470); +lean_object* x_529; lean_object* x_530; lean_object* x_531; uint8_t x_532; lean_object* x_533; lean_object* x_534; +lean_dec(x_478); +x_529 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_477); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_523 = lean_ctor_get(x_522, 1); -lean_inc(x_523); -if (lean_is_exclusive(x_522)) { - lean_ctor_release(x_522, 0); - lean_ctor_release(x_522, 1); - x_524 = x_522; +x_530 = lean_ctor_get(x_529, 1); +lean_inc(x_530); +if (lean_is_exclusive(x_529)) { + lean_ctor_release(x_529, 0); + lean_ctor_release(x_529, 1); + x_531 = x_529; } else { - lean_dec_ref(x_522); - x_524 = lean_box(0); + lean_dec_ref(x_529); + x_531 = lean_box(0); } -x_525 = 1; -x_526 = lean_box(x_525); -if (lean_is_scalar(x_524)) { - x_527 = lean_alloc_ctor(0, 2, 0); -} else { - x_527 = x_524; -} -lean_ctor_set(x_527, 0, x_526); -lean_ctor_set(x_527, 1, x_523); -return x_527; -} -} -} -} -else -{ -lean_object* x_528; lean_object* x_529; uint8_t x_530; uint8_t x_531; -x_528 = lean_ctor_get(x_392, 0); -x_529 = lean_ctor_get(x_392, 1); -lean_inc(x_529); -lean_inc(x_528); -lean_dec(x_392); -x_530 = lean_unbox(x_528); -x_531 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_530, x_385); -if (x_531 == 0) -{ -uint8_t x_532; uint8_t x_533; uint8_t x_534; lean_object* x_535; lean_object* x_536; -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_532 = 1; -x_533 = lean_unbox(x_528); -lean_dec(x_528); -x_534 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_533, x_532); -x_535 = lean_box(x_534); -x_536 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_536, 0, x_535); -lean_ctor_set(x_536, 1, x_529); -return x_536; +x_533 = lean_box(x_532); +if (lean_is_scalar(x_531)) { + x_534 = lean_alloc_ctor(0, 2, 0); +} else { + x_534 = x_531; +} +lean_ctor_set(x_534, 0, x_533); +lean_ctor_set(x_534, 1, x_530); +return x_534; +} +} +} } else { -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; uint8_t x_544; -lean_dec(x_528); -x_537 = lean_st_ref_get(x_6, x_529); -x_538 = lean_ctor_get(x_537, 1); -lean_inc(x_538); -lean_dec(x_537); -x_539 = lean_st_ref_get(x_4, x_538); -x_540 = lean_ctor_get(x_539, 0); -lean_inc(x_540); -x_541 = lean_ctor_get(x_539, 1); -lean_inc(x_541); -if (lean_is_exclusive(x_539)) { - lean_ctor_release(x_539, 0); - lean_ctor_release(x_539, 1); - x_542 = x_539; -} else { - lean_dec_ref(x_539); - x_542 = lean_box(0); -} -x_543 = lean_ctor_get(x_540, 0); -lean_inc(x_543); -lean_dec(x_540); -lean_inc(x_543); -x_544 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_543, x_1); -if (x_544 == 0) +lean_object* x_535; lean_object* x_536; uint8_t x_537; uint8_t x_538; +x_535 = lean_ctor_get(x_399, 0); +x_536 = lean_ctor_get(x_399, 1); +lean_inc(x_536); +lean_inc(x_535); +lean_dec(x_399); +x_537 = lean_unbox(x_535); +x_538 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_537, x_392); +if (x_538 == 0) { -uint8_t x_545; -x_545 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_543, x_2); -if (x_545 == 0) -{ -lean_object* x_546; lean_object* x_576; uint8_t x_577; -x_576 = lean_ctor_get(x_3, 0); -lean_inc(x_576); -x_577 = lean_ctor_get_uint8(x_576, 4); -lean_dec(x_576); -if (x_577 == 0) -{ -uint8_t x_578; lean_object* x_579; lean_object* x_580; +uint8_t x_539; uint8_t x_540; uint8_t x_541; lean_object* x_542; lean_object* x_543; 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_578 = 0; -x_579 = lean_box(x_578); -if (lean_is_scalar(x_542)) { - x_580 = lean_alloc_ctor(0, 2, 0); -} else { - x_580 = x_542; -} -lean_ctor_set(x_580, 0, x_579); -lean_ctor_set(x_580, 1, x_541); -return x_580; +x_539 = 1; +x_540 = lean_unbox(x_535); +lean_dec(x_535); +x_541 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_540, x_539); +x_542 = lean_box(x_541); +x_543 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_543, 0, x_542); +lean_ctor_set(x_543, 1, x_536); +return x_543; } else { -uint8_t x_581; -x_581 = l_Lean_Level_isMVar(x_1); -if (x_581 == 0) +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; uint8_t x_551; +lean_dec(x_535); +x_544 = lean_st_ref_get(x_6, x_536); +x_545 = lean_ctor_get(x_544, 1); +lean_inc(x_545); +lean_dec(x_544); +x_546 = lean_st_ref_get(x_4, x_545); +x_547 = lean_ctor_get(x_546, 0); +lean_inc(x_547); +x_548 = lean_ctor_get(x_546, 1); +lean_inc(x_548); +if (lean_is_exclusive(x_546)) { + lean_ctor_release(x_546, 0); + lean_ctor_release(x_546, 1); + x_549 = x_546; +} else { + lean_dec_ref(x_546); + x_549 = lean_box(0); +} +x_550 = lean_ctor_get(x_547, 0); +lean_inc(x_550); +lean_dec(x_547); +lean_inc(x_550); +x_551 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_550, x_1); +if (x_551 == 0) { -uint8_t x_582; -x_582 = l_Lean_Level_isMVar(x_2); -if (x_582 == 0) +uint8_t x_552; +x_552 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_550, x_2); +if (x_552 == 0) { -uint8_t x_583; lean_object* x_584; lean_object* x_585; +lean_object* x_553; lean_object* x_583; uint8_t x_584; +x_583 = lean_ctor_get(x_3, 0); +lean_inc(x_583); +x_584 = lean_ctor_get_uint8(x_583, 4); +lean_dec(x_583); +if (x_584 == 0) +{ +uint8_t x_585; lean_object* x_586; lean_object* x_587; 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_583 = 0; -x_584 = lean_box(x_583); -if (lean_is_scalar(x_542)) { - x_585 = lean_alloc_ctor(0, 2, 0); +x_585 = 0; +x_586 = lean_box(x_585); +if (lean_is_scalar(x_549)) { + x_587 = lean_alloc_ctor(0, 2, 0); } else { - x_585 = x_542; + x_587 = x_549; } -lean_ctor_set(x_585, 0, x_584); -lean_ctor_set(x_585, 1, x_541); -return x_585; +lean_ctor_set(x_587, 0, x_586); +lean_ctor_set(x_587, 1, x_548); +return x_587; } else { -lean_object* x_586; -lean_dec(x_542); -x_586 = lean_box(0); -x_546 = x_586; -goto block_575; +uint8_t x_588; +x_588 = l_Lean_Level_isMVar(x_1); +if (x_588 == 0) +{ +uint8_t x_589; +x_589 = l_Lean_Level_isMVar(x_2); +if (x_589 == 0) +{ +uint8_t x_590; lean_object* x_591; lean_object* x_592; +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_590 = 0; +x_591 = lean_box(x_590); +if (lean_is_scalar(x_549)) { + x_592 = lean_alloc_ctor(0, 2, 0); +} else { + x_592 = x_549; +} +lean_ctor_set(x_592, 0, x_591); +lean_ctor_set(x_592, 1, x_548); +return x_592; +} +else +{ +lean_object* x_593; +lean_dec(x_549); +x_593 = lean_box(0); +x_553 = x_593; +goto block_582; } } else { -lean_object* x_587; -lean_dec(x_542); -x_587 = lean_box(0); -x_546 = x_587; -goto block_575; +lean_object* x_594; +lean_dec(x_549); +x_594 = lean_box(0); +x_553 = x_594; +goto block_582; } } -block_575: +block_582: { -uint8_t x_547; lean_object* x_548; lean_object* x_563; lean_object* x_564; lean_object* x_565; uint8_t x_566; -lean_dec(x_546); -x_563 = lean_st_ref_get(x_6, x_541); -x_564 = lean_ctor_get(x_563, 0); -lean_inc(x_564); -x_565 = lean_ctor_get(x_564, 3); -lean_inc(x_565); -lean_dec(x_564); -x_566 = lean_ctor_get_uint8(x_565, sizeof(void*)*1); -lean_dec(x_565); -if (x_566 == 0) -{ -lean_object* x_567; uint8_t x_568; -x_567 = lean_ctor_get(x_563, 1); -lean_inc(x_567); -lean_dec(x_563); -x_568 = 0; -x_547 = x_568; -x_548 = x_567; -goto block_562; -} -else -{ -lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; uint8_t x_574; -x_569 = lean_ctor_get(x_563, 1); -lean_inc(x_569); -lean_dec(x_563); -x_570 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_571 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_570, x_3, x_4, x_5, x_6, x_569); -x_572 = lean_ctor_get(x_571, 0); +uint8_t x_554; lean_object* x_555; lean_object* x_570; lean_object* x_571; lean_object* x_572; uint8_t x_573; +lean_dec(x_553); +x_570 = lean_st_ref_get(x_6, x_548); +x_571 = lean_ctor_get(x_570, 0); +lean_inc(x_571); +x_572 = lean_ctor_get(x_571, 3); lean_inc(x_572); -x_573 = lean_ctor_get(x_571, 1); -lean_inc(x_573); lean_dec(x_571); -x_574 = lean_unbox(x_572); +x_573 = lean_ctor_get_uint8(x_572, sizeof(void*)*1); lean_dec(x_572); -x_547 = x_574; -x_548 = x_573; -goto block_562; +if (x_573 == 0) +{ +lean_object* x_574; uint8_t x_575; +x_574 = lean_ctor_get(x_570, 1); +lean_inc(x_574); +lean_dec(x_570); +x_575 = 0; +x_554 = x_575; +x_555 = x_574; +goto block_569; } -block_562: +else { -if (x_547 == 0) +lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; uint8_t x_581; +x_576 = lean_ctor_get(x_570, 1); +lean_inc(x_576); +lean_dec(x_570); +x_577 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_578 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_577, x_3, x_4, x_5, x_6, x_576); +x_579 = lean_ctor_get(x_578, 0); +lean_inc(x_579); +x_580 = lean_ctor_get(x_578, 1); +lean_inc(x_580); +lean_dec(x_578); +x_581 = lean_unbox(x_579); +lean_dec(x_579); +x_554 = x_581; +x_555 = x_580; +goto block_569; +} +block_569: { -lean_object* x_549; +if (x_554 == 0) +{ +lean_object* x_556; 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_549 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_548); -return x_549; +x_556 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_555); +return x_556; } else { -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; -x_550 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_550, 0, x_1); -x_551 = l_Lean_KernelException_toMessageData___closed__15; -x_552 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_552, 0, x_551); -lean_ctor_set(x_552, 1, x_550); -x_553 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_554 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_554, 0, x_552); -lean_ctor_set(x_554, 1, x_553); -x_555 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_555, 0, x_2); -x_556 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_556, 0, x_554); -lean_ctor_set(x_556, 1, x_555); -x_557 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_557, 0, x_556); -lean_ctor_set(x_557, 1, x_551); -x_558 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_559 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_558, x_557, x_3, x_4, x_5, x_6, x_548); +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; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; +x_557 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_557, 0, x_1); +x_558 = l_Lean_KernelException_toMessageData___closed__15; +x_559 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_559, 0, x_558); +lean_ctor_set(x_559, 1, x_557); +x_560 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_561 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_561, 0, x_559); +lean_ctor_set(x_561, 1, x_560); +x_562 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_562, 0, x_2); +x_563 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_563, 0, x_561); +lean_ctor_set(x_563, 1, x_562); +x_564 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_564, 0, x_563); +lean_ctor_set(x_564, 1, x_558); +x_565 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_566 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_565, x_564, x_3, x_4, x_5, x_6, x_555); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_560 = lean_ctor_get(x_559, 1); -lean_inc(x_560); -lean_dec(x_559); -x_561 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_560); -return x_561; +x_567 = lean_ctor_get(x_566, 1); +lean_inc(x_567); +lean_dec(x_566); +x_568 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_567); +return x_568; } } } } else { -lean_object* x_588; lean_object* x_589; lean_object* x_590; uint8_t x_591; lean_object* x_592; lean_object* x_593; -lean_dec(x_542); -x_588 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_541); +lean_object* x_595; lean_object* x_596; lean_object* x_597; uint8_t x_598; lean_object* x_599; lean_object* x_600; +lean_dec(x_549); +x_595 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_548); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_589 = lean_ctor_get(x_588, 1); -lean_inc(x_589); -if (lean_is_exclusive(x_588)) { - lean_ctor_release(x_588, 0); - lean_ctor_release(x_588, 1); - x_590 = x_588; +x_596 = lean_ctor_get(x_595, 1); +lean_inc(x_596); +if (lean_is_exclusive(x_595)) { + lean_ctor_release(x_595, 0); + lean_ctor_release(x_595, 1); + x_597 = x_595; } else { - lean_dec_ref(x_588); - x_590 = lean_box(0); + lean_dec_ref(x_595); + x_597 = lean_box(0); } -x_591 = 1; -x_592 = lean_box(x_591); -if (lean_is_scalar(x_590)) { - x_593 = lean_alloc_ctor(0, 2, 0); +x_598 = 1; +x_599 = lean_box(x_598); +if (lean_is_scalar(x_597)) { + x_600 = lean_alloc_ctor(0, 2, 0); } else { - x_593 = x_590; + x_600 = x_597; } -lean_ctor_set(x_593, 0, x_592); -lean_ctor_set(x_593, 1, x_589); -return x_593; +lean_ctor_set(x_600, 0, x_599); +lean_ctor_set(x_600, 1, x_596); +return x_600; } } else { -lean_object* x_594; lean_object* x_595; lean_object* x_596; uint8_t x_597; lean_object* x_598; lean_object* x_599; -lean_dec(x_543); -lean_dec(x_542); -x_594 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_541); +lean_object* x_601; lean_object* x_602; lean_object* x_603; uint8_t x_604; lean_object* x_605; lean_object* x_606; +lean_dec(x_550); +lean_dec(x_549); +x_601 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_548); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_595 = lean_ctor_get(x_594, 1); -lean_inc(x_595); -if (lean_is_exclusive(x_594)) { - lean_ctor_release(x_594, 0); - lean_ctor_release(x_594, 1); - x_596 = x_594; -} else { - lean_dec_ref(x_594); - x_596 = lean_box(0); -} -x_597 = 1; -x_598 = lean_box(x_597); -if (lean_is_scalar(x_596)) { - x_599 = lean_alloc_ctor(0, 2, 0); -} else { - x_599 = x_596; -} -lean_ctor_set(x_599, 0, x_598); -lean_ctor_set(x_599, 1, x_595); -return x_599; -} -} -} -} -else -{ -uint8_t x_600; -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_600 = !lean_is_exclusive(x_392); -if (x_600 == 0) -{ -return x_392; -} -else -{ -lean_object* x_601; lean_object* x_602; lean_object* x_603; -x_601 = lean_ctor_get(x_392, 0); -x_602 = lean_ctor_get(x_392, 1); +x_602 = lean_ctor_get(x_601, 1); lean_inc(x_602); -lean_inc(x_601); -lean_dec(x_392); -x_603 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_603, 0, x_601); -lean_ctor_set(x_603, 1, x_602); -return x_603; +if (lean_is_exclusive(x_601)) { + lean_ctor_release(x_601, 0); + lean_ctor_release(x_601, 1); + x_603 = x_601; +} else { + lean_dec_ref(x_601); + x_603 = lean_box(0); +} +x_604 = 1; +x_605 = lean_box(x_604); +if (lean_is_scalar(x_603)) { + x_606 = lean_alloc_ctor(0, 2, 0); +} else { + x_606 = x_603; +} +lean_ctor_set(x_606, 0, x_605); +lean_ctor_set(x_606, 1, x_602); +return x_606; } } } } else { -lean_object* x_604; lean_object* x_605; uint8_t x_606; uint8_t x_607; uint8_t x_608; -x_604 = lean_ctor_get(x_381, 0); -x_605 = lean_ctor_get(x_381, 1); -lean_inc(x_605); -lean_inc(x_604); -lean_dec(x_381); -x_606 = 2; -x_607 = lean_unbox(x_604); -x_608 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_607, x_606); -if (x_608 == 0) -{ -uint8_t x_609; uint8_t x_610; uint8_t x_611; lean_object* x_612; lean_object* x_613; +uint8_t x_607; 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_609 = 1; -x_610 = lean_unbox(x_604); -lean_dec(x_604); -x_611 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_610, x_609); -x_612 = lean_box(x_611); -x_613 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_613, 0, x_612); -lean_ctor_set(x_613, 1, x_605); -return x_613; +x_607 = !lean_is_exclusive(x_399); +if (x_607 == 0) +{ +return x_399; } else { -lean_object* x_614; -lean_dec(x_604); +lean_object* x_608; lean_object* x_609; lean_object* x_610; +x_608 = lean_ctor_get(x_399, 0); +x_609 = lean_ctor_get(x_399, 1); +lean_inc(x_609); +lean_inc(x_608); +lean_dec(x_399); +x_610 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_610, 0, x_608); +lean_ctor_set(x_610, 1, x_609); +return x_610; +} +} +} +} +else +{ +lean_object* x_611; lean_object* x_612; uint8_t x_613; uint8_t x_614; uint8_t x_615; +x_611 = lean_ctor_get(x_388, 0); +x_612 = lean_ctor_get(x_388, 1); +lean_inc(x_612); +lean_inc(x_611); +lean_dec(x_388); +x_613 = 2; +x_614 = lean_unbox(x_611); +x_615 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_614, x_613); +if (x_615 == 0) +{ +uint8_t x_616; uint8_t x_617; uint8_t x_618; lean_object* x_619; lean_object* x_620; +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_616 = 1; +x_617 = lean_unbox(x_611); +lean_dec(x_611); +x_618 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_617, x_616); +x_619 = lean_box(x_618); +x_620 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_620, 0, x_619); +lean_ctor_set(x_620, 1, x_612); +return x_620; +} +else +{ +lean_object* x_621; +lean_dec(x_611); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_614 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_605); -if (lean_obj_tag(x_614) == 0) +x_621 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_612); +if (lean_obj_tag(x_621) == 0) { -lean_object* x_615; lean_object* x_616; lean_object* x_617; uint8_t x_618; uint8_t x_619; -x_615 = lean_ctor_get(x_614, 0); -lean_inc(x_615); -x_616 = lean_ctor_get(x_614, 1); -lean_inc(x_616); -if (lean_is_exclusive(x_614)) { - lean_ctor_release(x_614, 0); - lean_ctor_release(x_614, 1); - x_617 = x_614; +lean_object* x_622; lean_object* x_623; lean_object* x_624; uint8_t x_625; uint8_t x_626; +x_622 = lean_ctor_get(x_621, 0); +lean_inc(x_622); +x_623 = lean_ctor_get(x_621, 1); +lean_inc(x_623); +if (lean_is_exclusive(x_621)) { + lean_ctor_release(x_621, 0); + lean_ctor_release(x_621, 1); + x_624 = x_621; } else { - lean_dec_ref(x_614); - x_617 = lean_box(0); + lean_dec_ref(x_621); + x_624 = lean_box(0); } -x_618 = lean_unbox(x_615); -x_619 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_618, x_606); -if (x_619 == 0) +x_625 = lean_unbox(x_622); +x_626 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_625, x_613); +if (x_626 == 0) { -uint8_t x_620; uint8_t x_621; uint8_t x_622; lean_object* x_623; lean_object* x_624; +uint8_t x_627; uint8_t x_628; uint8_t x_629; lean_object* x_630; lean_object* x_631; 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_620 = 1; -x_621 = lean_unbox(x_615); -lean_dec(x_615); -x_622 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_621, x_620); -x_623 = lean_box(x_622); -if (lean_is_scalar(x_617)) { - x_624 = lean_alloc_ctor(0, 2, 0); +x_627 = 1; +x_628 = lean_unbox(x_622); +lean_dec(x_622); +x_629 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_628, x_627); +x_630 = lean_box(x_629); +if (lean_is_scalar(x_624)) { + x_631 = lean_alloc_ctor(0, 2, 0); } else { - x_624 = x_617; + x_631 = x_624; } -lean_ctor_set(x_624, 0, x_623); -lean_ctor_set(x_624, 1, x_616); -return x_624; +lean_ctor_set(x_631, 0, x_630); +lean_ctor_set(x_631, 1, x_623); +return x_631; } else { -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; uint8_t x_632; -lean_dec(x_617); -lean_dec(x_615); -x_625 = lean_st_ref_get(x_6, x_616); -x_626 = lean_ctor_get(x_625, 1); -lean_inc(x_626); -lean_dec(x_625); -x_627 = lean_st_ref_get(x_4, x_626); -x_628 = lean_ctor_get(x_627, 0); -lean_inc(x_628); -x_629 = lean_ctor_get(x_627, 1); -lean_inc(x_629); -if (lean_is_exclusive(x_627)) { - lean_ctor_release(x_627, 0); - lean_ctor_release(x_627, 1); - x_630 = x_627; +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; uint8_t x_639; +lean_dec(x_624); +lean_dec(x_622); +x_632 = lean_st_ref_get(x_6, x_623); +x_633 = lean_ctor_get(x_632, 1); +lean_inc(x_633); +lean_dec(x_632); +x_634 = lean_st_ref_get(x_4, x_633); +x_635 = lean_ctor_get(x_634, 0); +lean_inc(x_635); +x_636 = lean_ctor_get(x_634, 1); +lean_inc(x_636); +if (lean_is_exclusive(x_634)) { + lean_ctor_release(x_634, 0); + lean_ctor_release(x_634, 1); + x_637 = x_634; } else { - lean_dec_ref(x_627); - x_630 = lean_box(0); + lean_dec_ref(x_634); + x_637 = lean_box(0); } -x_631 = lean_ctor_get(x_628, 0); -lean_inc(x_631); -lean_dec(x_628); -lean_inc(x_631); -x_632 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_631, x_1); -if (x_632 == 0) +x_638 = lean_ctor_get(x_635, 0); +lean_inc(x_638); +lean_dec(x_635); +lean_inc(x_638); +x_639 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_638, x_1); +if (x_639 == 0) { -uint8_t x_633; -x_633 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_631, x_2); -if (x_633 == 0) +uint8_t x_640; +x_640 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_638, x_2); +if (x_640 == 0) { -lean_object* x_634; lean_object* x_664; uint8_t x_665; -x_664 = lean_ctor_get(x_3, 0); -lean_inc(x_664); -x_665 = lean_ctor_get_uint8(x_664, 4); -lean_dec(x_664); -if (x_665 == 0) +lean_object* x_641; lean_object* x_671; uint8_t x_672; +x_671 = lean_ctor_get(x_3, 0); +lean_inc(x_671); +x_672 = lean_ctor_get_uint8(x_671, 4); +lean_dec(x_671); +if (x_672 == 0) { -uint8_t x_666; lean_object* x_667; lean_object* x_668; +uint8_t x_673; lean_object* x_674; lean_object* x_675; 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_666 = 0; -x_667 = lean_box(x_666); -if (lean_is_scalar(x_630)) { - x_668 = lean_alloc_ctor(0, 2, 0); +x_673 = 0; +x_674 = lean_box(x_673); +if (lean_is_scalar(x_637)) { + x_675 = lean_alloc_ctor(0, 2, 0); } else { - x_668 = x_630; + x_675 = x_637; } -lean_ctor_set(x_668, 0, x_667); -lean_ctor_set(x_668, 1, x_629); -return x_668; +lean_ctor_set(x_675, 0, x_674); +lean_ctor_set(x_675, 1, x_636); +return x_675; } else { -uint8_t x_669; -x_669 = l_Lean_Level_isMVar(x_1); -if (x_669 == 0) +uint8_t x_676; +x_676 = l_Lean_Level_isMVar(x_1); +if (x_676 == 0) { -uint8_t x_670; -x_670 = l_Lean_Level_isMVar(x_2); -if (x_670 == 0) +uint8_t x_677; +x_677 = l_Lean_Level_isMVar(x_2); +if (x_677 == 0) { -uint8_t x_671; lean_object* x_672; lean_object* x_673; +uint8_t x_678; lean_object* x_679; lean_object* x_680; 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_671 = 0; -x_672 = lean_box(x_671); -if (lean_is_scalar(x_630)) { - x_673 = lean_alloc_ctor(0, 2, 0); +x_678 = 0; +x_679 = lean_box(x_678); +if (lean_is_scalar(x_637)) { + x_680 = lean_alloc_ctor(0, 2, 0); } else { - x_673 = x_630; + x_680 = x_637; } -lean_ctor_set(x_673, 0, x_672); -lean_ctor_set(x_673, 1, x_629); -return x_673; +lean_ctor_set(x_680, 0, x_679); +lean_ctor_set(x_680, 1, x_636); +return x_680; } else { -lean_object* x_674; -lean_dec(x_630); -x_674 = lean_box(0); -x_634 = x_674; -goto block_663; +lean_object* x_681; +lean_dec(x_637); +x_681 = lean_box(0); +x_641 = x_681; +goto block_670; } } else { -lean_object* x_675; -lean_dec(x_630); -x_675 = lean_box(0); -x_634 = x_675; -goto block_663; +lean_object* x_682; +lean_dec(x_637); +x_682 = lean_box(0); +x_641 = x_682; +goto block_670; } } -block_663: +block_670: { -uint8_t x_635; lean_object* x_636; lean_object* x_651; lean_object* x_652; lean_object* x_653; uint8_t x_654; -lean_dec(x_634); -x_651 = lean_st_ref_get(x_6, x_629); -x_652 = lean_ctor_get(x_651, 0); -lean_inc(x_652); -x_653 = lean_ctor_get(x_652, 3); -lean_inc(x_653); -lean_dec(x_652); -x_654 = lean_ctor_get_uint8(x_653, sizeof(void*)*1); -lean_dec(x_653); -if (x_654 == 0) -{ -lean_object* x_655; uint8_t x_656; -x_655 = lean_ctor_get(x_651, 1); -lean_inc(x_655); -lean_dec(x_651); -x_656 = 0; -x_635 = x_656; -x_636 = x_655; -goto block_650; -} -else -{ -lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; uint8_t x_662; -x_657 = lean_ctor_get(x_651, 1); -lean_inc(x_657); -lean_dec(x_651); -x_658 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_659 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_658, x_3, x_4, x_5, x_6, x_657); -x_660 = lean_ctor_get(x_659, 0); +uint8_t x_642; lean_object* x_643; lean_object* x_658; lean_object* x_659; lean_object* x_660; uint8_t x_661; +lean_dec(x_641); +x_658 = lean_st_ref_get(x_6, x_636); +x_659 = lean_ctor_get(x_658, 0); +lean_inc(x_659); +x_660 = lean_ctor_get(x_659, 3); lean_inc(x_660); -x_661 = lean_ctor_get(x_659, 1); -lean_inc(x_661); lean_dec(x_659); -x_662 = lean_unbox(x_660); +x_661 = lean_ctor_get_uint8(x_660, sizeof(void*)*1); lean_dec(x_660); -x_635 = x_662; -x_636 = x_661; -goto block_650; +if (x_661 == 0) +{ +lean_object* x_662; uint8_t x_663; +x_662 = lean_ctor_get(x_658, 1); +lean_inc(x_662); +lean_dec(x_658); +x_663 = 0; +x_642 = x_663; +x_643 = x_662; +goto block_657; } -block_650: +else { -if (x_635 == 0) +lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; uint8_t x_669; +x_664 = lean_ctor_get(x_658, 1); +lean_inc(x_664); +lean_dec(x_658); +x_665 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_666 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_665, x_3, x_4, x_5, x_6, x_664); +x_667 = lean_ctor_get(x_666, 0); +lean_inc(x_667); +x_668 = lean_ctor_get(x_666, 1); +lean_inc(x_668); +lean_dec(x_666); +x_669 = lean_unbox(x_667); +lean_dec(x_667); +x_642 = x_669; +x_643 = x_668; +goto block_657; +} +block_657: { -lean_object* x_637; +if (x_642 == 0) +{ +lean_object* x_644; 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_637 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_636); -return x_637; +x_644 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_643); +return x_644; } else { -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; lean_object* x_647; lean_object* x_648; lean_object* x_649; -x_638 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_638, 0, x_1); -x_639 = l_Lean_KernelException_toMessageData___closed__15; -x_640 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_640, 0, x_639); -lean_ctor_set(x_640, 1, x_638); -x_641 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_642 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_642, 0, x_640); -lean_ctor_set(x_642, 1, x_641); -x_643 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_643, 0, x_2); -x_644 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_644, 0, x_642); -lean_ctor_set(x_644, 1, x_643); -x_645 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_645, 0, x_644); -lean_ctor_set(x_645, 1, x_639); -x_646 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_647 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_646, x_645, x_3, x_4, x_5, x_6, x_636); +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; +x_645 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_645, 0, x_1); +x_646 = l_Lean_KernelException_toMessageData___closed__15; +x_647 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_647, 0, x_646); +lean_ctor_set(x_647, 1, x_645); +x_648 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_649 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_649, 0, x_647); +lean_ctor_set(x_649, 1, x_648); +x_650 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_650, 0, x_2); +x_651 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_651, 0, x_649); +lean_ctor_set(x_651, 1, x_650); +x_652 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_652, 0, x_651); +lean_ctor_set(x_652, 1, x_646); +x_653 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_654 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_653, x_652, x_3, x_4, x_5, x_6, x_643); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_648 = lean_ctor_get(x_647, 1); -lean_inc(x_648); -lean_dec(x_647); -x_649 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_648); -return x_649; +x_655 = lean_ctor_get(x_654, 1); +lean_inc(x_655); +lean_dec(x_654); +x_656 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_655); +return x_656; } } } } else { -lean_object* x_676; lean_object* x_677; lean_object* x_678; uint8_t x_679; lean_object* x_680; lean_object* x_681; -lean_dec(x_630); -x_676 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_629); +lean_object* x_683; lean_object* x_684; lean_object* x_685; uint8_t x_686; lean_object* x_687; lean_object* x_688; +lean_dec(x_637); +x_683 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_636); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_677 = lean_ctor_get(x_676, 1); -lean_inc(x_677); -if (lean_is_exclusive(x_676)) { - lean_ctor_release(x_676, 0); - lean_ctor_release(x_676, 1); - x_678 = x_676; +x_684 = lean_ctor_get(x_683, 1); +lean_inc(x_684); +if (lean_is_exclusive(x_683)) { + lean_ctor_release(x_683, 0); + lean_ctor_release(x_683, 1); + x_685 = x_683; } else { - lean_dec_ref(x_676); - x_678 = lean_box(0); + lean_dec_ref(x_683); + x_685 = lean_box(0); } -x_679 = 1; -x_680 = lean_box(x_679); -if (lean_is_scalar(x_678)) { - x_681 = lean_alloc_ctor(0, 2, 0); +x_686 = 1; +x_687 = lean_box(x_686); +if (lean_is_scalar(x_685)) { + x_688 = lean_alloc_ctor(0, 2, 0); } else { - x_681 = x_678; + x_688 = x_685; } -lean_ctor_set(x_681, 0, x_680); -lean_ctor_set(x_681, 1, x_677); -return x_681; +lean_ctor_set(x_688, 0, x_687); +lean_ctor_set(x_688, 1, x_684); +return x_688; } } else { -lean_object* x_682; lean_object* x_683; lean_object* x_684; uint8_t x_685; lean_object* x_686; lean_object* x_687; -lean_dec(x_631); -lean_dec(x_630); -x_682 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_629); +lean_object* x_689; lean_object* x_690; lean_object* x_691; uint8_t x_692; lean_object* x_693; lean_object* x_694; +lean_dec(x_638); +lean_dec(x_637); +x_689 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_636); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_683 = lean_ctor_get(x_682, 1); -lean_inc(x_683); -if (lean_is_exclusive(x_682)) { - lean_ctor_release(x_682, 0); - lean_ctor_release(x_682, 1); - x_684 = x_682; +x_690 = lean_ctor_get(x_689, 1); +lean_inc(x_690); +if (lean_is_exclusive(x_689)) { + lean_ctor_release(x_689, 0); + lean_ctor_release(x_689, 1); + x_691 = x_689; } else { - lean_dec_ref(x_682); - x_684 = lean_box(0); + lean_dec_ref(x_689); + x_691 = lean_box(0); } -x_685 = 1; -x_686 = lean_box(x_685); -if (lean_is_scalar(x_684)) { - x_687 = lean_alloc_ctor(0, 2, 0); +x_692 = 1; +x_693 = lean_box(x_692); +if (lean_is_scalar(x_691)) { + x_694 = lean_alloc_ctor(0, 2, 0); } else { - x_687 = x_684; + x_694 = x_691; } -lean_ctor_set(x_687, 0, x_686); -lean_ctor_set(x_687, 1, x_683); -return x_687; +lean_ctor_set(x_694, 0, x_693); +lean_ctor_set(x_694, 1, x_690); +return x_694; } } } else { -lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; +lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; 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_688 = lean_ctor_get(x_614, 0); -lean_inc(x_688); -x_689 = lean_ctor_get(x_614, 1); -lean_inc(x_689); -if (lean_is_exclusive(x_614)) { - lean_ctor_release(x_614, 0); - lean_ctor_release(x_614, 1); - x_690 = x_614; +x_695 = lean_ctor_get(x_621, 0); +lean_inc(x_695); +x_696 = lean_ctor_get(x_621, 1); +lean_inc(x_696); +if (lean_is_exclusive(x_621)) { + lean_ctor_release(x_621, 0); + lean_ctor_release(x_621, 1); + x_697 = x_621; } else { - lean_dec_ref(x_614); - x_690 = lean_box(0); + lean_dec_ref(x_621); + x_697 = lean_box(0); } -if (lean_is_scalar(x_690)) { - x_691 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_697)) { + x_698 = lean_alloc_ctor(1, 2, 0); } else { - x_691 = x_690; + x_698 = x_697; } -lean_ctor_set(x_691, 0, x_688); -lean_ctor_set(x_691, 1, x_689); -return x_691; +lean_ctor_set(x_698, 0, x_695); +lean_ctor_set(x_698, 1, x_696); +return x_698; } } } } else { -uint8_t x_692; +uint8_t x_699; 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_692 = !lean_is_exclusive(x_381); -if (x_692 == 0) +x_699 = !lean_is_exclusive(x_388); +if (x_699 == 0) { -return x_381; +return x_388; } else { -lean_object* x_693; lean_object* x_694; lean_object* x_695; -x_693 = lean_ctor_get(x_381, 0); -x_694 = lean_ctor_get(x_381, 1); -lean_inc(x_694); -lean_inc(x_693); -lean_dec(x_381); -x_695 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_695, 0, x_693); -lean_ctor_set(x_695, 1, x_694); -return x_695; +lean_object* x_700; lean_object* x_701; lean_object* x_702; +x_700 = lean_ctor_get(x_388, 0); +x_701 = lean_ctor_get(x_388, 1); +lean_inc(x_701); +lean_inc(x_700); +lean_dec(x_388); +x_702 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_702, 0, x_700); +lean_ctor_set(x_702, 1, x_701); +return x_702; } } } } } -block_710: +block_717: { -if (x_697 == 0) +if (x_704 == 0) { -x_368 = x_698; -goto block_696; +x_375 = x_705; +goto block_703; } else { -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; lean_object* x_707; lean_object* x_708; lean_object* x_709; +lean_object* x_706; 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_inc(x_1); -x_699 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_699, 0, x_1); -x_700 = l_Lean_KernelException_toMessageData___closed__15; -x_701 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_701, 0, x_700); -lean_ctor_set(x_701, 1, x_699); -x_702 = l_Lean_Meta_isLevelDefEqAux___closed__5; -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_706 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_706, 0, x_1); +x_707 = l_Lean_KernelException_toMessageData___closed__15; +x_708 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_708, 0, x_707); +lean_ctor_set(x_708, 1, x_706); +x_709 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_710 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_710, 0, x_708); +lean_ctor_set(x_710, 1, x_709); lean_inc(x_2); -x_704 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_704, 0, x_2); -x_705 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_705, 0, x_703); -lean_ctor_set(x_705, 1, x_704); -x_706 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_706, 0, x_705); -lean_ctor_set(x_706, 1, x_700); -x_707 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_708 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_707, x_706, x_3, x_4, x_5, x_6, x_698); -x_709 = lean_ctor_get(x_708, 1); -lean_inc(x_709); -lean_dec(x_708); -x_368 = x_709; -goto block_696; +x_711 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_711, 0, x_2); +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_707); +x_714 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_715 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_714, x_713, x_3, x_4, x_5, x_6, x_705); +x_716 = lean_ctor_get(x_715, 1); +lean_inc(x_716); +lean_dec(x_715); +x_375 = x_716; +goto block_703; } } } else { -uint8_t x_723; lean_object* x_724; lean_object* x_725; +lean_object* x_730; lean_object* x_731; lean_object* x_732; uint8_t x_733; lean_object* x_734; lean_object* x_735; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +x_730 = lean_unsigned_to_nat(0u); +x_731 = l_Lean_Level_getOffsetAux(x_1, x_730); lean_dec(x_1); -x_723 = 1; -x_724 = lean_box(x_723); -x_725 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_725, 0, x_724); -lean_ctor_set(x_725, 1, x_7); -return x_725; +x_732 = l_Lean_Level_getOffsetAux(x_2, x_730); +lean_dec(x_2); +x_733 = lean_nat_dec_eq(x_731, x_732); +lean_dec(x_732); +lean_dec(x_731); +x_734 = lean_box(x_733); +x_735 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_735, 0, x_734); +lean_ctor_set(x_735, 1, x_7); +return x_735; } } case 1: { -lean_object* x_726; lean_object* x_727; -x_726 = lean_ctor_get(x_1, 0); -lean_inc(x_726); +lean_object* x_736; lean_object* x_737; +x_736 = lean_ctor_get(x_1, 0); +lean_inc(x_736); lean_dec(x_1); -x_727 = lean_ctor_get(x_2, 0); -lean_inc(x_727); +x_737 = lean_ctor_get(x_2, 0); +lean_inc(x_737); lean_dec(x_2); -x_1 = x_726; -x_2 = x_727; +x_1 = x_736; +x_2 = x_737; goto _start; } case 2: { -uint8_t x_729; -x_729 = lean_level_eq(x_1, x_2); -if (x_729 == 0) -{ -lean_object* x_730; uint8_t x_1059; lean_object* x_1060; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; uint8_t x_1076; -x_1073 = lean_st_ref_get(x_6, x_7); -x_1074 = lean_ctor_get(x_1073, 0); -lean_inc(x_1074); -x_1075 = lean_ctor_get(x_1074, 3); -lean_inc(x_1075); -lean_dec(x_1074); -x_1076 = lean_ctor_get_uint8(x_1075, sizeof(void*)*1); -lean_dec(x_1075); -if (x_1076 == 0) -{ -lean_object* x_1077; uint8_t x_1078; -x_1077 = lean_ctor_get(x_1073, 1); -lean_inc(x_1077); -lean_dec(x_1073); -x_1078 = 0; -x_1059 = x_1078; -x_1060 = x_1077; -goto block_1072; -} -else -{ -lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; uint8_t x_1084; -x_1079 = lean_ctor_get(x_1073, 1); -lean_inc(x_1079); -lean_dec(x_1073); -x_1080 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_1081 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1080, x_3, x_4, x_5, x_6, x_1079); -x_1082 = lean_ctor_get(x_1081, 0); -lean_inc(x_1082); -x_1083 = lean_ctor_get(x_1081, 1); -lean_inc(x_1083); -lean_dec(x_1081); -x_1084 = lean_unbox(x_1082); -lean_dec(x_1082); -x_1059 = x_1084; -x_1060 = x_1083; -goto block_1072; -} -block_1058: -{ -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; uint8_t x_739; -lean_inc(x_1); -x_731 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_730); -x_732 = lean_ctor_get(x_731, 0); -lean_inc(x_732); -x_733 = lean_ctor_get(x_731, 1); -lean_inc(x_733); -lean_dec(x_731); -x_734 = l_Lean_Level_normalize(x_732); -lean_dec(x_732); -lean_inc(x_2); -x_735 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_733); -x_736 = lean_ctor_get(x_735, 0); -lean_inc(x_736); -x_737 = lean_ctor_get(x_735, 1); -lean_inc(x_737); -lean_dec(x_735); -x_738 = l_Lean_Level_normalize(x_736); -lean_dec(x_736); -x_739 = lean_level_eq(x_1, x_734); -if (x_739 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_734; -x_2 = x_738; -x_7 = x_737; -goto _start; -} -else -{ -uint8_t x_741; -x_741 = lean_level_eq(x_2, x_738); +lean_object* x_739; lean_object* x_740; uint8_t x_741; +x_739 = l_Lean_Level_getLevelOffset(x_1); +x_740 = l_Lean_Level_getLevelOffset(x_2); +x_741 = lean_level_eq(x_739, x_740); +lean_dec(x_740); +lean_dec(x_739); if (x_741 == 0) { +lean_object* x_742; uint8_t x_1071; lean_object* x_1072; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; uint8_t x_1088; +x_1085 = lean_st_ref_get(x_6, x_7); +x_1086 = lean_ctor_get(x_1085, 0); +lean_inc(x_1086); +x_1087 = lean_ctor_get(x_1086, 3); +lean_inc(x_1087); +lean_dec(x_1086); +x_1088 = lean_ctor_get_uint8(x_1087, sizeof(void*)*1); +lean_dec(x_1087); +if (x_1088 == 0) +{ +lean_object* x_1089; uint8_t x_1090; +x_1089 = lean_ctor_get(x_1085, 1); +lean_inc(x_1089); +lean_dec(x_1085); +x_1090 = 0; +x_1071 = x_1090; +x_1072 = x_1089; +goto block_1084; +} +else +{ +lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; uint8_t x_1096; +x_1091 = lean_ctor_get(x_1085, 1); +lean_inc(x_1091); +lean_dec(x_1085); +x_1092 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_1093 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1092, x_3, x_4, x_5, x_6, x_1091); +x_1094 = lean_ctor_get(x_1093, 0); +lean_inc(x_1094); +x_1095 = lean_ctor_get(x_1093, 1); +lean_inc(x_1095); +lean_dec(x_1093); +x_1096 = lean_unbox(x_1094); +lean_dec(x_1094); +x_1071 = x_1096; +x_1072 = x_1095; +goto block_1084; +} +block_1070: +{ +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; uint8_t x_751; +lean_inc(x_1); +x_743 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_742); +x_744 = lean_ctor_get(x_743, 0); +lean_inc(x_744); +x_745 = lean_ctor_get(x_743, 1); +lean_inc(x_745); +lean_dec(x_743); +x_746 = l_Lean_Level_normalize(x_744); +lean_dec(x_744); +lean_inc(x_2); +x_747 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_745); +x_748 = lean_ctor_get(x_747, 0); +lean_inc(x_748); +x_749 = lean_ctor_get(x_747, 1); +lean_inc(x_749); +lean_dec(x_747); +x_750 = l_Lean_Level_normalize(x_748); +lean_dec(x_748); +x_751 = lean_level_eq(x_1, x_746); +if (x_751 == 0) +{ lean_dec(x_2); lean_dec(x_1); -x_1 = x_734; -x_2 = x_738; -x_7 = x_737; +x_1 = x_746; +x_2 = x_750; +x_7 = x_749; goto _start; } else { -lean_object* x_743; -lean_dec(x_738); -lean_dec(x_734); +uint8_t x_753; +x_753 = lean_level_eq(x_2, x_750); +if (x_753 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +x_1 = x_746; +x_2 = x_750; +x_7 = x_749; +goto _start; +} +else +{ +lean_object* x_755; +lean_dec(x_750); +lean_dec(x_746); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_743 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_737); -if (lean_obj_tag(x_743) == 0) +x_755 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_749); +if (lean_obj_tag(x_755) == 0) { -uint8_t x_744; -x_744 = !lean_is_exclusive(x_743); -if (x_744 == 0) +uint8_t x_756; +x_756 = !lean_is_exclusive(x_755); +if (x_756 == 0) { -lean_object* x_745; lean_object* x_746; uint8_t x_747; uint8_t x_748; uint8_t x_749; -x_745 = lean_ctor_get(x_743, 0); -x_746 = lean_ctor_get(x_743, 1); -x_747 = 2; -x_748 = lean_unbox(x_745); -x_749 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_748, x_747); -if (x_749 == 0) +lean_object* x_757; lean_object* x_758; uint8_t x_759; uint8_t x_760; uint8_t x_761; +x_757 = lean_ctor_get(x_755, 0); +x_758 = lean_ctor_get(x_755, 1); +x_759 = 2; +x_760 = lean_unbox(x_757); +x_761 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_760, x_759); +if (x_761 == 0) { -uint8_t x_750; uint8_t x_751; uint8_t x_752; lean_object* x_753; +uint8_t x_762; uint8_t x_763; uint8_t x_764; lean_object* x_765; 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_750 = 1; -x_751 = lean_unbox(x_745); -lean_dec(x_745); -x_752 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_751, x_750); -x_753 = lean_box(x_752); -lean_ctor_set(x_743, 0, x_753); -return x_743; +x_762 = 1; +x_763 = lean_unbox(x_757); +lean_dec(x_757); +x_764 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_763, x_762); +x_765 = lean_box(x_764); +lean_ctor_set(x_755, 0, x_765); +return x_755; } else { -lean_object* x_754; -lean_free_object(x_743); -lean_dec(x_745); +lean_object* x_766; +lean_free_object(x_755); +lean_dec(x_757); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_754 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_746); -if (lean_obj_tag(x_754) == 0) +x_766 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_758); +if (lean_obj_tag(x_766) == 0) { -uint8_t x_755; -x_755 = !lean_is_exclusive(x_754); -if (x_755 == 0) -{ -lean_object* x_756; lean_object* x_757; uint8_t x_758; uint8_t x_759; -x_756 = lean_ctor_get(x_754, 0); -x_757 = lean_ctor_get(x_754, 1); -x_758 = lean_unbox(x_756); -x_759 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_758, x_747); -if (x_759 == 0) -{ -uint8_t x_760; uint8_t x_761; uint8_t x_762; lean_object* x_763; -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_760 = 1; -x_761 = lean_unbox(x_756); -lean_dec(x_756); -x_762 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_761, x_760); -x_763 = lean_box(x_762); -lean_ctor_set(x_754, 0, x_763); -return x_754; -} -else -{ -lean_object* x_764; lean_object* x_765; lean_object* x_766; uint8_t x_767; -lean_free_object(x_754); -lean_dec(x_756); -x_764 = lean_st_ref_get(x_6, x_757); -x_765 = lean_ctor_get(x_764, 1); -lean_inc(x_765); -lean_dec(x_764); -x_766 = lean_st_ref_get(x_4, x_765); +uint8_t x_767; x_767 = !lean_is_exclusive(x_766); if (x_767 == 0) { -lean_object* x_768; lean_object* x_769; lean_object* x_770; uint8_t x_771; +lean_object* x_768; lean_object* x_769; uint8_t x_770; uint8_t x_771; x_768 = lean_ctor_get(x_766, 0); x_769 = lean_ctor_get(x_766, 1); -x_770 = lean_ctor_get(x_768, 0); -lean_inc(x_770); -lean_dec(x_768); -lean_inc(x_770); -x_771 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_770, x_1); +x_770 = lean_unbox(x_768); +x_771 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_770, x_759); if (x_771 == 0) { -uint8_t x_772; -x_772 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_770, x_2); -if (x_772 == 0) +uint8_t x_772; uint8_t x_773; uint8_t x_774; lean_object* x_775; +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_772 = 1; +x_773 = lean_unbox(x_768); +lean_dec(x_768); +x_774 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_773, x_772); +x_775 = lean_box(x_774); +lean_ctor_set(x_766, 0, x_775); +return x_766; +} +else { -lean_object* x_773; lean_object* x_803; uint8_t x_804; -x_803 = lean_ctor_get(x_3, 0); +lean_object* x_776; lean_object* x_777; lean_object* x_778; uint8_t x_779; +lean_free_object(x_766); +lean_dec(x_768); +x_776 = lean_st_ref_get(x_6, x_769); +x_777 = lean_ctor_get(x_776, 1); +lean_inc(x_777); +lean_dec(x_776); +x_778 = lean_st_ref_get(x_4, x_777); +x_779 = !lean_is_exclusive(x_778); +if (x_779 == 0) +{ +lean_object* x_780; lean_object* x_781; lean_object* x_782; uint8_t x_783; +x_780 = lean_ctor_get(x_778, 0); +x_781 = lean_ctor_get(x_778, 1); +x_782 = lean_ctor_get(x_780, 0); +lean_inc(x_782); +lean_dec(x_780); +lean_inc(x_782); +x_783 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_782, x_1); +if (x_783 == 0) +{ +uint8_t x_784; +x_784 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_782, x_2); +if (x_784 == 0) +{ +lean_object* x_785; lean_object* x_815; uint8_t x_816; +x_815 = lean_ctor_get(x_3, 0); +lean_inc(x_815); +x_816 = lean_ctor_get_uint8(x_815, 4); +lean_dec(x_815); +if (x_816 == 0) +{ +uint8_t x_817; lean_object* x_818; +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_817 = 0; +x_818 = lean_box(x_817); +lean_ctor_set(x_778, 0, x_818); +return x_778; +} +else +{ +uint8_t x_819; +x_819 = l_Lean_Level_isMVar(x_1); +if (x_819 == 0) +{ +uint8_t x_820; +x_820 = l_Lean_Level_isMVar(x_2); +if (x_820 == 0) +{ +uint8_t x_821; lean_object* x_822; +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_821 = 0; +x_822 = lean_box(x_821); +lean_ctor_set(x_778, 0, x_822); +return x_778; +} +else +{ +lean_object* x_823; +lean_free_object(x_778); +x_823 = lean_box(0); +x_785 = x_823; +goto block_814; +} +} +else +{ +lean_object* x_824; +lean_free_object(x_778); +x_824 = lean_box(0); +x_785 = x_824; +goto block_814; +} +} +block_814: +{ +uint8_t x_786; lean_object* x_787; lean_object* x_802; lean_object* x_803; lean_object* x_804; uint8_t x_805; +lean_dec(x_785); +x_802 = lean_st_ref_get(x_6, x_781); +x_803 = lean_ctor_get(x_802, 0); lean_inc(x_803); -x_804 = lean_ctor_get_uint8(x_803, 4); +x_804 = lean_ctor_get(x_803, 3); +lean_inc(x_804); lean_dec(x_803); -if (x_804 == 0) +x_805 = lean_ctor_get_uint8(x_804, sizeof(void*)*1); +lean_dec(x_804); +if (x_805 == 0) { -uint8_t x_805; lean_object* x_806; +lean_object* x_806; uint8_t x_807; +x_806 = lean_ctor_get(x_802, 1); +lean_inc(x_806); +lean_dec(x_802); +x_807 = 0; +x_786 = x_807; +x_787 = x_806; +goto block_801; +} +else +{ +lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; uint8_t x_813; +x_808 = lean_ctor_get(x_802, 1); +lean_inc(x_808); +lean_dec(x_802); +x_809 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_810 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_809, x_3, x_4, x_5, x_6, x_808); +x_811 = lean_ctor_get(x_810, 0); +lean_inc(x_811); +x_812 = lean_ctor_get(x_810, 1); +lean_inc(x_812); +lean_dec(x_810); +x_813 = lean_unbox(x_811); +lean_dec(x_811); +x_786 = x_813; +x_787 = x_812; +goto block_801; +} +block_801: +{ +if (x_786 == 0) +{ +lean_object* x_788; 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_805 = 0; -x_806 = lean_box(x_805); -lean_ctor_set(x_766, 0, x_806); -return x_766; -} -else -{ -uint8_t x_807; -x_807 = l_Lean_Level_isMVar(x_1); -if (x_807 == 0) -{ -uint8_t x_808; -x_808 = l_Lean_Level_isMVar(x_2); -if (x_808 == 0) -{ -uint8_t x_809; lean_object* x_810; -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_809 = 0; -x_810 = lean_box(x_809); -lean_ctor_set(x_766, 0, x_810); -return x_766; -} -else -{ -lean_object* x_811; -lean_free_object(x_766); -x_811 = lean_box(0); -x_773 = x_811; -goto block_802; -} -} -else -{ -lean_object* x_812; -lean_free_object(x_766); -x_812 = lean_box(0); -x_773 = x_812; -goto block_802; -} -} -block_802: -{ -uint8_t x_774; lean_object* x_775; lean_object* x_790; lean_object* x_791; lean_object* x_792; uint8_t x_793; -lean_dec(x_773); -x_790 = lean_st_ref_get(x_6, x_769); -x_791 = lean_ctor_get(x_790, 0); -lean_inc(x_791); -x_792 = lean_ctor_get(x_791, 3); -lean_inc(x_792); -lean_dec(x_791); -x_793 = lean_ctor_get_uint8(x_792, sizeof(void*)*1); -lean_dec(x_792); -if (x_793 == 0) -{ -lean_object* x_794; uint8_t x_795; -x_794 = lean_ctor_get(x_790, 1); -lean_inc(x_794); -lean_dec(x_790); -x_795 = 0; -x_774 = x_795; -x_775 = x_794; -goto block_789; -} -else -{ -lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; uint8_t x_801; -x_796 = lean_ctor_get(x_790, 1); -lean_inc(x_796); -lean_dec(x_790); -x_797 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_798 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_797, x_3, x_4, x_5, x_6, x_796); -x_799 = lean_ctor_get(x_798, 0); -lean_inc(x_799); -x_800 = lean_ctor_get(x_798, 1); -lean_inc(x_800); -lean_dec(x_798); -x_801 = lean_unbox(x_799); -lean_dec(x_799); -x_774 = x_801; -x_775 = x_800; -goto block_789; -} -block_789: -{ -if (x_774 == 0) -{ -lean_object* x_776; -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_776 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_775); -return x_776; -} -else -{ -lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; -x_777 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_777, 0, x_1); -x_778 = l_Lean_KernelException_toMessageData___closed__15; -x_779 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_779, 0, x_778); -lean_ctor_set(x_779, 1, x_777); -x_780 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_781 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_781, 0, x_779); -lean_ctor_set(x_781, 1, x_780); -x_782 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_782, 0, x_2); -x_783 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_783, 0, x_781); -lean_ctor_set(x_783, 1, x_782); -x_784 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_784, 0, x_783); -lean_ctor_set(x_784, 1, x_778); -x_785 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_786 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_785, x_784, x_3, x_4, x_5, x_6, x_775); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_787 = lean_ctor_get(x_786, 1); -lean_inc(x_787); -lean_dec(x_786); x_788 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_787); return x_788; } -} -} -} else { -lean_object* x_813; uint8_t x_814; -lean_free_object(x_766); -x_813 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_769); +lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; +x_789 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_789, 0, x_1); +x_790 = l_Lean_KernelException_toMessageData___closed__15; +x_791 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_791, 0, x_790); +lean_ctor_set(x_791, 1, x_789); +x_792 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_793 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_793, 0, x_791); +lean_ctor_set(x_793, 1, x_792); +x_794 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_794, 0, x_2); +x_795 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_795, 0, x_793); +lean_ctor_set(x_795, 1, x_794); +x_796 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_796, 0, x_795); +lean_ctor_set(x_796, 1, x_790); +x_797 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_798 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_797, x_796, x_3, x_4, x_5, x_6, x_787); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_814 = !lean_is_exclusive(x_813); -if (x_814 == 0) -{ -lean_object* x_815; uint8_t x_816; lean_object* x_817; -x_815 = lean_ctor_get(x_813, 0); -lean_dec(x_815); -x_816 = 1; -x_817 = lean_box(x_816); -lean_ctor_set(x_813, 0, x_817); -return x_813; +x_799 = lean_ctor_get(x_798, 1); +lean_inc(x_799); +lean_dec(x_798); +x_800 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_799); +return x_800; } -else -{ -lean_object* x_818; uint8_t x_819; lean_object* x_820; lean_object* x_821; -x_818 = lean_ctor_get(x_813, 1); -lean_inc(x_818); -lean_dec(x_813); -x_819 = 1; -x_820 = lean_box(x_819); -x_821 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_821, 0, x_820); -lean_ctor_set(x_821, 1, x_818); -return x_821; } } } else { -lean_object* x_822; uint8_t x_823; -lean_dec(x_770); -lean_free_object(x_766); -x_822 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_769); +lean_object* x_825; uint8_t x_826; +lean_free_object(x_778); +x_825 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_781); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_823 = !lean_is_exclusive(x_822); -if (x_823 == 0) +x_826 = !lean_is_exclusive(x_825); +if (x_826 == 0) { -lean_object* x_824; uint8_t x_825; lean_object* x_826; -x_824 = lean_ctor_get(x_822, 0); -lean_dec(x_824); -x_825 = 1; -x_826 = lean_box(x_825); -lean_ctor_set(x_822, 0, x_826); -return x_822; -} -else -{ -lean_object* x_827; uint8_t x_828; lean_object* x_829; lean_object* x_830; -x_827 = lean_ctor_get(x_822, 1); -lean_inc(x_827); -lean_dec(x_822); +lean_object* x_827; uint8_t x_828; lean_object* x_829; +x_827 = lean_ctor_get(x_825, 0); +lean_dec(x_827); x_828 = 1; x_829 = lean_box(x_828); -x_830 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_830, 0, x_829); -lean_ctor_set(x_830, 1, x_827); -return x_830; +lean_ctor_set(x_825, 0, x_829); +return x_825; +} +else +{ +lean_object* x_830; uint8_t x_831; lean_object* x_832; lean_object* x_833; +x_830 = lean_ctor_get(x_825, 1); +lean_inc(x_830); +lean_dec(x_825); +x_831 = 1; +x_832 = lean_box(x_831); +x_833 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_833, 0, x_832); +lean_ctor_set(x_833, 1, x_830); +return x_833; } } } else { -lean_object* x_831; lean_object* x_832; lean_object* x_833; uint8_t x_834; -x_831 = lean_ctor_get(x_766, 0); -x_832 = lean_ctor_get(x_766, 1); -lean_inc(x_832); -lean_inc(x_831); -lean_dec(x_766); -x_833 = lean_ctor_get(x_831, 0); -lean_inc(x_833); -lean_dec(x_831); -lean_inc(x_833); -x_834 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_833, x_1); -if (x_834 == 0) -{ -uint8_t x_835; -x_835 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_833, x_2); +lean_object* x_834; uint8_t x_835; +lean_dec(x_782); +lean_free_object(x_778); +x_834 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_781); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_835 = !lean_is_exclusive(x_834); if (x_835 == 0) { -lean_object* x_836; lean_object* x_866; uint8_t x_867; -x_866 = lean_ctor_get(x_3, 0); -lean_inc(x_866); -x_867 = lean_ctor_get_uint8(x_866, 4); -lean_dec(x_866); -if (x_867 == 0) -{ -uint8_t x_868; lean_object* x_869; lean_object* x_870; -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_868 = 0; -x_869 = lean_box(x_868); -x_870 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_870, 0, x_869); -lean_ctor_set(x_870, 1, x_832); -return x_870; -} -else -{ -uint8_t x_871; -x_871 = l_Lean_Level_isMVar(x_1); -if (x_871 == 0) -{ -uint8_t x_872; -x_872 = l_Lean_Level_isMVar(x_2); -if (x_872 == 0) -{ -uint8_t x_873; lean_object* x_874; lean_object* x_875; -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_873 = 0; -x_874 = lean_box(x_873); -x_875 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_875, 0, x_874); -lean_ctor_set(x_875, 1, x_832); -return x_875; -} -else -{ -lean_object* x_876; -x_876 = lean_box(0); -x_836 = x_876; -goto block_865; -} -} -else -{ -lean_object* x_877; -x_877 = lean_box(0); -x_836 = x_877; -goto block_865; -} -} -block_865: -{ -uint8_t x_837; lean_object* x_838; lean_object* x_853; lean_object* x_854; lean_object* x_855; uint8_t x_856; +lean_object* x_836; uint8_t x_837; lean_object* x_838; +x_836 = lean_ctor_get(x_834, 0); lean_dec(x_836); -x_853 = lean_st_ref_get(x_6, x_832); -x_854 = lean_ctor_get(x_853, 0); -lean_inc(x_854); -x_855 = lean_ctor_get(x_854, 3); -lean_inc(x_855); -lean_dec(x_854); -x_856 = lean_ctor_get_uint8(x_855, sizeof(void*)*1); -lean_dec(x_855); -if (x_856 == 0) -{ -lean_object* x_857; uint8_t x_858; -x_857 = lean_ctor_get(x_853, 1); -lean_inc(x_857); -lean_dec(x_853); -x_858 = 0; -x_837 = x_858; -x_838 = x_857; -goto block_852; +x_837 = 1; +x_838 = lean_box(x_837); +lean_ctor_set(x_834, 0, x_838); +return x_834; } else { -lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; uint8_t x_864; -x_859 = lean_ctor_get(x_853, 1); -lean_inc(x_859); -lean_dec(x_853); -x_860 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_861 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_860, x_3, x_4, x_5, x_6, x_859); -x_862 = lean_ctor_get(x_861, 0); -lean_inc(x_862); -x_863 = lean_ctor_get(x_861, 1); -lean_inc(x_863); -lean_dec(x_861); -x_864 = lean_unbox(x_862); -lean_dec(x_862); -x_837 = x_864; -x_838 = x_863; -goto block_852; +lean_object* x_839; uint8_t x_840; lean_object* x_841; lean_object* x_842; +x_839 = lean_ctor_get(x_834, 1); +lean_inc(x_839); +lean_dec(x_834); +x_840 = 1; +x_841 = lean_box(x_840); +x_842 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_842, 0, x_841); +lean_ctor_set(x_842, 1, x_839); +return x_842; } -block_852: +} +} +else { -if (x_837 == 0) +lean_object* x_843; lean_object* x_844; lean_object* x_845; uint8_t x_846; +x_843 = lean_ctor_get(x_778, 0); +x_844 = lean_ctor_get(x_778, 1); +lean_inc(x_844); +lean_inc(x_843); +lean_dec(x_778); +x_845 = lean_ctor_get(x_843, 0); +lean_inc(x_845); +lean_dec(x_843); +lean_inc(x_845); +x_846 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_845, x_1); +if (x_846 == 0) { -lean_object* x_839; +uint8_t x_847; +x_847 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_845, x_2); +if (x_847 == 0) +{ +lean_object* x_848; lean_object* x_878; uint8_t x_879; +x_878 = lean_ctor_get(x_3, 0); +lean_inc(x_878); +x_879 = lean_ctor_get_uint8(x_878, 4); +lean_dec(x_878); +if (x_879 == 0) +{ +uint8_t x_880; lean_object* x_881; lean_object* x_882; 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_839 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_838); -return x_839; +x_880 = 0; +x_881 = lean_box(x_880); +x_882 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_882, 0, x_881); +lean_ctor_set(x_882, 1, x_844); +return x_882; } else { -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_object* x_849; lean_object* x_850; lean_object* x_851; -x_840 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_840, 0, x_1); -x_841 = l_Lean_KernelException_toMessageData___closed__15; -x_842 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_842, 0, x_841); -lean_ctor_set(x_842, 1, x_840); -x_843 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_844 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_844, 0, x_842); -lean_ctor_set(x_844, 1, x_843); -x_845 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_845, 0, x_2); -x_846 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_846, 0, x_844); -lean_ctor_set(x_846, 1, x_845); -x_847 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_847, 0, x_846); -lean_ctor_set(x_847, 1, x_841); -x_848 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_849 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_848, x_847, x_3, x_4, x_5, x_6, x_838); +uint8_t x_883; +x_883 = l_Lean_Level_isMVar(x_1); +if (x_883 == 0) +{ +uint8_t x_884; +x_884 = l_Lean_Level_isMVar(x_2); +if (x_884 == 0) +{ +uint8_t x_885; lean_object* x_886; lean_object* x_887; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_850 = lean_ctor_get(x_849, 1); -lean_inc(x_850); -lean_dec(x_849); +lean_dec(x_2); +lean_dec(x_1); +x_885 = 0; +x_886 = lean_box(x_885); +x_887 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_887, 0, x_886); +lean_ctor_set(x_887, 1, x_844); +return x_887; +} +else +{ +lean_object* x_888; +x_888 = lean_box(0); +x_848 = x_888; +goto block_877; +} +} +else +{ +lean_object* x_889; +x_889 = lean_box(0); +x_848 = x_889; +goto block_877; +} +} +block_877: +{ +uint8_t x_849; lean_object* x_850; lean_object* x_865; lean_object* x_866; lean_object* x_867; uint8_t x_868; +lean_dec(x_848); +x_865 = lean_st_ref_get(x_6, x_844); +x_866 = lean_ctor_get(x_865, 0); +lean_inc(x_866); +x_867 = lean_ctor_get(x_866, 3); +lean_inc(x_867); +lean_dec(x_866); +x_868 = lean_ctor_get_uint8(x_867, sizeof(void*)*1); +lean_dec(x_867); +if (x_868 == 0) +{ +lean_object* x_869; uint8_t x_870; +x_869 = lean_ctor_get(x_865, 1); +lean_inc(x_869); +lean_dec(x_865); +x_870 = 0; +x_849 = x_870; +x_850 = x_869; +goto block_864; +} +else +{ +lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; uint8_t x_876; +x_871 = lean_ctor_get(x_865, 1); +lean_inc(x_871); +lean_dec(x_865); +x_872 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_873 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_872, x_3, x_4, x_5, x_6, x_871); +x_874 = lean_ctor_get(x_873, 0); +lean_inc(x_874); +x_875 = lean_ctor_get(x_873, 1); +lean_inc(x_875); +lean_dec(x_873); +x_876 = lean_unbox(x_874); +lean_dec(x_874); +x_849 = x_876; +x_850 = x_875; +goto block_864; +} +block_864: +{ +if (x_849 == 0) +{ +lean_object* x_851; +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_851 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_850); return x_851; } -} -} -} else { -lean_object* x_878; lean_object* x_879; lean_object* x_880; uint8_t x_881; lean_object* x_882; lean_object* x_883; -x_878 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_832); +lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; +x_852 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_852, 0, x_1); +x_853 = l_Lean_KernelException_toMessageData___closed__15; +x_854 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_854, 0, x_853); +lean_ctor_set(x_854, 1, x_852); +x_855 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_856 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_856, 0, x_854); +lean_ctor_set(x_856, 1, x_855); +x_857 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_857, 0, x_2); +x_858 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_858, 0, x_856); +lean_ctor_set(x_858, 1, x_857); +x_859 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_859, 0, x_858); +lean_ctor_set(x_859, 1, x_853); +x_860 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_861 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_860, x_859, x_3, x_4, x_5, x_6, x_850); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -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; -} else { - lean_dec_ref(x_878); - x_880 = lean_box(0); +x_862 = lean_ctor_get(x_861, 1); +lean_inc(x_862); +lean_dec(x_861); +x_863 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_862); +return x_863; } -x_881 = 1; -x_882 = lean_box(x_881); -if (lean_is_scalar(x_880)) { - x_883 = lean_alloc_ctor(0, 2, 0); -} else { - x_883 = x_880; } -lean_ctor_set(x_883, 0, x_882); -lean_ctor_set(x_883, 1, x_879); -return x_883; } } else { -lean_object* x_884; lean_object* x_885; lean_object* x_886; uint8_t x_887; lean_object* x_888; lean_object* x_889; -lean_dec(x_833); -x_884 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_832); +lean_object* x_890; lean_object* x_891; lean_object* x_892; uint8_t x_893; lean_object* x_894; lean_object* x_895; +x_890 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_844); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_885 = lean_ctor_get(x_884, 1); -lean_inc(x_885); -if (lean_is_exclusive(x_884)) { - lean_ctor_release(x_884, 0); - lean_ctor_release(x_884, 1); - x_886 = x_884; -} else { - lean_dec_ref(x_884); - x_886 = lean_box(0); -} -x_887 = 1; -x_888 = lean_box(x_887); -if (lean_is_scalar(x_886)) { - x_889 = lean_alloc_ctor(0, 2, 0); -} else { - x_889 = x_886; -} -lean_ctor_set(x_889, 0, x_888); -lean_ctor_set(x_889, 1, x_885); -return x_889; -} -} -} -} -else -{ -lean_object* x_890; lean_object* x_891; uint8_t x_892; uint8_t x_893; -x_890 = lean_ctor_get(x_754, 0); -x_891 = lean_ctor_get(x_754, 1); +x_891 = lean_ctor_get(x_890, 1); lean_inc(x_891); -lean_inc(x_890); -lean_dec(x_754); -x_892 = lean_unbox(x_890); -x_893 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_892, x_747); -if (x_893 == 0) +if (lean_is_exclusive(x_890)) { + lean_ctor_release(x_890, 0); + lean_ctor_release(x_890, 1); + x_892 = x_890; +} else { + lean_dec_ref(x_890); + x_892 = lean_box(0); +} +x_893 = 1; +x_894 = lean_box(x_893); +if (lean_is_scalar(x_892)) { + x_895 = lean_alloc_ctor(0, 2, 0); +} else { + x_895 = x_892; +} +lean_ctor_set(x_895, 0, x_894); +lean_ctor_set(x_895, 1, x_891); +return x_895; +} +} +else { -uint8_t x_894; uint8_t x_895; uint8_t x_896; lean_object* x_897; lean_object* x_898; +lean_object* x_896; lean_object* x_897; lean_object* x_898; uint8_t x_899; lean_object* x_900; lean_object* x_901; +lean_dec(x_845); +x_896 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_844); 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_894 = 1; -x_895 = lean_unbox(x_890); -lean_dec(x_890); -x_896 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_895, x_894); -x_897 = lean_box(x_896); -x_898 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_898, 0, x_897); -lean_ctor_set(x_898, 1, x_891); -return x_898; +x_897 = lean_ctor_get(x_896, 1); +lean_inc(x_897); +if (lean_is_exclusive(x_896)) { + lean_ctor_release(x_896, 0); + lean_ctor_release(x_896, 1); + x_898 = x_896; +} else { + lean_dec_ref(x_896); + x_898 = lean_box(0); +} +x_899 = 1; +x_900 = lean_box(x_899); +if (lean_is_scalar(x_898)) { + x_901 = lean_alloc_ctor(0, 2, 0); +} else { + x_901 = x_898; +} +lean_ctor_set(x_901, 0, x_900); +lean_ctor_set(x_901, 1, x_897); +return x_901; +} +} +} } else { -lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; uint8_t x_906; -lean_dec(x_890); -x_899 = lean_st_ref_get(x_6, x_891); -x_900 = lean_ctor_get(x_899, 1); -lean_inc(x_900); -lean_dec(x_899); -x_901 = lean_st_ref_get(x_4, x_900); -x_902 = lean_ctor_get(x_901, 0); -lean_inc(x_902); -x_903 = lean_ctor_get(x_901, 1); +lean_object* x_902; lean_object* x_903; uint8_t x_904; uint8_t x_905; +x_902 = lean_ctor_get(x_766, 0); +x_903 = lean_ctor_get(x_766, 1); lean_inc(x_903); -if (lean_is_exclusive(x_901)) { - lean_ctor_release(x_901, 0); - lean_ctor_release(x_901, 1); - x_904 = x_901; -} else { - lean_dec_ref(x_901); - x_904 = lean_box(0); -} -x_905 = lean_ctor_get(x_902, 0); -lean_inc(x_905); +lean_inc(x_902); +lean_dec(x_766); +x_904 = lean_unbox(x_902); +x_905 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_904, x_759); +if (x_905 == 0) +{ +uint8_t x_906; uint8_t x_907; uint8_t x_908; lean_object* x_909; lean_object* x_910; +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_906 = 1; +x_907 = lean_unbox(x_902); lean_dec(x_902); -lean_inc(x_905); -x_906 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_905, x_1); -if (x_906 == 0) +x_908 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_907, x_906); +x_909 = lean_box(x_908); +x_910 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_910, 0, x_909); +lean_ctor_set(x_910, 1, x_903); +return x_910; +} +else { -uint8_t x_907; -x_907 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_905, x_2); -if (x_907 == 0) +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; uint8_t x_918; +lean_dec(x_902); +x_911 = lean_st_ref_get(x_6, x_903); +x_912 = lean_ctor_get(x_911, 1); +lean_inc(x_912); +lean_dec(x_911); +x_913 = lean_st_ref_get(x_4, x_912); +x_914 = lean_ctor_get(x_913, 0); +lean_inc(x_914); +x_915 = lean_ctor_get(x_913, 1); +lean_inc(x_915); +if (lean_is_exclusive(x_913)) { + lean_ctor_release(x_913, 0); + lean_ctor_release(x_913, 1); + x_916 = x_913; +} else { + lean_dec_ref(x_913); + x_916 = lean_box(0); +} +x_917 = lean_ctor_get(x_914, 0); +lean_inc(x_917); +lean_dec(x_914); +lean_inc(x_917); +x_918 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_917, x_1); +if (x_918 == 0) { -lean_object* x_908; lean_object* x_938; uint8_t x_939; -x_938 = lean_ctor_get(x_3, 0); +uint8_t x_919; +x_919 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_917, x_2); +if (x_919 == 0) +{ +lean_object* x_920; lean_object* x_950; uint8_t x_951; +x_950 = lean_ctor_get(x_3, 0); +lean_inc(x_950); +x_951 = lean_ctor_get_uint8(x_950, 4); +lean_dec(x_950); +if (x_951 == 0) +{ +uint8_t x_952; lean_object* x_953; lean_object* x_954; +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_952 = 0; +x_953 = lean_box(x_952); +if (lean_is_scalar(x_916)) { + x_954 = lean_alloc_ctor(0, 2, 0); +} else { + x_954 = x_916; +} +lean_ctor_set(x_954, 0, x_953); +lean_ctor_set(x_954, 1, x_915); +return x_954; +} +else +{ +uint8_t x_955; +x_955 = l_Lean_Level_isMVar(x_1); +if (x_955 == 0) +{ +uint8_t x_956; +x_956 = l_Lean_Level_isMVar(x_2); +if (x_956 == 0) +{ +uint8_t x_957; lean_object* x_958; lean_object* x_959; +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_957 = 0; +x_958 = lean_box(x_957); +if (lean_is_scalar(x_916)) { + x_959 = lean_alloc_ctor(0, 2, 0); +} else { + x_959 = x_916; +} +lean_ctor_set(x_959, 0, x_958); +lean_ctor_set(x_959, 1, x_915); +return x_959; +} +else +{ +lean_object* x_960; +lean_dec(x_916); +x_960 = lean_box(0); +x_920 = x_960; +goto block_949; +} +} +else +{ +lean_object* x_961; +lean_dec(x_916); +x_961 = lean_box(0); +x_920 = x_961; +goto block_949; +} +} +block_949: +{ +uint8_t x_921; lean_object* x_922; lean_object* x_937; lean_object* x_938; lean_object* x_939; uint8_t x_940; +lean_dec(x_920); +x_937 = lean_st_ref_get(x_6, x_915); +x_938 = lean_ctor_get(x_937, 0); lean_inc(x_938); -x_939 = lean_ctor_get_uint8(x_938, 4); +x_939 = lean_ctor_get(x_938, 3); +lean_inc(x_939); lean_dec(x_938); -if (x_939 == 0) +x_940 = lean_ctor_get_uint8(x_939, sizeof(void*)*1); +lean_dec(x_939); +if (x_940 == 0) { -uint8_t x_940; lean_object* x_941; lean_object* x_942; +lean_object* x_941; uint8_t x_942; +x_941 = lean_ctor_get(x_937, 1); +lean_inc(x_941); +lean_dec(x_937); +x_942 = 0; +x_921 = x_942; +x_922 = x_941; +goto block_936; +} +else +{ +lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; uint8_t x_948; +x_943 = lean_ctor_get(x_937, 1); +lean_inc(x_943); +lean_dec(x_937); +x_944 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_945 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_944, x_3, x_4, x_5, x_6, x_943); +x_946 = lean_ctor_get(x_945, 0); +lean_inc(x_946); +x_947 = lean_ctor_get(x_945, 1); +lean_inc(x_947); +lean_dec(x_945); +x_948 = lean_unbox(x_946); +lean_dec(x_946); +x_921 = x_948; +x_922 = x_947; +goto block_936; +} +block_936: +{ +if (x_921 == 0) +{ +lean_object* x_923; 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_940 = 0; -x_941 = lean_box(x_940); -if (lean_is_scalar(x_904)) { - x_942 = lean_alloc_ctor(0, 2, 0); -} else { - x_942 = x_904; -} -lean_ctor_set(x_942, 0, x_941); -lean_ctor_set(x_942, 1, x_903); -return x_942; -} -else -{ -uint8_t x_943; -x_943 = l_Lean_Level_isMVar(x_1); -if (x_943 == 0) -{ -uint8_t x_944; -x_944 = l_Lean_Level_isMVar(x_2); -if (x_944 == 0) -{ -uint8_t x_945; lean_object* x_946; lean_object* x_947; -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_945 = 0; -x_946 = lean_box(x_945); -if (lean_is_scalar(x_904)) { - x_947 = lean_alloc_ctor(0, 2, 0); -} else { - x_947 = x_904; -} -lean_ctor_set(x_947, 0, x_946); -lean_ctor_set(x_947, 1, x_903); -return x_947; -} -else -{ -lean_object* x_948; -lean_dec(x_904); -x_948 = lean_box(0); -x_908 = x_948; -goto block_937; -} -} -else -{ -lean_object* x_949; -lean_dec(x_904); -x_949 = lean_box(0); -x_908 = x_949; -goto block_937; -} -} -block_937: -{ -uint8_t x_909; lean_object* x_910; lean_object* x_925; lean_object* x_926; lean_object* x_927; uint8_t x_928; -lean_dec(x_908); -x_925 = lean_st_ref_get(x_6, x_903); -x_926 = lean_ctor_get(x_925, 0); -lean_inc(x_926); -x_927 = lean_ctor_get(x_926, 3); -lean_inc(x_927); -lean_dec(x_926); -x_928 = lean_ctor_get_uint8(x_927, sizeof(void*)*1); -lean_dec(x_927); -if (x_928 == 0) -{ -lean_object* x_929; uint8_t x_930; -x_929 = lean_ctor_get(x_925, 1); -lean_inc(x_929); -lean_dec(x_925); -x_930 = 0; -x_909 = x_930; -x_910 = x_929; -goto block_924; -} -else -{ -lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; uint8_t x_936; -x_931 = lean_ctor_get(x_925, 1); -lean_inc(x_931); -lean_dec(x_925); -x_932 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_933 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_932, x_3, x_4, x_5, x_6, x_931); -x_934 = lean_ctor_get(x_933, 0); -lean_inc(x_934); -x_935 = lean_ctor_get(x_933, 1); -lean_inc(x_935); -lean_dec(x_933); -x_936 = lean_unbox(x_934); -lean_dec(x_934); -x_909 = x_936; -x_910 = x_935; -goto block_924; -} -block_924: -{ -if (x_909 == 0) -{ -lean_object* x_911; -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_911 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_910); -return x_911; -} -else -{ -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; lean_object* x_923; -x_912 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_912, 0, x_1); -x_913 = l_Lean_KernelException_toMessageData___closed__15; -x_914 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_914, 0, x_913); -lean_ctor_set(x_914, 1, x_912); -x_915 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_916 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_916, 0, x_914); -lean_ctor_set(x_916, 1, x_915); -x_917 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_917, 0, x_2); -x_918 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_918, 0, x_916); -lean_ctor_set(x_918, 1, x_917); -x_919 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_919, 0, x_918); -lean_ctor_set(x_919, 1, x_913); -x_920 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_921 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_920, x_919, x_3, x_4, x_5, x_6, x_910); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_922 = lean_ctor_get(x_921, 1); -lean_inc(x_922); -lean_dec(x_921); x_923 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_922); return x_923; } -} -} -} else { -lean_object* x_950; lean_object* x_951; lean_object* x_952; uint8_t x_953; lean_object* x_954; lean_object* x_955; -lean_dec(x_904); -x_950 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_903); +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; lean_object* x_934; lean_object* x_935; +x_924 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_924, 0, x_1); +x_925 = l_Lean_KernelException_toMessageData___closed__15; +x_926 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_926, 0, x_925); +lean_ctor_set(x_926, 1, x_924); +x_927 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_928 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_928, 0, x_926); +lean_ctor_set(x_928, 1, x_927); +x_929 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_929, 0, x_2); +x_930 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_930, 0, x_928); +lean_ctor_set(x_930, 1, x_929); +x_931 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_931, 0, x_930); +lean_ctor_set(x_931, 1, x_925); +x_932 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_933 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_932, x_931, x_3, x_4, x_5, x_6, x_922); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_951 = lean_ctor_get(x_950, 1); -lean_inc(x_951); -if (lean_is_exclusive(x_950)) { - lean_ctor_release(x_950, 0); - lean_ctor_release(x_950, 1); - x_952 = x_950; -} else { - lean_dec_ref(x_950); - x_952 = lean_box(0); +x_934 = lean_ctor_get(x_933, 1); +lean_inc(x_934); +lean_dec(x_933); +x_935 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_934); +return x_935; } -x_953 = 1; -x_954 = lean_box(x_953); -if (lean_is_scalar(x_952)) { - x_955 = lean_alloc_ctor(0, 2, 0); -} else { - x_955 = x_952; } -lean_ctor_set(x_955, 0, x_954); -lean_ctor_set(x_955, 1, x_951); -return x_955; } } else { -lean_object* x_956; lean_object* x_957; lean_object* x_958; uint8_t x_959; lean_object* x_960; lean_object* x_961; -lean_dec(x_905); -lean_dec(x_904); -x_956 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_903); +lean_object* x_962; lean_object* x_963; lean_object* x_964; uint8_t x_965; lean_object* x_966; lean_object* x_967; +lean_dec(x_916); +x_962 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_915); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_957 = lean_ctor_get(x_956, 1); -lean_inc(x_957); -if (lean_is_exclusive(x_956)) { - lean_ctor_release(x_956, 0); - lean_ctor_release(x_956, 1); - x_958 = x_956; -} else { - lean_dec_ref(x_956); - x_958 = lean_box(0); -} -x_959 = 1; -x_960 = lean_box(x_959); -if (lean_is_scalar(x_958)) { - x_961 = lean_alloc_ctor(0, 2, 0); -} else { - x_961 = x_958; -} -lean_ctor_set(x_961, 0, x_960); -lean_ctor_set(x_961, 1, x_957); -return x_961; -} -} -} -} -else -{ -uint8_t x_962; -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_962 = !lean_is_exclusive(x_754); -if (x_962 == 0) -{ -return x_754; -} -else -{ -lean_object* x_963; lean_object* x_964; lean_object* x_965; -x_963 = lean_ctor_get(x_754, 0); -x_964 = lean_ctor_get(x_754, 1); -lean_inc(x_964); +x_963 = lean_ctor_get(x_962, 1); lean_inc(x_963); -lean_dec(x_754); -x_965 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_965, 0, x_963); -lean_ctor_set(x_965, 1, x_964); -return x_965; +if (lean_is_exclusive(x_962)) { + lean_ctor_release(x_962, 0); + lean_ctor_release(x_962, 1); + x_964 = x_962; +} else { + lean_dec_ref(x_962); + x_964 = lean_box(0); +} +x_965 = 1; +x_966 = lean_box(x_965); +if (lean_is_scalar(x_964)) { + x_967 = lean_alloc_ctor(0, 2, 0); +} else { + x_967 = x_964; +} +lean_ctor_set(x_967, 0, x_966); +lean_ctor_set(x_967, 1, x_963); +return x_967; +} +} +else +{ +lean_object* x_968; lean_object* x_969; lean_object* x_970; uint8_t x_971; lean_object* x_972; lean_object* x_973; +lean_dec(x_917); +lean_dec(x_916); +x_968 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_915); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_969 = lean_ctor_get(x_968, 1); +lean_inc(x_969); +if (lean_is_exclusive(x_968)) { + lean_ctor_release(x_968, 0); + lean_ctor_release(x_968, 1); + x_970 = x_968; +} else { + lean_dec_ref(x_968); + x_970 = lean_box(0); +} +x_971 = 1; +x_972 = lean_box(x_971); +if (lean_is_scalar(x_970)) { + x_973 = lean_alloc_ctor(0, 2, 0); +} else { + x_973 = x_970; +} +lean_ctor_set(x_973, 0, x_972); +lean_ctor_set(x_973, 1, x_969); +return x_973; } } } } else { -lean_object* x_966; lean_object* x_967; uint8_t x_968; uint8_t x_969; uint8_t x_970; -x_966 = lean_ctor_get(x_743, 0); -x_967 = lean_ctor_get(x_743, 1); -lean_inc(x_967); -lean_inc(x_966); -lean_dec(x_743); -x_968 = 2; -x_969 = lean_unbox(x_966); -x_970 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_969, x_968); -if (x_970 == 0) -{ -uint8_t x_971; uint8_t x_972; uint8_t x_973; lean_object* x_974; lean_object* x_975; +uint8_t x_974; 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_971 = 1; -x_972 = lean_unbox(x_966); -lean_dec(x_966); -x_973 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_972, x_971); -x_974 = lean_box(x_973); -x_975 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_975, 0, x_974); -lean_ctor_set(x_975, 1, x_967); -return x_975; +x_974 = !lean_is_exclusive(x_766); +if (x_974 == 0) +{ +return x_766; } else { -lean_object* x_976; -lean_dec(x_966); +lean_object* x_975; lean_object* x_976; lean_object* x_977; +x_975 = lean_ctor_get(x_766, 0); +x_976 = lean_ctor_get(x_766, 1); +lean_inc(x_976); +lean_inc(x_975); +lean_dec(x_766); +x_977 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_977, 0, x_975); +lean_ctor_set(x_977, 1, x_976); +return x_977; +} +} +} +} +else +{ +lean_object* x_978; lean_object* x_979; uint8_t x_980; uint8_t x_981; uint8_t x_982; +x_978 = lean_ctor_get(x_755, 0); +x_979 = lean_ctor_get(x_755, 1); +lean_inc(x_979); +lean_inc(x_978); +lean_dec(x_755); +x_980 = 2; +x_981 = lean_unbox(x_978); +x_982 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_981, x_980); +if (x_982 == 0) +{ +uint8_t x_983; uint8_t x_984; uint8_t x_985; lean_object* x_986; lean_object* x_987; +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_983 = 1; +x_984 = lean_unbox(x_978); +lean_dec(x_978); +x_985 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_984, x_983); +x_986 = lean_box(x_985); +x_987 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_987, 0, x_986); +lean_ctor_set(x_987, 1, x_979); +return x_987; +} +else +{ +lean_object* x_988; +lean_dec(x_978); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_976 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_967); -if (lean_obj_tag(x_976) == 0) +x_988 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_979); +if (lean_obj_tag(x_988) == 0) { -lean_object* x_977; lean_object* x_978; lean_object* x_979; uint8_t x_980; uint8_t x_981; -x_977 = lean_ctor_get(x_976, 0); -lean_inc(x_977); -x_978 = lean_ctor_get(x_976, 1); -lean_inc(x_978); -if (lean_is_exclusive(x_976)) { - lean_ctor_release(x_976, 0); - lean_ctor_release(x_976, 1); - x_979 = x_976; -} else { - lean_dec_ref(x_976); - x_979 = lean_box(0); -} -x_980 = lean_unbox(x_977); -x_981 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_980, x_968); -if (x_981 == 0) -{ -uint8_t x_982; uint8_t x_983; uint8_t x_984; lean_object* x_985; lean_object* x_986; -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_982 = 1; -x_983 = lean_unbox(x_977); -lean_dec(x_977); -x_984 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_983, x_982); -x_985 = lean_box(x_984); -if (lean_is_scalar(x_979)) { - x_986 = lean_alloc_ctor(0, 2, 0); -} else { - x_986 = x_979; -} -lean_ctor_set(x_986, 0, x_985); -lean_ctor_set(x_986, 1, x_978); -return x_986; -} -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; uint8_t x_994; -lean_dec(x_979); -lean_dec(x_977); -x_987 = lean_st_ref_get(x_6, x_978); -x_988 = lean_ctor_get(x_987, 1); -lean_inc(x_988); -lean_dec(x_987); -x_989 = lean_st_ref_get(x_4, x_988); -x_990 = lean_ctor_get(x_989, 0); +lean_object* x_989; lean_object* x_990; lean_object* x_991; uint8_t x_992; uint8_t x_993; +x_989 = lean_ctor_get(x_988, 0); +lean_inc(x_989); +x_990 = lean_ctor_get(x_988, 1); lean_inc(x_990); -x_991 = lean_ctor_get(x_989, 1); -lean_inc(x_991); -if (lean_is_exclusive(x_989)) { - lean_ctor_release(x_989, 0); - lean_ctor_release(x_989, 1); - x_992 = x_989; +if (lean_is_exclusive(x_988)) { + lean_ctor_release(x_988, 0); + lean_ctor_release(x_988, 1); + x_991 = x_988; } else { - lean_dec_ref(x_989); - x_992 = lean_box(0); + lean_dec_ref(x_988); + x_991 = lean_box(0); } -x_993 = lean_ctor_get(x_990, 0); -lean_inc(x_993); -lean_dec(x_990); -lean_inc(x_993); -x_994 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_993, x_1); -if (x_994 == 0) +x_992 = lean_unbox(x_989); +x_993 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_992, x_980); +if (x_993 == 0) { -uint8_t x_995; -x_995 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_993, x_2); -if (x_995 == 0) +uint8_t x_994; uint8_t x_995; uint8_t x_996; lean_object* x_997; lean_object* x_998; +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_994 = 1; +x_995 = lean_unbox(x_989); +lean_dec(x_989); +x_996 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_995, x_994); +x_997 = lean_box(x_996); +if (lean_is_scalar(x_991)) { + x_998 = lean_alloc_ctor(0, 2, 0); +} else { + x_998 = x_991; +} +lean_ctor_set(x_998, 0, x_997); +lean_ctor_set(x_998, 1, x_990); +return x_998; +} +else { -lean_object* x_996; lean_object* x_1026; uint8_t x_1027; -x_1026 = lean_ctor_get(x_3, 0); +lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; uint8_t x_1006; +lean_dec(x_991); +lean_dec(x_989); +x_999 = lean_st_ref_get(x_6, x_990); +x_1000 = lean_ctor_get(x_999, 1); +lean_inc(x_1000); +lean_dec(x_999); +x_1001 = lean_st_ref_get(x_4, x_1000); +x_1002 = lean_ctor_get(x_1001, 0); +lean_inc(x_1002); +x_1003 = lean_ctor_get(x_1001, 1); +lean_inc(x_1003); +if (lean_is_exclusive(x_1001)) { + lean_ctor_release(x_1001, 0); + lean_ctor_release(x_1001, 1); + x_1004 = x_1001; +} else { + lean_dec_ref(x_1001); + x_1004 = lean_box(0); +} +x_1005 = lean_ctor_get(x_1002, 0); +lean_inc(x_1005); +lean_dec(x_1002); +lean_inc(x_1005); +x_1006 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1005, x_1); +if (x_1006 == 0) +{ +uint8_t x_1007; +x_1007 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1005, x_2); +if (x_1007 == 0) +{ +lean_object* x_1008; lean_object* x_1038; uint8_t x_1039; +x_1038 = lean_ctor_get(x_3, 0); +lean_inc(x_1038); +x_1039 = lean_ctor_get_uint8(x_1038, 4); +lean_dec(x_1038); +if (x_1039 == 0) +{ +uint8_t x_1040; lean_object* x_1041; lean_object* x_1042; +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_1040 = 0; +x_1041 = lean_box(x_1040); +if (lean_is_scalar(x_1004)) { + x_1042 = lean_alloc_ctor(0, 2, 0); +} else { + x_1042 = x_1004; +} +lean_ctor_set(x_1042, 0, x_1041); +lean_ctor_set(x_1042, 1, x_1003); +return x_1042; +} +else +{ +uint8_t x_1043; +x_1043 = l_Lean_Level_isMVar(x_1); +if (x_1043 == 0) +{ +uint8_t x_1044; +x_1044 = l_Lean_Level_isMVar(x_2); +if (x_1044 == 0) +{ +uint8_t x_1045; lean_object* x_1046; lean_object* x_1047; +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_1045 = 0; +x_1046 = lean_box(x_1045); +if (lean_is_scalar(x_1004)) { + x_1047 = lean_alloc_ctor(0, 2, 0); +} else { + x_1047 = x_1004; +} +lean_ctor_set(x_1047, 0, x_1046); +lean_ctor_set(x_1047, 1, x_1003); +return x_1047; +} +else +{ +lean_object* x_1048; +lean_dec(x_1004); +x_1048 = lean_box(0); +x_1008 = x_1048; +goto block_1037; +} +} +else +{ +lean_object* x_1049; +lean_dec(x_1004); +x_1049 = lean_box(0); +x_1008 = x_1049; +goto block_1037; +} +} +block_1037: +{ +uint8_t x_1009; lean_object* x_1010; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; uint8_t x_1028; +lean_dec(x_1008); +x_1025 = lean_st_ref_get(x_6, x_1003); +x_1026 = lean_ctor_get(x_1025, 0); lean_inc(x_1026); -x_1027 = lean_ctor_get_uint8(x_1026, 4); +x_1027 = lean_ctor_get(x_1026, 3); +lean_inc(x_1027); lean_dec(x_1026); -if (x_1027 == 0) +x_1028 = lean_ctor_get_uint8(x_1027, sizeof(void*)*1); +lean_dec(x_1027); +if (x_1028 == 0) { -uint8_t x_1028; lean_object* x_1029; lean_object* x_1030; +lean_object* x_1029; uint8_t x_1030; +x_1029 = lean_ctor_get(x_1025, 1); +lean_inc(x_1029); +lean_dec(x_1025); +x_1030 = 0; +x_1009 = x_1030; +x_1010 = x_1029; +goto block_1024; +} +else +{ +lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; uint8_t x_1036; +x_1031 = lean_ctor_get(x_1025, 1); +lean_inc(x_1031); +lean_dec(x_1025); +x_1032 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1033 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1032, x_3, x_4, x_5, x_6, x_1031); +x_1034 = lean_ctor_get(x_1033, 0); +lean_inc(x_1034); +x_1035 = lean_ctor_get(x_1033, 1); +lean_inc(x_1035); +lean_dec(x_1033); +x_1036 = lean_unbox(x_1034); +lean_dec(x_1034); +x_1009 = x_1036; +x_1010 = x_1035; +goto block_1024; +} +block_1024: +{ +if (x_1009 == 0) +{ +lean_object* x_1011; 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_1028 = 0; -x_1029 = lean_box(x_1028); -if (lean_is_scalar(x_992)) { - x_1030 = lean_alloc_ctor(0, 2, 0); -} else { - x_1030 = x_992; -} -lean_ctor_set(x_1030, 0, x_1029); -lean_ctor_set(x_1030, 1, x_991); -return x_1030; -} -else -{ -uint8_t x_1031; -x_1031 = l_Lean_Level_isMVar(x_1); -if (x_1031 == 0) -{ -uint8_t x_1032; -x_1032 = l_Lean_Level_isMVar(x_2); -if (x_1032 == 0) -{ -uint8_t x_1033; lean_object* x_1034; lean_object* x_1035; -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_1033 = 0; -x_1034 = lean_box(x_1033); -if (lean_is_scalar(x_992)) { - x_1035 = lean_alloc_ctor(0, 2, 0); -} else { - x_1035 = x_992; -} -lean_ctor_set(x_1035, 0, x_1034); -lean_ctor_set(x_1035, 1, x_991); -return x_1035; -} -else -{ -lean_object* x_1036; -lean_dec(x_992); -x_1036 = lean_box(0); -x_996 = x_1036; -goto block_1025; -} -} -else -{ -lean_object* x_1037; -lean_dec(x_992); -x_1037 = lean_box(0); -x_996 = x_1037; -goto block_1025; -} -} -block_1025: -{ -uint8_t x_997; lean_object* x_998; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; uint8_t x_1016; -lean_dec(x_996); -x_1013 = lean_st_ref_get(x_6, x_991); -x_1014 = lean_ctor_get(x_1013, 0); -lean_inc(x_1014); -x_1015 = lean_ctor_get(x_1014, 3); -lean_inc(x_1015); -lean_dec(x_1014); -x_1016 = lean_ctor_get_uint8(x_1015, sizeof(void*)*1); -lean_dec(x_1015); -if (x_1016 == 0) -{ -lean_object* x_1017; uint8_t x_1018; -x_1017 = lean_ctor_get(x_1013, 1); -lean_inc(x_1017); -lean_dec(x_1013); -x_1018 = 0; -x_997 = x_1018; -x_998 = x_1017; -goto block_1012; -} -else -{ -lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; uint8_t x_1024; -x_1019 = lean_ctor_get(x_1013, 1); -lean_inc(x_1019); -lean_dec(x_1013); -x_1020 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1021 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1020, x_3, x_4, x_5, x_6, x_1019); -x_1022 = lean_ctor_get(x_1021, 0); -lean_inc(x_1022); -x_1023 = lean_ctor_get(x_1021, 1); -lean_inc(x_1023); -lean_dec(x_1021); -x_1024 = lean_unbox(x_1022); -lean_dec(x_1022); -x_997 = x_1024; -x_998 = x_1023; -goto block_1012; -} -block_1012: -{ -if (x_997 == 0) -{ -lean_object* x_999; -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_999 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_998); -return x_999; -} -else -{ -lean_object* x_1000; lean_object* 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; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; -x_1000 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1000, 0, x_1); -x_1001 = l_Lean_KernelException_toMessageData___closed__15; -x_1002 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1002, 0, x_1001); -lean_ctor_set(x_1002, 1, x_1000); -x_1003 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1004 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1004, 0, x_1002); -lean_ctor_set(x_1004, 1, x_1003); -x_1005 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1005, 0, x_2); -x_1006 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1006, 0, x_1004); -lean_ctor_set(x_1006, 1, x_1005); -x_1007 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1007, 0, x_1006); -lean_ctor_set(x_1007, 1, x_1001); -x_1008 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1009 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1008, x_1007, x_3, x_4, x_5, x_6, x_998); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1010 = lean_ctor_get(x_1009, 1); -lean_inc(x_1010); -lean_dec(x_1009); x_1011 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1010); return x_1011; } +else +{ +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; +x_1012 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1012, 0, x_1); +x_1013 = l_Lean_KernelException_toMessageData___closed__15; +x_1014 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1014, 0, x_1013); +lean_ctor_set(x_1014, 1, x_1012); +x_1015 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1016 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1016, 0, x_1014); +lean_ctor_set(x_1016, 1, x_1015); +x_1017 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1017, 0, x_2); +x_1018 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1018, 0, x_1016); +lean_ctor_set(x_1018, 1, x_1017); +x_1019 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1019, 0, x_1018); +lean_ctor_set(x_1019, 1, x_1013); +x_1020 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1021 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1020, x_1019, x_3, x_4, x_5, x_6, x_1010); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1022 = lean_ctor_get(x_1021, 1); +lean_inc(x_1022); +lean_dec(x_1021); +x_1023 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1022); +return x_1023; +} } } } else { -lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; uint8_t x_1041; lean_object* x_1042; lean_object* x_1043; -lean_dec(x_992); -x_1038 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_991); +lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; uint8_t x_1053; lean_object* x_1054; lean_object* x_1055; +lean_dec(x_1004); +x_1050 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1003); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_1039 = lean_ctor_get(x_1038, 1); -lean_inc(x_1039); -if (lean_is_exclusive(x_1038)) { - lean_ctor_release(x_1038, 0); - lean_ctor_release(x_1038, 1); - x_1040 = x_1038; -} else { - lean_dec_ref(x_1038); - x_1040 = lean_box(0); -} -x_1041 = 1; -x_1042 = lean_box(x_1041); -if (lean_is_scalar(x_1040)) { - x_1043 = lean_alloc_ctor(0, 2, 0); -} else { - x_1043 = x_1040; -} -lean_ctor_set(x_1043, 0, x_1042); -lean_ctor_set(x_1043, 1, x_1039); -return x_1043; -} -} -else -{ -lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; uint8_t x_1047; lean_object* x_1048; lean_object* x_1049; -lean_dec(x_993); -lean_dec(x_992); -x_1044 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_991); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1045 = lean_ctor_get(x_1044, 1); -lean_inc(x_1045); -if (lean_is_exclusive(x_1044)) { - lean_ctor_release(x_1044, 0); - lean_ctor_release(x_1044, 1); - x_1046 = x_1044; -} else { - lean_dec_ref(x_1044); - x_1046 = lean_box(0); -} -x_1047 = 1; -x_1048 = lean_box(x_1047); -if (lean_is_scalar(x_1046)) { - x_1049 = lean_alloc_ctor(0, 2, 0); -} else { - x_1049 = x_1046; -} -lean_ctor_set(x_1049, 0, x_1048); -lean_ctor_set(x_1049, 1, x_1045); -return x_1049; -} -} -} -else -{ -lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; -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_1050 = lean_ctor_get(x_976, 0); -lean_inc(x_1050); -x_1051 = lean_ctor_get(x_976, 1); +x_1051 = lean_ctor_get(x_1050, 1); lean_inc(x_1051); -if (lean_is_exclusive(x_976)) { - lean_ctor_release(x_976, 0); - lean_ctor_release(x_976, 1); - x_1052 = x_976; +if (lean_is_exclusive(x_1050)) { + lean_ctor_release(x_1050, 0); + lean_ctor_release(x_1050, 1); + x_1052 = x_1050; } else { - lean_dec_ref(x_976); + lean_dec_ref(x_1050); x_1052 = lean_box(0); } +x_1053 = 1; +x_1054 = lean_box(x_1053); if (lean_is_scalar(x_1052)) { - x_1053 = lean_alloc_ctor(1, 2, 0); + x_1055 = lean_alloc_ctor(0, 2, 0); } else { - x_1053 = x_1052; + x_1055 = x_1052; } -lean_ctor_set(x_1053, 0, x_1050); -lean_ctor_set(x_1053, 1, x_1051); -return x_1053; +lean_ctor_set(x_1055, 0, x_1054); +lean_ctor_set(x_1055, 1, x_1051); +return x_1055; } } +else +{ +lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; uint8_t x_1059; lean_object* x_1060; lean_object* x_1061; +lean_dec(x_1005); +lean_dec(x_1004); +x_1056 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1003); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1057 = lean_ctor_get(x_1056, 1); +lean_inc(x_1057); +if (lean_is_exclusive(x_1056)) { + lean_ctor_release(x_1056, 0); + lean_ctor_release(x_1056, 1); + x_1058 = x_1056; +} else { + lean_dec_ref(x_1056); + x_1058 = lean_box(0); +} +x_1059 = 1; +x_1060 = lean_box(x_1059); +if (lean_is_scalar(x_1058)) { + x_1061 = lean_alloc_ctor(0, 2, 0); +} else { + x_1061 = x_1058; +} +lean_ctor_set(x_1061, 0, x_1060); +lean_ctor_set(x_1061, 1, x_1057); +return x_1061; +} } } else { -uint8_t x_1054; +lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; 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_1054 = !lean_is_exclusive(x_743); -if (x_1054 == 0) -{ -return x_743; +x_1062 = lean_ctor_get(x_988, 0); +lean_inc(x_1062); +x_1063 = lean_ctor_get(x_988, 1); +lean_inc(x_1063); +if (lean_is_exclusive(x_988)) { + lean_ctor_release(x_988, 0); + lean_ctor_release(x_988, 1); + x_1064 = x_988; +} else { + lean_dec_ref(x_988); + x_1064 = lean_box(0); +} +if (lean_is_scalar(x_1064)) { + x_1065 = lean_alloc_ctor(1, 2, 0); +} else { + x_1065 = x_1064; +} +lean_ctor_set(x_1065, 0, x_1062); +lean_ctor_set(x_1065, 1, x_1063); +return x_1065; +} +} +} } else { -lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; -x_1055 = lean_ctor_get(x_743, 0); -x_1056 = lean_ctor_get(x_743, 1); -lean_inc(x_1056); -lean_inc(x_1055); -lean_dec(x_743); -x_1057 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1057, 0, x_1055); -lean_ctor_set(x_1057, 1, x_1056); -return x_1057; -} -} -} -} -} -block_1072: +uint8_t x_1066; +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_1066 = !lean_is_exclusive(x_755); +if (x_1066 == 0) { -if (x_1059 == 0) -{ -x_730 = x_1060; -goto block_1058; +return x_755; } else { -lean_object* x_1061; lean_object* x_1062; 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_1067; lean_object* x_1068; lean_object* x_1069; +x_1067 = lean_ctor_get(x_755, 0); +x_1068 = lean_ctor_get(x_755, 1); +lean_inc(x_1068); +lean_inc(x_1067); +lean_dec(x_755); +x_1069 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1069, 0, x_1067); +lean_ctor_set(x_1069, 1, x_1068); +return x_1069; +} +} +} +} +} +block_1084: +{ +if (x_1071 == 0) +{ +x_742 = x_1072; +goto block_1070; +} +else +{ +lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_inc(x_1); -x_1061 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1061, 0, x_1); -x_1062 = l_Lean_KernelException_toMessageData___closed__15; -x_1063 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1063, 0, x_1062); -lean_ctor_set(x_1063, 1, x_1061); -x_1064 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1065 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1065, 0, x_1063); -lean_ctor_set(x_1065, 1, x_1064); +x_1073 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1073, 0, x_1); +x_1074 = l_Lean_KernelException_toMessageData___closed__15; +x_1075 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1075, 0, x_1074); +lean_ctor_set(x_1075, 1, x_1073); +x_1076 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1077 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1077, 0, x_1075); +lean_ctor_set(x_1077, 1, x_1076); lean_inc(x_2); -x_1066 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1066, 0, x_2); -x_1067 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1067, 0, x_1065); -lean_ctor_set(x_1067, 1, x_1066); -x_1068 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1068, 0, x_1067); -lean_ctor_set(x_1068, 1, x_1062); -x_1069 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_1070 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1069, x_1068, x_3, x_4, x_5, x_6, x_1060); -x_1071 = lean_ctor_get(x_1070, 1); -lean_inc(x_1071); -lean_dec(x_1070); -x_730 = x_1071; -goto block_1058; +x_1078 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1078, 0, x_2); +x_1079 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1079, 0, x_1077); +lean_ctor_set(x_1079, 1, x_1078); +x_1080 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1080, 0, x_1079); +lean_ctor_set(x_1080, 1, x_1074); +x_1081 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_1082 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1081, x_1080, x_3, x_4, x_5, x_6, x_1072); +x_1083 = lean_ctor_get(x_1082, 1); +lean_inc(x_1083); +lean_dec(x_1082); +x_742 = x_1083; +goto block_1070; } } } else { -uint8_t x_1085; lean_object* x_1086; lean_object* x_1087; +lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; uint8_t x_1100; lean_object* x_1101; lean_object* x_1102; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +x_1097 = lean_unsigned_to_nat(0u); +x_1098 = l_Lean_Level_getOffsetAux(x_1, x_1097); lean_dec(x_1); -x_1085 = 1; -x_1086 = lean_box(x_1085); -x_1087 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1087, 0, x_1086); -lean_ctor_set(x_1087, 1, x_7); -return x_1087; +x_1099 = l_Lean_Level_getOffsetAux(x_2, x_1097); +lean_dec(x_2); +x_1100 = lean_nat_dec_eq(x_1098, x_1099); +lean_dec(x_1099); +lean_dec(x_1098); +x_1101 = lean_box(x_1100); +x_1102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1102, 0, x_1101); +lean_ctor_set(x_1102, 1, x_7); +return x_1102; } } case 3: { -uint8_t x_1088; -x_1088 = lean_level_eq(x_1, x_2); -if (x_1088 == 0) +lean_object* x_1103; lean_object* x_1104; uint8_t x_1105; +x_1103 = l_Lean_Level_getLevelOffset(x_1); +x_1104 = l_Lean_Level_getLevelOffset(x_2); +x_1105 = lean_level_eq(x_1103, x_1104); +lean_dec(x_1104); +lean_dec(x_1103); +if (x_1105 == 0) { -lean_object* x_1089; uint8_t x_1418; lean_object* x_1419; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; uint8_t x_1435; -x_1432 = lean_st_ref_get(x_6, x_7); -x_1433 = lean_ctor_get(x_1432, 0); -lean_inc(x_1433); -x_1434 = lean_ctor_get(x_1433, 3); -lean_inc(x_1434); -lean_dec(x_1433); -x_1435 = lean_ctor_get_uint8(x_1434, sizeof(void*)*1); -lean_dec(x_1434); -if (x_1435 == 0) +lean_object* x_1106; uint8_t x_1435; lean_object* x_1436; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; uint8_t x_1452; +x_1449 = lean_st_ref_get(x_6, x_7); +x_1450 = lean_ctor_get(x_1449, 0); +lean_inc(x_1450); +x_1451 = lean_ctor_get(x_1450, 3); +lean_inc(x_1451); +lean_dec(x_1450); +x_1452 = lean_ctor_get_uint8(x_1451, sizeof(void*)*1); +lean_dec(x_1451); +if (x_1452 == 0) { -lean_object* x_1436; uint8_t x_1437; -x_1436 = lean_ctor_get(x_1432, 1); -lean_inc(x_1436); -lean_dec(x_1432); -x_1437 = 0; -x_1418 = x_1437; -x_1419 = x_1436; -goto block_1431; +lean_object* x_1453; uint8_t x_1454; +x_1453 = lean_ctor_get(x_1449, 1); +lean_inc(x_1453); +lean_dec(x_1449); +x_1454 = 0; +x_1435 = x_1454; +x_1436 = x_1453; +goto block_1448; } else { -lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; uint8_t x_1443; -x_1438 = lean_ctor_get(x_1432, 1); -lean_inc(x_1438); -lean_dec(x_1432); -x_1439 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_1440 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1439, x_3, x_4, x_5, x_6, x_1438); -x_1441 = lean_ctor_get(x_1440, 0); -lean_inc(x_1441); -x_1442 = lean_ctor_get(x_1440, 1); -lean_inc(x_1442); -lean_dec(x_1440); -x_1443 = lean_unbox(x_1441); -lean_dec(x_1441); -x_1418 = x_1443; -x_1419 = x_1442; -goto block_1431; +lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; uint8_t x_1460; +x_1455 = lean_ctor_get(x_1449, 1); +lean_inc(x_1455); +lean_dec(x_1449); +x_1456 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_1457 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1456, x_3, x_4, x_5, x_6, x_1455); +x_1458 = lean_ctor_get(x_1457, 0); +lean_inc(x_1458); +x_1459 = lean_ctor_get(x_1457, 1); +lean_inc(x_1459); +lean_dec(x_1457); +x_1460 = lean_unbox(x_1458); +lean_dec(x_1458); +x_1435 = x_1460; +x_1436 = x_1459; +goto block_1448; } -block_1417: +block_1434: { -lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; uint8_t x_1098; +lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; uint8_t x_1115; lean_inc(x_1); -x_1090 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_1089); -x_1091 = lean_ctor_get(x_1090, 0); -lean_inc(x_1091); -x_1092 = lean_ctor_get(x_1090, 1); -lean_inc(x_1092); -lean_dec(x_1090); -x_1093 = l_Lean_Level_normalize(x_1091); -lean_dec(x_1091); +x_1107 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_1106); +x_1108 = lean_ctor_get(x_1107, 0); +lean_inc(x_1108); +x_1109 = lean_ctor_get(x_1107, 1); +lean_inc(x_1109); +lean_dec(x_1107); +x_1110 = l_Lean_Level_normalize(x_1108); +lean_dec(x_1108); lean_inc(x_2); -x_1094 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_1092); -x_1095 = lean_ctor_get(x_1094, 0); -lean_inc(x_1095); -x_1096 = lean_ctor_get(x_1094, 1); -lean_inc(x_1096); -lean_dec(x_1094); -x_1097 = l_Lean_Level_normalize(x_1095); -lean_dec(x_1095); -x_1098 = lean_level_eq(x_1, x_1093); -if (x_1098 == 0) +x_1111 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_1109); +x_1112 = lean_ctor_get(x_1111, 0); +lean_inc(x_1112); +x_1113 = lean_ctor_get(x_1111, 1); +lean_inc(x_1113); +lean_dec(x_1111); +x_1114 = l_Lean_Level_normalize(x_1112); +lean_dec(x_1112); +x_1115 = lean_level_eq(x_1, x_1110); +if (x_1115 == 0) { lean_dec(x_2); lean_dec(x_1); -x_1 = x_1093; -x_2 = x_1097; -x_7 = x_1096; +x_1 = x_1110; +x_2 = x_1114; +x_7 = x_1113; goto _start; } else { -uint8_t x_1100; -x_1100 = lean_level_eq(x_2, x_1097); -if (x_1100 == 0) +uint8_t x_1117; +x_1117 = lean_level_eq(x_2, x_1114); +if (x_1117 == 0) { lean_dec(x_2); lean_dec(x_1); -x_1 = x_1093; -x_2 = x_1097; -x_7 = x_1096; +x_1 = x_1110; +x_2 = x_1114; +x_7 = x_1113; goto _start; } else { -lean_object* x_1102; -lean_dec(x_1097); -lean_dec(x_1093); +lean_object* x_1119; +lean_dec(x_1114); +lean_dec(x_1110); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_1102 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_1096); -if (lean_obj_tag(x_1102) == 0) +x_1119 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_1113); +if (lean_obj_tag(x_1119) == 0) { -uint8_t x_1103; -x_1103 = !lean_is_exclusive(x_1102); -if (x_1103 == 0) +uint8_t x_1120; +x_1120 = !lean_is_exclusive(x_1119); +if (x_1120 == 0) { -lean_object* x_1104; lean_object* x_1105; uint8_t x_1106; uint8_t x_1107; uint8_t x_1108; -x_1104 = lean_ctor_get(x_1102, 0); -x_1105 = lean_ctor_get(x_1102, 1); -x_1106 = 2; -x_1107 = lean_unbox(x_1104); -x_1108 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1107, x_1106); -if (x_1108 == 0) +lean_object* x_1121; lean_object* x_1122; uint8_t x_1123; uint8_t x_1124; uint8_t x_1125; +x_1121 = lean_ctor_get(x_1119, 0); +x_1122 = lean_ctor_get(x_1119, 1); +x_1123 = 2; +x_1124 = lean_unbox(x_1121); +x_1125 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1124, x_1123); +if (x_1125 == 0) { -uint8_t x_1109; uint8_t x_1110; uint8_t x_1111; lean_object* x_1112; +uint8_t x_1126; uint8_t x_1127; uint8_t x_1128; lean_object* x_1129; 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_1109 = 1; -x_1110 = lean_unbox(x_1104); -lean_dec(x_1104); -x_1111 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1110, x_1109); -x_1112 = lean_box(x_1111); -lean_ctor_set(x_1102, 0, x_1112); -return x_1102; +x_1126 = 1; +x_1127 = lean_unbox(x_1121); +lean_dec(x_1121); +x_1128 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1127, x_1126); +x_1129 = lean_box(x_1128); +lean_ctor_set(x_1119, 0, x_1129); +return x_1119; } else { -lean_object* x_1113; -lean_free_object(x_1102); -lean_dec(x_1104); +lean_object* x_1130; +lean_free_object(x_1119); +lean_dec(x_1121); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_1113 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1105); -if (lean_obj_tag(x_1113) == 0) -{ -uint8_t x_1114; -x_1114 = !lean_is_exclusive(x_1113); -if (x_1114 == 0) -{ -lean_object* x_1115; lean_object* x_1116; uint8_t x_1117; uint8_t x_1118; -x_1115 = lean_ctor_get(x_1113, 0); -x_1116 = lean_ctor_get(x_1113, 1); -x_1117 = lean_unbox(x_1115); -x_1118 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1117, x_1106); -if (x_1118 == 0) -{ -uint8_t x_1119; uint8_t x_1120; uint8_t x_1121; lean_object* x_1122; -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_1119 = 1; -x_1120 = lean_unbox(x_1115); -lean_dec(x_1115); -x_1121 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1120, x_1119); -x_1122 = lean_box(x_1121); -lean_ctor_set(x_1113, 0, x_1122); -return x_1113; -} -else -{ -lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; uint8_t x_1126; -lean_free_object(x_1113); -lean_dec(x_1115); -x_1123 = lean_st_ref_get(x_6, x_1116); -x_1124 = lean_ctor_get(x_1123, 1); -lean_inc(x_1124); -lean_dec(x_1123); -x_1125 = lean_st_ref_get(x_4, x_1124); -x_1126 = !lean_is_exclusive(x_1125); -if (x_1126 == 0) -{ -lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; uint8_t x_1130; -x_1127 = lean_ctor_get(x_1125, 0); -x_1128 = lean_ctor_get(x_1125, 1); -x_1129 = lean_ctor_get(x_1127, 0); -lean_inc(x_1129); -lean_dec(x_1127); -lean_inc(x_1129); -x_1130 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1129, x_1); -if (x_1130 == 0) +x_1130 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1122); +if (lean_obj_tag(x_1130) == 0) { uint8_t x_1131; -x_1131 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1129, x_2); +x_1131 = !lean_is_exclusive(x_1130); if (x_1131 == 0) { -lean_object* x_1132; lean_object* x_1162; uint8_t x_1163; -x_1162 = lean_ctor_get(x_3, 0); -lean_inc(x_1162); -x_1163 = lean_ctor_get_uint8(x_1162, 4); -lean_dec(x_1162); -if (x_1163 == 0) +lean_object* x_1132; lean_object* x_1133; uint8_t x_1134; uint8_t x_1135; +x_1132 = lean_ctor_get(x_1130, 0); +x_1133 = lean_ctor_get(x_1130, 1); +x_1134 = lean_unbox(x_1132); +x_1135 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1134, x_1123); +if (x_1135 == 0) { -uint8_t x_1164; lean_object* x_1165; +uint8_t x_1136; uint8_t x_1137; uint8_t x_1138; lean_object* x_1139; 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_1164 = 0; -x_1165 = lean_box(x_1164); -lean_ctor_set(x_1125, 0, x_1165); -return x_1125; -} -else -{ -uint8_t x_1166; -x_1166 = l_Lean_Level_isMVar(x_1); -if (x_1166 == 0) -{ -uint8_t x_1167; -x_1167 = l_Lean_Level_isMVar(x_2); -if (x_1167 == 0) -{ -uint8_t x_1168; lean_object* x_1169; -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_1168 = 0; -x_1169 = lean_box(x_1168); -lean_ctor_set(x_1125, 0, x_1169); -return x_1125; -} -else -{ -lean_object* x_1170; -lean_free_object(x_1125); -x_1170 = lean_box(0); -x_1132 = x_1170; -goto block_1161; -} -} -else -{ -lean_object* x_1171; -lean_free_object(x_1125); -x_1171 = lean_box(0); -x_1132 = x_1171; -goto block_1161; -} -} -block_1161: -{ -uint8_t x_1133; lean_object* x_1134; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; uint8_t x_1152; +x_1136 = 1; +x_1137 = lean_unbox(x_1132); lean_dec(x_1132); -x_1149 = lean_st_ref_get(x_6, x_1128); -x_1150 = lean_ctor_get(x_1149, 0); -lean_inc(x_1150); -x_1151 = lean_ctor_get(x_1150, 3); -lean_inc(x_1151); -lean_dec(x_1150); -x_1152 = lean_ctor_get_uint8(x_1151, sizeof(void*)*1); -lean_dec(x_1151); -if (x_1152 == 0) -{ -lean_object* x_1153; uint8_t x_1154; -x_1153 = lean_ctor_get(x_1149, 1); -lean_inc(x_1153); -lean_dec(x_1149); -x_1154 = 0; -x_1133 = x_1154; -x_1134 = x_1153; -goto block_1148; +x_1138 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1137, x_1136); +x_1139 = lean_box(x_1138); +lean_ctor_set(x_1130, 0, x_1139); +return x_1130; } else { -lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; uint8_t x_1160; -x_1155 = lean_ctor_get(x_1149, 1); -lean_inc(x_1155); -lean_dec(x_1149); -x_1156 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1157 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1156, x_3, x_4, x_5, x_6, x_1155); -x_1158 = lean_ctor_get(x_1157, 0); -lean_inc(x_1158); -x_1159 = lean_ctor_get(x_1157, 1); -lean_inc(x_1159); -lean_dec(x_1157); -x_1160 = lean_unbox(x_1158); -lean_dec(x_1158); -x_1133 = x_1160; -x_1134 = x_1159; -goto block_1148; -} -block_1148: +lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; uint8_t x_1143; +lean_free_object(x_1130); +lean_dec(x_1132); +x_1140 = lean_st_ref_get(x_6, x_1133); +x_1141 = lean_ctor_get(x_1140, 1); +lean_inc(x_1141); +lean_dec(x_1140); +x_1142 = lean_st_ref_get(x_4, x_1141); +x_1143 = !lean_is_exclusive(x_1142); +if (x_1143 == 0) { -if (x_1133 == 0) +lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; uint8_t x_1147; +x_1144 = lean_ctor_get(x_1142, 0); +x_1145 = lean_ctor_get(x_1142, 1); +x_1146 = lean_ctor_get(x_1144, 0); +lean_inc(x_1146); +lean_dec(x_1144); +lean_inc(x_1146); +x_1147 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1146, x_1); +if (x_1147 == 0) { -lean_object* x_1135; +uint8_t x_1148; +x_1148 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1146, x_2); +if (x_1148 == 0) +{ +lean_object* x_1149; lean_object* x_1179; uint8_t x_1180; +x_1179 = lean_ctor_get(x_3, 0); +lean_inc(x_1179); +x_1180 = lean_ctor_get_uint8(x_1179, 4); +lean_dec(x_1179); +if (x_1180 == 0) +{ +uint8_t x_1181; lean_object* x_1182; 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_1135 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1134); -return x_1135; +x_1181 = 0; +x_1182 = lean_box(x_1181); +lean_ctor_set(x_1142, 0, x_1182); +return x_1142; } else { -lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; -x_1136 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1136, 0, x_1); -x_1137 = l_Lean_KernelException_toMessageData___closed__15; -x_1138 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1138, 0, x_1137); -lean_ctor_set(x_1138, 1, x_1136); -x_1139 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1140 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1140, 0, x_1138); -lean_ctor_set(x_1140, 1, x_1139); -x_1141 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1141, 0, x_2); -x_1142 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1142, 0, x_1140); -lean_ctor_set(x_1142, 1, x_1141); -x_1143 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1143, 0, x_1142); -lean_ctor_set(x_1143, 1, x_1137); -x_1144 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1145 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1144, x_1143, x_3, x_4, x_5, x_6, x_1134); +uint8_t x_1183; +x_1183 = l_Lean_Level_isMVar(x_1); +if (x_1183 == 0) +{ +uint8_t x_1184; +x_1184 = l_Lean_Level_isMVar(x_2); +if (x_1184 == 0) +{ +uint8_t x_1185; lean_object* x_1186; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_1146 = lean_ctor_get(x_1145, 1); -lean_inc(x_1146); -lean_dec(x_1145); -x_1147 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1146); -return x_1147; -} +lean_dec(x_2); +lean_dec(x_1); +x_1185 = 0; +x_1186 = lean_box(x_1185); +lean_ctor_set(x_1142, 0, x_1186); +return x_1142; } +else +{ +lean_object* x_1187; +lean_free_object(x_1142); +x_1187 = lean_box(0); +x_1149 = x_1187; +goto block_1178; } } else { -lean_object* x_1172; uint8_t x_1173; -lean_free_object(x_1125); -x_1172 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1128); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1173 = !lean_is_exclusive(x_1172); -if (x_1173 == 0) +lean_object* x_1188; +lean_free_object(x_1142); +x_1188 = lean_box(0); +x_1149 = x_1188; +goto block_1178; +} +} +block_1178: { -lean_object* x_1174; uint8_t x_1175; lean_object* x_1176; -x_1174 = lean_ctor_get(x_1172, 0); +uint8_t x_1150; lean_object* x_1151; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; uint8_t x_1169; +lean_dec(x_1149); +x_1166 = lean_st_ref_get(x_6, x_1145); +x_1167 = lean_ctor_get(x_1166, 0); +lean_inc(x_1167); +x_1168 = lean_ctor_get(x_1167, 3); +lean_inc(x_1168); +lean_dec(x_1167); +x_1169 = lean_ctor_get_uint8(x_1168, sizeof(void*)*1); +lean_dec(x_1168); +if (x_1169 == 0) +{ +lean_object* x_1170; uint8_t x_1171; +x_1170 = lean_ctor_get(x_1166, 1); +lean_inc(x_1170); +lean_dec(x_1166); +x_1171 = 0; +x_1150 = x_1171; +x_1151 = x_1170; +goto block_1165; +} +else +{ +lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; uint8_t x_1177; +x_1172 = lean_ctor_get(x_1166, 1); +lean_inc(x_1172); +lean_dec(x_1166); +x_1173 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1174 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1173, x_3, x_4, x_5, x_6, x_1172); +x_1175 = lean_ctor_get(x_1174, 0); +lean_inc(x_1175); +x_1176 = lean_ctor_get(x_1174, 1); +lean_inc(x_1176); lean_dec(x_1174); -x_1175 = 1; -x_1176 = lean_box(x_1175); -lean_ctor_set(x_1172, 0, x_1176); -return x_1172; +x_1177 = lean_unbox(x_1175); +lean_dec(x_1175); +x_1150 = x_1177; +x_1151 = x_1176; +goto block_1165; } -else +block_1165: { -lean_object* x_1177; uint8_t x_1178; lean_object* x_1179; lean_object* x_1180; -x_1177 = lean_ctor_get(x_1172, 1); -lean_inc(x_1177); -lean_dec(x_1172); -x_1178 = 1; -x_1179 = lean_box(x_1178); -x_1180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1180, 0, x_1179); -lean_ctor_set(x_1180, 1, x_1177); -return x_1180; -} -} -} -else +if (x_1150 == 0) { -lean_object* x_1181; uint8_t x_1182; -lean_dec(x_1129); -lean_free_object(x_1125); -x_1181 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1128); +lean_object* x_1152; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_1182 = !lean_is_exclusive(x_1181); -if (x_1182 == 0) -{ -lean_object* x_1183; uint8_t x_1184; lean_object* x_1185; -x_1183 = lean_ctor_get(x_1181, 0); -lean_dec(x_1183); -x_1184 = 1; -x_1185 = lean_box(x_1184); -lean_ctor_set(x_1181, 0, x_1185); -return x_1181; +lean_dec(x_2); +lean_dec(x_1); +x_1152 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1151); +return x_1152; } else { -lean_object* x_1186; uint8_t x_1187; lean_object* x_1188; lean_object* x_1189; -x_1186 = lean_ctor_get(x_1181, 1); -lean_inc(x_1186); -lean_dec(x_1181); -x_1187 = 1; -x_1188 = lean_box(x_1187); -x_1189 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1189, 0, x_1188); -lean_ctor_set(x_1189, 1, x_1186); +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; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; +x_1153 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1153, 0, x_1); +x_1154 = l_Lean_KernelException_toMessageData___closed__15; +x_1155 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1155, 0, x_1154); +lean_ctor_set(x_1155, 1, x_1153); +x_1156 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1157 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1157, 0, x_1155); +lean_ctor_set(x_1157, 1, x_1156); +x_1158 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1158, 0, x_2); +x_1159 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1159, 0, x_1157); +lean_ctor_set(x_1159, 1, x_1158); +x_1160 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1160, 0, x_1159); +lean_ctor_set(x_1160, 1, x_1154); +x_1161 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1162 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1161, x_1160, x_3, x_4, x_5, x_6, x_1151); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1163 = lean_ctor_get(x_1162, 1); +lean_inc(x_1163); +lean_dec(x_1162); +x_1164 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1163); +return x_1164; +} +} +} +} +else +{ +lean_object* x_1189; uint8_t x_1190; +lean_free_object(x_1142); +x_1189 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1145); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1190 = !lean_is_exclusive(x_1189); +if (x_1190 == 0) +{ +lean_object* x_1191; uint8_t x_1192; lean_object* x_1193; +x_1191 = lean_ctor_get(x_1189, 0); +lean_dec(x_1191); +x_1192 = 1; +x_1193 = lean_box(x_1192); +lean_ctor_set(x_1189, 0, x_1193); return x_1189; } +else +{ +lean_object* x_1194; uint8_t x_1195; lean_object* x_1196; lean_object* x_1197; +x_1194 = lean_ctor_get(x_1189, 1); +lean_inc(x_1194); +lean_dec(x_1189); +x_1195 = 1; +x_1196 = lean_box(x_1195); +x_1197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1197, 0, x_1196); +lean_ctor_set(x_1197, 1, x_1194); +return x_1197; +} } } else { -lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; uint8_t x_1193; -x_1190 = lean_ctor_get(x_1125, 0); -x_1191 = lean_ctor_get(x_1125, 1); -lean_inc(x_1191); -lean_inc(x_1190); -lean_dec(x_1125); -x_1192 = lean_ctor_get(x_1190, 0); -lean_inc(x_1192); -lean_dec(x_1190); -lean_inc(x_1192); -x_1193 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1192, x_1); -if (x_1193 == 0) -{ -uint8_t x_1194; -x_1194 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1192, x_2); -if (x_1194 == 0) -{ -lean_object* x_1195; lean_object* x_1225; uint8_t x_1226; -x_1225 = lean_ctor_get(x_3, 0); -lean_inc(x_1225); -x_1226 = lean_ctor_get_uint8(x_1225, 4); -lean_dec(x_1225); -if (x_1226 == 0) -{ -uint8_t x_1227; lean_object* x_1228; lean_object* x_1229; +lean_object* x_1198; uint8_t x_1199; +lean_dec(x_1146); +lean_free_object(x_1142); +x_1198 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1145); 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_1227 = 0; -x_1228 = lean_box(x_1227); -x_1229 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1229, 0, x_1228); -lean_ctor_set(x_1229, 1, x_1191); -return x_1229; -} -else +x_1199 = !lean_is_exclusive(x_1198); +if (x_1199 == 0) { -uint8_t x_1230; -x_1230 = l_Lean_Level_isMVar(x_1); -if (x_1230 == 0) -{ -uint8_t x_1231; -x_1231 = l_Lean_Level_isMVar(x_2); -if (x_1231 == 0) -{ -uint8_t x_1232; lean_object* x_1233; lean_object* x_1234; -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_1232 = 0; -x_1233 = lean_box(x_1232); -x_1234 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1234, 0, x_1233); -lean_ctor_set(x_1234, 1, x_1191); -return x_1234; -} -else -{ -lean_object* x_1235; -x_1235 = lean_box(0); -x_1195 = x_1235; -goto block_1224; -} -} -else -{ -lean_object* x_1236; -x_1236 = lean_box(0); -x_1195 = x_1236; -goto block_1224; -} -} -block_1224: -{ -uint8_t x_1196; lean_object* x_1197; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; uint8_t x_1215; -lean_dec(x_1195); -x_1212 = lean_st_ref_get(x_6, x_1191); -x_1213 = lean_ctor_get(x_1212, 0); -lean_inc(x_1213); -x_1214 = lean_ctor_get(x_1213, 3); -lean_inc(x_1214); -lean_dec(x_1213); -x_1215 = lean_ctor_get_uint8(x_1214, sizeof(void*)*1); -lean_dec(x_1214); -if (x_1215 == 0) -{ -lean_object* x_1216; uint8_t x_1217; -x_1216 = lean_ctor_get(x_1212, 1); -lean_inc(x_1216); -lean_dec(x_1212); -x_1217 = 0; -x_1196 = x_1217; -x_1197 = x_1216; -goto block_1211; -} -else -{ -lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; uint8_t x_1223; -x_1218 = lean_ctor_get(x_1212, 1); -lean_inc(x_1218); -lean_dec(x_1212); -x_1219 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1220 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1219, x_3, x_4, x_5, x_6, x_1218); -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 = lean_unbox(x_1221); -lean_dec(x_1221); -x_1196 = x_1223; -x_1197 = x_1222; -goto block_1211; -} -block_1211: -{ -if (x_1196 == 0) -{ -lean_object* x_1198; -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_1198 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1197); +lean_object* x_1200; uint8_t x_1201; lean_object* x_1202; +x_1200 = lean_ctor_get(x_1198, 0); +lean_dec(x_1200); +x_1201 = 1; +x_1202 = lean_box(x_1201); +lean_ctor_set(x_1198, 0, x_1202); return x_1198; } else { -lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; -x_1199 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1199, 0, x_1); -x_1200 = l_Lean_KernelException_toMessageData___closed__15; -x_1201 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1201, 0, x_1200); -lean_ctor_set(x_1201, 1, x_1199); -x_1202 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1203 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1203, 0, x_1201); -lean_ctor_set(x_1203, 1, x_1202); -x_1204 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1204, 0, x_2); -x_1205 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1205, 0, x_1203); -lean_ctor_set(x_1205, 1, x_1204); -x_1206 = lean_alloc_ctor(10, 2, 0); +lean_object* x_1203; uint8_t x_1204; lean_object* x_1205; lean_object* x_1206; +x_1203 = lean_ctor_get(x_1198, 1); +lean_inc(x_1203); +lean_dec(x_1198); +x_1204 = 1; +x_1205 = lean_box(x_1204); +x_1206 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1206, 0, x_1205); -lean_ctor_set(x_1206, 1, x_1200); -x_1207 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1208 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1207, x_1206, x_3, x_4, x_5, x_6, x_1197); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1209 = lean_ctor_get(x_1208, 1); +lean_ctor_set(x_1206, 1, x_1203); +return x_1206; +} +} +} +else +{ +lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; uint8_t x_1210; +x_1207 = lean_ctor_get(x_1142, 0); +x_1208 = lean_ctor_get(x_1142, 1); +lean_inc(x_1208); +lean_inc(x_1207); +lean_dec(x_1142); +x_1209 = lean_ctor_get(x_1207, 0); lean_inc(x_1209); -lean_dec(x_1208); -x_1210 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1209); -return x_1210; -} -} -} -} -else +lean_dec(x_1207); +lean_inc(x_1209); +x_1210 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1209, x_1); +if (x_1210 == 0) { -lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; uint8_t x_1240; lean_object* x_1241; lean_object* x_1242; -x_1237 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1191); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1238 = lean_ctor_get(x_1237, 1); -lean_inc(x_1238); -if (lean_is_exclusive(x_1237)) { - lean_ctor_release(x_1237, 0); - lean_ctor_release(x_1237, 1); - x_1239 = x_1237; -} else { - lean_dec_ref(x_1237); - x_1239 = lean_box(0); -} -x_1240 = 1; -x_1241 = lean_box(x_1240); -if (lean_is_scalar(x_1239)) { - x_1242 = lean_alloc_ctor(0, 2, 0); -} else { - x_1242 = x_1239; -} -lean_ctor_set(x_1242, 0, x_1241); -lean_ctor_set(x_1242, 1, x_1238); -return x_1242; -} -} -else +uint8_t x_1211; +x_1211 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1209, x_2); +if (x_1211 == 0) { -lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; uint8_t x_1246; lean_object* x_1247; lean_object* x_1248; -lean_dec(x_1192); -x_1243 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1191); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1244 = lean_ctor_get(x_1243, 1); -lean_inc(x_1244); -if (lean_is_exclusive(x_1243)) { - lean_ctor_release(x_1243, 0); - lean_ctor_release(x_1243, 1); - x_1245 = x_1243; -} else { - lean_dec_ref(x_1243); - x_1245 = lean_box(0); -} -x_1246 = 1; -x_1247 = lean_box(x_1246); -if (lean_is_scalar(x_1245)) { - x_1248 = lean_alloc_ctor(0, 2, 0); -} else { - x_1248 = x_1245; -} -lean_ctor_set(x_1248, 0, x_1247); -lean_ctor_set(x_1248, 1, x_1244); -return x_1248; -} -} -} -} -else +lean_object* x_1212; lean_object* x_1242; uint8_t x_1243; +x_1242 = lean_ctor_get(x_3, 0); +lean_inc(x_1242); +x_1243 = lean_ctor_get_uint8(x_1242, 4); +lean_dec(x_1242); +if (x_1243 == 0) { -lean_object* x_1249; lean_object* x_1250; uint8_t x_1251; uint8_t x_1252; -x_1249 = lean_ctor_get(x_1113, 0); -x_1250 = lean_ctor_get(x_1113, 1); -lean_inc(x_1250); -lean_inc(x_1249); -lean_dec(x_1113); -x_1251 = lean_unbox(x_1249); -x_1252 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1251, x_1106); -if (x_1252 == 0) -{ -uint8_t x_1253; uint8_t x_1254; uint8_t x_1255; lean_object* x_1256; lean_object* x_1257; +uint8_t x_1244; lean_object* x_1245; lean_object* x_1246; 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_1253 = 1; -x_1254 = lean_unbox(x_1249); -lean_dec(x_1249); -x_1255 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1254, x_1253); -x_1256 = lean_box(x_1255); -x_1257 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1257, 0, x_1256); -lean_ctor_set(x_1257, 1, x_1250); -return x_1257; +x_1244 = 0; +x_1245 = lean_box(x_1244); +x_1246 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1246, 0, x_1245); +lean_ctor_set(x_1246, 1, x_1208); +return x_1246; } else { -lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; uint8_t x_1265; -lean_dec(x_1249); -x_1258 = lean_st_ref_get(x_6, x_1250); -x_1259 = lean_ctor_get(x_1258, 1); -lean_inc(x_1259); -lean_dec(x_1258); -x_1260 = lean_st_ref_get(x_4, x_1259); -x_1261 = lean_ctor_get(x_1260, 0); +uint8_t x_1247; +x_1247 = l_Lean_Level_isMVar(x_1); +if (x_1247 == 0) +{ +uint8_t x_1248; +x_1248 = l_Lean_Level_isMVar(x_2); +if (x_1248 == 0) +{ +uint8_t x_1249; lean_object* x_1250; lean_object* x_1251; +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_1249 = 0; +x_1250 = lean_box(x_1249); +x_1251 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1251, 0, x_1250); +lean_ctor_set(x_1251, 1, x_1208); +return x_1251; +} +else +{ +lean_object* x_1252; +x_1252 = lean_box(0); +x_1212 = x_1252; +goto block_1241; +} +} +else +{ +lean_object* x_1253; +x_1253 = lean_box(0); +x_1212 = x_1253; +goto block_1241; +} +} +block_1241: +{ +uint8_t x_1213; lean_object* x_1214; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; uint8_t x_1232; +lean_dec(x_1212); +x_1229 = lean_st_ref_get(x_6, x_1208); +x_1230 = lean_ctor_get(x_1229, 0); +lean_inc(x_1230); +x_1231 = lean_ctor_get(x_1230, 3); +lean_inc(x_1231); +lean_dec(x_1230); +x_1232 = lean_ctor_get_uint8(x_1231, sizeof(void*)*1); +lean_dec(x_1231); +if (x_1232 == 0) +{ +lean_object* x_1233; uint8_t x_1234; +x_1233 = lean_ctor_get(x_1229, 1); +lean_inc(x_1233); +lean_dec(x_1229); +x_1234 = 0; +x_1213 = x_1234; +x_1214 = x_1233; +goto block_1228; +} +else +{ +lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; uint8_t x_1240; +x_1235 = lean_ctor_get(x_1229, 1); +lean_inc(x_1235); +lean_dec(x_1229); +x_1236 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1237 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1236, x_3, x_4, x_5, x_6, x_1235); +x_1238 = lean_ctor_get(x_1237, 0); +lean_inc(x_1238); +x_1239 = lean_ctor_get(x_1237, 1); +lean_inc(x_1239); +lean_dec(x_1237); +x_1240 = lean_unbox(x_1238); +lean_dec(x_1238); +x_1213 = x_1240; +x_1214 = x_1239; +goto block_1228; +} +block_1228: +{ +if (x_1213 == 0) +{ +lean_object* x_1215; +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_1215 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1214); +return x_1215; +} +else +{ +lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; 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; +x_1216 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1216, 0, x_1); +x_1217 = l_Lean_KernelException_toMessageData___closed__15; +x_1218 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1218, 0, x_1217); +lean_ctor_set(x_1218, 1, x_1216); +x_1219 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1220 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1220, 0, x_1218); +lean_ctor_set(x_1220, 1, x_1219); +x_1221 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1221, 0, x_2); +x_1222 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1222, 0, x_1220); +lean_ctor_set(x_1222, 1, x_1221); +x_1223 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1223, 0, x_1222); +lean_ctor_set(x_1223, 1, x_1217); +x_1224 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1225 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1224, x_1223, x_3, x_4, x_5, x_6, x_1214); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1226 = lean_ctor_get(x_1225, 1); +lean_inc(x_1226); +lean_dec(x_1225); +x_1227 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1226); +return x_1227; +} +} +} +} +else +{ +lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; uint8_t x_1257; lean_object* x_1258; lean_object* x_1259; +x_1254 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1208); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1255 = lean_ctor_get(x_1254, 1); +lean_inc(x_1255); +if (lean_is_exclusive(x_1254)) { + lean_ctor_release(x_1254, 0); + lean_ctor_release(x_1254, 1); + x_1256 = x_1254; +} else { + lean_dec_ref(x_1254); + x_1256 = lean_box(0); +} +x_1257 = 1; +x_1258 = lean_box(x_1257); +if (lean_is_scalar(x_1256)) { + x_1259 = lean_alloc_ctor(0, 2, 0); +} else { + x_1259 = x_1256; +} +lean_ctor_set(x_1259, 0, x_1258); +lean_ctor_set(x_1259, 1, x_1255); +return x_1259; +} +} +else +{ +lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; uint8_t x_1263; lean_object* x_1264; lean_object* x_1265; +lean_dec(x_1209); +x_1260 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1208); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1261 = lean_ctor_get(x_1260, 1); lean_inc(x_1261); -x_1262 = lean_ctor_get(x_1260, 1); -lean_inc(x_1262); if (lean_is_exclusive(x_1260)) { lean_ctor_release(x_1260, 0); lean_ctor_release(x_1260, 1); - x_1263 = x_1260; + x_1262 = x_1260; } else { lean_dec_ref(x_1260); - x_1263 = lean_box(0); + x_1262 = lean_box(0); } -x_1264 = lean_ctor_get(x_1261, 0); -lean_inc(x_1264); -lean_dec(x_1261); -lean_inc(x_1264); -x_1265 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1264, x_1); -if (x_1265 == 0) -{ -uint8_t x_1266; -x_1266 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1264, x_2); -if (x_1266 == 0) -{ -lean_object* x_1267; lean_object* x_1297; uint8_t x_1298; -x_1297 = lean_ctor_get(x_3, 0); -lean_inc(x_1297); -x_1298 = lean_ctor_get_uint8(x_1297, 4); -lean_dec(x_1297); -if (x_1298 == 0) -{ -uint8_t x_1299; lean_object* x_1300; lean_object* x_1301; -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_1299 = 0; -x_1300 = lean_box(x_1299); -if (lean_is_scalar(x_1263)) { - x_1301 = lean_alloc_ctor(0, 2, 0); +x_1263 = 1; +x_1264 = lean_box(x_1263); +if (lean_is_scalar(x_1262)) { + x_1265 = lean_alloc_ctor(0, 2, 0); } else { - x_1301 = x_1263; + x_1265 = x_1262; +} +lean_ctor_set(x_1265, 0, x_1264); +lean_ctor_set(x_1265, 1, x_1261); +return x_1265; +} +} } -lean_ctor_set(x_1301, 0, x_1300); -lean_ctor_set(x_1301, 1, x_1262); -return x_1301; } else { -uint8_t x_1302; -x_1302 = l_Lean_Level_isMVar(x_1); -if (x_1302 == 0) +lean_object* x_1266; lean_object* x_1267; uint8_t x_1268; uint8_t x_1269; +x_1266 = lean_ctor_get(x_1130, 0); +x_1267 = lean_ctor_get(x_1130, 1); +lean_inc(x_1267); +lean_inc(x_1266); +lean_dec(x_1130); +x_1268 = lean_unbox(x_1266); +x_1269 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1268, x_1123); +if (x_1269 == 0) { -uint8_t x_1303; -x_1303 = l_Lean_Level_isMVar(x_2); -if (x_1303 == 0) -{ -uint8_t x_1304; lean_object* x_1305; lean_object* x_1306; +uint8_t x_1270; uint8_t x_1271; uint8_t x_1272; lean_object* x_1273; lean_object* x_1274; 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_1304 = 0; -x_1305 = lean_box(x_1304); -if (lean_is_scalar(x_1263)) { - x_1306 = lean_alloc_ctor(0, 2, 0); +x_1270 = 1; +x_1271 = lean_unbox(x_1266); +lean_dec(x_1266); +x_1272 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1271, x_1270); +x_1273 = lean_box(x_1272); +x_1274 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1274, 0, x_1273); +lean_ctor_set(x_1274, 1, x_1267); +return x_1274; +} +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; uint8_t x_1282; +lean_dec(x_1266); +x_1275 = lean_st_ref_get(x_6, x_1267); +x_1276 = lean_ctor_get(x_1275, 1); +lean_inc(x_1276); +lean_dec(x_1275); +x_1277 = lean_st_ref_get(x_4, x_1276); +x_1278 = lean_ctor_get(x_1277, 0); +lean_inc(x_1278); +x_1279 = lean_ctor_get(x_1277, 1); +lean_inc(x_1279); +if (lean_is_exclusive(x_1277)) { + lean_ctor_release(x_1277, 0); + lean_ctor_release(x_1277, 1); + x_1280 = x_1277; } else { - x_1306 = x_1263; + lean_dec_ref(x_1277); + x_1280 = lean_box(0); } -lean_ctor_set(x_1306, 0, x_1305); -lean_ctor_set(x_1306, 1, x_1262); -return x_1306; -} -else -{ -lean_object* x_1307; -lean_dec(x_1263); -x_1307 = lean_box(0); -x_1267 = x_1307; -goto block_1296; -} -} -else -{ -lean_object* x_1308; -lean_dec(x_1263); -x_1308 = lean_box(0); -x_1267 = x_1308; -goto block_1296; -} -} -block_1296: -{ -uint8_t x_1268; lean_object* x_1269; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; uint8_t x_1287; -lean_dec(x_1267); -x_1284 = lean_st_ref_get(x_6, x_1262); -x_1285 = lean_ctor_get(x_1284, 0); -lean_inc(x_1285); -x_1286 = lean_ctor_get(x_1285, 3); -lean_inc(x_1286); -lean_dec(x_1285); -x_1287 = lean_ctor_get_uint8(x_1286, sizeof(void*)*1); -lean_dec(x_1286); -if (x_1287 == 0) -{ -lean_object* x_1288; uint8_t x_1289; -x_1288 = lean_ctor_get(x_1284, 1); -lean_inc(x_1288); -lean_dec(x_1284); -x_1289 = 0; -x_1268 = x_1289; -x_1269 = x_1288; -goto block_1283; -} -else -{ -lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; uint8_t x_1295; -x_1290 = lean_ctor_get(x_1284, 1); -lean_inc(x_1290); -lean_dec(x_1284); -x_1291 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1292 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1291, x_3, x_4, x_5, x_6, x_1290); -x_1293 = lean_ctor_get(x_1292, 0); -lean_inc(x_1293); -x_1294 = lean_ctor_get(x_1292, 1); -lean_inc(x_1294); -lean_dec(x_1292); -x_1295 = lean_unbox(x_1293); -lean_dec(x_1293); -x_1268 = x_1295; -x_1269 = x_1294; -goto block_1283; -} -block_1283: -{ -if (x_1268 == 0) -{ -lean_object* x_1270; -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_1270 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1269); -return x_1270; -} -else -{ -lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; 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; -x_1271 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1271, 0, x_1); -x_1272 = l_Lean_KernelException_toMessageData___closed__15; -x_1273 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1273, 0, x_1272); -lean_ctor_set(x_1273, 1, x_1271); -x_1274 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1275 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1275, 0, x_1273); -lean_ctor_set(x_1275, 1, x_1274); -x_1276 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1276, 0, x_2); -x_1277 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1277, 0, x_1275); -lean_ctor_set(x_1277, 1, x_1276); -x_1278 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1278, 0, x_1277); -lean_ctor_set(x_1278, 1, x_1272); -x_1279 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1280 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1279, x_1278, x_3, x_4, x_5, x_6, x_1269); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1281 = lean_ctor_get(x_1280, 1); +x_1281 = lean_ctor_get(x_1278, 0); lean_inc(x_1281); +lean_dec(x_1278); +lean_inc(x_1281); +x_1282 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1281, x_1); +if (x_1282 == 0) +{ +uint8_t x_1283; +x_1283 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1281, x_2); +if (x_1283 == 0) +{ +lean_object* x_1284; lean_object* x_1314; uint8_t x_1315; +x_1314 = lean_ctor_get(x_3, 0); +lean_inc(x_1314); +x_1315 = lean_ctor_get_uint8(x_1314, 4); +lean_dec(x_1314); +if (x_1315 == 0) +{ +uint8_t x_1316; lean_object* x_1317; lean_object* x_1318; +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_1316 = 0; +x_1317 = lean_box(x_1316); +if (lean_is_scalar(x_1280)) { + x_1318 = lean_alloc_ctor(0, 2, 0); +} else { + x_1318 = x_1280; +} +lean_ctor_set(x_1318, 0, x_1317); +lean_ctor_set(x_1318, 1, x_1279); +return x_1318; +} +else +{ +uint8_t x_1319; +x_1319 = l_Lean_Level_isMVar(x_1); +if (x_1319 == 0) +{ +uint8_t x_1320; +x_1320 = l_Lean_Level_isMVar(x_2); +if (x_1320 == 0) +{ +uint8_t x_1321; lean_object* x_1322; lean_object* x_1323; +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_1321 = 0; +x_1322 = lean_box(x_1321); +if (lean_is_scalar(x_1280)) { + x_1323 = lean_alloc_ctor(0, 2, 0); +} else { + x_1323 = x_1280; +} +lean_ctor_set(x_1323, 0, x_1322); +lean_ctor_set(x_1323, 1, x_1279); +return x_1323; +} +else +{ +lean_object* x_1324; lean_dec(x_1280); -x_1282 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1281); -return x_1282; -} -} +x_1324 = lean_box(0); +x_1284 = x_1324; +goto block_1313; } } else { -lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; uint8_t x_1312; lean_object* x_1313; lean_object* x_1314; -lean_dec(x_1263); -x_1309 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1262); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1310 = lean_ctor_get(x_1309, 1); +lean_object* x_1325; +lean_dec(x_1280); +x_1325 = lean_box(0); +x_1284 = x_1325; +goto block_1313; +} +} +block_1313: +{ +uint8_t x_1285; lean_object* x_1286; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; uint8_t x_1304; +lean_dec(x_1284); +x_1301 = lean_st_ref_get(x_6, x_1279); +x_1302 = lean_ctor_get(x_1301, 0); +lean_inc(x_1302); +x_1303 = lean_ctor_get(x_1302, 3); +lean_inc(x_1303); +lean_dec(x_1302); +x_1304 = lean_ctor_get_uint8(x_1303, sizeof(void*)*1); +lean_dec(x_1303); +if (x_1304 == 0) +{ +lean_object* x_1305; uint8_t x_1306; +x_1305 = lean_ctor_get(x_1301, 1); +lean_inc(x_1305); +lean_dec(x_1301); +x_1306 = 0; +x_1285 = x_1306; +x_1286 = x_1305; +goto block_1300; +} +else +{ +lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; uint8_t x_1312; +x_1307 = lean_ctor_get(x_1301, 1); +lean_inc(x_1307); +lean_dec(x_1301); +x_1308 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1309 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1308, x_3, x_4, x_5, x_6, x_1307); +x_1310 = lean_ctor_get(x_1309, 0); lean_inc(x_1310); -if (lean_is_exclusive(x_1309)) { - lean_ctor_release(x_1309, 0); - lean_ctor_release(x_1309, 1); - x_1311 = x_1309; -} else { - lean_dec_ref(x_1309); - x_1311 = lean_box(0); +x_1311 = lean_ctor_get(x_1309, 1); +lean_inc(x_1311); +lean_dec(x_1309); +x_1312 = lean_unbox(x_1310); +lean_dec(x_1310); +x_1285 = x_1312; +x_1286 = x_1311; +goto block_1300; } -x_1312 = 1; -x_1313 = lean_box(x_1312); -if (lean_is_scalar(x_1311)) { - x_1314 = lean_alloc_ctor(0, 2, 0); -} else { - x_1314 = x_1311; -} -lean_ctor_set(x_1314, 0, x_1313); -lean_ctor_set(x_1314, 1, x_1310); -return x_1314; -} -} -else +block_1300: { -lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; uint8_t x_1318; lean_object* x_1319; lean_object* x_1320; -lean_dec(x_1264); -lean_dec(x_1263); -x_1315 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1262); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1316 = lean_ctor_get(x_1315, 1); -lean_inc(x_1316); -if (lean_is_exclusive(x_1315)) { - lean_ctor_release(x_1315, 0); - lean_ctor_release(x_1315, 1); - x_1317 = x_1315; -} else { - lean_dec_ref(x_1315); - x_1317 = lean_box(0); -} -x_1318 = 1; -x_1319 = lean_box(x_1318); -if (lean_is_scalar(x_1317)) { - x_1320 = lean_alloc_ctor(0, 2, 0); -} else { - x_1320 = x_1317; -} -lean_ctor_set(x_1320, 0, x_1319); -lean_ctor_set(x_1320, 1, x_1316); -return x_1320; -} -} -} -} -else +if (x_1285 == 0) { -uint8_t x_1321; +lean_object* x_1287; 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_1321 = !lean_is_exclusive(x_1113); -if (x_1321 == 0) -{ -return x_1113; +x_1287 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1286); +return x_1287; } else { -lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; -x_1322 = lean_ctor_get(x_1113, 0); -x_1323 = lean_ctor_get(x_1113, 1); -lean_inc(x_1323); -lean_inc(x_1322); -lean_dec(x_1113); -x_1324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1324, 0, x_1322); -lean_ctor_set(x_1324, 1, x_1323); -return x_1324; +lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; +x_1288 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1288, 0, x_1); +x_1289 = l_Lean_KernelException_toMessageData___closed__15; +x_1290 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1290, 0, x_1289); +lean_ctor_set(x_1290, 1, x_1288); +x_1291 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1292 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1292, 0, x_1290); +lean_ctor_set(x_1292, 1, x_1291); +x_1293 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1293, 0, x_2); +x_1294 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1294, 0, x_1292); +lean_ctor_set(x_1294, 1, x_1293); +x_1295 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1295, 0, x_1294); +lean_ctor_set(x_1295, 1, x_1289); +x_1296 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1297 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1296, x_1295, x_3, x_4, x_5, x_6, x_1286); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1298 = lean_ctor_get(x_1297, 1); +lean_inc(x_1298); +lean_dec(x_1297); +x_1299 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1298); +return x_1299; } } } } else { -lean_object* x_1325; lean_object* x_1326; uint8_t x_1327; uint8_t x_1328; uint8_t x_1329; -x_1325 = lean_ctor_get(x_1102, 0); -x_1326 = lean_ctor_get(x_1102, 1); -lean_inc(x_1326); -lean_inc(x_1325); -lean_dec(x_1102); -x_1327 = 2; -x_1328 = lean_unbox(x_1325); -x_1329 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1328, x_1327); -if (x_1329 == 0) +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_dec(x_1280); +x_1326 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1279); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1327 = lean_ctor_get(x_1326, 1); +lean_inc(x_1327); +if (lean_is_exclusive(x_1326)) { + lean_ctor_release(x_1326, 0); + lean_ctor_release(x_1326, 1); + x_1328 = x_1326; +} else { + lean_dec_ref(x_1326); + x_1328 = lean_box(0); +} +x_1329 = 1; +x_1330 = lean_box(x_1329); +if (lean_is_scalar(x_1328)) { + x_1331 = lean_alloc_ctor(0, 2, 0); +} else { + x_1331 = x_1328; +} +lean_ctor_set(x_1331, 0, x_1330); +lean_ctor_set(x_1331, 1, x_1327); +return x_1331; +} +} +else { -uint8_t x_1330; uint8_t x_1331; uint8_t x_1332; lean_object* x_1333; lean_object* x_1334; +lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; uint8_t x_1335; lean_object* x_1336; lean_object* x_1337; +lean_dec(x_1281); +lean_dec(x_1280); +x_1332 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1279); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1333 = lean_ctor_get(x_1332, 1); +lean_inc(x_1333); +if (lean_is_exclusive(x_1332)) { + lean_ctor_release(x_1332, 0); + lean_ctor_release(x_1332, 1); + x_1334 = x_1332; +} else { + lean_dec_ref(x_1332); + x_1334 = lean_box(0); +} +x_1335 = 1; +x_1336 = lean_box(x_1335); +if (lean_is_scalar(x_1334)) { + x_1337 = lean_alloc_ctor(0, 2, 0); +} else { + x_1337 = x_1334; +} +lean_ctor_set(x_1337, 0, x_1336); +lean_ctor_set(x_1337, 1, x_1333); +return x_1337; +} +} +} +} +else +{ +uint8_t x_1338; 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_1330 = 1; -x_1331 = lean_unbox(x_1325); -lean_dec(x_1325); -x_1332 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1331, x_1330); -x_1333 = lean_box(x_1332); -x_1334 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1334, 0, x_1333); -lean_ctor_set(x_1334, 1, x_1326); -return x_1334; +x_1338 = !lean_is_exclusive(x_1130); +if (x_1338 == 0) +{ +return x_1130; } else { -lean_object* x_1335; -lean_dec(x_1325); +lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; +x_1339 = lean_ctor_get(x_1130, 0); +x_1340 = lean_ctor_get(x_1130, 1); +lean_inc(x_1340); +lean_inc(x_1339); +lean_dec(x_1130); +x_1341 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1341, 0, x_1339); +lean_ctor_set(x_1341, 1, x_1340); +return x_1341; +} +} +} +} +else +{ +lean_object* x_1342; lean_object* x_1343; uint8_t x_1344; uint8_t x_1345; uint8_t x_1346; +x_1342 = lean_ctor_get(x_1119, 0); +x_1343 = lean_ctor_get(x_1119, 1); +lean_inc(x_1343); +lean_inc(x_1342); +lean_dec(x_1119); +x_1344 = 2; +x_1345 = lean_unbox(x_1342); +x_1346 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1345, x_1344); +if (x_1346 == 0) +{ +uint8_t x_1347; uint8_t x_1348; uint8_t x_1349; lean_object* x_1350; lean_object* x_1351; +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_1347 = 1; +x_1348 = lean_unbox(x_1342); +lean_dec(x_1342); +x_1349 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1348, x_1347); +x_1350 = lean_box(x_1349); +x_1351 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1351, 0, x_1350); +lean_ctor_set(x_1351, 1, x_1343); +return x_1351; +} +else +{ +lean_object* x_1352; +lean_dec(x_1342); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_1335 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1326); -if (lean_obj_tag(x_1335) == 0) +x_1352 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1343); +if (lean_obj_tag(x_1352) == 0) { -lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; uint8_t x_1339; uint8_t x_1340; -x_1336 = lean_ctor_get(x_1335, 0); -lean_inc(x_1336); -x_1337 = lean_ctor_get(x_1335, 1); -lean_inc(x_1337); -if (lean_is_exclusive(x_1335)) { - lean_ctor_release(x_1335, 0); - lean_ctor_release(x_1335, 1); - x_1338 = x_1335; +lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; uint8_t x_1356; uint8_t x_1357; +x_1353 = lean_ctor_get(x_1352, 0); +lean_inc(x_1353); +x_1354 = lean_ctor_get(x_1352, 1); +lean_inc(x_1354); +if (lean_is_exclusive(x_1352)) { + lean_ctor_release(x_1352, 0); + lean_ctor_release(x_1352, 1); + x_1355 = x_1352; } else { - lean_dec_ref(x_1335); - x_1338 = lean_box(0); + lean_dec_ref(x_1352); + x_1355 = lean_box(0); } -x_1339 = lean_unbox(x_1336); -x_1340 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1339, x_1327); -if (x_1340 == 0) +x_1356 = lean_unbox(x_1353); +x_1357 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1356, x_1344); +if (x_1357 == 0) { -uint8_t x_1341; uint8_t x_1342; uint8_t x_1343; lean_object* x_1344; lean_object* x_1345; +uint8_t x_1358; uint8_t x_1359; uint8_t x_1360; lean_object* x_1361; lean_object* x_1362; 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_1341 = 1; -x_1342 = lean_unbox(x_1336); -lean_dec(x_1336); -x_1343 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1342, x_1341); -x_1344 = lean_box(x_1343); -if (lean_is_scalar(x_1338)) { - x_1345 = lean_alloc_ctor(0, 2, 0); +x_1358 = 1; +x_1359 = lean_unbox(x_1353); +lean_dec(x_1353); +x_1360 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1359, x_1358); +x_1361 = lean_box(x_1360); +if (lean_is_scalar(x_1355)) { + x_1362 = lean_alloc_ctor(0, 2, 0); } else { - x_1345 = x_1338; + x_1362 = x_1355; } -lean_ctor_set(x_1345, 0, x_1344); -lean_ctor_set(x_1345, 1, x_1337); -return x_1345; +lean_ctor_set(x_1362, 0, x_1361); +lean_ctor_set(x_1362, 1, x_1354); +return x_1362; } else { -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; uint8_t x_1353; -lean_dec(x_1338); -lean_dec(x_1336); -x_1346 = lean_st_ref_get(x_6, x_1337); -x_1347 = lean_ctor_get(x_1346, 1); -lean_inc(x_1347); -lean_dec(x_1346); -x_1348 = lean_st_ref_get(x_4, x_1347); -x_1349 = lean_ctor_get(x_1348, 0); -lean_inc(x_1349); -x_1350 = lean_ctor_get(x_1348, 1); -lean_inc(x_1350); -if (lean_is_exclusive(x_1348)) { - lean_ctor_release(x_1348, 0); - lean_ctor_release(x_1348, 1); - x_1351 = x_1348; -} else { - lean_dec_ref(x_1348); - x_1351 = lean_box(0); -} -x_1352 = lean_ctor_get(x_1349, 0); -lean_inc(x_1352); -lean_dec(x_1349); -lean_inc(x_1352); -x_1353 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1352, x_1); -if (x_1353 == 0) -{ -uint8_t x_1354; -x_1354 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1352, x_2); -if (x_1354 == 0) -{ -lean_object* x_1355; lean_object* x_1385; uint8_t x_1386; -x_1385 = lean_ctor_get(x_3, 0); -lean_inc(x_1385); -x_1386 = lean_ctor_get_uint8(x_1385, 4); -lean_dec(x_1385); -if (x_1386 == 0) -{ -uint8_t x_1387; lean_object* x_1388; lean_object* x_1389; -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_1387 = 0; -x_1388 = lean_box(x_1387); -if (lean_is_scalar(x_1351)) { - x_1389 = lean_alloc_ctor(0, 2, 0); -} else { - x_1389 = x_1351; -} -lean_ctor_set(x_1389, 0, x_1388); -lean_ctor_set(x_1389, 1, x_1350); -return x_1389; -} -else -{ -uint8_t x_1390; -x_1390 = l_Lean_Level_isMVar(x_1); -if (x_1390 == 0) -{ -uint8_t x_1391; -x_1391 = l_Lean_Level_isMVar(x_2); -if (x_1391 == 0) -{ -uint8_t x_1392; lean_object* x_1393; lean_object* x_1394; -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_1392 = 0; -x_1393 = lean_box(x_1392); -if (lean_is_scalar(x_1351)) { - x_1394 = lean_alloc_ctor(0, 2, 0); -} else { - x_1394 = x_1351; -} -lean_ctor_set(x_1394, 0, x_1393); -lean_ctor_set(x_1394, 1, x_1350); -return x_1394; -} -else -{ -lean_object* x_1395; -lean_dec(x_1351); -x_1395 = lean_box(0); -x_1355 = x_1395; -goto block_1384; -} -} -else -{ -lean_object* x_1396; -lean_dec(x_1351); -x_1396 = lean_box(0); -x_1355 = x_1396; -goto block_1384; -} -} -block_1384: -{ -uint8_t x_1356; lean_object* x_1357; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; uint8_t x_1375; +lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; uint8_t x_1370; lean_dec(x_1355); -x_1372 = lean_st_ref_get(x_6, x_1350); -x_1373 = lean_ctor_get(x_1372, 0); -lean_inc(x_1373); -x_1374 = lean_ctor_get(x_1373, 3); -lean_inc(x_1374); -lean_dec(x_1373); -x_1375 = lean_ctor_get_uint8(x_1374, sizeof(void*)*1); -lean_dec(x_1374); -if (x_1375 == 0) -{ -lean_object* x_1376; uint8_t x_1377; -x_1376 = lean_ctor_get(x_1372, 1); -lean_inc(x_1376); -lean_dec(x_1372); -x_1377 = 0; -x_1356 = x_1377; -x_1357 = x_1376; -goto block_1371; +lean_dec(x_1353); +x_1363 = lean_st_ref_get(x_6, x_1354); +x_1364 = lean_ctor_get(x_1363, 1); +lean_inc(x_1364); +lean_dec(x_1363); +x_1365 = lean_st_ref_get(x_4, x_1364); +x_1366 = lean_ctor_get(x_1365, 0); +lean_inc(x_1366); +x_1367 = lean_ctor_get(x_1365, 1); +lean_inc(x_1367); +if (lean_is_exclusive(x_1365)) { + lean_ctor_release(x_1365, 0); + lean_ctor_release(x_1365, 1); + x_1368 = x_1365; +} else { + lean_dec_ref(x_1365); + x_1368 = lean_box(0); } -else -{ -lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; uint8_t x_1383; -x_1378 = lean_ctor_get(x_1372, 1); -lean_inc(x_1378); -lean_dec(x_1372); -x_1379 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1380 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1379, x_3, x_4, x_5, x_6, x_1378); -x_1381 = lean_ctor_get(x_1380, 0); -lean_inc(x_1381); -x_1382 = lean_ctor_get(x_1380, 1); -lean_inc(x_1382); -lean_dec(x_1380); -x_1383 = lean_unbox(x_1381); -lean_dec(x_1381); -x_1356 = x_1383; -x_1357 = x_1382; -goto block_1371; -} -block_1371: -{ -if (x_1356 == 0) -{ -lean_object* x_1358; -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_1358 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1357); -return x_1358; -} -else -{ -lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; -x_1359 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1359, 0, x_1); -x_1360 = l_Lean_KernelException_toMessageData___closed__15; -x_1361 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1361, 0, x_1360); -lean_ctor_set(x_1361, 1, x_1359); -x_1362 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1363 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1363, 0, x_1361); -lean_ctor_set(x_1363, 1, x_1362); -x_1364 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1364, 0, x_2); -x_1365 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1365, 0, x_1363); -lean_ctor_set(x_1365, 1, x_1364); -x_1366 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1366, 0, x_1365); -lean_ctor_set(x_1366, 1, x_1360); -x_1367 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1368 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1367, x_1366, x_3, x_4, x_5, x_6, x_1357); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1369 = lean_ctor_get(x_1368, 1); +x_1369 = lean_ctor_get(x_1366, 0); lean_inc(x_1369); +lean_dec(x_1366); +lean_inc(x_1369); +x_1370 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1369, x_1); +if (x_1370 == 0) +{ +uint8_t x_1371; +x_1371 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1369, x_2); +if (x_1371 == 0) +{ +lean_object* x_1372; lean_object* x_1402; uint8_t x_1403; +x_1402 = lean_ctor_get(x_3, 0); +lean_inc(x_1402); +x_1403 = lean_ctor_get_uint8(x_1402, 4); +lean_dec(x_1402); +if (x_1403 == 0) +{ +uint8_t x_1404; lean_object* x_1405; lean_object* x_1406; +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_1404 = 0; +x_1405 = lean_box(x_1404); +if (lean_is_scalar(x_1368)) { + x_1406 = lean_alloc_ctor(0, 2, 0); +} else { + x_1406 = x_1368; +} +lean_ctor_set(x_1406, 0, x_1405); +lean_ctor_set(x_1406, 1, x_1367); +return x_1406; +} +else +{ +uint8_t x_1407; +x_1407 = l_Lean_Level_isMVar(x_1); +if (x_1407 == 0) +{ +uint8_t x_1408; +x_1408 = l_Lean_Level_isMVar(x_2); +if (x_1408 == 0) +{ +uint8_t x_1409; lean_object* x_1410; lean_object* x_1411; +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_1409 = 0; +x_1410 = lean_box(x_1409); +if (lean_is_scalar(x_1368)) { + x_1411 = lean_alloc_ctor(0, 2, 0); +} else { + x_1411 = x_1368; +} +lean_ctor_set(x_1411, 0, x_1410); +lean_ctor_set(x_1411, 1, x_1367); +return x_1411; +} +else +{ +lean_object* x_1412; lean_dec(x_1368); -x_1370 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1369); -return x_1370; -} -} +x_1412 = lean_box(0); +x_1372 = x_1412; +goto block_1401; } } else { -lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; uint8_t x_1400; lean_object* x_1401; lean_object* x_1402; -lean_dec(x_1351); -x_1397 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1350); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1398 = lean_ctor_get(x_1397, 1); +lean_object* x_1413; +lean_dec(x_1368); +x_1413 = lean_box(0); +x_1372 = x_1413; +goto block_1401; +} +} +block_1401: +{ +uint8_t x_1373; lean_object* x_1374; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; uint8_t x_1392; +lean_dec(x_1372); +x_1389 = lean_st_ref_get(x_6, x_1367); +x_1390 = lean_ctor_get(x_1389, 0); +lean_inc(x_1390); +x_1391 = lean_ctor_get(x_1390, 3); +lean_inc(x_1391); +lean_dec(x_1390); +x_1392 = lean_ctor_get_uint8(x_1391, sizeof(void*)*1); +lean_dec(x_1391); +if (x_1392 == 0) +{ +lean_object* x_1393; uint8_t x_1394; +x_1393 = lean_ctor_get(x_1389, 1); +lean_inc(x_1393); +lean_dec(x_1389); +x_1394 = 0; +x_1373 = x_1394; +x_1374 = x_1393; +goto block_1388; +} +else +{ +lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; uint8_t x_1400; +x_1395 = lean_ctor_get(x_1389, 1); +lean_inc(x_1395); +lean_dec(x_1389); +x_1396 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1397 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1396, x_3, x_4, x_5, x_6, x_1395); +x_1398 = lean_ctor_get(x_1397, 0); lean_inc(x_1398); -if (lean_is_exclusive(x_1397)) { - lean_ctor_release(x_1397, 0); - lean_ctor_release(x_1397, 1); - x_1399 = x_1397; -} else { - lean_dec_ref(x_1397); - x_1399 = lean_box(0); +x_1399 = lean_ctor_get(x_1397, 1); +lean_inc(x_1399); +lean_dec(x_1397); +x_1400 = lean_unbox(x_1398); +lean_dec(x_1398); +x_1373 = x_1400; +x_1374 = x_1399; +goto block_1388; } -x_1400 = 1; -x_1401 = lean_box(x_1400); -if (lean_is_scalar(x_1399)) { - x_1402 = lean_alloc_ctor(0, 2, 0); -} else { - x_1402 = x_1399; -} -lean_ctor_set(x_1402, 0, x_1401); -lean_ctor_set(x_1402, 1, x_1398); -return x_1402; -} -} -else +block_1388: { -lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; uint8_t x_1406; lean_object* x_1407; lean_object* x_1408; -lean_dec(x_1352); -lean_dec(x_1351); -x_1403 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1350); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1404 = lean_ctor_get(x_1403, 1); -lean_inc(x_1404); -if (lean_is_exclusive(x_1403)) { - lean_ctor_release(x_1403, 0); - lean_ctor_release(x_1403, 1); - x_1405 = x_1403; -} else { - lean_dec_ref(x_1403); - x_1405 = lean_box(0); -} -x_1406 = 1; -x_1407 = lean_box(x_1406); -if (lean_is_scalar(x_1405)) { - x_1408 = lean_alloc_ctor(0, 2, 0); -} else { - x_1408 = x_1405; -} -lean_ctor_set(x_1408, 0, x_1407); -lean_ctor_set(x_1408, 1, x_1404); -return x_1408; -} -} -} -else +if (x_1373 == 0) { -lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; +lean_object* x_1375; 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_1409 = lean_ctor_get(x_1335, 0); -lean_inc(x_1409); -x_1410 = lean_ctor_get(x_1335, 1); -lean_inc(x_1410); -if (lean_is_exclusive(x_1335)) { - lean_ctor_release(x_1335, 0); - lean_ctor_release(x_1335, 1); - x_1411 = x_1335; -} else { - lean_dec_ref(x_1335); - x_1411 = lean_box(0); -} -if (lean_is_scalar(x_1411)) { - x_1412 = lean_alloc_ctor(1, 2, 0); -} else { - x_1412 = x_1411; -} -lean_ctor_set(x_1412, 0, x_1409); -lean_ctor_set(x_1412, 1, x_1410); -return x_1412; -} -} -} +x_1375 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1374); +return x_1375; } else { -uint8_t x_1413; +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; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; +x_1376 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1376, 0, x_1); +x_1377 = l_Lean_KernelException_toMessageData___closed__15; +x_1378 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1378, 0, x_1377); +lean_ctor_set(x_1378, 1, x_1376); +x_1379 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1380 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1380, 0, x_1378); +lean_ctor_set(x_1380, 1, x_1379); +x_1381 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1381, 0, x_2); +x_1382 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1382, 0, x_1380); +lean_ctor_set(x_1382, 1, x_1381); +x_1383 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1383, 0, x_1382); +lean_ctor_set(x_1383, 1, x_1377); +x_1384 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1385 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1384, x_1383, x_3, x_4, x_5, x_6, x_1374); 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_1413 = !lean_is_exclusive(x_1102); -if (x_1413 == 0) -{ -return x_1102; +x_1386 = lean_ctor_get(x_1385, 1); +lean_inc(x_1386); +lean_dec(x_1385); +x_1387 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1386); +return x_1387; +} +} +} } else { -lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; -x_1414 = lean_ctor_get(x_1102, 0); -x_1415 = lean_ctor_get(x_1102, 1); +lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; uint8_t x_1417; lean_object* x_1418; lean_object* x_1419; +lean_dec(x_1368); +x_1414 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1367); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1415 = lean_ctor_get(x_1414, 1); lean_inc(x_1415); -lean_inc(x_1414); -lean_dec(x_1102); -x_1416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1416, 0, x_1414); -lean_ctor_set(x_1416, 1, x_1415); -return x_1416; +if (lean_is_exclusive(x_1414)) { + lean_ctor_release(x_1414, 0); + lean_ctor_release(x_1414, 1); + x_1416 = x_1414; +} else { + lean_dec_ref(x_1414); + x_1416 = lean_box(0); } +x_1417 = 1; +x_1418 = lean_box(x_1417); +if (lean_is_scalar(x_1416)) { + x_1419 = lean_alloc_ctor(0, 2, 0); +} else { + x_1419 = x_1416; } +lean_ctor_set(x_1419, 0, x_1418); +lean_ctor_set(x_1419, 1, x_1415); +return x_1419; } } -} -block_1431: -{ -if (x_1418 == 0) -{ -x_1089 = x_1419; -goto block_1417; -} else { -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_inc(x_1); -x_1420 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1420, 0, x_1); -x_1421 = l_Lean_KernelException_toMessageData___closed__15; -x_1422 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1422, 0, x_1421); -lean_ctor_set(x_1422, 1, x_1420); -x_1423 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1424 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1424, 0, x_1422); -lean_ctor_set(x_1424, 1, x_1423); -lean_inc(x_2); -x_1425 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1425, 0, x_2); -x_1426 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1426, 0, x_1424); -lean_ctor_set(x_1426, 1, x_1425); -x_1427 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1427, 0, x_1426); -lean_ctor_set(x_1427, 1, x_1421); -x_1428 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_1429 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1428, x_1427, x_3, x_4, x_5, x_6, x_1419); -x_1430 = lean_ctor_get(x_1429, 1); -lean_inc(x_1430); -lean_dec(x_1429); -x_1089 = x_1430; -goto block_1417; +lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; uint8_t x_1423; lean_object* x_1424; lean_object* x_1425; +lean_dec(x_1369); +lean_dec(x_1368); +x_1420 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1367); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1421 = lean_ctor_get(x_1420, 1); +lean_inc(x_1421); +if (lean_is_exclusive(x_1420)) { + lean_ctor_release(x_1420, 0); + lean_ctor_release(x_1420, 1); + x_1422 = x_1420; +} else { + lean_dec_ref(x_1420); + x_1422 = lean_box(0); +} +x_1423 = 1; +x_1424 = lean_box(x_1423); +if (lean_is_scalar(x_1422)) { + x_1425 = lean_alloc_ctor(0, 2, 0); +} else { + x_1425 = x_1422; +} +lean_ctor_set(x_1425, 0, x_1424); +lean_ctor_set(x_1425, 1, x_1421); +return x_1425; } } } else { -uint8_t x_1444; lean_object* x_1445; lean_object* x_1446; +lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; 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_1444 = 1; -x_1445 = lean_box(x_1444); -x_1446 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1446, 0, x_1445); -lean_ctor_set(x_1446, 1, x_7); -return x_1446; +x_1426 = lean_ctor_get(x_1352, 0); +lean_inc(x_1426); +x_1427 = lean_ctor_get(x_1352, 1); +lean_inc(x_1427); +if (lean_is_exclusive(x_1352)) { + lean_ctor_release(x_1352, 0); + lean_ctor_release(x_1352, 1); + x_1428 = x_1352; +} else { + lean_dec_ref(x_1352); + x_1428 = lean_box(0); +} +if (lean_is_scalar(x_1428)) { + x_1429 = lean_alloc_ctor(1, 2, 0); +} else { + x_1429 = x_1428; +} +lean_ctor_set(x_1429, 0, x_1426); +lean_ctor_set(x_1429, 1, x_1427); +return x_1429; +} +} +} +} +else +{ +uint8_t x_1430; +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_1430 = !lean_is_exclusive(x_1119); +if (x_1430 == 0) +{ +return x_1119; +} +else +{ +lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; +x_1431 = lean_ctor_get(x_1119, 0); +x_1432 = lean_ctor_get(x_1119, 1); +lean_inc(x_1432); +lean_inc(x_1431); +lean_dec(x_1119); +x_1433 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1433, 0, x_1431); +lean_ctor_set(x_1433, 1, x_1432); +return x_1433; +} +} +} +} +} +block_1448: +{ +if (x_1435 == 0) +{ +x_1106 = x_1436; +goto block_1434; +} +else +{ +lean_object* x_1437; lean_object* x_1438; 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_inc(x_1); +x_1437 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1437, 0, x_1); +x_1438 = l_Lean_KernelException_toMessageData___closed__15; +x_1439 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1439, 0, x_1438); +lean_ctor_set(x_1439, 1, x_1437); +x_1440 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1441 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1441, 0, x_1439); +lean_ctor_set(x_1441, 1, x_1440); +lean_inc(x_2); +x_1442 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1442, 0, x_2); +x_1443 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1443, 0, x_1441); +lean_ctor_set(x_1443, 1, x_1442); +x_1444 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1444, 0, x_1443); +lean_ctor_set(x_1444, 1, x_1438); +x_1445 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_1446 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1445, x_1444, x_3, x_4, x_5, x_6, x_1436); +x_1447 = lean_ctor_get(x_1446, 1); +lean_inc(x_1447); +lean_dec(x_1446); +x_1106 = x_1447; +goto block_1434; +} +} +} +else +{ +lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; uint8_t x_1464; lean_object* x_1465; lean_object* x_1466; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1461 = lean_unsigned_to_nat(0u); +x_1462 = l_Lean_Level_getOffsetAux(x_1, x_1461); +lean_dec(x_1); +x_1463 = l_Lean_Level_getOffsetAux(x_2, x_1461); +lean_dec(x_2); +x_1464 = lean_nat_dec_eq(x_1462, x_1463); +lean_dec(x_1463); +lean_dec(x_1462); +x_1465 = lean_box(x_1464); +x_1466 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1466, 0, x_1465); +lean_ctor_set(x_1466, 1, x_7); +return x_1466; } } case 4: { -uint8_t x_1447; -x_1447 = lean_level_eq(x_1, x_2); -if (x_1447 == 0) +lean_object* x_1467; lean_object* x_1468; uint8_t x_1469; +x_1467 = l_Lean_Level_getLevelOffset(x_1); +x_1468 = l_Lean_Level_getLevelOffset(x_2); +x_1469 = lean_level_eq(x_1467, x_1468); +lean_dec(x_1468); +lean_dec(x_1467); +if (x_1469 == 0) { -lean_object* x_1448; uint8_t x_1777; lean_object* x_1778; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; uint8_t x_1794; -x_1791 = lean_st_ref_get(x_6, x_7); -x_1792 = lean_ctor_get(x_1791, 0); -lean_inc(x_1792); -x_1793 = lean_ctor_get(x_1792, 3); -lean_inc(x_1793); -lean_dec(x_1792); -x_1794 = lean_ctor_get_uint8(x_1793, sizeof(void*)*1); -lean_dec(x_1793); -if (x_1794 == 0) +lean_object* x_1470; uint8_t x_1799; lean_object* x_1800; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; uint8_t x_1816; +x_1813 = lean_st_ref_get(x_6, x_7); +x_1814 = lean_ctor_get(x_1813, 0); +lean_inc(x_1814); +x_1815 = lean_ctor_get(x_1814, 3); +lean_inc(x_1815); +lean_dec(x_1814); +x_1816 = lean_ctor_get_uint8(x_1815, sizeof(void*)*1); +lean_dec(x_1815); +if (x_1816 == 0) { -lean_object* x_1795; uint8_t x_1796; -x_1795 = lean_ctor_get(x_1791, 1); -lean_inc(x_1795); -lean_dec(x_1791); -x_1796 = 0; -x_1777 = x_1796; -x_1778 = x_1795; -goto block_1790; +lean_object* x_1817; uint8_t x_1818; +x_1817 = lean_ctor_get(x_1813, 1); +lean_inc(x_1817); +lean_dec(x_1813); +x_1818 = 0; +x_1799 = x_1818; +x_1800 = x_1817; +goto block_1812; } else { -lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; uint8_t x_1802; -x_1797 = lean_ctor_get(x_1791, 1); -lean_inc(x_1797); -lean_dec(x_1791); -x_1798 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_1799 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1798, x_3, x_4, x_5, x_6, x_1797); -x_1800 = lean_ctor_get(x_1799, 0); -lean_inc(x_1800); -x_1801 = lean_ctor_get(x_1799, 1); -lean_inc(x_1801); -lean_dec(x_1799); -x_1802 = lean_unbox(x_1800); -lean_dec(x_1800); -x_1777 = x_1802; -x_1778 = x_1801; -goto block_1790; +lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; uint8_t x_1824; +x_1819 = lean_ctor_get(x_1813, 1); +lean_inc(x_1819); +lean_dec(x_1813); +x_1820 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_1821 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1820, x_3, x_4, x_5, x_6, x_1819); +x_1822 = lean_ctor_get(x_1821, 0); +lean_inc(x_1822); +x_1823 = lean_ctor_get(x_1821, 1); +lean_inc(x_1823); +lean_dec(x_1821); +x_1824 = lean_unbox(x_1822); +lean_dec(x_1822); +x_1799 = x_1824; +x_1800 = x_1823; +goto block_1812; } -block_1776: +block_1798: { -lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; uint8_t x_1457; +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_inc(x_1); -x_1449 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_1448); -x_1450 = lean_ctor_get(x_1449, 0); -lean_inc(x_1450); -x_1451 = lean_ctor_get(x_1449, 1); -lean_inc(x_1451); -lean_dec(x_1449); -x_1452 = l_Lean_Level_normalize(x_1450); -lean_dec(x_1450); +x_1471 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_1470); +x_1472 = lean_ctor_get(x_1471, 0); +lean_inc(x_1472); +x_1473 = lean_ctor_get(x_1471, 1); +lean_inc(x_1473); +lean_dec(x_1471); +x_1474 = l_Lean_Level_normalize(x_1472); +lean_dec(x_1472); lean_inc(x_2); -x_1453 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_1451); -x_1454 = lean_ctor_get(x_1453, 0); -lean_inc(x_1454); -x_1455 = lean_ctor_get(x_1453, 1); -lean_inc(x_1455); -lean_dec(x_1453); -x_1456 = l_Lean_Level_normalize(x_1454); -lean_dec(x_1454); -x_1457 = lean_level_eq(x_1, x_1452); -if (x_1457 == 0) +x_1475 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_1473); +x_1476 = lean_ctor_get(x_1475, 0); +lean_inc(x_1476); +x_1477 = lean_ctor_get(x_1475, 1); +lean_inc(x_1477); +lean_dec(x_1475); +x_1478 = l_Lean_Level_normalize(x_1476); +lean_dec(x_1476); +x_1479 = lean_level_eq(x_1, x_1474); +if (x_1479 == 0) { lean_dec(x_2); lean_dec(x_1); -x_1 = x_1452; -x_2 = x_1456; -x_7 = x_1455; +x_1 = x_1474; +x_2 = x_1478; +x_7 = x_1477; goto _start; } else { -uint8_t x_1459; -x_1459 = lean_level_eq(x_2, x_1456); -if (x_1459 == 0) +uint8_t x_1481; +x_1481 = lean_level_eq(x_2, x_1478); +if (x_1481 == 0) { lean_dec(x_2); lean_dec(x_1); -x_1 = x_1452; -x_2 = x_1456; -x_7 = x_1455; +x_1 = x_1474; +x_2 = x_1478; +x_7 = x_1477; goto _start; } else { -lean_object* x_1461; -lean_dec(x_1456); -lean_dec(x_1452); +lean_object* x_1483; +lean_dec(x_1478); +lean_dec(x_1474); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_1461 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_1455); -if (lean_obj_tag(x_1461) == 0) +x_1483 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_1477); +if (lean_obj_tag(x_1483) == 0) { -uint8_t x_1462; -x_1462 = !lean_is_exclusive(x_1461); -if (x_1462 == 0) +uint8_t x_1484; +x_1484 = !lean_is_exclusive(x_1483); +if (x_1484 == 0) { -lean_object* x_1463; lean_object* x_1464; uint8_t x_1465; uint8_t x_1466; uint8_t x_1467; -x_1463 = lean_ctor_get(x_1461, 0); -x_1464 = lean_ctor_get(x_1461, 1); -x_1465 = 2; -x_1466 = lean_unbox(x_1463); -x_1467 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1466, x_1465); -if (x_1467 == 0) -{ -uint8_t x_1468; uint8_t x_1469; uint8_t x_1470; lean_object* x_1471; -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_1468 = 1; -x_1469 = lean_unbox(x_1463); -lean_dec(x_1463); -x_1470 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1469, x_1468); -x_1471 = lean_box(x_1470); -lean_ctor_set(x_1461, 0, x_1471); -return x_1461; -} -else -{ -lean_object* x_1472; -lean_free_object(x_1461); -lean_dec(x_1463); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_1472 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1464); -if (lean_obj_tag(x_1472) == 0) -{ -uint8_t x_1473; -x_1473 = !lean_is_exclusive(x_1472); -if (x_1473 == 0) -{ -lean_object* x_1474; lean_object* x_1475; uint8_t x_1476; uint8_t x_1477; -x_1474 = lean_ctor_get(x_1472, 0); -x_1475 = lean_ctor_get(x_1472, 1); -x_1476 = lean_unbox(x_1474); -x_1477 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1476, x_1465); -if (x_1477 == 0) -{ -uint8_t x_1478; uint8_t x_1479; uint8_t x_1480; lean_object* x_1481; -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_1478 = 1; -x_1479 = lean_unbox(x_1474); -lean_dec(x_1474); -x_1480 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1479, x_1478); -x_1481 = lean_box(x_1480); -lean_ctor_set(x_1472, 0, x_1481); -return x_1472; -} -else -{ -lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; uint8_t x_1485; -lean_free_object(x_1472); -lean_dec(x_1474); -x_1482 = lean_st_ref_get(x_6, x_1475); -x_1483 = lean_ctor_get(x_1482, 1); -lean_inc(x_1483); -lean_dec(x_1482); -x_1484 = lean_st_ref_get(x_4, x_1483); -x_1485 = !lean_is_exclusive(x_1484); -if (x_1485 == 0) -{ -lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; uint8_t x_1489; -x_1486 = lean_ctor_get(x_1484, 0); -x_1487 = lean_ctor_get(x_1484, 1); -x_1488 = lean_ctor_get(x_1486, 0); -lean_inc(x_1488); -lean_dec(x_1486); -lean_inc(x_1488); -x_1489 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1488, x_1); +lean_object* x_1485; lean_object* x_1486; uint8_t x_1487; uint8_t x_1488; uint8_t x_1489; +x_1485 = lean_ctor_get(x_1483, 0); +x_1486 = lean_ctor_get(x_1483, 1); +x_1487 = 2; +x_1488 = lean_unbox(x_1485); +x_1489 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1488, x_1487); if (x_1489 == 0) { -uint8_t x_1490; -x_1490 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1488, x_2); -if (x_1490 == 0) -{ -lean_object* x_1491; lean_object* x_1521; uint8_t x_1522; -x_1521 = lean_ctor_get(x_3, 0); -lean_inc(x_1521); -x_1522 = lean_ctor_get_uint8(x_1521, 4); -lean_dec(x_1521); -if (x_1522 == 0) -{ -uint8_t x_1523; lean_object* x_1524; +uint8_t x_1490; uint8_t x_1491; uint8_t x_1492; lean_object* x_1493; 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_1523 = 0; -x_1524 = lean_box(x_1523); -lean_ctor_set(x_1484, 0, x_1524); -return x_1484; +x_1490 = 1; +x_1491 = lean_unbox(x_1485); +lean_dec(x_1485); +x_1492 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1491, x_1490); +x_1493 = lean_box(x_1492); +lean_ctor_set(x_1483, 0, x_1493); +return x_1483; } else { -uint8_t x_1525; -x_1525 = l_Lean_Level_isMVar(x_1); -if (x_1525 == 0) -{ -uint8_t x_1526; -x_1526 = l_Lean_Level_isMVar(x_2); -if (x_1526 == 0) -{ -uint8_t x_1527; lean_object* x_1528; -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_1527 = 0; -x_1528 = lean_box(x_1527); -lean_ctor_set(x_1484, 0, x_1528); -return x_1484; -} -else -{ -lean_object* x_1529; -lean_free_object(x_1484); -x_1529 = lean_box(0); -x_1491 = x_1529; -goto block_1520; -} -} -else -{ -lean_object* x_1530; -lean_free_object(x_1484); -x_1530 = lean_box(0); -x_1491 = x_1530; -goto block_1520; -} -} -block_1520: -{ -uint8_t x_1492; lean_object* x_1493; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; uint8_t x_1511; -lean_dec(x_1491); -x_1508 = lean_st_ref_get(x_6, x_1487); -x_1509 = lean_ctor_get(x_1508, 0); -lean_inc(x_1509); -x_1510 = lean_ctor_get(x_1509, 3); -lean_inc(x_1510); -lean_dec(x_1509); -x_1511 = lean_ctor_get_uint8(x_1510, sizeof(void*)*1); -lean_dec(x_1510); -if (x_1511 == 0) -{ -lean_object* x_1512; uint8_t x_1513; -x_1512 = lean_ctor_get(x_1508, 1); -lean_inc(x_1512); -lean_dec(x_1508); -x_1513 = 0; -x_1492 = x_1513; -x_1493 = x_1512; -goto block_1507; -} -else -{ -lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; uint8_t x_1519; -x_1514 = lean_ctor_get(x_1508, 1); -lean_inc(x_1514); -lean_dec(x_1508); -x_1515 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1516 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1515, x_3, x_4, x_5, x_6, x_1514); -x_1517 = lean_ctor_get(x_1516, 0); -lean_inc(x_1517); -x_1518 = lean_ctor_get(x_1516, 1); -lean_inc(x_1518); -lean_dec(x_1516); -x_1519 = lean_unbox(x_1517); -lean_dec(x_1517); -x_1492 = x_1519; -x_1493 = x_1518; -goto block_1507; -} -block_1507: -{ -if (x_1492 == 0) -{ lean_object* x_1494; +lean_free_object(x_1483); +lean_dec(x_1485); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +lean_inc(x_2); +x_1494 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1486); +if (lean_obj_tag(x_1494) == 0) +{ +uint8_t x_1495; +x_1495 = !lean_is_exclusive(x_1494); +if (x_1495 == 0) +{ +lean_object* x_1496; lean_object* x_1497; uint8_t x_1498; uint8_t x_1499; +x_1496 = lean_ctor_get(x_1494, 0); +x_1497 = lean_ctor_get(x_1494, 1); +x_1498 = lean_unbox(x_1496); +x_1499 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1498, x_1487); +if (x_1499 == 0) +{ +uint8_t x_1500; uint8_t x_1501; uint8_t x_1502; lean_object* x_1503; 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_1494 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1493); +x_1500 = 1; +x_1501 = lean_unbox(x_1496); +lean_dec(x_1496); +x_1502 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1501, x_1500); +x_1503 = lean_box(x_1502); +lean_ctor_set(x_1494, 0, x_1503); return x_1494; } else { -lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; -x_1495 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1495, 0, x_1); -x_1496 = l_Lean_KernelException_toMessageData___closed__15; -x_1497 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1497, 0, x_1496); -lean_ctor_set(x_1497, 1, x_1495); -x_1498 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1499 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1499, 0, x_1497); -lean_ctor_set(x_1499, 1, x_1498); -x_1500 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1500, 0, x_2); -x_1501 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1501, 0, x_1499); -lean_ctor_set(x_1501, 1, x_1500); -x_1502 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1502, 0, x_1501); -lean_ctor_set(x_1502, 1, x_1496); -x_1503 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1504 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1503, x_1502, x_3, x_4, x_5, x_6, x_1493); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; uint8_t x_1507; +lean_free_object(x_1494); +lean_dec(x_1496); +x_1504 = lean_st_ref_get(x_6, x_1497); x_1505 = lean_ctor_get(x_1504, 1); lean_inc(x_1505); lean_dec(x_1504); -x_1506 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1505); +x_1506 = lean_st_ref_get(x_4, x_1505); +x_1507 = !lean_is_exclusive(x_1506); +if (x_1507 == 0) +{ +lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; uint8_t x_1511; +x_1508 = lean_ctor_get(x_1506, 0); +x_1509 = lean_ctor_get(x_1506, 1); +x_1510 = lean_ctor_get(x_1508, 0); +lean_inc(x_1510); +lean_dec(x_1508); +lean_inc(x_1510); +x_1511 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1510, x_1); +if (x_1511 == 0) +{ +uint8_t x_1512; +x_1512 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1510, x_2); +if (x_1512 == 0) +{ +lean_object* x_1513; lean_object* x_1543; uint8_t x_1544; +x_1543 = lean_ctor_get(x_3, 0); +lean_inc(x_1543); +x_1544 = lean_ctor_get_uint8(x_1543, 4); +lean_dec(x_1543); +if (x_1544 == 0) +{ +uint8_t x_1545; lean_object* x_1546; +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_1545 = 0; +x_1546 = lean_box(x_1545); +lean_ctor_set(x_1506, 0, x_1546); return x_1506; } -} -} -} else { -lean_object* x_1531; uint8_t x_1532; -lean_free_object(x_1484); -x_1531 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1487); +uint8_t x_1547; +x_1547 = l_Lean_Level_isMVar(x_1); +if (x_1547 == 0) +{ +uint8_t x_1548; +x_1548 = l_Lean_Level_isMVar(x_2); +if (x_1548 == 0) +{ +uint8_t x_1549; lean_object* x_1550; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_1532 = !lean_is_exclusive(x_1531); -if (x_1532 == 0) -{ -lean_object* x_1533; uint8_t x_1534; lean_object* x_1535; -x_1533 = lean_ctor_get(x_1531, 0); -lean_dec(x_1533); -x_1534 = 1; -x_1535 = lean_box(x_1534); -lean_ctor_set(x_1531, 0, x_1535); -return x_1531; +lean_dec(x_2); +lean_dec(x_1); +x_1549 = 0; +x_1550 = lean_box(x_1549); +lean_ctor_set(x_1506, 0, x_1550); +return x_1506; } else { -lean_object* x_1536; uint8_t x_1537; lean_object* x_1538; lean_object* x_1539; -x_1536 = lean_ctor_get(x_1531, 1); -lean_inc(x_1536); +lean_object* x_1551; +lean_free_object(x_1506); +x_1551 = lean_box(0); +x_1513 = x_1551; +goto block_1542; +} +} +else +{ +lean_object* x_1552; +lean_free_object(x_1506); +x_1552 = lean_box(0); +x_1513 = x_1552; +goto block_1542; +} +} +block_1542: +{ +uint8_t x_1514; lean_object* x_1515; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; uint8_t x_1533; +lean_dec(x_1513); +x_1530 = lean_st_ref_get(x_6, x_1509); +x_1531 = lean_ctor_get(x_1530, 0); +lean_inc(x_1531); +x_1532 = lean_ctor_get(x_1531, 3); +lean_inc(x_1532); lean_dec(x_1531); -x_1537 = 1; -x_1538 = lean_box(x_1537); -x_1539 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1539, 0, x_1538); -lean_ctor_set(x_1539, 1, x_1536); -return x_1539; -} -} +x_1533 = lean_ctor_get_uint8(x_1532, sizeof(void*)*1); +lean_dec(x_1532); +if (x_1533 == 0) +{ +lean_object* x_1534; uint8_t x_1535; +x_1534 = lean_ctor_get(x_1530, 1); +lean_inc(x_1534); +lean_dec(x_1530); +x_1535 = 0; +x_1514 = x_1535; +x_1515 = x_1534; +goto block_1529; } else { -lean_object* x_1540; uint8_t x_1541; -lean_dec(x_1488); -lean_free_object(x_1484); -x_1540 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1487); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1541 = !lean_is_exclusive(x_1540); -if (x_1541 == 0) -{ -lean_object* x_1542; uint8_t x_1543; lean_object* x_1544; -x_1542 = lean_ctor_get(x_1540, 0); -lean_dec(x_1542); -x_1543 = 1; -x_1544 = lean_box(x_1543); -lean_ctor_set(x_1540, 0, x_1544); -return x_1540; +lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; uint8_t x_1541; +x_1536 = lean_ctor_get(x_1530, 1); +lean_inc(x_1536); +lean_dec(x_1530); +x_1537 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1538 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1537, x_3, x_4, x_5, x_6, x_1536); +x_1539 = lean_ctor_get(x_1538, 0); +lean_inc(x_1539); +x_1540 = lean_ctor_get(x_1538, 1); +lean_inc(x_1540); +lean_dec(x_1538); +x_1541 = lean_unbox(x_1539); +lean_dec(x_1539); +x_1514 = x_1541; +x_1515 = x_1540; +goto block_1529; } -else +block_1529: { -lean_object* x_1545; uint8_t x_1546; lean_object* x_1547; lean_object* x_1548; -x_1545 = lean_ctor_get(x_1540, 1); -lean_inc(x_1545); -lean_dec(x_1540); -x_1546 = 1; -x_1547 = lean_box(x_1546); -x_1548 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1548, 0, x_1547); -lean_ctor_set(x_1548, 1, x_1545); -return x_1548; -} -} -} -else +if (x_1514 == 0) { -lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; uint8_t x_1552; -x_1549 = lean_ctor_get(x_1484, 0); -x_1550 = lean_ctor_get(x_1484, 1); -lean_inc(x_1550); -lean_inc(x_1549); -lean_dec(x_1484); -x_1551 = lean_ctor_get(x_1549, 0); -lean_inc(x_1551); -lean_dec(x_1549); -lean_inc(x_1551); -x_1552 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1551, x_1); -if (x_1552 == 0) -{ -uint8_t x_1553; -x_1553 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1551, x_2); -if (x_1553 == 0) -{ -lean_object* x_1554; lean_object* x_1584; uint8_t x_1585; -x_1584 = lean_ctor_get(x_3, 0); -lean_inc(x_1584); -x_1585 = lean_ctor_get_uint8(x_1584, 4); -lean_dec(x_1584); -if (x_1585 == 0) -{ -uint8_t x_1586; lean_object* x_1587; lean_object* x_1588; +lean_object* x_1516; 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_1586 = 0; -x_1587 = lean_box(x_1586); -x_1588 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1588, 0, x_1587); -lean_ctor_set(x_1588, 1, x_1550); -return x_1588; +x_1516 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1515); +return x_1516; } else { -uint8_t x_1589; -x_1589 = l_Lean_Level_isMVar(x_1); -if (x_1589 == 0) -{ -uint8_t x_1590; -x_1590 = l_Lean_Level_isMVar(x_2); -if (x_1590 == 0) -{ -uint8_t x_1591; lean_object* x_1592; lean_object* x_1593; +lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; +x_1517 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1517, 0, x_1); +x_1518 = l_Lean_KernelException_toMessageData___closed__15; +x_1519 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1519, 0, x_1518); +lean_ctor_set(x_1519, 1, x_1517); +x_1520 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1521 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1521, 0, x_1519); +lean_ctor_set(x_1521, 1, x_1520); +x_1522 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1522, 0, x_2); +x_1523 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1523, 0, x_1521); +lean_ctor_set(x_1523, 1, x_1522); +x_1524 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1524, 0, x_1523); +lean_ctor_set(x_1524, 1, x_1518); +x_1525 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1526 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1525, x_1524, x_3, x_4, x_5, x_6, x_1515); 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_1591 = 0; -x_1592 = lean_box(x_1591); -x_1593 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1593, 0, x_1592); -lean_ctor_set(x_1593, 1, x_1550); -return x_1593; +x_1527 = lean_ctor_get(x_1526, 1); +lean_inc(x_1527); +lean_dec(x_1526); +x_1528 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1527); +return x_1528; +} } -else -{ -lean_object* x_1594; -x_1594 = lean_box(0); -x_1554 = x_1594; -goto block_1583; } } else { -lean_object* x_1595; -x_1595 = lean_box(0); -x_1554 = x_1595; -goto block_1583; -} -} -block_1583: +lean_object* x_1553; uint8_t x_1554; +lean_free_object(x_1506); +x_1553 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1509); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1554 = !lean_is_exclusive(x_1553); +if (x_1554 == 0) { -uint8_t x_1555; lean_object* x_1556; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; uint8_t x_1574; -lean_dec(x_1554); -x_1571 = lean_st_ref_get(x_6, x_1550); -x_1572 = lean_ctor_get(x_1571, 0); +lean_object* x_1555; uint8_t x_1556; lean_object* x_1557; +x_1555 = lean_ctor_get(x_1553, 0); +lean_dec(x_1555); +x_1556 = 1; +x_1557 = lean_box(x_1556); +lean_ctor_set(x_1553, 0, x_1557); +return x_1553; +} +else +{ +lean_object* x_1558; uint8_t x_1559; lean_object* x_1560; lean_object* x_1561; +x_1558 = lean_ctor_get(x_1553, 1); +lean_inc(x_1558); +lean_dec(x_1553); +x_1559 = 1; +x_1560 = lean_box(x_1559); +x_1561 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1561, 0, x_1560); +lean_ctor_set(x_1561, 1, x_1558); +return x_1561; +} +} +} +else +{ +lean_object* x_1562; uint8_t x_1563; +lean_dec(x_1510); +lean_free_object(x_1506); +x_1562 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1509); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1563 = !lean_is_exclusive(x_1562); +if (x_1563 == 0) +{ +lean_object* x_1564; uint8_t x_1565; lean_object* x_1566; +x_1564 = lean_ctor_get(x_1562, 0); +lean_dec(x_1564); +x_1565 = 1; +x_1566 = lean_box(x_1565); +lean_ctor_set(x_1562, 0, x_1566); +return x_1562; +} +else +{ +lean_object* x_1567; uint8_t x_1568; lean_object* x_1569; lean_object* x_1570; +x_1567 = lean_ctor_get(x_1562, 1); +lean_inc(x_1567); +lean_dec(x_1562); +x_1568 = 1; +x_1569 = lean_box(x_1568); +x_1570 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1570, 0, x_1569); +lean_ctor_set(x_1570, 1, x_1567); +return x_1570; +} +} +} +else +{ +lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; uint8_t x_1574; +x_1571 = lean_ctor_get(x_1506, 0); +x_1572 = lean_ctor_get(x_1506, 1); lean_inc(x_1572); -x_1573 = lean_ctor_get(x_1572, 3); +lean_inc(x_1571); +lean_dec(x_1506); +x_1573 = lean_ctor_get(x_1571, 0); lean_inc(x_1573); -lean_dec(x_1572); -x_1574 = lean_ctor_get_uint8(x_1573, sizeof(void*)*1); -lean_dec(x_1573); +lean_dec(x_1571); +lean_inc(x_1573); +x_1574 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1573, x_1); if (x_1574 == 0) { -lean_object* x_1575; uint8_t x_1576; -x_1575 = lean_ctor_get(x_1571, 1); -lean_inc(x_1575); -lean_dec(x_1571); -x_1576 = 0; -x_1555 = x_1576; -x_1556 = x_1575; -goto block_1570; -} -else +uint8_t x_1575; +x_1575 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1573, x_2); +if (x_1575 == 0) { -lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; uint8_t x_1582; -x_1577 = lean_ctor_get(x_1571, 1); -lean_inc(x_1577); -lean_dec(x_1571); -x_1578 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1579 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1578, x_3, x_4, x_5, x_6, x_1577); -x_1580 = lean_ctor_get(x_1579, 0); -lean_inc(x_1580); -x_1581 = lean_ctor_get(x_1579, 1); -lean_inc(x_1581); -lean_dec(x_1579); -x_1582 = lean_unbox(x_1580); -lean_dec(x_1580); -x_1555 = x_1582; -x_1556 = x_1581; -goto block_1570; -} -block_1570: +lean_object* x_1576; lean_object* x_1606; uint8_t x_1607; +x_1606 = lean_ctor_get(x_3, 0); +lean_inc(x_1606); +x_1607 = lean_ctor_get_uint8(x_1606, 4); +lean_dec(x_1606); +if (x_1607 == 0) { -if (x_1555 == 0) -{ -lean_object* x_1557; +uint8_t x_1608; lean_object* x_1609; lean_object* x_1610; 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_1557 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1556); -return x_1557; +x_1608 = 0; +x_1609 = lean_box(x_1608); +x_1610 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1610, 0, x_1609); +lean_ctor_set(x_1610, 1, x_1572); +return x_1610; } else { -lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; -x_1558 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1558, 0, x_1); -x_1559 = l_Lean_KernelException_toMessageData___closed__15; -x_1560 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1560, 0, x_1559); -lean_ctor_set(x_1560, 1, x_1558); -x_1561 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1562 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1562, 0, x_1560); -lean_ctor_set(x_1562, 1, x_1561); -x_1563 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1563, 0, x_2); -x_1564 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1564, 0, x_1562); -lean_ctor_set(x_1564, 1, x_1563); -x_1565 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1565, 0, x_1564); -lean_ctor_set(x_1565, 1, x_1559); -x_1566 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1567 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1566, x_1565, x_3, x_4, x_5, x_6, x_1556); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1568 = lean_ctor_get(x_1567, 1); -lean_inc(x_1568); -lean_dec(x_1567); -x_1569 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1568); -return x_1569; -} -} -} -} -else -{ -lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; uint8_t x_1599; lean_object* x_1600; lean_object* x_1601; -x_1596 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1550); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1597 = lean_ctor_get(x_1596, 1); -lean_inc(x_1597); -if (lean_is_exclusive(x_1596)) { - lean_ctor_release(x_1596, 0); - lean_ctor_release(x_1596, 1); - x_1598 = x_1596; -} else { - lean_dec_ref(x_1596); - x_1598 = lean_box(0); -} -x_1599 = 1; -x_1600 = lean_box(x_1599); -if (lean_is_scalar(x_1598)) { - x_1601 = lean_alloc_ctor(0, 2, 0); -} else { - x_1601 = x_1598; -} -lean_ctor_set(x_1601, 0, x_1600); -lean_ctor_set(x_1601, 1, x_1597); -return x_1601; -} -} -else -{ -lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; uint8_t x_1605; lean_object* x_1606; lean_object* x_1607; -lean_dec(x_1551); -x_1602 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1550); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1603 = lean_ctor_get(x_1602, 1); -lean_inc(x_1603); -if (lean_is_exclusive(x_1602)) { - lean_ctor_release(x_1602, 0); - lean_ctor_release(x_1602, 1); - x_1604 = x_1602; -} else { - lean_dec_ref(x_1602); - x_1604 = lean_box(0); -} -x_1605 = 1; -x_1606 = lean_box(x_1605); -if (lean_is_scalar(x_1604)) { - x_1607 = lean_alloc_ctor(0, 2, 0); -} else { - x_1607 = x_1604; -} -lean_ctor_set(x_1607, 0, x_1606); -lean_ctor_set(x_1607, 1, x_1603); -return x_1607; -} -} -} -} -else -{ -lean_object* x_1608; lean_object* x_1609; uint8_t x_1610; uint8_t x_1611; -x_1608 = lean_ctor_get(x_1472, 0); -x_1609 = lean_ctor_get(x_1472, 1); -lean_inc(x_1609); -lean_inc(x_1608); -lean_dec(x_1472); -x_1610 = lean_unbox(x_1608); -x_1611 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1610, x_1465); +uint8_t x_1611; +x_1611 = l_Lean_Level_isMVar(x_1); if (x_1611 == 0) { -uint8_t x_1612; uint8_t x_1613; uint8_t x_1614; lean_object* x_1615; lean_object* x_1616; +uint8_t x_1612; +x_1612 = l_Lean_Level_isMVar(x_2); +if (x_1612 == 0) +{ +uint8_t x_1613; lean_object* x_1614; lean_object* x_1615; 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_1612 = 1; -x_1613 = lean_unbox(x_1608); -lean_dec(x_1608); -x_1614 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1613, x_1612); -x_1615 = lean_box(x_1614); -x_1616 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1616, 0, x_1615); -lean_ctor_set(x_1616, 1, x_1609); -return x_1616; +x_1613 = 0; +x_1614 = lean_box(x_1613); +x_1615 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1615, 0, x_1614); +lean_ctor_set(x_1615, 1, x_1572); +return x_1615; } else { -lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; uint8_t x_1624; -lean_dec(x_1608); -x_1617 = lean_st_ref_get(x_6, x_1609); -x_1618 = lean_ctor_get(x_1617, 1); -lean_inc(x_1618); -lean_dec(x_1617); -x_1619 = lean_st_ref_get(x_4, x_1618); -x_1620 = lean_ctor_get(x_1619, 0); -lean_inc(x_1620); -x_1621 = lean_ctor_get(x_1619, 1); -lean_inc(x_1621); -if (lean_is_exclusive(x_1619)) { - lean_ctor_release(x_1619, 0); - lean_ctor_release(x_1619, 1); - x_1622 = x_1619; +lean_object* x_1616; +x_1616 = lean_box(0); +x_1576 = x_1616; +goto block_1605; +} +} +else +{ +lean_object* x_1617; +x_1617 = lean_box(0); +x_1576 = x_1617; +goto block_1605; +} +} +block_1605: +{ +uint8_t x_1577; lean_object* x_1578; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; uint8_t x_1596; +lean_dec(x_1576); +x_1593 = lean_st_ref_get(x_6, x_1572); +x_1594 = lean_ctor_get(x_1593, 0); +lean_inc(x_1594); +x_1595 = lean_ctor_get(x_1594, 3); +lean_inc(x_1595); +lean_dec(x_1594); +x_1596 = lean_ctor_get_uint8(x_1595, sizeof(void*)*1); +lean_dec(x_1595); +if (x_1596 == 0) +{ +lean_object* x_1597; uint8_t x_1598; +x_1597 = lean_ctor_get(x_1593, 1); +lean_inc(x_1597); +lean_dec(x_1593); +x_1598 = 0; +x_1577 = x_1598; +x_1578 = x_1597; +goto block_1592; +} +else +{ +lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; uint8_t x_1604; +x_1599 = lean_ctor_get(x_1593, 1); +lean_inc(x_1599); +lean_dec(x_1593); +x_1600 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1601 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1600, x_3, x_4, x_5, x_6, x_1599); +x_1602 = lean_ctor_get(x_1601, 0); +lean_inc(x_1602); +x_1603 = lean_ctor_get(x_1601, 1); +lean_inc(x_1603); +lean_dec(x_1601); +x_1604 = lean_unbox(x_1602); +lean_dec(x_1602); +x_1577 = x_1604; +x_1578 = x_1603; +goto block_1592; +} +block_1592: +{ +if (x_1577 == 0) +{ +lean_object* x_1579; +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_1579 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1578); +return x_1579; +} +else +{ +lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; +x_1580 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1580, 0, x_1); +x_1581 = l_Lean_KernelException_toMessageData___closed__15; +x_1582 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1582, 0, x_1581); +lean_ctor_set(x_1582, 1, x_1580); +x_1583 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1584 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1584, 0, x_1582); +lean_ctor_set(x_1584, 1, x_1583); +x_1585 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1585, 0, x_2); +x_1586 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1586, 0, x_1584); +lean_ctor_set(x_1586, 1, x_1585); +x_1587 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1587, 0, x_1586); +lean_ctor_set(x_1587, 1, x_1581); +x_1588 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1589 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1588, x_1587, x_3, x_4, x_5, x_6, x_1578); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1590 = lean_ctor_get(x_1589, 1); +lean_inc(x_1590); +lean_dec(x_1589); +x_1591 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1590); +return x_1591; +} +} +} +} +else +{ +lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; uint8_t x_1621; lean_object* x_1622; lean_object* x_1623; +x_1618 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1572); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1619 = lean_ctor_get(x_1618, 1); +lean_inc(x_1619); +if (lean_is_exclusive(x_1618)) { + lean_ctor_release(x_1618, 0); + lean_ctor_release(x_1618, 1); + x_1620 = x_1618; } else { - lean_dec_ref(x_1619); - x_1622 = lean_box(0); + lean_dec_ref(x_1618); + x_1620 = lean_box(0); } -x_1623 = lean_ctor_get(x_1620, 0); -lean_inc(x_1623); -lean_dec(x_1620); -lean_inc(x_1623); -x_1624 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1623, x_1); -if (x_1624 == 0) -{ -uint8_t x_1625; -x_1625 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1623, x_2); -if (x_1625 == 0) -{ -lean_object* x_1626; lean_object* x_1656; uint8_t x_1657; -x_1656 = lean_ctor_get(x_3, 0); -lean_inc(x_1656); -x_1657 = lean_ctor_get_uint8(x_1656, 4); -lean_dec(x_1656); -if (x_1657 == 0) -{ -uint8_t x_1658; lean_object* x_1659; lean_object* x_1660; -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_1658 = 0; -x_1659 = lean_box(x_1658); -if (lean_is_scalar(x_1622)) { - x_1660 = lean_alloc_ctor(0, 2, 0); +x_1621 = 1; +x_1622 = lean_box(x_1621); +if (lean_is_scalar(x_1620)) { + x_1623 = lean_alloc_ctor(0, 2, 0); } else { - x_1660 = x_1622; + x_1623 = x_1620; +} +lean_ctor_set(x_1623, 0, x_1622); +lean_ctor_set(x_1623, 1, x_1619); +return x_1623; } -lean_ctor_set(x_1660, 0, x_1659); -lean_ctor_set(x_1660, 1, x_1621); -return x_1660; } else { -uint8_t x_1661; -x_1661 = l_Lean_Level_isMVar(x_1); -if (x_1661 == 0) -{ -uint8_t x_1662; -x_1662 = l_Lean_Level_isMVar(x_2); -if (x_1662 == 0) -{ -uint8_t x_1663; lean_object* x_1664; lean_object* x_1665; +lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; uint8_t x_1627; lean_object* x_1628; lean_object* x_1629; +lean_dec(x_1573); +x_1624 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1572); 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_1663 = 0; -x_1664 = lean_box(x_1663); -if (lean_is_scalar(x_1622)) { - x_1665 = lean_alloc_ctor(0, 2, 0); +x_1625 = lean_ctor_get(x_1624, 1); +lean_inc(x_1625); +if (lean_is_exclusive(x_1624)) { + lean_ctor_release(x_1624, 0); + lean_ctor_release(x_1624, 1); + x_1626 = x_1624; } else { - x_1665 = x_1622; + lean_dec_ref(x_1624); + x_1626 = lean_box(0); } -lean_ctor_set(x_1665, 0, x_1664); -lean_ctor_set(x_1665, 1, x_1621); -return x_1665; +x_1627 = 1; +x_1628 = lean_box(x_1627); +if (lean_is_scalar(x_1626)) { + x_1629 = lean_alloc_ctor(0, 2, 0); +} else { + x_1629 = x_1626; } -else -{ -lean_object* x_1666; -lean_dec(x_1622); -x_1666 = lean_box(0); -x_1626 = x_1666; -goto block_1655; -} -} -else -{ -lean_object* x_1667; -lean_dec(x_1622); -x_1667 = lean_box(0); -x_1626 = x_1667; -goto block_1655; -} -} -block_1655: -{ -uint8_t x_1627; lean_object* x_1628; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; uint8_t x_1646; -lean_dec(x_1626); -x_1643 = lean_st_ref_get(x_6, x_1621); -x_1644 = lean_ctor_get(x_1643, 0); -lean_inc(x_1644); -x_1645 = lean_ctor_get(x_1644, 3); -lean_inc(x_1645); -lean_dec(x_1644); -x_1646 = lean_ctor_get_uint8(x_1645, sizeof(void*)*1); -lean_dec(x_1645); -if (x_1646 == 0) -{ -lean_object* x_1647; uint8_t x_1648; -x_1647 = lean_ctor_get(x_1643, 1); -lean_inc(x_1647); -lean_dec(x_1643); -x_1648 = 0; -x_1627 = x_1648; -x_1628 = x_1647; -goto block_1642; -} -else -{ -lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; uint8_t x_1654; -x_1649 = lean_ctor_get(x_1643, 1); -lean_inc(x_1649); -lean_dec(x_1643); -x_1650 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1651 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1650, x_3, x_4, x_5, x_6, x_1649); -x_1652 = lean_ctor_get(x_1651, 0); -lean_inc(x_1652); -x_1653 = lean_ctor_get(x_1651, 1); -lean_inc(x_1653); -lean_dec(x_1651); -x_1654 = lean_unbox(x_1652); -lean_dec(x_1652); -x_1627 = x_1654; -x_1628 = x_1653; -goto block_1642; -} -block_1642: -{ -if (x_1627 == 0) -{ -lean_object* x_1629; -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_1629 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1628); +lean_ctor_set(x_1629, 0, x_1628); +lean_ctor_set(x_1629, 1, x_1625); return x_1629; } +} +} +} else { -lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; -x_1630 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1630, 0, x_1); -x_1631 = l_Lean_KernelException_toMessageData___closed__15; -x_1632 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1632, 0, x_1631); -lean_ctor_set(x_1632, 1, x_1630); -x_1633 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1634 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1634, 0, x_1632); -lean_ctor_set(x_1634, 1, x_1633); -x_1635 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1635, 0, x_2); -x_1636 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1636, 0, x_1634); -lean_ctor_set(x_1636, 1, x_1635); -x_1637 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1637, 0, x_1636); -lean_ctor_set(x_1637, 1, x_1631); -x_1638 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1639 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1638, x_1637, x_3, x_4, x_5, x_6, x_1628); +lean_object* x_1630; lean_object* x_1631; uint8_t x_1632; uint8_t x_1633; +x_1630 = lean_ctor_get(x_1494, 0); +x_1631 = lean_ctor_get(x_1494, 1); +lean_inc(x_1631); +lean_inc(x_1630); +lean_dec(x_1494); +x_1632 = lean_unbox(x_1630); +x_1633 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1632, x_1487); +if (x_1633 == 0) +{ +uint8_t x_1634; uint8_t x_1635; uint8_t x_1636; lean_object* x_1637; lean_object* x_1638; 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_1634 = 1; +x_1635 = lean_unbox(x_1630); +lean_dec(x_1630); +x_1636 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1635, x_1634); +x_1637 = lean_box(x_1636); +x_1638 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1638, 0, x_1637); +lean_ctor_set(x_1638, 1, x_1631); +return x_1638; +} +else +{ +lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; uint8_t x_1646; +lean_dec(x_1630); +x_1639 = lean_st_ref_get(x_6, x_1631); x_1640 = lean_ctor_get(x_1639, 1); lean_inc(x_1640); lean_dec(x_1639); -x_1641 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1640); -return x_1641; +x_1641 = lean_st_ref_get(x_4, x_1640); +x_1642 = lean_ctor_get(x_1641, 0); +lean_inc(x_1642); +x_1643 = lean_ctor_get(x_1641, 1); +lean_inc(x_1643); +if (lean_is_exclusive(x_1641)) { + lean_ctor_release(x_1641, 0); + lean_ctor_release(x_1641, 1); + x_1644 = x_1641; +} else { + lean_dec_ref(x_1641); + x_1644 = lean_box(0); } -} -} -} -else +x_1645 = lean_ctor_get(x_1642, 0); +lean_inc(x_1645); +lean_dec(x_1642); +lean_inc(x_1645); +x_1646 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1645, x_1); +if (x_1646 == 0) { -lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; uint8_t x_1671; lean_object* x_1672; lean_object* x_1673; -lean_dec(x_1622); -x_1668 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1621); +uint8_t x_1647; +x_1647 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1645, x_2); +if (x_1647 == 0) +{ +lean_object* x_1648; lean_object* x_1678; uint8_t x_1679; +x_1678 = lean_ctor_get(x_3, 0); +lean_inc(x_1678); +x_1679 = lean_ctor_get_uint8(x_1678, 4); +lean_dec(x_1678); +if (x_1679 == 0) +{ +uint8_t x_1680; lean_object* x_1681; lean_object* x_1682; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_1669 = lean_ctor_get(x_1668, 1); +lean_dec(x_2); +lean_dec(x_1); +x_1680 = 0; +x_1681 = lean_box(x_1680); +if (lean_is_scalar(x_1644)) { + x_1682 = lean_alloc_ctor(0, 2, 0); +} else { + x_1682 = x_1644; +} +lean_ctor_set(x_1682, 0, x_1681); +lean_ctor_set(x_1682, 1, x_1643); +return x_1682; +} +else +{ +uint8_t x_1683; +x_1683 = l_Lean_Level_isMVar(x_1); +if (x_1683 == 0) +{ +uint8_t x_1684; +x_1684 = l_Lean_Level_isMVar(x_2); +if (x_1684 == 0) +{ +uint8_t x_1685; lean_object* x_1686; lean_object* x_1687; +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_1685 = 0; +x_1686 = lean_box(x_1685); +if (lean_is_scalar(x_1644)) { + x_1687 = lean_alloc_ctor(0, 2, 0); +} else { + x_1687 = x_1644; +} +lean_ctor_set(x_1687, 0, x_1686); +lean_ctor_set(x_1687, 1, x_1643); +return x_1687; +} +else +{ +lean_object* x_1688; +lean_dec(x_1644); +x_1688 = lean_box(0); +x_1648 = x_1688; +goto block_1677; +} +} +else +{ +lean_object* x_1689; +lean_dec(x_1644); +x_1689 = lean_box(0); +x_1648 = x_1689; +goto block_1677; +} +} +block_1677: +{ +uint8_t x_1649; lean_object* x_1650; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; uint8_t x_1668; +lean_dec(x_1648); +x_1665 = lean_st_ref_get(x_6, x_1643); +x_1666 = lean_ctor_get(x_1665, 0); +lean_inc(x_1666); +x_1667 = lean_ctor_get(x_1666, 3); +lean_inc(x_1667); +lean_dec(x_1666); +x_1668 = lean_ctor_get_uint8(x_1667, sizeof(void*)*1); +lean_dec(x_1667); +if (x_1668 == 0) +{ +lean_object* x_1669; uint8_t x_1670; +x_1669 = lean_ctor_get(x_1665, 1); lean_inc(x_1669); -if (lean_is_exclusive(x_1668)) { - lean_ctor_release(x_1668, 0); - lean_ctor_release(x_1668, 1); - x_1670 = x_1668; -} else { - lean_dec_ref(x_1668); - x_1670 = lean_box(0); -} -x_1671 = 1; -x_1672 = lean_box(x_1671); -if (lean_is_scalar(x_1670)) { - x_1673 = lean_alloc_ctor(0, 2, 0); -} else { - x_1673 = x_1670; -} -lean_ctor_set(x_1673, 0, x_1672); -lean_ctor_set(x_1673, 1, x_1669); -return x_1673; -} +lean_dec(x_1665); +x_1670 = 0; +x_1649 = x_1670; +x_1650 = x_1669; +goto block_1664; } else { -lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; uint8_t x_1677; lean_object* x_1678; lean_object* x_1679; -lean_dec(x_1623); -lean_dec(x_1622); -x_1674 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1621); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1675 = lean_ctor_get(x_1674, 1); +lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; uint8_t x_1676; +x_1671 = lean_ctor_get(x_1665, 1); +lean_inc(x_1671); +lean_dec(x_1665); +x_1672 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1673 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1672, x_3, x_4, x_5, x_6, x_1671); +x_1674 = lean_ctor_get(x_1673, 0); +lean_inc(x_1674); +x_1675 = lean_ctor_get(x_1673, 1); lean_inc(x_1675); -if (lean_is_exclusive(x_1674)) { - lean_ctor_release(x_1674, 0); - lean_ctor_release(x_1674, 1); - x_1676 = x_1674; -} else { - lean_dec_ref(x_1674); - x_1676 = lean_box(0); +lean_dec(x_1673); +x_1676 = lean_unbox(x_1674); +lean_dec(x_1674); +x_1649 = x_1676; +x_1650 = x_1675; +goto block_1664; } -x_1677 = 1; -x_1678 = lean_box(x_1677); -if (lean_is_scalar(x_1676)) { - x_1679 = lean_alloc_ctor(0, 2, 0); -} else { - x_1679 = x_1676; -} -lean_ctor_set(x_1679, 0, x_1678); -lean_ctor_set(x_1679, 1, x_1675); -return x_1679; -} -} -} -} -else +block_1664: { -uint8_t x_1680; +if (x_1649 == 0) +{ +lean_object* x_1651; 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_1680 = !lean_is_exclusive(x_1472); -if (x_1680 == 0) -{ -return x_1472; +x_1651 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1650); +return x_1651; } else { -lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; -x_1681 = lean_ctor_get(x_1472, 0); -x_1682 = lean_ctor_get(x_1472, 1); -lean_inc(x_1682); -lean_inc(x_1681); -lean_dec(x_1472); -x_1683 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1683, 0, x_1681); -lean_ctor_set(x_1683, 1, x_1682); -return x_1683; +lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; +x_1652 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1652, 0, x_1); +x_1653 = l_Lean_KernelException_toMessageData___closed__15; +x_1654 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1654, 0, x_1653); +lean_ctor_set(x_1654, 1, x_1652); +x_1655 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1656 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1656, 0, x_1654); +lean_ctor_set(x_1656, 1, x_1655); +x_1657 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1657, 0, x_2); +x_1658 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1658, 0, x_1656); +lean_ctor_set(x_1658, 1, x_1657); +x_1659 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1659, 0, x_1658); +lean_ctor_set(x_1659, 1, x_1653); +x_1660 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1661 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1660, x_1659, x_3, x_4, x_5, x_6, x_1650); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1662 = lean_ctor_get(x_1661, 1); +lean_inc(x_1662); +lean_dec(x_1661); +x_1663 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1662); +return x_1663; } } } } else { -lean_object* x_1684; lean_object* x_1685; uint8_t x_1686; uint8_t x_1687; uint8_t x_1688; -x_1684 = lean_ctor_get(x_1461, 0); -x_1685 = lean_ctor_get(x_1461, 1); -lean_inc(x_1685); -lean_inc(x_1684); -lean_dec(x_1461); -x_1686 = 2; -x_1687 = lean_unbox(x_1684); -x_1688 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1687, x_1686); -if (x_1688 == 0) +lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; uint8_t x_1693; lean_object* x_1694; lean_object* x_1695; +lean_dec(x_1644); +x_1690 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1643); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1691 = lean_ctor_get(x_1690, 1); +lean_inc(x_1691); +if (lean_is_exclusive(x_1690)) { + lean_ctor_release(x_1690, 0); + lean_ctor_release(x_1690, 1); + x_1692 = x_1690; +} else { + lean_dec_ref(x_1690); + x_1692 = lean_box(0); +} +x_1693 = 1; +x_1694 = lean_box(x_1693); +if (lean_is_scalar(x_1692)) { + x_1695 = lean_alloc_ctor(0, 2, 0); +} else { + x_1695 = x_1692; +} +lean_ctor_set(x_1695, 0, x_1694); +lean_ctor_set(x_1695, 1, x_1691); +return x_1695; +} +} +else { -uint8_t x_1689; uint8_t x_1690; uint8_t x_1691; lean_object* x_1692; lean_object* x_1693; +lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; uint8_t x_1699; lean_object* x_1700; lean_object* x_1701; +lean_dec(x_1645); +lean_dec(x_1644); +x_1696 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1643); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1697 = lean_ctor_get(x_1696, 1); +lean_inc(x_1697); +if (lean_is_exclusive(x_1696)) { + lean_ctor_release(x_1696, 0); + lean_ctor_release(x_1696, 1); + x_1698 = x_1696; +} else { + lean_dec_ref(x_1696); + x_1698 = lean_box(0); +} +x_1699 = 1; +x_1700 = lean_box(x_1699); +if (lean_is_scalar(x_1698)) { + x_1701 = lean_alloc_ctor(0, 2, 0); +} else { + x_1701 = x_1698; +} +lean_ctor_set(x_1701, 0, x_1700); +lean_ctor_set(x_1701, 1, x_1697); +return x_1701; +} +} +} +} +else +{ +uint8_t x_1702; 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_1689 = 1; -x_1690 = lean_unbox(x_1684); -lean_dec(x_1684); -x_1691 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1690, x_1689); -x_1692 = lean_box(x_1691); -x_1693 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1693, 0, x_1692); -lean_ctor_set(x_1693, 1, x_1685); -return x_1693; +x_1702 = !lean_is_exclusive(x_1494); +if (x_1702 == 0) +{ +return x_1494; } else { -lean_object* x_1694; -lean_dec(x_1684); +lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; +x_1703 = lean_ctor_get(x_1494, 0); +x_1704 = lean_ctor_get(x_1494, 1); +lean_inc(x_1704); +lean_inc(x_1703); +lean_dec(x_1494); +x_1705 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1705, 0, x_1703); +lean_ctor_set(x_1705, 1, x_1704); +return x_1705; +} +} +} +} +else +{ +lean_object* x_1706; lean_object* x_1707; uint8_t x_1708; uint8_t x_1709; uint8_t x_1710; +x_1706 = lean_ctor_get(x_1483, 0); +x_1707 = lean_ctor_get(x_1483, 1); +lean_inc(x_1707); +lean_inc(x_1706); +lean_dec(x_1483); +x_1708 = 2; +x_1709 = lean_unbox(x_1706); +x_1710 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1709, x_1708); +if (x_1710 == 0) +{ +uint8_t x_1711; uint8_t x_1712; uint8_t x_1713; lean_object* x_1714; lean_object* x_1715; +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_1711 = 1; +x_1712 = lean_unbox(x_1706); +lean_dec(x_1706); +x_1713 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1712, x_1711); +x_1714 = lean_box(x_1713); +x_1715 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1715, 0, x_1714); +lean_ctor_set(x_1715, 1, x_1707); +return x_1715; +} +else +{ +lean_object* x_1716; +lean_dec(x_1706); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_1694 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1685); -if (lean_obj_tag(x_1694) == 0) +x_1716 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1707); +if (lean_obj_tag(x_1716) == 0) { -lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; uint8_t x_1698; uint8_t x_1699; -x_1695 = lean_ctor_get(x_1694, 0); -lean_inc(x_1695); -x_1696 = lean_ctor_get(x_1694, 1); -lean_inc(x_1696); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1697 = x_1694; +lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; uint8_t x_1720; uint8_t x_1721; +x_1717 = lean_ctor_get(x_1716, 0); +lean_inc(x_1717); +x_1718 = lean_ctor_get(x_1716, 1); +lean_inc(x_1718); +if (lean_is_exclusive(x_1716)) { + lean_ctor_release(x_1716, 0); + lean_ctor_release(x_1716, 1); + x_1719 = x_1716; } else { - lean_dec_ref(x_1694); - x_1697 = lean_box(0); + lean_dec_ref(x_1716); + x_1719 = lean_box(0); } -x_1698 = lean_unbox(x_1695); -x_1699 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1698, x_1686); -if (x_1699 == 0) +x_1720 = lean_unbox(x_1717); +x_1721 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1720, x_1708); +if (x_1721 == 0) { -uint8_t x_1700; uint8_t x_1701; uint8_t x_1702; lean_object* x_1703; lean_object* x_1704; +uint8_t x_1722; uint8_t x_1723; uint8_t x_1724; lean_object* x_1725; lean_object* x_1726; 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_1700 = 1; -x_1701 = lean_unbox(x_1695); -lean_dec(x_1695); -x_1702 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1701, x_1700); -x_1703 = lean_box(x_1702); -if (lean_is_scalar(x_1697)) { - x_1704 = lean_alloc_ctor(0, 2, 0); +x_1722 = 1; +x_1723 = lean_unbox(x_1717); +lean_dec(x_1717); +x_1724 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1723, x_1722); +x_1725 = lean_box(x_1724); +if (lean_is_scalar(x_1719)) { + x_1726 = lean_alloc_ctor(0, 2, 0); } else { - x_1704 = x_1697; + x_1726 = x_1719; } -lean_ctor_set(x_1704, 0, x_1703); -lean_ctor_set(x_1704, 1, x_1696); -return x_1704; +lean_ctor_set(x_1726, 0, x_1725); +lean_ctor_set(x_1726, 1, x_1718); +return x_1726; } else { -lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; uint8_t x_1712; -lean_dec(x_1697); -lean_dec(x_1695); -x_1705 = lean_st_ref_get(x_6, x_1696); -x_1706 = lean_ctor_get(x_1705, 1); -lean_inc(x_1706); -lean_dec(x_1705); -x_1707 = lean_st_ref_get(x_4, x_1706); -x_1708 = lean_ctor_get(x_1707, 0); -lean_inc(x_1708); -x_1709 = lean_ctor_get(x_1707, 1); -lean_inc(x_1709); -if (lean_is_exclusive(x_1707)) { - lean_ctor_release(x_1707, 0); - lean_ctor_release(x_1707, 1); - x_1710 = x_1707; -} else { - lean_dec_ref(x_1707); - x_1710 = lean_box(0); -} -x_1711 = lean_ctor_get(x_1708, 0); -lean_inc(x_1711); -lean_dec(x_1708); -lean_inc(x_1711); -x_1712 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1711, x_1); -if (x_1712 == 0) -{ -uint8_t x_1713; -x_1713 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1711, x_2); -if (x_1713 == 0) -{ -lean_object* x_1714; lean_object* x_1744; uint8_t x_1745; -x_1744 = lean_ctor_get(x_3, 0); -lean_inc(x_1744); -x_1745 = lean_ctor_get_uint8(x_1744, 4); -lean_dec(x_1744); -if (x_1745 == 0) -{ -uint8_t x_1746; lean_object* x_1747; lean_object* x_1748; -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_1746 = 0; -x_1747 = lean_box(x_1746); -if (lean_is_scalar(x_1710)) { - x_1748 = lean_alloc_ctor(0, 2, 0); -} else { - x_1748 = x_1710; -} -lean_ctor_set(x_1748, 0, x_1747); -lean_ctor_set(x_1748, 1, x_1709); -return x_1748; -} -else -{ -uint8_t x_1749; -x_1749 = l_Lean_Level_isMVar(x_1); -if (x_1749 == 0) -{ -uint8_t x_1750; -x_1750 = l_Lean_Level_isMVar(x_2); -if (x_1750 == 0) -{ -uint8_t x_1751; lean_object* x_1752; lean_object* x_1753; -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_1751 = 0; -x_1752 = lean_box(x_1751); -if (lean_is_scalar(x_1710)) { - x_1753 = lean_alloc_ctor(0, 2, 0); -} else { - x_1753 = x_1710; -} -lean_ctor_set(x_1753, 0, x_1752); -lean_ctor_set(x_1753, 1, x_1709); -return x_1753; -} -else -{ -lean_object* x_1754; -lean_dec(x_1710); -x_1754 = lean_box(0); -x_1714 = x_1754; -goto block_1743; -} -} -else -{ -lean_object* x_1755; -lean_dec(x_1710); -x_1755 = lean_box(0); -x_1714 = x_1755; -goto block_1743; -} -} -block_1743: -{ -uint8_t x_1715; lean_object* x_1716; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; uint8_t x_1734; -lean_dec(x_1714); -x_1731 = lean_st_ref_get(x_6, x_1709); -x_1732 = lean_ctor_get(x_1731, 0); -lean_inc(x_1732); -x_1733 = lean_ctor_get(x_1732, 3); -lean_inc(x_1733); -lean_dec(x_1732); -x_1734 = lean_ctor_get_uint8(x_1733, sizeof(void*)*1); -lean_dec(x_1733); -if (x_1734 == 0) -{ -lean_object* x_1735; uint8_t x_1736; -x_1735 = lean_ctor_get(x_1731, 1); -lean_inc(x_1735); -lean_dec(x_1731); -x_1736 = 0; -x_1715 = x_1736; -x_1716 = x_1735; -goto block_1730; -} -else -{ -lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; uint8_t x_1742; -x_1737 = lean_ctor_get(x_1731, 1); -lean_inc(x_1737); -lean_dec(x_1731); -x_1738 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1739 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1738, x_3, x_4, x_5, x_6, x_1737); -x_1740 = lean_ctor_get(x_1739, 0); -lean_inc(x_1740); -x_1741 = lean_ctor_get(x_1739, 1); -lean_inc(x_1741); -lean_dec(x_1739); -x_1742 = lean_unbox(x_1740); -lean_dec(x_1740); -x_1715 = x_1742; -x_1716 = x_1741; -goto block_1730; -} -block_1730: -{ -if (x_1715 == 0) -{ -lean_object* x_1717; -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_1717 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1716); -return x_1717; -} -else -{ -lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; -x_1718 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1718, 0, x_1); -x_1719 = l_Lean_KernelException_toMessageData___closed__15; -x_1720 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1720, 0, x_1719); -lean_ctor_set(x_1720, 1, x_1718); -x_1721 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1722 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1722, 0, x_1720); -lean_ctor_set(x_1722, 1, x_1721); -x_1723 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1723, 0, x_2); -x_1724 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1724, 0, x_1722); -lean_ctor_set(x_1724, 1, x_1723); -x_1725 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1725, 0, x_1724); -lean_ctor_set(x_1725, 1, x_1719); -x_1726 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1727 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1726, x_1725, x_3, x_4, x_5, x_6, x_1716); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; uint8_t x_1734; +lean_dec(x_1719); +lean_dec(x_1717); +x_1727 = lean_st_ref_get(x_6, x_1718); x_1728 = lean_ctor_get(x_1727, 1); lean_inc(x_1728); lean_dec(x_1727); -x_1729 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1728); -return x_1729; +x_1729 = lean_st_ref_get(x_4, x_1728); +x_1730 = lean_ctor_get(x_1729, 0); +lean_inc(x_1730); +x_1731 = lean_ctor_get(x_1729, 1); +lean_inc(x_1731); +if (lean_is_exclusive(x_1729)) { + lean_ctor_release(x_1729, 0); + lean_ctor_release(x_1729, 1); + x_1732 = x_1729; +} else { + lean_dec_ref(x_1729); + x_1732 = lean_box(0); } -} -} -} -else +x_1733 = lean_ctor_get(x_1730, 0); +lean_inc(x_1733); +lean_dec(x_1730); +lean_inc(x_1733); +x_1734 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1733, x_1); +if (x_1734 == 0) { -lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; uint8_t x_1759; lean_object* x_1760; lean_object* x_1761; -lean_dec(x_1710); -x_1756 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1709); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1757 = lean_ctor_get(x_1756, 1); -lean_inc(x_1757); -if (lean_is_exclusive(x_1756)) { - lean_ctor_release(x_1756, 0); - lean_ctor_release(x_1756, 1); - x_1758 = x_1756; -} else { - lean_dec_ref(x_1756); - x_1758 = lean_box(0); -} -x_1759 = 1; -x_1760 = lean_box(x_1759); -if (lean_is_scalar(x_1758)) { - x_1761 = lean_alloc_ctor(0, 2, 0); -} else { - x_1761 = x_1758; -} -lean_ctor_set(x_1761, 0, x_1760); -lean_ctor_set(x_1761, 1, x_1757); -return x_1761; -} -} -else +uint8_t x_1735; +x_1735 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1733, x_2); +if (x_1735 == 0) { -lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; uint8_t x_1765; lean_object* x_1766; lean_object* x_1767; -lean_dec(x_1711); -lean_dec(x_1710); -x_1762 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1709); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1763 = lean_ctor_get(x_1762, 1); -lean_inc(x_1763); -if (lean_is_exclusive(x_1762)) { - lean_ctor_release(x_1762, 0); - lean_ctor_release(x_1762, 1); - x_1764 = x_1762; -} else { - lean_dec_ref(x_1762); - x_1764 = lean_box(0); -} -x_1765 = 1; -x_1766 = lean_box(x_1765); -if (lean_is_scalar(x_1764)) { - x_1767 = lean_alloc_ctor(0, 2, 0); -} else { - x_1767 = x_1764; -} -lean_ctor_set(x_1767, 0, x_1766); -lean_ctor_set(x_1767, 1, x_1763); -return x_1767; -} -} -} -else +lean_object* x_1736; lean_object* x_1766; uint8_t x_1767; +x_1766 = lean_ctor_get(x_3, 0); +lean_inc(x_1766); +x_1767 = lean_ctor_get_uint8(x_1766, 4); +lean_dec(x_1766); +if (x_1767 == 0) { -lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; +uint8_t x_1768; lean_object* x_1769; lean_object* x_1770; 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_1768 = lean_ctor_get(x_1694, 0); -lean_inc(x_1768); -x_1769 = lean_ctor_get(x_1694, 1); -lean_inc(x_1769); -if (lean_is_exclusive(x_1694)) { - lean_ctor_release(x_1694, 0); - lean_ctor_release(x_1694, 1); - x_1770 = x_1694; +x_1768 = 0; +x_1769 = lean_box(x_1768); +if (lean_is_scalar(x_1732)) { + x_1770 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_1694); - x_1770 = lean_box(0); -} -if (lean_is_scalar(x_1770)) { - x_1771 = lean_alloc_ctor(1, 2, 0); -} else { - x_1771 = x_1770; -} -lean_ctor_set(x_1771, 0, x_1768); -lean_ctor_set(x_1771, 1, x_1769); -return x_1771; -} -} + x_1770 = x_1732; } +lean_ctor_set(x_1770, 0, x_1769); +lean_ctor_set(x_1770, 1, x_1731); +return x_1770; } else { +uint8_t x_1771; +x_1771 = l_Lean_Level_isMVar(x_1); +if (x_1771 == 0) +{ uint8_t x_1772; -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_1772 = !lean_is_exclusive(x_1461); +x_1772 = l_Lean_Level_isMVar(x_2); if (x_1772 == 0) { -return x_1461; -} -else -{ -lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; -x_1773 = lean_ctor_get(x_1461, 0); -x_1774 = lean_ctor_get(x_1461, 1); -lean_inc(x_1774); -lean_inc(x_1773); -lean_dec(x_1461); -x_1775 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1775, 0, x_1773); -lean_ctor_set(x_1775, 1, x_1774); -return x_1775; -} -} -} -} -} -block_1790: -{ -if (x_1777 == 0) -{ -x_1448 = x_1778; -goto block_1776; -} -else -{ -lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; -lean_inc(x_1); -x_1779 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1779, 0, x_1); -x_1780 = l_Lean_KernelException_toMessageData___closed__15; -x_1781 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1781, 0, x_1780); -lean_ctor_set(x_1781, 1, x_1779); -x_1782 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1783 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1783, 0, x_1781); -lean_ctor_set(x_1783, 1, x_1782); -lean_inc(x_2); -x_1784 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1784, 0, x_2); -x_1785 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1785, 0, x_1783); -lean_ctor_set(x_1785, 1, x_1784); -x_1786 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1786, 0, x_1785); -lean_ctor_set(x_1786, 1, x_1780); -x_1787 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_1788 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1787, x_1786, x_3, x_4, x_5, x_6, x_1778); -x_1789 = lean_ctor_get(x_1788, 1); -lean_inc(x_1789); -lean_dec(x_1788); -x_1448 = x_1789; -goto block_1776; -} -} -} -else -{ -uint8_t x_1803; lean_object* x_1804; lean_object* x_1805; +uint8_t x_1773; lean_object* x_1774; lean_object* x_1775; 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_1803 = 1; -x_1804 = lean_box(x_1803); -x_1805 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1805, 0, x_1804); -lean_ctor_set(x_1805, 1, x_7); -return x_1805; +x_1773 = 0; +x_1774 = lean_box(x_1773); +if (lean_is_scalar(x_1732)) { + x_1775 = lean_alloc_ctor(0, 2, 0); +} else { + x_1775 = x_1732; +} +lean_ctor_set(x_1775, 0, x_1774); +lean_ctor_set(x_1775, 1, x_1731); +return x_1775; +} +else +{ +lean_object* x_1776; +lean_dec(x_1732); +x_1776 = lean_box(0); +x_1736 = x_1776; +goto block_1765; +} +} +else +{ +lean_object* x_1777; +lean_dec(x_1732); +x_1777 = lean_box(0); +x_1736 = x_1777; +goto block_1765; +} +} +block_1765: +{ +uint8_t x_1737; lean_object* x_1738; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; uint8_t x_1756; +lean_dec(x_1736); +x_1753 = lean_st_ref_get(x_6, x_1731); +x_1754 = lean_ctor_get(x_1753, 0); +lean_inc(x_1754); +x_1755 = lean_ctor_get(x_1754, 3); +lean_inc(x_1755); +lean_dec(x_1754); +x_1756 = lean_ctor_get_uint8(x_1755, sizeof(void*)*1); +lean_dec(x_1755); +if (x_1756 == 0) +{ +lean_object* x_1757; uint8_t x_1758; +x_1757 = lean_ctor_get(x_1753, 1); +lean_inc(x_1757); +lean_dec(x_1753); +x_1758 = 0; +x_1737 = x_1758; +x_1738 = x_1757; +goto block_1752; +} +else +{ +lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; uint8_t x_1764; +x_1759 = lean_ctor_get(x_1753, 1); +lean_inc(x_1759); +lean_dec(x_1753); +x_1760 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1761 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1760, x_3, x_4, x_5, x_6, x_1759); +x_1762 = lean_ctor_get(x_1761, 0); +lean_inc(x_1762); +x_1763 = lean_ctor_get(x_1761, 1); +lean_inc(x_1763); +lean_dec(x_1761); +x_1764 = lean_unbox(x_1762); +lean_dec(x_1762); +x_1737 = x_1764; +x_1738 = x_1763; +goto block_1752; +} +block_1752: +{ +if (x_1737 == 0) +{ +lean_object* x_1739; +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_1739 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1738); +return x_1739; +} +else +{ +lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; +x_1740 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1740, 0, x_1); +x_1741 = l_Lean_KernelException_toMessageData___closed__15; +x_1742 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1742, 0, x_1741); +lean_ctor_set(x_1742, 1, x_1740); +x_1743 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1744 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1744, 0, x_1742); +lean_ctor_set(x_1744, 1, x_1743); +x_1745 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1745, 0, x_2); +x_1746 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1746, 0, x_1744); +lean_ctor_set(x_1746, 1, x_1745); +x_1747 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1747, 0, x_1746); +lean_ctor_set(x_1747, 1, x_1741); +x_1748 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1749 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1748, x_1747, x_3, x_4, x_5, x_6, x_1738); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1750 = lean_ctor_get(x_1749, 1); +lean_inc(x_1750); +lean_dec(x_1749); +x_1751 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1750); +return x_1751; +} +} +} +} +else +{ +lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; uint8_t x_1781; lean_object* x_1782; lean_object* x_1783; +lean_dec(x_1732); +x_1778 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1731); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1779 = lean_ctor_get(x_1778, 1); +lean_inc(x_1779); +if (lean_is_exclusive(x_1778)) { + lean_ctor_release(x_1778, 0); + lean_ctor_release(x_1778, 1); + x_1780 = x_1778; +} else { + lean_dec_ref(x_1778); + x_1780 = lean_box(0); +} +x_1781 = 1; +x_1782 = lean_box(x_1781); +if (lean_is_scalar(x_1780)) { + x_1783 = lean_alloc_ctor(0, 2, 0); +} else { + x_1783 = x_1780; +} +lean_ctor_set(x_1783, 0, x_1782); +lean_ctor_set(x_1783, 1, x_1779); +return x_1783; +} +} +else +{ +lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; uint8_t x_1787; lean_object* x_1788; lean_object* x_1789; +lean_dec(x_1733); +lean_dec(x_1732); +x_1784 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1731); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1785 = lean_ctor_get(x_1784, 1); +lean_inc(x_1785); +if (lean_is_exclusive(x_1784)) { + lean_ctor_release(x_1784, 0); + lean_ctor_release(x_1784, 1); + x_1786 = x_1784; +} else { + lean_dec_ref(x_1784); + x_1786 = lean_box(0); +} +x_1787 = 1; +x_1788 = lean_box(x_1787); +if (lean_is_scalar(x_1786)) { + x_1789 = lean_alloc_ctor(0, 2, 0); +} else { + x_1789 = x_1786; +} +lean_ctor_set(x_1789, 0, x_1788); +lean_ctor_set(x_1789, 1, x_1785); +return x_1789; +} +} +} +else +{ +lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; +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_1790 = lean_ctor_get(x_1716, 0); +lean_inc(x_1790); +x_1791 = lean_ctor_get(x_1716, 1); +lean_inc(x_1791); +if (lean_is_exclusive(x_1716)) { + lean_ctor_release(x_1716, 0); + lean_ctor_release(x_1716, 1); + x_1792 = x_1716; +} else { + lean_dec_ref(x_1716); + x_1792 = lean_box(0); +} +if (lean_is_scalar(x_1792)) { + x_1793 = lean_alloc_ctor(1, 2, 0); +} else { + x_1793 = x_1792; +} +lean_ctor_set(x_1793, 0, x_1790); +lean_ctor_set(x_1793, 1, x_1791); +return x_1793; +} +} +} +} +else +{ +uint8_t x_1794; +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_1794 = !lean_is_exclusive(x_1483); +if (x_1794 == 0) +{ +return x_1483; +} +else +{ +lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; +x_1795 = lean_ctor_get(x_1483, 0); +x_1796 = lean_ctor_get(x_1483, 1); +lean_inc(x_1796); +lean_inc(x_1795); +lean_dec(x_1483); +x_1797 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1797, 0, x_1795); +lean_ctor_set(x_1797, 1, x_1796); +return x_1797; +} +} +} +} +} +block_1812: +{ +if (x_1799 == 0) +{ +x_1470 = x_1800; +goto block_1798; +} +else +{ +lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; +lean_inc(x_1); +x_1801 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1801, 0, x_1); +x_1802 = l_Lean_KernelException_toMessageData___closed__15; +x_1803 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1803, 0, x_1802); +lean_ctor_set(x_1803, 1, x_1801); +x_1804 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1805 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1805, 0, x_1803); +lean_ctor_set(x_1805, 1, x_1804); +lean_inc(x_2); +x_1806 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1806, 0, x_2); +x_1807 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1807, 0, x_1805); +lean_ctor_set(x_1807, 1, x_1806); +x_1808 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1808, 0, x_1807); +lean_ctor_set(x_1808, 1, x_1802); +x_1809 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_1810 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1809, x_1808, x_3, x_4, x_5, x_6, x_1800); +x_1811 = lean_ctor_get(x_1810, 1); +lean_inc(x_1811); +lean_dec(x_1810); +x_1470 = x_1811; +goto block_1798; +} +} +} +else +{ +lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; uint8_t x_1828; lean_object* x_1829; lean_object* x_1830; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1825 = lean_unsigned_to_nat(0u); +x_1826 = l_Lean_Level_getOffsetAux(x_1, x_1825); +lean_dec(x_1); +x_1827 = l_Lean_Level_getOffsetAux(x_2, x_1825); +lean_dec(x_2); +x_1828 = lean_nat_dec_eq(x_1826, x_1827); +lean_dec(x_1827); +lean_dec(x_1826); +x_1829 = lean_box(x_1828); +x_1830 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1830, 0, x_1829); +lean_ctor_set(x_1830, 1, x_7); +return x_1830; } } default: { -uint8_t x_1806; -x_1806 = lean_level_eq(x_1, x_2); -if (x_1806 == 0) +lean_object* x_1831; lean_object* x_1832; uint8_t x_1833; +x_1831 = l_Lean_Level_getLevelOffset(x_1); +x_1832 = l_Lean_Level_getLevelOffset(x_2); +x_1833 = lean_level_eq(x_1831, x_1832); +lean_dec(x_1832); +lean_dec(x_1831); +if (x_1833 == 0) { -lean_object* x_1807; uint8_t x_2136; lean_object* x_2137; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; uint8_t x_2153; -x_2150 = lean_st_ref_get(x_6, x_7); -x_2151 = lean_ctor_get(x_2150, 0); -lean_inc(x_2151); -x_2152 = lean_ctor_get(x_2151, 3); -lean_inc(x_2152); -lean_dec(x_2151); -x_2153 = lean_ctor_get_uint8(x_2152, sizeof(void*)*1); -lean_dec(x_2152); -if (x_2153 == 0) +lean_object* x_1834; uint8_t x_2163; lean_object* x_2164; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; uint8_t x_2180; +x_2177 = lean_st_ref_get(x_6, x_7); +x_2178 = lean_ctor_get(x_2177, 0); +lean_inc(x_2178); +x_2179 = lean_ctor_get(x_2178, 3); +lean_inc(x_2179); +lean_dec(x_2178); +x_2180 = lean_ctor_get_uint8(x_2179, sizeof(void*)*1); +lean_dec(x_2179); +if (x_2180 == 0) { -lean_object* x_2154; uint8_t x_2155; -x_2154 = lean_ctor_get(x_2150, 1); -lean_inc(x_2154); -lean_dec(x_2150); -x_2155 = 0; -x_2136 = x_2155; -x_2137 = x_2154; -goto block_2149; +lean_object* x_2181; uint8_t x_2182; +x_2181 = lean_ctor_get(x_2177, 1); +lean_inc(x_2181); +lean_dec(x_2177); +x_2182 = 0; +x_2163 = x_2182; +x_2164 = x_2181; +goto block_2176; } else { -lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; uint8_t x_2161; -x_2156 = lean_ctor_get(x_2150, 1); -lean_inc(x_2156); -lean_dec(x_2150); -x_2157 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_2158 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2157, x_3, x_4, x_5, x_6, x_2156); -x_2159 = lean_ctor_get(x_2158, 0); -lean_inc(x_2159); -x_2160 = lean_ctor_get(x_2158, 1); -lean_inc(x_2160); -lean_dec(x_2158); -x_2161 = lean_unbox(x_2159); -lean_dec(x_2159); -x_2136 = x_2161; -x_2137 = x_2160; -goto block_2149; +lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; uint8_t x_2188; +x_2183 = lean_ctor_get(x_2177, 1); +lean_inc(x_2183); +lean_dec(x_2177); +x_2184 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_2185 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2184, x_3, x_4, x_5, x_6, x_2183); +x_2186 = lean_ctor_get(x_2185, 0); +lean_inc(x_2186); +x_2187 = lean_ctor_get(x_2185, 1); +lean_inc(x_2187); +lean_dec(x_2185); +x_2188 = lean_unbox(x_2186); +lean_dec(x_2186); +x_2163 = x_2188; +x_2164 = x_2187; +goto block_2176; } -block_2135: +block_2162: { -lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; uint8_t x_1816; +lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; uint8_t x_1843; lean_inc(x_1); -x_1808 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_1807); -x_1809 = lean_ctor_get(x_1808, 0); -lean_inc(x_1809); -x_1810 = lean_ctor_get(x_1808, 1); -lean_inc(x_1810); -lean_dec(x_1808); -x_1811 = l_Lean_Level_normalize(x_1809); -lean_dec(x_1809); +x_1835 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_1834); +x_1836 = lean_ctor_get(x_1835, 0); +lean_inc(x_1836); +x_1837 = lean_ctor_get(x_1835, 1); +lean_inc(x_1837); +lean_dec(x_1835); +x_1838 = l_Lean_Level_normalize(x_1836); +lean_dec(x_1836); lean_inc(x_2); -x_1812 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_1810); -x_1813 = lean_ctor_get(x_1812, 0); -lean_inc(x_1813); -x_1814 = lean_ctor_get(x_1812, 1); -lean_inc(x_1814); -lean_dec(x_1812); -x_1815 = l_Lean_Level_normalize(x_1813); -lean_dec(x_1813); -x_1816 = lean_level_eq(x_1, x_1811); -if (x_1816 == 0) +x_1839 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_1837); +x_1840 = lean_ctor_get(x_1839, 0); +lean_inc(x_1840); +x_1841 = lean_ctor_get(x_1839, 1); +lean_inc(x_1841); +lean_dec(x_1839); +x_1842 = l_Lean_Level_normalize(x_1840); +lean_dec(x_1840); +x_1843 = lean_level_eq(x_1, x_1838); +if (x_1843 == 0) { lean_dec(x_2); lean_dec(x_1); -x_1 = x_1811; -x_2 = x_1815; -x_7 = x_1814; +x_1 = x_1838; +x_2 = x_1842; +x_7 = x_1841; goto _start; } else { -uint8_t x_1818; -x_1818 = lean_level_eq(x_2, x_1815); -if (x_1818 == 0) +uint8_t x_1845; +x_1845 = lean_level_eq(x_2, x_1842); +if (x_1845 == 0) { lean_dec(x_2); lean_dec(x_1); -x_1 = x_1811; -x_2 = x_1815; -x_7 = x_1814; +x_1 = x_1838; +x_2 = x_1842; +x_7 = x_1841; goto _start; } else { -lean_object* x_1820; -lean_dec(x_1815); -lean_dec(x_1811); +lean_object* x_1847; +lean_dec(x_1842); +lean_dec(x_1838); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_1820 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_1814); -if (lean_obj_tag(x_1820) == 0) +x_1847 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_1841); +if (lean_obj_tag(x_1847) == 0) { -uint8_t x_1821; -x_1821 = !lean_is_exclusive(x_1820); -if (x_1821 == 0) -{ -lean_object* x_1822; lean_object* x_1823; uint8_t x_1824; uint8_t x_1825; uint8_t x_1826; -x_1822 = lean_ctor_get(x_1820, 0); -x_1823 = lean_ctor_get(x_1820, 1); -x_1824 = 2; -x_1825 = lean_unbox(x_1822); -x_1826 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1825, x_1824); -if (x_1826 == 0) -{ -uint8_t x_1827; uint8_t x_1828; uint8_t x_1829; lean_object* x_1830; -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_1827 = 1; -x_1828 = lean_unbox(x_1822); -lean_dec(x_1822); -x_1829 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1828, x_1827); -x_1830 = lean_box(x_1829); -lean_ctor_set(x_1820, 0, x_1830); -return x_1820; -} -else -{ -lean_object* x_1831; -lean_free_object(x_1820); -lean_dec(x_1822); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_1831 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1823); -if (lean_obj_tag(x_1831) == 0) -{ -uint8_t x_1832; -x_1832 = !lean_is_exclusive(x_1831); -if (x_1832 == 0) -{ -lean_object* x_1833; lean_object* x_1834; uint8_t x_1835; uint8_t x_1836; -x_1833 = lean_ctor_get(x_1831, 0); -x_1834 = lean_ctor_get(x_1831, 1); -x_1835 = lean_unbox(x_1833); -x_1836 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1835, x_1824); -if (x_1836 == 0) -{ -uint8_t x_1837; uint8_t x_1838; uint8_t x_1839; lean_object* x_1840; -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_1837 = 1; -x_1838 = lean_unbox(x_1833); -lean_dec(x_1833); -x_1839 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1838, x_1837); -x_1840 = lean_box(x_1839); -lean_ctor_set(x_1831, 0, x_1840); -return x_1831; -} -else -{ -lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; uint8_t x_1844; -lean_free_object(x_1831); -lean_dec(x_1833); -x_1841 = lean_st_ref_get(x_6, x_1834); -x_1842 = lean_ctor_get(x_1841, 1); -lean_inc(x_1842); -lean_dec(x_1841); -x_1843 = lean_st_ref_get(x_4, x_1842); -x_1844 = !lean_is_exclusive(x_1843); -if (x_1844 == 0) -{ -lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; uint8_t x_1848; -x_1845 = lean_ctor_get(x_1843, 0); -x_1846 = lean_ctor_get(x_1843, 1); -x_1847 = lean_ctor_get(x_1845, 0); -lean_inc(x_1847); -lean_dec(x_1845); -lean_inc(x_1847); -x_1848 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1847, x_1); +uint8_t x_1848; +x_1848 = !lean_is_exclusive(x_1847); if (x_1848 == 0) { -uint8_t x_1849; -x_1849 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1847, x_2); -if (x_1849 == 0) +lean_object* x_1849; lean_object* x_1850; uint8_t x_1851; uint8_t x_1852; uint8_t x_1853; +x_1849 = lean_ctor_get(x_1847, 0); +x_1850 = lean_ctor_get(x_1847, 1); +x_1851 = 2; +x_1852 = lean_unbox(x_1849); +x_1853 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1852, x_1851); +if (x_1853 == 0) { -lean_object* x_1850; lean_object* x_1880; uint8_t x_1881; -x_1880 = lean_ctor_get(x_3, 0); -lean_inc(x_1880); -x_1881 = lean_ctor_get_uint8(x_1880, 4); -lean_dec(x_1880); -if (x_1881 == 0) -{ -uint8_t x_1882; lean_object* x_1883; +uint8_t x_1854; uint8_t x_1855; uint8_t x_1856; lean_object* x_1857; 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_1882 = 0; -x_1883 = lean_box(x_1882); -lean_ctor_set(x_1843, 0, x_1883); -return x_1843; +x_1854 = 1; +x_1855 = lean_unbox(x_1849); +lean_dec(x_1849); +x_1856 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1855, x_1854); +x_1857 = lean_box(x_1856); +lean_ctor_set(x_1847, 0, x_1857); +return x_1847; } else { -uint8_t x_1884; -x_1884 = l_Lean_Level_isMVar(x_1); -if (x_1884 == 0) +lean_object* x_1858; +lean_free_object(x_1847); +lean_dec(x_1849); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +lean_inc(x_2); +x_1858 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_1850); +if (lean_obj_tag(x_1858) == 0) { -uint8_t x_1885; -x_1885 = l_Lean_Level_isMVar(x_2); -if (x_1885 == 0) +uint8_t x_1859; +x_1859 = !lean_is_exclusive(x_1858); +if (x_1859 == 0) { -uint8_t x_1886; lean_object* x_1887; +lean_object* x_1860; lean_object* x_1861; uint8_t x_1862; uint8_t x_1863; +x_1860 = lean_ctor_get(x_1858, 0); +x_1861 = lean_ctor_get(x_1858, 1); +x_1862 = lean_unbox(x_1860); +x_1863 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1862, x_1851); +if (x_1863 == 0) +{ +uint8_t x_1864; uint8_t x_1865; uint8_t x_1866; lean_object* x_1867; 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_1886 = 0; -x_1887 = lean_box(x_1886); -lean_ctor_set(x_1843, 0, x_1887); -return x_1843; +x_1864 = 1; +x_1865 = lean_unbox(x_1860); +lean_dec(x_1860); +x_1866 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1865, x_1864); +x_1867 = lean_box(x_1866); +lean_ctor_set(x_1858, 0, x_1867); +return x_1858; } else { -lean_object* x_1888; -lean_free_object(x_1843); -x_1888 = lean_box(0); -x_1850 = x_1888; -goto block_1879; -} -} -else -{ -lean_object* x_1889; -lean_free_object(x_1843); -x_1889 = lean_box(0); -x_1850 = x_1889; -goto block_1879; -} -} -block_1879: -{ -uint8_t x_1851; lean_object* x_1852; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; uint8_t x_1870; -lean_dec(x_1850); -x_1867 = lean_st_ref_get(x_6, x_1846); -x_1868 = lean_ctor_get(x_1867, 0); -lean_inc(x_1868); -x_1869 = lean_ctor_get(x_1868, 3); +lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; uint8_t x_1871; +lean_free_object(x_1858); +lean_dec(x_1860); +x_1868 = lean_st_ref_get(x_6, x_1861); +x_1869 = lean_ctor_get(x_1868, 1); lean_inc(x_1869); lean_dec(x_1868); -x_1870 = lean_ctor_get_uint8(x_1869, sizeof(void*)*1); -lean_dec(x_1869); -if (x_1870 == 0) +x_1870 = lean_st_ref_get(x_4, x_1869); +x_1871 = !lean_is_exclusive(x_1870); +if (x_1871 == 0) { -lean_object* x_1871; uint8_t x_1872; -x_1871 = lean_ctor_get(x_1867, 1); -lean_inc(x_1871); -lean_dec(x_1867); -x_1872 = 0; -x_1851 = x_1872; -x_1852 = x_1871; -goto block_1866; -} -else +lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; uint8_t x_1875; +x_1872 = lean_ctor_get(x_1870, 0); +x_1873 = lean_ctor_get(x_1870, 1); +x_1874 = lean_ctor_get(x_1872, 0); +lean_inc(x_1874); +lean_dec(x_1872); +lean_inc(x_1874); +x_1875 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1874, x_1); +if (x_1875 == 0) { -lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; uint8_t x_1878; -x_1873 = lean_ctor_get(x_1867, 1); -lean_inc(x_1873); -lean_dec(x_1867); -x_1874 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1875 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1874, x_3, x_4, x_5, x_6, x_1873); -x_1876 = lean_ctor_get(x_1875, 0); -lean_inc(x_1876); -x_1877 = lean_ctor_get(x_1875, 1); -lean_inc(x_1877); -lean_dec(x_1875); -x_1878 = lean_unbox(x_1876); -lean_dec(x_1876); -x_1851 = x_1878; -x_1852 = x_1877; -goto block_1866; -} -block_1866: +uint8_t x_1876; +x_1876 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1874, x_2); +if (x_1876 == 0) { -if (x_1851 == 0) +lean_object* x_1877; lean_object* x_1907; uint8_t x_1908; +x_1907 = lean_ctor_get(x_3, 0); +lean_inc(x_1907); +x_1908 = lean_ctor_get_uint8(x_1907, 4); +lean_dec(x_1907); +if (x_1908 == 0) { -lean_object* x_1853; +uint8_t x_1909; lean_object* x_1910; 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_1853 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1852); -return x_1853; +x_1909 = 0; +x_1910 = lean_box(x_1909); +lean_ctor_set(x_1870, 0, x_1910); +return x_1870; } else { -lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; -x_1854 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1854, 0, x_1); -x_1855 = l_Lean_KernelException_toMessageData___closed__15; -x_1856 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1856, 0, x_1855); -lean_ctor_set(x_1856, 1, x_1854); -x_1857 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1858 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1858, 0, x_1856); -lean_ctor_set(x_1858, 1, x_1857); -x_1859 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1859, 0, x_2); -x_1860 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1860, 0, x_1858); -lean_ctor_set(x_1860, 1, x_1859); -x_1861 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1861, 0, x_1860); -lean_ctor_set(x_1861, 1, x_1855); -x_1862 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1863 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1862, x_1861, x_3, x_4, x_5, x_6, x_1852); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1864 = lean_ctor_get(x_1863, 1); -lean_inc(x_1864); -lean_dec(x_1863); -x_1865 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1864); -return x_1865; -} -} -} -} -else -{ -lean_object* x_1890; uint8_t x_1891; -lean_free_object(x_1843); -x_1890 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1846); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1891 = !lean_is_exclusive(x_1890); -if (x_1891 == 0) -{ -lean_object* x_1892; uint8_t x_1893; lean_object* x_1894; -x_1892 = lean_ctor_get(x_1890, 0); -lean_dec(x_1892); -x_1893 = 1; -x_1894 = lean_box(x_1893); -lean_ctor_set(x_1890, 0, x_1894); -return x_1890; -} -else -{ -lean_object* x_1895; uint8_t x_1896; lean_object* x_1897; lean_object* x_1898; -x_1895 = lean_ctor_get(x_1890, 1); -lean_inc(x_1895); -lean_dec(x_1890); -x_1896 = 1; -x_1897 = lean_box(x_1896); -x_1898 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1898, 0, x_1897); -lean_ctor_set(x_1898, 1, x_1895); -return x_1898; -} -} -} -else -{ -lean_object* x_1899; uint8_t x_1900; -lean_dec(x_1847); -lean_free_object(x_1843); -x_1899 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1846); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1900 = !lean_is_exclusive(x_1899); -if (x_1900 == 0) -{ -lean_object* x_1901; uint8_t x_1902; lean_object* x_1903; -x_1901 = lean_ctor_get(x_1899, 0); -lean_dec(x_1901); -x_1902 = 1; -x_1903 = lean_box(x_1902); -lean_ctor_set(x_1899, 0, x_1903); -return x_1899; -} -else -{ -lean_object* x_1904; uint8_t x_1905; lean_object* x_1906; lean_object* x_1907; -x_1904 = lean_ctor_get(x_1899, 1); -lean_inc(x_1904); -lean_dec(x_1899); -x_1905 = 1; -x_1906 = lean_box(x_1905); -x_1907 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1907, 0, x_1906); -lean_ctor_set(x_1907, 1, x_1904); -return x_1907; -} -} -} -else -{ -lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; uint8_t x_1911; -x_1908 = lean_ctor_get(x_1843, 0); -x_1909 = lean_ctor_get(x_1843, 1); -lean_inc(x_1909); -lean_inc(x_1908); -lean_dec(x_1843); -x_1910 = lean_ctor_get(x_1908, 0); -lean_inc(x_1910); -lean_dec(x_1908); -lean_inc(x_1910); -x_1911 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1910, x_1); +uint8_t x_1911; +x_1911 = l_Lean_Level_isMVar(x_1); if (x_1911 == 0) { uint8_t x_1912; -x_1912 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1910, x_2); +x_1912 = l_Lean_Level_isMVar(x_2); if (x_1912 == 0) { -lean_object* x_1913; lean_object* x_1943; uint8_t x_1944; -x_1943 = lean_ctor_get(x_3, 0); -lean_inc(x_1943); -x_1944 = lean_ctor_get_uint8(x_1943, 4); -lean_dec(x_1943); -if (x_1944 == 0) -{ -uint8_t x_1945; lean_object* x_1946; lean_object* x_1947; +uint8_t x_1913; lean_object* x_1914; 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_1945 = 0; -x_1946 = lean_box(x_1945); -x_1947 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1947, 0, x_1946); -lean_ctor_set(x_1947, 1, x_1909); -return x_1947; +x_1913 = 0; +x_1914 = lean_box(x_1913); +lean_ctor_set(x_1870, 0, x_1914); +return x_1870; } else { -uint8_t x_1948; -x_1948 = l_Lean_Level_isMVar(x_1); -if (x_1948 == 0) -{ -uint8_t x_1949; -x_1949 = l_Lean_Level_isMVar(x_2); -if (x_1949 == 0) -{ -uint8_t x_1950; lean_object* x_1951; lean_object* x_1952; -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_1950 = 0; -x_1951 = lean_box(x_1950); -x_1952 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1952, 0, x_1951); -lean_ctor_set(x_1952, 1, x_1909); -return x_1952; -} -else -{ -lean_object* x_1953; -x_1953 = lean_box(0); -x_1913 = x_1953; -goto block_1942; +lean_object* x_1915; +lean_free_object(x_1870); +x_1915 = lean_box(0); +x_1877 = x_1915; +goto block_1906; } } else { -lean_object* x_1954; -x_1954 = lean_box(0); -x_1913 = x_1954; -goto block_1942; -} -} -block_1942: -{ -uint8_t x_1914; lean_object* x_1915; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; uint8_t x_1933; -lean_dec(x_1913); -x_1930 = lean_st_ref_get(x_6, x_1909); -x_1931 = lean_ctor_get(x_1930, 0); -lean_inc(x_1931); -x_1932 = lean_ctor_get(x_1931, 3); -lean_inc(x_1932); -lean_dec(x_1931); -x_1933 = lean_ctor_get_uint8(x_1932, sizeof(void*)*1); -lean_dec(x_1932); -if (x_1933 == 0) -{ -lean_object* x_1934; uint8_t x_1935; -x_1934 = lean_ctor_get(x_1930, 1); -lean_inc(x_1934); -lean_dec(x_1930); -x_1935 = 0; -x_1914 = x_1935; -x_1915 = x_1934; -goto block_1929; -} -else -{ -lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; uint8_t x_1941; -x_1936 = lean_ctor_get(x_1930, 1); -lean_inc(x_1936); -lean_dec(x_1930); -x_1937 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1938 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1937, x_3, x_4, x_5, x_6, x_1936); -x_1939 = lean_ctor_get(x_1938, 0); -lean_inc(x_1939); -x_1940 = lean_ctor_get(x_1938, 1); -lean_inc(x_1940); -lean_dec(x_1938); -x_1941 = lean_unbox(x_1939); -lean_dec(x_1939); -x_1914 = x_1941; -x_1915 = x_1940; -goto block_1929; -} -block_1929: -{ -if (x_1914 == 0) -{ lean_object* x_1916; +lean_free_object(x_1870); +x_1916 = lean_box(0); +x_1877 = x_1916; +goto block_1906; +} +} +block_1906: +{ +uint8_t x_1878; lean_object* x_1879; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; uint8_t x_1897; +lean_dec(x_1877); +x_1894 = lean_st_ref_get(x_6, x_1873); +x_1895 = lean_ctor_get(x_1894, 0); +lean_inc(x_1895); +x_1896 = lean_ctor_get(x_1895, 3); +lean_inc(x_1896); +lean_dec(x_1895); +x_1897 = lean_ctor_get_uint8(x_1896, sizeof(void*)*1); +lean_dec(x_1896); +if (x_1897 == 0) +{ +lean_object* x_1898; uint8_t x_1899; +x_1898 = lean_ctor_get(x_1894, 1); +lean_inc(x_1898); +lean_dec(x_1894); +x_1899 = 0; +x_1878 = x_1899; +x_1879 = x_1898; +goto block_1893; +} +else +{ +lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; uint8_t x_1905; +x_1900 = lean_ctor_get(x_1894, 1); +lean_inc(x_1900); +lean_dec(x_1894); +x_1901 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1902 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1901, x_3, x_4, x_5, x_6, x_1900); +x_1903 = lean_ctor_get(x_1902, 0); +lean_inc(x_1903); +x_1904 = lean_ctor_get(x_1902, 1); +lean_inc(x_1904); +lean_dec(x_1902); +x_1905 = lean_unbox(x_1903); +lean_dec(x_1903); +x_1878 = x_1905; +x_1879 = x_1904; +goto block_1893; +} +block_1893: +{ +if (x_1878 == 0) +{ +lean_object* x_1880; 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_1916 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1915); -return x_1916; +x_1880 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1879); +return x_1880; } else { -lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; -x_1917 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1917, 0, x_1); -x_1918 = l_Lean_KernelException_toMessageData___closed__15; -x_1919 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1919, 0, x_1918); -lean_ctor_set(x_1919, 1, x_1917); -x_1920 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1921 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1921, 0, x_1919); -lean_ctor_set(x_1921, 1, x_1920); -x_1922 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1922, 0, x_2); -x_1923 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1923, 0, x_1921); -lean_ctor_set(x_1923, 1, x_1922); -x_1924 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1924, 0, x_1923); -lean_ctor_set(x_1924, 1, x_1918); -x_1925 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1926 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1925, x_1924, x_3, x_4, x_5, x_6, x_1915); +lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; +x_1881 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1881, 0, x_1); +x_1882 = l_Lean_KernelException_toMessageData___closed__15; +x_1883 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1883, 0, x_1882); +lean_ctor_set(x_1883, 1, x_1881); +x_1884 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1885 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1885, 0, x_1883); +lean_ctor_set(x_1885, 1, x_1884); +x_1886 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1886, 0, x_2); +x_1887 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1887, 0, x_1885); +lean_ctor_set(x_1887, 1, x_1886); +x_1888 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1888, 0, x_1887); +lean_ctor_set(x_1888, 1, x_1882); +x_1889 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1890 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1889, x_1888, x_3, x_4, x_5, x_6, x_1879); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_1927 = lean_ctor_get(x_1926, 1); -lean_inc(x_1927); +x_1891 = lean_ctor_get(x_1890, 1); +lean_inc(x_1891); +lean_dec(x_1890); +x_1892 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1891); +return x_1892; +} +} +} +} +else +{ +lean_object* x_1917; uint8_t x_1918; +lean_free_object(x_1870); +x_1917 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1873); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1918 = !lean_is_exclusive(x_1917); +if (x_1918 == 0) +{ +lean_object* x_1919; uint8_t x_1920; lean_object* x_1921; +x_1919 = lean_ctor_get(x_1917, 0); +lean_dec(x_1919); +x_1920 = 1; +x_1921 = lean_box(x_1920); +lean_ctor_set(x_1917, 0, x_1921); +return x_1917; +} +else +{ +lean_object* x_1922; uint8_t x_1923; lean_object* x_1924; lean_object* x_1925; +x_1922 = lean_ctor_get(x_1917, 1); +lean_inc(x_1922); +lean_dec(x_1917); +x_1923 = 1; +x_1924 = lean_box(x_1923); +x_1925 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1925, 0, x_1924); +lean_ctor_set(x_1925, 1, x_1922); +return x_1925; +} +} +} +else +{ +lean_object* x_1926; uint8_t x_1927; +lean_dec(x_1874); +lean_free_object(x_1870); +x_1926 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1873); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1927 = !lean_is_exclusive(x_1926); +if (x_1927 == 0) +{ +lean_object* x_1928; uint8_t x_1929; lean_object* x_1930; +x_1928 = lean_ctor_get(x_1926, 0); +lean_dec(x_1928); +x_1929 = 1; +x_1930 = lean_box(x_1929); +lean_ctor_set(x_1926, 0, x_1930); +return x_1926; +} +else +{ +lean_object* x_1931; uint8_t x_1932; lean_object* x_1933; lean_object* x_1934; +x_1931 = lean_ctor_get(x_1926, 1); +lean_inc(x_1931); lean_dec(x_1926); -x_1928 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1927); -return x_1928; -} +x_1932 = 1; +x_1933 = lean_box(x_1932); +x_1934 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1934, 0, x_1933); +lean_ctor_set(x_1934, 1, x_1931); +return x_1934; } } } else { -lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; uint8_t x_1958; lean_object* x_1959; lean_object* x_1960; -x_1955 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1909); +lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; uint8_t x_1938; +x_1935 = lean_ctor_get(x_1870, 0); +x_1936 = lean_ctor_get(x_1870, 1); +lean_inc(x_1936); +lean_inc(x_1935); +lean_dec(x_1870); +x_1937 = lean_ctor_get(x_1935, 0); +lean_inc(x_1937); +lean_dec(x_1935); +lean_inc(x_1937); +x_1938 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1937, x_1); +if (x_1938 == 0) +{ +uint8_t x_1939; +x_1939 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1937, x_2); +if (x_1939 == 0) +{ +lean_object* x_1940; lean_object* x_1970; uint8_t x_1971; +x_1970 = lean_ctor_get(x_3, 0); +lean_inc(x_1970); +x_1971 = lean_ctor_get_uint8(x_1970, 4); +lean_dec(x_1970); +if (x_1971 == 0) +{ +uint8_t x_1972; lean_object* x_1973; lean_object* x_1974; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_1956 = lean_ctor_get(x_1955, 1); -lean_inc(x_1956); -if (lean_is_exclusive(x_1955)) { - lean_ctor_release(x_1955, 0); - lean_ctor_release(x_1955, 1); - x_1957 = x_1955; -} else { - lean_dec_ref(x_1955); - x_1957 = lean_box(0); -} -x_1958 = 1; -x_1959 = lean_box(x_1958); -if (lean_is_scalar(x_1957)) { - x_1960 = lean_alloc_ctor(0, 2, 0); -} else { - x_1960 = x_1957; -} -lean_ctor_set(x_1960, 0, x_1959); -lean_ctor_set(x_1960, 1, x_1956); -return x_1960; -} +lean_dec(x_2); +lean_dec(x_1); +x_1972 = 0; +x_1973 = lean_box(x_1972); +x_1974 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1974, 0, x_1973); +lean_ctor_set(x_1974, 1, x_1936); +return x_1974; } else { -lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; uint8_t x_1964; lean_object* x_1965; lean_object* x_1966; -lean_dec(x_1910); -x_1961 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1909); +uint8_t x_1975; +x_1975 = l_Lean_Level_isMVar(x_1); +if (x_1975 == 0) +{ +uint8_t x_1976; +x_1976 = l_Lean_Level_isMVar(x_2); +if (x_1976 == 0) +{ +uint8_t x_1977; lean_object* x_1978; lean_object* x_1979; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_1962 = lean_ctor_get(x_1961, 1); -lean_inc(x_1962); -if (lean_is_exclusive(x_1961)) { - lean_ctor_release(x_1961, 0); - lean_ctor_release(x_1961, 1); - x_1963 = x_1961; -} else { - lean_dec_ref(x_1961); - x_1963 = lean_box(0); -} -x_1964 = 1; -x_1965 = lean_box(x_1964); -if (lean_is_scalar(x_1963)) { - x_1966 = lean_alloc_ctor(0, 2, 0); -} else { - x_1966 = x_1963; -} -lean_ctor_set(x_1966, 0, x_1965); -lean_ctor_set(x_1966, 1, x_1962); -return x_1966; -} +lean_dec(x_2); +lean_dec(x_1); +x_1977 = 0; +x_1978 = lean_box(x_1977); +x_1979 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1979, 0, x_1978); +lean_ctor_set(x_1979, 1, x_1936); +return x_1979; } +else +{ +lean_object* x_1980; +x_1980 = lean_box(0); +x_1940 = x_1980; +goto block_1969; } } else { -lean_object* x_1967; lean_object* x_1968; uint8_t x_1969; uint8_t x_1970; -x_1967 = lean_ctor_get(x_1831, 0); -x_1968 = lean_ctor_get(x_1831, 1); -lean_inc(x_1968); +lean_object* x_1981; +x_1981 = lean_box(0); +x_1940 = x_1981; +goto block_1969; +} +} +block_1969: +{ +uint8_t x_1941; lean_object* x_1942; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; uint8_t x_1960; +lean_dec(x_1940); +x_1957 = lean_st_ref_get(x_6, x_1936); +x_1958 = lean_ctor_get(x_1957, 0); +lean_inc(x_1958); +x_1959 = lean_ctor_get(x_1958, 3); +lean_inc(x_1959); +lean_dec(x_1958); +x_1960 = lean_ctor_get_uint8(x_1959, sizeof(void*)*1); +lean_dec(x_1959); +if (x_1960 == 0) +{ +lean_object* x_1961; uint8_t x_1962; +x_1961 = lean_ctor_get(x_1957, 1); +lean_inc(x_1961); +lean_dec(x_1957); +x_1962 = 0; +x_1941 = x_1962; +x_1942 = x_1961; +goto block_1956; +} +else +{ +lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; uint8_t x_1968; +x_1963 = lean_ctor_get(x_1957, 1); +lean_inc(x_1963); +lean_dec(x_1957); +x_1964 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1965 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_1964, x_3, x_4, x_5, x_6, x_1963); +x_1966 = lean_ctor_get(x_1965, 0); +lean_inc(x_1966); +x_1967 = lean_ctor_get(x_1965, 1); lean_inc(x_1967); -lean_dec(x_1831); -x_1969 = lean_unbox(x_1967); -x_1970 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1969, x_1824); -if (x_1970 == 0) +lean_dec(x_1965); +x_1968 = lean_unbox(x_1966); +lean_dec(x_1966); +x_1941 = x_1968; +x_1942 = x_1967; +goto block_1956; +} +block_1956: { -uint8_t x_1971; uint8_t x_1972; uint8_t x_1973; lean_object* x_1974; lean_object* x_1975; +if (x_1941 == 0) +{ +lean_object* x_1943; 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_1971 = 1; -x_1972 = lean_unbox(x_1967); -lean_dec(x_1967); -x_1973 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1972, x_1971); -x_1974 = lean_box(x_1973); -x_1975 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1975, 0, x_1974); -lean_ctor_set(x_1975, 1, x_1968); -return x_1975; +x_1943 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1942); +return x_1943; } else { -lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; uint8_t x_1983; -lean_dec(x_1967); -x_1976 = lean_st_ref_get(x_6, x_1968); -x_1977 = lean_ctor_get(x_1976, 1); -lean_inc(x_1977); -lean_dec(x_1976); -x_1978 = lean_st_ref_get(x_4, x_1977); -x_1979 = lean_ctor_get(x_1978, 0); -lean_inc(x_1979); -x_1980 = lean_ctor_get(x_1978, 1); -lean_inc(x_1980); -if (lean_is_exclusive(x_1978)) { - lean_ctor_release(x_1978, 0); - lean_ctor_release(x_1978, 1); - x_1981 = x_1978; -} else { - lean_dec_ref(x_1978); - x_1981 = lean_box(0); +lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; +x_1944 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1944, 0, x_1); +x_1945 = l_Lean_KernelException_toMessageData___closed__15; +x_1946 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1946, 0, x_1945); +lean_ctor_set(x_1946, 1, x_1944); +x_1947 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_1948 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1948, 0, x_1946); +lean_ctor_set(x_1948, 1, x_1947); +x_1949 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_1949, 0, x_2); +x_1950 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1950, 0, x_1948); +lean_ctor_set(x_1950, 1, x_1949); +x_1951 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1951, 0, x_1950); +lean_ctor_set(x_1951, 1, x_1945); +x_1952 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_1953 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1952, x_1951, x_3, x_4, x_5, x_6, x_1942); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1954 = lean_ctor_get(x_1953, 1); +lean_inc(x_1954); +lean_dec(x_1953); +x_1955 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1954); +return x_1955; } -x_1982 = lean_ctor_get(x_1979, 0); -lean_inc(x_1982); -lean_dec(x_1979); -lean_inc(x_1982); -x_1983 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1982, x_1); -if (x_1983 == 0) +} +} +} +else { -uint8_t x_1984; -x_1984 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1982, x_2); -if (x_1984 == 0) +lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; uint8_t x_1985; lean_object* x_1986; lean_object* x_1987; +x_1982 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1936); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1983 = lean_ctor_get(x_1982, 1); +lean_inc(x_1983); +if (lean_is_exclusive(x_1982)) { + lean_ctor_release(x_1982, 0); + lean_ctor_release(x_1982, 1); + x_1984 = x_1982; +} else { + lean_dec_ref(x_1982); + x_1984 = lean_box(0); +} +x_1985 = 1; +x_1986 = lean_box(x_1985); +if (lean_is_scalar(x_1984)) { + x_1987 = lean_alloc_ctor(0, 2, 0); +} else { + x_1987 = x_1984; +} +lean_ctor_set(x_1987, 0, x_1986); +lean_ctor_set(x_1987, 1, x_1983); +return x_1987; +} +} +else { -lean_object* x_1985; lean_object* x_2015; uint8_t x_2016; -x_2015 = lean_ctor_get(x_3, 0); -lean_inc(x_2015); -x_2016 = lean_ctor_get_uint8(x_2015, 4); -lean_dec(x_2015); -if (x_2016 == 0) +lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; uint8_t x_1991; lean_object* x_1992; lean_object* x_1993; +lean_dec(x_1937); +x_1988 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1936); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1989 = lean_ctor_get(x_1988, 1); +lean_inc(x_1989); +if (lean_is_exclusive(x_1988)) { + lean_ctor_release(x_1988, 0); + lean_ctor_release(x_1988, 1); + x_1990 = x_1988; +} else { + lean_dec_ref(x_1988); + x_1990 = lean_box(0); +} +x_1991 = 1; +x_1992 = lean_box(x_1991); +if (lean_is_scalar(x_1990)) { + x_1993 = lean_alloc_ctor(0, 2, 0); +} else { + x_1993 = x_1990; +} +lean_ctor_set(x_1993, 0, x_1992); +lean_ctor_set(x_1993, 1, x_1989); +return x_1993; +} +} +} +} +else { -uint8_t x_2017; lean_object* x_2018; lean_object* x_2019; +lean_object* x_1994; lean_object* x_1995; uint8_t x_1996; uint8_t x_1997; +x_1994 = lean_ctor_get(x_1858, 0); +x_1995 = lean_ctor_get(x_1858, 1); +lean_inc(x_1995); +lean_inc(x_1994); +lean_dec(x_1858); +x_1996 = lean_unbox(x_1994); +x_1997 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1996, x_1851); +if (x_1997 == 0) +{ +uint8_t x_1998; uint8_t x_1999; uint8_t x_2000; lean_object* x_2001; lean_object* x_2002; 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_2017 = 0; -x_2018 = lean_box(x_2017); -if (lean_is_scalar(x_1981)) { - x_2019 = lean_alloc_ctor(0, 2, 0); -} else { - x_2019 = x_1981; -} -lean_ctor_set(x_2019, 0, x_2018); -lean_ctor_set(x_2019, 1, x_1980); -return x_2019; +x_1998 = 1; +x_1999 = lean_unbox(x_1994); +lean_dec(x_1994); +x_2000 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_1999, x_1998); +x_2001 = lean_box(x_2000); +x_2002 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2002, 0, x_2001); +lean_ctor_set(x_2002, 1, x_1995); +return x_2002; } else { -uint8_t x_2020; -x_2020 = l_Lean_Level_isMVar(x_1); -if (x_2020 == 0) -{ -uint8_t x_2021; -x_2021 = l_Lean_Level_isMVar(x_2); -if (x_2021 == 0) -{ -uint8_t x_2022; lean_object* x_2023; lean_object* x_2024; -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_2022 = 0; -x_2023 = lean_box(x_2022); -if (lean_is_scalar(x_1981)) { - x_2024 = lean_alloc_ctor(0, 2, 0); -} else { - x_2024 = x_1981; -} -lean_ctor_set(x_2024, 0, x_2023); -lean_ctor_set(x_2024, 1, x_1980); -return x_2024; -} -else -{ -lean_object* x_2025; -lean_dec(x_1981); -x_2025 = lean_box(0); -x_1985 = x_2025; -goto block_2014; -} -} -else -{ -lean_object* x_2026; -lean_dec(x_1981); -x_2026 = lean_box(0); -x_1985 = x_2026; -goto block_2014; -} -} -block_2014: -{ -uint8_t x_1986; lean_object* x_1987; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; uint8_t x_2005; -lean_dec(x_1985); -x_2002 = lean_st_ref_get(x_6, x_1980); -x_2003 = lean_ctor_get(x_2002, 0); -lean_inc(x_2003); -x_2004 = lean_ctor_get(x_2003, 3); +lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; uint8_t x_2010; +lean_dec(x_1994); +x_2003 = lean_st_ref_get(x_6, x_1995); +x_2004 = lean_ctor_get(x_2003, 1); lean_inc(x_2004); lean_dec(x_2003); -x_2005 = lean_ctor_get_uint8(x_2004, sizeof(void*)*1); -lean_dec(x_2004); -if (x_2005 == 0) -{ -lean_object* x_2006; uint8_t x_2007; -x_2006 = lean_ctor_get(x_2002, 1); +x_2005 = lean_st_ref_get(x_4, x_2004); +x_2006 = lean_ctor_get(x_2005, 0); lean_inc(x_2006); -lean_dec(x_2002); -x_2007 = 0; -x_1986 = x_2007; -x_1987 = x_2006; -goto block_2001; +x_2007 = lean_ctor_get(x_2005, 1); +lean_inc(x_2007); +if (lean_is_exclusive(x_2005)) { + lean_ctor_release(x_2005, 0); + lean_ctor_release(x_2005, 1); + x_2008 = x_2005; +} else { + lean_dec_ref(x_2005); + x_2008 = lean_box(0); } -else +x_2009 = lean_ctor_get(x_2006, 0); +lean_inc(x_2009); +lean_dec(x_2006); +lean_inc(x_2009); +x_2010 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2009, x_1); +if (x_2010 == 0) { -lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; uint8_t x_2013; -x_2008 = lean_ctor_get(x_2002, 1); -lean_inc(x_2008); -lean_dec(x_2002); -x_2009 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2010 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2009, x_3, x_4, x_5, x_6, x_2008); -x_2011 = lean_ctor_get(x_2010, 0); -lean_inc(x_2011); -x_2012 = lean_ctor_get(x_2010, 1); -lean_inc(x_2012); -lean_dec(x_2010); -x_2013 = lean_unbox(x_2011); -lean_dec(x_2011); -x_1986 = x_2013; -x_1987 = x_2012; -goto block_2001; -} -block_2001: +uint8_t x_2011; +x_2011 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2009, x_2); +if (x_2011 == 0) { -if (x_1986 == 0) +lean_object* x_2012; lean_object* x_2042; uint8_t x_2043; +x_2042 = lean_ctor_get(x_3, 0); +lean_inc(x_2042); +x_2043 = lean_ctor_get_uint8(x_2042, 4); +lean_dec(x_2042); +if (x_2043 == 0) { -lean_object* x_1988; +uint8_t x_2044; lean_object* x_2045; lean_object* x_2046; 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_1988 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1987); -return x_1988; -} -else -{ -lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; -x_1989 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1989, 0, x_1); -x_1990 = l_Lean_KernelException_toMessageData___closed__15; -x_1991 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1991, 0, x_1990); -lean_ctor_set(x_1991, 1, x_1989); -x_1992 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_1993 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1993, 0, x_1991); -lean_ctor_set(x_1993, 1, x_1992); -x_1994 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_1994, 0, x_2); -x_1995 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1995, 0, x_1993); -lean_ctor_set(x_1995, 1, x_1994); -x_1996 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1996, 0, x_1995); -lean_ctor_set(x_1996, 1, x_1990); -x_1997 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_1998 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_1997, x_1996, x_3, x_4, x_5, x_6, x_1987); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1999 = lean_ctor_get(x_1998, 1); -lean_inc(x_1999); -lean_dec(x_1998); -x_2000 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_1999); -return x_2000; -} -} -} -} -else -{ -lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; uint8_t x_2030; lean_object* x_2031; lean_object* x_2032; -lean_dec(x_1981); -x_2027 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1980); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2028 = lean_ctor_get(x_2027, 1); -lean_inc(x_2028); -if (lean_is_exclusive(x_2027)) { - lean_ctor_release(x_2027, 0); - lean_ctor_release(x_2027, 1); - x_2029 = x_2027; +x_2044 = 0; +x_2045 = lean_box(x_2044); +if (lean_is_scalar(x_2008)) { + x_2046 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_2027); - x_2029 = lean_box(0); -} -x_2030 = 1; -x_2031 = lean_box(x_2030); -if (lean_is_scalar(x_2029)) { - x_2032 = lean_alloc_ctor(0, 2, 0); -} else { - x_2032 = x_2029; -} -lean_ctor_set(x_2032, 0, x_2031); -lean_ctor_set(x_2032, 1, x_2028); -return x_2032; + x_2046 = x_2008; } +lean_ctor_set(x_2046, 0, x_2045); +lean_ctor_set(x_2046, 1, x_2007); +return x_2046; } else { -lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; uint8_t x_2036; lean_object* x_2037; lean_object* x_2038; -lean_dec(x_1982); -lean_dec(x_1981); -x_2033 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_1980); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2034 = lean_ctor_get(x_2033, 1); -lean_inc(x_2034); -if (lean_is_exclusive(x_2033)) { - lean_ctor_release(x_2033, 0); - lean_ctor_release(x_2033, 1); - x_2035 = x_2033; -} else { - lean_dec_ref(x_2033); - x_2035 = lean_box(0); -} -x_2036 = 1; -x_2037 = lean_box(x_2036); -if (lean_is_scalar(x_2035)) { - x_2038 = lean_alloc_ctor(0, 2, 0); -} else { - x_2038 = x_2035; -} -lean_ctor_set(x_2038, 0, x_2037); -lean_ctor_set(x_2038, 1, x_2034); -return x_2038; -} -} -} -} -else -{ -uint8_t x_2039; -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_2039 = !lean_is_exclusive(x_1831); -if (x_2039 == 0) -{ -return x_1831; -} -else -{ -lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; -x_2040 = lean_ctor_get(x_1831, 0); -x_2041 = lean_ctor_get(x_1831, 1); -lean_inc(x_2041); -lean_inc(x_2040); -lean_dec(x_1831); -x_2042 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2042, 0, x_2040); -lean_ctor_set(x_2042, 1, x_2041); -return x_2042; -} -} -} -} -else -{ -lean_object* x_2043; lean_object* x_2044; uint8_t x_2045; uint8_t x_2046; uint8_t x_2047; -x_2043 = lean_ctor_get(x_1820, 0); -x_2044 = lean_ctor_get(x_1820, 1); -lean_inc(x_2044); -lean_inc(x_2043); -lean_dec(x_1820); -x_2045 = 2; -x_2046 = lean_unbox(x_2043); -x_2047 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2046, x_2045); +uint8_t x_2047; +x_2047 = l_Lean_Level_isMVar(x_1); if (x_2047 == 0) { -uint8_t x_2048; uint8_t x_2049; uint8_t x_2050; lean_object* x_2051; lean_object* x_2052; +uint8_t x_2048; +x_2048 = l_Lean_Level_isMVar(x_2); +if (x_2048 == 0) +{ +uint8_t x_2049; lean_object* x_2050; lean_object* x_2051; 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_2048 = 1; -x_2049 = lean_unbox(x_2043); -lean_dec(x_2043); -x_2050 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2049, x_2048); -x_2051 = lean_box(x_2050); -x_2052 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2052, 0, x_2051); -lean_ctor_set(x_2052, 1, x_2044); -return x_2052; +x_2049 = 0; +x_2050 = lean_box(x_2049); +if (lean_is_scalar(x_2008)) { + x_2051 = lean_alloc_ctor(0, 2, 0); +} else { + x_2051 = x_2008; +} +lean_ctor_set(x_2051, 0, x_2050); +lean_ctor_set(x_2051, 1, x_2007); +return x_2051; +} +else +{ +lean_object* x_2052; +lean_dec(x_2008); +x_2052 = lean_box(0); +x_2012 = x_2052; +goto block_2041; +} } else { lean_object* x_2053; -lean_dec(x_2043); +lean_dec(x_2008); +x_2053 = lean_box(0); +x_2012 = x_2053; +goto block_2041; +} +} +block_2041: +{ +uint8_t x_2013; lean_object* x_2014; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; uint8_t x_2032; +lean_dec(x_2012); +x_2029 = lean_st_ref_get(x_6, x_2007); +x_2030 = lean_ctor_get(x_2029, 0); +lean_inc(x_2030); +x_2031 = lean_ctor_get(x_2030, 3); +lean_inc(x_2031); +lean_dec(x_2030); +x_2032 = lean_ctor_get_uint8(x_2031, sizeof(void*)*1); +lean_dec(x_2031); +if (x_2032 == 0) +{ +lean_object* x_2033; uint8_t x_2034; +x_2033 = lean_ctor_get(x_2029, 1); +lean_inc(x_2033); +lean_dec(x_2029); +x_2034 = 0; +x_2013 = x_2034; +x_2014 = x_2033; +goto block_2028; +} +else +{ +lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; uint8_t x_2040; +x_2035 = lean_ctor_get(x_2029, 1); +lean_inc(x_2035); +lean_dec(x_2029); +x_2036 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2037 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2036, x_3, x_4, x_5, x_6, x_2035); +x_2038 = lean_ctor_get(x_2037, 0); +lean_inc(x_2038); +x_2039 = lean_ctor_get(x_2037, 1); +lean_inc(x_2039); +lean_dec(x_2037); +x_2040 = lean_unbox(x_2038); +lean_dec(x_2038); +x_2013 = x_2040; +x_2014 = x_2039; +goto block_2028; +} +block_2028: +{ +if (x_2013 == 0) +{ +lean_object* x_2015; +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_2015 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2014); +return x_2015; +} +else +{ +lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; +x_2016 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2016, 0, x_1); +x_2017 = l_Lean_KernelException_toMessageData___closed__15; +x_2018 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2018, 0, x_2017); +lean_ctor_set(x_2018, 1, x_2016); +x_2019 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2020 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2020, 0, x_2018); +lean_ctor_set(x_2020, 1, x_2019); +x_2021 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2021, 0, x_2); +x_2022 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2022, 0, x_2020); +lean_ctor_set(x_2022, 1, x_2021); +x_2023 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2023, 0, x_2022); +lean_ctor_set(x_2023, 1, x_2017); +x_2024 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2025 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2024, x_2023, x_3, x_4, x_5, x_6, x_2014); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2026 = lean_ctor_get(x_2025, 1); +lean_inc(x_2026); +lean_dec(x_2025); +x_2027 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2026); +return x_2027; +} +} +} +} +else +{ +lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; uint8_t x_2057; lean_object* x_2058; lean_object* x_2059; +lean_dec(x_2008); +x_2054 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2007); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2055 = lean_ctor_get(x_2054, 1); +lean_inc(x_2055); +if (lean_is_exclusive(x_2054)) { + lean_ctor_release(x_2054, 0); + lean_ctor_release(x_2054, 1); + x_2056 = x_2054; +} else { + lean_dec_ref(x_2054); + x_2056 = lean_box(0); +} +x_2057 = 1; +x_2058 = lean_box(x_2057); +if (lean_is_scalar(x_2056)) { + x_2059 = lean_alloc_ctor(0, 2, 0); +} else { + x_2059 = x_2056; +} +lean_ctor_set(x_2059, 0, x_2058); +lean_ctor_set(x_2059, 1, x_2055); +return x_2059; +} +} +else +{ +lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; uint8_t x_2063; lean_object* x_2064; lean_object* x_2065; +lean_dec(x_2009); +lean_dec(x_2008); +x_2060 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2007); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2061 = lean_ctor_get(x_2060, 1); +lean_inc(x_2061); +if (lean_is_exclusive(x_2060)) { + lean_ctor_release(x_2060, 0); + lean_ctor_release(x_2060, 1); + x_2062 = x_2060; +} else { + lean_dec_ref(x_2060); + x_2062 = lean_box(0); +} +x_2063 = 1; +x_2064 = lean_box(x_2063); +if (lean_is_scalar(x_2062)) { + x_2065 = lean_alloc_ctor(0, 2, 0); +} else { + x_2065 = x_2062; +} +lean_ctor_set(x_2065, 0, x_2064); +lean_ctor_set(x_2065, 1, x_2061); +return x_2065; +} +} +} +} +else +{ +uint8_t x_2066; +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_2066 = !lean_is_exclusive(x_1858); +if (x_2066 == 0) +{ +return x_1858; +} +else +{ +lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; +x_2067 = lean_ctor_get(x_1858, 0); +x_2068 = lean_ctor_get(x_1858, 1); +lean_inc(x_2068); +lean_inc(x_2067); +lean_dec(x_1858); +x_2069 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2069, 0, x_2067); +lean_ctor_set(x_2069, 1, x_2068); +return x_2069; +} +} +} +} +else +{ +lean_object* x_2070; lean_object* x_2071; uint8_t x_2072; uint8_t x_2073; uint8_t x_2074; +x_2070 = lean_ctor_get(x_1847, 0); +x_2071 = lean_ctor_get(x_1847, 1); +lean_inc(x_2071); +lean_inc(x_2070); +lean_dec(x_1847); +x_2072 = 2; +x_2073 = lean_unbox(x_2070); +x_2074 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2073, x_2072); +if (x_2074 == 0) +{ +uint8_t x_2075; uint8_t x_2076; uint8_t x_2077; lean_object* x_2078; lean_object* x_2079; +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_2075 = 1; +x_2076 = lean_unbox(x_2070); +lean_dec(x_2070); +x_2077 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2076, x_2075); +x_2078 = lean_box(x_2077); +x_2079 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2079, 0, x_2078); +lean_ctor_set(x_2079, 1, x_2071); +return x_2079; +} +else +{ +lean_object* x_2080; +lean_dec(x_2070); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_2053 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2044); -if (lean_obj_tag(x_2053) == 0) +x_2080 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2071); +if (lean_obj_tag(x_2080) == 0) { -lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; uint8_t x_2057; uint8_t x_2058; -x_2054 = lean_ctor_get(x_2053, 0); -lean_inc(x_2054); -x_2055 = lean_ctor_get(x_2053, 1); -lean_inc(x_2055); -if (lean_is_exclusive(x_2053)) { - lean_ctor_release(x_2053, 0); - lean_ctor_release(x_2053, 1); - x_2056 = x_2053; +lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; uint8_t x_2084; uint8_t x_2085; +x_2081 = lean_ctor_get(x_2080, 0); +lean_inc(x_2081); +x_2082 = lean_ctor_get(x_2080, 1); +lean_inc(x_2082); +if (lean_is_exclusive(x_2080)) { + lean_ctor_release(x_2080, 0); + lean_ctor_release(x_2080, 1); + x_2083 = x_2080; } else { - lean_dec_ref(x_2053); - x_2056 = lean_box(0); + lean_dec_ref(x_2080); + x_2083 = lean_box(0); } -x_2057 = lean_unbox(x_2054); -x_2058 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2057, x_2045); -if (x_2058 == 0) +x_2084 = lean_unbox(x_2081); +x_2085 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2084, x_2072); +if (x_2085 == 0) { -uint8_t x_2059; uint8_t x_2060; uint8_t x_2061; lean_object* x_2062; lean_object* x_2063; +uint8_t x_2086; uint8_t x_2087; uint8_t x_2088; lean_object* x_2089; lean_object* x_2090; 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_2059 = 1; -x_2060 = lean_unbox(x_2054); -lean_dec(x_2054); -x_2061 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2060, x_2059); -x_2062 = lean_box(x_2061); -if (lean_is_scalar(x_2056)) { - x_2063 = lean_alloc_ctor(0, 2, 0); +x_2086 = 1; +x_2087 = lean_unbox(x_2081); +lean_dec(x_2081); +x_2088 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2087, x_2086); +x_2089 = lean_box(x_2088); +if (lean_is_scalar(x_2083)) { + x_2090 = lean_alloc_ctor(0, 2, 0); } else { - x_2063 = x_2056; + x_2090 = x_2083; } -lean_ctor_set(x_2063, 0, x_2062); -lean_ctor_set(x_2063, 1, x_2055); -return x_2063; +lean_ctor_set(x_2090, 0, x_2089); +lean_ctor_set(x_2090, 1, x_2082); +return x_2090; } else { -lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; uint8_t x_2071; -lean_dec(x_2056); -lean_dec(x_2054); -x_2064 = lean_st_ref_get(x_6, x_2055); -x_2065 = lean_ctor_get(x_2064, 1); -lean_inc(x_2065); -lean_dec(x_2064); -x_2066 = lean_st_ref_get(x_4, x_2065); -x_2067 = lean_ctor_get(x_2066, 0); -lean_inc(x_2067); -x_2068 = lean_ctor_get(x_2066, 1); -lean_inc(x_2068); -if (lean_is_exclusive(x_2066)) { - lean_ctor_release(x_2066, 0); - lean_ctor_release(x_2066, 1); - x_2069 = x_2066; -} else { - lean_dec_ref(x_2066); - x_2069 = lean_box(0); -} -x_2070 = lean_ctor_get(x_2067, 0); -lean_inc(x_2070); -lean_dec(x_2067); -lean_inc(x_2070); -x_2071 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2070, x_1); -if (x_2071 == 0) -{ -uint8_t x_2072; -x_2072 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2070, x_2); -if (x_2072 == 0) -{ -lean_object* x_2073; lean_object* x_2103; uint8_t x_2104; -x_2103 = lean_ctor_get(x_3, 0); -lean_inc(x_2103); -x_2104 = lean_ctor_get_uint8(x_2103, 4); -lean_dec(x_2103); -if (x_2104 == 0) -{ -uint8_t x_2105; lean_object* x_2106; lean_object* x_2107; -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_2105 = 0; -x_2106 = lean_box(x_2105); -if (lean_is_scalar(x_2069)) { - x_2107 = lean_alloc_ctor(0, 2, 0); -} else { - x_2107 = x_2069; -} -lean_ctor_set(x_2107, 0, x_2106); -lean_ctor_set(x_2107, 1, x_2068); -return x_2107; -} -else -{ -uint8_t x_2108; -x_2108 = l_Lean_Level_isMVar(x_1); -if (x_2108 == 0) -{ -uint8_t x_2109; -x_2109 = l_Lean_Level_isMVar(x_2); -if (x_2109 == 0) -{ -uint8_t x_2110; lean_object* x_2111; lean_object* x_2112; -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_2110 = 0; -x_2111 = lean_box(x_2110); -if (lean_is_scalar(x_2069)) { - x_2112 = lean_alloc_ctor(0, 2, 0); -} else { - x_2112 = x_2069; -} -lean_ctor_set(x_2112, 0, x_2111); -lean_ctor_set(x_2112, 1, x_2068); -return x_2112; -} -else -{ -lean_object* x_2113; -lean_dec(x_2069); -x_2113 = lean_box(0); -x_2073 = x_2113; -goto block_2102; -} -} -else -{ -lean_object* x_2114; -lean_dec(x_2069); -x_2114 = lean_box(0); -x_2073 = x_2114; -goto block_2102; -} -} -block_2102: -{ -uint8_t x_2074; lean_object* x_2075; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; uint8_t x_2093; -lean_dec(x_2073); -x_2090 = lean_st_ref_get(x_6, x_2068); -x_2091 = lean_ctor_get(x_2090, 0); -lean_inc(x_2091); -x_2092 = lean_ctor_get(x_2091, 3); +lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; uint8_t x_2098; +lean_dec(x_2083); +lean_dec(x_2081); +x_2091 = lean_st_ref_get(x_6, x_2082); +x_2092 = lean_ctor_get(x_2091, 1); lean_inc(x_2092); lean_dec(x_2091); -x_2093 = lean_ctor_get_uint8(x_2092, sizeof(void*)*1); -lean_dec(x_2092); -if (x_2093 == 0) -{ -lean_object* x_2094; uint8_t x_2095; -x_2094 = lean_ctor_get(x_2090, 1); +x_2093 = lean_st_ref_get(x_4, x_2092); +x_2094 = lean_ctor_get(x_2093, 0); lean_inc(x_2094); -lean_dec(x_2090); -x_2095 = 0; -x_2074 = x_2095; -x_2075 = x_2094; -goto block_2089; -} -else -{ -lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; uint8_t x_2101; -x_2096 = lean_ctor_get(x_2090, 1); -lean_inc(x_2096); -lean_dec(x_2090); -x_2097 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2098 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2097, x_3, x_4, x_5, x_6, x_2096); -x_2099 = lean_ctor_get(x_2098, 0); -lean_inc(x_2099); -x_2100 = lean_ctor_get(x_2098, 1); -lean_inc(x_2100); -lean_dec(x_2098); -x_2101 = lean_unbox(x_2099); -lean_dec(x_2099); -x_2074 = x_2101; -x_2075 = x_2100; -goto block_2089; -} -block_2089: -{ -if (x_2074 == 0) -{ -lean_object* x_2076; -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_2076 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2075); -return x_2076; -} -else -{ -lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; -x_2077 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2077, 0, x_1); -x_2078 = l_Lean_KernelException_toMessageData___closed__15; -x_2079 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2079, 0, x_2078); -lean_ctor_set(x_2079, 1, x_2077); -x_2080 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2081 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2081, 0, x_2079); -lean_ctor_set(x_2081, 1, x_2080); -x_2082 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2082, 0, x_2); -x_2083 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2083, 0, x_2081); -lean_ctor_set(x_2083, 1, x_2082); -x_2084 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2084, 0, x_2083); -lean_ctor_set(x_2084, 1, x_2078); -x_2085 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2086 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2085, x_2084, x_3, x_4, x_5, x_6, x_2075); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2087 = lean_ctor_get(x_2086, 1); -lean_inc(x_2087); -lean_dec(x_2086); -x_2088 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2087); -return x_2088; -} -} -} -} -else -{ -lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; uint8_t x_2118; lean_object* x_2119; lean_object* x_2120; -lean_dec(x_2069); -x_2115 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2068); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2116 = lean_ctor_get(x_2115, 1); -lean_inc(x_2116); -if (lean_is_exclusive(x_2115)) { - lean_ctor_release(x_2115, 0); - lean_ctor_release(x_2115, 1); - x_2117 = x_2115; +x_2095 = lean_ctor_get(x_2093, 1); +lean_inc(x_2095); +if (lean_is_exclusive(x_2093)) { + lean_ctor_release(x_2093, 0); + lean_ctor_release(x_2093, 1); + x_2096 = x_2093; } else { - lean_dec_ref(x_2115); - x_2117 = lean_box(0); + lean_dec_ref(x_2093); + x_2096 = lean_box(0); } -x_2118 = 1; -x_2119 = lean_box(x_2118); -if (lean_is_scalar(x_2117)) { - x_2120 = lean_alloc_ctor(0, 2, 0); -} else { - x_2120 = x_2117; -} -lean_ctor_set(x_2120, 0, x_2119); -lean_ctor_set(x_2120, 1, x_2116); -return x_2120; -} -} -else +x_2097 = lean_ctor_get(x_2094, 0); +lean_inc(x_2097); +lean_dec(x_2094); +lean_inc(x_2097); +x_2098 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2097, x_1); +if (x_2098 == 0) { -lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; uint8_t x_2124; lean_object* x_2125; lean_object* x_2126; -lean_dec(x_2070); -lean_dec(x_2069); -x_2121 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2068); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2122 = lean_ctor_get(x_2121, 1); -lean_inc(x_2122); -if (lean_is_exclusive(x_2121)) { - lean_ctor_release(x_2121, 0); - lean_ctor_release(x_2121, 1); - x_2123 = x_2121; -} else { - lean_dec_ref(x_2121); - x_2123 = lean_box(0); -} -x_2124 = 1; -x_2125 = lean_box(x_2124); -if (lean_is_scalar(x_2123)) { - x_2126 = lean_alloc_ctor(0, 2, 0); -} else { - x_2126 = x_2123; -} -lean_ctor_set(x_2126, 0, x_2125); -lean_ctor_set(x_2126, 1, x_2122); -return x_2126; -} -} -} -else +uint8_t x_2099; +x_2099 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2097, x_2); +if (x_2099 == 0) { -lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; -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_2127 = lean_ctor_get(x_2053, 0); -lean_inc(x_2127); -x_2128 = lean_ctor_get(x_2053, 1); -lean_inc(x_2128); -if (lean_is_exclusive(x_2053)) { - lean_ctor_release(x_2053, 0); - lean_ctor_release(x_2053, 1); - x_2129 = x_2053; -} else { - lean_dec_ref(x_2053); - x_2129 = lean_box(0); -} -if (lean_is_scalar(x_2129)) { - x_2130 = lean_alloc_ctor(1, 2, 0); -} else { - x_2130 = x_2129; -} -lean_ctor_set(x_2130, 0, x_2127); -lean_ctor_set(x_2130, 1, x_2128); -return x_2130; -} -} -} -} -else -{ -uint8_t x_2131; -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_2131 = !lean_is_exclusive(x_1820); +lean_object* x_2100; lean_object* x_2130; uint8_t x_2131; +x_2130 = lean_ctor_get(x_3, 0); +lean_inc(x_2130); +x_2131 = lean_ctor_get_uint8(x_2130, 4); +lean_dec(x_2130); if (x_2131 == 0) { -return x_1820; -} -else -{ -lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; -x_2132 = lean_ctor_get(x_1820, 0); -x_2133 = lean_ctor_get(x_1820, 1); -lean_inc(x_2133); -lean_inc(x_2132); -lean_dec(x_1820); -x_2134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2134, 0, x_2132); -lean_ctor_set(x_2134, 1, x_2133); -return x_2134; -} -} -} -} -} -block_2149: -{ -if (x_2136 == 0) -{ -x_1807 = x_2137; -goto block_2135; -} -else -{ -lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; -lean_inc(x_1); -x_2138 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2138, 0, x_1); -x_2139 = l_Lean_KernelException_toMessageData___closed__15; -x_2140 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2140, 0, x_2139); -lean_ctor_set(x_2140, 1, x_2138); -x_2141 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2142 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2142, 0, x_2140); -lean_ctor_set(x_2142, 1, x_2141); -lean_inc(x_2); -x_2143 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2143, 0, x_2); -x_2144 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2144, 0, x_2142); -lean_ctor_set(x_2144, 1, x_2143); -x_2145 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2145, 0, x_2144); -lean_ctor_set(x_2145, 1, x_2139); -x_2146 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_2147 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2146, x_2145, x_3, x_4, x_5, x_6, x_2137); -x_2148 = lean_ctor_get(x_2147, 1); -lean_inc(x_2148); -lean_dec(x_2147); -x_1807 = x_2148; -goto block_2135; -} -} -} -else -{ -uint8_t x_2162; lean_object* x_2163; lean_object* x_2164; +uint8_t x_2132; lean_object* x_2133; lean_object* x_2134; 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_2162 = 1; -x_2163 = lean_box(x_2162); -x_2164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2164, 0, x_2163); -lean_ctor_set(x_2164, 1, x_7); -return x_2164; +x_2132 = 0; +x_2133 = lean_box(x_2132); +if (lean_is_scalar(x_2096)) { + x_2134 = lean_alloc_ctor(0, 2, 0); +} else { + x_2134 = x_2096; +} +lean_ctor_set(x_2134, 0, x_2133); +lean_ctor_set(x_2134, 1, x_2095); +return x_2134; +} +else +{ +uint8_t x_2135; +x_2135 = l_Lean_Level_isMVar(x_1); +if (x_2135 == 0) +{ +uint8_t x_2136; +x_2136 = l_Lean_Level_isMVar(x_2); +if (x_2136 == 0) +{ +uint8_t x_2137; lean_object* x_2138; lean_object* x_2139; +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_2137 = 0; +x_2138 = lean_box(x_2137); +if (lean_is_scalar(x_2096)) { + x_2139 = lean_alloc_ctor(0, 2, 0); +} else { + x_2139 = x_2096; +} +lean_ctor_set(x_2139, 0, x_2138); +lean_ctor_set(x_2139, 1, x_2095); +return x_2139; +} +else +{ +lean_object* x_2140; +lean_dec(x_2096); +x_2140 = lean_box(0); +x_2100 = x_2140; +goto block_2129; +} +} +else +{ +lean_object* x_2141; +lean_dec(x_2096); +x_2141 = lean_box(0); +x_2100 = x_2141; +goto block_2129; +} +} +block_2129: +{ +uint8_t x_2101; lean_object* x_2102; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; uint8_t x_2120; +lean_dec(x_2100); +x_2117 = lean_st_ref_get(x_6, x_2095); +x_2118 = lean_ctor_get(x_2117, 0); +lean_inc(x_2118); +x_2119 = lean_ctor_get(x_2118, 3); +lean_inc(x_2119); +lean_dec(x_2118); +x_2120 = lean_ctor_get_uint8(x_2119, sizeof(void*)*1); +lean_dec(x_2119); +if (x_2120 == 0) +{ +lean_object* x_2121; uint8_t x_2122; +x_2121 = lean_ctor_get(x_2117, 1); +lean_inc(x_2121); +lean_dec(x_2117); +x_2122 = 0; +x_2101 = x_2122; +x_2102 = x_2121; +goto block_2116; +} +else +{ +lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; uint8_t x_2128; +x_2123 = lean_ctor_get(x_2117, 1); +lean_inc(x_2123); +lean_dec(x_2117); +x_2124 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2125 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2124, x_3, x_4, x_5, x_6, x_2123); +x_2126 = lean_ctor_get(x_2125, 0); +lean_inc(x_2126); +x_2127 = lean_ctor_get(x_2125, 1); +lean_inc(x_2127); +lean_dec(x_2125); +x_2128 = lean_unbox(x_2126); +lean_dec(x_2126); +x_2101 = x_2128; +x_2102 = x_2127; +goto block_2116; +} +block_2116: +{ +if (x_2101 == 0) +{ +lean_object* x_2103; +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_2103 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2102); +return x_2103; +} +else +{ +lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; +x_2104 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2104, 0, x_1); +x_2105 = l_Lean_KernelException_toMessageData___closed__15; +x_2106 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2106, 0, x_2105); +lean_ctor_set(x_2106, 1, x_2104); +x_2107 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2108 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2108, 0, x_2106); +lean_ctor_set(x_2108, 1, x_2107); +x_2109 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2109, 0, x_2); +x_2110 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2110, 0, x_2108); +lean_ctor_set(x_2110, 1, x_2109); +x_2111 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2111, 0, x_2110); +lean_ctor_set(x_2111, 1, x_2105); +x_2112 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2113 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2112, x_2111, x_3, x_4, x_5, x_6, x_2102); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2114 = lean_ctor_get(x_2113, 1); +lean_inc(x_2114); +lean_dec(x_2113); +x_2115 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2114); +return x_2115; +} +} +} +} +else +{ +lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; uint8_t x_2145; lean_object* x_2146; lean_object* x_2147; +lean_dec(x_2096); +x_2142 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2095); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2143 = lean_ctor_get(x_2142, 1); +lean_inc(x_2143); +if (lean_is_exclusive(x_2142)) { + lean_ctor_release(x_2142, 0); + lean_ctor_release(x_2142, 1); + x_2144 = x_2142; +} else { + lean_dec_ref(x_2142); + x_2144 = lean_box(0); +} +x_2145 = 1; +x_2146 = lean_box(x_2145); +if (lean_is_scalar(x_2144)) { + x_2147 = lean_alloc_ctor(0, 2, 0); +} else { + x_2147 = x_2144; +} +lean_ctor_set(x_2147, 0, x_2146); +lean_ctor_set(x_2147, 1, x_2143); +return x_2147; +} +} +else +{ +lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; uint8_t x_2151; lean_object* x_2152; lean_object* x_2153; +lean_dec(x_2097); +lean_dec(x_2096); +x_2148 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2095); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2149 = lean_ctor_get(x_2148, 1); +lean_inc(x_2149); +if (lean_is_exclusive(x_2148)) { + lean_ctor_release(x_2148, 0); + lean_ctor_release(x_2148, 1); + x_2150 = x_2148; +} else { + lean_dec_ref(x_2148); + x_2150 = lean_box(0); +} +x_2151 = 1; +x_2152 = lean_box(x_2151); +if (lean_is_scalar(x_2150)) { + x_2153 = lean_alloc_ctor(0, 2, 0); +} else { + x_2153 = x_2150; +} +lean_ctor_set(x_2153, 0, x_2152); +lean_ctor_set(x_2153, 1, x_2149); +return x_2153; +} +} +} +else +{ +lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; +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_2154 = lean_ctor_get(x_2080, 0); +lean_inc(x_2154); +x_2155 = lean_ctor_get(x_2080, 1); +lean_inc(x_2155); +if (lean_is_exclusive(x_2080)) { + lean_ctor_release(x_2080, 0); + lean_ctor_release(x_2080, 1); + x_2156 = x_2080; +} else { + lean_dec_ref(x_2080); + x_2156 = lean_box(0); +} +if (lean_is_scalar(x_2156)) { + x_2157 = lean_alloc_ctor(1, 2, 0); +} else { + x_2157 = x_2156; +} +lean_ctor_set(x_2157, 0, x_2154); +lean_ctor_set(x_2157, 1, x_2155); +return x_2157; +} +} +} +} +else +{ +uint8_t x_2158; +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_2158 = !lean_is_exclusive(x_1847); +if (x_2158 == 0) +{ +return x_1847; +} +else +{ +lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; +x_2159 = lean_ctor_get(x_1847, 0); +x_2160 = lean_ctor_get(x_1847, 1); +lean_inc(x_2160); +lean_inc(x_2159); +lean_dec(x_1847); +x_2161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2161, 0, x_2159); +lean_ctor_set(x_2161, 1, x_2160); +return x_2161; +} +} +} +} +} +block_2176: +{ +if (x_2163 == 0) +{ +x_1834 = x_2164; +goto block_2162; +} +else +{ +lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; +lean_inc(x_1); +x_2165 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2165, 0, x_1); +x_2166 = l_Lean_KernelException_toMessageData___closed__15; +x_2167 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2167, 0, x_2166); +lean_ctor_set(x_2167, 1, x_2165); +x_2168 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2169 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2169, 0, x_2167); +lean_ctor_set(x_2169, 1, x_2168); +lean_inc(x_2); +x_2170 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2170, 0, x_2); +x_2171 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2171, 0, x_2169); +lean_ctor_set(x_2171, 1, x_2170); +x_2172 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2172, 0, x_2171); +lean_ctor_set(x_2172, 1, x_2166); +x_2173 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_2174 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2173, x_2172, x_3, x_4, x_5, x_6, x_2164); +x_2175 = lean_ctor_get(x_2174, 1); +lean_inc(x_2175); +lean_dec(x_2174); +x_1834 = x_2175; +goto block_2162; +} +} +} +else +{ +lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; uint8_t x_2192; lean_object* x_2193; lean_object* x_2194; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2189 = lean_unsigned_to_nat(0u); +x_2190 = l_Lean_Level_getOffsetAux(x_1, x_2189); +lean_dec(x_1); +x_2191 = l_Lean_Level_getOffsetAux(x_2, x_2189); +lean_dec(x_2); +x_2192 = lean_nat_dec_eq(x_2190, x_2191); +lean_dec(x_2191); +lean_dec(x_2190); +x_2193 = lean_box(x_2192); +x_2194 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2194, 0, x_2193); +lean_ctor_set(x_2194, 1, x_7); +return x_2194; } } } } case 2: { -uint8_t x_2165; -x_2165 = lean_level_eq(x_1, x_2); -if (x_2165 == 0) +lean_object* x_2195; lean_object* x_2196; uint8_t x_2197; +x_2195 = l_Lean_Level_getLevelOffset(x_1); +x_2196 = l_Lean_Level_getLevelOffset(x_2); +x_2197 = lean_level_eq(x_2195, x_2196); +lean_dec(x_2196); +lean_dec(x_2195); +if (x_2197 == 0) { -lean_object* x_2166; uint8_t x_2495; lean_object* x_2496; lean_object* x_2509; lean_object* x_2510; lean_object* x_2511; uint8_t x_2512; -x_2509 = lean_st_ref_get(x_6, x_7); -x_2510 = lean_ctor_get(x_2509, 0); -lean_inc(x_2510); -x_2511 = lean_ctor_get(x_2510, 3); -lean_inc(x_2511); -lean_dec(x_2510); -x_2512 = lean_ctor_get_uint8(x_2511, sizeof(void*)*1); -lean_dec(x_2511); -if (x_2512 == 0) +lean_object* x_2198; uint8_t x_2527; lean_object* x_2528; lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; uint8_t x_2544; +x_2541 = lean_st_ref_get(x_6, x_7); +x_2542 = lean_ctor_get(x_2541, 0); +lean_inc(x_2542); +x_2543 = lean_ctor_get(x_2542, 3); +lean_inc(x_2543); +lean_dec(x_2542); +x_2544 = lean_ctor_get_uint8(x_2543, sizeof(void*)*1); +lean_dec(x_2543); +if (x_2544 == 0) { -lean_object* x_2513; uint8_t x_2514; -x_2513 = lean_ctor_get(x_2509, 1); -lean_inc(x_2513); -lean_dec(x_2509); -x_2514 = 0; -x_2495 = x_2514; -x_2496 = x_2513; -goto block_2508; +lean_object* x_2545; uint8_t x_2546; +x_2545 = lean_ctor_get(x_2541, 1); +lean_inc(x_2545); +lean_dec(x_2541); +x_2546 = 0; +x_2527 = x_2546; +x_2528 = x_2545; +goto block_2540; } else { -lean_object* x_2515; lean_object* x_2516; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; uint8_t x_2520; -x_2515 = lean_ctor_get(x_2509, 1); -lean_inc(x_2515); -lean_dec(x_2509); -x_2516 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_2517 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2516, x_3, x_4, x_5, x_6, x_2515); -x_2518 = lean_ctor_get(x_2517, 0); -lean_inc(x_2518); -x_2519 = lean_ctor_get(x_2517, 1); -lean_inc(x_2519); -lean_dec(x_2517); -x_2520 = lean_unbox(x_2518); -lean_dec(x_2518); -x_2495 = x_2520; -x_2496 = x_2519; -goto block_2508; +lean_object* x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; uint8_t x_2552; +x_2547 = lean_ctor_get(x_2541, 1); +lean_inc(x_2547); +lean_dec(x_2541); +x_2548 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_2549 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2548, x_3, x_4, x_5, x_6, x_2547); +x_2550 = lean_ctor_get(x_2549, 0); +lean_inc(x_2550); +x_2551 = lean_ctor_get(x_2549, 1); +lean_inc(x_2551); +lean_dec(x_2549); +x_2552 = lean_unbox(x_2550); +lean_dec(x_2550); +x_2527 = x_2552; +x_2528 = x_2551; +goto block_2540; } -block_2494: +block_2526: { -lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; uint8_t x_2175; +lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; uint8_t x_2207; lean_inc(x_1); -x_2167 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_2166); -x_2168 = lean_ctor_get(x_2167, 0); -lean_inc(x_2168); -x_2169 = lean_ctor_get(x_2167, 1); -lean_inc(x_2169); -lean_dec(x_2167); -x_2170 = l_Lean_Level_normalize(x_2168); -lean_dec(x_2168); -lean_inc(x_2); -x_2171 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_2169); -x_2172 = lean_ctor_get(x_2171, 0); -lean_inc(x_2172); -x_2173 = lean_ctor_get(x_2171, 1); -lean_inc(x_2173); -lean_dec(x_2171); -x_2174 = l_Lean_Level_normalize(x_2172); -lean_dec(x_2172); -x_2175 = lean_level_eq(x_1, x_2170); -if (x_2175 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_2170; -x_2 = x_2174; -x_7 = x_2173; -goto _start; -} -else -{ -uint8_t x_2177; -x_2177 = lean_level_eq(x_2, x_2174); -if (x_2177 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_2170; -x_2 = x_2174; -x_7 = x_2173; -goto _start; -} -else -{ -lean_object* x_2179; -lean_dec(x_2174); -lean_dec(x_2170); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_2179 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_2173); -if (lean_obj_tag(x_2179) == 0) -{ -uint8_t x_2180; -x_2180 = !lean_is_exclusive(x_2179); -if (x_2180 == 0) -{ -lean_object* x_2181; lean_object* x_2182; uint8_t x_2183; uint8_t x_2184; uint8_t x_2185; -x_2181 = lean_ctor_get(x_2179, 0); -x_2182 = lean_ctor_get(x_2179, 1); -x_2183 = 2; -x_2184 = lean_unbox(x_2181); -x_2185 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2184, x_2183); -if (x_2185 == 0) -{ -uint8_t x_2186; uint8_t x_2187; uint8_t x_2188; lean_object* x_2189; -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_2186 = 1; -x_2187 = lean_unbox(x_2181); -lean_dec(x_2181); -x_2188 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2187, x_2186); -x_2189 = lean_box(x_2188); -lean_ctor_set(x_2179, 0, x_2189); -return x_2179; -} -else -{ -lean_object* x_2190; -lean_free_object(x_2179); -lean_dec(x_2181); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_2190 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2182); -if (lean_obj_tag(x_2190) == 0) -{ -uint8_t x_2191; -x_2191 = !lean_is_exclusive(x_2190); -if (x_2191 == 0) -{ -lean_object* x_2192; lean_object* x_2193; uint8_t x_2194; uint8_t x_2195; -x_2192 = lean_ctor_get(x_2190, 0); -x_2193 = lean_ctor_get(x_2190, 1); -x_2194 = lean_unbox(x_2192); -x_2195 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2194, x_2183); -if (x_2195 == 0) -{ -uint8_t x_2196; uint8_t x_2197; uint8_t x_2198; lean_object* x_2199; -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_2196 = 1; -x_2197 = lean_unbox(x_2192); -lean_dec(x_2192); -x_2198 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2197, x_2196); -x_2199 = lean_box(x_2198); -lean_ctor_set(x_2190, 0, x_2199); -return x_2190; -} -else -{ -lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; uint8_t x_2203; -lean_free_object(x_2190); -lean_dec(x_2192); -x_2200 = lean_st_ref_get(x_6, x_2193); -x_2201 = lean_ctor_get(x_2200, 1); +x_2199 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_2198); +x_2200 = lean_ctor_get(x_2199, 0); +lean_inc(x_2200); +x_2201 = lean_ctor_get(x_2199, 1); lean_inc(x_2201); +lean_dec(x_2199); +x_2202 = l_Lean_Level_normalize(x_2200); lean_dec(x_2200); -x_2202 = lean_st_ref_get(x_4, x_2201); -x_2203 = !lean_is_exclusive(x_2202); -if (x_2203 == 0) -{ -lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; uint8_t x_2207; -x_2204 = lean_ctor_get(x_2202, 0); -x_2205 = lean_ctor_get(x_2202, 1); -x_2206 = lean_ctor_get(x_2204, 0); -lean_inc(x_2206); +lean_inc(x_2); +x_2203 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_2201); +x_2204 = lean_ctor_get(x_2203, 0); +lean_inc(x_2204); +x_2205 = lean_ctor_get(x_2203, 1); +lean_inc(x_2205); +lean_dec(x_2203); +x_2206 = l_Lean_Level_normalize(x_2204); lean_dec(x_2204); -lean_inc(x_2206); -x_2207 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2206, x_1); +x_2207 = lean_level_eq(x_1, x_2202); if (x_2207 == 0) { -uint8_t x_2208; -x_2208 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2206, x_2); -if (x_2208 == 0) +lean_dec(x_2); +lean_dec(x_1); +x_1 = x_2202; +x_2 = x_2206; +x_7 = x_2205; +goto _start; +} +else { -lean_object* x_2209; lean_object* x_2239; uint8_t x_2240; -x_2239 = lean_ctor_get(x_3, 0); -lean_inc(x_2239); -x_2240 = lean_ctor_get_uint8(x_2239, 4); -lean_dec(x_2239); +uint8_t x_2209; +x_2209 = lean_level_eq(x_2, x_2206); +if (x_2209 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +x_1 = x_2202; +x_2 = x_2206; +x_7 = x_2205; +goto _start; +} +else +{ +lean_object* x_2211; +lean_dec(x_2206); +lean_dec(x_2202); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_2211 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_2205); +if (lean_obj_tag(x_2211) == 0) +{ +uint8_t x_2212; +x_2212 = !lean_is_exclusive(x_2211); +if (x_2212 == 0) +{ +lean_object* x_2213; lean_object* x_2214; uint8_t x_2215; uint8_t x_2216; uint8_t x_2217; +x_2213 = lean_ctor_get(x_2211, 0); +x_2214 = lean_ctor_get(x_2211, 1); +x_2215 = 2; +x_2216 = lean_unbox(x_2213); +x_2217 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2216, x_2215); +if (x_2217 == 0) +{ +uint8_t x_2218; uint8_t x_2219; uint8_t x_2220; lean_object* x_2221; +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_2218 = 1; +x_2219 = lean_unbox(x_2213); +lean_dec(x_2213); +x_2220 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2219, x_2218); +x_2221 = lean_box(x_2220); +lean_ctor_set(x_2211, 0, x_2221); +return x_2211; +} +else +{ +lean_object* x_2222; +lean_free_object(x_2211); +lean_dec(x_2213); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +lean_inc(x_2); +x_2222 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2214); +if (lean_obj_tag(x_2222) == 0) +{ +uint8_t x_2223; +x_2223 = !lean_is_exclusive(x_2222); +if (x_2223 == 0) +{ +lean_object* x_2224; lean_object* x_2225; uint8_t x_2226; uint8_t x_2227; +x_2224 = lean_ctor_get(x_2222, 0); +x_2225 = lean_ctor_get(x_2222, 1); +x_2226 = lean_unbox(x_2224); +x_2227 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2226, x_2215); +if (x_2227 == 0) +{ +uint8_t x_2228; uint8_t x_2229; uint8_t x_2230; lean_object* x_2231; +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_2228 = 1; +x_2229 = lean_unbox(x_2224); +lean_dec(x_2224); +x_2230 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2229, x_2228); +x_2231 = lean_box(x_2230); +lean_ctor_set(x_2222, 0, x_2231); +return x_2222; +} +else +{ +lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; uint8_t x_2235; +lean_free_object(x_2222); +lean_dec(x_2224); +x_2232 = lean_st_ref_get(x_6, x_2225); +x_2233 = lean_ctor_get(x_2232, 1); +lean_inc(x_2233); +lean_dec(x_2232); +x_2234 = lean_st_ref_get(x_4, x_2233); +x_2235 = !lean_is_exclusive(x_2234); +if (x_2235 == 0) +{ +lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; uint8_t x_2239; +x_2236 = lean_ctor_get(x_2234, 0); +x_2237 = lean_ctor_get(x_2234, 1); +x_2238 = lean_ctor_get(x_2236, 0); +lean_inc(x_2238); +lean_dec(x_2236); +lean_inc(x_2238); +x_2239 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2238, x_1); +if (x_2239 == 0) +{ +uint8_t x_2240; +x_2240 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2238, x_2); if (x_2240 == 0) { -uint8_t x_2241; lean_object* x_2242; +lean_object* x_2241; lean_object* x_2271; uint8_t x_2272; +x_2271 = lean_ctor_get(x_3, 0); +lean_inc(x_2271); +x_2272 = lean_ctor_get_uint8(x_2271, 4); +lean_dec(x_2271); +if (x_2272 == 0) +{ +uint8_t x_2273; lean_object* x_2274; 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_2241 = 0; -x_2242 = lean_box(x_2241); -lean_ctor_set(x_2202, 0, x_2242); -return x_2202; +x_2273 = 0; +x_2274 = lean_box(x_2273); +lean_ctor_set(x_2234, 0, x_2274); +return x_2234; } else { -uint8_t x_2243; -x_2243 = l_Lean_Level_isMVar(x_1); -if (x_2243 == 0) +uint8_t x_2275; +x_2275 = l_Lean_Level_isMVar(x_1); +if (x_2275 == 0) { -uint8_t x_2244; -x_2244 = l_Lean_Level_isMVar(x_2); -if (x_2244 == 0) +uint8_t x_2276; +x_2276 = l_Lean_Level_isMVar(x_2); +if (x_2276 == 0) { -uint8_t x_2245; lean_object* x_2246; +uint8_t x_2277; lean_object* x_2278; 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_2245 = 0; -x_2246 = lean_box(x_2245); -lean_ctor_set(x_2202, 0, x_2246); -return x_2202; +x_2277 = 0; +x_2278 = lean_box(x_2277); +lean_ctor_set(x_2234, 0, x_2278); +return x_2234; } else { -lean_object* x_2247; -lean_free_object(x_2202); -x_2247 = lean_box(0); -x_2209 = x_2247; -goto block_2238; +lean_object* x_2279; +lean_free_object(x_2234); +x_2279 = lean_box(0); +x_2241 = x_2279; +goto block_2270; } } else { -lean_object* x_2248; -lean_free_object(x_2202); -x_2248 = lean_box(0); -x_2209 = x_2248; -goto block_2238; +lean_object* x_2280; +lean_free_object(x_2234); +x_2280 = lean_box(0); +x_2241 = x_2280; +goto block_2270; } } -block_2238: +block_2270: { -uint8_t x_2210; lean_object* x_2211; lean_object* x_2226; lean_object* x_2227; lean_object* x_2228; uint8_t x_2229; -lean_dec(x_2209); -x_2226 = lean_st_ref_get(x_6, x_2205); -x_2227 = lean_ctor_get(x_2226, 0); -lean_inc(x_2227); -x_2228 = lean_ctor_get(x_2227, 3); -lean_inc(x_2228); -lean_dec(x_2227); -x_2229 = lean_ctor_get_uint8(x_2228, sizeof(void*)*1); -lean_dec(x_2228); -if (x_2229 == 0) -{ -lean_object* x_2230; uint8_t x_2231; -x_2230 = lean_ctor_get(x_2226, 1); -lean_inc(x_2230); -lean_dec(x_2226); -x_2231 = 0; -x_2210 = x_2231; -x_2211 = x_2230; -goto block_2225; -} -else -{ -lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; lean_object* x_2236; uint8_t x_2237; -x_2232 = lean_ctor_get(x_2226, 1); -lean_inc(x_2232); -lean_dec(x_2226); -x_2233 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2234 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2233, x_3, x_4, x_5, x_6, x_2232); -x_2235 = lean_ctor_get(x_2234, 0); -lean_inc(x_2235); -x_2236 = lean_ctor_get(x_2234, 1); -lean_inc(x_2236); -lean_dec(x_2234); -x_2237 = lean_unbox(x_2235); -lean_dec(x_2235); -x_2210 = x_2237; -x_2211 = x_2236; -goto block_2225; -} -block_2225: -{ -if (x_2210 == 0) -{ -lean_object* x_2212; -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_2212 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2211); -return x_2212; -} -else -{ -lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; -x_2213 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2213, 0, x_1); -x_2214 = l_Lean_KernelException_toMessageData___closed__15; -x_2215 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2215, 0, x_2214); -lean_ctor_set(x_2215, 1, x_2213); -x_2216 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2217 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2217, 0, x_2215); -lean_ctor_set(x_2217, 1, x_2216); -x_2218 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2218, 0, x_2); -x_2219 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2219, 0, x_2217); -lean_ctor_set(x_2219, 1, x_2218); -x_2220 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2220, 0, x_2219); -lean_ctor_set(x_2220, 1, x_2214); -x_2221 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2222 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2221, x_2220, x_3, x_4, x_5, x_6, x_2211); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2223 = lean_ctor_get(x_2222, 1); -lean_inc(x_2223); -lean_dec(x_2222); -x_2224 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2223); -return x_2224; -} -} -} -} -else -{ -lean_object* x_2249; uint8_t x_2250; -lean_free_object(x_2202); -x_2249 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2205); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2250 = !lean_is_exclusive(x_2249); -if (x_2250 == 0) -{ -lean_object* x_2251; uint8_t x_2252; lean_object* x_2253; -x_2251 = lean_ctor_get(x_2249, 0); -lean_dec(x_2251); -x_2252 = 1; -x_2253 = lean_box(x_2252); -lean_ctor_set(x_2249, 0, x_2253); -return x_2249; -} -else -{ -lean_object* x_2254; uint8_t x_2255; lean_object* x_2256; lean_object* x_2257; -x_2254 = lean_ctor_get(x_2249, 1); -lean_inc(x_2254); -lean_dec(x_2249); -x_2255 = 1; -x_2256 = lean_box(x_2255); -x_2257 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2257, 0, x_2256); -lean_ctor_set(x_2257, 1, x_2254); -return x_2257; -} -} -} -else -{ -lean_object* x_2258; uint8_t x_2259; -lean_dec(x_2206); -lean_free_object(x_2202); -x_2258 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2205); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2259 = !lean_is_exclusive(x_2258); -if (x_2259 == 0) -{ -lean_object* x_2260; uint8_t x_2261; lean_object* x_2262; -x_2260 = lean_ctor_get(x_2258, 0); +uint8_t x_2242; lean_object* x_2243; lean_object* x_2258; lean_object* x_2259; lean_object* x_2260; uint8_t x_2261; +lean_dec(x_2241); +x_2258 = lean_st_ref_get(x_6, x_2237); +x_2259 = lean_ctor_get(x_2258, 0); +lean_inc(x_2259); +x_2260 = lean_ctor_get(x_2259, 3); +lean_inc(x_2260); +lean_dec(x_2259); +x_2261 = lean_ctor_get_uint8(x_2260, sizeof(void*)*1); lean_dec(x_2260); -x_2261 = 1; -x_2262 = lean_box(x_2261); -lean_ctor_set(x_2258, 0, x_2262); -return x_2258; -} -else +if (x_2261 == 0) { -lean_object* x_2263; uint8_t x_2264; lean_object* x_2265; lean_object* x_2266; -x_2263 = lean_ctor_get(x_2258, 1); -lean_inc(x_2263); +lean_object* x_2262; uint8_t x_2263; +x_2262 = lean_ctor_get(x_2258, 1); +lean_inc(x_2262); lean_dec(x_2258); -x_2264 = 1; -x_2265 = lean_box(x_2264); -x_2266 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2266, 0, x_2265); -lean_ctor_set(x_2266, 1, x_2263); -return x_2266; +x_2263 = 0; +x_2242 = x_2263; +x_2243 = x_2262; +goto block_2257; +} +else +{ +lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; uint8_t x_2269; +x_2264 = lean_ctor_get(x_2258, 1); +lean_inc(x_2264); +lean_dec(x_2258); +x_2265 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2266 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2265, x_3, x_4, x_5, x_6, x_2264); +x_2267 = lean_ctor_get(x_2266, 0); +lean_inc(x_2267); +x_2268 = lean_ctor_get(x_2266, 1); +lean_inc(x_2268); +lean_dec(x_2266); +x_2269 = lean_unbox(x_2267); +lean_dec(x_2267); +x_2242 = x_2269; +x_2243 = x_2268; +goto block_2257; +} +block_2257: +{ +if (x_2242 == 0) +{ +lean_object* x_2244; +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_2244 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2243); +return x_2244; +} +else +{ +lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; +x_2245 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2245, 0, x_1); +x_2246 = l_Lean_KernelException_toMessageData___closed__15; +x_2247 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2247, 0, x_2246); +lean_ctor_set(x_2247, 1, x_2245); +x_2248 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2249 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2249, 0, x_2247); +lean_ctor_set(x_2249, 1, x_2248); +x_2250 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2250, 0, x_2); +x_2251 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2251, 0, x_2249); +lean_ctor_set(x_2251, 1, x_2250); +x_2252 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2252, 0, x_2251); +lean_ctor_set(x_2252, 1, x_2246); +x_2253 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2254 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2253, x_2252, x_3, x_4, x_5, x_6, x_2243); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2255 = lean_ctor_get(x_2254, 1); +lean_inc(x_2255); +lean_dec(x_2254); +x_2256 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2255); +return x_2256; +} } } } else { -lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; uint8_t x_2270; -x_2267 = lean_ctor_get(x_2202, 0); -x_2268 = lean_ctor_get(x_2202, 1); -lean_inc(x_2268); -lean_inc(x_2267); -lean_dec(x_2202); -x_2269 = lean_ctor_get(x_2267, 0); -lean_inc(x_2269); -lean_dec(x_2267); -lean_inc(x_2269); -x_2270 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2269, x_1); -if (x_2270 == 0) +lean_object* x_2281; uint8_t x_2282; +lean_free_object(x_2234); +x_2281 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2237); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2282 = !lean_is_exclusive(x_2281); +if (x_2282 == 0) { -uint8_t x_2271; -x_2271 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2269, x_2); -if (x_2271 == 0) +lean_object* x_2283; uint8_t x_2284; lean_object* x_2285; +x_2283 = lean_ctor_get(x_2281, 0); +lean_dec(x_2283); +x_2284 = 1; +x_2285 = lean_box(x_2284); +lean_ctor_set(x_2281, 0, x_2285); +return x_2281; +} +else { -lean_object* x_2272; lean_object* x_2302; uint8_t x_2303; -x_2302 = lean_ctor_get(x_3, 0); -lean_inc(x_2302); -x_2303 = lean_ctor_get_uint8(x_2302, 4); -lean_dec(x_2302); +lean_object* x_2286; uint8_t x_2287; lean_object* x_2288; lean_object* x_2289; +x_2286 = lean_ctor_get(x_2281, 1); +lean_inc(x_2286); +lean_dec(x_2281); +x_2287 = 1; +x_2288 = lean_box(x_2287); +x_2289 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2289, 0, x_2288); +lean_ctor_set(x_2289, 1, x_2286); +return x_2289; +} +} +} +else +{ +lean_object* x_2290; uint8_t x_2291; +lean_dec(x_2238); +lean_free_object(x_2234); +x_2290 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2237); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2291 = !lean_is_exclusive(x_2290); +if (x_2291 == 0) +{ +lean_object* x_2292; uint8_t x_2293; lean_object* x_2294; +x_2292 = lean_ctor_get(x_2290, 0); +lean_dec(x_2292); +x_2293 = 1; +x_2294 = lean_box(x_2293); +lean_ctor_set(x_2290, 0, x_2294); +return x_2290; +} +else +{ +lean_object* x_2295; uint8_t x_2296; lean_object* x_2297; lean_object* x_2298; +x_2295 = lean_ctor_get(x_2290, 1); +lean_inc(x_2295); +lean_dec(x_2290); +x_2296 = 1; +x_2297 = lean_box(x_2296); +x_2298 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2298, 0, x_2297); +lean_ctor_set(x_2298, 1, x_2295); +return x_2298; +} +} +} +else +{ +lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; uint8_t x_2302; +x_2299 = lean_ctor_get(x_2234, 0); +x_2300 = lean_ctor_get(x_2234, 1); +lean_inc(x_2300); +lean_inc(x_2299); +lean_dec(x_2234); +x_2301 = lean_ctor_get(x_2299, 0); +lean_inc(x_2301); +lean_dec(x_2299); +lean_inc(x_2301); +x_2302 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2301, x_1); +if (x_2302 == 0) +{ +uint8_t x_2303; +x_2303 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2301, x_2); if (x_2303 == 0) { -uint8_t x_2304; lean_object* x_2305; lean_object* x_2306; +lean_object* x_2304; lean_object* x_2334; uint8_t x_2335; +x_2334 = lean_ctor_get(x_3, 0); +lean_inc(x_2334); +x_2335 = lean_ctor_get_uint8(x_2334, 4); +lean_dec(x_2334); +if (x_2335 == 0) +{ +uint8_t x_2336; lean_object* x_2337; lean_object* x_2338; 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_2304 = 0; -x_2305 = lean_box(x_2304); -x_2306 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2306, 0, x_2305); -lean_ctor_set(x_2306, 1, x_2268); -return x_2306; +x_2336 = 0; +x_2337 = lean_box(x_2336); +x_2338 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2338, 0, x_2337); +lean_ctor_set(x_2338, 1, x_2300); +return x_2338; } else { -uint8_t x_2307; -x_2307 = l_Lean_Level_isMVar(x_1); -if (x_2307 == 0) +uint8_t x_2339; +x_2339 = l_Lean_Level_isMVar(x_1); +if (x_2339 == 0) { -uint8_t x_2308; -x_2308 = l_Lean_Level_isMVar(x_2); -if (x_2308 == 0) +uint8_t x_2340; +x_2340 = l_Lean_Level_isMVar(x_2); +if (x_2340 == 0) { -uint8_t x_2309; lean_object* x_2310; lean_object* x_2311; +uint8_t x_2341; lean_object* x_2342; lean_object* x_2343; 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_2309 = 0; -x_2310 = lean_box(x_2309); -x_2311 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2311, 0, x_2310); -lean_ctor_set(x_2311, 1, x_2268); -return x_2311; +x_2341 = 0; +x_2342 = lean_box(x_2341); +x_2343 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2343, 0, x_2342); +lean_ctor_set(x_2343, 1, x_2300); +return x_2343; } else { -lean_object* x_2312; -x_2312 = lean_box(0); -x_2272 = x_2312; -goto block_2301; +lean_object* x_2344; +x_2344 = lean_box(0); +x_2304 = x_2344; +goto block_2333; } } else { -lean_object* x_2313; -x_2313 = lean_box(0); -x_2272 = x_2313; -goto block_2301; +lean_object* x_2345; +x_2345 = lean_box(0); +x_2304 = x_2345; +goto block_2333; } } -block_2301: +block_2333: { -uint8_t x_2273; lean_object* x_2274; lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; uint8_t x_2292; -lean_dec(x_2272); -x_2289 = lean_st_ref_get(x_6, x_2268); -x_2290 = lean_ctor_get(x_2289, 0); -lean_inc(x_2290); -x_2291 = lean_ctor_get(x_2290, 3); -lean_inc(x_2291); -lean_dec(x_2290); -x_2292 = lean_ctor_get_uint8(x_2291, sizeof(void*)*1); -lean_dec(x_2291); -if (x_2292 == 0) +uint8_t x_2305; lean_object* x_2306; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; uint8_t x_2324; +lean_dec(x_2304); +x_2321 = lean_st_ref_get(x_6, x_2300); +x_2322 = lean_ctor_get(x_2321, 0); +lean_inc(x_2322); +x_2323 = lean_ctor_get(x_2322, 3); +lean_inc(x_2323); +lean_dec(x_2322); +x_2324 = lean_ctor_get_uint8(x_2323, sizeof(void*)*1); +lean_dec(x_2323); +if (x_2324 == 0) { -lean_object* x_2293; uint8_t x_2294; -x_2293 = lean_ctor_get(x_2289, 1); -lean_inc(x_2293); -lean_dec(x_2289); -x_2294 = 0; -x_2273 = x_2294; -x_2274 = x_2293; -goto block_2288; +lean_object* x_2325; uint8_t x_2326; +x_2325 = lean_ctor_get(x_2321, 1); +lean_inc(x_2325); +lean_dec(x_2321); +x_2326 = 0; +x_2305 = x_2326; +x_2306 = x_2325; +goto block_2320; } else { -lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; uint8_t x_2300; -x_2295 = lean_ctor_get(x_2289, 1); -lean_inc(x_2295); -lean_dec(x_2289); -x_2296 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2297 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2296, x_3, x_4, x_5, x_6, x_2295); -x_2298 = lean_ctor_get(x_2297, 0); -lean_inc(x_2298); -x_2299 = lean_ctor_get(x_2297, 1); -lean_inc(x_2299); -lean_dec(x_2297); -x_2300 = lean_unbox(x_2298); -lean_dec(x_2298); -x_2273 = x_2300; -x_2274 = x_2299; -goto block_2288; +lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; uint8_t x_2332; +x_2327 = lean_ctor_get(x_2321, 1); +lean_inc(x_2327); +lean_dec(x_2321); +x_2328 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2329 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2328, x_3, x_4, x_5, x_6, x_2327); +x_2330 = lean_ctor_get(x_2329, 0); +lean_inc(x_2330); +x_2331 = lean_ctor_get(x_2329, 1); +lean_inc(x_2331); +lean_dec(x_2329); +x_2332 = lean_unbox(x_2330); +lean_dec(x_2330); +x_2305 = x_2332; +x_2306 = x_2331; +goto block_2320; } -block_2288: +block_2320: { -if (x_2273 == 0) +if (x_2305 == 0) { -lean_object* x_2275; +lean_object* x_2307; 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_2275 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2274); -return x_2275; +x_2307 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2306); +return x_2307; } else { -lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; -x_2276 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2276, 0, x_1); -x_2277 = l_Lean_KernelException_toMessageData___closed__15; -x_2278 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2278, 0, x_2277); -lean_ctor_set(x_2278, 1, x_2276); -x_2279 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2280 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2280, 0, x_2278); -lean_ctor_set(x_2280, 1, x_2279); -x_2281 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2281, 0, x_2); -x_2282 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2282, 0, x_2280); -lean_ctor_set(x_2282, 1, x_2281); -x_2283 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2283, 0, x_2282); -lean_ctor_set(x_2283, 1, x_2277); -x_2284 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2285 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2284, x_2283, x_3, x_4, x_5, x_6, x_2274); +lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; +x_2308 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2308, 0, x_1); +x_2309 = l_Lean_KernelException_toMessageData___closed__15; +x_2310 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2310, 0, x_2309); +lean_ctor_set(x_2310, 1, x_2308); +x_2311 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2312 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2312, 0, x_2310); +lean_ctor_set(x_2312, 1, x_2311); +x_2313 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2313, 0, x_2); +x_2314 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2314, 0, x_2312); +lean_ctor_set(x_2314, 1, x_2313); +x_2315 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2315, 0, x_2314); +lean_ctor_set(x_2315, 1, x_2309); +x_2316 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2317 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2316, x_2315, x_3, x_4, x_5, x_6, x_2306); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2286 = lean_ctor_get(x_2285, 1); -lean_inc(x_2286); -lean_dec(x_2285); -x_2287 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2286); -return x_2287; -} -} -} -} -else -{ -lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; uint8_t x_2317; lean_object* x_2318; lean_object* x_2319; -x_2314 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2268); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2315 = lean_ctor_get(x_2314, 1); -lean_inc(x_2315); -if (lean_is_exclusive(x_2314)) { - lean_ctor_release(x_2314, 0); - lean_ctor_release(x_2314, 1); - x_2316 = x_2314; -} else { - lean_dec_ref(x_2314); - x_2316 = lean_box(0); -} -x_2317 = 1; -x_2318 = lean_box(x_2317); -if (lean_is_scalar(x_2316)) { - x_2319 = lean_alloc_ctor(0, 2, 0); -} else { - x_2319 = x_2316; -} -lean_ctor_set(x_2319, 0, x_2318); -lean_ctor_set(x_2319, 1, x_2315); +x_2318 = lean_ctor_get(x_2317, 1); +lean_inc(x_2318); +lean_dec(x_2317); +x_2319 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2318); return x_2319; } } +} +} else { -lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; uint8_t x_2323; lean_object* x_2324; lean_object* x_2325; -lean_dec(x_2269); -x_2320 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2268); +lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; uint8_t x_2349; lean_object* x_2350; lean_object* x_2351; +x_2346 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2300); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2321 = lean_ctor_get(x_2320, 1); -lean_inc(x_2321); -if (lean_is_exclusive(x_2320)) { - lean_ctor_release(x_2320, 0); - lean_ctor_release(x_2320, 1); - x_2322 = x_2320; +x_2347 = lean_ctor_get(x_2346, 1); +lean_inc(x_2347); +if (lean_is_exclusive(x_2346)) { + lean_ctor_release(x_2346, 0); + lean_ctor_release(x_2346, 1); + x_2348 = x_2346; } else { - lean_dec_ref(x_2320); - x_2322 = lean_box(0); + lean_dec_ref(x_2346); + x_2348 = lean_box(0); } -x_2323 = 1; -x_2324 = lean_box(x_2323); -if (lean_is_scalar(x_2322)) { - x_2325 = lean_alloc_ctor(0, 2, 0); +x_2349 = 1; +x_2350 = lean_box(x_2349); +if (lean_is_scalar(x_2348)) { + x_2351 = lean_alloc_ctor(0, 2, 0); } else { - x_2325 = x_2322; + x_2351 = x_2348; } -lean_ctor_set(x_2325, 0, x_2324); -lean_ctor_set(x_2325, 1, x_2321); -return x_2325; +lean_ctor_set(x_2351, 0, x_2350); +lean_ctor_set(x_2351, 1, x_2347); +return x_2351; +} +} +else +{ +lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; uint8_t x_2355; lean_object* x_2356; lean_object* x_2357; +lean_dec(x_2301); +x_2352 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2300); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2353 = lean_ctor_get(x_2352, 1); +lean_inc(x_2353); +if (lean_is_exclusive(x_2352)) { + lean_ctor_release(x_2352, 0); + lean_ctor_release(x_2352, 1); + x_2354 = x_2352; +} else { + lean_dec_ref(x_2352); + x_2354 = lean_box(0); +} +x_2355 = 1; +x_2356 = lean_box(x_2355); +if (lean_is_scalar(x_2354)) { + x_2357 = lean_alloc_ctor(0, 2, 0); +} else { + x_2357 = x_2354; +} +lean_ctor_set(x_2357, 0, x_2356); +lean_ctor_set(x_2357, 1, x_2353); +return x_2357; } } } } else { -lean_object* x_2326; lean_object* x_2327; uint8_t x_2328; uint8_t x_2329; -x_2326 = lean_ctor_get(x_2190, 0); -x_2327 = lean_ctor_get(x_2190, 1); -lean_inc(x_2327); -lean_inc(x_2326); -lean_dec(x_2190); -x_2328 = lean_unbox(x_2326); -x_2329 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2328, x_2183); -if (x_2329 == 0) +lean_object* x_2358; lean_object* x_2359; uint8_t x_2360; uint8_t x_2361; +x_2358 = lean_ctor_get(x_2222, 0); +x_2359 = lean_ctor_get(x_2222, 1); +lean_inc(x_2359); +lean_inc(x_2358); +lean_dec(x_2222); +x_2360 = lean_unbox(x_2358); +x_2361 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2360, x_2215); +if (x_2361 == 0) { -uint8_t x_2330; uint8_t x_2331; uint8_t x_2332; lean_object* x_2333; lean_object* x_2334; +uint8_t x_2362; uint8_t x_2363; uint8_t x_2364; lean_object* x_2365; lean_object* x_2366; 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_2330 = 1; -x_2331 = lean_unbox(x_2326); -lean_dec(x_2326); -x_2332 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2331, x_2330); -x_2333 = lean_box(x_2332); -x_2334 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2334, 0, x_2333); -lean_ctor_set(x_2334, 1, x_2327); -return x_2334; +x_2362 = 1; +x_2363 = lean_unbox(x_2358); +lean_dec(x_2358); +x_2364 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2363, x_2362); +x_2365 = lean_box(x_2364); +x_2366 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2366, 0, x_2365); +lean_ctor_set(x_2366, 1, x_2359); +return x_2366; } else { -lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; lean_object* x_2341; uint8_t x_2342; -lean_dec(x_2326); -x_2335 = lean_st_ref_get(x_6, x_2327); -x_2336 = lean_ctor_get(x_2335, 1); -lean_inc(x_2336); -lean_dec(x_2335); -x_2337 = lean_st_ref_get(x_4, x_2336); -x_2338 = lean_ctor_get(x_2337, 0); -lean_inc(x_2338); -x_2339 = lean_ctor_get(x_2337, 1); -lean_inc(x_2339); -if (lean_is_exclusive(x_2337)) { - lean_ctor_release(x_2337, 0); - lean_ctor_release(x_2337, 1); - x_2340 = x_2337; -} else { - lean_dec_ref(x_2337); - x_2340 = lean_box(0); -} -x_2341 = lean_ctor_get(x_2338, 0); -lean_inc(x_2341); -lean_dec(x_2338); -lean_inc(x_2341); -x_2342 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2341, x_1); -if (x_2342 == 0) -{ -uint8_t x_2343; -x_2343 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2341, x_2); -if (x_2343 == 0) -{ -lean_object* x_2344; lean_object* x_2374; uint8_t x_2375; -x_2374 = lean_ctor_get(x_3, 0); -lean_inc(x_2374); -x_2375 = lean_ctor_get_uint8(x_2374, 4); -lean_dec(x_2374); -if (x_2375 == 0) -{ -uint8_t x_2376; lean_object* x_2377; lean_object* x_2378; -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_2376 = 0; -x_2377 = lean_box(x_2376); -if (lean_is_scalar(x_2340)) { - x_2378 = lean_alloc_ctor(0, 2, 0); -} else { - x_2378 = x_2340; -} -lean_ctor_set(x_2378, 0, x_2377); -lean_ctor_set(x_2378, 1, x_2339); -return x_2378; -} -else -{ -uint8_t x_2379; -x_2379 = l_Lean_Level_isMVar(x_1); -if (x_2379 == 0) -{ -uint8_t x_2380; -x_2380 = l_Lean_Level_isMVar(x_2); -if (x_2380 == 0) -{ -uint8_t x_2381; lean_object* x_2382; lean_object* x_2383; -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_2381 = 0; -x_2382 = lean_box(x_2381); -if (lean_is_scalar(x_2340)) { - x_2383 = lean_alloc_ctor(0, 2, 0); -} else { - x_2383 = x_2340; -} -lean_ctor_set(x_2383, 0, x_2382); -lean_ctor_set(x_2383, 1, x_2339); -return x_2383; -} -else -{ -lean_object* x_2384; -lean_dec(x_2340); -x_2384 = lean_box(0); -x_2344 = x_2384; -goto block_2373; -} -} -else -{ -lean_object* x_2385; -lean_dec(x_2340); -x_2385 = lean_box(0); -x_2344 = x_2385; -goto block_2373; -} -} -block_2373: -{ -uint8_t x_2345; lean_object* x_2346; lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; uint8_t x_2364; -lean_dec(x_2344); -x_2361 = lean_st_ref_get(x_6, x_2339); -x_2362 = lean_ctor_get(x_2361, 0); -lean_inc(x_2362); -x_2363 = lean_ctor_get(x_2362, 3); -lean_inc(x_2363); -lean_dec(x_2362); -x_2364 = lean_ctor_get_uint8(x_2363, sizeof(void*)*1); -lean_dec(x_2363); -if (x_2364 == 0) -{ -lean_object* x_2365; uint8_t x_2366; -x_2365 = lean_ctor_get(x_2361, 1); -lean_inc(x_2365); -lean_dec(x_2361); -x_2366 = 0; -x_2345 = x_2366; -x_2346 = x_2365; -goto block_2360; -} -else -{ -lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; uint8_t x_2372; -x_2367 = lean_ctor_get(x_2361, 1); -lean_inc(x_2367); -lean_dec(x_2361); -x_2368 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2369 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2368, x_3, x_4, x_5, x_6, x_2367); +lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; uint8_t x_2374; +lean_dec(x_2358); +x_2367 = lean_st_ref_get(x_6, x_2359); +x_2368 = lean_ctor_get(x_2367, 1); +lean_inc(x_2368); +lean_dec(x_2367); +x_2369 = lean_st_ref_get(x_4, x_2368); x_2370 = lean_ctor_get(x_2369, 0); lean_inc(x_2370); x_2371 = lean_ctor_get(x_2369, 1); lean_inc(x_2371); -lean_dec(x_2369); -x_2372 = lean_unbox(x_2370); -lean_dec(x_2370); -x_2345 = x_2372; -x_2346 = x_2371; -goto block_2360; +if (lean_is_exclusive(x_2369)) { + lean_ctor_release(x_2369, 0); + lean_ctor_release(x_2369, 1); + x_2372 = x_2369; +} else { + lean_dec_ref(x_2369); + x_2372 = lean_box(0); } -block_2360: +x_2373 = lean_ctor_get(x_2370, 0); +lean_inc(x_2373); +lean_dec(x_2370); +lean_inc(x_2373); +x_2374 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2373, x_1); +if (x_2374 == 0) { -if (x_2345 == 0) +uint8_t x_2375; +x_2375 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2373, x_2); +if (x_2375 == 0) { -lean_object* x_2347; +lean_object* x_2376; lean_object* x_2406; uint8_t x_2407; +x_2406 = lean_ctor_get(x_3, 0); +lean_inc(x_2406); +x_2407 = lean_ctor_get_uint8(x_2406, 4); +lean_dec(x_2406); +if (x_2407 == 0) +{ +uint8_t x_2408; lean_object* x_2409; lean_object* x_2410; 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_2347 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2346); -return x_2347; +x_2408 = 0; +x_2409 = lean_box(x_2408); +if (lean_is_scalar(x_2372)) { + x_2410 = lean_alloc_ctor(0, 2, 0); +} else { + x_2410 = x_2372; +} +lean_ctor_set(x_2410, 0, x_2409); +lean_ctor_set(x_2410, 1, x_2371); +return x_2410; } else { -lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; lean_object* x_2359; -x_2348 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2348, 0, x_1); -x_2349 = l_Lean_KernelException_toMessageData___closed__15; -x_2350 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2350, 0, x_2349); -lean_ctor_set(x_2350, 1, x_2348); -x_2351 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2352 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2352, 0, x_2350); -lean_ctor_set(x_2352, 1, x_2351); -x_2353 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2353, 0, x_2); -x_2354 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2354, 0, x_2352); -lean_ctor_set(x_2354, 1, x_2353); -x_2355 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2355, 0, x_2354); -lean_ctor_set(x_2355, 1, x_2349); -x_2356 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2357 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2356, x_2355, x_3, x_4, x_5, x_6, x_2346); +uint8_t x_2411; +x_2411 = l_Lean_Level_isMVar(x_1); +if (x_2411 == 0) +{ +uint8_t x_2412; +x_2412 = l_Lean_Level_isMVar(x_2); +if (x_2412 == 0) +{ +uint8_t x_2413; lean_object* x_2414; lean_object* x_2415; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2358 = lean_ctor_get(x_2357, 1); -lean_inc(x_2358); -lean_dec(x_2357); -x_2359 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2358); -return x_2359; +lean_dec(x_2); +lean_dec(x_1); +x_2413 = 0; +x_2414 = lean_box(x_2413); +if (lean_is_scalar(x_2372)) { + x_2415 = lean_alloc_ctor(0, 2, 0); +} else { + x_2415 = x_2372; } +lean_ctor_set(x_2415, 0, x_2414); +lean_ctor_set(x_2415, 1, x_2371); +return x_2415; } +else +{ +lean_object* x_2416; +lean_dec(x_2372); +x_2416 = lean_box(0); +x_2376 = x_2416; +goto block_2405; } } else { -lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; uint8_t x_2389; lean_object* x_2390; lean_object* x_2391; -lean_dec(x_2340); -x_2386 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2339); +lean_object* x_2417; +lean_dec(x_2372); +x_2417 = lean_box(0); +x_2376 = x_2417; +goto block_2405; +} +} +block_2405: +{ +uint8_t x_2377; lean_object* x_2378; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; uint8_t x_2396; +lean_dec(x_2376); +x_2393 = lean_st_ref_get(x_6, x_2371); +x_2394 = lean_ctor_get(x_2393, 0); +lean_inc(x_2394); +x_2395 = lean_ctor_get(x_2394, 3); +lean_inc(x_2395); +lean_dec(x_2394); +x_2396 = lean_ctor_get_uint8(x_2395, sizeof(void*)*1); +lean_dec(x_2395); +if (x_2396 == 0) +{ +lean_object* x_2397; uint8_t x_2398; +x_2397 = lean_ctor_get(x_2393, 1); +lean_inc(x_2397); +lean_dec(x_2393); +x_2398 = 0; +x_2377 = x_2398; +x_2378 = x_2397; +goto block_2392; +} +else +{ +lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; uint8_t x_2404; +x_2399 = lean_ctor_get(x_2393, 1); +lean_inc(x_2399); +lean_dec(x_2393); +x_2400 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2401 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2400, x_3, x_4, x_5, x_6, x_2399); +x_2402 = lean_ctor_get(x_2401, 0); +lean_inc(x_2402); +x_2403 = lean_ctor_get(x_2401, 1); +lean_inc(x_2403); +lean_dec(x_2401); +x_2404 = lean_unbox(x_2402); +lean_dec(x_2402); +x_2377 = x_2404; +x_2378 = x_2403; +goto block_2392; +} +block_2392: +{ +if (x_2377 == 0) +{ +lean_object* x_2379; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2387 = lean_ctor_get(x_2386, 1); -lean_inc(x_2387); -if (lean_is_exclusive(x_2386)) { - lean_ctor_release(x_2386, 0); - lean_ctor_release(x_2386, 1); - x_2388 = x_2386; -} else { - lean_dec_ref(x_2386); - x_2388 = lean_box(0); +lean_dec(x_2); +lean_dec(x_1); +x_2379 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2378); +return x_2379; } -x_2389 = 1; -x_2390 = lean_box(x_2389); -if (lean_is_scalar(x_2388)) { - x_2391 = lean_alloc_ctor(0, 2, 0); -} else { - x_2391 = x_2388; -} -lean_ctor_set(x_2391, 0, x_2390); -lean_ctor_set(x_2391, 1, x_2387); +else +{ +lean_object* x_2380; lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; lean_object* x_2391; +x_2380 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2380, 0, x_1); +x_2381 = l_Lean_KernelException_toMessageData___closed__15; +x_2382 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2382, 0, x_2381); +lean_ctor_set(x_2382, 1, x_2380); +x_2383 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2384 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2384, 0, x_2382); +lean_ctor_set(x_2384, 1, x_2383); +x_2385 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2385, 0, x_2); +x_2386 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2386, 0, x_2384); +lean_ctor_set(x_2386, 1, x_2385); +x_2387 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2387, 0, x_2386); +lean_ctor_set(x_2387, 1, x_2381); +x_2388 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2389 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2388, x_2387, x_3, x_4, x_5, x_6, x_2378); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2390 = lean_ctor_get(x_2389, 1); +lean_inc(x_2390); +lean_dec(x_2389); +x_2391 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2390); return x_2391; } } +} +} else { -lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; uint8_t x_2395; lean_object* x_2396; lean_object* x_2397; -lean_dec(x_2341); -lean_dec(x_2340); -x_2392 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2339); +lean_object* x_2418; lean_object* x_2419; lean_object* x_2420; uint8_t x_2421; lean_object* x_2422; lean_object* x_2423; +lean_dec(x_2372); +x_2418 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2371); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2393 = lean_ctor_get(x_2392, 1); -lean_inc(x_2393); -if (lean_is_exclusive(x_2392)) { - lean_ctor_release(x_2392, 0); - lean_ctor_release(x_2392, 1); - x_2394 = x_2392; +x_2419 = lean_ctor_get(x_2418, 1); +lean_inc(x_2419); +if (lean_is_exclusive(x_2418)) { + lean_ctor_release(x_2418, 0); + lean_ctor_release(x_2418, 1); + x_2420 = x_2418; } else { - lean_dec_ref(x_2392); - x_2394 = lean_box(0); + lean_dec_ref(x_2418); + x_2420 = lean_box(0); } -x_2395 = 1; -x_2396 = lean_box(x_2395); -if (lean_is_scalar(x_2394)) { - x_2397 = lean_alloc_ctor(0, 2, 0); +x_2421 = 1; +x_2422 = lean_box(x_2421); +if (lean_is_scalar(x_2420)) { + x_2423 = lean_alloc_ctor(0, 2, 0); } else { - x_2397 = x_2394; + x_2423 = x_2420; } -lean_ctor_set(x_2397, 0, x_2396); -lean_ctor_set(x_2397, 1, x_2393); -return x_2397; +lean_ctor_set(x_2423, 0, x_2422); +lean_ctor_set(x_2423, 1, x_2419); +return x_2423; +} +} +else +{ +lean_object* x_2424; lean_object* x_2425; lean_object* x_2426; uint8_t x_2427; lean_object* x_2428; lean_object* x_2429; +lean_dec(x_2373); +lean_dec(x_2372); +x_2424 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2371); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2425 = lean_ctor_get(x_2424, 1); +lean_inc(x_2425); +if (lean_is_exclusive(x_2424)) { + lean_ctor_release(x_2424, 0); + lean_ctor_release(x_2424, 1); + x_2426 = x_2424; +} else { + lean_dec_ref(x_2424); + x_2426 = lean_box(0); +} +x_2427 = 1; +x_2428 = lean_box(x_2427); +if (lean_is_scalar(x_2426)) { + x_2429 = lean_alloc_ctor(0, 2, 0); +} else { + x_2429 = x_2426; +} +lean_ctor_set(x_2429, 0, x_2428); +lean_ctor_set(x_2429, 1, x_2425); +return x_2429; } } } } else { -uint8_t x_2398; +uint8_t x_2430; 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_2398 = !lean_is_exclusive(x_2190); -if (x_2398 == 0) +x_2430 = !lean_is_exclusive(x_2222); +if (x_2430 == 0) { -return x_2190; +return x_2222; } else { -lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; -x_2399 = lean_ctor_get(x_2190, 0); -x_2400 = lean_ctor_get(x_2190, 1); -lean_inc(x_2400); -lean_inc(x_2399); -lean_dec(x_2190); -x_2401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2401, 0, x_2399); -lean_ctor_set(x_2401, 1, x_2400); -return x_2401; +lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; +x_2431 = lean_ctor_get(x_2222, 0); +x_2432 = lean_ctor_get(x_2222, 1); +lean_inc(x_2432); +lean_inc(x_2431); +lean_dec(x_2222); +x_2433 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2433, 0, x_2431); +lean_ctor_set(x_2433, 1, x_2432); +return x_2433; } } } } else { -lean_object* x_2402; lean_object* x_2403; uint8_t x_2404; uint8_t x_2405; uint8_t x_2406; -x_2402 = lean_ctor_get(x_2179, 0); -x_2403 = lean_ctor_get(x_2179, 1); -lean_inc(x_2403); -lean_inc(x_2402); -lean_dec(x_2179); -x_2404 = 2; -x_2405 = lean_unbox(x_2402); -x_2406 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2405, x_2404); -if (x_2406 == 0) +lean_object* x_2434; lean_object* x_2435; uint8_t x_2436; uint8_t x_2437; uint8_t x_2438; +x_2434 = lean_ctor_get(x_2211, 0); +x_2435 = lean_ctor_get(x_2211, 1); +lean_inc(x_2435); +lean_inc(x_2434); +lean_dec(x_2211); +x_2436 = 2; +x_2437 = lean_unbox(x_2434); +x_2438 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2437, x_2436); +if (x_2438 == 0) { -uint8_t x_2407; uint8_t x_2408; uint8_t x_2409; lean_object* x_2410; lean_object* x_2411; +uint8_t x_2439; uint8_t x_2440; uint8_t x_2441; lean_object* x_2442; lean_object* x_2443; 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_2407 = 1; -x_2408 = lean_unbox(x_2402); -lean_dec(x_2402); -x_2409 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2408, x_2407); -x_2410 = lean_box(x_2409); -x_2411 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2411, 0, x_2410); -lean_ctor_set(x_2411, 1, x_2403); -return x_2411; +x_2439 = 1; +x_2440 = lean_unbox(x_2434); +lean_dec(x_2434); +x_2441 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2440, x_2439); +x_2442 = lean_box(x_2441); +x_2443 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2443, 0, x_2442); +lean_ctor_set(x_2443, 1, x_2435); +return x_2443; } else { -lean_object* x_2412; -lean_dec(x_2402); +lean_object* x_2444; +lean_dec(x_2434); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_2412 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2403); -if (lean_obj_tag(x_2412) == 0) +x_2444 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2435); +if (lean_obj_tag(x_2444) == 0) { -lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; uint8_t x_2416; uint8_t x_2417; -x_2413 = lean_ctor_get(x_2412, 0); -lean_inc(x_2413); -x_2414 = lean_ctor_get(x_2412, 1); -lean_inc(x_2414); -if (lean_is_exclusive(x_2412)) { - lean_ctor_release(x_2412, 0); - lean_ctor_release(x_2412, 1); - x_2415 = x_2412; +lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; uint8_t x_2448; uint8_t x_2449; +x_2445 = lean_ctor_get(x_2444, 0); +lean_inc(x_2445); +x_2446 = lean_ctor_get(x_2444, 1); +lean_inc(x_2446); +if (lean_is_exclusive(x_2444)) { + lean_ctor_release(x_2444, 0); + lean_ctor_release(x_2444, 1); + x_2447 = x_2444; } else { - lean_dec_ref(x_2412); - x_2415 = lean_box(0); + lean_dec_ref(x_2444); + x_2447 = lean_box(0); } -x_2416 = lean_unbox(x_2413); -x_2417 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2416, x_2404); -if (x_2417 == 0) +x_2448 = lean_unbox(x_2445); +x_2449 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2448, x_2436); +if (x_2449 == 0) { -uint8_t x_2418; uint8_t x_2419; uint8_t x_2420; lean_object* x_2421; lean_object* x_2422; +uint8_t x_2450; uint8_t x_2451; uint8_t x_2452; lean_object* x_2453; lean_object* x_2454; 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_2418 = 1; -x_2419 = lean_unbox(x_2413); -lean_dec(x_2413); -x_2420 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2419, x_2418); -x_2421 = lean_box(x_2420); -if (lean_is_scalar(x_2415)) { - x_2422 = lean_alloc_ctor(0, 2, 0); +x_2450 = 1; +x_2451 = lean_unbox(x_2445); +lean_dec(x_2445); +x_2452 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2451, x_2450); +x_2453 = lean_box(x_2452); +if (lean_is_scalar(x_2447)) { + x_2454 = lean_alloc_ctor(0, 2, 0); } else { - x_2422 = x_2415; + x_2454 = x_2447; } -lean_ctor_set(x_2422, 0, x_2421); -lean_ctor_set(x_2422, 1, x_2414); -return x_2422; +lean_ctor_set(x_2454, 0, x_2453); +lean_ctor_set(x_2454, 1, x_2446); +return x_2454; } else { -lean_object* x_2423; lean_object* x_2424; lean_object* x_2425; lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; lean_object* x_2429; uint8_t x_2430; -lean_dec(x_2415); -lean_dec(x_2413); -x_2423 = lean_st_ref_get(x_6, x_2414); -x_2424 = lean_ctor_get(x_2423, 1); -lean_inc(x_2424); -lean_dec(x_2423); -x_2425 = lean_st_ref_get(x_4, x_2424); -x_2426 = lean_ctor_get(x_2425, 0); -lean_inc(x_2426); -x_2427 = lean_ctor_get(x_2425, 1); -lean_inc(x_2427); -if (lean_is_exclusive(x_2425)) { - lean_ctor_release(x_2425, 0); - lean_ctor_release(x_2425, 1); - x_2428 = x_2425; -} else { - lean_dec_ref(x_2425); - x_2428 = lean_box(0); -} -x_2429 = lean_ctor_get(x_2426, 0); -lean_inc(x_2429); -lean_dec(x_2426); -lean_inc(x_2429); -x_2430 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2429, x_1); -if (x_2430 == 0) -{ -uint8_t x_2431; -x_2431 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2429, x_2); -if (x_2431 == 0) -{ -lean_object* x_2432; lean_object* x_2462; uint8_t x_2463; -x_2462 = lean_ctor_get(x_3, 0); -lean_inc(x_2462); -x_2463 = lean_ctor_get_uint8(x_2462, 4); -lean_dec(x_2462); -if (x_2463 == 0) -{ -uint8_t x_2464; lean_object* x_2465; lean_object* x_2466; -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_2464 = 0; -x_2465 = lean_box(x_2464); -if (lean_is_scalar(x_2428)) { - x_2466 = lean_alloc_ctor(0, 2, 0); -} else { - x_2466 = x_2428; -} -lean_ctor_set(x_2466, 0, x_2465); -lean_ctor_set(x_2466, 1, x_2427); -return x_2466; -} -else -{ -uint8_t x_2467; -x_2467 = l_Lean_Level_isMVar(x_1); -if (x_2467 == 0) -{ -uint8_t x_2468; -x_2468 = l_Lean_Level_isMVar(x_2); -if (x_2468 == 0) -{ -uint8_t x_2469; lean_object* x_2470; lean_object* x_2471; -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_2469 = 0; -x_2470 = lean_box(x_2469); -if (lean_is_scalar(x_2428)) { - x_2471 = lean_alloc_ctor(0, 2, 0); -} else { - x_2471 = x_2428; -} -lean_ctor_set(x_2471, 0, x_2470); -lean_ctor_set(x_2471, 1, x_2427); -return x_2471; -} -else -{ -lean_object* x_2472; -lean_dec(x_2428); -x_2472 = lean_box(0); -x_2432 = x_2472; -goto block_2461; -} -} -else -{ -lean_object* x_2473; -lean_dec(x_2428); -x_2473 = lean_box(0); -x_2432 = x_2473; -goto block_2461; -} -} -block_2461: -{ -uint8_t x_2433; lean_object* x_2434; lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; uint8_t x_2452; -lean_dec(x_2432); -x_2449 = lean_st_ref_get(x_6, x_2427); -x_2450 = lean_ctor_get(x_2449, 0); -lean_inc(x_2450); -x_2451 = lean_ctor_get(x_2450, 3); -lean_inc(x_2451); -lean_dec(x_2450); -x_2452 = lean_ctor_get_uint8(x_2451, sizeof(void*)*1); -lean_dec(x_2451); -if (x_2452 == 0) -{ -lean_object* x_2453; uint8_t x_2454; -x_2453 = lean_ctor_get(x_2449, 1); -lean_inc(x_2453); -lean_dec(x_2449); -x_2454 = 0; -x_2433 = x_2454; -x_2434 = x_2453; -goto block_2448; -} -else -{ -lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; uint8_t x_2460; -x_2455 = lean_ctor_get(x_2449, 1); -lean_inc(x_2455); -lean_dec(x_2449); -x_2456 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2457 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2456, x_3, x_4, x_5, x_6, x_2455); +lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; uint8_t x_2462; +lean_dec(x_2447); +lean_dec(x_2445); +x_2455 = lean_st_ref_get(x_6, x_2446); +x_2456 = lean_ctor_get(x_2455, 1); +lean_inc(x_2456); +lean_dec(x_2455); +x_2457 = lean_st_ref_get(x_4, x_2456); x_2458 = lean_ctor_get(x_2457, 0); lean_inc(x_2458); x_2459 = lean_ctor_get(x_2457, 1); lean_inc(x_2459); -lean_dec(x_2457); -x_2460 = lean_unbox(x_2458); -lean_dec(x_2458); -x_2433 = x_2460; -x_2434 = x_2459; -goto block_2448; +if (lean_is_exclusive(x_2457)) { + lean_ctor_release(x_2457, 0); + lean_ctor_release(x_2457, 1); + x_2460 = x_2457; +} else { + lean_dec_ref(x_2457); + x_2460 = lean_box(0); } -block_2448: +x_2461 = lean_ctor_get(x_2458, 0); +lean_inc(x_2461); +lean_dec(x_2458); +lean_inc(x_2461); +x_2462 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2461, x_1); +if (x_2462 == 0) { -if (x_2433 == 0) +uint8_t x_2463; +x_2463 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2461, x_2); +if (x_2463 == 0) { -lean_object* x_2435; +lean_object* x_2464; lean_object* x_2494; uint8_t x_2495; +x_2494 = lean_ctor_get(x_3, 0); +lean_inc(x_2494); +x_2495 = lean_ctor_get_uint8(x_2494, 4); +lean_dec(x_2494); +if (x_2495 == 0) +{ +uint8_t x_2496; lean_object* x_2497; lean_object* x_2498; 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_2435 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2434); -return x_2435; +x_2496 = 0; +x_2497 = lean_box(x_2496); +if (lean_is_scalar(x_2460)) { + x_2498 = lean_alloc_ctor(0, 2, 0); +} else { + x_2498 = x_2460; +} +lean_ctor_set(x_2498, 0, x_2497); +lean_ctor_set(x_2498, 1, x_2459); +return x_2498; } else { -lean_object* x_2436; lean_object* x_2437; lean_object* x_2438; lean_object* x_2439; lean_object* x_2440; lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; -x_2436 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2436, 0, x_1); -x_2437 = l_Lean_KernelException_toMessageData___closed__15; -x_2438 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2438, 0, x_2437); -lean_ctor_set(x_2438, 1, x_2436); -x_2439 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2440 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2440, 0, x_2438); -lean_ctor_set(x_2440, 1, x_2439); -x_2441 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2441, 0, x_2); -x_2442 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2442, 0, x_2440); -lean_ctor_set(x_2442, 1, x_2441); -x_2443 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2443, 0, x_2442); -lean_ctor_set(x_2443, 1, x_2437); -x_2444 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2445 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2444, x_2443, x_3, x_4, x_5, x_6, x_2434); +uint8_t x_2499; +x_2499 = l_Lean_Level_isMVar(x_1); +if (x_2499 == 0) +{ +uint8_t x_2500; +x_2500 = l_Lean_Level_isMVar(x_2); +if (x_2500 == 0) +{ +uint8_t x_2501; lean_object* x_2502; lean_object* x_2503; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2446 = lean_ctor_get(x_2445, 1); -lean_inc(x_2446); -lean_dec(x_2445); -x_2447 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2446); -return x_2447; +lean_dec(x_2); +lean_dec(x_1); +x_2501 = 0; +x_2502 = lean_box(x_2501); +if (lean_is_scalar(x_2460)) { + x_2503 = lean_alloc_ctor(0, 2, 0); +} else { + x_2503 = x_2460; } +lean_ctor_set(x_2503, 0, x_2502); +lean_ctor_set(x_2503, 1, x_2459); +return x_2503; } +else +{ +lean_object* x_2504; +lean_dec(x_2460); +x_2504 = lean_box(0); +x_2464 = x_2504; +goto block_2493; } } else { -lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; uint8_t x_2477; lean_object* x_2478; lean_object* x_2479; -lean_dec(x_2428); -x_2474 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2427); +lean_object* x_2505; +lean_dec(x_2460); +x_2505 = lean_box(0); +x_2464 = x_2505; +goto block_2493; +} +} +block_2493: +{ +uint8_t x_2465; lean_object* x_2466; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; uint8_t x_2484; +lean_dec(x_2464); +x_2481 = lean_st_ref_get(x_6, x_2459); +x_2482 = lean_ctor_get(x_2481, 0); +lean_inc(x_2482); +x_2483 = lean_ctor_get(x_2482, 3); +lean_inc(x_2483); +lean_dec(x_2482); +x_2484 = lean_ctor_get_uint8(x_2483, sizeof(void*)*1); +lean_dec(x_2483); +if (x_2484 == 0) +{ +lean_object* x_2485; uint8_t x_2486; +x_2485 = lean_ctor_get(x_2481, 1); +lean_inc(x_2485); +lean_dec(x_2481); +x_2486 = 0; +x_2465 = x_2486; +x_2466 = x_2485; +goto block_2480; +} +else +{ +lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; uint8_t x_2492; +x_2487 = lean_ctor_get(x_2481, 1); +lean_inc(x_2487); +lean_dec(x_2481); +x_2488 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2489 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2488, x_3, x_4, x_5, x_6, x_2487); +x_2490 = lean_ctor_get(x_2489, 0); +lean_inc(x_2490); +x_2491 = lean_ctor_get(x_2489, 1); +lean_inc(x_2491); +lean_dec(x_2489); +x_2492 = lean_unbox(x_2490); +lean_dec(x_2490); +x_2465 = x_2492; +x_2466 = x_2491; +goto block_2480; +} +block_2480: +{ +if (x_2465 == 0) +{ +lean_object* x_2467; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2475 = lean_ctor_get(x_2474, 1); -lean_inc(x_2475); -if (lean_is_exclusive(x_2474)) { - lean_ctor_release(x_2474, 0); - lean_ctor_release(x_2474, 1); - x_2476 = x_2474; -} else { - lean_dec_ref(x_2474); - x_2476 = lean_box(0); +lean_dec(x_2); +lean_dec(x_1); +x_2467 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2466); +return x_2467; } -x_2477 = 1; -x_2478 = lean_box(x_2477); -if (lean_is_scalar(x_2476)) { - x_2479 = lean_alloc_ctor(0, 2, 0); -} else { - x_2479 = x_2476; -} -lean_ctor_set(x_2479, 0, x_2478); -lean_ctor_set(x_2479, 1, x_2475); +else +{ +lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; +x_2468 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2468, 0, x_1); +x_2469 = l_Lean_KernelException_toMessageData___closed__15; +x_2470 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2470, 0, x_2469); +lean_ctor_set(x_2470, 1, x_2468); +x_2471 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2472 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2472, 0, x_2470); +lean_ctor_set(x_2472, 1, x_2471); +x_2473 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2473, 0, x_2); +x_2474 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2474, 0, x_2472); +lean_ctor_set(x_2474, 1, x_2473); +x_2475 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2475, 0, x_2474); +lean_ctor_set(x_2475, 1, x_2469); +x_2476 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2477 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2476, x_2475, x_3, x_4, x_5, x_6, x_2466); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2478 = lean_ctor_get(x_2477, 1); +lean_inc(x_2478); +lean_dec(x_2477); +x_2479 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2478); return x_2479; } } +} +} else { -lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; uint8_t x_2483; lean_object* x_2484; lean_object* x_2485; -lean_dec(x_2429); -lean_dec(x_2428); -x_2480 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2427); +lean_object* x_2506; lean_object* x_2507; lean_object* x_2508; uint8_t x_2509; lean_object* x_2510; lean_object* x_2511; +lean_dec(x_2460); +x_2506 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2459); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2481 = lean_ctor_get(x_2480, 1); -lean_inc(x_2481); -if (lean_is_exclusive(x_2480)) { - lean_ctor_release(x_2480, 0); - lean_ctor_release(x_2480, 1); - x_2482 = x_2480; -} else { - lean_dec_ref(x_2480); - x_2482 = lean_box(0); -} -x_2483 = 1; -x_2484 = lean_box(x_2483); -if (lean_is_scalar(x_2482)) { - x_2485 = lean_alloc_ctor(0, 2, 0); -} else { - x_2485 = x_2482; -} -lean_ctor_set(x_2485, 0, x_2484); -lean_ctor_set(x_2485, 1, x_2481); -return x_2485; -} -} -} -else -{ -lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; -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_2486 = lean_ctor_get(x_2412, 0); -lean_inc(x_2486); -x_2487 = lean_ctor_get(x_2412, 1); -lean_inc(x_2487); -if (lean_is_exclusive(x_2412)) { - lean_ctor_release(x_2412, 0); - lean_ctor_release(x_2412, 1); - x_2488 = x_2412; -} else { - lean_dec_ref(x_2412); - x_2488 = lean_box(0); -} -if (lean_is_scalar(x_2488)) { - x_2489 = lean_alloc_ctor(1, 2, 0); -} else { - x_2489 = x_2488; -} -lean_ctor_set(x_2489, 0, x_2486); -lean_ctor_set(x_2489, 1, x_2487); -return x_2489; -} -} -} -} -else -{ -uint8_t x_2490; -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_2490 = !lean_is_exclusive(x_2179); -if (x_2490 == 0) -{ -return x_2179; -} -else -{ -lean_object* x_2491; lean_object* x_2492; lean_object* x_2493; -x_2491 = lean_ctor_get(x_2179, 0); -x_2492 = lean_ctor_get(x_2179, 1); -lean_inc(x_2492); -lean_inc(x_2491); -lean_dec(x_2179); -x_2493 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2493, 0, x_2491); -lean_ctor_set(x_2493, 1, x_2492); -return x_2493; -} -} -} -} -} -block_2508: -{ -if (x_2495 == 0) -{ -x_2166 = x_2496; -goto block_2494; -} -else -{ -lean_object* x_2497; lean_object* x_2498; lean_object* x_2499; lean_object* x_2500; lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; lean_object* x_2507; -lean_inc(x_1); -x_2497 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2497, 0, x_1); -x_2498 = l_Lean_KernelException_toMessageData___closed__15; -x_2499 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2499, 0, x_2498); -lean_ctor_set(x_2499, 1, x_2497); -x_2500 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2501 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2501, 0, x_2499); -lean_ctor_set(x_2501, 1, x_2500); -lean_inc(x_2); -x_2502 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2502, 0, x_2); -x_2503 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2503, 0, x_2501); -lean_ctor_set(x_2503, 1, x_2502); -x_2504 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2504, 0, x_2503); -lean_ctor_set(x_2504, 1, x_2498); -x_2505 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_2506 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2505, x_2504, x_3, x_4, x_5, x_6, x_2496); x_2507 = lean_ctor_get(x_2506, 1); lean_inc(x_2507); -lean_dec(x_2506); -x_2166 = x_2507; -goto block_2494; +if (lean_is_exclusive(x_2506)) { + lean_ctor_release(x_2506, 0); + lean_ctor_release(x_2506, 1); + x_2508 = x_2506; +} else { + lean_dec_ref(x_2506); + x_2508 = lean_box(0); +} +x_2509 = 1; +x_2510 = lean_box(x_2509); +if (lean_is_scalar(x_2508)) { + x_2511 = lean_alloc_ctor(0, 2, 0); +} else { + x_2511 = x_2508; +} +lean_ctor_set(x_2511, 0, x_2510); +lean_ctor_set(x_2511, 1, x_2507); +return x_2511; +} +} +else +{ +lean_object* x_2512; lean_object* x_2513; lean_object* x_2514; uint8_t x_2515; lean_object* x_2516; lean_object* x_2517; +lean_dec(x_2461); +lean_dec(x_2460); +x_2512 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2459); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2513 = lean_ctor_get(x_2512, 1); +lean_inc(x_2513); +if (lean_is_exclusive(x_2512)) { + lean_ctor_release(x_2512, 0); + lean_ctor_release(x_2512, 1); + x_2514 = x_2512; +} else { + lean_dec_ref(x_2512); + x_2514 = lean_box(0); +} +x_2515 = 1; +x_2516 = lean_box(x_2515); +if (lean_is_scalar(x_2514)) { + x_2517 = lean_alloc_ctor(0, 2, 0); +} else { + x_2517 = x_2514; +} +lean_ctor_set(x_2517, 0, x_2516); +lean_ctor_set(x_2517, 1, x_2513); +return x_2517; } } } else { -uint8_t x_2521; lean_object* x_2522; lean_object* x_2523; +lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; 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_2521 = 1; -x_2522 = lean_box(x_2521); -x_2523 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2523, 0, x_2522); -lean_ctor_set(x_2523, 1, x_7); -return x_2523; +x_2518 = lean_ctor_get(x_2444, 0); +lean_inc(x_2518); +x_2519 = lean_ctor_get(x_2444, 1); +lean_inc(x_2519); +if (lean_is_exclusive(x_2444)) { + lean_ctor_release(x_2444, 0); + lean_ctor_release(x_2444, 1); + x_2520 = x_2444; +} else { + lean_dec_ref(x_2444); + x_2520 = lean_box(0); +} +if (lean_is_scalar(x_2520)) { + x_2521 = lean_alloc_ctor(1, 2, 0); +} else { + x_2521 = x_2520; +} +lean_ctor_set(x_2521, 0, x_2518); +lean_ctor_set(x_2521, 1, x_2519); +return x_2521; +} +} +} +} +else +{ +uint8_t x_2522; +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_2522 = !lean_is_exclusive(x_2211); +if (x_2522 == 0) +{ +return x_2211; +} +else +{ +lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; +x_2523 = lean_ctor_get(x_2211, 0); +x_2524 = lean_ctor_get(x_2211, 1); +lean_inc(x_2524); +lean_inc(x_2523); +lean_dec(x_2211); +x_2525 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2525, 0, x_2523); +lean_ctor_set(x_2525, 1, x_2524); +return x_2525; +} +} +} +} +} +block_2540: +{ +if (x_2527 == 0) +{ +x_2198 = x_2528; +goto block_2526; +} +else +{ +lean_object* x_2529; lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; lean_object* x_2538; lean_object* x_2539; +lean_inc(x_1); +x_2529 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2529, 0, x_1); +x_2530 = l_Lean_KernelException_toMessageData___closed__15; +x_2531 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2531, 0, x_2530); +lean_ctor_set(x_2531, 1, x_2529); +x_2532 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2533 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2533, 0, x_2531); +lean_ctor_set(x_2533, 1, x_2532); +lean_inc(x_2); +x_2534 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2534, 0, x_2); +x_2535 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2535, 0, x_2533); +lean_ctor_set(x_2535, 1, x_2534); +x_2536 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2536, 0, x_2535); +lean_ctor_set(x_2536, 1, x_2530); +x_2537 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_2538 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2537, x_2536, x_3, x_4, x_5, x_6, x_2528); +x_2539 = lean_ctor_get(x_2538, 1); +lean_inc(x_2539); +lean_dec(x_2538); +x_2198 = x_2539; +goto block_2526; +} +} +} +else +{ +lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; uint8_t x_2556; lean_object* x_2557; lean_object* x_2558; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2553 = lean_unsigned_to_nat(0u); +x_2554 = l_Lean_Level_getOffsetAux(x_1, x_2553); +lean_dec(x_1); +x_2555 = l_Lean_Level_getOffsetAux(x_2, x_2553); +lean_dec(x_2); +x_2556 = lean_nat_dec_eq(x_2554, x_2555); +lean_dec(x_2555); +lean_dec(x_2554); +x_2557 = lean_box(x_2556); +x_2558 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2558, 0, x_2557); +lean_ctor_set(x_2558, 1, x_7); +return x_2558; } } case 3: { -uint8_t x_2524; -x_2524 = lean_level_eq(x_1, x_2); -if (x_2524 == 0) -{ -lean_object* x_2525; uint8_t x_2854; lean_object* x_2855; lean_object* x_2868; lean_object* x_2869; lean_object* x_2870; uint8_t x_2871; -x_2868 = lean_st_ref_get(x_6, x_7); -x_2869 = lean_ctor_get(x_2868, 0); -lean_inc(x_2869); -x_2870 = lean_ctor_get(x_2869, 3); -lean_inc(x_2870); -lean_dec(x_2869); -x_2871 = lean_ctor_get_uint8(x_2870, sizeof(void*)*1); -lean_dec(x_2870); -if (x_2871 == 0) -{ -lean_object* x_2872; uint8_t x_2873; -x_2872 = lean_ctor_get(x_2868, 1); -lean_inc(x_2872); -lean_dec(x_2868); -x_2873 = 0; -x_2854 = x_2873; -x_2855 = x_2872; -goto block_2867; -} -else -{ -lean_object* x_2874; lean_object* x_2875; lean_object* x_2876; lean_object* x_2877; lean_object* x_2878; uint8_t x_2879; -x_2874 = lean_ctor_get(x_2868, 1); -lean_inc(x_2874); -lean_dec(x_2868); -x_2875 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_2876 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2875, x_3, x_4, x_5, x_6, x_2874); -x_2877 = lean_ctor_get(x_2876, 0); -lean_inc(x_2877); -x_2878 = lean_ctor_get(x_2876, 1); -lean_inc(x_2878); -lean_dec(x_2876); -x_2879 = lean_unbox(x_2877); -lean_dec(x_2877); -x_2854 = x_2879; -x_2855 = x_2878; -goto block_2867; -} -block_2853: -{ -lean_object* x_2526; lean_object* x_2527; lean_object* x_2528; lean_object* x_2529; lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; uint8_t x_2534; -lean_inc(x_1); -x_2526 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_2525); -x_2527 = lean_ctor_get(x_2526, 0); -lean_inc(x_2527); -x_2528 = lean_ctor_get(x_2526, 1); -lean_inc(x_2528); -lean_dec(x_2526); -x_2529 = l_Lean_Level_normalize(x_2527); -lean_dec(x_2527); -lean_inc(x_2); -x_2530 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_2528); -x_2531 = lean_ctor_get(x_2530, 0); -lean_inc(x_2531); -x_2532 = lean_ctor_get(x_2530, 1); -lean_inc(x_2532); -lean_dec(x_2530); -x_2533 = l_Lean_Level_normalize(x_2531); -lean_dec(x_2531); -x_2534 = lean_level_eq(x_1, x_2529); -if (x_2534 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_2529; -x_2 = x_2533; -x_7 = x_2532; -goto _start; -} -else -{ -uint8_t x_2536; -x_2536 = lean_level_eq(x_2, x_2533); -if (x_2536 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_2529; -x_2 = x_2533; -x_7 = x_2532; -goto _start; -} -else -{ -lean_object* x_2538; -lean_dec(x_2533); -lean_dec(x_2529); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_2538 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_2532); -if (lean_obj_tag(x_2538) == 0) -{ -uint8_t x_2539; -x_2539 = !lean_is_exclusive(x_2538); -if (x_2539 == 0) -{ -lean_object* x_2540; lean_object* x_2541; uint8_t x_2542; uint8_t x_2543; uint8_t x_2544; -x_2540 = lean_ctor_get(x_2538, 0); -x_2541 = lean_ctor_get(x_2538, 1); -x_2542 = 2; -x_2543 = lean_unbox(x_2540); -x_2544 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2543, x_2542); -if (x_2544 == 0) -{ -uint8_t x_2545; uint8_t x_2546; uint8_t x_2547; lean_object* x_2548; -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_2545 = 1; -x_2546 = lean_unbox(x_2540); -lean_dec(x_2540); -x_2547 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2546, x_2545); -x_2548 = lean_box(x_2547); -lean_ctor_set(x_2538, 0, x_2548); -return x_2538; -} -else -{ -lean_object* x_2549; -lean_free_object(x_2538); -lean_dec(x_2540); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_2549 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2541); -if (lean_obj_tag(x_2549) == 0) -{ -uint8_t x_2550; -x_2550 = !lean_is_exclusive(x_2549); -if (x_2550 == 0) -{ -lean_object* x_2551; lean_object* x_2552; uint8_t x_2553; uint8_t x_2554; -x_2551 = lean_ctor_get(x_2549, 0); -x_2552 = lean_ctor_get(x_2549, 1); -x_2553 = lean_unbox(x_2551); -x_2554 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2553, x_2542); -if (x_2554 == 0) -{ -uint8_t x_2555; uint8_t x_2556; uint8_t x_2557; lean_object* x_2558; -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_2555 = 1; -x_2556 = lean_unbox(x_2551); -lean_dec(x_2551); -x_2557 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2556, x_2555); -x_2558 = lean_box(x_2557); -lean_ctor_set(x_2549, 0, x_2558); -return x_2549; -} -else -{ -lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; uint8_t x_2562; -lean_free_object(x_2549); -lean_dec(x_2551); -x_2559 = lean_st_ref_get(x_6, x_2552); -x_2560 = lean_ctor_get(x_2559, 1); -lean_inc(x_2560); +lean_object* x_2559; lean_object* x_2560; uint8_t x_2561; +x_2559 = l_Lean_Level_getLevelOffset(x_1); +x_2560 = l_Lean_Level_getLevelOffset(x_2); +x_2561 = lean_level_eq(x_2559, x_2560); +lean_dec(x_2560); lean_dec(x_2559); -x_2561 = lean_st_ref_get(x_4, x_2560); -x_2562 = !lean_is_exclusive(x_2561); -if (x_2562 == 0) +if (x_2561 == 0) { -lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; uint8_t x_2566; -x_2563 = lean_ctor_get(x_2561, 0); -x_2564 = lean_ctor_get(x_2561, 1); -x_2565 = lean_ctor_get(x_2563, 0); +lean_object* x_2562; uint8_t x_2891; lean_object* x_2892; lean_object* x_2905; lean_object* x_2906; lean_object* x_2907; uint8_t x_2908; +x_2905 = lean_st_ref_get(x_6, x_7); +x_2906 = lean_ctor_get(x_2905, 0); +lean_inc(x_2906); +x_2907 = lean_ctor_get(x_2906, 3); +lean_inc(x_2907); +lean_dec(x_2906); +x_2908 = lean_ctor_get_uint8(x_2907, sizeof(void*)*1); +lean_dec(x_2907); +if (x_2908 == 0) +{ +lean_object* x_2909; uint8_t x_2910; +x_2909 = lean_ctor_get(x_2905, 1); +lean_inc(x_2909); +lean_dec(x_2905); +x_2910 = 0; +x_2891 = x_2910; +x_2892 = x_2909; +goto block_2904; +} +else +{ +lean_object* x_2911; lean_object* x_2912; lean_object* x_2913; lean_object* x_2914; lean_object* x_2915; uint8_t x_2916; +x_2911 = lean_ctor_get(x_2905, 1); +lean_inc(x_2911); +lean_dec(x_2905); +x_2912 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_2913 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2912, x_3, x_4, x_5, x_6, x_2911); +x_2914 = lean_ctor_get(x_2913, 0); +lean_inc(x_2914); +x_2915 = lean_ctor_get(x_2913, 1); +lean_inc(x_2915); +lean_dec(x_2913); +x_2916 = lean_unbox(x_2914); +lean_dec(x_2914); +x_2891 = x_2916; +x_2892 = x_2915; +goto block_2904; +} +block_2890: +{ +lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; uint8_t x_2571; +lean_inc(x_1); +x_2563 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_2562); +x_2564 = lean_ctor_get(x_2563, 0); +lean_inc(x_2564); +x_2565 = lean_ctor_get(x_2563, 1); lean_inc(x_2565); lean_dec(x_2563); -lean_inc(x_2565); -x_2566 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2565, x_1); -if (x_2566 == 0) +x_2566 = l_Lean_Level_normalize(x_2564); +lean_dec(x_2564); +lean_inc(x_2); +x_2567 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_2565); +x_2568 = lean_ctor_get(x_2567, 0); +lean_inc(x_2568); +x_2569 = lean_ctor_get(x_2567, 1); +lean_inc(x_2569); +lean_dec(x_2567); +x_2570 = l_Lean_Level_normalize(x_2568); +lean_dec(x_2568); +x_2571 = lean_level_eq(x_1, x_2566); +if (x_2571 == 0) { -uint8_t x_2567; -x_2567 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2565, x_2); -if (x_2567 == 0) +lean_dec(x_2); +lean_dec(x_1); +x_1 = x_2566; +x_2 = x_2570; +x_7 = x_2569; +goto _start; +} +else { -lean_object* x_2568; lean_object* x_2598; uint8_t x_2599; -x_2598 = lean_ctor_get(x_3, 0); -lean_inc(x_2598); -x_2599 = lean_ctor_get_uint8(x_2598, 4); -lean_dec(x_2598); +uint8_t x_2573; +x_2573 = lean_level_eq(x_2, x_2570); +if (x_2573 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +x_1 = x_2566; +x_2 = x_2570; +x_7 = x_2569; +goto _start; +} +else +{ +lean_object* x_2575; +lean_dec(x_2570); +lean_dec(x_2566); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_2575 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_2569); +if (lean_obj_tag(x_2575) == 0) +{ +uint8_t x_2576; +x_2576 = !lean_is_exclusive(x_2575); +if (x_2576 == 0) +{ +lean_object* x_2577; lean_object* x_2578; uint8_t x_2579; uint8_t x_2580; uint8_t x_2581; +x_2577 = lean_ctor_get(x_2575, 0); +x_2578 = lean_ctor_get(x_2575, 1); +x_2579 = 2; +x_2580 = lean_unbox(x_2577); +x_2581 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2580, x_2579); +if (x_2581 == 0) +{ +uint8_t x_2582; uint8_t x_2583; uint8_t x_2584; lean_object* x_2585; +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_2582 = 1; +x_2583 = lean_unbox(x_2577); +lean_dec(x_2577); +x_2584 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2583, x_2582); +x_2585 = lean_box(x_2584); +lean_ctor_set(x_2575, 0, x_2585); +return x_2575; +} +else +{ +lean_object* x_2586; +lean_free_object(x_2575); +lean_dec(x_2577); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +lean_inc(x_2); +x_2586 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2578); +if (lean_obj_tag(x_2586) == 0) +{ +uint8_t x_2587; +x_2587 = !lean_is_exclusive(x_2586); +if (x_2587 == 0) +{ +lean_object* x_2588; lean_object* x_2589; uint8_t x_2590; uint8_t x_2591; +x_2588 = lean_ctor_get(x_2586, 0); +x_2589 = lean_ctor_get(x_2586, 1); +x_2590 = lean_unbox(x_2588); +x_2591 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2590, x_2579); +if (x_2591 == 0) +{ +uint8_t x_2592; uint8_t x_2593; uint8_t x_2594; lean_object* x_2595; +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_2592 = 1; +x_2593 = lean_unbox(x_2588); +lean_dec(x_2588); +x_2594 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2593, x_2592); +x_2595 = lean_box(x_2594); +lean_ctor_set(x_2586, 0, x_2595); +return x_2586; +} +else +{ +lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; uint8_t x_2599; +lean_free_object(x_2586); +lean_dec(x_2588); +x_2596 = lean_st_ref_get(x_6, x_2589); +x_2597 = lean_ctor_get(x_2596, 1); +lean_inc(x_2597); +lean_dec(x_2596); +x_2598 = lean_st_ref_get(x_4, x_2597); +x_2599 = !lean_is_exclusive(x_2598); if (x_2599 == 0) { -uint8_t x_2600; lean_object* x_2601; -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_2600 = 0; -x_2601 = lean_box(x_2600); -lean_ctor_set(x_2561, 0, x_2601); -return x_2561; -} -else -{ -uint8_t x_2602; -x_2602 = l_Lean_Level_isMVar(x_1); -if (x_2602 == 0) -{ -uint8_t x_2603; -x_2603 = l_Lean_Level_isMVar(x_2); +lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; uint8_t x_2603; +x_2600 = lean_ctor_get(x_2598, 0); +x_2601 = lean_ctor_get(x_2598, 1); +x_2602 = lean_ctor_get(x_2600, 0); +lean_inc(x_2602); +lean_dec(x_2600); +lean_inc(x_2602); +x_2603 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2602, x_1); if (x_2603 == 0) { -uint8_t x_2604; lean_object* x_2605; +uint8_t x_2604; +x_2604 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2602, x_2); +if (x_2604 == 0) +{ +lean_object* x_2605; lean_object* x_2635; uint8_t x_2636; +x_2635 = lean_ctor_get(x_3, 0); +lean_inc(x_2635); +x_2636 = lean_ctor_get_uint8(x_2635, 4); +lean_dec(x_2635); +if (x_2636 == 0) +{ +uint8_t x_2637; lean_object* x_2638; 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_2604 = 0; -x_2605 = lean_box(x_2604); -lean_ctor_set(x_2561, 0, x_2605); -return x_2561; +x_2637 = 0; +x_2638 = lean_box(x_2637); +lean_ctor_set(x_2598, 0, x_2638); +return x_2598; } else { -lean_object* x_2606; -lean_free_object(x_2561); -x_2606 = lean_box(0); -x_2568 = x_2606; -goto block_2597; -} -} -else +uint8_t x_2639; +x_2639 = l_Lean_Level_isMVar(x_1); +if (x_2639 == 0) { -lean_object* x_2607; -lean_free_object(x_2561); -x_2607 = lean_box(0); -x_2568 = x_2607; -goto block_2597; -} -} -block_2597: +uint8_t x_2640; +x_2640 = l_Lean_Level_isMVar(x_2); +if (x_2640 == 0) { -uint8_t x_2569; lean_object* x_2570; lean_object* x_2585; lean_object* x_2586; lean_object* x_2587; uint8_t x_2588; -lean_dec(x_2568); -x_2585 = lean_st_ref_get(x_6, x_2564); -x_2586 = lean_ctor_get(x_2585, 0); -lean_inc(x_2586); -x_2587 = lean_ctor_get(x_2586, 3); -lean_inc(x_2587); -lean_dec(x_2586); -x_2588 = lean_ctor_get_uint8(x_2587, sizeof(void*)*1); -lean_dec(x_2587); -if (x_2588 == 0) -{ -lean_object* x_2589; uint8_t x_2590; -x_2589 = lean_ctor_get(x_2585, 1); -lean_inc(x_2589); -lean_dec(x_2585); -x_2590 = 0; -x_2569 = x_2590; -x_2570 = x_2589; -goto block_2584; -} -else -{ -lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; uint8_t x_2596; -x_2591 = lean_ctor_get(x_2585, 1); -lean_inc(x_2591); -lean_dec(x_2585); -x_2592 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2593 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2592, x_3, x_4, x_5, x_6, x_2591); -x_2594 = lean_ctor_get(x_2593, 0); -lean_inc(x_2594); -x_2595 = lean_ctor_get(x_2593, 1); -lean_inc(x_2595); -lean_dec(x_2593); -x_2596 = lean_unbox(x_2594); -lean_dec(x_2594); -x_2569 = x_2596; -x_2570 = x_2595; -goto block_2584; -} -block_2584: -{ -if (x_2569 == 0) -{ -lean_object* x_2571; +uint8_t x_2641; lean_object* x_2642; 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_2571 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2570); -return x_2571; +x_2641 = 0; +x_2642 = lean_box(x_2641); +lean_ctor_set(x_2598, 0, x_2642); +return x_2598; } else { -lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; lean_object* x_2575; lean_object* x_2576; lean_object* x_2577; lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; -x_2572 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2572, 0, x_1); -x_2573 = l_Lean_KernelException_toMessageData___closed__15; -x_2574 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2574, 0, x_2573); -lean_ctor_set(x_2574, 1, x_2572); -x_2575 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2576 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2576, 0, x_2574); -lean_ctor_set(x_2576, 1, x_2575); -x_2577 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2577, 0, x_2); -x_2578 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2578, 0, x_2576); -lean_ctor_set(x_2578, 1, x_2577); -x_2579 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2579, 0, x_2578); -lean_ctor_set(x_2579, 1, x_2573); -x_2580 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2581 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2580, x_2579, x_3, x_4, x_5, x_6, x_2570); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2582 = lean_ctor_get(x_2581, 1); -lean_inc(x_2582); -lean_dec(x_2581); -x_2583 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2582); -return x_2583; -} -} +lean_object* x_2643; +lean_free_object(x_2598); +x_2643 = lean_box(0); +x_2605 = x_2643; +goto block_2634; } } else { -lean_object* x_2608; uint8_t x_2609; -lean_free_object(x_2561); -x_2608 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2564); +lean_object* x_2644; +lean_free_object(x_2598); +x_2644 = lean_box(0); +x_2605 = x_2644; +goto block_2634; +} +} +block_2634: +{ +uint8_t x_2606; lean_object* x_2607; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; uint8_t x_2625; +lean_dec(x_2605); +x_2622 = lean_st_ref_get(x_6, x_2601); +x_2623 = lean_ctor_get(x_2622, 0); +lean_inc(x_2623); +x_2624 = lean_ctor_get(x_2623, 3); +lean_inc(x_2624); +lean_dec(x_2623); +x_2625 = lean_ctor_get_uint8(x_2624, sizeof(void*)*1); +lean_dec(x_2624); +if (x_2625 == 0) +{ +lean_object* x_2626; uint8_t x_2627; +x_2626 = lean_ctor_get(x_2622, 1); +lean_inc(x_2626); +lean_dec(x_2622); +x_2627 = 0; +x_2606 = x_2627; +x_2607 = x_2626; +goto block_2621; +} +else +{ +lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; lean_object* x_2632; uint8_t x_2633; +x_2628 = lean_ctor_get(x_2622, 1); +lean_inc(x_2628); +lean_dec(x_2622); +x_2629 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2630 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2629, x_3, x_4, x_5, x_6, x_2628); +x_2631 = lean_ctor_get(x_2630, 0); +lean_inc(x_2631); +x_2632 = lean_ctor_get(x_2630, 1); +lean_inc(x_2632); +lean_dec(x_2630); +x_2633 = lean_unbox(x_2631); +lean_dec(x_2631); +x_2606 = x_2633; +x_2607 = x_2632; +goto block_2621; +} +block_2621: +{ +if (x_2606 == 0) +{ +lean_object* x_2608; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2609 = !lean_is_exclusive(x_2608); -if (x_2609 == 0) -{ -lean_object* x_2610; uint8_t x_2611; lean_object* x_2612; -x_2610 = lean_ctor_get(x_2608, 0); -lean_dec(x_2610); -x_2611 = 1; -x_2612 = lean_box(x_2611); -lean_ctor_set(x_2608, 0, x_2612); +lean_dec(x_2); +lean_dec(x_1); +x_2608 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2607); return x_2608; } else { -lean_object* x_2613; uint8_t x_2614; lean_object* x_2615; lean_object* x_2616; -x_2613 = lean_ctor_get(x_2608, 1); -lean_inc(x_2613); -lean_dec(x_2608); -x_2614 = 1; -x_2615 = lean_box(x_2614); -x_2616 = lean_alloc_ctor(0, 2, 0); +lean_object* x_2609; lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; lean_object* x_2615; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; +x_2609 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2609, 0, x_1); +x_2610 = l_Lean_KernelException_toMessageData___closed__15; +x_2611 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2611, 0, x_2610); +lean_ctor_set(x_2611, 1, x_2609); +x_2612 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2613 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2613, 0, x_2611); +lean_ctor_set(x_2613, 1, x_2612); +x_2614 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2614, 0, x_2); +x_2615 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2615, 0, x_2613); +lean_ctor_set(x_2615, 1, x_2614); +x_2616 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_2616, 0, x_2615); -lean_ctor_set(x_2616, 1, x_2613); -return x_2616; -} -} -} -else -{ -lean_object* x_2617; uint8_t x_2618; -lean_dec(x_2565); -lean_free_object(x_2561); -x_2617 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2564); +lean_ctor_set(x_2616, 1, x_2610); +x_2617 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2618 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2617, x_2616, x_3, x_4, x_5, x_6, x_2607); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2618 = !lean_is_exclusive(x_2617); -if (x_2618 == 0) -{ -lean_object* x_2619; uint8_t x_2620; lean_object* x_2621; -x_2619 = lean_ctor_get(x_2617, 0); -lean_dec(x_2619); -x_2620 = 1; -x_2621 = lean_box(x_2620); -lean_ctor_set(x_2617, 0, x_2621); -return x_2617; +x_2619 = lean_ctor_get(x_2618, 1); +lean_inc(x_2619); +lean_dec(x_2618); +x_2620 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2619); +return x_2620; } -else -{ -lean_object* x_2622; uint8_t x_2623; lean_object* x_2624; lean_object* x_2625; -x_2622 = lean_ctor_get(x_2617, 1); -lean_inc(x_2622); -lean_dec(x_2617); -x_2623 = 1; -x_2624 = lean_box(x_2623); -x_2625 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2625, 0, x_2624); -lean_ctor_set(x_2625, 1, x_2622); -return x_2625; } } } else { -lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; uint8_t x_2629; -x_2626 = lean_ctor_get(x_2561, 0); -x_2627 = lean_ctor_get(x_2561, 1); -lean_inc(x_2627); -lean_inc(x_2626); -lean_dec(x_2561); -x_2628 = lean_ctor_get(x_2626, 0); -lean_inc(x_2628); -lean_dec(x_2626); -lean_inc(x_2628); -x_2629 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2628, x_1); -if (x_2629 == 0) -{ -uint8_t x_2630; -x_2630 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2628, x_2); -if (x_2630 == 0) -{ -lean_object* x_2631; lean_object* x_2661; uint8_t x_2662; -x_2661 = lean_ctor_get(x_3, 0); -lean_inc(x_2661); -x_2662 = lean_ctor_get_uint8(x_2661, 4); -lean_dec(x_2661); -if (x_2662 == 0) -{ -uint8_t x_2663; lean_object* x_2664; lean_object* x_2665; +lean_object* x_2645; uint8_t x_2646; +lean_free_object(x_2598); +x_2645 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2601); 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_2663 = 0; -x_2664 = lean_box(x_2663); -x_2665 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2665, 0, x_2664); -lean_ctor_set(x_2665, 1, x_2627); -return x_2665; +x_2646 = !lean_is_exclusive(x_2645); +if (x_2646 == 0) +{ +lean_object* x_2647; uint8_t x_2648; lean_object* x_2649; +x_2647 = lean_ctor_get(x_2645, 0); +lean_dec(x_2647); +x_2648 = 1; +x_2649 = lean_box(x_2648); +lean_ctor_set(x_2645, 0, x_2649); +return x_2645; } else { -uint8_t x_2666; -x_2666 = l_Lean_Level_isMVar(x_1); +lean_object* x_2650; uint8_t x_2651; lean_object* x_2652; lean_object* x_2653; +x_2650 = lean_ctor_get(x_2645, 1); +lean_inc(x_2650); +lean_dec(x_2645); +x_2651 = 1; +x_2652 = lean_box(x_2651); +x_2653 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2653, 0, x_2652); +lean_ctor_set(x_2653, 1, x_2650); +return x_2653; +} +} +} +else +{ +lean_object* x_2654; uint8_t x_2655; +lean_dec(x_2602); +lean_free_object(x_2598); +x_2654 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2601); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2655 = !lean_is_exclusive(x_2654); +if (x_2655 == 0) +{ +lean_object* x_2656; uint8_t x_2657; lean_object* x_2658; +x_2656 = lean_ctor_get(x_2654, 0); +lean_dec(x_2656); +x_2657 = 1; +x_2658 = lean_box(x_2657); +lean_ctor_set(x_2654, 0, x_2658); +return x_2654; +} +else +{ +lean_object* x_2659; uint8_t x_2660; lean_object* x_2661; lean_object* x_2662; +x_2659 = lean_ctor_get(x_2654, 1); +lean_inc(x_2659); +lean_dec(x_2654); +x_2660 = 1; +x_2661 = lean_box(x_2660); +x_2662 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2662, 0, x_2661); +lean_ctor_set(x_2662, 1, x_2659); +return x_2662; +} +} +} +else +{ +lean_object* x_2663; lean_object* x_2664; lean_object* x_2665; uint8_t x_2666; +x_2663 = lean_ctor_get(x_2598, 0); +x_2664 = lean_ctor_get(x_2598, 1); +lean_inc(x_2664); +lean_inc(x_2663); +lean_dec(x_2598); +x_2665 = lean_ctor_get(x_2663, 0); +lean_inc(x_2665); +lean_dec(x_2663); +lean_inc(x_2665); +x_2666 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2665, x_1); if (x_2666 == 0) { uint8_t x_2667; -x_2667 = l_Lean_Level_isMVar(x_2); +x_2667 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2665, x_2); if (x_2667 == 0) { -uint8_t x_2668; lean_object* x_2669; lean_object* x_2670; -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_2668 = 0; -x_2669 = lean_box(x_2668); -x_2670 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2670, 0, x_2669); -lean_ctor_set(x_2670, 1, x_2627); -return x_2670; -} -else -{ -lean_object* x_2671; -x_2671 = lean_box(0); -x_2631 = x_2671; -goto block_2660; -} -} -else -{ -lean_object* x_2672; -x_2672 = lean_box(0); -x_2631 = x_2672; -goto block_2660; -} -} -block_2660: -{ -uint8_t x_2632; lean_object* x_2633; lean_object* x_2648; lean_object* x_2649; lean_object* x_2650; uint8_t x_2651; -lean_dec(x_2631); -x_2648 = lean_st_ref_get(x_6, x_2627); -x_2649 = lean_ctor_get(x_2648, 0); -lean_inc(x_2649); -x_2650 = lean_ctor_get(x_2649, 3); -lean_inc(x_2650); -lean_dec(x_2649); -x_2651 = lean_ctor_get_uint8(x_2650, sizeof(void*)*1); -lean_dec(x_2650); -if (x_2651 == 0) -{ -lean_object* x_2652; uint8_t x_2653; -x_2652 = lean_ctor_get(x_2648, 1); -lean_inc(x_2652); -lean_dec(x_2648); -x_2653 = 0; -x_2632 = x_2653; -x_2633 = x_2652; -goto block_2647; -} -else -{ -lean_object* x_2654; lean_object* x_2655; lean_object* x_2656; lean_object* x_2657; lean_object* x_2658; uint8_t x_2659; -x_2654 = lean_ctor_get(x_2648, 1); -lean_inc(x_2654); -lean_dec(x_2648); -x_2655 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2656 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2655, x_3, x_4, x_5, x_6, x_2654); -x_2657 = lean_ctor_get(x_2656, 0); -lean_inc(x_2657); -x_2658 = lean_ctor_get(x_2656, 1); -lean_inc(x_2658); -lean_dec(x_2656); -x_2659 = lean_unbox(x_2657); -lean_dec(x_2657); -x_2632 = x_2659; -x_2633 = x_2658; -goto block_2647; -} -block_2647: -{ -if (x_2632 == 0) -{ -lean_object* x_2634; -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_2634 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2633); -return x_2634; -} -else -{ -lean_object* x_2635; lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; lean_object* x_2640; lean_object* x_2641; lean_object* x_2642; lean_object* x_2643; lean_object* x_2644; lean_object* x_2645; lean_object* x_2646; -x_2635 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2635, 0, x_1); -x_2636 = l_Lean_KernelException_toMessageData___closed__15; -x_2637 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2637, 0, x_2636); -lean_ctor_set(x_2637, 1, x_2635); -x_2638 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2639 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2639, 0, x_2637); -lean_ctor_set(x_2639, 1, x_2638); -x_2640 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2640, 0, x_2); -x_2641 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2641, 0, x_2639); -lean_ctor_set(x_2641, 1, x_2640); -x_2642 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2642, 0, x_2641); -lean_ctor_set(x_2642, 1, x_2636); -x_2643 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2644 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2643, x_2642, x_3, x_4, x_5, x_6, x_2633); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2645 = lean_ctor_get(x_2644, 1); -lean_inc(x_2645); -lean_dec(x_2644); -x_2646 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2645); -return x_2646; -} -} -} -} -else -{ -lean_object* x_2673; lean_object* x_2674; lean_object* x_2675; uint8_t x_2676; lean_object* x_2677; lean_object* x_2678; -x_2673 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2627); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2674 = lean_ctor_get(x_2673, 1); -lean_inc(x_2674); -if (lean_is_exclusive(x_2673)) { - lean_ctor_release(x_2673, 0); - lean_ctor_release(x_2673, 1); - x_2675 = x_2673; -} else { - lean_dec_ref(x_2673); - x_2675 = lean_box(0); -} -x_2676 = 1; -x_2677 = lean_box(x_2676); -if (lean_is_scalar(x_2675)) { - x_2678 = lean_alloc_ctor(0, 2, 0); -} else { - x_2678 = x_2675; -} -lean_ctor_set(x_2678, 0, x_2677); -lean_ctor_set(x_2678, 1, x_2674); -return x_2678; -} -} -else -{ -lean_object* x_2679; lean_object* x_2680; lean_object* x_2681; uint8_t x_2682; lean_object* x_2683; lean_object* x_2684; -lean_dec(x_2628); -x_2679 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2627); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2680 = lean_ctor_get(x_2679, 1); -lean_inc(x_2680); -if (lean_is_exclusive(x_2679)) { - lean_ctor_release(x_2679, 0); - lean_ctor_release(x_2679, 1); - x_2681 = x_2679; -} else { - lean_dec_ref(x_2679); - x_2681 = lean_box(0); -} -x_2682 = 1; -x_2683 = lean_box(x_2682); -if (lean_is_scalar(x_2681)) { - x_2684 = lean_alloc_ctor(0, 2, 0); -} else { - x_2684 = x_2681; -} -lean_ctor_set(x_2684, 0, x_2683); -lean_ctor_set(x_2684, 1, x_2680); -return x_2684; -} -} -} -} -else -{ -lean_object* x_2685; lean_object* x_2686; uint8_t x_2687; uint8_t x_2688; -x_2685 = lean_ctor_get(x_2549, 0); -x_2686 = lean_ctor_get(x_2549, 1); -lean_inc(x_2686); -lean_inc(x_2685); -lean_dec(x_2549); -x_2687 = lean_unbox(x_2685); -x_2688 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2687, x_2542); -if (x_2688 == 0) -{ -uint8_t x_2689; uint8_t x_2690; uint8_t x_2691; lean_object* x_2692; lean_object* x_2693; -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_2689 = 1; -x_2690 = lean_unbox(x_2685); -lean_dec(x_2685); -x_2691 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2690, x_2689); -x_2692 = lean_box(x_2691); -x_2693 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2693, 0, x_2692); -lean_ctor_set(x_2693, 1, x_2686); -return x_2693; -} -else -{ -lean_object* x_2694; lean_object* x_2695; lean_object* x_2696; lean_object* x_2697; lean_object* x_2698; lean_object* x_2699; lean_object* x_2700; uint8_t x_2701; -lean_dec(x_2685); -x_2694 = lean_st_ref_get(x_6, x_2686); -x_2695 = lean_ctor_get(x_2694, 1); -lean_inc(x_2695); -lean_dec(x_2694); -x_2696 = lean_st_ref_get(x_4, x_2695); -x_2697 = lean_ctor_get(x_2696, 0); -lean_inc(x_2697); -x_2698 = lean_ctor_get(x_2696, 1); +lean_object* x_2668; lean_object* x_2698; uint8_t x_2699; +x_2698 = lean_ctor_get(x_3, 0); lean_inc(x_2698); -if (lean_is_exclusive(x_2696)) { - lean_ctor_release(x_2696, 0); - lean_ctor_release(x_2696, 1); - x_2699 = x_2696; -} else { - lean_dec_ref(x_2696); - x_2699 = lean_box(0); -} -x_2700 = lean_ctor_get(x_2697, 0); -lean_inc(x_2700); -lean_dec(x_2697); -lean_inc(x_2700); -x_2701 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2700, x_1); -if (x_2701 == 0) +x_2699 = lean_ctor_get_uint8(x_2698, 4); +lean_dec(x_2698); +if (x_2699 == 0) { -uint8_t x_2702; -x_2702 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2700, x_2); -if (x_2702 == 0) -{ -lean_object* x_2703; lean_object* x_2733; uint8_t x_2734; -x_2733 = lean_ctor_get(x_3, 0); -lean_inc(x_2733); -x_2734 = lean_ctor_get_uint8(x_2733, 4); -lean_dec(x_2733); -if (x_2734 == 0) -{ -uint8_t x_2735; lean_object* x_2736; lean_object* x_2737; +uint8_t x_2700; lean_object* x_2701; lean_object* x_2702; 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_2735 = 0; -x_2736 = lean_box(x_2735); -if (lean_is_scalar(x_2699)) { - x_2737 = lean_alloc_ctor(0, 2, 0); -} else { - x_2737 = x_2699; -} -lean_ctor_set(x_2737, 0, x_2736); -lean_ctor_set(x_2737, 1, x_2698); -return x_2737; +x_2700 = 0; +x_2701 = lean_box(x_2700); +x_2702 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2702, 0, x_2701); +lean_ctor_set(x_2702, 1, x_2664); +return x_2702; } else { -uint8_t x_2738; -x_2738 = l_Lean_Level_isMVar(x_1); -if (x_2738 == 0) -{ -uint8_t x_2739; -x_2739 = l_Lean_Level_isMVar(x_2); -if (x_2739 == 0) -{ -uint8_t x_2740; lean_object* x_2741; lean_object* x_2742; -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_2740 = 0; -x_2741 = lean_box(x_2740); -if (lean_is_scalar(x_2699)) { - x_2742 = lean_alloc_ctor(0, 2, 0); -} else { - x_2742 = x_2699; -} -lean_ctor_set(x_2742, 0, x_2741); -lean_ctor_set(x_2742, 1, x_2698); -return x_2742; -} -else -{ -lean_object* x_2743; -lean_dec(x_2699); -x_2743 = lean_box(0); -x_2703 = x_2743; -goto block_2732; -} -} -else -{ -lean_object* x_2744; -lean_dec(x_2699); -x_2744 = lean_box(0); -x_2703 = x_2744; -goto block_2732; -} -} -block_2732: -{ -uint8_t x_2704; lean_object* x_2705; lean_object* x_2720; lean_object* x_2721; lean_object* x_2722; uint8_t x_2723; -lean_dec(x_2703); -x_2720 = lean_st_ref_get(x_6, x_2698); -x_2721 = lean_ctor_get(x_2720, 0); -lean_inc(x_2721); -x_2722 = lean_ctor_get(x_2721, 3); -lean_inc(x_2722); -lean_dec(x_2721); -x_2723 = lean_ctor_get_uint8(x_2722, sizeof(void*)*1); -lean_dec(x_2722); -if (x_2723 == 0) -{ -lean_object* x_2724; uint8_t x_2725; -x_2724 = lean_ctor_get(x_2720, 1); -lean_inc(x_2724); -lean_dec(x_2720); -x_2725 = 0; -x_2704 = x_2725; -x_2705 = x_2724; -goto block_2719; -} -else -{ -lean_object* x_2726; lean_object* x_2727; lean_object* x_2728; lean_object* x_2729; lean_object* x_2730; uint8_t x_2731; -x_2726 = lean_ctor_get(x_2720, 1); -lean_inc(x_2726); -lean_dec(x_2720); -x_2727 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2728 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2727, x_3, x_4, x_5, x_6, x_2726); -x_2729 = lean_ctor_get(x_2728, 0); -lean_inc(x_2729); -x_2730 = lean_ctor_get(x_2728, 1); -lean_inc(x_2730); -lean_dec(x_2728); -x_2731 = lean_unbox(x_2729); -lean_dec(x_2729); -x_2704 = x_2731; -x_2705 = x_2730; -goto block_2719; -} -block_2719: +uint8_t x_2703; +x_2703 = l_Lean_Level_isMVar(x_1); +if (x_2703 == 0) { +uint8_t x_2704; +x_2704 = l_Lean_Level_isMVar(x_2); if (x_2704 == 0) { -lean_object* x_2706; +uint8_t x_2705; lean_object* x_2706; lean_object* x_2707; 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_2706 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2705); -return x_2706; +x_2705 = 0; +x_2706 = lean_box(x_2705); +x_2707 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2707, 0, x_2706); +lean_ctor_set(x_2707, 1, x_2664); +return x_2707; } else { -lean_object* x_2707; lean_object* x_2708; lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; lean_object* x_2715; lean_object* x_2716; lean_object* x_2717; lean_object* x_2718; -x_2707 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2707, 0, x_1); -x_2708 = l_Lean_KernelException_toMessageData___closed__15; -x_2709 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2709, 0, x_2708); -lean_ctor_set(x_2709, 1, x_2707); -x_2710 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2711 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2711, 0, x_2709); -lean_ctor_set(x_2711, 1, x_2710); -x_2712 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2712, 0, x_2); -x_2713 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2713, 0, x_2711); -lean_ctor_set(x_2713, 1, x_2712); -x_2714 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2714, 0, x_2713); -lean_ctor_set(x_2714, 1, x_2708); -x_2715 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2716 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2715, x_2714, x_3, x_4, x_5, x_6, x_2705); +lean_object* x_2708; +x_2708 = lean_box(0); +x_2668 = x_2708; +goto block_2697; +} +} +else +{ +lean_object* x_2709; +x_2709 = lean_box(0); +x_2668 = x_2709; +goto block_2697; +} +} +block_2697: +{ +uint8_t x_2669; lean_object* x_2670; lean_object* x_2685; lean_object* x_2686; lean_object* x_2687; uint8_t x_2688; +lean_dec(x_2668); +x_2685 = lean_st_ref_get(x_6, x_2664); +x_2686 = lean_ctor_get(x_2685, 0); +lean_inc(x_2686); +x_2687 = lean_ctor_get(x_2686, 3); +lean_inc(x_2687); +lean_dec(x_2686); +x_2688 = lean_ctor_get_uint8(x_2687, sizeof(void*)*1); +lean_dec(x_2687); +if (x_2688 == 0) +{ +lean_object* x_2689; uint8_t x_2690; +x_2689 = lean_ctor_get(x_2685, 1); +lean_inc(x_2689); +lean_dec(x_2685); +x_2690 = 0; +x_2669 = x_2690; +x_2670 = x_2689; +goto block_2684; +} +else +{ +lean_object* x_2691; lean_object* x_2692; lean_object* x_2693; lean_object* x_2694; lean_object* x_2695; uint8_t x_2696; +x_2691 = lean_ctor_get(x_2685, 1); +lean_inc(x_2691); +lean_dec(x_2685); +x_2692 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2693 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2692, x_3, x_4, x_5, x_6, x_2691); +x_2694 = lean_ctor_get(x_2693, 0); +lean_inc(x_2694); +x_2695 = lean_ctor_get(x_2693, 1); +lean_inc(x_2695); +lean_dec(x_2693); +x_2696 = lean_unbox(x_2694); +lean_dec(x_2694); +x_2669 = x_2696; +x_2670 = x_2695; +goto block_2684; +} +block_2684: +{ +if (x_2669 == 0) +{ +lean_object* x_2671; +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_2671 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2670); +return x_2671; +} +else +{ +lean_object* x_2672; lean_object* x_2673; lean_object* x_2674; lean_object* x_2675; lean_object* x_2676; lean_object* x_2677; lean_object* x_2678; lean_object* x_2679; lean_object* x_2680; lean_object* x_2681; lean_object* x_2682; lean_object* x_2683; +x_2672 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2672, 0, x_1); +x_2673 = l_Lean_KernelException_toMessageData___closed__15; +x_2674 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2674, 0, x_2673); +lean_ctor_set(x_2674, 1, x_2672); +x_2675 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2676 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2676, 0, x_2674); +lean_ctor_set(x_2676, 1, x_2675); +x_2677 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2677, 0, x_2); +x_2678 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2678, 0, x_2676); +lean_ctor_set(x_2678, 1, x_2677); +x_2679 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2679, 0, x_2678); +lean_ctor_set(x_2679, 1, x_2673); +x_2680 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2681 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2680, x_2679, x_3, x_4, x_5, x_6, x_2670); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2682 = lean_ctor_get(x_2681, 1); +lean_inc(x_2682); +lean_dec(x_2681); +x_2683 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2682); +return x_2683; +} +} +} +} +else +{ +lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; uint8_t x_2713; lean_object* x_2714; lean_object* x_2715; +x_2710 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2664); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2711 = lean_ctor_get(x_2710, 1); +lean_inc(x_2711); +if (lean_is_exclusive(x_2710)) { + lean_ctor_release(x_2710, 0); + lean_ctor_release(x_2710, 1); + x_2712 = x_2710; +} else { + lean_dec_ref(x_2710); + x_2712 = lean_box(0); +} +x_2713 = 1; +x_2714 = lean_box(x_2713); +if (lean_is_scalar(x_2712)) { + x_2715 = lean_alloc_ctor(0, 2, 0); +} else { + x_2715 = x_2712; +} +lean_ctor_set(x_2715, 0, x_2714); +lean_ctor_set(x_2715, 1, x_2711); +return x_2715; +} +} +else +{ +lean_object* x_2716; lean_object* x_2717; lean_object* x_2718; uint8_t x_2719; lean_object* x_2720; lean_object* x_2721; +lean_dec(x_2665); +x_2716 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2664); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_2717 = lean_ctor_get(x_2716, 1); lean_inc(x_2717); -lean_dec(x_2716); -x_2718 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2717); -return x_2718; +if (lean_is_exclusive(x_2716)) { + lean_ctor_release(x_2716, 0); + lean_ctor_release(x_2716, 1); + x_2718 = x_2716; +} else { + lean_dec_ref(x_2716); + x_2718 = lean_box(0); +} +x_2719 = 1; +x_2720 = lean_box(x_2719); +if (lean_is_scalar(x_2718)) { + x_2721 = lean_alloc_ctor(0, 2, 0); +} else { + x_2721 = x_2718; +} +lean_ctor_set(x_2721, 0, x_2720); +lean_ctor_set(x_2721, 1, x_2717); +return x_2721; } } } } else { -lean_object* x_2745; lean_object* x_2746; lean_object* x_2747; uint8_t x_2748; lean_object* x_2749; lean_object* x_2750; -lean_dec(x_2699); -x_2745 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2698); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2746 = lean_ctor_get(x_2745, 1); -lean_inc(x_2746); -if (lean_is_exclusive(x_2745)) { - lean_ctor_release(x_2745, 0); - lean_ctor_release(x_2745, 1); - x_2747 = x_2745; -} else { - lean_dec_ref(x_2745); - x_2747 = lean_box(0); -} -x_2748 = 1; -x_2749 = lean_box(x_2748); -if (lean_is_scalar(x_2747)) { - x_2750 = lean_alloc_ctor(0, 2, 0); -} else { - x_2750 = x_2747; -} -lean_ctor_set(x_2750, 0, x_2749); -lean_ctor_set(x_2750, 1, x_2746); -return x_2750; -} -} -else +lean_object* x_2722; lean_object* x_2723; uint8_t x_2724; uint8_t x_2725; +x_2722 = lean_ctor_get(x_2586, 0); +x_2723 = lean_ctor_get(x_2586, 1); +lean_inc(x_2723); +lean_inc(x_2722); +lean_dec(x_2586); +x_2724 = lean_unbox(x_2722); +x_2725 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2724, x_2579); +if (x_2725 == 0) { -lean_object* x_2751; lean_object* x_2752; lean_object* x_2753; uint8_t x_2754; lean_object* x_2755; lean_object* x_2756; -lean_dec(x_2700); -lean_dec(x_2699); -x_2751 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2698); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2752 = lean_ctor_get(x_2751, 1); -lean_inc(x_2752); -if (lean_is_exclusive(x_2751)) { - lean_ctor_release(x_2751, 0); - lean_ctor_release(x_2751, 1); - x_2753 = x_2751; -} else { - lean_dec_ref(x_2751); - x_2753 = lean_box(0); -} -x_2754 = 1; -x_2755 = lean_box(x_2754); -if (lean_is_scalar(x_2753)) { - x_2756 = lean_alloc_ctor(0, 2, 0); -} else { - x_2756 = x_2753; -} -lean_ctor_set(x_2756, 0, x_2755); -lean_ctor_set(x_2756, 1, x_2752); -return x_2756; -} -} -} -} -else -{ -uint8_t x_2757; +uint8_t x_2726; uint8_t x_2727; uint8_t x_2728; lean_object* x_2729; lean_object* x_2730; 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_2757 = !lean_is_exclusive(x_2549); -if (x_2757 == 0) -{ -return x_2549; +x_2726 = 1; +x_2727 = lean_unbox(x_2722); +lean_dec(x_2722); +x_2728 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2727, x_2726); +x_2729 = lean_box(x_2728); +x_2730 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2730, 0, x_2729); +lean_ctor_set(x_2730, 1, x_2723); +return x_2730; } else { -lean_object* x_2758; lean_object* x_2759; lean_object* x_2760; -x_2758 = lean_ctor_get(x_2549, 0); -x_2759 = lean_ctor_get(x_2549, 1); -lean_inc(x_2759); +lean_object* x_2731; lean_object* x_2732; lean_object* x_2733; lean_object* x_2734; lean_object* x_2735; lean_object* x_2736; lean_object* x_2737; uint8_t x_2738; +lean_dec(x_2722); +x_2731 = lean_st_ref_get(x_6, x_2723); +x_2732 = lean_ctor_get(x_2731, 1); +lean_inc(x_2732); +lean_dec(x_2731); +x_2733 = lean_st_ref_get(x_4, x_2732); +x_2734 = lean_ctor_get(x_2733, 0); +lean_inc(x_2734); +x_2735 = lean_ctor_get(x_2733, 1); +lean_inc(x_2735); +if (lean_is_exclusive(x_2733)) { + lean_ctor_release(x_2733, 0); + lean_ctor_release(x_2733, 1); + x_2736 = x_2733; +} else { + lean_dec_ref(x_2733); + x_2736 = lean_box(0); +} +x_2737 = lean_ctor_get(x_2734, 0); +lean_inc(x_2737); +lean_dec(x_2734); +lean_inc(x_2737); +x_2738 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2737, x_1); +if (x_2738 == 0) +{ +uint8_t x_2739; +x_2739 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2737, x_2); +if (x_2739 == 0) +{ +lean_object* x_2740; lean_object* x_2770; uint8_t x_2771; +x_2770 = lean_ctor_get(x_3, 0); +lean_inc(x_2770); +x_2771 = lean_ctor_get_uint8(x_2770, 4); +lean_dec(x_2770); +if (x_2771 == 0) +{ +uint8_t x_2772; lean_object* x_2773; lean_object* x_2774; +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_2772 = 0; +x_2773 = lean_box(x_2772); +if (lean_is_scalar(x_2736)) { + x_2774 = lean_alloc_ctor(0, 2, 0); +} else { + x_2774 = x_2736; +} +lean_ctor_set(x_2774, 0, x_2773); +lean_ctor_set(x_2774, 1, x_2735); +return x_2774; +} +else +{ +uint8_t x_2775; +x_2775 = l_Lean_Level_isMVar(x_1); +if (x_2775 == 0) +{ +uint8_t x_2776; +x_2776 = l_Lean_Level_isMVar(x_2); +if (x_2776 == 0) +{ +uint8_t x_2777; lean_object* x_2778; lean_object* x_2779; +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_2777 = 0; +x_2778 = lean_box(x_2777); +if (lean_is_scalar(x_2736)) { + x_2779 = lean_alloc_ctor(0, 2, 0); +} else { + x_2779 = x_2736; +} +lean_ctor_set(x_2779, 0, x_2778); +lean_ctor_set(x_2779, 1, x_2735); +return x_2779; +} +else +{ +lean_object* x_2780; +lean_dec(x_2736); +x_2780 = lean_box(0); +x_2740 = x_2780; +goto block_2769; +} +} +else +{ +lean_object* x_2781; +lean_dec(x_2736); +x_2781 = lean_box(0); +x_2740 = x_2781; +goto block_2769; +} +} +block_2769: +{ +uint8_t x_2741; lean_object* x_2742; lean_object* x_2757; lean_object* x_2758; lean_object* x_2759; uint8_t x_2760; +lean_dec(x_2740); +x_2757 = lean_st_ref_get(x_6, x_2735); +x_2758 = lean_ctor_get(x_2757, 0); lean_inc(x_2758); -lean_dec(x_2549); -x_2760 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2760, 0, x_2758); -lean_ctor_set(x_2760, 1, x_2759); -return x_2760; -} -} -} +x_2759 = lean_ctor_get(x_2758, 3); +lean_inc(x_2759); +lean_dec(x_2758); +x_2760 = lean_ctor_get_uint8(x_2759, sizeof(void*)*1); +lean_dec(x_2759); +if (x_2760 == 0) +{ +lean_object* x_2761; uint8_t x_2762; +x_2761 = lean_ctor_get(x_2757, 1); +lean_inc(x_2761); +lean_dec(x_2757); +x_2762 = 0; +x_2741 = x_2762; +x_2742 = x_2761; +goto block_2756; } else { -lean_object* x_2761; lean_object* x_2762; uint8_t x_2763; uint8_t x_2764; uint8_t x_2765; -x_2761 = lean_ctor_get(x_2538, 0); -x_2762 = lean_ctor_get(x_2538, 1); -lean_inc(x_2762); -lean_inc(x_2761); -lean_dec(x_2538); -x_2763 = 2; -x_2764 = lean_unbox(x_2761); -x_2765 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2764, x_2763); -if (x_2765 == 0) +lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; lean_object* x_2766; lean_object* x_2767; uint8_t x_2768; +x_2763 = lean_ctor_get(x_2757, 1); +lean_inc(x_2763); +lean_dec(x_2757); +x_2764 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2765 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2764, x_3, x_4, x_5, x_6, x_2763); +x_2766 = lean_ctor_get(x_2765, 0); +lean_inc(x_2766); +x_2767 = lean_ctor_get(x_2765, 1); +lean_inc(x_2767); +lean_dec(x_2765); +x_2768 = lean_unbox(x_2766); +lean_dec(x_2766); +x_2741 = x_2768; +x_2742 = x_2767; +goto block_2756; +} +block_2756: { -uint8_t x_2766; uint8_t x_2767; uint8_t x_2768; lean_object* x_2769; lean_object* x_2770; +if (x_2741 == 0) +{ +lean_object* x_2743; 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_2766 = 1; -x_2767 = lean_unbox(x_2761); -lean_dec(x_2761); -x_2768 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2767, x_2766); -x_2769 = lean_box(x_2768); -x_2770 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2770, 0, x_2769); -lean_ctor_set(x_2770, 1, x_2762); -return x_2770; +x_2743 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2742); +return x_2743; } else { -lean_object* x_2771; -lean_dec(x_2761); +lean_object* x_2744; lean_object* x_2745; lean_object* x_2746; lean_object* x_2747; lean_object* x_2748; lean_object* x_2749; lean_object* x_2750; lean_object* x_2751; lean_object* x_2752; lean_object* x_2753; lean_object* x_2754; lean_object* x_2755; +x_2744 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2744, 0, x_1); +x_2745 = l_Lean_KernelException_toMessageData___closed__15; +x_2746 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2746, 0, x_2745); +lean_ctor_set(x_2746, 1, x_2744); +x_2747 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2748 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2748, 0, x_2746); +lean_ctor_set(x_2748, 1, x_2747); +x_2749 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2749, 0, x_2); +x_2750 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2750, 0, x_2748); +lean_ctor_set(x_2750, 1, x_2749); +x_2751 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2751, 0, x_2750); +lean_ctor_set(x_2751, 1, x_2745); +x_2752 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2753 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2752, x_2751, x_3, x_4, x_5, x_6, x_2742); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2754 = lean_ctor_get(x_2753, 1); +lean_inc(x_2754); +lean_dec(x_2753); +x_2755 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2754); +return x_2755; +} +} +} +} +else +{ +lean_object* x_2782; lean_object* x_2783; lean_object* x_2784; uint8_t x_2785; lean_object* x_2786; lean_object* x_2787; +lean_dec(x_2736); +x_2782 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2735); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2783 = lean_ctor_get(x_2782, 1); +lean_inc(x_2783); +if (lean_is_exclusive(x_2782)) { + lean_ctor_release(x_2782, 0); + lean_ctor_release(x_2782, 1); + x_2784 = x_2782; +} else { + lean_dec_ref(x_2782); + x_2784 = lean_box(0); +} +x_2785 = 1; +x_2786 = lean_box(x_2785); +if (lean_is_scalar(x_2784)) { + x_2787 = lean_alloc_ctor(0, 2, 0); +} else { + x_2787 = x_2784; +} +lean_ctor_set(x_2787, 0, x_2786); +lean_ctor_set(x_2787, 1, x_2783); +return x_2787; +} +} +else +{ +lean_object* x_2788; lean_object* x_2789; lean_object* x_2790; uint8_t x_2791; lean_object* x_2792; lean_object* x_2793; +lean_dec(x_2737); +lean_dec(x_2736); +x_2788 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2735); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2789 = lean_ctor_get(x_2788, 1); +lean_inc(x_2789); +if (lean_is_exclusive(x_2788)) { + lean_ctor_release(x_2788, 0); + lean_ctor_release(x_2788, 1); + x_2790 = x_2788; +} else { + lean_dec_ref(x_2788); + x_2790 = lean_box(0); +} +x_2791 = 1; +x_2792 = lean_box(x_2791); +if (lean_is_scalar(x_2790)) { + x_2793 = lean_alloc_ctor(0, 2, 0); +} else { + x_2793 = x_2790; +} +lean_ctor_set(x_2793, 0, x_2792); +lean_ctor_set(x_2793, 1, x_2789); +return x_2793; +} +} +} +} +else +{ +uint8_t x_2794; +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_2794 = !lean_is_exclusive(x_2586); +if (x_2794 == 0) +{ +return x_2586; +} +else +{ +lean_object* x_2795; lean_object* x_2796; lean_object* x_2797; +x_2795 = lean_ctor_get(x_2586, 0); +x_2796 = lean_ctor_get(x_2586, 1); +lean_inc(x_2796); +lean_inc(x_2795); +lean_dec(x_2586); +x_2797 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2797, 0, x_2795); +lean_ctor_set(x_2797, 1, x_2796); +return x_2797; +} +} +} +} +else +{ +lean_object* x_2798; lean_object* x_2799; uint8_t x_2800; uint8_t x_2801; uint8_t x_2802; +x_2798 = lean_ctor_get(x_2575, 0); +x_2799 = lean_ctor_get(x_2575, 1); +lean_inc(x_2799); +lean_inc(x_2798); +lean_dec(x_2575); +x_2800 = 2; +x_2801 = lean_unbox(x_2798); +x_2802 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2801, x_2800); +if (x_2802 == 0) +{ +uint8_t x_2803; uint8_t x_2804; uint8_t x_2805; lean_object* x_2806; lean_object* x_2807; +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_2803 = 1; +x_2804 = lean_unbox(x_2798); +lean_dec(x_2798); +x_2805 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2804, x_2803); +x_2806 = lean_box(x_2805); +x_2807 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2807, 0, x_2806); +lean_ctor_set(x_2807, 1, x_2799); +return x_2807; +} +else +{ +lean_object* x_2808; +lean_dec(x_2798); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_2771 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2762); -if (lean_obj_tag(x_2771) == 0) +x_2808 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2799); +if (lean_obj_tag(x_2808) == 0) { -lean_object* x_2772; lean_object* x_2773; lean_object* x_2774; uint8_t x_2775; uint8_t x_2776; -x_2772 = lean_ctor_get(x_2771, 0); -lean_inc(x_2772); -x_2773 = lean_ctor_get(x_2771, 1); -lean_inc(x_2773); -if (lean_is_exclusive(x_2771)) { - lean_ctor_release(x_2771, 0); - lean_ctor_release(x_2771, 1); - x_2774 = x_2771; +lean_object* x_2809; lean_object* x_2810; lean_object* x_2811; uint8_t x_2812; uint8_t x_2813; +x_2809 = lean_ctor_get(x_2808, 0); +lean_inc(x_2809); +x_2810 = lean_ctor_get(x_2808, 1); +lean_inc(x_2810); +if (lean_is_exclusive(x_2808)) { + lean_ctor_release(x_2808, 0); + lean_ctor_release(x_2808, 1); + x_2811 = x_2808; } else { - lean_dec_ref(x_2771); - x_2774 = lean_box(0); + lean_dec_ref(x_2808); + x_2811 = lean_box(0); } -x_2775 = lean_unbox(x_2772); -x_2776 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2775, x_2763); -if (x_2776 == 0) +x_2812 = lean_unbox(x_2809); +x_2813 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2812, x_2800); +if (x_2813 == 0) { -uint8_t x_2777; uint8_t x_2778; uint8_t x_2779; lean_object* x_2780; lean_object* x_2781; +uint8_t x_2814; uint8_t x_2815; uint8_t x_2816; lean_object* x_2817; lean_object* x_2818; 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_2777 = 1; -x_2778 = lean_unbox(x_2772); -lean_dec(x_2772); -x_2779 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2778, x_2777); -x_2780 = lean_box(x_2779); -if (lean_is_scalar(x_2774)) { - x_2781 = lean_alloc_ctor(0, 2, 0); +x_2814 = 1; +x_2815 = lean_unbox(x_2809); +lean_dec(x_2809); +x_2816 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2815, x_2814); +x_2817 = lean_box(x_2816); +if (lean_is_scalar(x_2811)) { + x_2818 = lean_alloc_ctor(0, 2, 0); } else { - x_2781 = x_2774; + x_2818 = x_2811; } -lean_ctor_set(x_2781, 0, x_2780); -lean_ctor_set(x_2781, 1, x_2773); -return x_2781; +lean_ctor_set(x_2818, 0, x_2817); +lean_ctor_set(x_2818, 1, x_2810); +return x_2818; } else { -lean_object* x_2782; lean_object* x_2783; lean_object* x_2784; lean_object* x_2785; lean_object* x_2786; lean_object* x_2787; lean_object* x_2788; uint8_t x_2789; -lean_dec(x_2774); -lean_dec(x_2772); -x_2782 = lean_st_ref_get(x_6, x_2773); -x_2783 = lean_ctor_get(x_2782, 1); -lean_inc(x_2783); -lean_dec(x_2782); -x_2784 = lean_st_ref_get(x_4, x_2783); -x_2785 = lean_ctor_get(x_2784, 0); -lean_inc(x_2785); -x_2786 = lean_ctor_get(x_2784, 1); -lean_inc(x_2786); -if (lean_is_exclusive(x_2784)) { - lean_ctor_release(x_2784, 0); - lean_ctor_release(x_2784, 1); - x_2787 = x_2784; +lean_object* x_2819; lean_object* x_2820; lean_object* x_2821; lean_object* x_2822; lean_object* x_2823; lean_object* x_2824; lean_object* x_2825; uint8_t x_2826; +lean_dec(x_2811); +lean_dec(x_2809); +x_2819 = lean_st_ref_get(x_6, x_2810); +x_2820 = lean_ctor_get(x_2819, 1); +lean_inc(x_2820); +lean_dec(x_2819); +x_2821 = lean_st_ref_get(x_4, x_2820); +x_2822 = lean_ctor_get(x_2821, 0); +lean_inc(x_2822); +x_2823 = lean_ctor_get(x_2821, 1); +lean_inc(x_2823); +if (lean_is_exclusive(x_2821)) { + lean_ctor_release(x_2821, 0); + lean_ctor_release(x_2821, 1); + x_2824 = x_2821; } else { - lean_dec_ref(x_2784); - x_2787 = lean_box(0); + lean_dec_ref(x_2821); + x_2824 = lean_box(0); } -x_2788 = lean_ctor_get(x_2785, 0); -lean_inc(x_2788); -lean_dec(x_2785); -lean_inc(x_2788); -x_2789 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2788, x_1); -if (x_2789 == 0) -{ -uint8_t x_2790; -x_2790 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2788, x_2); -if (x_2790 == 0) -{ -lean_object* x_2791; lean_object* x_2821; uint8_t x_2822; -x_2821 = lean_ctor_get(x_3, 0); -lean_inc(x_2821); -x_2822 = lean_ctor_get_uint8(x_2821, 4); -lean_dec(x_2821); -if (x_2822 == 0) -{ -uint8_t x_2823; lean_object* x_2824; lean_object* x_2825; -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_2823 = 0; -x_2824 = lean_box(x_2823); -if (lean_is_scalar(x_2787)) { - x_2825 = lean_alloc_ctor(0, 2, 0); -} else { - x_2825 = x_2787; -} -lean_ctor_set(x_2825, 0, x_2824); -lean_ctor_set(x_2825, 1, x_2786); -return x_2825; -} -else -{ -uint8_t x_2826; -x_2826 = l_Lean_Level_isMVar(x_1); +x_2825 = lean_ctor_get(x_2822, 0); +lean_inc(x_2825); +lean_dec(x_2822); +lean_inc(x_2825); +x_2826 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2825, x_1); if (x_2826 == 0) { uint8_t x_2827; -x_2827 = l_Lean_Level_isMVar(x_2); +x_2827 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2825, x_2); if (x_2827 == 0) { -uint8_t x_2828; lean_object* x_2829; lean_object* x_2830; +lean_object* x_2828; lean_object* x_2858; uint8_t x_2859; +x_2858 = lean_ctor_get(x_3, 0); +lean_inc(x_2858); +x_2859 = lean_ctor_get_uint8(x_2858, 4); +lean_dec(x_2858); +if (x_2859 == 0) +{ +uint8_t x_2860; lean_object* x_2861; lean_object* x_2862; 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_2828 = 0; -x_2829 = lean_box(x_2828); -if (lean_is_scalar(x_2787)) { - x_2830 = lean_alloc_ctor(0, 2, 0); +x_2860 = 0; +x_2861 = lean_box(x_2860); +if (lean_is_scalar(x_2824)) { + x_2862 = lean_alloc_ctor(0, 2, 0); } else { - x_2830 = x_2787; + x_2862 = x_2824; } -lean_ctor_set(x_2830, 0, x_2829); -lean_ctor_set(x_2830, 1, x_2786); -return x_2830; +lean_ctor_set(x_2862, 0, x_2861); +lean_ctor_set(x_2862, 1, x_2823); +return x_2862; } else { +uint8_t x_2863; +x_2863 = l_Lean_Level_isMVar(x_1); +if (x_2863 == 0) +{ +uint8_t x_2864; +x_2864 = l_Lean_Level_isMVar(x_2); +if (x_2864 == 0) +{ +uint8_t x_2865; lean_object* x_2866; lean_object* x_2867; +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_2865 = 0; +x_2866 = lean_box(x_2865); +if (lean_is_scalar(x_2824)) { + x_2867 = lean_alloc_ctor(0, 2, 0); +} else { + x_2867 = x_2824; +} +lean_ctor_set(x_2867, 0, x_2866); +lean_ctor_set(x_2867, 1, x_2823); +return x_2867; +} +else +{ +lean_object* x_2868; +lean_dec(x_2824); +x_2868 = lean_box(0); +x_2828 = x_2868; +goto block_2857; +} +} +else +{ +lean_object* x_2869; +lean_dec(x_2824); +x_2869 = lean_box(0); +x_2828 = x_2869; +goto block_2857; +} +} +block_2857: +{ +uint8_t x_2829; lean_object* x_2830; lean_object* x_2845; lean_object* x_2846; lean_object* x_2847; uint8_t x_2848; +lean_dec(x_2828); +x_2845 = lean_st_ref_get(x_6, x_2823); +x_2846 = lean_ctor_get(x_2845, 0); +lean_inc(x_2846); +x_2847 = lean_ctor_get(x_2846, 3); +lean_inc(x_2847); +lean_dec(x_2846); +x_2848 = lean_ctor_get_uint8(x_2847, sizeof(void*)*1); +lean_dec(x_2847); +if (x_2848 == 0) +{ +lean_object* x_2849; uint8_t x_2850; +x_2849 = lean_ctor_get(x_2845, 1); +lean_inc(x_2849); +lean_dec(x_2845); +x_2850 = 0; +x_2829 = x_2850; +x_2830 = x_2849; +goto block_2844; +} +else +{ +lean_object* x_2851; lean_object* x_2852; lean_object* x_2853; lean_object* x_2854; lean_object* x_2855; uint8_t x_2856; +x_2851 = lean_ctor_get(x_2845, 1); +lean_inc(x_2851); +lean_dec(x_2845); +x_2852 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2853 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2852, x_3, x_4, x_5, x_6, x_2851); +x_2854 = lean_ctor_get(x_2853, 0); +lean_inc(x_2854); +x_2855 = lean_ctor_get(x_2853, 1); +lean_inc(x_2855); +lean_dec(x_2853); +x_2856 = lean_unbox(x_2854); +lean_dec(x_2854); +x_2829 = x_2856; +x_2830 = x_2855; +goto block_2844; +} +block_2844: +{ +if (x_2829 == 0) +{ lean_object* x_2831; -lean_dec(x_2787); -x_2831 = lean_box(0); -x_2791 = x_2831; -goto block_2820; -} -} -else -{ -lean_object* x_2832; -lean_dec(x_2787); -x_2832 = lean_box(0); -x_2791 = x_2832; -goto block_2820; -} -} -block_2820: -{ -uint8_t x_2792; lean_object* x_2793; lean_object* x_2808; lean_object* x_2809; lean_object* x_2810; uint8_t x_2811; -lean_dec(x_2791); -x_2808 = lean_st_ref_get(x_6, x_2786); -x_2809 = lean_ctor_get(x_2808, 0); -lean_inc(x_2809); -x_2810 = lean_ctor_get(x_2809, 3); -lean_inc(x_2810); -lean_dec(x_2809); -x_2811 = lean_ctor_get_uint8(x_2810, sizeof(void*)*1); -lean_dec(x_2810); -if (x_2811 == 0) -{ -lean_object* x_2812; uint8_t x_2813; -x_2812 = lean_ctor_get(x_2808, 1); -lean_inc(x_2812); -lean_dec(x_2808); -x_2813 = 0; -x_2792 = x_2813; -x_2793 = x_2812; -goto block_2807; -} -else -{ -lean_object* x_2814; lean_object* x_2815; lean_object* x_2816; lean_object* x_2817; lean_object* x_2818; uint8_t x_2819; -x_2814 = lean_ctor_get(x_2808, 1); -lean_inc(x_2814); -lean_dec(x_2808); -x_2815 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2816 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2815, x_3, x_4, x_5, x_6, x_2814); -x_2817 = lean_ctor_get(x_2816, 0); -lean_inc(x_2817); -x_2818 = lean_ctor_get(x_2816, 1); -lean_inc(x_2818); -lean_dec(x_2816); -x_2819 = lean_unbox(x_2817); -lean_dec(x_2817); -x_2792 = x_2819; -x_2793 = x_2818; -goto block_2807; -} -block_2807: -{ -if (x_2792 == 0) -{ -lean_object* x_2794; 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_2794 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2793); -return x_2794; +x_2831 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2830); +return x_2831; } else { -lean_object* x_2795; lean_object* x_2796; lean_object* x_2797; lean_object* x_2798; lean_object* x_2799; lean_object* x_2800; lean_object* x_2801; lean_object* x_2802; lean_object* x_2803; lean_object* x_2804; lean_object* x_2805; lean_object* x_2806; -x_2795 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2795, 0, x_1); -x_2796 = l_Lean_KernelException_toMessageData___closed__15; -x_2797 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2797, 0, x_2796); -lean_ctor_set(x_2797, 1, x_2795); -x_2798 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2799 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2799, 0, x_2797); -lean_ctor_set(x_2799, 1, x_2798); -x_2800 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2800, 0, x_2); -x_2801 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2801, 0, x_2799); -lean_ctor_set(x_2801, 1, x_2800); -x_2802 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2802, 0, x_2801); -lean_ctor_set(x_2802, 1, x_2796); -x_2803 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2804 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2803, x_2802, x_3, x_4, x_5, x_6, x_2793); +lean_object* x_2832; lean_object* x_2833; lean_object* x_2834; lean_object* x_2835; lean_object* x_2836; lean_object* x_2837; lean_object* x_2838; lean_object* x_2839; lean_object* x_2840; lean_object* x_2841; lean_object* x_2842; lean_object* x_2843; +x_2832 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2832, 0, x_1); +x_2833 = l_Lean_KernelException_toMessageData___closed__15; +x_2834 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2834, 0, x_2833); +lean_ctor_set(x_2834, 1, x_2832); +x_2835 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2836 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2836, 0, x_2834); +lean_ctor_set(x_2836, 1, x_2835); +x_2837 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2837, 0, x_2); +x_2838 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2838, 0, x_2836); +lean_ctor_set(x_2838, 1, x_2837); +x_2839 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2839, 0, x_2838); +lean_ctor_set(x_2839, 1, x_2833); +x_2840 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2841 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2840, x_2839, x_3, x_4, x_5, x_6, x_2830); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2805 = lean_ctor_get(x_2804, 1); -lean_inc(x_2805); -lean_dec(x_2804); -x_2806 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2805); -return x_2806; +x_2842 = lean_ctor_get(x_2841, 1); +lean_inc(x_2842); +lean_dec(x_2841); +x_2843 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2842); +return x_2843; } } } } else { -lean_object* x_2833; lean_object* x_2834; lean_object* x_2835; uint8_t x_2836; lean_object* x_2837; lean_object* x_2838; -lean_dec(x_2787); -x_2833 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2786); +lean_object* x_2870; lean_object* x_2871; lean_object* x_2872; uint8_t x_2873; lean_object* x_2874; lean_object* x_2875; +lean_dec(x_2824); +x_2870 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2823); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2834 = lean_ctor_get(x_2833, 1); -lean_inc(x_2834); -if (lean_is_exclusive(x_2833)) { - lean_ctor_release(x_2833, 0); - lean_ctor_release(x_2833, 1); - x_2835 = x_2833; +x_2871 = lean_ctor_get(x_2870, 1); +lean_inc(x_2871); +if (lean_is_exclusive(x_2870)) { + lean_ctor_release(x_2870, 0); + lean_ctor_release(x_2870, 1); + x_2872 = x_2870; } else { - lean_dec_ref(x_2833); - x_2835 = lean_box(0); + lean_dec_ref(x_2870); + x_2872 = lean_box(0); } -x_2836 = 1; -x_2837 = lean_box(x_2836); -if (lean_is_scalar(x_2835)) { - x_2838 = lean_alloc_ctor(0, 2, 0); +x_2873 = 1; +x_2874 = lean_box(x_2873); +if (lean_is_scalar(x_2872)) { + x_2875 = lean_alloc_ctor(0, 2, 0); } else { - x_2838 = x_2835; + x_2875 = x_2872; } -lean_ctor_set(x_2838, 0, x_2837); -lean_ctor_set(x_2838, 1, x_2834); -return x_2838; +lean_ctor_set(x_2875, 0, x_2874); +lean_ctor_set(x_2875, 1, x_2871); +return x_2875; } } else { -lean_object* x_2839; lean_object* x_2840; lean_object* x_2841; uint8_t x_2842; lean_object* x_2843; lean_object* x_2844; -lean_dec(x_2788); -lean_dec(x_2787); -x_2839 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2786); +lean_object* x_2876; lean_object* x_2877; lean_object* x_2878; uint8_t x_2879; lean_object* x_2880; lean_object* x_2881; +lean_dec(x_2825); +lean_dec(x_2824); +x_2876 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2823); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2840 = lean_ctor_get(x_2839, 1); -lean_inc(x_2840); -if (lean_is_exclusive(x_2839)) { - lean_ctor_release(x_2839, 0); - lean_ctor_release(x_2839, 1); - x_2841 = x_2839; +x_2877 = lean_ctor_get(x_2876, 1); +lean_inc(x_2877); +if (lean_is_exclusive(x_2876)) { + lean_ctor_release(x_2876, 0); + lean_ctor_release(x_2876, 1); + x_2878 = x_2876; } else { - lean_dec_ref(x_2839); - x_2841 = lean_box(0); + lean_dec_ref(x_2876); + x_2878 = lean_box(0); } -x_2842 = 1; -x_2843 = lean_box(x_2842); -if (lean_is_scalar(x_2841)) { - x_2844 = lean_alloc_ctor(0, 2, 0); +x_2879 = 1; +x_2880 = lean_box(x_2879); +if (lean_is_scalar(x_2878)) { + x_2881 = lean_alloc_ctor(0, 2, 0); } else { - x_2844 = x_2841; + x_2881 = x_2878; } -lean_ctor_set(x_2844, 0, x_2843); -lean_ctor_set(x_2844, 1, x_2840); -return x_2844; +lean_ctor_set(x_2881, 0, x_2880); +lean_ctor_set(x_2881, 1, x_2877); +return x_2881; } } } else { -lean_object* x_2845; lean_object* x_2846; lean_object* x_2847; lean_object* x_2848; +lean_object* x_2882; lean_object* x_2883; lean_object* x_2884; lean_object* x_2885; 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_2845 = lean_ctor_get(x_2771, 0); -lean_inc(x_2845); -x_2846 = lean_ctor_get(x_2771, 1); -lean_inc(x_2846); -if (lean_is_exclusive(x_2771)) { - lean_ctor_release(x_2771, 0); - lean_ctor_release(x_2771, 1); - x_2847 = x_2771; +x_2882 = lean_ctor_get(x_2808, 0); +lean_inc(x_2882); +x_2883 = lean_ctor_get(x_2808, 1); +lean_inc(x_2883); +if (lean_is_exclusive(x_2808)) { + lean_ctor_release(x_2808, 0); + lean_ctor_release(x_2808, 1); + x_2884 = x_2808; } else { - lean_dec_ref(x_2771); - x_2847 = lean_box(0); + lean_dec_ref(x_2808); + x_2884 = lean_box(0); } -if (lean_is_scalar(x_2847)) { - x_2848 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2884)) { + x_2885 = lean_alloc_ctor(1, 2, 0); } else { - x_2848 = x_2847; + x_2885 = x_2884; } -lean_ctor_set(x_2848, 0, x_2845); -lean_ctor_set(x_2848, 1, x_2846); -return x_2848; +lean_ctor_set(x_2885, 0, x_2882); +lean_ctor_set(x_2885, 1, x_2883); +return x_2885; } } } } else { -uint8_t x_2849; +uint8_t x_2886; 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_2849 = !lean_is_exclusive(x_2538); -if (x_2849 == 0) +x_2886 = !lean_is_exclusive(x_2575); +if (x_2886 == 0) { -return x_2538; +return x_2575; } else { -lean_object* x_2850; lean_object* x_2851; lean_object* x_2852; -x_2850 = lean_ctor_get(x_2538, 0); -x_2851 = lean_ctor_get(x_2538, 1); -lean_inc(x_2851); -lean_inc(x_2850); -lean_dec(x_2538); -x_2852 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2852, 0, x_2850); -lean_ctor_set(x_2852, 1, x_2851); -return x_2852; +lean_object* x_2887; lean_object* x_2888; lean_object* x_2889; +x_2887 = lean_ctor_get(x_2575, 0); +x_2888 = lean_ctor_get(x_2575, 1); +lean_inc(x_2888); +lean_inc(x_2887); +lean_dec(x_2575); +x_2889 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2889, 0, x_2887); +lean_ctor_set(x_2889, 1, x_2888); +return x_2889; } } } } } -block_2867: +block_2904: { -if (x_2854 == 0) +if (x_2891 == 0) { -x_2525 = x_2855; -goto block_2853; +x_2562 = x_2892; +goto block_2890; } else { -lean_object* x_2856; lean_object* x_2857; lean_object* x_2858; lean_object* x_2859; lean_object* x_2860; lean_object* x_2861; lean_object* x_2862; lean_object* x_2863; lean_object* x_2864; lean_object* x_2865; lean_object* x_2866; +lean_object* x_2893; lean_object* x_2894; lean_object* x_2895; lean_object* x_2896; lean_object* x_2897; lean_object* x_2898; lean_object* x_2899; lean_object* x_2900; lean_object* x_2901; lean_object* x_2902; lean_object* x_2903; lean_inc(x_1); -x_2856 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2856, 0, x_1); -x_2857 = l_Lean_KernelException_toMessageData___closed__15; -x_2858 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2858, 0, x_2857); -lean_ctor_set(x_2858, 1, x_2856); -x_2859 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2860 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2860, 0, x_2858); -lean_ctor_set(x_2860, 1, x_2859); +x_2893 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2893, 0, x_1); +x_2894 = l_Lean_KernelException_toMessageData___closed__15; +x_2895 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2895, 0, x_2894); +lean_ctor_set(x_2895, 1, x_2893); +x_2896 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2897 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2897, 0, x_2895); +lean_ctor_set(x_2897, 1, x_2896); lean_inc(x_2); -x_2861 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2861, 0, x_2); -x_2862 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2862, 0, x_2860); -lean_ctor_set(x_2862, 1, x_2861); -x_2863 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2863, 0, x_2862); -lean_ctor_set(x_2863, 1, x_2857); -x_2864 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_2865 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2864, x_2863, x_3, x_4, x_5, x_6, x_2855); -x_2866 = lean_ctor_get(x_2865, 1); -lean_inc(x_2866); -lean_dec(x_2865); -x_2525 = x_2866; -goto block_2853; +x_2898 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2898, 0, x_2); +x_2899 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2899, 0, x_2897); +lean_ctor_set(x_2899, 1, x_2898); +x_2900 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2900, 0, x_2899); +lean_ctor_set(x_2900, 1, x_2894); +x_2901 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_2902 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2901, x_2900, x_3, x_4, x_5, x_6, x_2892); +x_2903 = lean_ctor_get(x_2902, 1); +lean_inc(x_2903); +lean_dec(x_2902); +x_2562 = x_2903; +goto block_2890; } } } else { -uint8_t x_2880; lean_object* x_2881; lean_object* x_2882; +lean_object* x_2917; lean_object* x_2918; lean_object* x_2919; uint8_t x_2920; lean_object* x_2921; lean_object* x_2922; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +x_2917 = lean_unsigned_to_nat(0u); +x_2918 = l_Lean_Level_getOffsetAux(x_1, x_2917); lean_dec(x_1); -x_2880 = 1; -x_2881 = lean_box(x_2880); -x_2882 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2882, 0, x_2881); -lean_ctor_set(x_2882, 1, x_7); -return x_2882; +x_2919 = l_Lean_Level_getOffsetAux(x_2, x_2917); +lean_dec(x_2); +x_2920 = lean_nat_dec_eq(x_2918, x_2919); +lean_dec(x_2919); +lean_dec(x_2918); +x_2921 = lean_box(x_2920); +x_2922 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2922, 0, x_2921); +lean_ctor_set(x_2922, 1, x_7); +return x_2922; } } case 4: { -uint8_t x_2883; -x_2883 = lean_level_eq(x_1, x_2); -if (x_2883 == 0) -{ -lean_object* x_2884; uint8_t x_3213; lean_object* x_3214; lean_object* x_3227; lean_object* x_3228; lean_object* x_3229; uint8_t x_3230; -x_3227 = lean_st_ref_get(x_6, x_7); -x_3228 = lean_ctor_get(x_3227, 0); -lean_inc(x_3228); -x_3229 = lean_ctor_get(x_3228, 3); -lean_inc(x_3229); -lean_dec(x_3228); -x_3230 = lean_ctor_get_uint8(x_3229, sizeof(void*)*1); -lean_dec(x_3229); -if (x_3230 == 0) -{ -lean_object* x_3231; uint8_t x_3232; -x_3231 = lean_ctor_get(x_3227, 1); -lean_inc(x_3231); -lean_dec(x_3227); -x_3232 = 0; -x_3213 = x_3232; -x_3214 = x_3231; -goto block_3226; -} -else -{ -lean_object* x_3233; lean_object* x_3234; lean_object* x_3235; lean_object* x_3236; lean_object* x_3237; uint8_t x_3238; -x_3233 = lean_ctor_get(x_3227, 1); -lean_inc(x_3233); -lean_dec(x_3227); -x_3234 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_3235 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3234, x_3, x_4, x_5, x_6, x_3233); -x_3236 = lean_ctor_get(x_3235, 0); -lean_inc(x_3236); -x_3237 = lean_ctor_get(x_3235, 1); -lean_inc(x_3237); -lean_dec(x_3235); -x_3238 = lean_unbox(x_3236); -lean_dec(x_3236); -x_3213 = x_3238; -x_3214 = x_3237; -goto block_3226; -} -block_3212: -{ -lean_object* x_2885; lean_object* x_2886; lean_object* x_2887; lean_object* x_2888; lean_object* x_2889; lean_object* x_2890; lean_object* x_2891; lean_object* x_2892; uint8_t x_2893; -lean_inc(x_1); -x_2885 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_2884); -x_2886 = lean_ctor_get(x_2885, 0); -lean_inc(x_2886); -x_2887 = lean_ctor_get(x_2885, 1); -lean_inc(x_2887); -lean_dec(x_2885); -x_2888 = l_Lean_Level_normalize(x_2886); -lean_dec(x_2886); -lean_inc(x_2); -x_2889 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_2887); -x_2890 = lean_ctor_get(x_2889, 0); -lean_inc(x_2890); -x_2891 = lean_ctor_get(x_2889, 1); -lean_inc(x_2891); -lean_dec(x_2889); -x_2892 = l_Lean_Level_normalize(x_2890); -lean_dec(x_2890); -x_2893 = lean_level_eq(x_1, x_2888); -if (x_2893 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_2888; -x_2 = x_2892; -x_7 = x_2891; -goto _start; -} -else -{ -uint8_t x_2895; -x_2895 = lean_level_eq(x_2, x_2892); -if (x_2895 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_2888; -x_2 = x_2892; -x_7 = x_2891; -goto _start; -} -else -{ -lean_object* x_2897; -lean_dec(x_2892); -lean_dec(x_2888); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_2897 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_2891); -if (lean_obj_tag(x_2897) == 0) -{ -uint8_t x_2898; -x_2898 = !lean_is_exclusive(x_2897); -if (x_2898 == 0) -{ -lean_object* x_2899; lean_object* x_2900; uint8_t x_2901; uint8_t x_2902; uint8_t x_2903; -x_2899 = lean_ctor_get(x_2897, 0); -x_2900 = lean_ctor_get(x_2897, 1); -x_2901 = 2; -x_2902 = lean_unbox(x_2899); -x_2903 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2902, x_2901); -if (x_2903 == 0) -{ -uint8_t x_2904; uint8_t x_2905; uint8_t x_2906; lean_object* x_2907; -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_2904 = 1; -x_2905 = lean_unbox(x_2899); -lean_dec(x_2899); -x_2906 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2905, x_2904); -x_2907 = lean_box(x_2906); -lean_ctor_set(x_2897, 0, x_2907); -return x_2897; -} -else -{ -lean_object* x_2908; -lean_free_object(x_2897); -lean_dec(x_2899); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_2908 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2900); -if (lean_obj_tag(x_2908) == 0) -{ -uint8_t x_2909; -x_2909 = !lean_is_exclusive(x_2908); -if (x_2909 == 0) -{ -lean_object* x_2910; lean_object* x_2911; uint8_t x_2912; uint8_t x_2913; -x_2910 = lean_ctor_get(x_2908, 0); -x_2911 = lean_ctor_get(x_2908, 1); -x_2912 = lean_unbox(x_2910); -x_2913 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2912, x_2901); -if (x_2913 == 0) -{ -uint8_t x_2914; uint8_t x_2915; uint8_t x_2916; lean_object* x_2917; -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_2914 = 1; -x_2915 = lean_unbox(x_2910); -lean_dec(x_2910); -x_2916 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2915, x_2914); -x_2917 = lean_box(x_2916); -lean_ctor_set(x_2908, 0, x_2917); -return x_2908; -} -else -{ -lean_object* x_2918; lean_object* x_2919; lean_object* x_2920; uint8_t x_2921; -lean_free_object(x_2908); -lean_dec(x_2910); -x_2918 = lean_st_ref_get(x_6, x_2911); -x_2919 = lean_ctor_get(x_2918, 1); -lean_inc(x_2919); -lean_dec(x_2918); -x_2920 = lean_st_ref_get(x_4, x_2919); -x_2921 = !lean_is_exclusive(x_2920); -if (x_2921 == 0) -{ -lean_object* x_2922; lean_object* x_2923; lean_object* x_2924; uint8_t x_2925; -x_2922 = lean_ctor_get(x_2920, 0); -x_2923 = lean_ctor_get(x_2920, 1); -x_2924 = lean_ctor_get(x_2922, 0); -lean_inc(x_2924); -lean_dec(x_2922); -lean_inc(x_2924); -x_2925 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2924, x_1); +lean_object* x_2923; lean_object* x_2924; uint8_t x_2925; +x_2923 = l_Lean_Level_getLevelOffset(x_1); +x_2924 = l_Lean_Level_getLevelOffset(x_2); +x_2925 = lean_level_eq(x_2923, x_2924); +lean_dec(x_2924); +lean_dec(x_2923); if (x_2925 == 0) { -uint8_t x_2926; -x_2926 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2924, x_2); -if (x_2926 == 0) +lean_object* x_2926; uint8_t x_3255; lean_object* x_3256; lean_object* x_3269; lean_object* x_3270; lean_object* x_3271; uint8_t x_3272; +x_3269 = lean_st_ref_get(x_6, x_7); +x_3270 = lean_ctor_get(x_3269, 0); +lean_inc(x_3270); +x_3271 = lean_ctor_get(x_3270, 3); +lean_inc(x_3271); +lean_dec(x_3270); +x_3272 = lean_ctor_get_uint8(x_3271, sizeof(void*)*1); +lean_dec(x_3271); +if (x_3272 == 0) { -lean_object* x_2927; lean_object* x_2957; uint8_t x_2958; -x_2957 = lean_ctor_get(x_3, 0); -lean_inc(x_2957); -x_2958 = lean_ctor_get_uint8(x_2957, 4); -lean_dec(x_2957); -if (x_2958 == 0) -{ -uint8_t x_2959; lean_object* x_2960; -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_2959 = 0; -x_2960 = lean_box(x_2959); -lean_ctor_set(x_2920, 0, x_2960); -return x_2920; +lean_object* x_3273; uint8_t x_3274; +x_3273 = lean_ctor_get(x_3269, 1); +lean_inc(x_3273); +lean_dec(x_3269); +x_3274 = 0; +x_3255 = x_3274; +x_3256 = x_3273; +goto block_3268; } else { -uint8_t x_2961; -x_2961 = l_Lean_Level_isMVar(x_1); -if (x_2961 == 0) -{ -uint8_t x_2962; -x_2962 = l_Lean_Level_isMVar(x_2); -if (x_2962 == 0) -{ -uint8_t x_2963; lean_object* x_2964; -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_2963 = 0; -x_2964 = lean_box(x_2963); -lean_ctor_set(x_2920, 0, x_2964); -return x_2920; +lean_object* x_3275; lean_object* x_3276; lean_object* x_3277; lean_object* x_3278; lean_object* x_3279; uint8_t x_3280; +x_3275 = lean_ctor_get(x_3269, 1); +lean_inc(x_3275); +lean_dec(x_3269); +x_3276 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_3277 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3276, x_3, x_4, x_5, x_6, x_3275); +x_3278 = lean_ctor_get(x_3277, 0); +lean_inc(x_3278); +x_3279 = lean_ctor_get(x_3277, 1); +lean_inc(x_3279); +lean_dec(x_3277); +x_3280 = lean_unbox(x_3278); +lean_dec(x_3278); +x_3255 = x_3280; +x_3256 = x_3279; +goto block_3268; } -else +block_3254: { -lean_object* x_2965; -lean_free_object(x_2920); -x_2965 = lean_box(0); -x_2927 = x_2965; -goto block_2956; -} -} -else -{ -lean_object* x_2966; -lean_free_object(x_2920); -x_2966 = lean_box(0); -x_2927 = x_2966; -goto block_2956; -} -} -block_2956: -{ -uint8_t x_2928; lean_object* x_2929; lean_object* x_2944; lean_object* x_2945; lean_object* x_2946; uint8_t x_2947; +lean_object* x_2927; lean_object* x_2928; lean_object* x_2929; lean_object* x_2930; lean_object* x_2931; lean_object* x_2932; lean_object* x_2933; lean_object* x_2934; uint8_t x_2935; +lean_inc(x_1); +x_2927 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_2926); +x_2928 = lean_ctor_get(x_2927, 0); +lean_inc(x_2928); +x_2929 = lean_ctor_get(x_2927, 1); +lean_inc(x_2929); lean_dec(x_2927); -x_2944 = lean_st_ref_get(x_6, x_2923); -x_2945 = lean_ctor_get(x_2944, 0); -lean_inc(x_2945); -x_2946 = lean_ctor_get(x_2945, 3); -lean_inc(x_2946); -lean_dec(x_2945); -x_2947 = lean_ctor_get_uint8(x_2946, sizeof(void*)*1); -lean_dec(x_2946); -if (x_2947 == 0) +x_2930 = l_Lean_Level_normalize(x_2928); +lean_dec(x_2928); +lean_inc(x_2); +x_2931 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_2929); +x_2932 = lean_ctor_get(x_2931, 0); +lean_inc(x_2932); +x_2933 = lean_ctor_get(x_2931, 1); +lean_inc(x_2933); +lean_dec(x_2931); +x_2934 = l_Lean_Level_normalize(x_2932); +lean_dec(x_2932); +x_2935 = lean_level_eq(x_1, x_2930); +if (x_2935 == 0) { -lean_object* x_2948; uint8_t x_2949; -x_2948 = lean_ctor_get(x_2944, 1); -lean_inc(x_2948); -lean_dec(x_2944); -x_2949 = 0; -x_2928 = x_2949; -x_2929 = x_2948; -goto block_2943; +lean_dec(x_2); +lean_dec(x_1); +x_1 = x_2930; +x_2 = x_2934; +x_7 = x_2933; +goto _start; } else { -lean_object* x_2950; lean_object* x_2951; lean_object* x_2952; lean_object* x_2953; lean_object* x_2954; uint8_t x_2955; -x_2950 = lean_ctor_get(x_2944, 1); -lean_inc(x_2950); -lean_dec(x_2944); -x_2951 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2952 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2951, x_3, x_4, x_5, x_6, x_2950); -x_2953 = lean_ctor_get(x_2952, 0); -lean_inc(x_2953); -x_2954 = lean_ctor_get(x_2952, 1); -lean_inc(x_2954); -lean_dec(x_2952); -x_2955 = lean_unbox(x_2953); -lean_dec(x_2953); -x_2928 = x_2955; -x_2929 = x_2954; -goto block_2943; +uint8_t x_2937; +x_2937 = lean_level_eq(x_2, x_2934); +if (x_2937 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +x_1 = x_2930; +x_2 = x_2934; +x_7 = x_2933; +goto _start; } -block_2943: +else { -if (x_2928 == 0) +lean_object* x_2939; +lean_dec(x_2934); +lean_dec(x_2930); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_2939 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_2933); +if (lean_obj_tag(x_2939) == 0) { -lean_object* x_2930; +uint8_t x_2940; +x_2940 = !lean_is_exclusive(x_2939); +if (x_2940 == 0) +{ +lean_object* x_2941; lean_object* x_2942; uint8_t x_2943; uint8_t x_2944; uint8_t x_2945; +x_2941 = lean_ctor_get(x_2939, 0); +x_2942 = lean_ctor_get(x_2939, 1); +x_2943 = 2; +x_2944 = lean_unbox(x_2941); +x_2945 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2944, x_2943); +if (x_2945 == 0) +{ +uint8_t x_2946; uint8_t x_2947; uint8_t x_2948; lean_object* x_2949; 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_2930 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2929); -return x_2930; +x_2946 = 1; +x_2947 = lean_unbox(x_2941); +lean_dec(x_2941); +x_2948 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2947, x_2946); +x_2949 = lean_box(x_2948); +lean_ctor_set(x_2939, 0, x_2949); +return x_2939; } else { -lean_object* x_2931; lean_object* x_2932; lean_object* x_2933; lean_object* x_2934; lean_object* x_2935; lean_object* x_2936; lean_object* x_2937; lean_object* x_2938; lean_object* x_2939; lean_object* x_2940; lean_object* x_2941; lean_object* x_2942; -x_2931 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2931, 0, x_1); -x_2932 = l_Lean_KernelException_toMessageData___closed__15; -x_2933 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2933, 0, x_2932); -lean_ctor_set(x_2933, 1, x_2931); -x_2934 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2935 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2935, 0, x_2933); -lean_ctor_set(x_2935, 1, x_2934); -x_2936 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2936, 0, x_2); -x_2937 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2937, 0, x_2935); -lean_ctor_set(x_2937, 1, x_2936); -x_2938 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2938, 0, x_2937); -lean_ctor_set(x_2938, 1, x_2932); -x_2939 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_2940 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2939, x_2938, x_3, x_4, x_5, x_6, x_2929); +lean_object* x_2950; +lean_free_object(x_2939); +lean_dec(x_2941); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +lean_inc(x_2); +x_2950 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_2942); +if (lean_obj_tag(x_2950) == 0) +{ +uint8_t x_2951; +x_2951 = !lean_is_exclusive(x_2950); +if (x_2951 == 0) +{ +lean_object* x_2952; lean_object* x_2953; uint8_t x_2954; uint8_t x_2955; +x_2952 = lean_ctor_get(x_2950, 0); +x_2953 = lean_ctor_get(x_2950, 1); +x_2954 = lean_unbox(x_2952); +x_2955 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2954, x_2943); +if (x_2955 == 0) +{ +uint8_t x_2956; uint8_t x_2957; uint8_t x_2958; lean_object* x_2959; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2941 = lean_ctor_get(x_2940, 1); -lean_inc(x_2941); -lean_dec(x_2940); -x_2942 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2941); -return x_2942; -} -} -} +lean_dec(x_2); +lean_dec(x_1); +x_2956 = 1; +x_2957 = lean_unbox(x_2952); +lean_dec(x_2952); +x_2958 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_2957, x_2956); +x_2959 = lean_box(x_2958); +lean_ctor_set(x_2950, 0, x_2959); +return x_2950; } else { -lean_object* x_2967; uint8_t x_2968; -lean_free_object(x_2920); -x_2967 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2923); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_2968 = !lean_is_exclusive(x_2967); +lean_object* x_2960; lean_object* x_2961; lean_object* x_2962; uint8_t x_2963; +lean_free_object(x_2950); +lean_dec(x_2952); +x_2960 = lean_st_ref_get(x_6, x_2953); +x_2961 = lean_ctor_get(x_2960, 1); +lean_inc(x_2961); +lean_dec(x_2960); +x_2962 = lean_st_ref_get(x_4, x_2961); +x_2963 = !lean_is_exclusive(x_2962); +if (x_2963 == 0) +{ +lean_object* x_2964; lean_object* x_2965; lean_object* x_2966; uint8_t x_2967; +x_2964 = lean_ctor_get(x_2962, 0); +x_2965 = lean_ctor_get(x_2962, 1); +x_2966 = lean_ctor_get(x_2964, 0); +lean_inc(x_2966); +lean_dec(x_2964); +lean_inc(x_2966); +x_2967 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2966, x_1); +if (x_2967 == 0) +{ +uint8_t x_2968; +x_2968 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2966, x_2); if (x_2968 == 0) { -lean_object* x_2969; uint8_t x_2970; lean_object* x_2971; -x_2969 = lean_ctor_get(x_2967, 0); -lean_dec(x_2969); -x_2970 = 1; -x_2971 = lean_box(x_2970); -lean_ctor_set(x_2967, 0, x_2971); -return x_2967; -} -else +lean_object* x_2969; lean_object* x_2999; uint8_t x_3000; +x_2999 = lean_ctor_get(x_3, 0); +lean_inc(x_2999); +x_3000 = lean_ctor_get_uint8(x_2999, 4); +lean_dec(x_2999); +if (x_3000 == 0) { -lean_object* x_2972; uint8_t x_2973; lean_object* x_2974; lean_object* x_2975; -x_2972 = lean_ctor_get(x_2967, 1); -lean_inc(x_2972); -lean_dec(x_2967); -x_2973 = 1; -x_2974 = lean_box(x_2973); -x_2975 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2975, 0, x_2974); -lean_ctor_set(x_2975, 1, x_2972); -return x_2975; -} -} -} -else -{ -lean_object* x_2976; uint8_t x_2977; -lean_dec(x_2924); -lean_free_object(x_2920); -x_2976 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2923); +uint8_t x_3001; lean_object* x_3002; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_2977 = !lean_is_exclusive(x_2976); -if (x_2977 == 0) -{ -lean_object* x_2978; uint8_t x_2979; lean_object* x_2980; -x_2978 = lean_ctor_get(x_2976, 0); -lean_dec(x_2978); -x_2979 = 1; -x_2980 = lean_box(x_2979); -lean_ctor_set(x_2976, 0, x_2980); -return x_2976; +lean_dec(x_2); +lean_dec(x_1); +x_3001 = 0; +x_3002 = lean_box(x_3001); +lean_ctor_set(x_2962, 0, x_3002); +return x_2962; } else { -lean_object* x_2981; uint8_t x_2982; lean_object* x_2983; lean_object* x_2984; -x_2981 = lean_ctor_get(x_2976, 1); -lean_inc(x_2981); -lean_dec(x_2976); -x_2982 = 1; -x_2983 = lean_box(x_2982); -x_2984 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2984, 0, x_2983); -lean_ctor_set(x_2984, 1, x_2981); +uint8_t x_3003; +x_3003 = l_Lean_Level_isMVar(x_1); +if (x_3003 == 0) +{ +uint8_t x_3004; +x_3004 = l_Lean_Level_isMVar(x_2); +if (x_3004 == 0) +{ +uint8_t x_3005; lean_object* x_3006; +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_3005 = 0; +x_3006 = lean_box(x_3005); +lean_ctor_set(x_2962, 0, x_3006); +return x_2962; +} +else +{ +lean_object* x_3007; +lean_free_object(x_2962); +x_3007 = lean_box(0); +x_2969 = x_3007; +goto block_2998; +} +} +else +{ +lean_object* x_3008; +lean_free_object(x_2962); +x_3008 = lean_box(0); +x_2969 = x_3008; +goto block_2998; +} +} +block_2998: +{ +uint8_t x_2970; lean_object* x_2971; lean_object* x_2986; lean_object* x_2987; lean_object* x_2988; uint8_t x_2989; +lean_dec(x_2969); +x_2986 = lean_st_ref_get(x_6, x_2965); +x_2987 = lean_ctor_get(x_2986, 0); +lean_inc(x_2987); +x_2988 = lean_ctor_get(x_2987, 3); +lean_inc(x_2988); +lean_dec(x_2987); +x_2989 = lean_ctor_get_uint8(x_2988, sizeof(void*)*1); +lean_dec(x_2988); +if (x_2989 == 0) +{ +lean_object* x_2990; uint8_t x_2991; +x_2990 = lean_ctor_get(x_2986, 1); +lean_inc(x_2990); +lean_dec(x_2986); +x_2991 = 0; +x_2970 = x_2991; +x_2971 = x_2990; +goto block_2985; +} +else +{ +lean_object* x_2992; lean_object* x_2993; lean_object* x_2994; lean_object* x_2995; lean_object* x_2996; uint8_t x_2997; +x_2992 = lean_ctor_get(x_2986, 1); +lean_inc(x_2992); +lean_dec(x_2986); +x_2993 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2994 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_2993, x_3, x_4, x_5, x_6, x_2992); +x_2995 = lean_ctor_get(x_2994, 0); +lean_inc(x_2995); +x_2996 = lean_ctor_get(x_2994, 1); +lean_inc(x_2996); +lean_dec(x_2994); +x_2997 = lean_unbox(x_2995); +lean_dec(x_2995); +x_2970 = x_2997; +x_2971 = x_2996; +goto block_2985; +} +block_2985: +{ +if (x_2970 == 0) +{ +lean_object* x_2972; +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_2972 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2971); +return x_2972; +} +else +{ +lean_object* x_2973; lean_object* x_2974; lean_object* x_2975; lean_object* x_2976; lean_object* x_2977; lean_object* x_2978; lean_object* x_2979; lean_object* x_2980; lean_object* x_2981; lean_object* x_2982; lean_object* x_2983; lean_object* x_2984; +x_2973 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2973, 0, x_1); +x_2974 = l_Lean_KernelException_toMessageData___closed__15; +x_2975 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2975, 0, x_2974); +lean_ctor_set(x_2975, 1, x_2973); +x_2976 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_2977 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2977, 0, x_2975); +lean_ctor_set(x_2977, 1, x_2976); +x_2978 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2978, 0, x_2); +x_2979 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2979, 0, x_2977); +lean_ctor_set(x_2979, 1, x_2978); +x_2980 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2980, 0, x_2979); +lean_ctor_set(x_2980, 1, x_2974); +x_2981 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_2982 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_2981, x_2980, x_3, x_4, x_5, x_6, x_2971); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_2983 = lean_ctor_get(x_2982, 1); +lean_inc(x_2983); +lean_dec(x_2982); +x_2984 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2983); return x_2984; } } } +} else { -lean_object* x_2985; lean_object* x_2986; lean_object* x_2987; uint8_t x_2988; -x_2985 = lean_ctor_get(x_2920, 0); -x_2986 = lean_ctor_get(x_2920, 1); -lean_inc(x_2986); -lean_inc(x_2985); -lean_dec(x_2920); -x_2987 = lean_ctor_get(x_2985, 0); -lean_inc(x_2987); -lean_dec(x_2985); -lean_inc(x_2987); -x_2988 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2987, x_1); -if (x_2988 == 0) -{ -uint8_t x_2989; -x_2989 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_2987, x_2); -if (x_2989 == 0) -{ -lean_object* x_2990; lean_object* x_3020; uint8_t x_3021; -x_3020 = lean_ctor_get(x_3, 0); -lean_inc(x_3020); -x_3021 = lean_ctor_get_uint8(x_3020, 4); -lean_dec(x_3020); -if (x_3021 == 0) -{ -uint8_t x_3022; lean_object* x_3023; lean_object* x_3024; +lean_object* x_3009; uint8_t x_3010; +lean_free_object(x_2962); +x_3009 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2965); 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_3022 = 0; -x_3023 = lean_box(x_3022); -x_3024 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3024, 0, x_3023); -lean_ctor_set(x_3024, 1, x_2986); -return x_3024; -} -else -{ -uint8_t x_3025; -x_3025 = l_Lean_Level_isMVar(x_1); -if (x_3025 == 0) -{ -uint8_t x_3026; -x_3026 = l_Lean_Level_isMVar(x_2); -if (x_3026 == 0) -{ -uint8_t x_3027; lean_object* x_3028; lean_object* x_3029; -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_3027 = 0; -x_3028 = lean_box(x_3027); -x_3029 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3029, 0, x_3028); -lean_ctor_set(x_3029, 1, x_2986); -return x_3029; -} -else -{ -lean_object* x_3030; -x_3030 = lean_box(0); -x_2990 = x_3030; -goto block_3019; -} -} -else -{ -lean_object* x_3031; -x_3031 = lean_box(0); -x_2990 = x_3031; -goto block_3019; -} -} -block_3019: -{ -uint8_t x_2991; lean_object* x_2992; lean_object* x_3007; lean_object* x_3008; lean_object* x_3009; uint8_t x_3010; -lean_dec(x_2990); -x_3007 = lean_st_ref_get(x_6, x_2986); -x_3008 = lean_ctor_get(x_3007, 0); -lean_inc(x_3008); -x_3009 = lean_ctor_get(x_3008, 3); -lean_inc(x_3009); -lean_dec(x_3008); -x_3010 = lean_ctor_get_uint8(x_3009, sizeof(void*)*1); -lean_dec(x_3009); +x_3010 = !lean_is_exclusive(x_3009); if (x_3010 == 0) { -lean_object* x_3011; uint8_t x_3012; -x_3011 = lean_ctor_get(x_3007, 1); -lean_inc(x_3011); -lean_dec(x_3007); -x_3012 = 0; -x_2991 = x_3012; -x_2992 = x_3011; -goto block_3006; +lean_object* x_3011; uint8_t x_3012; lean_object* x_3013; +x_3011 = lean_ctor_get(x_3009, 0); +lean_dec(x_3011); +x_3012 = 1; +x_3013 = lean_box(x_3012); +lean_ctor_set(x_3009, 0, x_3013); +return x_3009; } else { -lean_object* x_3013; lean_object* x_3014; lean_object* x_3015; lean_object* x_3016; lean_object* x_3017; uint8_t x_3018; -x_3013 = lean_ctor_get(x_3007, 1); -lean_inc(x_3013); -lean_dec(x_3007); -x_3014 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3015 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3014, x_3, x_4, x_5, x_6, x_3013); -x_3016 = lean_ctor_get(x_3015, 0); -lean_inc(x_3016); -x_3017 = lean_ctor_get(x_3015, 1); -lean_inc(x_3017); -lean_dec(x_3015); -x_3018 = lean_unbox(x_3016); -lean_dec(x_3016); -x_2991 = x_3018; -x_2992 = x_3017; -goto block_3006; +lean_object* x_3014; uint8_t x_3015; lean_object* x_3016; lean_object* x_3017; +x_3014 = lean_ctor_get(x_3009, 1); +lean_inc(x_3014); +lean_dec(x_3009); +x_3015 = 1; +x_3016 = lean_box(x_3015); +x_3017 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3017, 0, x_3016); +lean_ctor_set(x_3017, 1, x_3014); +return x_3017; } -block_3006: +} +} +else { -if (x_2991 == 0) -{ -lean_object* x_2993; +lean_object* x_3018; uint8_t x_3019; +lean_dec(x_2966); +lean_free_object(x_2962); +x_3018 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2965); 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_2993 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_2992); -return x_2993; +x_3019 = !lean_is_exclusive(x_3018); +if (x_3019 == 0) +{ +lean_object* x_3020; uint8_t x_3021; lean_object* x_3022; +x_3020 = lean_ctor_get(x_3018, 0); +lean_dec(x_3020); +x_3021 = 1; +x_3022 = lean_box(x_3021); +lean_ctor_set(x_3018, 0, x_3022); +return x_3018; } else { -lean_object* x_2994; lean_object* x_2995; lean_object* x_2996; lean_object* x_2997; lean_object* x_2998; lean_object* x_2999; lean_object* x_3000; lean_object* x_3001; lean_object* x_3002; lean_object* x_3003; lean_object* x_3004; lean_object* x_3005; -x_2994 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2994, 0, x_1); -x_2995 = l_Lean_KernelException_toMessageData___closed__15; -x_2996 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2996, 0, x_2995); -lean_ctor_set(x_2996, 1, x_2994); -x_2997 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_2998 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2998, 0, x_2996); -lean_ctor_set(x_2998, 1, x_2997); -x_2999 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2999, 0, x_2); -x_3000 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3000, 0, x_2998); -lean_ctor_set(x_3000, 1, x_2999); -x_3001 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3001, 0, x_3000); -lean_ctor_set(x_3001, 1, x_2995); -x_3002 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3003 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3002, x_3001, x_3, x_4, x_5, x_6, x_2992); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3004 = lean_ctor_get(x_3003, 1); -lean_inc(x_3004); -lean_dec(x_3003); -x_3005 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3004); -return x_3005; -} +lean_object* x_3023; uint8_t x_3024; lean_object* x_3025; lean_object* x_3026; +x_3023 = lean_ctor_get(x_3018, 1); +lean_inc(x_3023); +lean_dec(x_3018); +x_3024 = 1; +x_3025 = lean_box(x_3024); +x_3026 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3026, 0, x_3025); +lean_ctor_set(x_3026, 1, x_3023); +return x_3026; } } } else { -lean_object* x_3032; lean_object* x_3033; lean_object* x_3034; uint8_t x_3035; lean_object* x_3036; lean_object* x_3037; -x_3032 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2986); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3033 = lean_ctor_get(x_3032, 1); -lean_inc(x_3033); -if (lean_is_exclusive(x_3032)) { - lean_ctor_release(x_3032, 0); - lean_ctor_release(x_3032, 1); - x_3034 = x_3032; -} else { - lean_dec_ref(x_3032); - x_3034 = lean_box(0); -} -x_3035 = 1; -x_3036 = lean_box(x_3035); -if (lean_is_scalar(x_3034)) { - x_3037 = lean_alloc_ctor(0, 2, 0); -} else { - x_3037 = x_3034; -} -lean_ctor_set(x_3037, 0, x_3036); -lean_ctor_set(x_3037, 1, x_3033); -return x_3037; -} -} -else +lean_object* x_3027; lean_object* x_3028; lean_object* x_3029; uint8_t x_3030; +x_3027 = lean_ctor_get(x_2962, 0); +x_3028 = lean_ctor_get(x_2962, 1); +lean_inc(x_3028); +lean_inc(x_3027); +lean_dec(x_2962); +x_3029 = lean_ctor_get(x_3027, 0); +lean_inc(x_3029); +lean_dec(x_3027); +lean_inc(x_3029); +x_3030 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3029, x_1); +if (x_3030 == 0) { -lean_object* x_3038; lean_object* x_3039; lean_object* x_3040; uint8_t x_3041; lean_object* x_3042; lean_object* x_3043; -lean_dec(x_2987); -x_3038 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_2986); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3039 = lean_ctor_get(x_3038, 1); -lean_inc(x_3039); -if (lean_is_exclusive(x_3038)) { - lean_ctor_release(x_3038, 0); - lean_ctor_release(x_3038, 1); - x_3040 = x_3038; -} else { - lean_dec_ref(x_3038); - x_3040 = lean_box(0); -} -x_3041 = 1; -x_3042 = lean_box(x_3041); -if (lean_is_scalar(x_3040)) { - x_3043 = lean_alloc_ctor(0, 2, 0); -} else { - x_3043 = x_3040; -} -lean_ctor_set(x_3043, 0, x_3042); -lean_ctor_set(x_3043, 1, x_3039); -return x_3043; -} -} -} -} -else +uint8_t x_3031; +x_3031 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3029, x_2); +if (x_3031 == 0) { -lean_object* x_3044; lean_object* x_3045; uint8_t x_3046; uint8_t x_3047; -x_3044 = lean_ctor_get(x_2908, 0); -x_3045 = lean_ctor_get(x_2908, 1); -lean_inc(x_3045); -lean_inc(x_3044); -lean_dec(x_2908); -x_3046 = lean_unbox(x_3044); -x_3047 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3046, x_2901); -if (x_3047 == 0) -{ -uint8_t x_3048; uint8_t x_3049; uint8_t x_3050; lean_object* x_3051; lean_object* x_3052; -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_3048 = 1; -x_3049 = lean_unbox(x_3044); -lean_dec(x_3044); -x_3050 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3049, x_3048); -x_3051 = lean_box(x_3050); -x_3052 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3052, 0, x_3051); -lean_ctor_set(x_3052, 1, x_3045); -return x_3052; -} -else -{ -lean_object* x_3053; lean_object* x_3054; lean_object* x_3055; lean_object* x_3056; lean_object* x_3057; lean_object* x_3058; lean_object* x_3059; uint8_t x_3060; -lean_dec(x_3044); -x_3053 = lean_st_ref_get(x_6, x_3045); -x_3054 = lean_ctor_get(x_3053, 1); -lean_inc(x_3054); -lean_dec(x_3053); -x_3055 = lean_st_ref_get(x_4, x_3054); -x_3056 = lean_ctor_get(x_3055, 0); -lean_inc(x_3056); -x_3057 = lean_ctor_get(x_3055, 1); -lean_inc(x_3057); -if (lean_is_exclusive(x_3055)) { - lean_ctor_release(x_3055, 0); - lean_ctor_release(x_3055, 1); - x_3058 = x_3055; -} else { - lean_dec_ref(x_3055); - x_3058 = lean_box(0); -} -x_3059 = lean_ctor_get(x_3056, 0); -lean_inc(x_3059); -lean_dec(x_3056); -lean_inc(x_3059); -x_3060 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3059, x_1); -if (x_3060 == 0) -{ -uint8_t x_3061; -x_3061 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3059, x_2); -if (x_3061 == 0) -{ -lean_object* x_3062; lean_object* x_3092; uint8_t x_3093; -x_3092 = lean_ctor_get(x_3, 0); -lean_inc(x_3092); -x_3093 = lean_ctor_get_uint8(x_3092, 4); -lean_dec(x_3092); -if (x_3093 == 0) -{ -uint8_t x_3094; lean_object* x_3095; lean_object* x_3096; -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_3094 = 0; -x_3095 = lean_box(x_3094); -if (lean_is_scalar(x_3058)) { - x_3096 = lean_alloc_ctor(0, 2, 0); -} else { - x_3096 = x_3058; -} -lean_ctor_set(x_3096, 0, x_3095); -lean_ctor_set(x_3096, 1, x_3057); -return x_3096; -} -else -{ -uint8_t x_3097; -x_3097 = l_Lean_Level_isMVar(x_1); -if (x_3097 == 0) -{ -uint8_t x_3098; -x_3098 = l_Lean_Level_isMVar(x_2); -if (x_3098 == 0) -{ -uint8_t x_3099; lean_object* x_3100; lean_object* x_3101; -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_3099 = 0; -x_3100 = lean_box(x_3099); -if (lean_is_scalar(x_3058)) { - x_3101 = lean_alloc_ctor(0, 2, 0); -} else { - x_3101 = x_3058; -} -lean_ctor_set(x_3101, 0, x_3100); -lean_ctor_set(x_3101, 1, x_3057); -return x_3101; -} -else -{ -lean_object* x_3102; -lean_dec(x_3058); -x_3102 = lean_box(0); -x_3062 = x_3102; -goto block_3091; -} -} -else -{ -lean_object* x_3103; -lean_dec(x_3058); -x_3103 = lean_box(0); -x_3062 = x_3103; -goto block_3091; -} -} -block_3091: -{ -uint8_t x_3063; lean_object* x_3064; lean_object* x_3079; lean_object* x_3080; lean_object* x_3081; uint8_t x_3082; +lean_object* x_3032; lean_object* x_3062; uint8_t x_3063; +x_3062 = lean_ctor_get(x_3, 0); +lean_inc(x_3062); +x_3063 = lean_ctor_get_uint8(x_3062, 4); lean_dec(x_3062); -x_3079 = lean_st_ref_get(x_6, x_3057); -x_3080 = lean_ctor_get(x_3079, 0); -lean_inc(x_3080); -x_3081 = lean_ctor_get(x_3080, 3); -lean_inc(x_3081); -lean_dec(x_3080); -x_3082 = lean_ctor_get_uint8(x_3081, sizeof(void*)*1); -lean_dec(x_3081); -if (x_3082 == 0) -{ -lean_object* x_3083; uint8_t x_3084; -x_3083 = lean_ctor_get(x_3079, 1); -lean_inc(x_3083); -lean_dec(x_3079); -x_3084 = 0; -x_3063 = x_3084; -x_3064 = x_3083; -goto block_3078; -} -else -{ -lean_object* x_3085; lean_object* x_3086; lean_object* x_3087; lean_object* x_3088; lean_object* x_3089; uint8_t x_3090; -x_3085 = lean_ctor_get(x_3079, 1); -lean_inc(x_3085); -lean_dec(x_3079); -x_3086 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3087 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3086, x_3, x_4, x_5, x_6, x_3085); -x_3088 = lean_ctor_get(x_3087, 0); -lean_inc(x_3088); -x_3089 = lean_ctor_get(x_3087, 1); -lean_inc(x_3089); -lean_dec(x_3087); -x_3090 = lean_unbox(x_3088); -lean_dec(x_3088); -x_3063 = x_3090; -x_3064 = x_3089; -goto block_3078; -} -block_3078: -{ if (x_3063 == 0) { -lean_object* x_3065; +uint8_t x_3064; lean_object* x_3065; lean_object* x_3066; 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_3065 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3064); -return x_3065; +x_3064 = 0; +x_3065 = lean_box(x_3064); +x_3066 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3066, 0, x_3065); +lean_ctor_set(x_3066, 1, x_3028); +return x_3066; } else { -lean_object* x_3066; lean_object* x_3067; lean_object* x_3068; lean_object* x_3069; lean_object* x_3070; lean_object* x_3071; lean_object* x_3072; lean_object* x_3073; lean_object* x_3074; lean_object* x_3075; lean_object* x_3076; lean_object* x_3077; -x_3066 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3066, 0, x_1); -x_3067 = l_Lean_KernelException_toMessageData___closed__15; -x_3068 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3068, 0, x_3067); -lean_ctor_set(x_3068, 1, x_3066); -x_3069 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_3070 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3070, 0, x_3068); -lean_ctor_set(x_3070, 1, x_3069); -x_3071 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3071, 0, x_2); -x_3072 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3072, 0, x_3070); -lean_ctor_set(x_3072, 1, x_3071); -x_3073 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3073, 0, x_3072); -lean_ctor_set(x_3073, 1, x_3067); -x_3074 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3075 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3074, x_3073, x_3, x_4, x_5, x_6, x_3064); +uint8_t x_3067; +x_3067 = l_Lean_Level_isMVar(x_1); +if (x_3067 == 0) +{ +uint8_t x_3068; +x_3068 = l_Lean_Level_isMVar(x_2); +if (x_3068 == 0) +{ +uint8_t x_3069; lean_object* x_3070; lean_object* x_3071; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_3076 = lean_ctor_get(x_3075, 1); -lean_inc(x_3076); -lean_dec(x_3075); -x_3077 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3076); -return x_3077; -} +lean_dec(x_2); +lean_dec(x_1); +x_3069 = 0; +x_3070 = lean_box(x_3069); +x_3071 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3071, 0, x_3070); +lean_ctor_set(x_3071, 1, x_3028); +return x_3071; } +else +{ +lean_object* x_3072; +x_3072 = lean_box(0); +x_3032 = x_3072; +goto block_3061; } } else { -lean_object* x_3104; lean_object* x_3105; lean_object* x_3106; uint8_t x_3107; lean_object* x_3108; lean_object* x_3109; +lean_object* x_3073; +x_3073 = lean_box(0); +x_3032 = x_3073; +goto block_3061; +} +} +block_3061: +{ +uint8_t x_3033; lean_object* x_3034; lean_object* x_3049; lean_object* x_3050; lean_object* x_3051; uint8_t x_3052; +lean_dec(x_3032); +x_3049 = lean_st_ref_get(x_6, x_3028); +x_3050 = lean_ctor_get(x_3049, 0); +lean_inc(x_3050); +x_3051 = lean_ctor_get(x_3050, 3); +lean_inc(x_3051); +lean_dec(x_3050); +x_3052 = lean_ctor_get_uint8(x_3051, sizeof(void*)*1); +lean_dec(x_3051); +if (x_3052 == 0) +{ +lean_object* x_3053; uint8_t x_3054; +x_3053 = lean_ctor_get(x_3049, 1); +lean_inc(x_3053); +lean_dec(x_3049); +x_3054 = 0; +x_3033 = x_3054; +x_3034 = x_3053; +goto block_3048; +} +else +{ +lean_object* x_3055; lean_object* x_3056; lean_object* x_3057; lean_object* x_3058; lean_object* x_3059; uint8_t x_3060; +x_3055 = lean_ctor_get(x_3049, 1); +lean_inc(x_3055); +lean_dec(x_3049); +x_3056 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3057 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3056, x_3, x_4, x_5, x_6, x_3055); +x_3058 = lean_ctor_get(x_3057, 0); +lean_inc(x_3058); +x_3059 = lean_ctor_get(x_3057, 1); +lean_inc(x_3059); +lean_dec(x_3057); +x_3060 = lean_unbox(x_3058); lean_dec(x_3058); -x_3104 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3057); +x_3033 = x_3060; +x_3034 = x_3059; +goto block_3048; +} +block_3048: +{ +if (x_3033 == 0) +{ +lean_object* x_3035; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_3105 = lean_ctor_get(x_3104, 1); -lean_inc(x_3105); -if (lean_is_exclusive(x_3104)) { - lean_ctor_release(x_3104, 0); - lean_ctor_release(x_3104, 1); - x_3106 = x_3104; -} else { - lean_dec_ref(x_3104); - x_3106 = lean_box(0); +lean_dec(x_2); +lean_dec(x_1); +x_3035 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3034); +return x_3035; +} +else +{ +lean_object* x_3036; lean_object* x_3037; lean_object* x_3038; lean_object* x_3039; lean_object* x_3040; lean_object* x_3041; lean_object* x_3042; lean_object* x_3043; lean_object* x_3044; lean_object* x_3045; lean_object* x_3046; lean_object* x_3047; +x_3036 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3036, 0, x_1); +x_3037 = l_Lean_KernelException_toMessageData___closed__15; +x_3038 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3038, 0, x_3037); +lean_ctor_set(x_3038, 1, x_3036); +x_3039 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_3040 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3040, 0, x_3038); +lean_ctor_set(x_3040, 1, x_3039); +x_3041 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3041, 0, x_2); +x_3042 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3042, 0, x_3040); +lean_ctor_set(x_3042, 1, x_3041); +x_3043 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3043, 0, x_3042); +lean_ctor_set(x_3043, 1, x_3037); +x_3044 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3045 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3044, x_3043, x_3, x_4, x_5, x_6, x_3034); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3046 = lean_ctor_get(x_3045, 1); +lean_inc(x_3046); +lean_dec(x_3045); +x_3047 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3046); +return x_3047; } -x_3107 = 1; -x_3108 = lean_box(x_3107); -if (lean_is_scalar(x_3106)) { - x_3109 = lean_alloc_ctor(0, 2, 0); -} else { - x_3109 = x_3106; } -lean_ctor_set(x_3109, 0, x_3108); -lean_ctor_set(x_3109, 1, x_3105); -return x_3109; } } else { -lean_object* x_3110; lean_object* x_3111; lean_object* x_3112; uint8_t x_3113; lean_object* x_3114; lean_object* x_3115; -lean_dec(x_3059); -lean_dec(x_3058); -x_3110 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3057); +lean_object* x_3074; lean_object* x_3075; lean_object* x_3076; uint8_t x_3077; lean_object* x_3078; lean_object* x_3079; +x_3074 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3028); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_3111 = lean_ctor_get(x_3110, 1); -lean_inc(x_3111); -if (lean_is_exclusive(x_3110)) { - lean_ctor_release(x_3110, 0); - lean_ctor_release(x_3110, 1); - x_3112 = x_3110; +x_3075 = lean_ctor_get(x_3074, 1); +lean_inc(x_3075); +if (lean_is_exclusive(x_3074)) { + lean_ctor_release(x_3074, 0); + lean_ctor_release(x_3074, 1); + x_3076 = x_3074; } else { - lean_dec_ref(x_3110); - x_3112 = lean_box(0); + lean_dec_ref(x_3074); + x_3076 = lean_box(0); } -x_3113 = 1; -x_3114 = lean_box(x_3113); -if (lean_is_scalar(x_3112)) { - x_3115 = lean_alloc_ctor(0, 2, 0); +x_3077 = 1; +x_3078 = lean_box(x_3077); +if (lean_is_scalar(x_3076)) { + x_3079 = lean_alloc_ctor(0, 2, 0); } else { - x_3115 = x_3112; + x_3079 = x_3076; } +lean_ctor_set(x_3079, 0, x_3078); +lean_ctor_set(x_3079, 1, x_3075); +return x_3079; +} +} +else +{ +lean_object* x_3080; lean_object* x_3081; lean_object* x_3082; uint8_t x_3083; lean_object* x_3084; lean_object* x_3085; +lean_dec(x_3029); +x_3080 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3028); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3081 = lean_ctor_get(x_3080, 1); +lean_inc(x_3081); +if (lean_is_exclusive(x_3080)) { + lean_ctor_release(x_3080, 0); + lean_ctor_release(x_3080, 1); + x_3082 = x_3080; +} else { + lean_dec_ref(x_3080); + x_3082 = lean_box(0); +} +x_3083 = 1; +x_3084 = lean_box(x_3083); +if (lean_is_scalar(x_3082)) { + x_3085 = lean_alloc_ctor(0, 2, 0); +} else { + x_3085 = x_3082; +} +lean_ctor_set(x_3085, 0, x_3084); +lean_ctor_set(x_3085, 1, x_3081); +return x_3085; +} +} +} +} +else +{ +lean_object* x_3086; lean_object* x_3087; uint8_t x_3088; uint8_t x_3089; +x_3086 = lean_ctor_get(x_2950, 0); +x_3087 = lean_ctor_get(x_2950, 1); +lean_inc(x_3087); +lean_inc(x_3086); +lean_dec(x_2950); +x_3088 = lean_unbox(x_3086); +x_3089 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3088, x_2943); +if (x_3089 == 0) +{ +uint8_t x_3090; uint8_t x_3091; uint8_t x_3092; lean_object* x_3093; lean_object* x_3094; +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_3090 = 1; +x_3091 = lean_unbox(x_3086); +lean_dec(x_3086); +x_3092 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3091, x_3090); +x_3093 = lean_box(x_3092); +x_3094 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3094, 0, x_3093); +lean_ctor_set(x_3094, 1, x_3087); +return x_3094; +} +else +{ +lean_object* x_3095; lean_object* x_3096; lean_object* x_3097; lean_object* x_3098; lean_object* x_3099; lean_object* x_3100; lean_object* x_3101; uint8_t x_3102; +lean_dec(x_3086); +x_3095 = lean_st_ref_get(x_6, x_3087); +x_3096 = lean_ctor_get(x_3095, 1); +lean_inc(x_3096); +lean_dec(x_3095); +x_3097 = lean_st_ref_get(x_4, x_3096); +x_3098 = lean_ctor_get(x_3097, 0); +lean_inc(x_3098); +x_3099 = lean_ctor_get(x_3097, 1); +lean_inc(x_3099); +if (lean_is_exclusive(x_3097)) { + lean_ctor_release(x_3097, 0); + lean_ctor_release(x_3097, 1); + x_3100 = x_3097; +} else { + lean_dec_ref(x_3097); + x_3100 = lean_box(0); +} +x_3101 = lean_ctor_get(x_3098, 0); +lean_inc(x_3101); +lean_dec(x_3098); +lean_inc(x_3101); +x_3102 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3101, x_1); +if (x_3102 == 0) +{ +uint8_t x_3103; +x_3103 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3101, x_2); +if (x_3103 == 0) +{ +lean_object* x_3104; lean_object* x_3134; uint8_t x_3135; +x_3134 = lean_ctor_get(x_3, 0); +lean_inc(x_3134); +x_3135 = lean_ctor_get_uint8(x_3134, 4); +lean_dec(x_3134); +if (x_3135 == 0) +{ +uint8_t x_3136; lean_object* x_3137; lean_object* x_3138; +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_3136 = 0; +x_3137 = lean_box(x_3136); +if (lean_is_scalar(x_3100)) { + x_3138 = lean_alloc_ctor(0, 2, 0); +} else { + x_3138 = x_3100; +} +lean_ctor_set(x_3138, 0, x_3137); +lean_ctor_set(x_3138, 1, x_3099); +return x_3138; +} +else +{ +uint8_t x_3139; +x_3139 = l_Lean_Level_isMVar(x_1); +if (x_3139 == 0) +{ +uint8_t x_3140; +x_3140 = l_Lean_Level_isMVar(x_2); +if (x_3140 == 0) +{ +uint8_t x_3141; lean_object* x_3142; lean_object* x_3143; +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_3141 = 0; +x_3142 = lean_box(x_3141); +if (lean_is_scalar(x_3100)) { + x_3143 = lean_alloc_ctor(0, 2, 0); +} else { + x_3143 = x_3100; +} +lean_ctor_set(x_3143, 0, x_3142); +lean_ctor_set(x_3143, 1, x_3099); +return x_3143; +} +else +{ +lean_object* x_3144; +lean_dec(x_3100); +x_3144 = lean_box(0); +x_3104 = x_3144; +goto block_3133; +} +} +else +{ +lean_object* x_3145; +lean_dec(x_3100); +x_3145 = lean_box(0); +x_3104 = x_3145; +goto block_3133; +} +} +block_3133: +{ +uint8_t x_3105; lean_object* x_3106; lean_object* x_3121; lean_object* x_3122; lean_object* x_3123; uint8_t x_3124; +lean_dec(x_3104); +x_3121 = lean_st_ref_get(x_6, x_3099); +x_3122 = lean_ctor_get(x_3121, 0); +lean_inc(x_3122); +x_3123 = lean_ctor_get(x_3122, 3); +lean_inc(x_3123); +lean_dec(x_3122); +x_3124 = lean_ctor_get_uint8(x_3123, sizeof(void*)*1); +lean_dec(x_3123); +if (x_3124 == 0) +{ +lean_object* x_3125; uint8_t x_3126; +x_3125 = lean_ctor_get(x_3121, 1); +lean_inc(x_3125); +lean_dec(x_3121); +x_3126 = 0; +x_3105 = x_3126; +x_3106 = x_3125; +goto block_3120; +} +else +{ +lean_object* x_3127; lean_object* x_3128; lean_object* x_3129; lean_object* x_3130; lean_object* x_3131; uint8_t x_3132; +x_3127 = lean_ctor_get(x_3121, 1); +lean_inc(x_3127); +lean_dec(x_3121); +x_3128 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3129 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3128, x_3, x_4, x_5, x_6, x_3127); +x_3130 = lean_ctor_get(x_3129, 0); +lean_inc(x_3130); +x_3131 = lean_ctor_get(x_3129, 1); +lean_inc(x_3131); +lean_dec(x_3129); +x_3132 = lean_unbox(x_3130); +lean_dec(x_3130); +x_3105 = x_3132; +x_3106 = x_3131; +goto block_3120; +} +block_3120: +{ +if (x_3105 == 0) +{ +lean_object* x_3107; +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_3107 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3106); +return x_3107; +} +else +{ +lean_object* x_3108; lean_object* x_3109; lean_object* x_3110; lean_object* x_3111; lean_object* x_3112; lean_object* x_3113; lean_object* x_3114; lean_object* x_3115; lean_object* x_3116; lean_object* x_3117; lean_object* x_3118; lean_object* x_3119; +x_3108 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3108, 0, x_1); +x_3109 = l_Lean_KernelException_toMessageData___closed__15; +x_3110 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3110, 0, x_3109); +lean_ctor_set(x_3110, 1, x_3108); +x_3111 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_3112 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3112, 0, x_3110); +lean_ctor_set(x_3112, 1, x_3111); +x_3113 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3113, 0, x_2); +x_3114 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3114, 0, x_3112); +lean_ctor_set(x_3114, 1, x_3113); +x_3115 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3115, 0, x_3114); -lean_ctor_set(x_3115, 1, x_3111); -return x_3115; -} -} -} -} -else -{ -uint8_t x_3116; +lean_ctor_set(x_3115, 1, x_3109); +x_3116 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3117 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3116, x_3115, x_3, x_4, x_5, x_6, x_3106); 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_3116 = !lean_is_exclusive(x_2908); -if (x_3116 == 0) -{ -return x_2908; -} -else -{ -lean_object* x_3117; lean_object* x_3118; lean_object* x_3119; -x_3117 = lean_ctor_get(x_2908, 0); -x_3118 = lean_ctor_get(x_2908, 1); +x_3118 = lean_ctor_get(x_3117, 1); lean_inc(x_3118); -lean_inc(x_3117); -lean_dec(x_2908); -x_3119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3119, 0, x_3117); -lean_ctor_set(x_3119, 1, x_3118); +lean_dec(x_3117); +x_3119 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3118); return x_3119; } } @@ -15707,373 +15729,371 @@ return x_3119; } else { -lean_object* x_3120; lean_object* x_3121; uint8_t x_3122; uint8_t x_3123; uint8_t x_3124; -x_3120 = lean_ctor_get(x_2897, 0); -x_3121 = lean_ctor_get(x_2897, 1); -lean_inc(x_3121); -lean_inc(x_3120); -lean_dec(x_2897); -x_3122 = 2; -x_3123 = lean_unbox(x_3120); -x_3124 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3123, x_3122); -if (x_3124 == 0) +lean_object* x_3146; lean_object* x_3147; lean_object* x_3148; uint8_t x_3149; lean_object* x_3150; lean_object* x_3151; +lean_dec(x_3100); +x_3146 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3099); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3147 = lean_ctor_get(x_3146, 1); +lean_inc(x_3147); +if (lean_is_exclusive(x_3146)) { + lean_ctor_release(x_3146, 0); + lean_ctor_release(x_3146, 1); + x_3148 = x_3146; +} else { + lean_dec_ref(x_3146); + x_3148 = lean_box(0); +} +x_3149 = 1; +x_3150 = lean_box(x_3149); +if (lean_is_scalar(x_3148)) { + x_3151 = lean_alloc_ctor(0, 2, 0); +} else { + x_3151 = x_3148; +} +lean_ctor_set(x_3151, 0, x_3150); +lean_ctor_set(x_3151, 1, x_3147); +return x_3151; +} +} +else { -uint8_t x_3125; uint8_t x_3126; uint8_t x_3127; lean_object* x_3128; lean_object* x_3129; +lean_object* x_3152; lean_object* x_3153; lean_object* x_3154; uint8_t x_3155; lean_object* x_3156; lean_object* x_3157; +lean_dec(x_3101); +lean_dec(x_3100); +x_3152 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3099); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3153 = lean_ctor_get(x_3152, 1); +lean_inc(x_3153); +if (lean_is_exclusive(x_3152)) { + lean_ctor_release(x_3152, 0); + lean_ctor_release(x_3152, 1); + x_3154 = x_3152; +} else { + lean_dec_ref(x_3152); + x_3154 = lean_box(0); +} +x_3155 = 1; +x_3156 = lean_box(x_3155); +if (lean_is_scalar(x_3154)) { + x_3157 = lean_alloc_ctor(0, 2, 0); +} else { + x_3157 = x_3154; +} +lean_ctor_set(x_3157, 0, x_3156); +lean_ctor_set(x_3157, 1, x_3153); +return x_3157; +} +} +} +} +else +{ +uint8_t x_3158; 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_3125 = 1; -x_3126 = lean_unbox(x_3120); -lean_dec(x_3120); -x_3127 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3126, x_3125); -x_3128 = lean_box(x_3127); -x_3129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3129, 0, x_3128); -lean_ctor_set(x_3129, 1, x_3121); -return x_3129; +x_3158 = !lean_is_exclusive(x_2950); +if (x_3158 == 0) +{ +return x_2950; } else { -lean_object* x_3130; -lean_dec(x_3120); +lean_object* x_3159; lean_object* x_3160; lean_object* x_3161; +x_3159 = lean_ctor_get(x_2950, 0); +x_3160 = lean_ctor_get(x_2950, 1); +lean_inc(x_3160); +lean_inc(x_3159); +lean_dec(x_2950); +x_3161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3161, 0, x_3159); +lean_ctor_set(x_3161, 1, x_3160); +return x_3161; +} +} +} +} +else +{ +lean_object* x_3162; lean_object* x_3163; uint8_t x_3164; uint8_t x_3165; uint8_t x_3166; +x_3162 = lean_ctor_get(x_2939, 0); +x_3163 = lean_ctor_get(x_2939, 1); +lean_inc(x_3163); +lean_inc(x_3162); +lean_dec(x_2939); +x_3164 = 2; +x_3165 = lean_unbox(x_3162); +x_3166 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3165, x_3164); +if (x_3166 == 0) +{ +uint8_t x_3167; uint8_t x_3168; uint8_t x_3169; lean_object* x_3170; lean_object* x_3171; +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_3167 = 1; +x_3168 = lean_unbox(x_3162); +lean_dec(x_3162); +x_3169 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3168, x_3167); +x_3170 = lean_box(x_3169); +x_3171 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3171, 0, x_3170); +lean_ctor_set(x_3171, 1, x_3163); +return x_3171; +} +else +{ +lean_object* x_3172; +lean_dec(x_3162); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_3130 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_3121); -if (lean_obj_tag(x_3130) == 0) +x_3172 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_3163); +if (lean_obj_tag(x_3172) == 0) { -lean_object* x_3131; lean_object* x_3132; lean_object* x_3133; uint8_t x_3134; uint8_t x_3135; -x_3131 = lean_ctor_get(x_3130, 0); -lean_inc(x_3131); -x_3132 = lean_ctor_get(x_3130, 1); -lean_inc(x_3132); -if (lean_is_exclusive(x_3130)) { - lean_ctor_release(x_3130, 0); - lean_ctor_release(x_3130, 1); - x_3133 = x_3130; -} else { - lean_dec_ref(x_3130); - x_3133 = lean_box(0); -} -x_3134 = lean_unbox(x_3131); -x_3135 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3134, x_3122); -if (x_3135 == 0) -{ -uint8_t x_3136; uint8_t x_3137; uint8_t x_3138; lean_object* x_3139; lean_object* x_3140; -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_3136 = 1; -x_3137 = lean_unbox(x_3131); -lean_dec(x_3131); -x_3138 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3137, x_3136); -x_3139 = lean_box(x_3138); -if (lean_is_scalar(x_3133)) { - x_3140 = lean_alloc_ctor(0, 2, 0); -} else { - x_3140 = x_3133; -} -lean_ctor_set(x_3140, 0, x_3139); -lean_ctor_set(x_3140, 1, x_3132); -return x_3140; -} -else -{ -lean_object* x_3141; lean_object* x_3142; lean_object* x_3143; lean_object* x_3144; lean_object* x_3145; lean_object* x_3146; lean_object* x_3147; uint8_t x_3148; -lean_dec(x_3133); -lean_dec(x_3131); -x_3141 = lean_st_ref_get(x_6, x_3132); -x_3142 = lean_ctor_get(x_3141, 1); -lean_inc(x_3142); -lean_dec(x_3141); -x_3143 = lean_st_ref_get(x_4, x_3142); -x_3144 = lean_ctor_get(x_3143, 0); -lean_inc(x_3144); -x_3145 = lean_ctor_get(x_3143, 1); -lean_inc(x_3145); -if (lean_is_exclusive(x_3143)) { - lean_ctor_release(x_3143, 0); - lean_ctor_release(x_3143, 1); - x_3146 = x_3143; -} else { - lean_dec_ref(x_3143); - x_3146 = lean_box(0); -} -x_3147 = lean_ctor_get(x_3144, 0); -lean_inc(x_3147); -lean_dec(x_3144); -lean_inc(x_3147); -x_3148 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3147, x_1); -if (x_3148 == 0) -{ -uint8_t x_3149; -x_3149 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3147, x_2); -if (x_3149 == 0) -{ -lean_object* x_3150; lean_object* x_3180; uint8_t x_3181; -x_3180 = lean_ctor_get(x_3, 0); -lean_inc(x_3180); -x_3181 = lean_ctor_get_uint8(x_3180, 4); -lean_dec(x_3180); -if (x_3181 == 0) -{ -uint8_t x_3182; lean_object* x_3183; lean_object* x_3184; -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_3182 = 0; -x_3183 = lean_box(x_3182); -if (lean_is_scalar(x_3146)) { - x_3184 = lean_alloc_ctor(0, 2, 0); -} else { - x_3184 = x_3146; -} -lean_ctor_set(x_3184, 0, x_3183); -lean_ctor_set(x_3184, 1, x_3145); -return x_3184; -} -else -{ -uint8_t x_3185; -x_3185 = l_Lean_Level_isMVar(x_1); -if (x_3185 == 0) -{ -uint8_t x_3186; -x_3186 = l_Lean_Level_isMVar(x_2); -if (x_3186 == 0) -{ -uint8_t x_3187; lean_object* x_3188; lean_object* x_3189; -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_3187 = 0; -x_3188 = lean_box(x_3187); -if (lean_is_scalar(x_3146)) { - x_3189 = lean_alloc_ctor(0, 2, 0); -} else { - x_3189 = x_3146; -} -lean_ctor_set(x_3189, 0, x_3188); -lean_ctor_set(x_3189, 1, x_3145); -return x_3189; -} -else -{ -lean_object* x_3190; -lean_dec(x_3146); -x_3190 = lean_box(0); -x_3150 = x_3190; -goto block_3179; -} -} -else -{ -lean_object* x_3191; -lean_dec(x_3146); -x_3191 = lean_box(0); -x_3150 = x_3191; -goto block_3179; -} -} -block_3179: -{ -uint8_t x_3151; lean_object* x_3152; lean_object* x_3167; lean_object* x_3168; lean_object* x_3169; uint8_t x_3170; -lean_dec(x_3150); -x_3167 = lean_st_ref_get(x_6, x_3145); -x_3168 = lean_ctor_get(x_3167, 0); -lean_inc(x_3168); -x_3169 = lean_ctor_get(x_3168, 3); -lean_inc(x_3169); -lean_dec(x_3168); -x_3170 = lean_ctor_get_uint8(x_3169, sizeof(void*)*1); -lean_dec(x_3169); -if (x_3170 == 0) -{ -lean_object* x_3171; uint8_t x_3172; -x_3171 = lean_ctor_get(x_3167, 1); -lean_inc(x_3171); -lean_dec(x_3167); -x_3172 = 0; -x_3151 = x_3172; -x_3152 = x_3171; -goto block_3166; -} -else -{ -lean_object* x_3173; lean_object* x_3174; lean_object* x_3175; lean_object* x_3176; lean_object* x_3177; uint8_t x_3178; -x_3173 = lean_ctor_get(x_3167, 1); +lean_object* x_3173; lean_object* x_3174; lean_object* x_3175; uint8_t x_3176; uint8_t x_3177; +x_3173 = lean_ctor_get(x_3172, 0); lean_inc(x_3173); -lean_dec(x_3167); -x_3174 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3175 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3174, x_3, x_4, x_5, x_6, x_3173); -x_3176 = lean_ctor_get(x_3175, 0); -lean_inc(x_3176); -x_3177 = lean_ctor_get(x_3175, 1); -lean_inc(x_3177); +x_3174 = lean_ctor_get(x_3172, 1); +lean_inc(x_3174); +if (lean_is_exclusive(x_3172)) { + lean_ctor_release(x_3172, 0); + lean_ctor_release(x_3172, 1); + x_3175 = x_3172; +} else { + lean_dec_ref(x_3172); + x_3175 = lean_box(0); +} +x_3176 = lean_unbox(x_3173); +x_3177 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3176, x_3164); +if (x_3177 == 0) +{ +uint8_t x_3178; uint8_t x_3179; uint8_t x_3180; lean_object* x_3181; lean_object* x_3182; +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_3178 = 1; +x_3179 = lean_unbox(x_3173); +lean_dec(x_3173); +x_3180 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3179, x_3178); +x_3181 = lean_box(x_3180); +if (lean_is_scalar(x_3175)) { + x_3182 = lean_alloc_ctor(0, 2, 0); +} else { + x_3182 = x_3175; +} +lean_ctor_set(x_3182, 0, x_3181); +lean_ctor_set(x_3182, 1, x_3174); +return x_3182; +} +else +{ +lean_object* x_3183; lean_object* x_3184; lean_object* x_3185; lean_object* x_3186; lean_object* x_3187; lean_object* x_3188; lean_object* x_3189; uint8_t x_3190; lean_dec(x_3175); -x_3178 = lean_unbox(x_3176); -lean_dec(x_3176); -x_3151 = x_3178; -x_3152 = x_3177; -goto block_3166; +lean_dec(x_3173); +x_3183 = lean_st_ref_get(x_6, x_3174); +x_3184 = lean_ctor_get(x_3183, 1); +lean_inc(x_3184); +lean_dec(x_3183); +x_3185 = lean_st_ref_get(x_4, x_3184); +x_3186 = lean_ctor_get(x_3185, 0); +lean_inc(x_3186); +x_3187 = lean_ctor_get(x_3185, 1); +lean_inc(x_3187); +if (lean_is_exclusive(x_3185)) { + lean_ctor_release(x_3185, 0); + lean_ctor_release(x_3185, 1); + x_3188 = x_3185; +} else { + lean_dec_ref(x_3185); + x_3188 = lean_box(0); } -block_3166: +x_3189 = lean_ctor_get(x_3186, 0); +lean_inc(x_3189); +lean_dec(x_3186); +lean_inc(x_3189); +x_3190 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3189, x_1); +if (x_3190 == 0) { -if (x_3151 == 0) +uint8_t x_3191; +x_3191 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3189, x_2); +if (x_3191 == 0) { -lean_object* x_3153; +lean_object* x_3192; lean_object* x_3222; uint8_t x_3223; +x_3222 = lean_ctor_get(x_3, 0); +lean_inc(x_3222); +x_3223 = lean_ctor_get_uint8(x_3222, 4); +lean_dec(x_3222); +if (x_3223 == 0) +{ +uint8_t x_3224; lean_object* x_3225; lean_object* x_3226; 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_3153 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3152); -return x_3153; +x_3224 = 0; +x_3225 = lean_box(x_3224); +if (lean_is_scalar(x_3188)) { + x_3226 = lean_alloc_ctor(0, 2, 0); +} else { + x_3226 = x_3188; +} +lean_ctor_set(x_3226, 0, x_3225); +lean_ctor_set(x_3226, 1, x_3187); +return x_3226; } else { -lean_object* x_3154; lean_object* x_3155; lean_object* x_3156; lean_object* x_3157; lean_object* x_3158; lean_object* x_3159; lean_object* x_3160; lean_object* x_3161; lean_object* x_3162; lean_object* x_3163; lean_object* x_3164; lean_object* x_3165; -x_3154 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3154, 0, x_1); -x_3155 = l_Lean_KernelException_toMessageData___closed__15; -x_3156 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3156, 0, x_3155); -lean_ctor_set(x_3156, 1, x_3154); -x_3157 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_3158 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3158, 0, x_3156); -lean_ctor_set(x_3158, 1, x_3157); -x_3159 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3159, 0, x_2); -x_3160 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3160, 0, x_3158); -lean_ctor_set(x_3160, 1, x_3159); -x_3161 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3161, 0, x_3160); -lean_ctor_set(x_3161, 1, x_3155); -x_3162 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3163 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3162, x_3161, x_3, x_4, x_5, x_6, x_3152); +uint8_t x_3227; +x_3227 = l_Lean_Level_isMVar(x_1); +if (x_3227 == 0) +{ +uint8_t x_3228; +x_3228 = l_Lean_Level_isMVar(x_2); +if (x_3228 == 0) +{ +uint8_t x_3229; lean_object* x_3230; lean_object* x_3231; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_3164 = lean_ctor_get(x_3163, 1); -lean_inc(x_3164); -lean_dec(x_3163); -x_3165 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3164); -return x_3165; +lean_dec(x_2); +lean_dec(x_1); +x_3229 = 0; +x_3230 = lean_box(x_3229); +if (lean_is_scalar(x_3188)) { + x_3231 = lean_alloc_ctor(0, 2, 0); +} else { + x_3231 = x_3188; } +lean_ctor_set(x_3231, 0, x_3230); +lean_ctor_set(x_3231, 1, x_3187); +return x_3231; } +else +{ +lean_object* x_3232; +lean_dec(x_3188); +x_3232 = lean_box(0); +x_3192 = x_3232; +goto block_3221; } } else { -lean_object* x_3192; lean_object* x_3193; lean_object* x_3194; uint8_t x_3195; lean_object* x_3196; lean_object* x_3197; -lean_dec(x_3146); -x_3192 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3145); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3193 = lean_ctor_get(x_3192, 1); -lean_inc(x_3193); -if (lean_is_exclusive(x_3192)) { - lean_ctor_release(x_3192, 0); - lean_ctor_release(x_3192, 1); - x_3194 = x_3192; -} else { - lean_dec_ref(x_3192); - x_3194 = lean_box(0); +lean_object* x_3233; +lean_dec(x_3188); +x_3233 = lean_box(0); +x_3192 = x_3233; +goto block_3221; } -x_3195 = 1; -x_3196 = lean_box(x_3195); -if (lean_is_scalar(x_3194)) { - x_3197 = lean_alloc_ctor(0, 2, 0); -} else { - x_3197 = x_3194; -} -lean_ctor_set(x_3197, 0, x_3196); -lean_ctor_set(x_3197, 1, x_3193); -return x_3197; } +block_3221: +{ +uint8_t x_3193; lean_object* x_3194; lean_object* x_3209; lean_object* x_3210; lean_object* x_3211; uint8_t x_3212; +lean_dec(x_3192); +x_3209 = lean_st_ref_get(x_6, x_3187); +x_3210 = lean_ctor_get(x_3209, 0); +lean_inc(x_3210); +x_3211 = lean_ctor_get(x_3210, 3); +lean_inc(x_3211); +lean_dec(x_3210); +x_3212 = lean_ctor_get_uint8(x_3211, sizeof(void*)*1); +lean_dec(x_3211); +if (x_3212 == 0) +{ +lean_object* x_3213; uint8_t x_3214; +x_3213 = lean_ctor_get(x_3209, 1); +lean_inc(x_3213); +lean_dec(x_3209); +x_3214 = 0; +x_3193 = x_3214; +x_3194 = x_3213; +goto block_3208; } else { -lean_object* x_3198; lean_object* x_3199; lean_object* x_3200; uint8_t x_3201; lean_object* x_3202; lean_object* x_3203; -lean_dec(x_3147); -lean_dec(x_3146); -x_3198 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3145); +lean_object* x_3215; lean_object* x_3216; lean_object* x_3217; lean_object* x_3218; lean_object* x_3219; uint8_t x_3220; +x_3215 = lean_ctor_get(x_3209, 1); +lean_inc(x_3215); +lean_dec(x_3209); +x_3216 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3217 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3216, x_3, x_4, x_5, x_6, x_3215); +x_3218 = lean_ctor_get(x_3217, 0); +lean_inc(x_3218); +x_3219 = lean_ctor_get(x_3217, 1); +lean_inc(x_3219); +lean_dec(x_3217); +x_3220 = lean_unbox(x_3218); +lean_dec(x_3218); +x_3193 = x_3220; +x_3194 = x_3219; +goto block_3208; +} +block_3208: +{ +if (x_3193 == 0) +{ +lean_object* x_3195; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_3199 = lean_ctor_get(x_3198, 1); -lean_inc(x_3199); -if (lean_is_exclusive(x_3198)) { - lean_ctor_release(x_3198, 0); - lean_ctor_release(x_3198, 1); - x_3200 = x_3198; -} else { - lean_dec_ref(x_3198); - x_3200 = lean_box(0); -} -x_3201 = 1; -x_3202 = lean_box(x_3201); -if (lean_is_scalar(x_3200)) { - x_3203 = lean_alloc_ctor(0, 2, 0); -} else { - x_3203 = x_3200; +lean_dec(x_2); +lean_dec(x_1); +x_3195 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3194); +return x_3195; } +else +{ +lean_object* x_3196; lean_object* x_3197; lean_object* x_3198; lean_object* x_3199; lean_object* x_3200; lean_object* x_3201; lean_object* x_3202; lean_object* x_3203; lean_object* x_3204; lean_object* x_3205; lean_object* x_3206; lean_object* x_3207; +x_3196 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3196, 0, x_1); +x_3197 = l_Lean_KernelException_toMessageData___closed__15; +x_3198 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3198, 0, x_3197); +lean_ctor_set(x_3198, 1, x_3196); +x_3199 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_3200 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3200, 0, x_3198); +lean_ctor_set(x_3200, 1, x_3199); +x_3201 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3201, 0, x_2); +x_3202 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3202, 0, x_3200); +lean_ctor_set(x_3202, 1, x_3201); +x_3203 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3203, 0, x_3202); -lean_ctor_set(x_3203, 1, x_3199); -return x_3203; -} -} -} -else -{ -lean_object* x_3204; lean_object* x_3205; lean_object* x_3206; lean_object* x_3207; +lean_ctor_set(x_3203, 1, x_3197); +x_3204 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3205 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3204, x_3203, x_3, x_4, x_5, x_6, x_3194); 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_3204 = lean_ctor_get(x_3130, 0); -lean_inc(x_3204); -x_3205 = lean_ctor_get(x_3130, 1); -lean_inc(x_3205); -if (lean_is_exclusive(x_3130)) { - lean_ctor_release(x_3130, 0); - lean_ctor_release(x_3130, 1); - x_3206 = x_3130; -} else { - lean_dec_ref(x_3130); - x_3206 = lean_box(0); -} -if (lean_is_scalar(x_3206)) { - x_3207 = lean_alloc_ctor(1, 2, 0); -} else { - x_3207 = x_3206; -} -lean_ctor_set(x_3207, 0, x_3204); -lean_ctor_set(x_3207, 1, x_3205); +x_3206 = lean_ctor_get(x_3205, 1); +lean_inc(x_3206); +lean_dec(x_3205); +x_3207 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3206); return x_3207; } } @@ -16081,1525 +16101,1636 @@ return x_3207; } else { -uint8_t x_3208; +lean_object* x_3234; lean_object* x_3235; lean_object* x_3236; uint8_t x_3237; lean_object* x_3238; lean_object* x_3239; +lean_dec(x_3188); +x_3234 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3187); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3235 = lean_ctor_get(x_3234, 1); +lean_inc(x_3235); +if (lean_is_exclusive(x_3234)) { + lean_ctor_release(x_3234, 0); + lean_ctor_release(x_3234, 1); + x_3236 = x_3234; +} else { + lean_dec_ref(x_3234); + x_3236 = lean_box(0); +} +x_3237 = 1; +x_3238 = lean_box(x_3237); +if (lean_is_scalar(x_3236)) { + x_3239 = lean_alloc_ctor(0, 2, 0); +} else { + x_3239 = x_3236; +} +lean_ctor_set(x_3239, 0, x_3238); +lean_ctor_set(x_3239, 1, x_3235); +return x_3239; +} +} +else +{ +lean_object* x_3240; lean_object* x_3241; lean_object* x_3242; uint8_t x_3243; lean_object* x_3244; lean_object* x_3245; +lean_dec(x_3189); +lean_dec(x_3188); +x_3240 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3187); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3241 = lean_ctor_get(x_3240, 1); +lean_inc(x_3241); +if (lean_is_exclusive(x_3240)) { + lean_ctor_release(x_3240, 0); + lean_ctor_release(x_3240, 1); + x_3242 = x_3240; +} else { + lean_dec_ref(x_3240); + x_3242 = lean_box(0); +} +x_3243 = 1; +x_3244 = lean_box(x_3243); +if (lean_is_scalar(x_3242)) { + x_3245 = lean_alloc_ctor(0, 2, 0); +} else { + x_3245 = x_3242; +} +lean_ctor_set(x_3245, 0, x_3244); +lean_ctor_set(x_3245, 1, x_3241); +return x_3245; +} +} +} +else +{ +lean_object* x_3246; lean_object* x_3247; lean_object* x_3248; lean_object* x_3249; 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_3208 = !lean_is_exclusive(x_2897); -if (x_3208 == 0) -{ -return x_2897; +x_3246 = lean_ctor_get(x_3172, 0); +lean_inc(x_3246); +x_3247 = lean_ctor_get(x_3172, 1); +lean_inc(x_3247); +if (lean_is_exclusive(x_3172)) { + lean_ctor_release(x_3172, 0); + lean_ctor_release(x_3172, 1); + x_3248 = x_3172; +} else { + lean_dec_ref(x_3172); + x_3248 = lean_box(0); +} +if (lean_is_scalar(x_3248)) { + x_3249 = lean_alloc_ctor(1, 2, 0); +} else { + x_3249 = x_3248; +} +lean_ctor_set(x_3249, 0, x_3246); +lean_ctor_set(x_3249, 1, x_3247); +return x_3249; +} +} +} } else { -lean_object* x_3209; lean_object* x_3210; lean_object* x_3211; -x_3209 = lean_ctor_get(x_2897, 0); -x_3210 = lean_ctor_get(x_2897, 1); -lean_inc(x_3210); -lean_inc(x_3209); -lean_dec(x_2897); -x_3211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3211, 0, x_3209); -lean_ctor_set(x_3211, 1, x_3210); -return x_3211; -} -} -} -} -} -block_3226: +uint8_t x_3250; +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_3250 = !lean_is_exclusive(x_2939); +if (x_3250 == 0) { -if (x_3213 == 0) -{ -x_2884 = x_3214; -goto block_3212; +return x_2939; } else { -lean_object* x_3215; lean_object* x_3216; lean_object* x_3217; lean_object* x_3218; lean_object* x_3219; lean_object* x_3220; lean_object* x_3221; lean_object* x_3222; lean_object* x_3223; lean_object* x_3224; lean_object* x_3225; +lean_object* x_3251; lean_object* x_3252; lean_object* x_3253; +x_3251 = lean_ctor_get(x_2939, 0); +x_3252 = lean_ctor_get(x_2939, 1); +lean_inc(x_3252); +lean_inc(x_3251); +lean_dec(x_2939); +x_3253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3253, 0, x_3251); +lean_ctor_set(x_3253, 1, x_3252); +return x_3253; +} +} +} +} +} +block_3268: +{ +if (x_3255 == 0) +{ +x_2926 = x_3256; +goto block_3254; +} +else +{ +lean_object* x_3257; lean_object* x_3258; lean_object* x_3259; lean_object* x_3260; lean_object* x_3261; lean_object* x_3262; lean_object* x_3263; lean_object* x_3264; lean_object* x_3265; lean_object* x_3266; lean_object* x_3267; lean_inc(x_1); -x_3215 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3215, 0, x_1); -x_3216 = l_Lean_KernelException_toMessageData___closed__15; -x_3217 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3217, 0, x_3216); -lean_ctor_set(x_3217, 1, x_3215); -x_3218 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_3219 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3219, 0, x_3217); -lean_ctor_set(x_3219, 1, x_3218); +x_3257 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3257, 0, x_1); +x_3258 = l_Lean_KernelException_toMessageData___closed__15; +x_3259 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3259, 0, x_3258); +lean_ctor_set(x_3259, 1, x_3257); +x_3260 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_3261 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3261, 0, x_3259); +lean_ctor_set(x_3261, 1, x_3260); lean_inc(x_2); -x_3220 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3220, 0, x_2); -x_3221 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3221, 0, x_3219); -lean_ctor_set(x_3221, 1, x_3220); -x_3222 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3222, 0, x_3221); -lean_ctor_set(x_3222, 1, x_3216); -x_3223 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_3224 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3223, x_3222, x_3, x_4, x_5, x_6, x_3214); -x_3225 = lean_ctor_get(x_3224, 1); -lean_inc(x_3225); -lean_dec(x_3224); -x_2884 = x_3225; -goto block_3212; +x_3262 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3262, 0, x_2); +x_3263 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3263, 0, x_3261); +lean_ctor_set(x_3263, 1, x_3262); +x_3264 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3264, 0, x_3263); +lean_ctor_set(x_3264, 1, x_3258); +x_3265 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_3266 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3265, x_3264, x_3, x_4, x_5, x_6, x_3256); +x_3267 = lean_ctor_get(x_3266, 1); +lean_inc(x_3267); +lean_dec(x_3266); +x_2926 = x_3267; +goto block_3254; } } } else { -uint8_t x_3239; lean_object* x_3240; lean_object* x_3241; +lean_object* x_3281; lean_object* x_3282; lean_object* x_3283; uint8_t x_3284; lean_object* x_3285; lean_object* x_3286; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); +x_3281 = lean_unsigned_to_nat(0u); +x_3282 = l_Lean_Level_getOffsetAux(x_1, x_3281); lean_dec(x_1); -x_3239 = 1; -x_3240 = lean_box(x_3239); -x_3241 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3241, 0, x_3240); -lean_ctor_set(x_3241, 1, x_7); -return x_3241; +x_3283 = l_Lean_Level_getOffsetAux(x_2, x_3281); +lean_dec(x_2); +x_3284 = lean_nat_dec_eq(x_3282, x_3283); +lean_dec(x_3283); +lean_dec(x_3282); +x_3285 = lean_box(x_3284); +x_3286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3286, 0, x_3285); +lean_ctor_set(x_3286, 1, x_7); +return x_3286; } } default: { -uint8_t x_3242; -x_3242 = lean_level_eq(x_1, x_2); -if (x_3242 == 0) +lean_object* x_3287; lean_object* x_3288; uint8_t x_3289; +x_3287 = l_Lean_Level_getLevelOffset(x_1); +x_3288 = l_Lean_Level_getLevelOffset(x_2); +x_3289 = lean_level_eq(x_3287, x_3288); +lean_dec(x_3288); +lean_dec(x_3287); +if (x_3289 == 0) { -lean_object* x_3243; uint8_t x_3572; lean_object* x_3573; lean_object* x_3586; lean_object* x_3587; lean_object* x_3588; uint8_t x_3589; -x_3586 = lean_st_ref_get(x_6, x_7); -x_3587 = lean_ctor_get(x_3586, 0); -lean_inc(x_3587); -x_3588 = lean_ctor_get(x_3587, 3); -lean_inc(x_3588); -lean_dec(x_3587); -x_3589 = lean_ctor_get_uint8(x_3588, sizeof(void*)*1); -lean_dec(x_3588); -if (x_3589 == 0) +lean_object* x_3290; uint8_t x_3619; lean_object* x_3620; lean_object* x_3633; lean_object* x_3634; lean_object* x_3635; uint8_t x_3636; +x_3633 = lean_st_ref_get(x_6, x_7); +x_3634 = lean_ctor_get(x_3633, 0); +lean_inc(x_3634); +x_3635 = lean_ctor_get(x_3634, 3); +lean_inc(x_3635); +lean_dec(x_3634); +x_3636 = lean_ctor_get_uint8(x_3635, sizeof(void*)*1); +lean_dec(x_3635); +if (x_3636 == 0) { -lean_object* x_3590; uint8_t x_3591; -x_3590 = lean_ctor_get(x_3586, 1); -lean_inc(x_3590); -lean_dec(x_3586); -x_3591 = 0; -x_3572 = x_3591; -x_3573 = x_3590; -goto block_3585; +lean_object* x_3637; uint8_t x_3638; +x_3637 = lean_ctor_get(x_3633, 1); +lean_inc(x_3637); +lean_dec(x_3633); +x_3638 = 0; +x_3619 = x_3638; +x_3620 = x_3637; +goto block_3632; } else { -lean_object* x_3592; lean_object* x_3593; lean_object* x_3594; lean_object* x_3595; lean_object* x_3596; uint8_t x_3597; -x_3592 = lean_ctor_get(x_3586, 1); -lean_inc(x_3592); -lean_dec(x_3586); -x_3593 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_3594 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3593, x_3, x_4, x_5, x_6, x_3592); -x_3595 = lean_ctor_get(x_3594, 0); -lean_inc(x_3595); -x_3596 = lean_ctor_get(x_3594, 1); -lean_inc(x_3596); -lean_dec(x_3594); -x_3597 = lean_unbox(x_3595); -lean_dec(x_3595); -x_3572 = x_3597; -x_3573 = x_3596; -goto block_3585; +lean_object* x_3639; lean_object* x_3640; lean_object* x_3641; lean_object* x_3642; lean_object* x_3643; uint8_t x_3644; +x_3639 = lean_ctor_get(x_3633, 1); +lean_inc(x_3639); +lean_dec(x_3633); +x_3640 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_3641 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3640, x_3, x_4, x_5, x_6, x_3639); +x_3642 = lean_ctor_get(x_3641, 0); +lean_inc(x_3642); +x_3643 = lean_ctor_get(x_3641, 1); +lean_inc(x_3643); +lean_dec(x_3641); +x_3644 = lean_unbox(x_3642); +lean_dec(x_3642); +x_3619 = x_3644; +x_3620 = x_3643; +goto block_3632; } -block_3571: +block_3618: { -lean_object* x_3244; lean_object* x_3245; lean_object* x_3246; lean_object* x_3247; lean_object* x_3248; lean_object* x_3249; lean_object* x_3250; lean_object* x_3251; uint8_t x_3252; +lean_object* x_3291; lean_object* x_3292; lean_object* x_3293; lean_object* x_3294; lean_object* x_3295; lean_object* x_3296; lean_object* x_3297; lean_object* x_3298; uint8_t x_3299; lean_inc(x_1); -x_3244 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_3243); -x_3245 = lean_ctor_get(x_3244, 0); -lean_inc(x_3245); -x_3246 = lean_ctor_get(x_3244, 1); -lean_inc(x_3246); -lean_dec(x_3244); -x_3247 = l_Lean_Level_normalize(x_3245); -lean_dec(x_3245); +x_3291 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_3290); +x_3292 = lean_ctor_get(x_3291, 0); +lean_inc(x_3292); +x_3293 = lean_ctor_get(x_3291, 1); +lean_inc(x_3293); +lean_dec(x_3291); +x_3294 = l_Lean_Level_normalize(x_3292); +lean_dec(x_3292); lean_inc(x_2); -x_3248 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_3246); -x_3249 = lean_ctor_get(x_3248, 0); -lean_inc(x_3249); -x_3250 = lean_ctor_get(x_3248, 1); -lean_inc(x_3250); -lean_dec(x_3248); -x_3251 = l_Lean_Level_normalize(x_3249); -lean_dec(x_3249); -x_3252 = lean_level_eq(x_1, x_3247); -if (x_3252 == 0) +x_3295 = l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(x_2, x_3, x_4, x_5, x_6, x_3293); +x_3296 = lean_ctor_get(x_3295, 0); +lean_inc(x_3296); +x_3297 = lean_ctor_get(x_3295, 1); +lean_inc(x_3297); +lean_dec(x_3295); +x_3298 = l_Lean_Level_normalize(x_3296); +lean_dec(x_3296); +x_3299 = lean_level_eq(x_1, x_3294); +if (x_3299 == 0) { lean_dec(x_2); lean_dec(x_1); -x_1 = x_3247; -x_2 = x_3251; -x_7 = x_3250; +x_1 = x_3294; +x_2 = x_3298; +x_7 = x_3297; goto _start; } else { -uint8_t x_3254; -x_3254 = lean_level_eq(x_2, x_3251); -if (x_3254 == 0) +uint8_t x_3301; +x_3301 = lean_level_eq(x_2, x_3298); +if (x_3301 == 0) { lean_dec(x_2); lean_dec(x_1); -x_1 = x_3247; -x_2 = x_3251; -x_7 = x_3250; +x_1 = x_3294; +x_2 = x_3298; +x_7 = x_3297; goto _start; } else { -lean_object* x_3256; -lean_dec(x_3251); -lean_dec(x_3247); +lean_object* x_3303; +lean_dec(x_3298); +lean_dec(x_3294); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_3256 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_3250); -if (lean_obj_tag(x_3256) == 0) +x_3303 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_1, x_2, x_3, x_4, x_5, x_6, x_3297); +if (lean_obj_tag(x_3303) == 0) { -uint8_t x_3257; -x_3257 = !lean_is_exclusive(x_3256); -if (x_3257 == 0) +uint8_t x_3304; +x_3304 = !lean_is_exclusive(x_3303); +if (x_3304 == 0) { -lean_object* x_3258; lean_object* x_3259; uint8_t x_3260; uint8_t x_3261; uint8_t x_3262; -x_3258 = lean_ctor_get(x_3256, 0); -x_3259 = lean_ctor_get(x_3256, 1); -x_3260 = 2; -x_3261 = lean_unbox(x_3258); -x_3262 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3261, x_3260); -if (x_3262 == 0) +lean_object* x_3305; lean_object* x_3306; uint8_t x_3307; uint8_t x_3308; uint8_t x_3309; +x_3305 = lean_ctor_get(x_3303, 0); +x_3306 = lean_ctor_get(x_3303, 1); +x_3307 = 2; +x_3308 = lean_unbox(x_3305); +x_3309 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3308, x_3307); +if (x_3309 == 0) { -uint8_t x_3263; uint8_t x_3264; uint8_t x_3265; lean_object* x_3266; +uint8_t x_3310; uint8_t x_3311; uint8_t x_3312; lean_object* x_3313; 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_3263 = 1; -x_3264 = lean_unbox(x_3258); -lean_dec(x_3258); -x_3265 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3264, x_3263); -x_3266 = lean_box(x_3265); -lean_ctor_set(x_3256, 0, x_3266); -return x_3256; -} -else -{ -lean_object* x_3267; -lean_free_object(x_3256); -lean_dec(x_3258); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_1); -lean_inc(x_2); -x_3267 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_3259); -if (lean_obj_tag(x_3267) == 0) -{ -uint8_t x_3268; -x_3268 = !lean_is_exclusive(x_3267); -if (x_3268 == 0) -{ -lean_object* x_3269; lean_object* x_3270; uint8_t x_3271; uint8_t x_3272; -x_3269 = lean_ctor_get(x_3267, 0); -x_3270 = lean_ctor_get(x_3267, 1); -x_3271 = lean_unbox(x_3269); -x_3272 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3271, x_3260); -if (x_3272 == 0) -{ -uint8_t x_3273; uint8_t x_3274; uint8_t x_3275; lean_object* x_3276; -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_3273 = 1; -x_3274 = lean_unbox(x_3269); -lean_dec(x_3269); -x_3275 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3274, x_3273); -x_3276 = lean_box(x_3275); -lean_ctor_set(x_3267, 0, x_3276); -return x_3267; -} -else -{ -lean_object* x_3277; lean_object* x_3278; lean_object* x_3279; uint8_t x_3280; -lean_free_object(x_3267); -lean_dec(x_3269); -x_3277 = lean_st_ref_get(x_6, x_3270); -x_3278 = lean_ctor_get(x_3277, 1); -lean_inc(x_3278); -lean_dec(x_3277); -x_3279 = lean_st_ref_get(x_4, x_3278); -x_3280 = !lean_is_exclusive(x_3279); -if (x_3280 == 0) -{ -lean_object* x_3281; lean_object* x_3282; lean_object* x_3283; uint8_t x_3284; -x_3281 = lean_ctor_get(x_3279, 0); -x_3282 = lean_ctor_get(x_3279, 1); -x_3283 = lean_ctor_get(x_3281, 0); -lean_inc(x_3283); -lean_dec(x_3281); -lean_inc(x_3283); -x_3284 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3283, x_1); -if (x_3284 == 0) -{ -uint8_t x_3285; -x_3285 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3283, x_2); -if (x_3285 == 0) -{ -lean_object* x_3286; lean_object* x_3316; uint8_t x_3317; -x_3316 = lean_ctor_get(x_3, 0); -lean_inc(x_3316); -x_3317 = lean_ctor_get_uint8(x_3316, 4); -lean_dec(x_3316); -if (x_3317 == 0) -{ -uint8_t x_3318; lean_object* x_3319; -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_3318 = 0; -x_3319 = lean_box(x_3318); -lean_ctor_set(x_3279, 0, x_3319); -return x_3279; -} -else -{ -uint8_t x_3320; -x_3320 = l_Lean_Level_isMVar(x_1); -if (x_3320 == 0) -{ -uint8_t x_3321; -x_3321 = l_Lean_Level_isMVar(x_2); -if (x_3321 == 0) -{ -uint8_t x_3322; lean_object* x_3323; -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_3322 = 0; -x_3323 = lean_box(x_3322); -lean_ctor_set(x_3279, 0, x_3323); -return x_3279; -} -else -{ -lean_object* x_3324; -lean_free_object(x_3279); -x_3324 = lean_box(0); -x_3286 = x_3324; -goto block_3315; -} -} -else -{ -lean_object* x_3325; -lean_free_object(x_3279); -x_3325 = lean_box(0); -x_3286 = x_3325; -goto block_3315; -} -} -block_3315: -{ -uint8_t x_3287; lean_object* x_3288; lean_object* x_3303; lean_object* x_3304; lean_object* x_3305; uint8_t x_3306; -lean_dec(x_3286); -x_3303 = lean_st_ref_get(x_6, x_3282); -x_3304 = lean_ctor_get(x_3303, 0); -lean_inc(x_3304); -x_3305 = lean_ctor_get(x_3304, 3); -lean_inc(x_3305); -lean_dec(x_3304); -x_3306 = lean_ctor_get_uint8(x_3305, sizeof(void*)*1); +x_3310 = 1; +x_3311 = lean_unbox(x_3305); lean_dec(x_3305); -if (x_3306 == 0) -{ -lean_object* x_3307; uint8_t x_3308; -x_3307 = lean_ctor_get(x_3303, 1); -lean_inc(x_3307); -lean_dec(x_3303); -x_3308 = 0; -x_3287 = x_3308; -x_3288 = x_3307; -goto block_3302; +x_3312 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3311, x_3310); +x_3313 = lean_box(x_3312); +lean_ctor_set(x_3303, 0, x_3313); +return x_3303; } else { -lean_object* x_3309; lean_object* x_3310; lean_object* x_3311; lean_object* x_3312; lean_object* x_3313; uint8_t x_3314; -x_3309 = lean_ctor_get(x_3303, 1); -lean_inc(x_3309); -lean_dec(x_3303); -x_3310 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3311 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3310, x_3, x_4, x_5, x_6, x_3309); -x_3312 = lean_ctor_get(x_3311, 0); -lean_inc(x_3312); -x_3313 = lean_ctor_get(x_3311, 1); -lean_inc(x_3313); -lean_dec(x_3311); -x_3314 = lean_unbox(x_3312); -lean_dec(x_3312); -x_3287 = x_3314; -x_3288 = x_3313; -goto block_3302; -} -block_3302: +lean_object* x_3314; +lean_free_object(x_3303); +lean_dec(x_3305); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +lean_inc(x_2); +x_3314 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_3306); +if (lean_obj_tag(x_3314) == 0) { -if (x_3287 == 0) +uint8_t x_3315; +x_3315 = !lean_is_exclusive(x_3314); +if (x_3315 == 0) { -lean_object* x_3289; +lean_object* x_3316; lean_object* x_3317; uint8_t x_3318; uint8_t x_3319; +x_3316 = lean_ctor_get(x_3314, 0); +x_3317 = lean_ctor_get(x_3314, 1); +x_3318 = lean_unbox(x_3316); +x_3319 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3318, x_3307); +if (x_3319 == 0) +{ +uint8_t x_3320; uint8_t x_3321; uint8_t x_3322; lean_object* x_3323; 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_3289 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3288); -return x_3289; +x_3320 = 1; +x_3321 = lean_unbox(x_3316); +lean_dec(x_3316); +x_3322 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3321, x_3320); +x_3323 = lean_box(x_3322); +lean_ctor_set(x_3314, 0, x_3323); +return x_3314; } else { -lean_object* x_3290; lean_object* x_3291; lean_object* x_3292; lean_object* x_3293; lean_object* x_3294; lean_object* x_3295; lean_object* x_3296; lean_object* x_3297; lean_object* x_3298; lean_object* x_3299; lean_object* x_3300; lean_object* x_3301; -x_3290 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3290, 0, x_1); -x_3291 = l_Lean_KernelException_toMessageData___closed__15; -x_3292 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3292, 0, x_3291); -lean_ctor_set(x_3292, 1, x_3290); -x_3293 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_3294 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3294, 0, x_3292); -lean_ctor_set(x_3294, 1, x_3293); -x_3295 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3295, 0, x_2); -x_3296 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3296, 0, x_3294); -lean_ctor_set(x_3296, 1, x_3295); -x_3297 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3297, 0, x_3296); -lean_ctor_set(x_3297, 1, x_3291); -x_3298 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3299 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3298, x_3297, x_3, x_4, x_5, x_6, x_3288); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3300 = lean_ctor_get(x_3299, 1); -lean_inc(x_3300); -lean_dec(x_3299); -x_3301 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3300); -return x_3301; -} -} -} -} -else -{ -lean_object* x_3326; uint8_t x_3327; -lean_free_object(x_3279); -x_3326 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3282); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_3324; lean_object* x_3325; lean_object* x_3326; uint8_t x_3327; +lean_free_object(x_3314); +lean_dec(x_3316); +x_3324 = lean_st_ref_get(x_6, x_3317); +x_3325 = lean_ctor_get(x_3324, 1); +lean_inc(x_3325); +lean_dec(x_3324); +x_3326 = lean_st_ref_get(x_4, x_3325); x_3327 = !lean_is_exclusive(x_3326); if (x_3327 == 0) { -lean_object* x_3328; uint8_t x_3329; lean_object* x_3330; +lean_object* x_3328; lean_object* x_3329; lean_object* x_3330; uint8_t x_3331; x_3328 = lean_ctor_get(x_3326, 0); +x_3329 = lean_ctor_get(x_3326, 1); +x_3330 = lean_ctor_get(x_3328, 0); +lean_inc(x_3330); lean_dec(x_3328); -x_3329 = 1; -x_3330 = lean_box(x_3329); -lean_ctor_set(x_3326, 0, x_3330); +lean_inc(x_3330); +x_3331 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3330, x_1); +if (x_3331 == 0) +{ +uint8_t x_3332; +x_3332 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3330, x_2); +if (x_3332 == 0) +{ +lean_object* x_3333; lean_object* x_3363; uint8_t x_3364; +x_3363 = lean_ctor_get(x_3, 0); +lean_inc(x_3363); +x_3364 = lean_ctor_get_uint8(x_3363, 4); +lean_dec(x_3363); +if (x_3364 == 0) +{ +uint8_t x_3365; lean_object* x_3366; +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_3365 = 0; +x_3366 = lean_box(x_3365); +lean_ctor_set(x_3326, 0, x_3366); return x_3326; } else { -lean_object* x_3331; uint8_t x_3332; lean_object* x_3333; lean_object* x_3334; -x_3331 = lean_ctor_get(x_3326, 1); -lean_inc(x_3331); -lean_dec(x_3326); -x_3332 = 1; -x_3333 = lean_box(x_3332); -x_3334 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3334, 0, x_3333); -lean_ctor_set(x_3334, 1, x_3331); -return x_3334; -} -} -} -else +uint8_t x_3367; +x_3367 = l_Lean_Level_isMVar(x_1); +if (x_3367 == 0) { -lean_object* x_3335; uint8_t x_3336; -lean_dec(x_3283); -lean_free_object(x_3279); -x_3335 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3282); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3336 = !lean_is_exclusive(x_3335); -if (x_3336 == 0) +uint8_t x_3368; +x_3368 = l_Lean_Level_isMVar(x_2); +if (x_3368 == 0) { -lean_object* x_3337; uint8_t x_3338; lean_object* x_3339; -x_3337 = lean_ctor_get(x_3335, 0); -lean_dec(x_3337); -x_3338 = 1; -x_3339 = lean_box(x_3338); -lean_ctor_set(x_3335, 0, x_3339); -return x_3335; -} -else -{ -lean_object* x_3340; uint8_t x_3341; lean_object* x_3342; lean_object* x_3343; -x_3340 = lean_ctor_get(x_3335, 1); -lean_inc(x_3340); -lean_dec(x_3335); -x_3341 = 1; -x_3342 = lean_box(x_3341); -x_3343 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3343, 0, x_3342); -lean_ctor_set(x_3343, 1, x_3340); -return x_3343; -} -} -} -else -{ -lean_object* x_3344; lean_object* x_3345; lean_object* x_3346; uint8_t x_3347; -x_3344 = lean_ctor_get(x_3279, 0); -x_3345 = lean_ctor_get(x_3279, 1); -lean_inc(x_3345); -lean_inc(x_3344); -lean_dec(x_3279); -x_3346 = lean_ctor_get(x_3344, 0); -lean_inc(x_3346); -lean_dec(x_3344); -lean_inc(x_3346); -x_3347 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3346, x_1); -if (x_3347 == 0) -{ -uint8_t x_3348; -x_3348 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3346, x_2); -if (x_3348 == 0) -{ -lean_object* x_3349; lean_object* x_3379; uint8_t x_3380; -x_3379 = lean_ctor_get(x_3, 0); -lean_inc(x_3379); -x_3380 = lean_ctor_get_uint8(x_3379, 4); -lean_dec(x_3379); -if (x_3380 == 0) -{ -uint8_t x_3381; lean_object* x_3382; lean_object* x_3383; +uint8_t x_3369; lean_object* x_3370; 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_3381 = 0; -x_3382 = lean_box(x_3381); -x_3383 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3383, 0, x_3382); -lean_ctor_set(x_3383, 1, x_3345); -return x_3383; +x_3369 = 0; +x_3370 = lean_box(x_3369); +lean_ctor_set(x_3326, 0, x_3370); +return x_3326; } else { -uint8_t x_3384; -x_3384 = l_Lean_Level_isMVar(x_1); -if (x_3384 == 0) +lean_object* x_3371; +lean_free_object(x_3326); +x_3371 = lean_box(0); +x_3333 = x_3371; +goto block_3362; +} +} +else { -uint8_t x_3385; -x_3385 = l_Lean_Level_isMVar(x_2); -if (x_3385 == 0) +lean_object* x_3372; +lean_free_object(x_3326); +x_3372 = lean_box(0); +x_3333 = x_3372; +goto block_3362; +} +} +block_3362: { -uint8_t x_3386; lean_object* x_3387; lean_object* x_3388; +uint8_t x_3334; lean_object* x_3335; lean_object* x_3350; lean_object* x_3351; lean_object* x_3352; uint8_t x_3353; +lean_dec(x_3333); +x_3350 = lean_st_ref_get(x_6, x_3329); +x_3351 = lean_ctor_get(x_3350, 0); +lean_inc(x_3351); +x_3352 = lean_ctor_get(x_3351, 3); +lean_inc(x_3352); +lean_dec(x_3351); +x_3353 = lean_ctor_get_uint8(x_3352, sizeof(void*)*1); +lean_dec(x_3352); +if (x_3353 == 0) +{ +lean_object* x_3354; uint8_t x_3355; +x_3354 = lean_ctor_get(x_3350, 1); +lean_inc(x_3354); +lean_dec(x_3350); +x_3355 = 0; +x_3334 = x_3355; +x_3335 = x_3354; +goto block_3349; +} +else +{ +lean_object* x_3356; lean_object* x_3357; lean_object* x_3358; lean_object* x_3359; lean_object* x_3360; uint8_t x_3361; +x_3356 = lean_ctor_get(x_3350, 1); +lean_inc(x_3356); +lean_dec(x_3350); +x_3357 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3358 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3357, x_3, x_4, x_5, x_6, x_3356); +x_3359 = lean_ctor_get(x_3358, 0); +lean_inc(x_3359); +x_3360 = lean_ctor_get(x_3358, 1); +lean_inc(x_3360); +lean_dec(x_3358); +x_3361 = lean_unbox(x_3359); +lean_dec(x_3359); +x_3334 = x_3361; +x_3335 = x_3360; +goto block_3349; +} +block_3349: +{ +if (x_3334 == 0) +{ +lean_object* x_3336; 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_3386 = 0; -x_3387 = lean_box(x_3386); -x_3388 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3388, 0, x_3387); -lean_ctor_set(x_3388, 1, x_3345); -return x_3388; +x_3336 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3335); +return x_3336; } else { -lean_object* x_3389; -x_3389 = lean_box(0); -x_3349 = x_3389; -goto block_3378; -} -} -else -{ -lean_object* x_3390; -x_3390 = lean_box(0); -x_3349 = x_3390; -goto block_3378; -} -} -block_3378: -{ -uint8_t x_3350; lean_object* x_3351; lean_object* x_3366; lean_object* x_3367; lean_object* x_3368; uint8_t x_3369; -lean_dec(x_3349); -x_3366 = lean_st_ref_get(x_6, x_3345); -x_3367 = lean_ctor_get(x_3366, 0); -lean_inc(x_3367); -x_3368 = lean_ctor_get(x_3367, 3); -lean_inc(x_3368); -lean_dec(x_3367); -x_3369 = lean_ctor_get_uint8(x_3368, sizeof(void*)*1); -lean_dec(x_3368); -if (x_3369 == 0) -{ -lean_object* x_3370; uint8_t x_3371; -x_3370 = lean_ctor_get(x_3366, 1); -lean_inc(x_3370); -lean_dec(x_3366); -x_3371 = 0; -x_3350 = x_3371; -x_3351 = x_3370; -goto block_3365; -} -else -{ -lean_object* x_3372; lean_object* x_3373; lean_object* x_3374; lean_object* x_3375; lean_object* x_3376; uint8_t x_3377; -x_3372 = lean_ctor_get(x_3366, 1); -lean_inc(x_3372); -lean_dec(x_3366); -x_3373 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3374 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3373, x_3, x_4, x_5, x_6, x_3372); -x_3375 = lean_ctor_get(x_3374, 0); -lean_inc(x_3375); -x_3376 = lean_ctor_get(x_3374, 1); -lean_inc(x_3376); -lean_dec(x_3374); -x_3377 = lean_unbox(x_3375); -lean_dec(x_3375); -x_3350 = x_3377; -x_3351 = x_3376; -goto block_3365; -} -block_3365: -{ -if (x_3350 == 0) -{ -lean_object* x_3352; +lean_object* x_3337; lean_object* x_3338; lean_object* x_3339; lean_object* x_3340; lean_object* x_3341; lean_object* x_3342; lean_object* x_3343; lean_object* x_3344; lean_object* x_3345; lean_object* x_3346; lean_object* x_3347; lean_object* x_3348; +x_3337 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3337, 0, x_1); +x_3338 = l_Lean_KernelException_toMessageData___closed__15; +x_3339 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3339, 0, x_3338); +lean_ctor_set(x_3339, 1, x_3337); +x_3340 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_3341 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3341, 0, x_3339); +lean_ctor_set(x_3341, 1, x_3340); +x_3342 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3342, 0, x_2); +x_3343 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3343, 0, x_3341); +lean_ctor_set(x_3343, 1, x_3342); +x_3344 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3344, 0, x_3343); +lean_ctor_set(x_3344, 1, x_3338); +x_3345 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3346 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3345, x_3344, x_3, x_4, x_5, x_6, x_3335); 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_3352 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3351); -return x_3352; -} -else -{ -lean_object* x_3353; lean_object* x_3354; lean_object* x_3355; lean_object* x_3356; lean_object* x_3357; lean_object* x_3358; lean_object* x_3359; lean_object* x_3360; lean_object* x_3361; lean_object* x_3362; lean_object* x_3363; lean_object* x_3364; -x_3353 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3353, 0, x_1); -x_3354 = l_Lean_KernelException_toMessageData___closed__15; -x_3355 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3355, 0, x_3354); -lean_ctor_set(x_3355, 1, x_3353); -x_3356 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_3357 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3357, 0, x_3355); -lean_ctor_set(x_3357, 1, x_3356); -x_3358 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3358, 0, x_2); -x_3359 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3359, 0, x_3357); -lean_ctor_set(x_3359, 1, x_3358); -x_3360 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3360, 0, x_3359); -lean_ctor_set(x_3360, 1, x_3354); -x_3361 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3362 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3361, x_3360, x_3, x_4, x_5, x_6, x_3351); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3363 = lean_ctor_get(x_3362, 1); -lean_inc(x_3363); -lean_dec(x_3362); -x_3364 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3363); -return x_3364; -} -} -} -} -else -{ -lean_object* x_3391; lean_object* x_3392; lean_object* x_3393; uint8_t x_3394; lean_object* x_3395; lean_object* x_3396; -x_3391 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3345); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3392 = lean_ctor_get(x_3391, 1); -lean_inc(x_3392); -if (lean_is_exclusive(x_3391)) { - lean_ctor_release(x_3391, 0); - lean_ctor_release(x_3391, 1); - x_3393 = x_3391; -} else { - lean_dec_ref(x_3391); - x_3393 = lean_box(0); -} -x_3394 = 1; -x_3395 = lean_box(x_3394); -if (lean_is_scalar(x_3393)) { - x_3396 = lean_alloc_ctor(0, 2, 0); -} else { - x_3396 = x_3393; -} -lean_ctor_set(x_3396, 0, x_3395); -lean_ctor_set(x_3396, 1, x_3392); -return x_3396; -} -} -else -{ -lean_object* x_3397; lean_object* x_3398; lean_object* x_3399; uint8_t x_3400; lean_object* x_3401; lean_object* x_3402; +x_3347 = lean_ctor_get(x_3346, 1); +lean_inc(x_3347); lean_dec(x_3346); -x_3397 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3345); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3398 = lean_ctor_get(x_3397, 1); -lean_inc(x_3398); -if (lean_is_exclusive(x_3397)) { - lean_ctor_release(x_3397, 0); - lean_ctor_release(x_3397, 1); - x_3399 = x_3397; -} else { - lean_dec_ref(x_3397); - x_3399 = lean_box(0); -} -x_3400 = 1; -x_3401 = lean_box(x_3400); -if (lean_is_scalar(x_3399)) { - x_3402 = lean_alloc_ctor(0, 2, 0); -} else { - x_3402 = x_3399; -} -lean_ctor_set(x_3402, 0, x_3401); -lean_ctor_set(x_3402, 1, x_3398); -return x_3402; +x_3348 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3347); +return x_3348; } } } } else { -lean_object* x_3403; lean_object* x_3404; uint8_t x_3405; uint8_t x_3406; -x_3403 = lean_ctor_get(x_3267, 0); -x_3404 = lean_ctor_get(x_3267, 1); -lean_inc(x_3404); -lean_inc(x_3403); -lean_dec(x_3267); -x_3405 = lean_unbox(x_3403); -x_3406 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3405, x_3260); -if (x_3406 == 0) +lean_object* x_3373; uint8_t x_3374; +lean_free_object(x_3326); +x_3373 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3329); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3374 = !lean_is_exclusive(x_3373); +if (x_3374 == 0) { -uint8_t x_3407; uint8_t x_3408; uint8_t x_3409; lean_object* x_3410; lean_object* x_3411; +lean_object* x_3375; uint8_t x_3376; lean_object* x_3377; +x_3375 = lean_ctor_get(x_3373, 0); +lean_dec(x_3375); +x_3376 = 1; +x_3377 = lean_box(x_3376); +lean_ctor_set(x_3373, 0, x_3377); +return x_3373; +} +else +{ +lean_object* x_3378; uint8_t x_3379; lean_object* x_3380; lean_object* x_3381; +x_3378 = lean_ctor_get(x_3373, 1); +lean_inc(x_3378); +lean_dec(x_3373); +x_3379 = 1; +x_3380 = lean_box(x_3379); +x_3381 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3381, 0, x_3380); +lean_ctor_set(x_3381, 1, x_3378); +return x_3381; +} +} +} +else +{ +lean_object* x_3382; uint8_t x_3383; +lean_dec(x_3330); +lean_free_object(x_3326); +x_3382 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3329); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3383 = !lean_is_exclusive(x_3382); +if (x_3383 == 0) +{ +lean_object* x_3384; uint8_t x_3385; lean_object* x_3386; +x_3384 = lean_ctor_get(x_3382, 0); +lean_dec(x_3384); +x_3385 = 1; +x_3386 = lean_box(x_3385); +lean_ctor_set(x_3382, 0, x_3386); +return x_3382; +} +else +{ +lean_object* x_3387; uint8_t x_3388; lean_object* x_3389; lean_object* x_3390; +x_3387 = lean_ctor_get(x_3382, 1); +lean_inc(x_3387); +lean_dec(x_3382); +x_3388 = 1; +x_3389 = lean_box(x_3388); +x_3390 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3390, 0, x_3389); +lean_ctor_set(x_3390, 1, x_3387); +return x_3390; +} +} +} +else +{ +lean_object* x_3391; lean_object* x_3392; lean_object* x_3393; uint8_t x_3394; +x_3391 = lean_ctor_get(x_3326, 0); +x_3392 = lean_ctor_get(x_3326, 1); +lean_inc(x_3392); +lean_inc(x_3391); +lean_dec(x_3326); +x_3393 = lean_ctor_get(x_3391, 0); +lean_inc(x_3393); +lean_dec(x_3391); +lean_inc(x_3393); +x_3394 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3393, x_1); +if (x_3394 == 0) +{ +uint8_t x_3395; +x_3395 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3393, x_2); +if (x_3395 == 0) +{ +lean_object* x_3396; lean_object* x_3426; uint8_t x_3427; +x_3426 = lean_ctor_get(x_3, 0); +lean_inc(x_3426); +x_3427 = lean_ctor_get_uint8(x_3426, 4); +lean_dec(x_3426); +if (x_3427 == 0) +{ +uint8_t x_3428; lean_object* x_3429; lean_object* x_3430; 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_3407 = 1; -x_3408 = lean_unbox(x_3403); -lean_dec(x_3403); -x_3409 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3408, x_3407); -x_3410 = lean_box(x_3409); -x_3411 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3411, 0, x_3410); -lean_ctor_set(x_3411, 1, x_3404); +x_3428 = 0; +x_3429 = lean_box(x_3428); +x_3430 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3430, 0, x_3429); +lean_ctor_set(x_3430, 1, x_3392); +return x_3430; +} +else +{ +uint8_t x_3431; +x_3431 = l_Lean_Level_isMVar(x_1); +if (x_3431 == 0) +{ +uint8_t x_3432; +x_3432 = l_Lean_Level_isMVar(x_2); +if (x_3432 == 0) +{ +uint8_t x_3433; lean_object* x_3434; lean_object* x_3435; +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_3433 = 0; +x_3434 = lean_box(x_3433); +x_3435 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3435, 0, x_3434); +lean_ctor_set(x_3435, 1, x_3392); +return x_3435; +} +else +{ +lean_object* x_3436; +x_3436 = lean_box(0); +x_3396 = x_3436; +goto block_3425; +} +} +else +{ +lean_object* x_3437; +x_3437 = lean_box(0); +x_3396 = x_3437; +goto block_3425; +} +} +block_3425: +{ +uint8_t x_3397; lean_object* x_3398; lean_object* x_3413; lean_object* x_3414; lean_object* x_3415; uint8_t x_3416; +lean_dec(x_3396); +x_3413 = lean_st_ref_get(x_6, x_3392); +x_3414 = lean_ctor_get(x_3413, 0); +lean_inc(x_3414); +x_3415 = lean_ctor_get(x_3414, 3); +lean_inc(x_3415); +lean_dec(x_3414); +x_3416 = lean_ctor_get_uint8(x_3415, sizeof(void*)*1); +lean_dec(x_3415); +if (x_3416 == 0) +{ +lean_object* x_3417; uint8_t x_3418; +x_3417 = lean_ctor_get(x_3413, 1); +lean_inc(x_3417); +lean_dec(x_3413); +x_3418 = 0; +x_3397 = x_3418; +x_3398 = x_3417; +goto block_3412; +} +else +{ +lean_object* x_3419; lean_object* x_3420; lean_object* x_3421; lean_object* x_3422; lean_object* x_3423; uint8_t x_3424; +x_3419 = lean_ctor_get(x_3413, 1); +lean_inc(x_3419); +lean_dec(x_3413); +x_3420 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3421 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3420, x_3, x_4, x_5, x_6, x_3419); +x_3422 = lean_ctor_get(x_3421, 0); +lean_inc(x_3422); +x_3423 = lean_ctor_get(x_3421, 1); +lean_inc(x_3423); +lean_dec(x_3421); +x_3424 = lean_unbox(x_3422); +lean_dec(x_3422); +x_3397 = x_3424; +x_3398 = x_3423; +goto block_3412; +} +block_3412: +{ +if (x_3397 == 0) +{ +lean_object* x_3399; +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_3399 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3398); +return x_3399; +} +else +{ +lean_object* x_3400; lean_object* x_3401; lean_object* x_3402; lean_object* x_3403; lean_object* x_3404; lean_object* x_3405; lean_object* x_3406; lean_object* x_3407; lean_object* x_3408; lean_object* x_3409; lean_object* x_3410; lean_object* x_3411; +x_3400 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3400, 0, x_1); +x_3401 = l_Lean_KernelException_toMessageData___closed__15; +x_3402 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3402, 0, x_3401); +lean_ctor_set(x_3402, 1, x_3400); +x_3403 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_3404 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3404, 0, x_3402); +lean_ctor_set(x_3404, 1, x_3403); +x_3405 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3405, 0, x_2); +x_3406 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3406, 0, x_3404); +lean_ctor_set(x_3406, 1, x_3405); +x_3407 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3407, 0, x_3406); +lean_ctor_set(x_3407, 1, x_3401); +x_3408 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3409 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3408, x_3407, x_3, x_4, x_5, x_6, x_3398); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3410 = lean_ctor_get(x_3409, 1); +lean_inc(x_3410); +lean_dec(x_3409); +x_3411 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3410); return x_3411; } +} +} +} else { -lean_object* x_3412; lean_object* x_3413; lean_object* x_3414; lean_object* x_3415; lean_object* x_3416; lean_object* x_3417; lean_object* x_3418; uint8_t x_3419; -lean_dec(x_3403); -x_3412 = lean_st_ref_get(x_6, x_3404); -x_3413 = lean_ctor_get(x_3412, 1); -lean_inc(x_3413); -lean_dec(x_3412); -x_3414 = lean_st_ref_get(x_4, x_3413); -x_3415 = lean_ctor_get(x_3414, 0); -lean_inc(x_3415); -x_3416 = lean_ctor_get(x_3414, 1); -lean_inc(x_3416); -if (lean_is_exclusive(x_3414)) { - lean_ctor_release(x_3414, 0); - lean_ctor_release(x_3414, 1); - x_3417 = x_3414; -} else { - lean_dec_ref(x_3414); - x_3417 = lean_box(0); -} -x_3418 = lean_ctor_get(x_3415, 0); -lean_inc(x_3418); -lean_dec(x_3415); -lean_inc(x_3418); -x_3419 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3418, x_1); -if (x_3419 == 0) -{ -uint8_t x_3420; -x_3420 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3418, x_2); -if (x_3420 == 0) -{ -lean_object* x_3421; lean_object* x_3451; uint8_t x_3452; -x_3451 = lean_ctor_get(x_3, 0); -lean_inc(x_3451); -x_3452 = lean_ctor_get_uint8(x_3451, 4); -lean_dec(x_3451); -if (x_3452 == 0) -{ -uint8_t x_3453; lean_object* x_3454; lean_object* x_3455; +lean_object* x_3438; lean_object* x_3439; lean_object* x_3440; uint8_t x_3441; lean_object* x_3442; lean_object* x_3443; +x_3438 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3392); 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_3453 = 0; -x_3454 = lean_box(x_3453); -if (lean_is_scalar(x_3417)) { - x_3455 = lean_alloc_ctor(0, 2, 0); -} else { - x_3455 = x_3417; -} -lean_ctor_set(x_3455, 0, x_3454); -lean_ctor_set(x_3455, 1, x_3416); -return x_3455; -} -else -{ -uint8_t x_3456; -x_3456 = l_Lean_Level_isMVar(x_1); -if (x_3456 == 0) -{ -uint8_t x_3457; -x_3457 = l_Lean_Level_isMVar(x_2); -if (x_3457 == 0) -{ -uint8_t x_3458; lean_object* x_3459; lean_object* x_3460; -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_3458 = 0; -x_3459 = lean_box(x_3458); -if (lean_is_scalar(x_3417)) { - x_3460 = lean_alloc_ctor(0, 2, 0); -} else { - x_3460 = x_3417; -} -lean_ctor_set(x_3460, 0, x_3459); -lean_ctor_set(x_3460, 1, x_3416); -return x_3460; -} -else -{ -lean_object* x_3461; -lean_dec(x_3417); -x_3461 = lean_box(0); -x_3421 = x_3461; -goto block_3450; -} -} -else -{ -lean_object* x_3462; -lean_dec(x_3417); -x_3462 = lean_box(0); -x_3421 = x_3462; -goto block_3450; -} -} -block_3450: -{ -uint8_t x_3422; lean_object* x_3423; lean_object* x_3438; lean_object* x_3439; lean_object* x_3440; uint8_t x_3441; -lean_dec(x_3421); -x_3438 = lean_st_ref_get(x_6, x_3416); -x_3439 = lean_ctor_get(x_3438, 0); +x_3439 = lean_ctor_get(x_3438, 1); lean_inc(x_3439); -x_3440 = lean_ctor_get(x_3439, 3); -lean_inc(x_3440); -lean_dec(x_3439); -x_3441 = lean_ctor_get_uint8(x_3440, sizeof(void*)*1); -lean_dec(x_3440); -if (x_3441 == 0) -{ -lean_object* x_3442; uint8_t x_3443; -x_3442 = lean_ctor_get(x_3438, 1); -lean_inc(x_3442); -lean_dec(x_3438); -x_3443 = 0; -x_3422 = x_3443; -x_3423 = x_3442; -goto block_3437; +if (lean_is_exclusive(x_3438)) { + lean_ctor_release(x_3438, 0); + lean_ctor_release(x_3438, 1); + x_3440 = x_3438; +} else { + lean_dec_ref(x_3438); + x_3440 = lean_box(0); +} +x_3441 = 1; +x_3442 = lean_box(x_3441); +if (lean_is_scalar(x_3440)) { + x_3443 = lean_alloc_ctor(0, 2, 0); +} else { + x_3443 = x_3440; +} +lean_ctor_set(x_3443, 0, x_3442); +lean_ctor_set(x_3443, 1, x_3439); +return x_3443; +} } else { -lean_object* x_3444; lean_object* x_3445; lean_object* x_3446; lean_object* x_3447; lean_object* x_3448; uint8_t x_3449; -x_3444 = lean_ctor_get(x_3438, 1); -lean_inc(x_3444); -lean_dec(x_3438); -x_3445 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3446 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3445, x_3, x_4, x_5, x_6, x_3444); -x_3447 = lean_ctor_get(x_3446, 0); -lean_inc(x_3447); -x_3448 = lean_ctor_get(x_3446, 1); -lean_inc(x_3448); -lean_dec(x_3446); -x_3449 = lean_unbox(x_3447); -lean_dec(x_3447); -x_3422 = x_3449; -x_3423 = x_3448; -goto block_3437; +lean_object* x_3444; lean_object* x_3445; lean_object* x_3446; uint8_t x_3447; lean_object* x_3448; lean_object* x_3449; +lean_dec(x_3393); +x_3444 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3392); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3445 = lean_ctor_get(x_3444, 1); +lean_inc(x_3445); +if (lean_is_exclusive(x_3444)) { + lean_ctor_release(x_3444, 0); + lean_ctor_release(x_3444, 1); + x_3446 = x_3444; +} else { + lean_dec_ref(x_3444); + x_3446 = lean_box(0); } -block_3437: +x_3447 = 1; +x_3448 = lean_box(x_3447); +if (lean_is_scalar(x_3446)) { + x_3449 = lean_alloc_ctor(0, 2, 0); +} else { + x_3449 = x_3446; +} +lean_ctor_set(x_3449, 0, x_3448); +lean_ctor_set(x_3449, 1, x_3445); +return x_3449; +} +} +} +} +else { -if (x_3422 == 0) +lean_object* x_3450; lean_object* x_3451; uint8_t x_3452; uint8_t x_3453; +x_3450 = lean_ctor_get(x_3314, 0); +x_3451 = lean_ctor_get(x_3314, 1); +lean_inc(x_3451); +lean_inc(x_3450); +lean_dec(x_3314); +x_3452 = lean_unbox(x_3450); +x_3453 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3452, x_3307); +if (x_3453 == 0) { -lean_object* x_3424; +uint8_t x_3454; uint8_t x_3455; uint8_t x_3456; lean_object* x_3457; lean_object* x_3458; 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_3424 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3423); -return x_3424; +x_3454 = 1; +x_3455 = lean_unbox(x_3450); +lean_dec(x_3450); +x_3456 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3455, x_3454); +x_3457 = lean_box(x_3456); +x_3458 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3458, 0, x_3457); +lean_ctor_set(x_3458, 1, x_3451); +return x_3458; } else { -lean_object* x_3425; lean_object* x_3426; lean_object* x_3427; lean_object* x_3428; lean_object* x_3429; lean_object* x_3430; lean_object* x_3431; lean_object* x_3432; lean_object* x_3433; lean_object* x_3434; lean_object* x_3435; lean_object* x_3436; -x_3425 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3425, 0, x_1); -x_3426 = l_Lean_KernelException_toMessageData___closed__15; -x_3427 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3427, 0, x_3426); -lean_ctor_set(x_3427, 1, x_3425); -x_3428 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_3429 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3429, 0, x_3427); -lean_ctor_set(x_3429, 1, x_3428); -x_3430 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3430, 0, x_2); -x_3431 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3431, 0, x_3429); -lean_ctor_set(x_3431, 1, x_3430); -x_3432 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3432, 0, x_3431); -lean_ctor_set(x_3432, 1, x_3426); -x_3433 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3434 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3433, x_3432, x_3, x_4, x_5, x_6, x_3423); +lean_object* x_3459; lean_object* x_3460; lean_object* x_3461; lean_object* x_3462; lean_object* x_3463; lean_object* x_3464; lean_object* x_3465; uint8_t x_3466; +lean_dec(x_3450); +x_3459 = lean_st_ref_get(x_6, x_3451); +x_3460 = lean_ctor_get(x_3459, 1); +lean_inc(x_3460); +lean_dec(x_3459); +x_3461 = lean_st_ref_get(x_4, x_3460); +x_3462 = lean_ctor_get(x_3461, 0); +lean_inc(x_3462); +x_3463 = lean_ctor_get(x_3461, 1); +lean_inc(x_3463); +if (lean_is_exclusive(x_3461)) { + lean_ctor_release(x_3461, 0); + lean_ctor_release(x_3461, 1); + x_3464 = x_3461; +} else { + lean_dec_ref(x_3461); + x_3464 = lean_box(0); +} +x_3465 = lean_ctor_get(x_3462, 0); +lean_inc(x_3465); +lean_dec(x_3462); +lean_inc(x_3465); +x_3466 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3465, x_1); +if (x_3466 == 0) +{ +uint8_t x_3467; +x_3467 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3465, x_2); +if (x_3467 == 0) +{ +lean_object* x_3468; lean_object* x_3498; uint8_t x_3499; +x_3498 = lean_ctor_get(x_3, 0); +lean_inc(x_3498); +x_3499 = lean_ctor_get_uint8(x_3498, 4); +lean_dec(x_3498); +if (x_3499 == 0) +{ +uint8_t x_3500; lean_object* x_3501; lean_object* x_3502; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_3435 = lean_ctor_get(x_3434, 1); -lean_inc(x_3435); -lean_dec(x_3434); -x_3436 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3435); -return x_3436; -} -} +lean_dec(x_2); +lean_dec(x_1); +x_3500 = 0; +x_3501 = lean_box(x_3500); +if (lean_is_scalar(x_3464)) { + x_3502 = lean_alloc_ctor(0, 2, 0); +} else { + x_3502 = x_3464; } +lean_ctor_set(x_3502, 0, x_3501); +lean_ctor_set(x_3502, 1, x_3463); +return x_3502; } else { -lean_object* x_3463; lean_object* x_3464; lean_object* x_3465; uint8_t x_3466; lean_object* x_3467; lean_object* x_3468; -lean_dec(x_3417); -x_3463 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3416); +uint8_t x_3503; +x_3503 = l_Lean_Level_isMVar(x_1); +if (x_3503 == 0) +{ +uint8_t x_3504; +x_3504 = l_Lean_Level_isMVar(x_2); +if (x_3504 == 0) +{ +uint8_t x_3505; lean_object* x_3506; lean_object* x_3507; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_3464 = lean_ctor_get(x_3463, 1); -lean_inc(x_3464); -if (lean_is_exclusive(x_3463)) { - lean_ctor_release(x_3463, 0); - lean_ctor_release(x_3463, 1); - x_3465 = x_3463; +lean_dec(x_2); +lean_dec(x_1); +x_3505 = 0; +x_3506 = lean_box(x_3505); +if (lean_is_scalar(x_3464)) { + x_3507 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_3463); - x_3465 = lean_box(0); + x_3507 = x_3464; } -x_3466 = 1; -x_3467 = lean_box(x_3466); -if (lean_is_scalar(x_3465)) { - x_3468 = lean_alloc_ctor(0, 2, 0); -} else { - x_3468 = x_3465; +lean_ctor_set(x_3507, 0, x_3506); +lean_ctor_set(x_3507, 1, x_3463); +return x_3507; } -lean_ctor_set(x_3468, 0, x_3467); -lean_ctor_set(x_3468, 1, x_3464); -return x_3468; +else +{ +lean_object* x_3508; +lean_dec(x_3464); +x_3508 = lean_box(0); +x_3468 = x_3508; +goto block_3497; } } else { -lean_object* x_3469; lean_object* x_3470; lean_object* x_3471; uint8_t x_3472; lean_object* x_3473; lean_object* x_3474; -lean_dec(x_3418); -lean_dec(x_3417); -x_3469 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3416); +lean_object* x_3509; +lean_dec(x_3464); +x_3509 = lean_box(0); +x_3468 = x_3509; +goto block_3497; +} +} +block_3497: +{ +uint8_t x_3469; lean_object* x_3470; lean_object* x_3485; lean_object* x_3486; lean_object* x_3487; uint8_t x_3488; +lean_dec(x_3468); +x_3485 = lean_st_ref_get(x_6, x_3463); +x_3486 = lean_ctor_get(x_3485, 0); +lean_inc(x_3486); +x_3487 = lean_ctor_get(x_3486, 3); +lean_inc(x_3487); +lean_dec(x_3486); +x_3488 = lean_ctor_get_uint8(x_3487, sizeof(void*)*1); +lean_dec(x_3487); +if (x_3488 == 0) +{ +lean_object* x_3489; uint8_t x_3490; +x_3489 = lean_ctor_get(x_3485, 1); +lean_inc(x_3489); +lean_dec(x_3485); +x_3490 = 0; +x_3469 = x_3490; +x_3470 = x_3489; +goto block_3484; +} +else +{ +lean_object* x_3491; lean_object* x_3492; lean_object* x_3493; lean_object* x_3494; lean_object* x_3495; uint8_t x_3496; +x_3491 = lean_ctor_get(x_3485, 1); +lean_inc(x_3491); +lean_dec(x_3485); +x_3492 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3493 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3492, x_3, x_4, x_5, x_6, x_3491); +x_3494 = lean_ctor_get(x_3493, 0); +lean_inc(x_3494); +x_3495 = lean_ctor_get(x_3493, 1); +lean_inc(x_3495); +lean_dec(x_3493); +x_3496 = lean_unbox(x_3494); +lean_dec(x_3494); +x_3469 = x_3496; +x_3470 = x_3495; +goto block_3484; +} +block_3484: +{ +if (x_3469 == 0) +{ +lean_object* x_3471; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_3470 = lean_ctor_get(x_3469, 1); -lean_inc(x_3470); -if (lean_is_exclusive(x_3469)) { - lean_ctor_release(x_3469, 0); - lean_ctor_release(x_3469, 1); - x_3471 = x_3469; -} else { - lean_dec_ref(x_3469); - x_3471 = lean_box(0); -} -x_3472 = 1; -x_3473 = lean_box(x_3472); -if (lean_is_scalar(x_3471)) { - x_3474 = lean_alloc_ctor(0, 2, 0); -} else { - x_3474 = x_3471; +lean_dec(x_2); +lean_dec(x_1); +x_3471 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3470); +return x_3471; } +else +{ +lean_object* x_3472; lean_object* x_3473; lean_object* x_3474; lean_object* x_3475; lean_object* x_3476; lean_object* x_3477; lean_object* x_3478; lean_object* x_3479; lean_object* x_3480; lean_object* x_3481; lean_object* x_3482; lean_object* x_3483; +x_3472 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3472, 0, x_1); +x_3473 = l_Lean_KernelException_toMessageData___closed__15; +x_3474 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3474, 0, x_3473); -lean_ctor_set(x_3474, 1, x_3470); -return x_3474; -} -} -} -} -else -{ -uint8_t x_3475; -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_3475 = !lean_is_exclusive(x_3267); -if (x_3475 == 0) -{ -return x_3267; -} -else -{ -lean_object* x_3476; lean_object* x_3477; lean_object* x_3478; -x_3476 = lean_ctor_get(x_3267, 0); -x_3477 = lean_ctor_get(x_3267, 1); -lean_inc(x_3477); -lean_inc(x_3476); -lean_dec(x_3267); -x_3478 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3474, 1, x_3472); +x_3475 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_3476 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3476, 0, x_3474); +lean_ctor_set(x_3476, 1, x_3475); +x_3477 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3477, 0, x_2); +x_3478 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_3478, 0, x_3476); lean_ctor_set(x_3478, 1, x_3477); -return x_3478; +x_3479 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3479, 0, x_3478); +lean_ctor_set(x_3479, 1, x_3473); +x_3480 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3481 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3480, x_3479, x_3, x_4, x_5, x_6, x_3470); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3482 = lean_ctor_get(x_3481, 1); +lean_inc(x_3482); +lean_dec(x_3481); +x_3483 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3482); +return x_3483; } } } } else { -lean_object* x_3479; lean_object* x_3480; uint8_t x_3481; uint8_t x_3482; uint8_t x_3483; -x_3479 = lean_ctor_get(x_3256, 0); -x_3480 = lean_ctor_get(x_3256, 1); -lean_inc(x_3480); -lean_inc(x_3479); -lean_dec(x_3256); -x_3481 = 2; -x_3482 = lean_unbox(x_3479); -x_3483 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3482, x_3481); -if (x_3483 == 0) +lean_object* x_3510; lean_object* x_3511; lean_object* x_3512; uint8_t x_3513; lean_object* x_3514; lean_object* x_3515; +lean_dec(x_3464); +x_3510 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3463); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3511 = lean_ctor_get(x_3510, 1); +lean_inc(x_3511); +if (lean_is_exclusive(x_3510)) { + lean_ctor_release(x_3510, 0); + lean_ctor_release(x_3510, 1); + x_3512 = x_3510; +} else { + lean_dec_ref(x_3510); + x_3512 = lean_box(0); +} +x_3513 = 1; +x_3514 = lean_box(x_3513); +if (lean_is_scalar(x_3512)) { + x_3515 = lean_alloc_ctor(0, 2, 0); +} else { + x_3515 = x_3512; +} +lean_ctor_set(x_3515, 0, x_3514); +lean_ctor_set(x_3515, 1, x_3511); +return x_3515; +} +} +else { -uint8_t x_3484; uint8_t x_3485; uint8_t x_3486; lean_object* x_3487; lean_object* x_3488; +lean_object* x_3516; lean_object* x_3517; lean_object* x_3518; uint8_t x_3519; lean_object* x_3520; lean_object* x_3521; +lean_dec(x_3465); +lean_dec(x_3464); +x_3516 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3463); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3517 = lean_ctor_get(x_3516, 1); +lean_inc(x_3517); +if (lean_is_exclusive(x_3516)) { + lean_ctor_release(x_3516, 0); + lean_ctor_release(x_3516, 1); + x_3518 = x_3516; +} else { + lean_dec_ref(x_3516); + x_3518 = lean_box(0); +} +x_3519 = 1; +x_3520 = lean_box(x_3519); +if (lean_is_scalar(x_3518)) { + x_3521 = lean_alloc_ctor(0, 2, 0); +} else { + x_3521 = x_3518; +} +lean_ctor_set(x_3521, 0, x_3520); +lean_ctor_set(x_3521, 1, x_3517); +return x_3521; +} +} +} +} +else +{ +uint8_t x_3522; 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_3484 = 1; -x_3485 = lean_unbox(x_3479); -lean_dec(x_3479); -x_3486 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3485, x_3484); -x_3487 = lean_box(x_3486); -x_3488 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3488, 0, x_3487); -lean_ctor_set(x_3488, 1, x_3480); -return x_3488; +x_3522 = !lean_is_exclusive(x_3314); +if (x_3522 == 0) +{ +return x_3314; } else { -lean_object* x_3489; -lean_dec(x_3479); +lean_object* x_3523; lean_object* x_3524; lean_object* x_3525; +x_3523 = lean_ctor_get(x_3314, 0); +x_3524 = lean_ctor_get(x_3314, 1); +lean_inc(x_3524); +lean_inc(x_3523); +lean_dec(x_3314); +x_3525 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3525, 0, x_3523); +lean_ctor_set(x_3525, 1, x_3524); +return x_3525; +} +} +} +} +else +{ +lean_object* x_3526; lean_object* x_3527; uint8_t x_3528; uint8_t x_3529; uint8_t x_3530; +x_3526 = lean_ctor_get(x_3303, 0); +x_3527 = lean_ctor_get(x_3303, 1); +lean_inc(x_3527); +lean_inc(x_3526); +lean_dec(x_3303); +x_3528 = 2; +x_3529 = lean_unbox(x_3526); +x_3530 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3529, x_3528); +if (x_3530 == 0) +{ +uint8_t x_3531; uint8_t x_3532; uint8_t x_3533; lean_object* x_3534; lean_object* x_3535; +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_3531 = 1; +x_3532 = lean_unbox(x_3526); +lean_dec(x_3526); +x_3533 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3532, x_3531); +x_3534 = lean_box(x_3533); +x_3535 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3535, 0, x_3534); +lean_ctor_set(x_3535, 1, x_3527); +return x_3535; +} +else +{ +lean_object* x_3536; +lean_dec(x_3526); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); lean_inc(x_2); -x_3489 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_3480); -if (lean_obj_tag(x_3489) == 0) +x_3536 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solve(x_2, x_1, x_3, x_4, x_5, x_6, x_3527); +if (lean_obj_tag(x_3536) == 0) { -lean_object* x_3490; lean_object* x_3491; lean_object* x_3492; uint8_t x_3493; uint8_t x_3494; -x_3490 = lean_ctor_get(x_3489, 0); -lean_inc(x_3490); -x_3491 = lean_ctor_get(x_3489, 1); -lean_inc(x_3491); -if (lean_is_exclusive(x_3489)) { - lean_ctor_release(x_3489, 0); - lean_ctor_release(x_3489, 1); - x_3492 = x_3489; +lean_object* x_3537; lean_object* x_3538; lean_object* x_3539; uint8_t x_3540; uint8_t x_3541; +x_3537 = lean_ctor_get(x_3536, 0); +lean_inc(x_3537); +x_3538 = lean_ctor_get(x_3536, 1); +lean_inc(x_3538); +if (lean_is_exclusive(x_3536)) { + lean_ctor_release(x_3536, 0); + lean_ctor_release(x_3536, 1); + x_3539 = x_3536; } else { - lean_dec_ref(x_3489); - x_3492 = lean_box(0); + lean_dec_ref(x_3536); + x_3539 = lean_box(0); } -x_3493 = lean_unbox(x_3490); -x_3494 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3493, x_3481); -if (x_3494 == 0) +x_3540 = lean_unbox(x_3537); +x_3541 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3540, x_3528); +if (x_3541 == 0) { -uint8_t x_3495; uint8_t x_3496; uint8_t x_3497; lean_object* x_3498; lean_object* x_3499; +uint8_t x_3542; uint8_t x_3543; uint8_t x_3544; lean_object* x_3545; lean_object* x_3546; 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_3495 = 1; -x_3496 = lean_unbox(x_3490); -lean_dec(x_3490); -x_3497 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3496, x_3495); -x_3498 = lean_box(x_3497); -if (lean_is_scalar(x_3492)) { - x_3499 = lean_alloc_ctor(0, 2, 0); +x_3542 = 1; +x_3543 = lean_unbox(x_3537); +lean_dec(x_3537); +x_3544 = l___private_Lean_Data_LBool_0__Lean_beqLBool____x40_Lean_Data_LBool___hyg_11_(x_3543, x_3542); +x_3545 = lean_box(x_3544); +if (lean_is_scalar(x_3539)) { + x_3546 = lean_alloc_ctor(0, 2, 0); } else { - x_3499 = x_3492; + x_3546 = x_3539; } -lean_ctor_set(x_3499, 0, x_3498); -lean_ctor_set(x_3499, 1, x_3491); -return x_3499; +lean_ctor_set(x_3546, 0, x_3545); +lean_ctor_set(x_3546, 1, x_3538); +return x_3546; } else { -lean_object* x_3500; lean_object* x_3501; lean_object* x_3502; lean_object* x_3503; lean_object* x_3504; lean_object* x_3505; lean_object* x_3506; uint8_t x_3507; -lean_dec(x_3492); -lean_dec(x_3490); -x_3500 = lean_st_ref_get(x_6, x_3491); -x_3501 = lean_ctor_get(x_3500, 1); -lean_inc(x_3501); -lean_dec(x_3500); -x_3502 = lean_st_ref_get(x_4, x_3501); -x_3503 = lean_ctor_get(x_3502, 0); -lean_inc(x_3503); -x_3504 = lean_ctor_get(x_3502, 1); -lean_inc(x_3504); -if (lean_is_exclusive(x_3502)) { - lean_ctor_release(x_3502, 0); - lean_ctor_release(x_3502, 1); - x_3505 = x_3502; -} else { - lean_dec_ref(x_3502); - x_3505 = lean_box(0); -} -x_3506 = lean_ctor_get(x_3503, 0); -lean_inc(x_3506); -lean_dec(x_3503); -lean_inc(x_3506); -x_3507 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3506, x_1); -if (x_3507 == 0) -{ -uint8_t x_3508; -x_3508 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3506, x_2); -if (x_3508 == 0) -{ -lean_object* x_3509; lean_object* x_3539; uint8_t x_3540; -x_3539 = lean_ctor_get(x_3, 0); -lean_inc(x_3539); -x_3540 = lean_ctor_get_uint8(x_3539, 4); +lean_object* x_3547; lean_object* x_3548; lean_object* x_3549; lean_object* x_3550; lean_object* x_3551; lean_object* x_3552; lean_object* x_3553; uint8_t x_3554; lean_dec(x_3539); -if (x_3540 == 0) +lean_dec(x_3537); +x_3547 = lean_st_ref_get(x_6, x_3538); +x_3548 = lean_ctor_get(x_3547, 1); +lean_inc(x_3548); +lean_dec(x_3547); +x_3549 = lean_st_ref_get(x_4, x_3548); +x_3550 = lean_ctor_get(x_3549, 0); +lean_inc(x_3550); +x_3551 = lean_ctor_get(x_3549, 1); +lean_inc(x_3551); +if (lean_is_exclusive(x_3549)) { + lean_ctor_release(x_3549, 0); + lean_ctor_release(x_3549, 1); + x_3552 = x_3549; +} else { + lean_dec_ref(x_3549); + x_3552 = lean_box(0); +} +x_3553 = lean_ctor_get(x_3550, 0); +lean_inc(x_3553); +lean_dec(x_3550); +lean_inc(x_3553); +x_3554 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3553, x_1); +if (x_3554 == 0) { -uint8_t x_3541; lean_object* x_3542; lean_object* x_3543; +uint8_t x_3555; +x_3555 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_3553, x_2); +if (x_3555 == 0) +{ +lean_object* x_3556; lean_object* x_3586; uint8_t x_3587; +x_3586 = lean_ctor_get(x_3, 0); +lean_inc(x_3586); +x_3587 = lean_ctor_get_uint8(x_3586, 4); +lean_dec(x_3586); +if (x_3587 == 0) +{ +uint8_t x_3588; lean_object* x_3589; lean_object* x_3590; 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_3541 = 0; -x_3542 = lean_box(x_3541); -if (lean_is_scalar(x_3505)) { - x_3543 = lean_alloc_ctor(0, 2, 0); +x_3588 = 0; +x_3589 = lean_box(x_3588); +if (lean_is_scalar(x_3552)) { + x_3590 = lean_alloc_ctor(0, 2, 0); } else { - x_3543 = x_3505; + x_3590 = x_3552; } -lean_ctor_set(x_3543, 0, x_3542); -lean_ctor_set(x_3543, 1, x_3504); -return x_3543; +lean_ctor_set(x_3590, 0, x_3589); +lean_ctor_set(x_3590, 1, x_3551); +return x_3590; } else { -uint8_t x_3544; -x_3544 = l_Lean_Level_isMVar(x_1); -if (x_3544 == 0) +uint8_t x_3591; +x_3591 = l_Lean_Level_isMVar(x_1); +if (x_3591 == 0) { -uint8_t x_3545; -x_3545 = l_Lean_Level_isMVar(x_2); -if (x_3545 == 0) +uint8_t x_3592; +x_3592 = l_Lean_Level_isMVar(x_2); +if (x_3592 == 0) { -uint8_t x_3546; lean_object* x_3547; lean_object* x_3548; +uint8_t x_3593; lean_object* x_3594; lean_object* x_3595; 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_3546 = 0; -x_3547 = lean_box(x_3546); -if (lean_is_scalar(x_3505)) { - x_3548 = lean_alloc_ctor(0, 2, 0); +x_3593 = 0; +x_3594 = lean_box(x_3593); +if (lean_is_scalar(x_3552)) { + x_3595 = lean_alloc_ctor(0, 2, 0); } else { - x_3548 = x_3505; + x_3595 = x_3552; } -lean_ctor_set(x_3548, 0, x_3547); -lean_ctor_set(x_3548, 1, x_3504); -return x_3548; +lean_ctor_set(x_3595, 0, x_3594); +lean_ctor_set(x_3595, 1, x_3551); +return x_3595; } else { -lean_object* x_3549; -lean_dec(x_3505); -x_3549 = lean_box(0); -x_3509 = x_3549; -goto block_3538; +lean_object* x_3596; +lean_dec(x_3552); +x_3596 = lean_box(0); +x_3556 = x_3596; +goto block_3585; } } else { -lean_object* x_3550; -lean_dec(x_3505); -x_3550 = lean_box(0); -x_3509 = x_3550; -goto block_3538; -} -} -block_3538: -{ -uint8_t x_3510; lean_object* x_3511; lean_object* x_3526; lean_object* x_3527; lean_object* x_3528; uint8_t x_3529; -lean_dec(x_3509); -x_3526 = lean_st_ref_get(x_6, x_3504); -x_3527 = lean_ctor_get(x_3526, 0); -lean_inc(x_3527); -x_3528 = lean_ctor_get(x_3527, 3); -lean_inc(x_3528); -lean_dec(x_3527); -x_3529 = lean_ctor_get_uint8(x_3528, sizeof(void*)*1); -lean_dec(x_3528); -if (x_3529 == 0) -{ -lean_object* x_3530; uint8_t x_3531; -x_3530 = lean_ctor_get(x_3526, 1); -lean_inc(x_3530); -lean_dec(x_3526); -x_3531 = 0; -x_3510 = x_3531; -x_3511 = x_3530; -goto block_3525; -} -else -{ -lean_object* x_3532; lean_object* x_3533; lean_object* x_3534; lean_object* x_3535; lean_object* x_3536; uint8_t x_3537; -x_3532 = lean_ctor_get(x_3526, 1); -lean_inc(x_3532); -lean_dec(x_3526); -x_3533 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3534 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3533, x_3, x_4, x_5, x_6, x_3532); -x_3535 = lean_ctor_get(x_3534, 0); -lean_inc(x_3535); -x_3536 = lean_ctor_get(x_3534, 1); -lean_inc(x_3536); -lean_dec(x_3534); -x_3537 = lean_unbox(x_3535); -lean_dec(x_3535); -x_3510 = x_3537; -x_3511 = x_3536; -goto block_3525; -} -block_3525: -{ -if (x_3510 == 0) -{ -lean_object* x_3512; -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_3512 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3511); -return x_3512; -} -else -{ -lean_object* x_3513; lean_object* x_3514; lean_object* x_3515; lean_object* x_3516; lean_object* x_3517; lean_object* x_3518; lean_object* x_3519; lean_object* x_3520; lean_object* x_3521; lean_object* x_3522; lean_object* x_3523; lean_object* x_3524; -x_3513 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3513, 0, x_1); -x_3514 = l_Lean_KernelException_toMessageData___closed__15; -x_3515 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3515, 0, x_3514); -lean_ctor_set(x_3515, 1, x_3513); -x_3516 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_3517 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3517, 0, x_3515); -lean_ctor_set(x_3517, 1, x_3516); -x_3518 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3518, 0, x_2); -x_3519 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3519, 0, x_3517); -lean_ctor_set(x_3519, 1, x_3518); -x_3520 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3520, 0, x_3519); -lean_ctor_set(x_3520, 1, x_3514); -x_3521 = l_Lean_Meta_isLevelDefEqAux___closed__4; -x_3522 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3521, x_3520, x_3, x_4, x_5, x_6, x_3511); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3523 = lean_ctor_get(x_3522, 1); -lean_inc(x_3523); -lean_dec(x_3522); -x_3524 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3523); -return x_3524; -} -} -} -} -else -{ -lean_object* x_3551; lean_object* x_3552; lean_object* x_3553; uint8_t x_3554; lean_object* x_3555; lean_object* x_3556; -lean_dec(x_3505); -x_3551 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3504); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3552 = lean_ctor_get(x_3551, 1); -lean_inc(x_3552); -if (lean_is_exclusive(x_3551)) { - lean_ctor_release(x_3551, 0); - lean_ctor_release(x_3551, 1); - x_3553 = x_3551; -} else { - lean_dec_ref(x_3551); - x_3553 = lean_box(0); -} -x_3554 = 1; -x_3555 = lean_box(x_3554); -if (lean_is_scalar(x_3553)) { - x_3556 = lean_alloc_ctor(0, 2, 0); -} else { - x_3556 = x_3553; -} -lean_ctor_set(x_3556, 0, x_3555); -lean_ctor_set(x_3556, 1, x_3552); -return x_3556; -} -} -else -{ -lean_object* x_3557; lean_object* x_3558; lean_object* x_3559; uint8_t x_3560; lean_object* x_3561; lean_object* x_3562; -lean_dec(x_3506); -lean_dec(x_3505); -x_3557 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3504); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_3558 = lean_ctor_get(x_3557, 1); -lean_inc(x_3558); -if (lean_is_exclusive(x_3557)) { - lean_ctor_release(x_3557, 0); - lean_ctor_release(x_3557, 1); - x_3559 = x_3557; -} else { - lean_dec_ref(x_3557); - x_3559 = lean_box(0); -} -x_3560 = 1; -x_3561 = lean_box(x_3560); -if (lean_is_scalar(x_3559)) { - x_3562 = lean_alloc_ctor(0, 2, 0); -} else { - x_3562 = x_3559; -} -lean_ctor_set(x_3562, 0, x_3561); -lean_ctor_set(x_3562, 1, x_3558); -return x_3562; -} -} -} -else -{ -lean_object* x_3563; lean_object* x_3564; lean_object* x_3565; lean_object* x_3566; -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_3563 = lean_ctor_get(x_3489, 0); -lean_inc(x_3563); -x_3564 = lean_ctor_get(x_3489, 1); -lean_inc(x_3564); -if (lean_is_exclusive(x_3489)) { - lean_ctor_release(x_3489, 0); - lean_ctor_release(x_3489, 1); - x_3565 = x_3489; -} else { - lean_dec_ref(x_3489); - x_3565 = lean_box(0); -} -if (lean_is_scalar(x_3565)) { - x_3566 = lean_alloc_ctor(1, 2, 0); -} else { - x_3566 = x_3565; -} -lean_ctor_set(x_3566, 0, x_3563); -lean_ctor_set(x_3566, 1, x_3564); -return x_3566; -} -} -} -} -else -{ -uint8_t x_3567; -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_3567 = !lean_is_exclusive(x_3256); -if (x_3567 == 0) -{ -return x_3256; -} -else -{ -lean_object* x_3568; lean_object* x_3569; lean_object* x_3570; -x_3568 = lean_ctor_get(x_3256, 0); -x_3569 = lean_ctor_get(x_3256, 1); -lean_inc(x_3569); -lean_inc(x_3568); -lean_dec(x_3256); -x_3570 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3570, 0, x_3568); -lean_ctor_set(x_3570, 1, x_3569); -return x_3570; -} -} -} +lean_object* x_3597; +lean_dec(x_3552); +x_3597 = lean_box(0); +x_3556 = x_3597; +goto block_3585; } } block_3585: { -if (x_3572 == 0) +uint8_t x_3557; lean_object* x_3558; lean_object* x_3573; lean_object* x_3574; lean_object* x_3575; uint8_t x_3576; +lean_dec(x_3556); +x_3573 = lean_st_ref_get(x_6, x_3551); +x_3574 = lean_ctor_get(x_3573, 0); +lean_inc(x_3574); +x_3575 = lean_ctor_get(x_3574, 3); +lean_inc(x_3575); +lean_dec(x_3574); +x_3576 = lean_ctor_get_uint8(x_3575, sizeof(void*)*1); +lean_dec(x_3575); +if (x_3576 == 0) { -x_3243 = x_3573; -goto block_3571; +lean_object* x_3577; uint8_t x_3578; +x_3577 = lean_ctor_get(x_3573, 1); +lean_inc(x_3577); +lean_dec(x_3573); +x_3578 = 0; +x_3557 = x_3578; +x_3558 = x_3577; +goto block_3572; } else { -lean_object* x_3574; lean_object* x_3575; lean_object* x_3576; lean_object* x_3577; lean_object* x_3578; lean_object* x_3579; lean_object* x_3580; lean_object* x_3581; lean_object* x_3582; lean_object* x_3583; lean_object* x_3584; -lean_inc(x_1); -x_3574 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3574, 0, x_1); -x_3575 = l_Lean_KernelException_toMessageData___closed__15; -x_3576 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3576, 0, x_3575); -lean_ctor_set(x_3576, 1, x_3574); -x_3577 = l_Lean_Meta_isLevelDefEqAux___closed__5; -x_3578 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3578, 0, x_3576); -lean_ctor_set(x_3578, 1, x_3577); -lean_inc(x_2); -x_3579 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_3579, 0, x_2); -x_3580 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3580, 0, x_3578); -lean_ctor_set(x_3580, 1, x_3579); -x_3581 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_3581, 0, x_3580); -lean_ctor_set(x_3581, 1, x_3575); -x_3582 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_3583 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3582, x_3581, x_3, x_4, x_5, x_6, x_3573); -x_3584 = lean_ctor_get(x_3583, 1); -lean_inc(x_3584); -lean_dec(x_3583); -x_3243 = x_3584; -goto block_3571; +lean_object* x_3579; lean_object* x_3580; lean_object* x_3581; lean_object* x_3582; lean_object* x_3583; uint8_t x_3584; +x_3579 = lean_ctor_get(x_3573, 1); +lean_inc(x_3579); +lean_dec(x_3573); +x_3580 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3581 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_3580, x_3, x_4, x_5, x_6, x_3579); +x_3582 = lean_ctor_get(x_3581, 0); +lean_inc(x_3582); +x_3583 = lean_ctor_get(x_3581, 1); +lean_inc(x_3583); +lean_dec(x_3581); +x_3584 = lean_unbox(x_3582); +lean_dec(x_3582); +x_3557 = x_3584; +x_3558 = x_3583; +goto block_3572; } -} -} -else +block_3572: { -uint8_t x_3598; lean_object* x_3599; lean_object* x_3600; +if (x_3557 == 0) +{ +lean_object* x_3559; 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_3598 = 1; -x_3599 = lean_box(x_3598); -x_3600 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3600, 0, x_3599); -lean_ctor_set(x_3600, 1, x_7); -return x_3600; +x_3559 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3558); +return x_3559; +} +else +{ +lean_object* x_3560; lean_object* x_3561; lean_object* x_3562; lean_object* x_3563; lean_object* x_3564; lean_object* x_3565; lean_object* x_3566; lean_object* x_3567; lean_object* x_3568; lean_object* x_3569; lean_object* x_3570; lean_object* x_3571; +x_3560 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3560, 0, x_1); +x_3561 = l_Lean_KernelException_toMessageData___closed__15; +x_3562 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3562, 0, x_3561); +lean_ctor_set(x_3562, 1, x_3560); +x_3563 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_3564 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3564, 0, x_3562); +lean_ctor_set(x_3564, 1, x_3563); +x_3565 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3565, 0, x_2); +x_3566 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3566, 0, x_3564); +lean_ctor_set(x_3566, 1, x_3565); +x_3567 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3567, 0, x_3566); +lean_ctor_set(x_3567, 1, x_3561); +x_3568 = l_Lean_Meta_isLevelDefEqAux___closed__4; +x_3569 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3568, x_3567, x_3, x_4, x_5, x_6, x_3558); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3570 = lean_ctor_get(x_3569, 1); +lean_inc(x_3570); +lean_dec(x_3569); +x_3571 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_3570); +return x_3571; +} +} +} +} +else +{ +lean_object* x_3598; lean_object* x_3599; lean_object* x_3600; uint8_t x_3601; lean_object* x_3602; lean_object* x_3603; +lean_dec(x_3552); +x_3598 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3551); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3599 = lean_ctor_get(x_3598, 1); +lean_inc(x_3599); +if (lean_is_exclusive(x_3598)) { + lean_ctor_release(x_3598, 0); + lean_ctor_release(x_3598, 1); + x_3600 = x_3598; +} else { + lean_dec_ref(x_3598); + x_3600 = lean_box(0); +} +x_3601 = 1; +x_3602 = lean_box(x_3601); +if (lean_is_scalar(x_3600)) { + x_3603 = lean_alloc_ctor(0, 2, 0); +} else { + x_3603 = x_3600; +} +lean_ctor_set(x_3603, 0, x_3602); +lean_ctor_set(x_3603, 1, x_3599); +return x_3603; +} +} +else +{ +lean_object* x_3604; lean_object* x_3605; lean_object* x_3606; uint8_t x_3607; lean_object* x_3608; lean_object* x_3609; +lean_dec(x_3553); +lean_dec(x_3552); +x_3604 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq(x_1, x_2, x_3, x_4, x_5, x_6, x_3551); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3605 = lean_ctor_get(x_3604, 1); +lean_inc(x_3605); +if (lean_is_exclusive(x_3604)) { + lean_ctor_release(x_3604, 0); + lean_ctor_release(x_3604, 1); + x_3606 = x_3604; +} else { + lean_dec_ref(x_3604); + x_3606 = lean_box(0); +} +x_3607 = 1; +x_3608 = lean_box(x_3607); +if (lean_is_scalar(x_3606)) { + x_3609 = lean_alloc_ctor(0, 2, 0); +} else { + x_3609 = x_3606; +} +lean_ctor_set(x_3609, 0, x_3608); +lean_ctor_set(x_3609, 1, x_3605); +return x_3609; +} +} +} +else +{ +lean_object* x_3610; lean_object* x_3611; lean_object* x_3612; lean_object* x_3613; +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_3610 = lean_ctor_get(x_3536, 0); +lean_inc(x_3610); +x_3611 = lean_ctor_get(x_3536, 1); +lean_inc(x_3611); +if (lean_is_exclusive(x_3536)) { + lean_ctor_release(x_3536, 0); + lean_ctor_release(x_3536, 1); + x_3612 = x_3536; +} else { + lean_dec_ref(x_3536); + x_3612 = lean_box(0); +} +if (lean_is_scalar(x_3612)) { + x_3613 = lean_alloc_ctor(1, 2, 0); +} else { + x_3613 = x_3612; +} +lean_ctor_set(x_3613, 0, x_3610); +lean_ctor_set(x_3613, 1, x_3611); +return x_3613; +} +} +} +} +else +{ +uint8_t x_3614; +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_3614 = !lean_is_exclusive(x_3303); +if (x_3614 == 0) +{ +return x_3303; +} +else +{ +lean_object* x_3615; lean_object* x_3616; lean_object* x_3617; +x_3615 = lean_ctor_get(x_3303, 0); +x_3616 = lean_ctor_get(x_3303, 1); +lean_inc(x_3616); +lean_inc(x_3615); +lean_dec(x_3303); +x_3617 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3617, 0, x_3615); +lean_ctor_set(x_3617, 1, x_3616); +return x_3617; +} +} +} +} +} +block_3632: +{ +if (x_3619 == 0) +{ +x_3290 = x_3620; +goto block_3618; +} +else +{ +lean_object* x_3621; lean_object* x_3622; lean_object* x_3623; lean_object* x_3624; lean_object* x_3625; lean_object* x_3626; lean_object* x_3627; lean_object* x_3628; lean_object* x_3629; lean_object* x_3630; lean_object* x_3631; +lean_inc(x_1); +x_3621 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3621, 0, x_1); +x_3622 = l_Lean_KernelException_toMessageData___closed__15; +x_3623 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3623, 0, x_3622); +lean_ctor_set(x_3623, 1, x_3621); +x_3624 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_3625 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3625, 0, x_3623); +lean_ctor_set(x_3625, 1, x_3624); +lean_inc(x_2); +x_3626 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3626, 0, x_2); +x_3627 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3627, 0, x_3625); +lean_ctor_set(x_3627, 1, x_3626); +x_3628 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_3628, 0, x_3627); +lean_ctor_set(x_3628, 1, x_3622); +x_3629 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_3630 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_3629, x_3628, x_3, x_4, x_5, x_6, x_3620); +x_3631 = lean_ctor_get(x_3630, 1); +lean_inc(x_3631); +lean_dec(x_3630); +x_3290 = x_3631; +goto block_3618; +} +} +} +else +{ +lean_object* x_3645; lean_object* x_3646; lean_object* x_3647; uint8_t x_3648; lean_object* x_3649; lean_object* x_3650; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_3645 = lean_unsigned_to_nat(0u); +x_3646 = l_Lean_Level_getOffsetAux(x_1, x_3645); +lean_dec(x_1); +x_3647 = l_Lean_Level_getOffsetAux(x_2, x_3645); +lean_dec(x_2); +x_3648 = lean_nat_dec_eq(x_3646, x_3647); +lean_dec(x_3647); +lean_dec(x_3646); +x_3649 = lean_box(x_3648); +x_3650 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3650, 0, x_3649); +lean_ctor_set(x_3650, 1, x_7); +return x_3650; } } } @@ -23084,64 +23215,75 @@ return x_55; } else { -uint8_t x_56; -lean_dec(x_19); +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; lean_dec(x_17); lean_dec(x_11); +x_56 = lean_ctor_get(x_43, 1); +lean_inc(x_56); +lean_dec(x_43); +x_57 = l_Lean_Meta_getPostponed___rarg(x_4, x_5, x_6, 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 = l_Std_PersistentArray_append___rarg(x_19, x_58); +lean_dec(x_58); +x_61 = l_Lean_Meta_setPostponed(x_60, x_3, x_4, x_5, x_6, x_59); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_56 = !lean_is_exclusive(x_43); -if (x_56 == 0) +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) { -lean_object* x_57; uint8_t x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_43, 0); -lean_dec(x_57); -x_58 = 1; -x_59 = lean_box(x_58); -lean_ctor_set(x_43, 0, x_59); -return x_43; +lean_object* x_63; uint8_t x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_61, 0); +lean_dec(x_63); +x_64 = 1; +x_65 = lean_box(x_64); +lean_ctor_set(x_61, 0, x_65); +return x_61; } else { -lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; -x_60 = lean_ctor_get(x_43, 1); -lean_inc(x_60); -lean_dec(x_43); -x_61 = 1; -x_62 = lean_box(x_61); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_60); -return x_63; +lean_object* x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; +x_66 = lean_ctor_get(x_61, 1); +lean_inc(x_66); +lean_dec(x_61); +x_67 = 1; +x_68 = lean_box(x_67); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_66); +return x_69; } } } else { -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_43, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_43, 1); -lean_inc(x_65); +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_43, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_43, 1); +lean_inc(x_71); lean_dec(x_43); -x_21 = x_64; -x_22 = x_65; +x_21 = x_70; +x_22 = x_71; goto block_28; } } } else { -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_29, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_29, 1); -lean_inc(x_67); +lean_object* x_72; lean_object* x_73; +x_72 = lean_ctor_get(x_29, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_29, 1); +lean_inc(x_73); lean_dec(x_29); -x_21 = x_66; -x_22 = x_67; +x_21 = x_72; +x_22 = x_73; goto block_28; } block_28: @@ -23186,166 +23328,691 @@ x_9 = l_Lean_Meta_commitWhen(x_1, x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__3(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* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData_match__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_7; -x_7 = x_5 < x_4; -if (x_7 == 0) -{ -lean_dec(x_2); -return x_6; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_array_uget(x_3, x_5); -x_9 = lean_ctor_get(x_6, 1); -lean_inc(x_9); -lean_dec(x_6); -x_10 = l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2(x_1, x_8, x_9); -lean_dec(x_8); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -lean_dec(x_2); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_12, 0, x_10); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; -x_14 = lean_ctor_get(x_10, 0); -lean_inc(x_14); -lean_dec(x_10); -lean_inc(x_2); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_2); -lean_ctor_set(x_15, 1, x_14); -x_16 = 1; -x_17 = x_5 + x_16; -x_5 = x_17; -x_6 = x_15; -goto _start; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; -x_6 = x_4 < x_3; -if (x_6 == 0) -{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); return x_5; } +} +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData_match__2___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData_match__2___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Std_mkHashSet___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_mkHashSetImp___rarg(x_1); +return x_2; +} +} +uint8_t l_List_elem___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} else { -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_uget(x_2, x_4); -x_8 = !lean_is_exclusive(x_5); +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; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_1, 1); +x_8 = lean_ctor_get(x_4, 0); +x_9 = lean_ctor_get(x_4, 1); +x_10 = lean_level_eq(x_6, x_8); +if (x_10 == 0) +{ +x_2 = x_5; +goto _start; +} +else +{ +uint8_t x_12; +x_12 = lean_level_eq(x_7, x_9); +if (x_12 == 0) +{ +x_2 = x_5; +goto _start; +} +else +{ +uint8_t x_14; +x_14 = 1; +return x_14; +} +} +} +} +} +uint8_t l_Std_HashSetImp_contains___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; size_t x_9; size_t x_10; lean_object* x_11; uint8_t x_12; +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_array_get_size(x_3); +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); +x_7 = l_Lean_Level_hash(x_5); +x_8 = l_Lean_Level_hash(x_6); +x_9 = lean_usize_mix_hash(x_7, x_8); +x_10 = lean_usize_modn(x_9, x_4); +lean_dec(x_4); +x_11 = lean_array_uget(x_3, x_10); +x_12 = l_List_elem___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__3(x_2, x_11); +lean_dec(x_11); +return x_12; +} +} +lean_object* l_List_foldl___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_1); +x_7 = lean_ctor_get(x_4, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_4, 1); +lean_inc(x_8); +x_9 = l_Lean_Level_hash(x_7); +lean_dec(x_7); +x_10 = l_Lean_Level_hash(x_8); +lean_dec(x_8); +x_11 = lean_usize_mix_hash(x_9, x_10); +x_12 = lean_usize_modn(x_11, x_6); +lean_dec(x_6); +x_13 = lean_array_uget(x_1, x_12); +lean_ctor_set(x_2, 1, x_13); +x_14 = lean_array_uset(x_1, x_12, x_2); +x_1 = x_14; +x_2 = x_5; +goto _start; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_16 = lean_ctor_get(x_2, 0); +x_17 = lean_ctor_get(x_2, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_2); +x_18 = lean_array_get_size(x_1); +x_19 = lean_ctor_get(x_16, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +x_21 = l_Lean_Level_hash(x_19); +lean_dec(x_19); +x_22 = l_Lean_Level_hash(x_20); +lean_dec(x_20); +x_23 = lean_usize_mix_hash(x_21, x_22); +x_24 = lean_usize_modn(x_23, x_18); +lean_dec(x_18); +x_25 = lean_array_uget(x_1, x_24); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_16); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_array_uset(x_1, x_24, x_26); +x_1 = x_27; +x_2 = x_17; +goto _start; +} +} +} +} +lean_object* l_Std_HashSetImp_moveEntries___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_1, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_array_fget(x_2, x_1); +x_7 = lean_box(0); +x_8 = lean_array_fset(x_2, x_1, x_7); +x_9 = l_List_foldl___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__7(x_3, x_6); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_1, x_10); +lean_dec(x_1); +x_1 = x_11; +x_2 = x_8; +x_3 = x_9; +goto _start; +} +} +} +lean_object* l_Std_HashSetImp_expand___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_3 = lean_array_get_size(x_2); +x_4 = lean_unsigned_to_nat(2u); +x_5 = lean_nat_mul(x_3, x_4); +lean_dec(x_3); +x_6 = lean_box(0); +x_7 = lean_mk_array(x_5, x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Std_HashSetImp_moveEntries___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__6(x_8, x_2, x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +lean_object* l_List_replace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_3); +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_1, 1); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_2, 0); +x_11 = lean_ctor_get(x_2, 1); +x_12 = lean_level_eq(x_8, x_10); +lean_dec(x_8); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_9); +x_13 = l_List_replace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__8(x_7, x_2, x_3); +lean_ctor_set(x_1, 1, x_13); +return x_1; +} +else +{ +uint8_t x_14; +x_14 = lean_level_eq(x_9, x_11); +lean_dec(x_9); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = l_List_replace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__8(x_7, x_2, x_3); +lean_ctor_set(x_1, 1, x_15); +return x_1; +} +else +{ +lean_dec(x_6); +lean_ctor_set(x_1, 0, x_3); +return x_1; +} +} +} +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; uint8_t x_22; +x_16 = lean_ctor_get(x_1, 0); +x_17 = lean_ctor_get(x_1, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_1); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +x_20 = lean_ctor_get(x_2, 0); +x_21 = lean_ctor_get(x_2, 1); +x_22 = lean_level_eq(x_18, x_20); +lean_dec(x_18); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_19); +x_23 = l_List_replace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__8(x_17, x_2, x_3); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_16); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +else +{ +uint8_t x_25; +x_25 = lean_level_eq(x_19, x_21); +lean_dec(x_19); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = l_List_replace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__8(x_17, x_2, x_3); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_16); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +else +{ +lean_object* x_28; +lean_dec(x_16); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_3); +lean_ctor_set(x_28, 1, x_17); +return x_28; +} +} +} +} +} +} +lean_object* l_Std_HashSetImp_insert___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; size_t x_11; size_t x_12; lean_object* x_13; uint8_t x_14; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); +x_9 = l_Lean_Level_hash(x_7); +lean_dec(x_7); +x_10 = l_Lean_Level_hash(x_8); +lean_dec(x_8); +x_11 = lean_usize_mix_hash(x_9, x_10); +x_12 = lean_usize_modn(x_11, x_6); +x_13 = lean_array_uget(x_5, x_12); +x_14 = l_List_elem___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__3(x_2, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_4, x_15); +lean_dec(x_4); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_13); +x_18 = lean_array_uset(x_5, x_12, x_17); +x_19 = lean_nat_dec_le(x_16, x_6); +lean_dec(x_6); +if (x_19 == 0) +{ +lean_object* x_20; +lean_free_object(x_1); +x_20 = l_Std_HashSetImp_expand___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__5(x_16, x_18); +return x_20; +} +else +{ +lean_ctor_set(x_1, 1, x_18); +lean_ctor_set(x_1, 0, x_16); +return x_1; +} +} +else +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_6); +lean_inc(x_2); +x_21 = l_List_replace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__8(x_13, x_2, x_2); +lean_dec(x_2); +x_22 = lean_array_uset(x_5, x_12, x_21); +lean_ctor_set(x_1, 1, x_22); +return x_1; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; size_t x_30; size_t x_31; lean_object* x_32; uint8_t x_33; +x_23 = lean_ctor_get(x_1, 0); +x_24 = lean_ctor_get(x_1, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_1); +x_25 = lean_array_get_size(x_24); +x_26 = lean_ctor_get(x_2, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_2, 1); +lean_inc(x_27); +x_28 = l_Lean_Level_hash(x_26); +lean_dec(x_26); +x_29 = l_Lean_Level_hash(x_27); +lean_dec(x_27); +x_30 = lean_usize_mix_hash(x_28, x_29); +x_31 = lean_usize_modn(x_30, x_25); +x_32 = lean_array_uget(x_24, x_31); +x_33 = l_List_elem___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__3(x_2, x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_34 = lean_unsigned_to_nat(1u); +x_35 = lean_nat_add(x_23, x_34); +lean_dec(x_23); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_2); +lean_ctor_set(x_36, 1, x_32); +x_37 = lean_array_uset(x_24, x_31, x_36); +x_38 = lean_nat_dec_le(x_35, x_25); +lean_dec(x_25); +if (x_38 == 0) +{ +lean_object* x_39; +x_39 = l_Std_HashSetImp_expand___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__5(x_35, x_37); +return x_39; +} +else +{ +lean_object* x_40; +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_37); +return x_40; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_25); +lean_inc(x_2); +x_41 = l_List_replace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__8(x_32, x_2, x_2); +lean_dec(x_2); +x_42 = lean_array_uset(x_24, x_31, x_41); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_23); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__11(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) { +_start: +{ +uint8_t x_9; +x_9 = x_7 < x_6; +if (x_9 == 0) +{ +lean_dec(x_4); +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_array_uget(x_5, x_7); +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_dec(x_8); +x_12 = l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__10(x_1, x_2, x_3, x_10, x_11); +lean_dec(x_10); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_4); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, 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 +{ +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; +x_16 = lean_ctor_get(x_12, 0); +lean_inc(x_16); +lean_dec(x_12); +lean_inc(x_4); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_4); +lean_ctor_set(x_17, 1, x_16); +x_18 = 1; +x_19 = x_7 + x_18; +x_7 = x_19; +x_8 = x_17; +goto _start; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___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; uint8_t x_7; +lean_inc(x_4); +lean_inc(x_3); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_3); +lean_ctor_set(x_6, 1, x_4); +x_7 = l_Std_HashSetImp_contains___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2(x_1, x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_8 = l_Lean_KernelException_toMessageData___closed__15; +x_9 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_2); +x_10 = l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1; +x_11 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_12, 0, x_3); +x_13 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +x_14 = l_Lean_Meta_isLevelDefEqAux___closed__5; +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 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_16, 0, x_4); +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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_8); +x_19 = l_Std_HashSetImp_insert___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__4(x_1, x_6); +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 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_1); +lean_ctor_set(x_22, 1, x_2); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +return x_23; +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___lambda__1___boxed), 5, 0); +return x_1; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12(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) { +_start: +{ +uint8_t x_8; +x_8 = x_6 < x_5; if (x_8 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 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; size_t x_24; size_t x_25; -x_9 = lean_ctor_get(x_5, 1); -x_10 = lean_ctor_get(x_5, 0); -lean_dec(x_10); -x_11 = l_Lean_KernelException_toMessageData___closed__15; -x_12 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_9); -x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1; -x_14 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -x_15 = lean_ctor_get(x_7, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_7, 1); -lean_inc(x_16); -lean_dec(x_7); -x_17 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_17, 0, x_15); -x_18 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_18, 0, x_14); -lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Meta_isLevelDefEqAux___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 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_21, 0, x_16); -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 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_11); -lean_inc(x_1); -lean_ctor_set(x_5, 1, x_23); -lean_ctor_set(x_5, 0, x_1); -x_24 = 1; -x_25 = x_4 + x_24; -x_4 = x_25; -goto _start; +lean_dec(x_3); +return x_7; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; -x_27 = lean_ctor_get(x_5, 1); -lean_inc(x_27); -lean_dec(x_5); -x_28 = l_Lean_KernelException_toMessageData___closed__15; -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_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1; -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 = lean_ctor_get(x_7, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_7, 1); -lean_inc(x_33); +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_9 = lean_array_uget(x_4, x_6); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); lean_dec(x_7); -x_34 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_34, 0, x_32); -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_31); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Meta_isLevelDefEqAux___closed__5; -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 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_38, 0, x_33); -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 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_28); -lean_inc(x_1); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_1); -lean_ctor_set(x_41, 1, x_40); -x_42 = 1; -x_43 = x_4 + x_42; -x_4 = x_43; -x_5 = x_41; +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_9, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_dec(x_9); +x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___closed__1; +x_16 = lean_unsigned_to_nat(0u); +x_17 = l_Lean_Level_normLtAux(x_14, x_16, x_13, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = lean_apply_5(x_15, x_11, x_12, x_13, x_14, x_18); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_3); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_19); +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; lean_object* x_24; size_t x_25; size_t x_26; +x_23 = lean_ctor_get(x_19, 0); +lean_inc(x_23); +lean_dec(x_19); +lean_inc(x_3); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_3); +lean_ctor_set(x_24, 1, x_23); +x_25 = 1; +x_26 = x_6 + x_25; +x_6 = x_26; +x_7 = x_24; +goto _start; +} +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_box(0); +x_29 = lean_apply_5(x_15, x_11, x_12, x_14, x_13, x_28); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_3); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_29); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; +x_33 = lean_ctor_get(x_29, 0); +lean_inc(x_33); +lean_dec(x_29); +lean_inc(x_3); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_3); +lean_ctor_set(x_34, 1, x_33); +x_35 = 1; +x_36 = x_6 + x_35; +x_6 = x_36; +x_7 = x_34; goto _start; } } } } -lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2___lambda__1(lean_object* x_1, lean_object* x_2) { +} +lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__10___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -23354,320 +24021,417 @@ lean_ctor_set(x_3, 0, x_1); return x_3; } } -lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__10(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) -{ -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; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_box(0); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -x_7 = lean_array_get_size(x_4); -x_8 = lean_usize_of_nat(x_7); -lean_dec(x_7); -x_9 = 0; -x_10 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__3(x_1, x_5, x_4, x_8, x_9, x_6); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_12); -return x_13; -} -else -{ -lean_object* x_14; -lean_dec(x_10); -x_14 = lean_ctor_get(x_11, 0); -lean_inc(x_14); -lean_dec(x_11); -return x_14; -} -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; -x_15 = lean_ctor_get(x_2, 0); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_3); -x_18 = lean_array_get_size(x_15); -x_19 = lean_usize_of_nat(x_18); -lean_dec(x_18); -x_20 = 0; -x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__4(x_16, x_15, x_19, x_20, x_17); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_23); -return x_24; -} -else -{ -lean_object* x_25; -lean_dec(x_21); -x_25 = lean_ctor_get(x_22, 0); -lean_inc(x_25); -lean_dec(x_22); -return x_25; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; -x_6 = x_4 < x_3; -if (x_6 == 0) -{ -lean_dec(x_1); -return x_5; -} -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_uget(x_2, x_4); -x_8 = !lean_is_exclusive(x_5); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 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; size_t x_24; size_t x_25; -x_9 = lean_ctor_get(x_5, 1); -x_10 = lean_ctor_get(x_5, 0); -lean_dec(x_10); -x_11 = l_Lean_KernelException_toMessageData___closed__15; -x_12 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_9); -x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1; -x_14 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -x_15 = lean_ctor_get(x_7, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_7, 1); -lean_inc(x_16); -lean_dec(x_7); -x_17 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_17, 0, x_15); -x_18 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_18, 0, x_14); -lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Meta_isLevelDefEqAux___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 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_21, 0, x_16); -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 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_11); -lean_inc(x_1); -lean_ctor_set(x_5, 1, x_23); -lean_ctor_set(x_5, 0, x_1); -x_24 = 1; -x_25 = x_4 + x_24; -x_4 = x_25; -goto _start; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; -x_27 = lean_ctor_get(x_5, 1); -lean_inc(x_27); -lean_dec(x_5); -x_28 = l_Lean_KernelException_toMessageData___closed__15; -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_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1; -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 = lean_ctor_get(x_7, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_7, 1); -lean_inc(x_33); -lean_dec(x_7); -x_34 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_34, 0, x_32); -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_31); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Meta_isLevelDefEqAux___closed__5; -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 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_38, 0, x_33); -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 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_28); -lean_inc(x_1); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_1); -lean_ctor_set(x_41, 1, x_40); -x_42 = 1; -x_43 = x_4 + x_42; -x_4 = x_43; -x_5 = x_41; -goto _start; -} -} -} -} -lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_4 = l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2(x_2, x_3, x_2); -lean_dec(x_2); if (lean_obj_tag(x_4) == 0) { -lean_object* x_5; -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -lean_dec(x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_ctor_get(x_1, 1); -x_8 = lean_box(0); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_6); -x_10 = lean_array_get_size(x_7); -x_11 = lean_usize_of_nat(x_10); -lean_dec(x_10); -x_12 = 0; -x_13 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__5(x_8, x_7, x_11, x_12, x_9); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +x_9 = lean_array_get_size(x_6); +x_10 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_11 = 0; +x_12 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__11(x_1, x_2, x_3, x_7, x_6, x_10, x_11, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_15; -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); return x_15; } else { lean_object* x_16; -lean_dec(x_13); -x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_12); +x_16 = lean_ctor_get(x_13, 0); lean_inc(x_16); -lean_dec(x_14); +lean_dec(x_13); return x_16; } } +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; lean_object* x_24; +x_17 = lean_ctor_get(x_4, 0); +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_5); +x_20 = lean_array_get_size(x_17); +x_21 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_22 = 0; +x_23 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12(x_1, x_2, x_18, x_17, x_21, x_22, x_19); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +return x_26; +} +else +{ +lean_object* x_27; +lean_dec(x_23); +x_27 = lean_ctor_get(x_24, 0); +lean_inc(x_27); +lean_dec(x_24); +return x_27; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__13(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) { +_start: +{ +uint8_t x_8; +x_8 = x_6 < x_5; +if (x_8 == 0) +{ +lean_dec(x_3); +return x_7; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_9 = lean_array_uget(x_4, x_6); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_dec(x_7); +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_9, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_dec(x_9); +x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___closed__1; +x_16 = lean_unsigned_to_nat(0u); +x_17 = l_Lean_Level_normLtAux(x_14, x_16, x_13, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = lean_apply_5(x_15, x_11, x_12, x_13, x_14, x_18); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_3); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +lean_dec(x_19); +lean_inc(x_20); +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_20); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; +x_23 = lean_ctor_get(x_19, 0); +lean_inc(x_23); +lean_dec(x_19); +lean_inc(x_3); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_3); +lean_ctor_set(x_24, 1, x_23); +x_25 = 1; +x_26 = x_6 + x_25; +x_6 = x_26; +x_7 = x_24; +goto _start; +} +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_box(0); +x_29 = lean_apply_5(x_15, x_11, x_12, x_14, x_13, x_28); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_3); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +lean_dec(x_29); +lean_inc(x_30); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_30); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; +x_33 = lean_ctor_get(x_29, 0); +lean_inc(x_33); +lean_dec(x_29); +lean_inc(x_3); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_3); +lean_ctor_set(x_34, 1, x_33); +x_35 = 1; +x_36 = x_6 + x_35; +x_6 = x_36; +x_7 = x_34; +goto _start; +} +} +} +} +} +lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___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; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_6 = l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__10(x_1, x_2, x_4, x_5, x_4); +lean_dec(x_4); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec(x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_ctor_get(x_3, 1); +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_8); +x_12 = lean_array_get_size(x_9); +x_13 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_14 = 0; +x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__13(x_1, x_2, x_10, x_9, x_13, x_14, x_11); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +return x_17; +} +else +{ +lean_object* x_18; +lean_dec(x_15); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +return x_18; +} +} +} +} +static lean_object* _init_l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Level_instBEqLevel; +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___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Level_instHashableLevel; +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___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(8u); +x_2 = l_Std_mkHashSetImp___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__3; +x_2 = l_Lean_MessageData_nil; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } } lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData(lean_object* x_1) { _start: { -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_MessageData_nil; -x_3 = l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1(x_1, x_2); -return x_3; -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___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) { -_start: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_8 = lean_unbox_usize(x_5); +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__1; +x_3 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__2; +x_4 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__4; +x_5 = l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__9(x_2, x_3, x_1, x_4); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); lean_dec(x_5); -x_9 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__3(x_1, x_2, x_3, x_7, x_8, x_6); -lean_dec(x_3); -lean_dec(x_1); -return x_9; +return x_6; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___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* l_List_elem___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_8 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__4(x_1, x_2, x_6, x_7, x_5); -lean_dec(x_2); -return x_8; -} -} -lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2___lambda__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2(x_1, x_2, x_3); +uint8_t x_3; lean_object* x_4; +x_3 = l_List_elem___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__3(x_1, x_2); lean_dec(x_2); lean_dec(x_1); +x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___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* l_Std_HashSetImp_contains___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_8 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__5(x_1, x_2, x_6, x_7, x_5); +uint8_t x_3; lean_object* x_4; +x_3 = l_Std_HashSetImp_contains___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__2(x_1, x_2); lean_dec(x_2); -return x_8; +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; } } -lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_List_replace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_replace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__8(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___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, 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_6); +lean_dec(x_6); +x_10 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_11 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__11(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___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_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +return x_6; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__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) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__10___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1(x_1, x_2); -lean_dec(x_1); +x_3 = l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__10___lambda__1(x_1, x_2); +lean_dec(x_2); return x_3; } } +lean_object* l_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__10___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_Std_PersistentArray_forInAux___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__10(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___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, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__13(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__9(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___boxed(lean_object* x_1) { _start: { @@ -23947,7 +24711,7 @@ x_21 = lean_unbox(x_20); lean_dec(x_20); 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; 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_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; x_22 = lean_ctor_get(x_19, 1); lean_inc(x_22); lean_dec(x_19); @@ -23957,181 +24721,180 @@ lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -x_26 = l_Lean_MessageData_nil; -x_27 = l_Std_PersistentArray_forIn___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__1(x_24, x_26); +x_26 = l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData(x_24); lean_dec(x_24); -x_28 = lean_unsigned_to_nat(2u); -x_29 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -x_30 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__16; -x_31 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = l_Lean_KernelException_toMessageData___closed__15; -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_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__3; -x_35 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__14; -x_36 = l_Lean_throwError___rarg(x_34, x_35, x_33); +x_27 = lean_unsigned_to_nat(2u); +x_28 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__16; +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_KernelException_toMessageData___closed__15; +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_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__3; +x_34 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__14; +x_35 = l_Lean_throwError___rarg(x_33, x_34, x_32); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_37 = lean_apply_5(x_36, x_2, x_3, x_4, x_5, x_25); -if (lean_obj_tag(x_37) == 0) +x_36 = lean_apply_5(x_35, x_2, x_3, x_4, x_5, x_25); +if (lean_obj_tag(x_36) == 0) { -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_37, 0); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___lambda__1(x_13, x_16, x_38, x_2, x_3, x_4, x_5, x_39); +lean_dec(x_36); +x_39 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___lambda__1(x_13, x_16, x_37, x_2, x_3, x_4, x_5, x_38); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_38); -x_41 = lean_ctor_get(x_40, 0); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); +lean_dec(x_39); +x_7 = x_40; +x_8 = x_41; +goto block_11; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +lean_dec(x_16); +x_42 = lean_ctor_get(x_36, 0); lean_inc(x_42); -lean_dec(x_40); -x_7 = x_41; -x_8 = x_42; -goto block_11; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -lean_dec(x_16); -x_43 = lean_ctor_get(x_37, 0); +x_43 = lean_ctor_get(x_36, 1); lean_inc(x_43); -x_44 = lean_ctor_get(x_37, 1); -lean_inc(x_44); -lean_dec(x_37); -x_45 = l_Lean_Meta_setPostponed(x_13, x_2, x_3, x_4, x_5, x_44); +lean_dec(x_36); +x_44 = l_Lean_Meta_setPostponed(x_13, x_2, x_3, x_4, x_5, x_43); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) { -lean_object* x_47; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -lean_ctor_set_tag(x_45, 1); -lean_ctor_set(x_45, 0, x_43); -return x_45; +lean_object* x_46; +x_46 = lean_ctor_get(x_44, 0); +lean_dec(x_46); +lean_ctor_set_tag(x_44, 1); +lean_ctor_set(x_44, 0, x_42); +return x_44; } else { -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_45, 1); -lean_inc(x_48); -lean_dec(x_45); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_43); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); +lean_dec(x_44); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_42); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_50 = lean_ctor_get(x_19, 1); -lean_inc(x_50); +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_19, 1); +lean_inc(x_49); lean_dec(x_19); -x_51 = lean_box(0); -x_52 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___lambda__1(x_13, x_16, x_51, x_2, x_3, x_4, x_5, x_50); +x_50 = lean_box(0); +x_51 = l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___lambda__1(x_13, x_16, x_50, x_2, x_3, x_4, x_5, x_49); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_53 = lean_ctor_get(x_52, 0); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_7 = x_53; -x_8 = x_54; +lean_dec(x_51); +x_7 = x_52; +x_8 = x_53; goto block_11; } } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_dec(x_16); -x_55 = lean_ctor_get(x_19, 0); +x_54 = lean_ctor_get(x_19, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_19, 1); lean_inc(x_55); -x_56 = lean_ctor_get(x_19, 1); -lean_inc(x_56); lean_dec(x_19); -x_57 = l_Lean_Meta_setPostponed(x_13, x_2, x_3, x_4, x_5, x_56); +x_56 = l_Lean_Meta_setPostponed(x_13, x_2, x_3, x_4, x_5, x_55); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) { -lean_object* x_59; -x_59 = lean_ctor_get(x_57, 0); -lean_dec(x_59); -lean_ctor_set_tag(x_57, 1); -lean_ctor_set(x_57, 0, x_55); -return x_57; +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set_tag(x_56, 1); +lean_ctor_set(x_56, 0, x_54); +return x_56; } else { -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_57, 1); -lean_inc(x_60); -lean_dec(x_57); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_55); -lean_ctor_set(x_61, 1, x_60); -return x_61; +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(1, 2, 0); +lean_ctor_set(x_60, 0, x_54); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_62 = lean_ctor_get(x_15, 0); +lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_61 = lean_ctor_get(x_15, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_15, 1); lean_inc(x_62); -x_63 = lean_ctor_get(x_15, 1); -lean_inc(x_63); lean_dec(x_15); -x_64 = l_Lean_Meta_setPostponed(x_13, x_2, x_3, x_4, x_5, x_63); +x_63 = l_Lean_Meta_setPostponed(x_13, x_2, x_3, x_4, x_5, x_62); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_65 = !lean_is_exclusive(x_64); -if (x_65 == 0) +x_64 = !lean_is_exclusive(x_63); +if (x_64 == 0) { -lean_object* x_66; -x_66 = lean_ctor_get(x_64, 0); -lean_dec(x_66); -lean_ctor_set_tag(x_64, 1); -lean_ctor_set(x_64, 0, x_62); -return x_64; +lean_object* x_65; +x_65 = lean_ctor_get(x_63, 0); +lean_dec(x_65); +lean_ctor_set_tag(x_63, 1); +lean_ctor_set(x_63, 0, x_61); +return x_63; } else { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_64, 1); -lean_inc(x_67); -lean_dec(x_64); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_62); -lean_ctor_set(x_68, 1, x_67); -return x_68; +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_63, 1); +lean_inc(x_66); +lean_dec(x_63); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_61); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } block_11: @@ -24341,64 +25104,75 @@ return x_56; } else { -uint8_t x_57; -lean_dec(x_20); +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; lean_dec(x_18); lean_dec(x_12); +x_57 = lean_ctor_get(x_44, 1); +lean_inc(x_57); +lean_dec(x_44); +x_58 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, 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 = l_Std_PersistentArray_append___rarg(x_20, x_59); +lean_dec(x_59); +x_62 = l_Lean_Meta_setPostponed(x_61, x_4, x_5, x_6, x_7, x_60); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_57 = !lean_is_exclusive(x_44); -if (x_57 == 0) +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) { -lean_object* x_58; uint8_t x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_44, 0); -lean_dec(x_58); -x_59 = 1; -x_60 = lean_box(x_59); -lean_ctor_set(x_44, 0, x_60); -return x_44; +lean_object* x_64; uint8_t x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 0); +lean_dec(x_64); +x_65 = 1; +x_66 = lean_box(x_65); +lean_ctor_set(x_62, 0, x_66); +return x_62; } else { -lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_44, 1); -lean_inc(x_61); -lean_dec(x_44); -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_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_62, 1); +lean_inc(x_67); +lean_dec(x_62); +x_68 = 1; +x_69 = lean_box(x_68); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_67); +return x_70; } } } else { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_44, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_44, 1); -lean_inc(x_66); +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_44, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_44, 1); +lean_inc(x_72); lean_dec(x_44); -x_22 = x_65; -x_23 = x_66; +x_22 = x_71; +x_23 = x_72; goto block_29; } } } else { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_30, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_30, 1); -lean_inc(x_68); +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_30, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_30, 1); +lean_inc(x_74); lean_dec(x_30); -x_22 = x_67; -x_23 = x_68; +x_22 = x_73; +x_23 = x_74; goto block_29; } block_29: @@ -24569,64 +25343,75 @@ return x_56; } else { -uint8_t x_57; -lean_dec(x_20); +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; lean_dec(x_18); lean_dec(x_12); +x_57 = lean_ctor_get(x_44, 1); +lean_inc(x_57); +lean_dec(x_44); +x_58 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, 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 = l_Std_PersistentArray_append___rarg(x_20, x_59); +lean_dec(x_59); +x_62 = l_Lean_Meta_setPostponed(x_61, x_4, x_5, x_6, x_7, x_60); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_57 = !lean_is_exclusive(x_44); -if (x_57 == 0) +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) { -lean_object* x_58; uint8_t x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_44, 0); -lean_dec(x_58); -x_59 = 1; -x_60 = lean_box(x_59); -lean_ctor_set(x_44, 0, x_60); -return x_44; +lean_object* x_64; uint8_t x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 0); +lean_dec(x_64); +x_65 = 1; +x_66 = lean_box(x_65); +lean_ctor_set(x_62, 0, x_66); +return x_62; } else { -lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_44, 1); -lean_inc(x_61); -lean_dec(x_44); -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_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_62, 1); +lean_inc(x_67); +lean_dec(x_62); +x_68 = 1; +x_69 = lean_box(x_68); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_67); +return x_70; } } } else { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_44, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_44, 1); -lean_inc(x_66); +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_44, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_44, 1); +lean_inc(x_72); lean_dec(x_44); -x_22 = x_65; -x_23 = x_66; +x_22 = x_71; +x_23 = x_72; goto block_29; } } } else { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_30, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_30, 1); -lean_inc(x_68); +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_30, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_30, 1); +lean_inc(x_74); lean_dec(x_30); -x_22 = x_67; -x_23 = x_68; +x_22 = x_73; +x_23 = x_74; goto block_29; } block_29: @@ -26354,64 +27139,75 @@ return x_56; } else { -uint8_t x_57; -lean_dec(x_20); +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; lean_dec(x_18); lean_dec(x_12); +x_57 = lean_ctor_get(x_44, 1); +lean_inc(x_57); +lean_dec(x_44); +x_58 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, 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 = l_Std_PersistentArray_append___rarg(x_20, x_59); +lean_dec(x_59); +x_62 = l_Lean_Meta_setPostponed(x_61, x_4, x_5, x_6, x_7, x_60); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_57 = !lean_is_exclusive(x_44); -if (x_57 == 0) +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) { -lean_object* x_58; uint8_t x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_44, 0); -lean_dec(x_58); -x_59 = 1; -x_60 = lean_box(x_59); -lean_ctor_set(x_44, 0, x_60); -return x_44; +lean_object* x_64; uint8_t x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 0); +lean_dec(x_64); +x_65 = 1; +x_66 = lean_box(x_65); +lean_ctor_set(x_62, 0, x_66); +return x_62; } else { -lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_44, 1); -lean_inc(x_61); -lean_dec(x_44); -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_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_62, 1); +lean_inc(x_67); +lean_dec(x_62); +x_68 = 1; +x_69 = lean_box(x_68); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_67); +return x_70; } } } else { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_44, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_44, 1); -lean_inc(x_66); +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_44, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_44, 1); +lean_inc(x_72); lean_dec(x_44); -x_22 = x_65; -x_23 = x_66; +x_22 = x_71; +x_23 = x_72; goto block_29; } } } else { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_30, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_30, 1); -lean_inc(x_68); +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_30, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_30, 1); +lean_inc(x_74); lean_dec(x_30); -x_22 = x_67; -x_23 = x_68; +x_22 = x_73; +x_23 = x_74; goto block_29; } block_29: @@ -26582,64 +27378,75 @@ return x_56; } else { -uint8_t x_57; -lean_dec(x_20); +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; lean_dec(x_18); lean_dec(x_12); +x_57 = lean_ctor_get(x_44, 1); +lean_inc(x_57); +lean_dec(x_44); +x_58 = l_Lean_Meta_getPostponed___rarg(x_5, x_6, x_7, 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 = l_Std_PersistentArray_append___rarg(x_20, x_59); +lean_dec(x_59); +x_62 = l_Lean_Meta_setPostponed(x_61, x_4, x_5, x_6, x_7, x_60); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_57 = !lean_is_exclusive(x_44); -if (x_57 == 0) +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) { -lean_object* x_58; uint8_t x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_44, 0); -lean_dec(x_58); -x_59 = 1; -x_60 = lean_box(x_59); -lean_ctor_set(x_44, 0, x_60); -return x_44; +lean_object* x_64; uint8_t x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 0); +lean_dec(x_64); +x_65 = 1; +x_66 = lean_box(x_65); +lean_ctor_set(x_62, 0, x_66); +return x_62; } else { -lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_44, 1); -lean_inc(x_61); -lean_dec(x_44); -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_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_62, 1); +lean_inc(x_67); +lean_dec(x_62); +x_68 = 1; +x_69 = lean_box(x_68); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_67); +return x_70; } } } else { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_44, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_44, 1); -lean_inc(x_66); +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_44, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_44, 1); +lean_inc(x_72); lean_dec(x_44); -x_22 = x_65; -x_23 = x_66; +x_22 = x_71; +x_23 = x_72; goto block_29; } } } else { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_30, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_30, 1); -lean_inc(x_68); +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_30, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_30, 1); +lean_inc(x_74); lean_dec(x_30); -x_22 = x_67; -x_23 = x_68; +x_22 = x_73; +x_23 = x_74; goto block_29; } block_29: @@ -28501,7 +29308,7 @@ return x_59; } } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_LevelDefEq___hyg_2473_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_LevelDefEq___hyg_2640_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -28655,6 +29462,16 @@ l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed_loop___closed__5 lean_mark_persistent(l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed_loop___closed__5); l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed_loop___closed__6 = _init_l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed_loop___closed__6(); lean_mark_persistent(l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed_loop___closed__6); +l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___spec__12___closed__1); +l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__1 = _init_l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__1); +l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__2 = _init_l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__2); +l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__3 = _init_l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__3); +l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__4 = _init_l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponedToMessageData___closed__4); l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__1 = _init_l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__1(); lean_mark_persistent(l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__1); l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__2 = _init_l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__2(); @@ -28703,7 +29520,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_Meta_initFn____x40_Lean_Meta_LevelDefEq___hyg_2473_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_LevelDefEq___hyg_2640_(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/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index 5d085b7d4c..3e76336947 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -220,7 +220,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___closed_ lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__3; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__3(lean_object*, lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_7302_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_7283_(lean_object*); uint8_t l_Lean_Environment_hasUnsafe(lean_object*, lean_object*); 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_object* l_Lean_Meta_Match_mkMatcher_match__2(lean_object*); @@ -25034,7 +25034,7 @@ lean_inc(x_12); x_19 = l_Lean_Meta_mkLambdaFVars(x_1, x_2, x_17, x_18, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(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_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +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_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -25048,89 +25048,31 @@ x_24 = l_Lean_mkAppN(x_23, x_4); lean_inc(x_20); x_25 = l_Lean_mkApp(x_24, x_20); x_26 = l_Lean_mkAppN(x_25, x_5); -x_48 = lean_st_ref_get(x_15, x_21); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_49, 3); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_ctor_get_uint8(x_50, sizeof(void*)*1); -lean_dec(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_48, 1); -lean_inc(x_52); -lean_dec(x_48); -x_27 = x_52; -goto block_47; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_53 = lean_ctor_get(x_48, 1); -lean_inc(x_53); -lean_dec(x_48); -x_54 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_55 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_54, x_12, x_13, x_14, x_15, x_53); -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; -x_58 = lean_ctor_get(x_55, 1); -lean_inc(x_58); -lean_dec(x_55); -x_27 = x_58; -goto block_47; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_55, 1); -lean_inc(x_59); -lean_dec(x_55); -lean_inc(x_26); -x_60 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_60, 0, x_26); -x_61 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_54, x_60, x_12, x_13, x_14, x_15, x_59); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -x_27 = x_62; -goto block_47; -} -} -block_47: -{ -lean_object* x_28; lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_26); -x_28 = l_Lean_Meta_check(x_26, x_12, x_13, x_14, x_15, x_27); -if (lean_obj_tag(x_28) == 0) +x_27 = l_Lean_Meta_check(x_26, x_12, x_13, x_14, x_15, x_21); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec(x_28); +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_26); -x_30 = l_Lean_Meta_isTypeCorrect(x_26, x_12, x_13, x_14, x_15, x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_unbox(x_31); -lean_dec(x_31); -if (x_32 == 0) +x_29 = l_Lean_Meta_isTypeCorrect(x_26, x_12, x_13, x_14, x_15, x_28); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_dec(x_26); lean_dec(x_20); lean_dec(x_11); @@ -25141,48 +25083,48 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_dec(x_30); -x_34 = l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__2___at_Lean_Meta_MatcherApp_addArg___spec__3___lambda__2___closed__3; -x_35 = l_Lean_throwError___at_Lean_Meta_addDefaultInstance___spec__1(x_34, x_12, x_13, x_14, x_15, x_33); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__2___at_Lean_Meta_MatcherApp_addArg___spec__3___lambda__2___closed__3; +x_34 = l_Lean_throwError___at_Lean_Meta_addDefaultInstance___spec__1(x_33, x_12, x_13, x_14, x_15, x_32); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) { -return x_35; +return x_34; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_35, 0); -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_38); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); lean_inc(x_37); -lean_dec(x_35); -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_inc(x_36); +lean_dec(x_34); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_30, 1); -lean_inc(x_40); -lean_dec(x_30); -x_41 = lean_box(0); -x_42 = l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__2___at_Lean_Meta_MatcherApp_addArg___spec__3___lambda__1(x_26, x_6, x_7, x_8, x_9, x_3, x_11, x_10, x_4, x_20, x_5, x_41, x_12, x_13, x_14, x_15, x_40); -return x_42; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_29, 1); +lean_inc(x_39); +lean_dec(x_29); +x_40 = lean_box(0); +x_41 = l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__2___at_Lean_Meta_MatcherApp_addArg___spec__3___lambda__1(x_26, x_6, x_7, x_8, x_9, x_3, x_11, x_10, x_4, x_20, x_5, x_40, x_12, x_13, x_14, x_15, x_39); +return x_41; } } else { -uint8_t x_43; +uint8_t x_42; lean_dec(x_26); lean_dec(x_20); lean_dec(x_15); @@ -25197,30 +25139,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_43 = !lean_is_exclusive(x_28); -if (x_43 == 0) +x_42 = !lean_is_exclusive(x_27); +if (x_42 == 0) { -return x_28; +return x_27; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_28, 0); -x_45 = lean_ctor_get(x_28, 1); -lean_inc(x_45); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_27, 0); +x_44 = lean_ctor_get(x_27, 1); lean_inc(x_44); -lean_dec(x_28); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} +lean_inc(x_43); +lean_dec(x_27); +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; } } } else { -uint8_t x_63; +uint8_t x_46; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -25233,23 +25174,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_63 = !lean_is_exclusive(x_19); -if (x_63 == 0) +x_46 = !lean_is_exclusive(x_19); +if (x_46 == 0) { return x_19; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_19, 0); -x_65 = lean_ctor_get(x_19, 1); -lean_inc(x_65); -lean_inc(x_64); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_19, 0); +x_48 = lean_ctor_get(x_19, 1); +lean_inc(x_48); +lean_inc(x_47); lean_dec(x_19); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -return x_66; +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; } } } @@ -25656,7 +25597,7 @@ lean_dec(x_5); return x_11; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_7302_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_7283_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -26040,7 +25981,7 @@ l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__2___at_Lean lean_mark_persistent(l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__2___at_Lean_Meta_MatcherApp_addArg___spec__3___lambda__4___closed__1); l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__2___at_Lean_Meta_MatcherApp_addArg___spec__3___lambda__4___closed__2 = _init_l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__2___at_Lean_Meta_MatcherApp_addArg___spec__3___lambda__4___closed__2(); lean_mark_persistent(l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__2___at_Lean_Meta_MatcherApp_addArg___spec__3___lambda__4___closed__2); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_7302_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_7283_(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/Injection.c b/stage0/stdlib/Lean/Meta/Tactic/Injection.c index 6b7c39e6c5..f8975b5923 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Injection.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Injection.c @@ -18,14 +18,12 @@ lean_object* l_Lean_Meta_injectionCore___closed__1; lean_object* l_Lean_Meta_injectionCore_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_stringToMessageData(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_7577____closed__4; lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_getCtorNumPropFields___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* l_Lean_LocalDecl_userName(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Meta_injectionCore___lambda__1___closed__6; lean_object* l_Lean_Meta_injectionCore_match__2(lean_object*); -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Meta_getCtorNumPropFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq_match__2(lean_object*); @@ -47,7 +45,6 @@ lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambd uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_tryClear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_headBeta(lean_object*); lean_object* l_Lean_Meta_injection_match__1(lean_object*); @@ -59,12 +56,9 @@ lean_object* l_Lean_Meta_injectionIntro_match__1___rarg(lean_object*, lean_objec lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq_match__1___rarg(lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; -extern lean_object* l_Lean_KernelException_toMessageData___closed__15; lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFVar(lean_object*); -lean_object* l_Lean_Meta_injection___closed__1; lean_object* l_Lean_LocalDecl_type(lean_object*); -lean_object* l_Lean_Meta_injection___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*); lean_object* l_Lean_Meta_injectionCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -74,7 +68,6 @@ lean_object* l_Lean_Meta_injection___boxed(lean_object*, lean_object*, lean_obje uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq_match__1(lean_object*); lean_object* l_Lean_Meta_injection_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2517,23 +2510,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_injection_match__1___rarg), 3, 0); return x_2; } } -static lean_object* _init_l_Lean_Meta_injection___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("before injectionIntro\n"); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_injection___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_injection___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l_Lean_Meta_injection(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: { @@ -2581,7 +2557,7 @@ return x_17; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_18 = lean_ctor_get(x_10, 1); lean_inc(x_18); lean_dec(x_10); @@ -2590,104 +2566,36 @@ lean_inc(x_19); x_20 = lean_ctor_get(x_11, 1); lean_inc(x_20); lean_dec(x_11); -x_36 = lean_st_ref_get(x_8, x_18); -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_37, 3); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*1); -lean_dec(x_38); -if (x_39 == 0) -{ -lean_object* x_40; uint8_t x_41; -x_40 = lean_ctor_get(x_36, 1); -lean_inc(x_40); -lean_dec(x_36); -x_41 = 0; -x_21 = x_41; -x_22 = x_40; -goto block_35; -} -else -{ -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_36, 1); -lean_inc(x_42); -lean_dec(x_36); -x_43 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_44 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_43, x_5, x_6, x_7, x_8, x_42); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_unbox(x_45); -lean_dec(x_45); -x_21 = x_47; -x_22 = x_46; -goto block_35; -} -block_35: -{ -if (x_21 == 0) -{ -lean_object* x_23; lean_object* x_24; -x_23 = l_Array_empty___closed__1; -x_24 = l_Lean_Meta_injectionIntro(x_20, x_19, x_23, x_3, x_5, x_6, x_7, x_8, 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_inc(x_19); -x_25 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_25, 0, x_19); -x_26 = l_Lean_Meta_injection___closed__2; -x_27 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -x_28 = l_Lean_KernelException_toMessageData___closed__15; -x_29 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_31 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_30, x_29, x_5, x_6, x_7, x_8, x_22); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -x_33 = l_Array_empty___closed__1; -x_34 = l_Lean_Meta_injectionIntro(x_20, x_19, x_33, x_3, x_5, x_6, x_7, x_8, x_32); -return x_34; -} -} +x_21 = l_Array_empty___closed__1; +x_22 = l_Lean_Meta_injectionIntro(x_20, x_19, x_21, x_3, x_5, x_6, x_7, x_8, x_18); +return x_22; } } else { -uint8_t x_48; +uint8_t x_23; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_48 = !lean_is_exclusive(x_10); -if (x_48 == 0) +x_23 = !lean_is_exclusive(x_10); +if (x_23 == 0) { return x_10; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_10, 0); -x_50 = lean_ctor_get(x_10, 1); -lean_inc(x_50); -lean_inc(x_49); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_10, 0); +x_25 = lean_ctor_get(x_10, 1); +lean_inc(x_25); +lean_inc(x_24); lean_dec(x_10); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } } @@ -2741,10 +2649,6 @@ l_Lean_Meta_injectionCore___lambda__1___closed__6 = _init_l_Lean_Meta_injectionC lean_mark_persistent(l_Lean_Meta_injectionCore___lambda__1___closed__6); l_Lean_Meta_injectionCore___closed__1 = _init_l_Lean_Meta_injectionCore___closed__1(); lean_mark_persistent(l_Lean_Meta_injectionCore___closed__1); -l_Lean_Meta_injection___closed__1 = _init_l_Lean_Meta_injection___closed__1(); -lean_mark_persistent(l_Lean_Meta_injection___closed__1); -l_Lean_Meta_injection___closed__2 = _init_l_Lean_Meta_injection___closed__2(); -lean_mark_persistent(l_Lean_Meta_injection___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c index 8d51246f48..d3e4d77cb3 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c @@ -46,6 +46,7 @@ lean_object* l_Lean_Meta_Simp_simp_withNewLemmas_match__1(lean_object*); extern lean_object* l_term_x5b___x5d___closed__9; lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__17___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__18(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_withLetDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12___boxed(lean_object**); +lean_object* l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(uint8_t); lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12___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_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_simp_simpForall___spec__3___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_name_mk_string(lean_object*, lean_object*); @@ -119,7 +120,6 @@ uint8_t l_Std_AssocList_contains___at_Lean_Meta_Simp_simp_cacheResult___spec__2( lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkCongr_match__1(lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_replace___at_Lean_Meta_Simp_simp_cacheResult___spec__6(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__2; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_simp_simpForall___spec__3___at_Lean_Meta_Simp_simp_simpForall___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* l_Lean_Meta_Simp_simp_congr___lambda__1(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_Expr_getAppArgs___closed__1; @@ -155,7 +155,6 @@ lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Ma lean_object* l_ReaderT_bind___at_Lean_Meta_Simp_simp_simpForall___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_Std_AssocList_find_x3f___at_Lean_Meta_Simp_simp___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -lean_object* l_Std_fmt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__2(uint8_t); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__9___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Simp_simp___spec__1___boxed(lean_object*, lean_object*); @@ -208,7 +207,6 @@ lean_object* l_Lean_Meta_Simp_simp(lean_object*, lean_object*, lean_object*, lea lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f_match__3(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_profileitM___at_Lean_Meta_synthInstance_x3f___spec__10___rarg(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* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -231,12 +229,12 @@ lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_Simp_simp_proces size_t l_Lean_Expr_hash(lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_pre(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1___boxed(lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__7___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__8___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_object*); lean_object* l_Lean_getProjectionFnInfo_x3f___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__6___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_AssocList_contains___at_Lean_Meta_Simp_simp_cacheResult___spec__2___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___closed__1; lean_object* l_Lean_Meta_Simp_initFn____x40_Lean_Meta_Tactic_Simp_Main___hyg_4_(lean_object*); lean_object* l_Lean_Meta_Simp_post(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__5; @@ -346,7 +344,6 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f lean_object* l_Lean_Meta_SimpLemmas_add(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProj_match__1(lean_object*); lean_object* l_Lean_Meta_mkEqTrans(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__6___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__7___lambda__6___closed__2; lean_object* l_Lean_Meta_Simp_simp_simpLet___closed__7; lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrDefault___spec__1___closed__6; @@ -358,7 +355,6 @@ lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_Meta_getFunInfoNArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkCongrArg(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___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__9___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__10___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_object*); lean_object* l_Lean_Meta_Simp_Result_getProof_match__1(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*); @@ -387,7 +383,6 @@ lean_object* l_Lean_Meta_Simp_simp_simpForall___closed__2; extern lean_object* l_Std_HashMap_instInhabitedHashMap___closed__1; lean_object* l_Lean_throwError___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__15(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___closed__2; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__9___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__10___boxed(lean_object**); lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__6___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__7___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* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -430,7 +425,6 @@ lean_object* l_Lean_Meta_Simp_simp_withNewLemmas(lean_object*); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13(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*); lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___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*); @@ -453,7 +447,6 @@ lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Simp_simp_tryCongrLemma extern lean_object* l_Array_findSomeM_x3f___rarg___closed__1; lean_object* l_Lean_Meta_Simp_simp_simpStep___closed__1; lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Std_fmt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__2___boxed(lean_object*); lean_object* l_Lean_Meta_Simp_simp_tryCongrLemma_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_synthesizeArgs___spec__3___closed__2; lean_object* l_Lean_Meta_Simp_simp_simpStep___closed__2; @@ -2500,40 +2493,6 @@ return x_20; } } } -lean_object* l_Std_fmt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__2(uint8_t x_1) { -_start: -{ -if (x_1 == 0) -{ -lean_object* x_2; -x_2 = l_instReprBool___closed__2; -return x_2; -} -else -{ -lean_object* x_3; -x_3 = l_instReprBool___closed__4; -return x_3; -} -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("reduceProjFn? "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f(lean_object* x_1, lean_object* x_2, 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: { @@ -2615,321 +2574,273 @@ return x_27; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_156; lean_object* x_157; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; -x_28 = lean_ctor_get(x_20, 1); +lean_object* x_28; uint8_t x_29; +x_28 = lean_ctor_get(x_21, 0); lean_inc(x_28); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - x_29 = x_20; -} else { - lean_dec_ref(x_20); - x_29 = lean_box(0); -} -x_30 = lean_ctor_get(x_21, 0); -lean_inc(x_30); lean_dec(x_21); -x_176 = lean_st_ref_get(x_7, x_28); -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_177, 3); -lean_inc(x_178); -lean_dec(x_177); -x_179 = lean_ctor_get_uint8(x_178, sizeof(void*)*1); -lean_dec(x_178); -if (x_179 == 0) +x_29 = lean_ctor_get_uint8(x_28, sizeof(void*)*3); +lean_dec(x_28); +if (x_29 == 0) { -lean_object* x_180; uint8_t x_181; -x_180 = lean_ctor_get(x_176, 1); -lean_inc(x_180); -lean_dec(x_176); -x_181 = 0; -x_156 = x_181; -x_157 = x_180; -goto block_175; -} -else -{ -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_182 = lean_ctor_get(x_176, 1); -lean_inc(x_182); -lean_dec(x_176); -x_183 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_184 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs___spec__2(x_183, x_2, x_3, x_4, x_5, x_6, x_7, x_182); -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_156 = x_187; -x_157 = x_186; -goto block_175; -} -block_155: -{ -uint8_t x_32; -x_32 = lean_ctor_get_uint8(x_30, sizeof(void*)*3); -lean_dec(x_30); -if (x_32 == 0) -{ -lean_object* x_33; -lean_dec(x_29); +lean_object* x_30; lean_object* x_31; lean_dec(x_19); +x_30 = lean_ctor_get(x_20, 1); +lean_inc(x_30); +lean_dec(x_20); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_33 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_4, x_5, x_6, x_7, x_31); -if (lean_obj_tag(x_33) == 0) +x_31 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_4, x_5, x_6, x_7, x_30); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_34; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -if (lean_obj_tag(x_34) == 0) +lean_object* x_32; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) { -uint8_t x_35; +uint8_t x_33; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_35 = !lean_is_exclusive(x_33); -if (x_35 == 0) +x_33 = !lean_is_exclusive(x_31); +if (x_33 == 0) { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_33, 0); -lean_dec(x_36); -x_37 = lean_box(0); -lean_ctor_set(x_33, 0, x_37); -return x_33; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_33, 1); -lean_inc(x_38); -lean_dec(x_33); -x_39 = lean_box(0); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -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_33, 1); -lean_inc(x_41); -lean_dec(x_33); -x_42 = lean_ctor_get(x_34, 0); -lean_inc(x_42); +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_31, 0); lean_dec(x_34); -x_43 = l_Lean_Expr_getAppFn(x_42); -x_44 = l_Lean_Meta_reduceProj_x3f(x_43, x_4, x_5, x_6, x_7, x_41); -if (lean_obj_tag(x_44) == 0) +x_35 = lean_box(0); +lean_ctor_set(x_31, 0, x_35); +return x_31; +} +else { -lean_object* x_45; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -if (lean_obj_tag(x_45) == 0) +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_31, 1); +lean_inc(x_36); +lean_dec(x_31); +x_37 = lean_box(0); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +return x_38; +} +} +else { -uint8_t x_46; +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_ctor_get(x_31, 1); +lean_inc(x_39); +lean_dec(x_31); +x_40 = lean_ctor_get(x_32, 0); +lean_inc(x_40); +lean_dec(x_32); +x_41 = l_Lean_Expr_getAppFn(x_40); +x_42 = l_Lean_Meta_reduceProj_x3f(x_41, x_4, x_5, x_6, x_7, x_39); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) +{ +uint8_t x_44; +lean_dec(x_40); +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); +x_46 = lean_box(0); +lean_ctor_set(x_42, 0, x_46); +return x_42; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_42, 1); +lean_inc(x_47); lean_dec(x_42); -x_46 = !lean_is_exclusive(x_44); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_44, 0); -lean_dec(x_47); x_48 = lean_box(0); -lean_ctor_set(x_44, 0, x_48); -return x_44; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_44, 1); -lean_inc(x_49); -lean_dec(x_44); -x_50 = lean_box(0); -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; +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; } } else { -uint8_t x_52; -x_52 = !lean_is_exclusive(x_44); +uint8_t x_50; +x_50 = !lean_is_exclusive(x_42); +if (x_50 == 0) +{ +lean_object* x_51; uint8_t x_52; +x_51 = lean_ctor_get(x_42, 0); +lean_dec(x_51); +x_52 = !lean_is_exclusive(x_43); if (x_52 == 0) { -lean_object* x_53; uint8_t x_54; -x_53 = lean_ctor_get(x_44, 0); -lean_dec(x_53); -x_54 = !lean_is_exclusive(x_45); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_55 = lean_ctor_get(x_45, 0); -x_56 = lean_unsigned_to_nat(0u); -x_57 = l_Lean_Expr_getAppNumArgsAux(x_42, x_56); -x_58 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_57); -x_59 = lean_mk_array(x_57, x_58); -x_60 = lean_unsigned_to_nat(1u); -x_61 = lean_nat_sub(x_57, x_60); -lean_dec(x_57); -x_62 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_42, x_59, x_61); -x_63 = l_Lean_mkAppN(x_55, x_62); -lean_dec(x_62); -lean_ctor_set(x_45, 0, x_63); -return x_44; +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_53 = lean_ctor_get(x_43, 0); +x_54 = lean_unsigned_to_nat(0u); +x_55 = l_Lean_Expr_getAppNumArgsAux(x_40, x_54); +x_56 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_55); +x_57 = lean_mk_array(x_55, x_56); +x_58 = lean_unsigned_to_nat(1u); +x_59 = lean_nat_sub(x_55, x_58); +lean_dec(x_55); +x_60 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_40, x_57, x_59); +x_61 = l_Lean_mkAppN(x_53, x_60); +lean_dec(x_60); +lean_ctor_set(x_43, 0, x_61); +return x_42; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_64 = lean_ctor_get(x_45, 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; +x_62 = lean_ctor_get(x_43, 0); +lean_inc(x_62); +lean_dec(x_43); +x_63 = lean_unsigned_to_nat(0u); +x_64 = l_Lean_Expr_getAppNumArgsAux(x_40, x_63); +x_65 = l_Lean_Expr_getAppArgs___closed__1; lean_inc(x_64); -lean_dec(x_45); -x_65 = lean_unsigned_to_nat(0u); -x_66 = l_Lean_Expr_getAppNumArgsAux(x_42, x_65); -x_67 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_66); -x_68 = lean_mk_array(x_66, x_67); -x_69 = lean_unsigned_to_nat(1u); -x_70 = lean_nat_sub(x_66, x_69); -lean_dec(x_66); -x_71 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_42, x_68, x_70); -x_72 = l_Lean_mkAppN(x_64, x_71); -lean_dec(x_71); -x_73 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_44, 0, x_73); -return x_44; +x_66 = lean_mk_array(x_64, x_65); +x_67 = lean_unsigned_to_nat(1u); +x_68 = lean_nat_sub(x_64, x_67); +lean_dec(x_64); +x_69 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_40, x_66, x_68); +x_70 = l_Lean_mkAppN(x_62, x_69); +lean_dec(x_69); +x_71 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_42, 0, x_71); +return x_42; } } 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; -x_74 = lean_ctor_get(x_44, 1); -lean_inc(x_74); -lean_dec(x_44); -x_75 = lean_ctor_get(x_45, 0); -lean_inc(x_75); -if (lean_is_exclusive(x_45)) { - lean_ctor_release(x_45, 0); - x_76 = x_45; -} else { - lean_dec_ref(x_45); - x_76 = lean_box(0); -} -x_77 = lean_unsigned_to_nat(0u); -x_78 = l_Lean_Expr_getAppNumArgsAux(x_42, x_77); -x_79 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_78); -x_80 = lean_mk_array(x_78, x_79); -x_81 = lean_unsigned_to_nat(1u); -x_82 = lean_nat_sub(x_78, x_81); -lean_dec(x_78); -x_83 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_42, x_80, x_82); -x_84 = l_Lean_mkAppN(x_75, x_83); -lean_dec(x_83); -if (lean_is_scalar(x_76)) { - x_85 = lean_alloc_ctor(1, 1, 0); -} else { - x_85 = x_76; -} -lean_ctor_set(x_85, 0, x_84); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_74); -return x_86; -} -} -} -else -{ -uint8_t x_87; +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; +x_72 = lean_ctor_get(x_42, 1); +lean_inc(x_72); lean_dec(x_42); -x_87 = !lean_is_exclusive(x_44); -if (x_87 == 0) -{ -return x_44; +x_73 = lean_ctor_get(x_43, 0); +lean_inc(x_73); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + x_74 = x_43; +} else { + lean_dec_ref(x_43); + x_74 = lean_box(0); +} +x_75 = lean_unsigned_to_nat(0u); +x_76 = l_Lean_Expr_getAppNumArgsAux(x_40, x_75); +x_77 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_76); +x_78 = lean_mk_array(x_76, x_77); +x_79 = lean_unsigned_to_nat(1u); +x_80 = lean_nat_sub(x_76, x_79); +lean_dec(x_76); +x_81 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_40, x_78, x_80); +x_82 = l_Lean_mkAppN(x_73, x_81); +lean_dec(x_81); +if (lean_is_scalar(x_74)) { + x_83 = lean_alloc_ctor(1, 1, 0); +} else { + x_83 = x_74; +} +lean_ctor_set(x_83, 0, x_82); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_72); +return x_84; +} +} } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_44, 0); -x_89 = lean_ctor_get(x_44, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_44); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; +uint8_t x_85; +lean_dec(x_40); +x_85 = !lean_is_exclusive(x_42); +if (x_85 == 0) +{ +return x_42; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_42, 0); +x_87 = lean_ctor_get(x_42, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_42); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; } } } } else { -uint8_t x_91; +uint8_t x_89; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_91 = !lean_is_exclusive(x_33); -if (x_91 == 0) +x_89 = !lean_is_exclusive(x_31); +if (x_89 == 0) { -return x_33; +return x_31; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_33, 0); -x_93 = lean_ctor_get(x_33, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_33); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_31, 0); +x_91 = lean_ctor_get(x_31, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_31); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +return x_92; } } } else { -lean_object* x_95; uint8_t x_96; -x_95 = lean_ctor_get(x_2, 3); -x_96 = l_Lean_NameSet_contains(x_95, x_19); +uint8_t x_93; +x_93 = !lean_is_exclusive(x_20); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_94 = lean_ctor_get(x_20, 1); +x_95 = lean_ctor_get(x_20, 0); +lean_dec(x_95); +x_96 = lean_ctor_get(x_2, 3); +x_97 = l_Lean_NameSet_contains(x_96, x_19); lean_dec(x_19); -if (x_96 == 0) +if (x_97 == 0) { -lean_object* x_97; lean_object* x_98; +lean_object* x_98; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_97 = lean_box(0); -if (lean_is_scalar(x_29)) { - x_98 = lean_alloc_ctor(0, 2, 0); -} else { - x_98 = x_29; -} -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_31); -return x_98; +x_98 = lean_box(0); +lean_ctor_set(x_20, 0, x_98); +return x_20; } else { uint8_t x_99; -lean_dec(x_29); +lean_free_object(x_20); x_99 = !lean_is_exclusive(x_4); if (x_99 == 0) { @@ -2941,7 +2852,7 @@ if (x_101 == 0) uint8_t x_102; lean_object* x_103; x_102 = 3; lean_ctor_set_uint8(x_100, 5, x_102); -x_103 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_4, x_5, x_6, x_7, x_31); +x_103 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_4, x_5, x_6, x_7, x_94); if (lean_obj_tag(x_103) == 0) { uint8_t x_104; @@ -3011,7 +2922,7 @@ lean_ctor_set_uint8(x_121, 6, x_117); lean_ctor_set_uint8(x_121, 7, x_118); lean_ctor_set_uint8(x_121, 8, x_119); lean_ctor_set(x_4, 0, x_121); -x_122 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_4, x_5, x_6, x_7, x_31); +x_122 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_4, x_5, x_6, x_7, x_94); if (lean_obj_tag(x_122) == 0) { lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; @@ -3105,7 +3016,7 @@ x_145 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_145, 0, x_144); lean_ctor_set(x_145, 1, x_132); lean_ctor_set(x_145, 2, x_133); -x_146 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_145, x_5, x_6, x_7, x_31); +x_146 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_145, x_5, x_6, x_7, x_94); if (lean_obj_tag(x_146) == 0) { lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; @@ -3157,553 +3068,542 @@ return x_154; } } } -} -block_175: -{ -if (x_156 == 0) -{ -x_31 = x_157; -goto block_155; -} else { -uint8_t 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; -x_158 = lean_ctor_get_uint8(x_30, sizeof(void*)*3); -x_159 = l_Std_fmt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__2(x_158); -x_160 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_160, 0, x_159); -x_161 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__2; -x_162 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_160); -x_163 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__7; -x_164 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_164, 0, x_162); -lean_ctor_set(x_164, 1, x_163); -lean_inc(x_19); -x_165 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_165, 0, x_19); -x_166 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_165); -x_167 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_163); -lean_inc(x_1); -x_168 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_168, 0, x_1); -x_169 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -x_170 = l_Lean_KernelException_toMessageData___closed__15; -x_171 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -x_172 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_173 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs___spec__1(x_172, x_171, x_2, x_3, x_4, x_5, x_6, x_7, x_157); -x_174 = lean_ctor_get(x_173, 1); -lean_inc(x_174); -lean_dec(x_173); -x_31 = x_174; -goto block_155; -} -} -} -} -} -else +lean_object* x_155; lean_object* x_156; uint8_t x_157; +x_155 = lean_ctor_get(x_20, 1); +lean_inc(x_155); +lean_dec(x_20); +x_156 = lean_ctor_get(x_2, 3); +x_157 = l_Lean_NameSet_contains(x_156, x_19); +lean_dec(x_19); +if (x_157 == 0) { -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_188 = lean_ctor_get(x_11, 0); -x_189 = lean_ctor_get(x_11, 1); -lean_inc(x_189); -lean_inc(x_188); -lean_dec(x_11); -x_190 = lean_ctor_get(x_188, 0); -lean_inc(x_190); -lean_dec(x_188); -x_191 = lean_environment_find(x_190, x_10); -if (lean_obj_tag(x_191) == 0) -{ -lean_object* x_192; lean_object* x_193; +lean_object* x_158; lean_object* x_159; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_192 = lean_box(0); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_189); -return x_193; +x_158 = lean_box(0); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_155); +return x_159; } else { -lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_194 = lean_ctor_get(x_191, 0); -lean_inc(x_194); -lean_dec(x_191); -x_195 = l_Lean_ConstantInfo_name(x_194); -lean_dec(x_194); -lean_inc(x_195); -x_196 = l_Lean_getProjectionFnInfo_x3f___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__1(x_195, x_2, x_3, x_4, x_5, x_6, x_7, x_189); -x_197 = lean_ctor_get(x_196, 0); -lean_inc(x_197); -if (lean_obj_tag(x_197) == 0) -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -lean_dec(x_195); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_198 = lean_ctor_get(x_196, 1); -lean_inc(x_198); -if (lean_is_exclusive(x_196)) { - lean_ctor_release(x_196, 0); - lean_ctor_release(x_196, 1); - x_199 = x_196; -} else { - lean_dec_ref(x_196); - x_199 = lean_box(0); -} -x_200 = lean_box(0); -if (lean_is_scalar(x_199)) { - x_201 = lean_alloc_ctor(0, 2, 0); -} else { - x_201 = x_199; -} -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_198); -return x_201; -} -else -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t x_274; lean_object* x_275; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; -x_202 = lean_ctor_get(x_196, 1); -lean_inc(x_202); -if (lean_is_exclusive(x_196)) { - lean_ctor_release(x_196, 0); - lean_ctor_release(x_196, 1); - x_203 = x_196; -} else { - lean_dec_ref(x_196); - x_203 = lean_box(0); -} -x_204 = lean_ctor_get(x_197, 0); -lean_inc(x_204); -lean_dec(x_197); -x_294 = lean_st_ref_get(x_7, x_202); -x_295 = lean_ctor_get(x_294, 0); -lean_inc(x_295); -x_296 = lean_ctor_get(x_295, 3); -lean_inc(x_296); -lean_dec(x_295); -x_297 = lean_ctor_get_uint8(x_296, sizeof(void*)*1); -lean_dec(x_296); -if (x_297 == 0) -{ -lean_object* x_298; uint8_t x_299; -x_298 = lean_ctor_get(x_294, 1); -lean_inc(x_298); -lean_dec(x_294); -x_299 = 0; -x_274 = x_299; -x_275 = x_298; -goto block_293; -} -else -{ -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; uint8_t x_305; -x_300 = lean_ctor_get(x_294, 1); -lean_inc(x_300); -lean_dec(x_294); -x_301 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_302 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs___spec__2(x_301, x_2, x_3, x_4, x_5, x_6, x_7, x_300); -x_303 = lean_ctor_get(x_302, 0); -lean_inc(x_303); -x_304 = lean_ctor_get(x_302, 1); -lean_inc(x_304); -lean_dec(x_302); -x_305 = lean_unbox(x_303); -lean_dec(x_303); -x_274 = x_305; -x_275 = x_304; -goto block_293; -} -block_273: -{ -uint8_t x_206; -x_206 = lean_ctor_get_uint8(x_204, sizeof(void*)*3); -lean_dec(x_204); -if (x_206 == 0) -{ -lean_object* x_207; -lean_dec(x_203); -lean_dec(x_195); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_207 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_4, x_5, x_6, x_7, x_205); -if (lean_obj_tag(x_207) == 0) -{ -lean_object* x_208; -x_208 = lean_ctor_get(x_207, 0); -lean_inc(x_208); -if (lean_obj_tag(x_208) == 0) -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_209 = lean_ctor_get(x_207, 1); -lean_inc(x_209); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - x_210 = x_207; -} else { - lean_dec_ref(x_207); - x_210 = lean_box(0); -} -x_211 = lean_box(0); -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; -x_213 = lean_ctor_get(x_207, 1); -lean_inc(x_213); -lean_dec(x_207); -x_214 = lean_ctor_get(x_208, 0); -lean_inc(x_214); -lean_dec(x_208); -x_215 = l_Lean_Expr_getAppFn(x_214); -x_216 = l_Lean_Meta_reduceProj_x3f(x_215, x_4, x_5, x_6, x_7, x_213); -if (lean_obj_tag(x_216) == 0) -{ -lean_object* x_217; -x_217 = lean_ctor_get(x_216, 0); -lean_inc(x_217); -if (lean_obj_tag(x_217) == 0) -{ -lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; -lean_dec(x_214); -x_218 = lean_ctor_get(x_216, 1); -lean_inc(x_218); -if (lean_is_exclusive(x_216)) { - lean_ctor_release(x_216, 0); - lean_ctor_release(x_216, 1); - x_219 = x_216; -} else { - lean_dec_ref(x_216); - x_219 = lean_box(0); -} -x_220 = lean_box(0); -if (lean_is_scalar(x_219)) { - x_221 = lean_alloc_ctor(0, 2, 0); -} else { - x_221 = x_219; -} -lean_ctor_set(x_221, 0, x_220); -lean_ctor_set(x_221, 1, x_218); -return x_221; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_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; -x_222 = lean_ctor_get(x_216, 1); -lean_inc(x_222); -if (lean_is_exclusive(x_216)) { - lean_ctor_release(x_216, 0); - lean_ctor_release(x_216, 1); - x_223 = x_216; -} else { - lean_dec_ref(x_216); - x_223 = lean_box(0); -} -x_224 = lean_ctor_get(x_217, 0); -lean_inc(x_224); -if (lean_is_exclusive(x_217)) { - lean_ctor_release(x_217, 0); - x_225 = x_217; -} else { - lean_dec_ref(x_217); - x_225 = lean_box(0); -} -x_226 = lean_unsigned_to_nat(0u); -x_227 = l_Lean_Expr_getAppNumArgsAux(x_214, x_226); -x_228 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_227); -x_229 = lean_mk_array(x_227, x_228); -x_230 = lean_unsigned_to_nat(1u); -x_231 = lean_nat_sub(x_227, x_230); -lean_dec(x_227); -x_232 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_214, x_229, x_231); -x_233 = l_Lean_mkAppN(x_224, x_232); -lean_dec(x_232); -if (lean_is_scalar(x_225)) { - x_234 = lean_alloc_ctor(1, 1, 0); -} else { - x_234 = x_225; -} -lean_ctor_set(x_234, 0, x_233); -if (lean_is_scalar(x_223)) { - x_235 = lean_alloc_ctor(0, 2, 0); -} else { - x_235 = x_223; -} -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_222); -return x_235; -} -} -else -{ -lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_214); -x_236 = lean_ctor_get(x_216, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_216, 1); -lean_inc(x_237); -if (lean_is_exclusive(x_216)) { - lean_ctor_release(x_216, 0); - lean_ctor_release(x_216, 1); - x_238 = x_216; -} else { - lean_dec_ref(x_216); - 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(x_239, 0, x_236); -lean_ctor_set(x_239, 1, x_237); -return x_239; -} -} -} -else -{ -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_240 = lean_ctor_get(x_207, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_207, 1); -lean_inc(x_241); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - x_242 = x_207; -} else { - lean_dec_ref(x_207); - x_242 = lean_box(0); -} -if (lean_is_scalar(x_242)) { - x_243 = lean_alloc_ctor(1, 2, 0); -} else { - x_243 = x_242; -} -lean_ctor_set(x_243, 0, x_240); -lean_ctor_set(x_243, 1, x_241); -return x_243; -} -} -else -{ -lean_object* x_244; uint8_t x_245; -x_244 = lean_ctor_get(x_2, 3); -x_245 = l_Lean_NameSet_contains(x_244, x_195); -lean_dec(x_195); -if (x_245 == 0) -{ -lean_object* x_246; lean_object* x_247; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_246 = lean_box(0); -if (lean_is_scalar(x_203)) { - x_247 = lean_alloc_ctor(0, 2, 0); -} else { - x_247 = x_203; -} -lean_ctor_set(x_247, 0, x_246); -lean_ctor_set(x_247, 1, x_205); -return x_247; -} -else -{ -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252; uint8_t x_253; uint8_t x_254; uint8_t x_255; uint8_t x_256; uint8_t x_257; uint8_t x_258; uint8_t x_259; lean_object* x_260; uint8_t x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -lean_dec(x_203); -x_248 = lean_ctor_get(x_4, 0); -lean_inc(x_248); -x_249 = lean_ctor_get(x_4, 1); -lean_inc(x_249); -x_250 = lean_ctor_get(x_4, 2); -lean_inc(x_250); +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; uint8_t x_165; uint8_t x_166; uint8_t x_167; uint8_t x_168; uint8_t x_169; uint8_t x_170; uint8_t x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_160 = lean_ctor_get(x_4, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_4, 1); +lean_inc(x_161); +x_162 = lean_ctor_get(x_4, 2); +lean_inc(x_162); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); lean_ctor_release(x_4, 2); - x_251 = x_4; + x_163 = x_4; } else { lean_dec_ref(x_4); - x_251 = lean_box(0); + x_163 = lean_box(0); } -x_252 = lean_ctor_get_uint8(x_248, 0); -x_253 = lean_ctor_get_uint8(x_248, 1); -x_254 = lean_ctor_get_uint8(x_248, 2); -x_255 = lean_ctor_get_uint8(x_248, 3); -x_256 = lean_ctor_get_uint8(x_248, 4); -x_257 = lean_ctor_get_uint8(x_248, 6); -x_258 = lean_ctor_get_uint8(x_248, 7); -x_259 = lean_ctor_get_uint8(x_248, 8); -if (lean_is_exclusive(x_248)) { - x_260 = x_248; +x_164 = lean_ctor_get_uint8(x_160, 0); +x_165 = lean_ctor_get_uint8(x_160, 1); +x_166 = lean_ctor_get_uint8(x_160, 2); +x_167 = lean_ctor_get_uint8(x_160, 3); +x_168 = lean_ctor_get_uint8(x_160, 4); +x_169 = lean_ctor_get_uint8(x_160, 6); +x_170 = lean_ctor_get_uint8(x_160, 7); +x_171 = lean_ctor_get_uint8(x_160, 8); +if (lean_is_exclusive(x_160)) { + x_172 = x_160; } else { - lean_dec_ref(x_248); - x_260 = lean_box(0); + lean_dec_ref(x_160); + x_172 = lean_box(0); } -x_261 = 3; -if (lean_is_scalar(x_260)) { - x_262 = lean_alloc_ctor(0, 0, 9); +x_173 = 3; +if (lean_is_scalar(x_172)) { + x_174 = lean_alloc_ctor(0, 0, 9); } else { - x_262 = x_260; + x_174 = x_172; } -lean_ctor_set_uint8(x_262, 0, x_252); -lean_ctor_set_uint8(x_262, 1, x_253); -lean_ctor_set_uint8(x_262, 2, x_254); -lean_ctor_set_uint8(x_262, 3, x_255); -lean_ctor_set_uint8(x_262, 4, x_256); -lean_ctor_set_uint8(x_262, 5, x_261); -lean_ctor_set_uint8(x_262, 6, x_257); -lean_ctor_set_uint8(x_262, 7, x_258); -lean_ctor_set_uint8(x_262, 8, x_259); -if (lean_is_scalar(x_251)) { - x_263 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set_uint8(x_174, 0, x_164); +lean_ctor_set_uint8(x_174, 1, x_165); +lean_ctor_set_uint8(x_174, 2, x_166); +lean_ctor_set_uint8(x_174, 3, x_167); +lean_ctor_set_uint8(x_174, 4, x_168); +lean_ctor_set_uint8(x_174, 5, x_173); +lean_ctor_set_uint8(x_174, 6, x_169); +lean_ctor_set_uint8(x_174, 7, x_170); +lean_ctor_set_uint8(x_174, 8, x_171); +if (lean_is_scalar(x_163)) { + x_175 = lean_alloc_ctor(0, 3, 0); } else { - x_263 = x_251; + x_175 = x_163; } -lean_ctor_set(x_263, 0, x_262); -lean_ctor_set(x_263, 1, x_249); -lean_ctor_set(x_263, 2, x_250); -x_264 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_263, x_5, x_6, x_7, x_205); -if (lean_obj_tag(x_264) == 0) +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_161); +lean_ctor_set(x_175, 2, x_162); +x_176 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_175, x_5, x_6, x_7, x_155); +if (lean_obj_tag(x_176) == 0) { -lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_265 = lean_ctor_get(x_264, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_264, 1); -lean_inc(x_266); -if (lean_is_exclusive(x_264)) { - lean_ctor_release(x_264, 0); - lean_ctor_release(x_264, 1); - x_267 = x_264; +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_179 = x_176; } else { - lean_dec_ref(x_264); - x_267 = lean_box(0); + lean_dec_ref(x_176); + x_179 = lean_box(0); } -if (lean_is_scalar(x_267)) { - x_268 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_179)) { + x_180 = lean_alloc_ctor(0, 2, 0); } else { - x_268 = x_267; + x_180 = x_179; } -lean_ctor_set(x_268, 0, x_265); -lean_ctor_set(x_268, 1, x_266); -return x_268; +lean_ctor_set(x_180, 0, x_177); +lean_ctor_set(x_180, 1, x_178); +return x_180; } else { -lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_269 = lean_ctor_get(x_264, 0); -lean_inc(x_269); -x_270 = lean_ctor_get(x_264, 1); -lean_inc(x_270); -if (lean_is_exclusive(x_264)) { - lean_ctor_release(x_264, 0); - lean_ctor_release(x_264, 1); - x_271 = x_264; +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_181 = lean_ctor_get(x_176, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_176, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_183 = x_176; } else { - lean_dec_ref(x_264); - x_271 = lean_box(0); + lean_dec_ref(x_176); + x_183 = lean_box(0); } -if (lean_is_scalar(x_271)) { - x_272 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_183)) { + x_184 = lean_alloc_ctor(1, 2, 0); } else { - x_272 = x_271; + x_184 = x_183; +} +lean_ctor_set(x_184, 0, x_181); +lean_ctor_set(x_184, 1, x_182); +return x_184; +} } -lean_ctor_set(x_272, 0, x_269); -lean_ctor_set(x_272, 1, x_270); -return x_272; } } } } -block_293: -{ -if (x_274 == 0) -{ -x_205 = x_275; -goto block_273; } else { -uint8_t 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; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; -x_276 = lean_ctor_get_uint8(x_204, sizeof(void*)*3); -x_277 = l_Std_fmt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__2(x_276); -x_278 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_278, 0, x_277); -x_279 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__2; -x_280 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_278); -x_281 = l_Lean_Meta_SynthInstance_getInstances___lambda__1___closed__7; -x_282 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_282, 0, x_280); -lean_ctor_set(x_282, 1, x_281); +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_185 = lean_ctor_get(x_11, 0); +x_186 = lean_ctor_get(x_11, 1); +lean_inc(x_186); +lean_inc(x_185); +lean_dec(x_11); +x_187 = lean_ctor_get(x_185, 0); +lean_inc(x_187); +lean_dec(x_185); +x_188 = lean_environment_find(x_187, x_10); +if (lean_obj_tag(x_188) == 0) +{ +lean_object* x_189; lean_object* x_190; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_189 = lean_box(0); +x_190 = lean_alloc_ctor(0, 2, 0); +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_object* x_193; lean_object* x_194; +x_191 = lean_ctor_get(x_188, 0); +lean_inc(x_191); +lean_dec(x_188); +x_192 = l_Lean_ConstantInfo_name(x_191); +lean_dec(x_191); +lean_inc(x_192); +x_193 = l_Lean_getProjectionFnInfo_x3f___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__1(x_192, x_2, x_3, x_4, x_5, x_6, x_7, x_186); +x_194 = lean_ctor_get(x_193, 0); +lean_inc(x_194); +if (lean_obj_tag(x_194) == 0) +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +lean_dec(x_192); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_195 = lean_ctor_get(x_193, 1); lean_inc(x_195); -x_283 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_283, 0, x_195); -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(10, 2, 0); -lean_ctor_set(x_285, 0, x_284); -lean_ctor_set(x_285, 1, x_281); -lean_inc(x_1); -x_286 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_286, 0, x_1); -x_287 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_287, 0, x_285); -lean_ctor_set(x_287, 1, x_286); -x_288 = l_Lean_KernelException_toMessageData___closed__15; -x_289 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_289, 0, x_287); -lean_ctor_set(x_289, 1, x_288); -x_290 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_291 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs___spec__1(x_290, x_289, x_2, x_3, x_4, x_5, x_6, x_7, x_275); -x_292 = lean_ctor_get(x_291, 1); -lean_inc(x_292); -lean_dec(x_291); -x_205 = x_292; -goto block_273; +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + x_196 = x_193; +} else { + lean_dec_ref(x_193); + x_196 = lean_box(0); +} +x_197 = lean_box(0); +if (lean_is_scalar(x_196)) { + x_198 = lean_alloc_ctor(0, 2, 0); +} else { + x_198 = x_196; +} +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_195); +return x_198; +} +else +{ +lean_object* x_199; uint8_t x_200; +x_199 = lean_ctor_get(x_194, 0); +lean_inc(x_199); +lean_dec(x_194); +x_200 = lean_ctor_get_uint8(x_199, sizeof(void*)*3); +lean_dec(x_199); +if (x_200 == 0) +{ +lean_object* x_201; lean_object* x_202; +lean_dec(x_192); +x_201 = lean_ctor_get(x_193, 1); +lean_inc(x_201); +lean_dec(x_193); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_202 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_4, x_5, x_6, x_7, x_201); +if (lean_obj_tag(x_202) == 0) +{ +lean_object* x_203; +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +if (lean_obj_tag(x_203) == 0) +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_204 = lean_ctor_get(x_202, 1); +lean_inc(x_204); +if (lean_is_exclusive(x_202)) { + lean_ctor_release(x_202, 0); + lean_ctor_release(x_202, 1); + x_205 = x_202; +} else { + lean_dec_ref(x_202); + x_205 = lean_box(0); +} +x_206 = lean_box(0); +if (lean_is_scalar(x_205)) { + x_207 = lean_alloc_ctor(0, 2, 0); +} else { + x_207 = x_205; +} +lean_ctor_set(x_207, 0, x_206); +lean_ctor_set(x_207, 1, x_204); +return x_207; +} +else +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; +x_208 = lean_ctor_get(x_202, 1); +lean_inc(x_208); +lean_dec(x_202); +x_209 = lean_ctor_get(x_203, 0); +lean_inc(x_209); +lean_dec(x_203); +x_210 = l_Lean_Expr_getAppFn(x_209); +x_211 = l_Lean_Meta_reduceProj_x3f(x_210, x_4, x_5, x_6, x_7, x_208); +if (lean_obj_tag(x_211) == 0) +{ +lean_object* x_212; +x_212 = lean_ctor_get(x_211, 0); +lean_inc(x_212); +if (lean_obj_tag(x_212) == 0) +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; +lean_dec(x_209); +x_213 = lean_ctor_get(x_211, 1); +lean_inc(x_213); +if (lean_is_exclusive(x_211)) { + lean_ctor_release(x_211, 0); + lean_ctor_release(x_211, 1); + x_214 = x_211; +} else { + lean_dec_ref(x_211); + x_214 = lean_box(0); +} +x_215 = lean_box(0); +if (lean_is_scalar(x_214)) { + x_216 = lean_alloc_ctor(0, 2, 0); +} else { + x_216 = x_214; +} +lean_ctor_set(x_216, 0, x_215); +lean_ctor_set(x_216, 1, x_213); +return x_216; +} +else +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_217 = lean_ctor_get(x_211, 1); +lean_inc(x_217); +if (lean_is_exclusive(x_211)) { + lean_ctor_release(x_211, 0); + lean_ctor_release(x_211, 1); + x_218 = x_211; +} else { + lean_dec_ref(x_211); + x_218 = lean_box(0); +} +x_219 = lean_ctor_get(x_212, 0); +lean_inc(x_219); +if (lean_is_exclusive(x_212)) { + lean_ctor_release(x_212, 0); + x_220 = x_212; +} else { + lean_dec_ref(x_212); + x_220 = lean_box(0); +} +x_221 = lean_unsigned_to_nat(0u); +x_222 = l_Lean_Expr_getAppNumArgsAux(x_209, x_221); +x_223 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_222); +x_224 = lean_mk_array(x_222, x_223); +x_225 = lean_unsigned_to_nat(1u); +x_226 = lean_nat_sub(x_222, x_225); +lean_dec(x_222); +x_227 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_209, x_224, x_226); +x_228 = l_Lean_mkAppN(x_219, x_227); +lean_dec(x_227); +if (lean_is_scalar(x_220)) { + x_229 = lean_alloc_ctor(1, 1, 0); +} else { + x_229 = x_220; +} +lean_ctor_set(x_229, 0, x_228); +if (lean_is_scalar(x_218)) { + x_230 = lean_alloc_ctor(0, 2, 0); +} else { + x_230 = x_218; +} +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_217); +return x_230; +} +} +else +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; +lean_dec(x_209); +x_231 = lean_ctor_get(x_211, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_211, 1); +lean_inc(x_232); +if (lean_is_exclusive(x_211)) { + lean_ctor_release(x_211, 0); + lean_ctor_release(x_211, 1); + x_233 = x_211; +} else { + lean_dec_ref(x_211); + x_233 = lean_box(0); +} +if (lean_is_scalar(x_233)) { + x_234 = lean_alloc_ctor(1, 2, 0); +} else { + x_234 = x_233; +} +lean_ctor_set(x_234, 0, x_231); +lean_ctor_set(x_234, 1, x_232); +return x_234; +} +} +} +else +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_235 = lean_ctor_get(x_202, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_202, 1); +lean_inc(x_236); +if (lean_is_exclusive(x_202)) { + lean_ctor_release(x_202, 0); + lean_ctor_release(x_202, 1); + x_237 = x_202; +} else { + lean_dec_ref(x_202); + x_237 = lean_box(0); +} +if (lean_is_scalar(x_237)) { + x_238 = lean_alloc_ctor(1, 2, 0); +} else { + x_238 = x_237; +} +lean_ctor_set(x_238, 0, x_235); +lean_ctor_set(x_238, 1, x_236); +return x_238; +} +} +else +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; +x_239 = lean_ctor_get(x_193, 1); +lean_inc(x_239); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + x_240 = x_193; +} else { + lean_dec_ref(x_193); + x_240 = lean_box(0); +} +x_241 = lean_ctor_get(x_2, 3); +x_242 = l_Lean_NameSet_contains(x_241, x_192); +lean_dec(x_192); +if (x_242 == 0) +{ +lean_object* x_243; lean_object* x_244; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_243 = lean_box(0); +if (lean_is_scalar(x_240)) { + x_244 = lean_alloc_ctor(0, 2, 0); +} else { + x_244 = x_240; +} +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_239); +return x_244; +} +else +{ +lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; uint8_t x_250; uint8_t x_251; uint8_t x_252; uint8_t x_253; uint8_t x_254; uint8_t x_255; uint8_t x_256; lean_object* x_257; uint8_t x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; +lean_dec(x_240); +x_245 = lean_ctor_get(x_4, 0); +lean_inc(x_245); +x_246 = lean_ctor_get(x_4, 1); +lean_inc(x_246); +x_247 = lean_ctor_get(x_4, 2); +lean_inc(x_247); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + lean_ctor_release(x_4, 2); + x_248 = x_4; +} else { + lean_dec_ref(x_4); + x_248 = lean_box(0); +} +x_249 = lean_ctor_get_uint8(x_245, 0); +x_250 = lean_ctor_get_uint8(x_245, 1); +x_251 = lean_ctor_get_uint8(x_245, 2); +x_252 = lean_ctor_get_uint8(x_245, 3); +x_253 = lean_ctor_get_uint8(x_245, 4); +x_254 = lean_ctor_get_uint8(x_245, 6); +x_255 = lean_ctor_get_uint8(x_245, 7); +x_256 = lean_ctor_get_uint8(x_245, 8); +if (lean_is_exclusive(x_245)) { + x_257 = x_245; +} else { + lean_dec_ref(x_245); + x_257 = lean_box(0); +} +x_258 = 3; +if (lean_is_scalar(x_257)) { + x_259 = lean_alloc_ctor(0, 0, 9); +} else { + x_259 = x_257; +} +lean_ctor_set_uint8(x_259, 0, x_249); +lean_ctor_set_uint8(x_259, 1, x_250); +lean_ctor_set_uint8(x_259, 2, x_251); +lean_ctor_set_uint8(x_259, 3, x_252); +lean_ctor_set_uint8(x_259, 4, x_253); +lean_ctor_set_uint8(x_259, 5, x_258); +lean_ctor_set_uint8(x_259, 6, x_254); +lean_ctor_set_uint8(x_259, 7, x_255); +lean_ctor_set_uint8(x_259, 8, x_256); +if (lean_is_scalar(x_248)) { + x_260 = lean_alloc_ctor(0, 3, 0); +} else { + x_260 = x_248; +} +lean_ctor_set(x_260, 0, x_259); +lean_ctor_set(x_260, 1, x_246); +lean_ctor_set(x_260, 2, x_247); +x_261 = l_Lean_Meta_unfoldDefinition_x3f(x_1, x_260, x_5, x_6, x_7, x_239); +if (lean_obj_tag(x_261) == 0) +{ +lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; +x_262 = lean_ctor_get(x_261, 0); +lean_inc(x_262); +x_263 = lean_ctor_get(x_261, 1); +lean_inc(x_263); +if (lean_is_exclusive(x_261)) { + lean_ctor_release(x_261, 0); + lean_ctor_release(x_261, 1); + x_264 = x_261; +} else { + lean_dec_ref(x_261); + x_264 = lean_box(0); +} +if (lean_is_scalar(x_264)) { + x_265 = lean_alloc_ctor(0, 2, 0); +} else { + x_265 = x_264; +} +lean_ctor_set(x_265, 0, x_262); +lean_ctor_set(x_265, 1, x_263); +return x_265; +} +else +{ +lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_266 = lean_ctor_get(x_261, 0); +lean_inc(x_266); +x_267 = lean_ctor_get(x_261, 1); +lean_inc(x_267); +if (lean_is_exclusive(x_261)) { + lean_ctor_release(x_261, 0); + lean_ctor_release(x_261, 1); + x_268 = x_261; +} else { + lean_dec_ref(x_261); + x_268 = lean_box(0); +} +if (lean_is_scalar(x_268)) { + x_269 = lean_alloc_ctor(1, 2, 0); +} else { + x_269 = x_268; +} +lean_ctor_set(x_269, 0, x_266); +lean_ctor_set(x_269, 1, x_267); +return x_269; +} } } } @@ -3712,18 +3612,18 @@ goto block_273; } else { -lean_object* x_306; lean_object* x_307; +lean_object* x_270; lean_object* x_271; lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_306 = lean_box(0); -x_307 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_307, 0, x_306); -lean_ctor_set(x_307, 1, x_8); -return x_307; +x_270 = lean_box(0); +x_271 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_271, 0, x_270); +lean_ctor_set(x_271, 1, x_8); +return x_271; } } } @@ -3741,16 +3641,6 @@ lean_dec(x_2); return x_9; } } -lean_object* l_Std_fmt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__2___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = lean_unbox(x_1); -lean_dec(x_1); -x_3 = l_Std_fmt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__2(x_2); -return x_3; -} -} lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_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, lean_object* x_8) { _start: { @@ -4550,23 +4440,6 @@ return x_33; } } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("reduceProjFn? result "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___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_object* x_10) { _start: { @@ -4605,7 +4478,7 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_1); x_19 = lean_ctor_get(x_14, 1); lean_inc(x_19); @@ -4613,188 +4486,78 @@ lean_dec(x_14); x_20 = lean_ctor_get(x_15, 0); lean_inc(x_20); lean_dec(x_15); -x_50 = lean_st_ref_get(x_9, x_19); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_51, 3); -lean_inc(x_52); -lean_dec(x_51); -x_53 = lean_ctor_get_uint8(x_52, sizeof(void*)*1); -lean_dec(x_52); -if (x_53 == 0) +x_21 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce(x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_19); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_54; uint8_t x_55; -x_54 = lean_ctor_get(x_50, 1); -lean_inc(x_54); -lean_dec(x_50); -x_55 = 0; -x_21 = x_55; -x_22 = x_54; -goto block_49; +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_21; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_56 = lean_ctor_get(x_50, 1); -lean_inc(x_56); -lean_dec(x_50); -x_57 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_58 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs___spec__2(x_57, x_4, x_5, x_6, x_7, x_8, x_9, x_56); -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_unbox(x_59); -lean_dec(x_59); -x_21 = x_61; -x_22 = x_60; -goto block_49; -} -block_49: -{ -if (x_21 == 0) -{ -lean_object* x_23; -x_23 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce(x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -return x_23; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_23); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_21); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } else { -uint8_t x_28; -x_28 = !lean_is_exclusive(x_23); -if (x_28 == 0) +uint8_t x_26; +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) { -return x_23; +return x_21; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_23, 0); -x_30 = lean_ctor_get(x_23, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_23); -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_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_inc(x_20); -x_32 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_32, 0, x_20); -x_33 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___closed__2; -x_34 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -x_35 = l_Lean_KernelException_toMessageData___closed__15; -x_36 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_556____closed__4; -x_38 = l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs___spec__1(x_37, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_40 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce(x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_39); -if (lean_obj_tag(x_40) == 0) -{ -uint8_t x_41; -x_41 = !lean_is_exclusive(x_40); -if (x_41 == 0) -{ -return x_40; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_40, 0); -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_40); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -else -{ -uint8_t x_45; -x_45 = !lean_is_exclusive(x_40); -if (x_45 == 0) -{ -return x_40; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_40, 0); -x_47 = lean_ctor_get(x_40, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_40); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; -} -} +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } } else { -uint8_t x_62; +uint8_t x_30; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_62 = !lean_is_exclusive(x_14); -if (x_62 == 0) +x_30 = !lean_is_exclusive(x_14); +if (x_30 == 0) { return x_14; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_14, 0); -x_64 = lean_ctor_get(x_14, 1); -lean_inc(x_64); -lean_inc(x_63); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_14, 0); +x_32 = lean_ctor_get(x_14, 1); +lean_inc(x_32); +lean_inc(x_31); lean_dec(x_14); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; +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; } } } @@ -9337,7 +9100,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_Meta_Simp_simp_simpLet___closed__5; x_2 = l_Lean_Meta_Simp_simp_simpLet___closed__6; -x_3 = lean_unsigned_to_nat(314u); +x_3 = lean_unsigned_to_nat(313u); x_4 = lean_unsigned_to_nat(13u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11946,7 +11709,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_Meta_Simp_simp_simpLet___closed__5; x_2 = l_Lean_Meta_Simp_simp_simpStep___closed__1; -x_3 = lean_unsigned_to_nat(159u); +x_3 = lean_unsigned_to_nat(158u); x_4 = lean_unsigned_to_nat(26u); x_5 = l_Lean_Name_getString_x21___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -13916,6 +13679,23 @@ return x_20; } } } +lean_object* l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(uint8_t x_1) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_2; +x_2 = l_instReprBool___closed__2; +return x_2; +} +else +{ +lean_object* x_3; +x_3 = l_instReprBool___closed__4; +return x_3; +} +} +} lean_object* l_Lean_Meta_Simp_simp_simpArrow___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_object* x_12) { _start: { @@ -15201,7 +14981,7 @@ else uint8_t 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; uint8_t 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; uint8_t 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_98 = lean_ctor_get_uint8(x_88, sizeof(void*)*1); lean_dec(x_88); -x_99 = l_Std_fmt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__2(x_98); +x_99 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_98); x_100 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_100, 0, x_99); x_101 = l_Lean_Meta_Simp_simp_simpArrow___closed__6; @@ -15224,7 +15004,7 @@ lean_ctor_set(x_108, 0, x_106); lean_ctor_set(x_108, 1, x_107); x_109 = lean_unbox(x_91); lean_dec(x_91); -x_110 = l_Std_fmt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__2(x_109); +x_110 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_109); x_111 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_111, 0, x_110); x_112 = lean_alloc_ctor(10, 2, 0); @@ -15245,7 +15025,7 @@ lean_ctor_set(x_117, 0, x_116); lean_ctor_set(x_117, 1, x_107); x_118 = lean_unbox(x_94); lean_dec(x_94); -x_119 = l_Std_fmt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__2(x_118); +x_119 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_118); x_120 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_120, 0, x_119); x_121 = lean_alloc_ctor(10, 2, 0); @@ -17391,7 +17171,7 @@ x_120 = l_Lean_Meta_instInhabitedParamInfo; x_121 = lean_array_get(x_120, x_1, x_27); x_122 = lean_ctor_get_uint8(x_121, sizeof(void*)*1 + 2); lean_dec(x_121); -x_123 = l_Std_fmt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__2(x_122); +x_123 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_122); x_124 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_124, 0, x_123); x_125 = lean_alloc_ctor(10, 2, 0); @@ -20344,6 +20124,16 @@ lean_dec(x_1); return x_12; } } +lean_object* l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Std_fmt___at_Lean_Meta_Simp_simp_simpArrow___spec__1(x_2); +return x_3; +} +} lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Simp_simp_simpLambda___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, lean_object* x_11, lean_object* x_12) { _start: { @@ -21400,14 +21190,6 @@ lean_mark_persistent(l_Lean_Meta_Simp_congrHypothesisExceptionId); lean_dec_ref(res); l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg___closed__1 = _init_l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg___closed__1); -l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__1 = _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__1); -l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__2 = _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__2); -l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___closed__1 = _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___closed__1); -l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___closed__2 = _init_l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3___closed__2); l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___boxed__const__1 = _init_l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___boxed__const__1(); lean_mark_persistent(l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___boxed__const__1); l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___closed__1 = _init_l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___closed__1(); diff --git a/stage0/stdlib/Lean/Meta/UnificationHint.c b/stage0/stdlib/Lean/Meta/UnificationHint.c index 0126c326ad..864f4e63a3 100644 --- a/stage0/stdlib/Lean/Meta/UnificationHint.c +++ b/stage0/stdlib/Lean/Meta/UnificationHint.c @@ -55,6 +55,7 @@ extern lean_object* l_instReprProd___rarg___closed__2; lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Meta_UnificationHints_add___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__3(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_Meta_isExprDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_append___rarg(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_Meta_instToFormatUnificationHints___spec__10(lean_object*, lean_object*); lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -94,6 +95,7 @@ lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertVal___ lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Meta_UnificationHints_add___spec__2(lean_object*, lean_object*); lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Meta_UnificationHints_add___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_597____closed__3; +lean_object* l_Lean_Meta_getPostponed___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_unificationHintExtension___lambda__1(lean_object*); lean_object* l_Lean_Meta_UnificationHints_add(lean_object*, lean_object*); @@ -287,6 +289,7 @@ extern lean_object* l_Lean_Meta_withMCtx___at___private_Lean_Meta_SynthInstance_ lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate_match__2(lean_object*); lean_object* l_Lean_Meta_unificationHintExtension___lambda__1___boxed(lean_object*); lean_object* l_Lean_Meta_tryUnificationHints___lambda__1___boxed(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*); lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints_tryCandidate___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*); size_t l_Lean_Meta_DiscrTree_Key_hash(lean_object*); @@ -6637,64 +6640,75 @@ return x_65; } else { -uint8_t x_66; -lean_dec(x_29); +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_27); lean_dec(x_21); +x_66 = lean_ctor_get(x_53, 1); +lean_inc(x_66); +lean_dec(x_53); +x_67 = l_Lean_Meta_getPostponed___rarg(x_8, x_9, 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 = l_Std_PersistentArray_append___rarg(x_29, x_68); +lean_dec(x_68); +x_71 = l_Lean_Meta_setPostponed(x_70, x_7, x_8, x_9, x_10, x_69); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_66 = !lean_is_exclusive(x_53); -if (x_66 == 0) +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) { -lean_object* x_67; uint8_t x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_53, 0); -lean_dec(x_67); -x_68 = 1; -x_69 = lean_box(x_68); -lean_ctor_set(x_53, 0, x_69); -return x_53; +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_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; -x_70 = lean_ctor_get(x_53, 1); -lean_inc(x_70); -lean_dec(x_53); -x_71 = 1; -x_72 = lean_box(x_71); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_70); -return x_73; +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_74; lean_object* x_75; -x_74 = lean_ctor_get(x_53, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_53, 1); -lean_inc(x_75); +lean_object* x_80; lean_object* x_81; +x_80 = lean_ctor_get(x_53, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_53, 1); +lean_inc(x_81); lean_dec(x_53); -x_31 = x_74; -x_32 = x_75; +x_31 = x_80; +x_32 = x_81; goto block_38; } } } else { -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_39, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_39, 1); -lean_inc(x_77); +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_39, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_39, 1); +lean_inc(x_83); lean_dec(x_39); -x_31 = x_76; -x_32 = x_77; +x_31 = x_82; +x_32 = x_83; goto block_38; } block_38: @@ -6889,64 +6903,75 @@ return x_65; } else { -uint8_t x_66; -lean_dec(x_29); +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_27); lean_dec(x_21); +x_66 = lean_ctor_get(x_53, 1); +lean_inc(x_66); +lean_dec(x_53); +x_67 = l_Lean_Meta_getPostponed___rarg(x_8, x_9, 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 = l_Std_PersistentArray_append___rarg(x_29, x_68); +lean_dec(x_68); +x_71 = l_Lean_Meta_setPostponed(x_70, x_7, x_8, x_9, x_10, x_69); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_66 = !lean_is_exclusive(x_53); -if (x_66 == 0) +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) { -lean_object* x_67; uint8_t x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_53, 0); -lean_dec(x_67); -x_68 = 1; -x_69 = lean_box(x_68); -lean_ctor_set(x_53, 0, x_69); -return x_53; +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_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; -x_70 = lean_ctor_get(x_53, 1); -lean_inc(x_70); -lean_dec(x_53); -x_71 = 1; -x_72 = lean_box(x_71); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_70); -return x_73; +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_74; lean_object* x_75; -x_74 = lean_ctor_get(x_53, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_53, 1); -lean_inc(x_75); +lean_object* x_80; lean_object* x_81; +x_80 = lean_ctor_get(x_53, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_53, 1); +lean_inc(x_81); lean_dec(x_53); -x_31 = x_74; -x_32 = x_75; +x_31 = x_80; +x_32 = x_81; goto block_38; } } } else { -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_39, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_39, 1); -lean_inc(x_77); +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_39, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_39, 1); +lean_inc(x_83); lean_dec(x_39); -x_31 = x_76; -x_32 = x_77; +x_31 = x_82; +x_32 = x_83; goto block_38; } block_38: diff --git a/stage0/stdlib/Lean/Parser/Command.c b/stage0/stdlib/Lean/Parser/Command.c index 92bc68bad2..2a740c021b 100644 --- a/stage0/stdlib/Lean/Parser/Command.c +++ b/stage0/stdlib/Lean/Parser/Command.c @@ -2309,7 +2309,6 @@ lean_object* l_Lean_Parser_Command_check__failure_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_deriving___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_check___closed__3; lean_object* l_Lean_Parser_Command_mutual_formatter___closed__9; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7; lean_object* l_Lean_Parser_Command_universes___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_structInstBinder___elambda__1___closed__10; lean_object* l_Lean_Parser_Command_synth___closed__5; @@ -2322,6 +2321,7 @@ lean_object* l_Lean_Parser_Command_noncomputable_formatter___closed__3; lean_object* l_Lean_Parser_Command_declModifiersT_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_openOnly___closed__2; lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__23; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7; lean_object* l_Lean_Parser_Command_partial_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_structureTk___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_ctor_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -18328,7 +18328,7 @@ static lean_object* _init_l_Lean_Parser_Command_structFields_parenthesizer___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7; x_2 = l_Lean_Parser_Command_structFields_parenthesizer___closed__8; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Parser/Do.c b/stage0/stdlib/Lean/Parser/Do.c index a3b874d31e..c32d2bf88e 100644 --- a/stage0/stdlib/Lean/Parser/Do.c +++ b/stage0/stdlib/Lean/Parser/Do.c @@ -1278,7 +1278,6 @@ lean_object* l_Lean_Parser_Term_letIdDeclNoBinders_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_doSeqItem___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__36; lean_object* l_Lean_Parser_Term_doDbgTrace___closed__5; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7; lean_object* l_Lean_Parser_Term_doElem_quot___elambda__1___closed__11; extern lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_doIfCond_formatter___closed__4; @@ -1288,6 +1287,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_termReturn_formatter___closed__1; lean_object* l_Lean_Parser_Term_doReturn_formatter___closed__7; lean_object* l_Lean_Parser_Term_doFor_formatter___closed__1; lean_object* l_Lean_Parser_Term_doNested_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7; lean_object* l_Lean_Parser_Term_doSeqBracketed___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_doReassignArrow___closed__2; extern lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__5; @@ -1480,10 +1480,10 @@ lean_object* l___regBuiltin_Lean_Parser_Term_doBreak_parenthesizer(lean_object*) lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_doContinue_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doIfLet_parenthesizer___closed__1; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_liftMethod_formatter___closed__1; lean_object* l_Lean_Parser_Term_doPatDecl___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_liftMethod_formatter___closed__3; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__5; lean_object* l_Lean_Parser_Term_doNested_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doLetArrow___closed__4; lean_object* l_Lean_Parser_Term_doMatch___elambda__1___closed__7; @@ -7143,7 +7143,7 @@ static lean_object* _init_l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__5 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__5; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__5; x_2 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -12425,7 +12425,7 @@ static lean_object* _init_l_Lean_Parser_Term_doIf_parenthesizer___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7; x_2 = l_Lean_Parser_Term_doIf_parenthesizer___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -12447,7 +12447,7 @@ static lean_object* _init_l_Lean_Parser_Term_doIf_parenthesizer___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7; x_2 = l_Lean_Parser_Term_doIf_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Parser/Extra.c b/stage0/stdlib/Lean/Parser/Extra.c index a2ff365fa3..5324a91a83 100644 --- a/stage0/stdlib/Lean/Parser/Extra.c +++ b/stage0/stdlib/Lean/Parser/Extra.c @@ -445,7 +445,7 @@ lean_object* l_Std_Format_getIndent(lean_object*); lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_938____closed__7; lean_object* l_Lean_Parser_notSymbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy_formatter(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7; lean_object* l_Lean_Parser_withAntiquotSpliceAndSuffix(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_634____closed__17; lean_object* l_Lean_Parser_leadingNode_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -499,6 +499,7 @@ lean_object* l_Lean_ppLine_formatter___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_charLitNoAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_rawNatLit___closed__6; lean_object* l_Lean_Parser_withAntiquotSpliceAndSuffix_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__4; @@ -510,7 +511,6 @@ lean_object* l_Lean_Parser_ppGroup(lean_object*); extern lean_object* l_prec_x28___x29___closed__3; extern lean_object* l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_826____closed__11; lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__4; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Parser_many_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__8; @@ -1207,7 +1207,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__1; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -1249,7 +1249,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -1293,7 +1293,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__10; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -1391,7 +1391,7 @@ static lean_object* _init_l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_Parser_mkAntiquot_parenthesizer___rarg___closed__19; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -1731,7 +1731,7 @@ lean_closure_set(x_15, 1, x_14); x_16 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_16, 0, x_13); lean_closure_set(x_16, 1, x_15); -x_17 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_17 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_18 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_18, 0, x_17); lean_closure_set(x_18, 1, x_16); @@ -3297,7 +3297,7 @@ lean_object* l_Lean_Parser_many1Indent_parenthesizer(lean_object* x_1, lean_obje _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7; +x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7; x_8 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_8, 0, x_7); lean_closure_set(x_8, 1, x_1); @@ -3387,7 +3387,7 @@ lean_object* l_Lean_Parser_manyIndent_parenthesizer(lean_object* x_1, lean_objec _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7; +x_7 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7; x_8 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_8, 0, x_7); lean_closure_set(x_8, 1, x_1); diff --git a/stage0/stdlib/Lean/Parser/Syntax.c b/stage0/stdlib/Lean/Parser/Syntax.c index f3894d2112..c48479c312 100644 --- a/stage0/stdlib/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Lean/Parser/Syntax.c @@ -1366,6 +1366,7 @@ lean_object* l_Lean_Parser_Command_macro__rules___closed__3; lean_object* l_Lean_Parser_Command_syntaxCat___closed__4; lean_object* l___regBuiltin_Lean_Parser_Command_macro_formatter(lean_object*); lean_object* l_Lean_Parser_Term_prio_quot_formatter___closed__1; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1398____closed__2; @@ -1386,7 +1387,6 @@ lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_prefix___closed__3; lean_object* l_Lean_Parser_Command_macro__rules_formatter___closed__2; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__15; lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__1; @@ -3427,7 +3427,7 @@ static lean_object* _init_l_Lean_Parser_Syntax_unary_parenthesizer___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_Parser_Syntax_paren_parenthesizer___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -3896,7 +3896,7 @@ static lean_object* _init_l_Lean_Parser_Syntax_binary_parenthesizer___closed__4( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_Parser_Syntax_binary_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -15122,7 +15122,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroArgSymbol_parenthesizer___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_938____closed__19; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -15146,7 +15146,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroArgSymbol_parenthesizer___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_Parser_Command_macroArgSymbol_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -15249,7 +15249,7 @@ static lean_object* _init_l_Lean_Parser_Command_macroArgSimple_parenthesizer___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_Parser_Command_macroArgSimple_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index f2642ad90e..3007d1dacc 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -2586,6 +2586,7 @@ lean_object* l_Lean_Parser_Term_binderIdent; lean_object* l_Lean_Parser_Term_simpleBinder___elambda__1(lean_object*, lean_object*); extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_362____closed__4; lean_object* l_Lean_Parser_Term_proj_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__1; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3929____closed__11; lean_object* l_Lean_Parser_Term_whereDecls___closed__6; lean_object* l_Lean_Parser_Term_let_x2a_parenthesizer___closed__1; @@ -2601,7 +2602,6 @@ lean_object* l_Lean_Parser_Term_implicitBinder___elambda__1___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Term_ensureExpectedType(lean_object*); lean_object* l_Lean_Parser_Term_local___elambda__1___closed__6; extern lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__5; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__1; lean_object* l_Lean_Parser_toggleInsideQuotFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_fromTerm___closed__4; @@ -3478,6 +3478,7 @@ lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_app___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_let_x2a___closed__8; +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_parser_x21_formatter___closed__6; @@ -3524,7 +3525,6 @@ lean_object* l_Lean_Parser_Term_let_x2a___closed__4; lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__15; extern lean_object* l_Lean_Parser_Level_paren_formatter___closed__4; lean_object* l_Lean_Parser_Term_matchAlt_formatter___closed__1; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; lean_object* l_Lean_Parser_checkColGtFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__2; lean_object* l_Lean_Parser_Term_attr_quot___elambda__1___closed__10; @@ -3614,10 +3614,10 @@ lean_object* l_Lean_Parser_Term_sort_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_proj___closed__6; lean_object* l_Lean_Parser_Term_type___closed__4; -extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__5; lean_object* l_Lean_Parser_Term_fun_formatter___closed__2; lean_object* l_Lean_Parser_Term_optSemicolon_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_paren___elambda__1(lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__5; lean_object* l_Lean_Parser_Term_optEllipsis_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeq___closed__3; lean_object* l_Lean_Parser_Term_namedArgument_parenthesizer___closed__3; @@ -7591,7 +7591,7 @@ static lean_object* _init_l_Lean_Parser_Term_type_parenthesizer___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__5; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__5; x_2 = l_Lean_Parser_Level_max_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -7615,7 +7615,7 @@ static lean_object* _init_l_Lean_Parser_Term_type_parenthesizer___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__1; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__1; x_2 = l_Lean_Parser_Term_type_parenthesizer___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -27235,7 +27235,7 @@ static lean_object* _init_l_Lean_Parser_Term_doubleQuotedName_parenthesizer___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_initFn____x40_Lean_Parser_Extra___hyg_938____closed__17; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -29128,7 +29128,7 @@ static lean_object* _init_l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__6( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__1; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__1; x_2 = l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -38768,7 +38768,7 @@ static lean_object* _init_l_Lean_Parser_Term_app_parenthesizer___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__5; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__5; x_2 = l_Lean_Parser_Term_app_parenthesizer___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -38780,7 +38780,7 @@ static lean_object* _init_l_Lean_Parser_Term_app_parenthesizer___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__1; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__1; x_2 = l_Lean_Parser_Term_app_parenthesizer___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -39139,7 +39139,7 @@ static lean_object* _init_l_Lean_Parser_Term_proj_parenthesizer___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_Parser_Term_proj_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -39488,7 +39488,7 @@ static lean_object* _init_l_Lean_Parser_Term_arrayRef_parenthesizer___closed__1( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_Parser_Term_structInstArrayRef_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -40460,7 +40460,7 @@ static lean_object* _init_l_Lean_Parser_Term_explicitUniv_parenthesizer___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_Parser_Term_explicitUniv_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -40833,7 +40833,7 @@ static lean_object* _init_l_Lean_Parser_Term_namedPattern_parenthesizer___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; x_2 = l_Lean_Parser_Term_explicit_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c index aea31ef741..730c80dcf1 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c @@ -89,7 +89,7 @@ lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthes uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__7; lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3207_(lean_object*); +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3209_(lean_object*); extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instCoeArrowParenthesizerParenthesizerParenthesizerAliasValue(lean_object*); @@ -98,10 +98,10 @@ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalInsideQuot_parenthesizer___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__22; lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__22; lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolNoAntiquot_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__7; lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg(lean_object*); @@ -180,7 +180,6 @@ lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_trailingNode_p lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__3; lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__4; lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_manyNoAntiquot_parenthesizer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_pretty_printer_parenthesizer_interpret_parser_descr(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parserOfStack_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -191,7 +190,6 @@ lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_obj lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__2(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__4; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__8; extern lean_object* l_term___x24_______closed__8; lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; lean_object* l_Lean_PrettyPrinter_Parenthesizer_many1NoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -199,6 +197,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_error_parenthesizer___rarg(lean_ lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__5; lean_object* l_Lean_Syntax_Traverser_setCur(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_term___x24_______closed__4; lean_object* l_ReaderT_map___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__1___at_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___spec__2___boxed(lean_object*); @@ -213,7 +212,6 @@ lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___ lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__6(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__19; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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_PrettyPrinter_Parenthesizer_throwBacktrack___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -229,7 +227,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM lean_object* l_Lean_PrettyPrinter_Parenthesizer_ite___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesize___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkWsBefore_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -245,7 +242,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___rarg___ lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedByCategoryToken_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__12; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__20; lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParserOfStack_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -256,20 +252,23 @@ lean_object* l_ReaderT_instMonadFunctorReaderT___boxed(lean_object*, lean_object lean_object* l_instInhabited___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_intro___closed__10; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__20; lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___boxed(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__19; lean_object* l_Lean_PrettyPrinter_Parenthesizer_charLitNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbolNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goDown___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withoutForbidden_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__12; lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_parenthesize___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_PP_Result_quote___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__10; lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__10; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__12; lean_object* lean_format_pretty(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolNoAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_location___closed__4; @@ -289,6 +288,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbolNoAntiquot_parenthesizer(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__4; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__9; lean_object* l_Lean_Syntax_MonadTraverser_getCur___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__1___boxed(lean_object*); @@ -318,7 +318,6 @@ extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__10; extern lean_object* l_Lean_Parser_Tactic_paren___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_eoi_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_1264____closed__6; uint8_t l_Lean_PrettyPrinter_Parenthesizer_State_visitedToken___default; @@ -340,6 +339,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_throwBacktrack___rarg___closed__ lean_object* l_Lean_PrettyPrinter_Parenthesizer_evalInsideQuot_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__23; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute(lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoImmediateColon_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); @@ -347,7 +347,6 @@ extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__2; lean_object* l_Lean_Syntax_Traverser_fromSyntax(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__23; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__4(lean_object*); lean_object* l_Lean_PrettyPrinter_mkCombinatorParenthesizerAttribute___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); @@ -356,17 +355,16 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_pushNone_parenthesizer___rarg(le lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM; -lean_object* l_IO_mkRef___at_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2891____spec__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(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* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__4; lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__1; extern lean_object* l_term_x5b___x5d___closed__5; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__21; lean_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__19; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__21; lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitToken___spec__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquotSuffixSplice_parenthesizer___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_down(lean_object*, lean_object*); @@ -374,15 +372,16 @@ lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instCoeArrowParenthesizerArrowParenthesizerParenthesizerParenthesizerAliasValue(lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2891_(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956_(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2893_(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958_(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer(lean_object*); uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_combinatorParenthesizerAttribute; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__13; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__13; lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_IO_mkRef___at_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2893____spec__1(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_notFollowedByCategoryToken_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); @@ -402,15 +401,16 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken___boxed(lean_object*, lean_object* l_Lean_PrettyPrinter_Parenthesizer_addPrecCheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__9; lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_fmt___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__6___closed__2; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__9; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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_object* l_Lean_Syntax_MonadTraverser_goRight___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__17; lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___spec__1(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__4; lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Parenthesizer_throwError___spec__1(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__17; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withForbidden_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoImmediateColon_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_identNoAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -428,19 +428,20 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__5___rar lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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* l_Std_fmt___at_Lean_Level_PP_Result_format___spec__2(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7; lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__24; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__3___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_ParserCompiler_instInhabitedCombinatorAttribute___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__16; extern lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__16; lean_object* l_Lean_PrettyPrinter_Parenthesizer_symbolNoAntiquot_parenthesizer___boxed(lean_object*); lean_object* l_Nat_forM_loop___at_Lean_PrettyPrinter_Parenthesizer_parenthesizeCategoryCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -458,7 +459,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_rawIdentNoAntiquot_parenthesizer lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__4; lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__1___boxed(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__24; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadTraverserParenthesizerM_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_lookahead_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -481,6 +481,7 @@ lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Parenthesizer_throwError_ lean_object* l_Lean_indentD(lean_object*); extern lean_object* l_Substring_splitOn_loop___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_State_contCat___default; @@ -490,7 +491,6 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Pre lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbolNoAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_prec_x28___x29___closed__3; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__6; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_MonadTraverser_goLeft___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__2___boxed(lean_object*); @@ -500,7 +500,7 @@ lean_object* lean_nat_mod(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withForbidden_parenthesizer___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize_match__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_State_minPrec___default; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__5; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__5; lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_strLitNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__5; @@ -509,7 +509,8 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___lam extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4001____closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGe_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__15; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__18; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__15; lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Parenthesizer_throwError___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -517,7 +518,6 @@ extern lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___closed__1; lean_object* l_Nat_min(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__18; lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1(lean_object*); extern lean_object* l_Lean_PrettyPrinter_backtrackExceptionId; @@ -525,14 +525,13 @@ lean_object* l_Lean_PrettyPrinter_parenthesizeTerm___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM___closed__3; lean_object* l_Lean_PrettyPrinter_mkParenthesizerAttribute___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkColGt_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__2; lean_object* l_Lean_Syntax_MonadTraverser_getIdx___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); extern lean_object* l_instReprOption___rarg___closed__4; +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__14; lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___closed__1; lean_object* l_ReaderT_bind___at_Lean_PrettyPrinter_Parenthesizer_trailingNode_parenthesizer___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_Traverser_left(lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__14; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___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*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParserOfStack_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -568,6 +567,7 @@ lean_object* lean_mk_antiquot_parenthesizer(lean_object*, lean_object*, uint8_t, lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__5; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__2; lean_object* l_Lean_Attribute_Builtin_getId(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_Context_cat___default() { @@ -10243,7 +10243,7 @@ x_10 = l_Lean_PrettyPrinter_Parenthesizer_ite___rarg(x_9, x_2, x_3, x_4, x_5, x_ return x_10; } } -lean_object* l_IO_mkRef___at_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2891____spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_mkRef___at_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2893____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -10268,12 +10268,12 @@ return x_7; } } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2891_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2893_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; x_2 = lean_box(0); -x_3 = l_IO_mkRef___at_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2891____spec__1(x_2, x_1); +x_3 = l_IO_mkRef___at_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2893____spec__1(x_2, x_1); return x_3; } } @@ -10313,7 +10313,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__1() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__1() { _start: { lean_object* x_1; @@ -10321,17 +10321,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkWsBefor return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__1; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__1; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3() { _start: { lean_object* x_1; @@ -10339,17 +10339,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBef return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__4() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__5() { _start: { lean_object* x_1; @@ -10357,17 +10357,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkColGt_p return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__6() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__5; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__5; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7() { _start: { lean_object* x_1; @@ -10375,17 +10375,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkColGe_p return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__8() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__9() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__9() { _start: { lean_object* x_1; @@ -10393,17 +10393,17 @@ x_1 = lean_mk_string("lookahead"); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__10() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__9; +x_2 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__11() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__11() { _start: { lean_object* x_1; @@ -10411,17 +10411,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_lookahead_pa return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__12() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__11; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__11; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__13() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__13() { _start: { lean_object* x_1; @@ -10429,17 +10429,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_atomic_paren return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__14() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__13; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__13; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__15() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__15() { _start: { lean_object* x_1; @@ -10447,17 +10447,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_notFollowedB return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__16() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__15; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__15; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__17() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__17() { _start: { lean_object* x_1; @@ -10465,17 +10465,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__18() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__17; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__17; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__19() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__19() { _start: { lean_object* x_1; @@ -10483,17 +10483,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_interpolated return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__20() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__19; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__19; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__21() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__21() { _start: { lean_object* x_1; @@ -10501,17 +10501,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_paren return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__22() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__21; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__21; 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_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__23() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__23() { _start: { lean_object* x_1; @@ -10519,23 +10519,23 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_pare return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__24() { +static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__23; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__23; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; x_3 = l_term___x24_______closed__8; -x_4 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__2; +x_4 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__2; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -10544,7 +10544,7 @@ x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); x_7 = l_Array_term_____x5b___x3a___x5d___closed__6; -x_8 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__4; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__4; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_7, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -10553,7 +10553,7 @@ x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); x_11 = l_Lean_Parser_Tactic_intro___closed__10; -x_12 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__6; +x_12 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__6; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_11, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -10562,7 +10562,7 @@ x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); x_15 = l_Lean_Parser_Tactic_inductionAlts___closed__8; -x_16 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__8; +x_16 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__8; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -10570,8 +10570,8 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__10; -x_20 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__12; +x_19 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__10; +x_20 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__12; x_21 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_19, x_20, x_18); if (lean_obj_tag(x_21) == 0) { @@ -10580,7 +10580,7 @@ x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); x_23 = l_term___x24_______closed__4; -x_24 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__14; +x_24 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__14; x_25 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_23, x_24, x_22); if (lean_obj_tag(x_25) == 0) { @@ -10589,7 +10589,7 @@ x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); x_27 = l_myMacro____x40_Init_Notation___hyg_2054____closed__4; -x_28 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__16; +x_28 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__16; x_29 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_27, x_28, x_26); if (lean_obj_tag(x_29) == 0) { @@ -10598,7 +10598,7 @@ x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); lean_dec(x_29); x_31 = l_Lean_Parser_Tactic_location___closed__4; -x_32 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__18; +x_32 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__18; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_31, x_32, x_30); if (lean_obj_tag(x_33) == 0) { @@ -10607,7 +10607,7 @@ x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); x_35 = l_termS_x21_____closed__6; -x_36 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__20; +x_36 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__20; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -10616,7 +10616,7 @@ x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); x_39 = l_myMacro____x40_Init_Notation___hyg_1264____closed__6; -x_40 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__22; +x_40 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__22; x_41 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_39, x_40, x_38); if (lean_obj_tag(x_41) == 0) { @@ -10625,7 +10625,7 @@ x_42 = lean_ctor_get(x_41, 1); lean_inc(x_42); lean_dec(x_41); x_43 = l_Lean_Parser_Syntax_addPrec___closed__10; -x_44 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__24; +x_44 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__24; x_45 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_43, x_44, x_42); return x_45; } @@ -11465,7 +11465,7 @@ x_6 = l_Lean_PrettyPrinter_parenthesize(x_5, x_1, x_2, x_3, x_4); return x_6; } } -lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3207_(lean_object* x_1) { +lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3209_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -11726,60 +11726,60 @@ l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1 = _ lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1); l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1); -res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2891_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2893_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef); lean_dec_ref(res); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__1(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__1); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__2(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__2); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__3); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__4 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__4(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__4); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__5 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__5(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__5); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__6 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__6(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__6); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__7); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__8 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__8(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__8); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__9 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__9(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__9); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__10 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__10(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__10); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__11 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__11(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__11); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__12 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__12(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__12); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__13 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__13(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__13); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__14 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__14(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__14); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__15 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__15(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__15); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__16 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__16(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__16); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__17 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__17(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__17); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__18 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__18(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__18); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__19 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__19(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__19); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__20 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__20(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__20); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__21 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__21(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__21); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__22 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__22(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__22); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__23 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__23(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__23); -l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__24 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__24(); -lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956____closed__24); -res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2956_(lean_io_mk_world()); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__1); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__2 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__2); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__3); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__4 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__4); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__5 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__5); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__6 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__6); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__7); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__8 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__8); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__9 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__9); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__10 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__10(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__10); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__11 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__11(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__11); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__12 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__12(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__12); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__13 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__13(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__13); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__14 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__14(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__14); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__15 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__15(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__15); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__16 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__16(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__16); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__17 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__17(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__17); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__18 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__18(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__18); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__19 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__19(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__19); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__20 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__20(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__20); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__21 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__21(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__21); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__22 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__22(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__22); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__23 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__23(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__23); +l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__24 = _init_l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__24(); +lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958____closed__24); +res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2958_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_PrettyPrinter_parenthesize___closed__1 = _init_l_Lean_PrettyPrinter_parenthesize___closed__1(); @@ -11796,7 +11796,7 @@ l_Lean_PrettyPrinter_parenthesizeTerm___closed__1 = _init_l_Lean_PrettyPrinter_p lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeTerm___closed__1); l_Lean_PrettyPrinter_parenthesizeCommand___closed__1 = _init_l_Lean_PrettyPrinter_parenthesizeCommand___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeCommand___closed__1); -res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3207_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3209_(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/Server/FileWorker.c b/stage0/stdlib/Lean/Server/FileWorker.c index 59353046ed..670fa6cdd9 100644 --- a/stage0/stdlib/Lean/Server/FileWorker.c +++ b/stage0/stdlib/Lean/Server/FileWorker.c @@ -50,7 +50,6 @@ lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidOpenTextD lean_object* l_Lean_Server_FileWorker_handleHover___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_RequestError_fileChanged___closed__2; lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_logSnapContent___closed__1; -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1299_(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDidChange_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__2___closed__2; @@ -96,6 +95,7 @@ extern lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__6; lean_object* l_Lean_Server_FileWorker_handleDocumentHighlight_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___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* l_Lean_Server_FileWorker_handleDefinition_match__1(lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__4; extern lean_object* l_Lean_searchPathRef; uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); @@ -115,6 +115,7 @@ lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___l lean_object* l_Std_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__5; lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___closed__4; extern lean_object* l_Lean_Parser_Command_section___elambda__1___closed__2; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleHover___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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); @@ -130,7 +131,7 @@ lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* lean_get_stderr(lean_object*); lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_getBuiltinSearchPath(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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* l_Lean_Server_FileWorker_handleRequest_match__1(lean_object*, lean_object*); extern lean_object* l_Lean_declRangeExt; lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__2; @@ -139,9 +140,7 @@ lean_object* l_IO_FS_Stream_readLspMessage(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_CancelToken_check___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__1___closed__1; lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics_match__1(lean_object*); extern lean_object* l_instInhabitedNat; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__1; extern lean_object* l_IO_AsyncList_waitFind_x3f___rarg___closed__2; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_headerToImports(lean_object*); lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handlePlainGoal___closed__1; @@ -149,7 +148,6 @@ lean_object* l_Lean_Parser_mkInputContext(lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1136____closed__5; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Compiler_checkIsDefinition___closed__3; lean_object* l_IO_mkRef___at_Lean_Server_FileWorker_initializeWorker___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___closed__2; @@ -162,7 +160,6 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lea lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_lspPosToUtf8Pos(lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_toCmdState(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_219____closed__8; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1136____closed__22; lean_object* l_IO_sleep(uint32_t, lean_object*); @@ -220,6 +217,7 @@ lean_object* l_Lean_Server_FileWorker_leanpkgSetupSearchPath___closed__1; lean_object* l_Lean_Server_FileWorker_handleRequest___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__2; +lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(lean_object*); lean_object* l_Lean_FileMap_utf8PosToLspPos(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover_match__2(lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__6(lean_object*, lean_object*); @@ -258,7 +256,6 @@ lean_object* l_Std_RBNode_setBlack___rarg(lean_object*); lean_object* l_Lean_Server_FileWorker_leanpkgSetupSearchPath___closed__4; lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__2(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__2; extern lean_object* l_List_get_x21___rarg___closed__4; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11_(lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonWaitForDiagnosticsParams____x40_Lean_Data_Lsp_Extra___hyg_42_(lean_object*); @@ -274,7 +271,6 @@ lean_object* l_Lean_Json_compress(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_exit___elambda__1___closed__1; lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___closed__1; -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitAll___at_Lean_Server_FileWorker_handleWaitForDiagnostics___spec__1___closed__1; lean_object* l_Lean_Server_FileWorker_updateDocument_match__2(lean_object*); lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); @@ -341,6 +337,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_FileWorker_0__Lea extern lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_353____closed__1; lean_object* l_IO_FS_Stream_writeLspMessage(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_initAndRunWorker_match__3(lean_object*); +lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(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_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); @@ -384,7 +381,7 @@ lean_object* l_Lean_Server_FileWorker_compileHeader_match__1___rarg(lean_object* lean_object* l_IO_appDir___at_Lean_getBuiltinSearchPath___spec__1(lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleRequest___spec__8___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_220_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_236_(lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_549_(lean_object*); lean_object* l_Lean_Server_FileWorker_parseParams_match__1(lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Server_FileWorker_handleHover___spec__1(lean_object*); @@ -399,7 +396,7 @@ lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_ lean_object* l_List_takeWhile___rarg(lean_object*, lean_object*); lean_object* l_Lean_realPathNormalized(lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933_(lean_object*); lean_object* l_Lean_Server_FileWorker_updateDocument___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_Server_FileWorker_updatePendingRequests___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; @@ -450,8 +447,7 @@ lean_object* l_Lean_Server_FileWorker_withWaitFindSnap_match__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_leanpkgSetupSearchPath___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Server_FileWorker_initializeWorker_match__1(lean_object*); lean_object* l_Lean_Server_FileWorker_CancelToken_check___rarg___lambda__1(lean_object*, lean_object*, uint8_t); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind___closed__2; extern lean_object* l_IO_FS_Stream_readNotificationAs___closed__1; lean_object* l_Lean_Server_FileWorker_handleRequest___closed__1; @@ -504,7 +500,6 @@ lean_object* l_Lean_Lsp_msgToDiagnostic(lean_object*, lean_object*, lean_object* lean_object* l_IO_AsyncList_finishedPrefix___rarg(lean_object*); extern lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__12; lean_object* l_Std_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__1; -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__8; lean_object* l_Lean_Server_FileWorker_handleDefinition(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleHover___lambda__1___boxed(lean_object*, lean_object*); @@ -560,6 +555,7 @@ lean_object* l_Lean_Json_mkObj(lean_object*); lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f(lean_object*, lean_object*); extern lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__11; lean_object* l_Std_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__4; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleDefinition___spec__8(uint8_t, 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* l_IO_eprintln___at_Lean_Server_FileWorker_initAndRunWorker___spec__5(lean_object*, lean_object*); extern lean_object* l_IO_FS_Stream_readRequestAs___closed__2; @@ -571,6 +567,7 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_endPos(lean_object*); extern lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__8; lean_object* l_Lean_Server_FileWorker_compileHeader_match__3(lean_object*); +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_initializeWorker_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleDefinition_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(lean_object*, lean_object*, lean_object*); @@ -643,7 +640,7 @@ lean_object* l_Lean_Server_FileWorker_handleNotification_match__1___rarg(lean_ob lean_object* l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_FileWorker_handleDefinition___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_IO_instInhabitedError; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol___rarg(lean_object*, lean_object*); -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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_Server_FileWorker_compileHeader___lambda__3___closed__1; lean_object* l_Lean_Server_FileWorker_workerMain___closed__1; extern lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__13; @@ -663,6 +660,7 @@ extern lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__12; lean_object* l_Lean_Server_FileWorker_withWaitFindSnap___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_handleWaitForDiagnostics___lambda__2___closed__5; lean_object* l_Lean_Server_FileWorker_handleDocumentSymbol_sectionLikeToDocumentSymbols_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_getLast_x21___at_Lean_Server_FileWorker_updateDocument___spec__1(lean_object*); lean_object* l_Lean_Server_FileWorker_workerMain___boxed__const__1; lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1909,7 +1907,7 @@ lean_object* l_Lean_Json_toStructured_x3f___at___private_Lean_Server_FileWorker_ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_895_(x_1); +x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_933_(x_1); x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); lean_dec(x_2); @@ -4094,14 +4092,15 @@ x_19 = lean_box(0); x_20 = l_Lean_Lsp_instInhabitedRange___closed__1; x_21 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__2; lean_inc(x_11); -x_22 = lean_alloc_ctor(0, 7, 0); +x_22 = lean_alloc_ctor(0, 8, 0); lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 1, x_20); +lean_ctor_set(x_22, 2, x_21); lean_ctor_set(x_22, 3, x_19); -lean_ctor_set(x_22, 4, x_11); -lean_ctor_set(x_22, 5, x_19); +lean_ctor_set(x_22, 4, x_19); +lean_ctor_set(x_22, 5, x_11); lean_ctor_set(x_22, 6, x_19); +lean_ctor_set(x_22, 7, x_19); x_23 = l_Lean_mkOptionalNode___closed__2; x_24 = lean_array_push(x_23, x_22); x_25 = lean_alloc_ctor(0, 3, 0); @@ -4186,14 +4185,15 @@ x_44 = lean_box(0); x_45 = l_Lean_Lsp_instInhabitedRange___closed__1; x_46 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__2; lean_inc(x_36); -x_47 = lean_alloc_ctor(0, 7, 0); +x_47 = lean_alloc_ctor(0, 8, 0); lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set(x_47, 2, x_44); +lean_ctor_set(x_47, 1, x_45); +lean_ctor_set(x_47, 2, x_46); lean_ctor_set(x_47, 3, x_44); -lean_ctor_set(x_47, 4, x_36); -lean_ctor_set(x_47, 5, x_44); +lean_ctor_set(x_47, 4, x_44); +lean_ctor_set(x_47, 5, x_36); lean_ctor_set(x_47, 6, x_44); +lean_ctor_set(x_47, 7, x_44); x_48 = l_Lean_mkOptionalNode___closed__2; x_49 = lean_array_push(x_48, x_47); x_50 = lean_alloc_ctor(0, 3, 0); @@ -15808,6 +15808,50 @@ uint8_t x_3; x_3 = !lean_is_exclusive(x_1); if (x_3 == 0) { +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); +x_5 = lean_ctor_get(x_1, 1); +x_6 = l_Std_Format_defWidth; +x_7 = lean_format_pretty(x_4, x_6); +x_8 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_5); +lean_ctor_set(x_1, 1, x_8); +lean_ctor_set(x_1, 0, x_7); +return x_1; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_1); +x_11 = l_Std_Format_defWidth; +x_12 = lean_format_pretty(x_9, x_11); +x_13 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_10); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +} +lean_object* l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +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; lean_object* x_12; x_4 = lean_ctor_get(x_1, 0); x_5 = lean_ctor_get(x_1, 1); @@ -15818,7 +15862,7 @@ x_9 = lean_string_append(x_8, x_7); lean_dec(x_7); x_10 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__3; x_11 = lean_string_append(x_9, x_10); -x_12 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_5); +x_12 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_5); lean_ctor_set(x_1, 1, x_12); lean_ctor_set(x_1, 0, x_11); return x_1; @@ -15838,7 +15882,7 @@ x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); x_19 = l_Lean_Elab_Info_fmtHover_x3f___lambda__2___closed__3; x_20 = lean_string_append(x_18, x_19); -x_21 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_14); +x_21 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_14); x_22 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -15847,7 +15891,7 @@ return x_22; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(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) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_35; @@ -15855,7 +15899,6 @@ x_35 = x_7 < x_6; if (x_35 == 0) { lean_object* x_36; lean_object* x_37; -lean_dec(x_9); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -15873,10 +15916,9 @@ x_38 = lean_array_uget(x_5, x_7); x_39 = lean_ctor_get(x_8, 1); lean_inc(x_39); lean_dec(x_8); -lean_inc(x_9); lean_inc(x_2); lean_inc(x_1); -x_40 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(x_1, x_2, x_3, x_38, x_39, x_9, x_10); +x_40 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(x_1, x_2, x_3, x_38, x_39, x_9, x_10); lean_dec(x_38); if (lean_obj_tag(x_40) == 0) { @@ -16040,7 +16082,6 @@ goto block_34; else { uint8_t x_73; -lean_dec(x_9); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -16069,7 +16110,6 @@ block_34: if (lean_obj_tag(x_11) == 0) { uint8_t x_13; -lean_dec(x_9); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -16107,7 +16147,6 @@ x_19 = lean_ctor_get(x_11, 0); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; -lean_dec(x_9); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -16144,7 +16183,6 @@ lean_dec(x_11); if (lean_obj_tag(x_26) == 0) { lean_object* x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_9); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -16176,37 +16214,7 @@ goto _start; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___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; -x_4 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_4, 0, x_1); -x_5 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_5, 0, x_4); -x_6 = lean_box(0); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -x_8 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_8, 0, x_7); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, 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; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___lambda__1___boxed), 3, 0); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1() { _start: { lean_object* x_1; @@ -16214,629 +16222,629 @@ x_1 = lean_mk_string("\n---\n"); return x_1; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(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, lean_object* x_9) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(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, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_34; lean_object* x_35; uint8_t x_63; -x_63 = x_6 < x_5; -if (x_63 == 0) +lean_object* x_10; lean_object* x_11; lean_object* x_29; lean_object* x_30; uint8_t x_55; +x_55 = x_6 < x_5; +if (x_55 == 0) { -lean_object* x_64; lean_object* x_65; -lean_dec(x_8); +lean_object* x_56; lean_object* x_57; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_64 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_64, 0, x_7); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_9); -return x_65; +x_56 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_56, 0, 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_9); +return x_57; } else { -lean_object* x_66; lean_object* x_67; +lean_object* x_58; lean_object* x_59; lean_dec(x_7); -x_66 = lean_array_uget(x_4, x_6); +x_58 = lean_array_uget(x_4, x_6); lean_inc(x_1); -x_67 = l_Lean_Elab_InfoTree_goalsAt_x3f(x_66, x_1); -if (lean_obj_tag(x_67) == 0) +x_59 = l_Lean_Elab_InfoTree_goalsAt_x3f(x_58, x_1); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_68; lean_object* x_69; +lean_object* x_60; lean_object* x_61; lean_inc(x_2); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_2); -x_69 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_69, 0, x_68); -x_34 = x_69; -x_35 = x_9; -goto block_62; +x_60 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_60, 0, x_2); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_29 = x_61; +x_30 = x_9; +goto block_54; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_70 = lean_ctor_get(x_67, 0); -lean_inc(x_70); +uint8_t x_62; +x_62 = !lean_is_exclusive(x_59); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_63 = lean_ctor_get(x_59, 0); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_66 = !lean_is_exclusive(x_64); +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; +x_67 = lean_ctor_get(x_64, 2); lean_dec(x_67); -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 = !lean_is_exclusive(x_71); -if (x_73 == 0) +x_68 = lean_ctor_get(x_65, 3); +lean_inc(x_68); +lean_ctor_set(x_64, 2, x_68); +x_69 = lean_ctor_get(x_65, 4); +lean_inc(x_69); +lean_dec(x_65); +x_70 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); +lean_closure_set(x_70, 0, x_69); +x_71 = l_Lean_LocalContext_mkEmpty___closed__1; +x_72 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_64, x_71, x_70, x_9); +lean_dec(x_64); +if (lean_obj_tag(x_72) == 0) { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_74 = lean_ctor_get(x_71, 2); -lean_dec(x_74); -x_75 = lean_ctor_get(x_72, 3); -lean_inc(x_75); -lean_ctor_set(x_71, 2, x_75); -x_76 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__1; -x_77 = lean_ctor_get(x_72, 4); -lean_inc(x_77); +lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); lean_dec(x_72); -x_78 = l_List_isEmpty___rarg(x_77); -if (x_78 == 0) +x_75 = l_List_isEmpty___rarg(x_73); +lean_inc(x_73); +x_76 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_73); +x_77 = l_List_redLength___rarg(x_76); +x_78 = lean_mk_empty_array_with_capacity(x_77); +lean_dec(x_77); +x_79 = l_List_toArrayAux___rarg(x_76, x_78); +if (x_75 == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); -lean_closure_set(x_79, 0, x_77); -x_80 = l_Lean_LocalContext_mkEmpty___closed__1; -x_81 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_71, x_80, x_79, x_9); -lean_dec(x_71); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_82); -x_85 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__2; -x_86 = l_String_intercalate(x_85, x_84); -lean_inc(x_8); -x_87 = lean_apply_3(x_76, x_86, x_8, x_83); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; lean_object* x_89; -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_34 = x_88; -x_35 = x_89; -goto block_62; +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_80 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_73); +x_81 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; +x_82 = l_String_intercalate(x_81, x_80); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_79); +lean_ctor_set(x_59, 0, x_83); +x_84 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_84, 0, x_59); +x_85 = lean_box(0); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +x_87 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_87, 0, x_86); +x_88 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_88, 0, x_87); +x_29 = x_88; +x_30 = x_74; +goto block_54; } else { -uint8_t x_90; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_90 = !lean_is_exclusive(x_87); -if (x_90 == 0) -{ -return x_87; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_87, 0); -x_92 = lean_ctor_get(x_87, 1); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_87); -x_93 = lean_alloc_ctor(1, 2, 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_dec(x_73); +x_89 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_79); +lean_ctor_set(x_59, 0, x_90); +x_91 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_91, 0, x_59); +x_92 = lean_box(0); +x_93 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_93, 0, x_91); lean_ctor_set(x_93, 1, x_92); -return x_93; -} +x_94 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_94, 0, x_93); +x_95 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_95, 0, x_94); +x_29 = x_95; +x_30 = x_74; +goto block_54; } } else { -uint8_t x_94; -lean_dec(x_8); +uint8_t x_96; +lean_free_object(x_59); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_94 = !lean_is_exclusive(x_81); -if (x_94 == 0) +x_96 = !lean_is_exclusive(x_72); +if (x_96 == 0) { -return x_81; +return x_72; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_81, 0); -x_96 = lean_ctor_get(x_81, 1); -lean_inc(x_96); -lean_inc(x_95); -lean_dec(x_81); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -return x_97; -} -} -} -else -{ -lean_object* x_98; lean_object* x_99; -lean_dec(x_77); -lean_dec(x_71); -x_98 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; -lean_inc(x_8); -x_99 = lean_apply_3(x_76, x_98, x_8, x_9); -if (lean_obj_tag(x_99) == 0) -{ -lean_object* x_100; lean_object* x_101; -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_34 = x_100; -x_35 = x_101; -goto block_62; -} -else -{ -uint8_t x_102; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_102 = !lean_is_exclusive(x_99); -if (x_102 == 0) -{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_72, 0); +x_98 = lean_ctor_get(x_72, 1); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_72); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); return x_99; } +} +} else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_99, 0); -x_104 = lean_ctor_get(x_99, 1); +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; +x_100 = lean_ctor_get(x_64, 0); +x_101 = lean_ctor_get(x_64, 1); +x_102 = lean_ctor_get(x_64, 3); +x_103 = lean_ctor_get(x_64, 4); +x_104 = lean_ctor_get(x_64, 5); lean_inc(x_104); lean_inc(x_103); -lean_dec(x_99); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_103); -lean_ctor_set(x_105, 1, x_104); -return x_105; -} -} -} -} -else -{ -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; -x_106 = lean_ctor_get(x_71, 0); -x_107 = lean_ctor_get(x_71, 1); -x_108 = lean_ctor_get(x_71, 3); -x_109 = lean_ctor_get(x_71, 4); -x_110 = lean_ctor_get(x_71, 5); -lean_inc(x_110); -lean_inc(x_109); -lean_inc(x_108); +lean_inc(x_102); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_64); +x_105 = lean_ctor_get(x_65, 3); +lean_inc(x_105); +x_106 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_106, 0, x_100); +lean_ctor_set(x_106, 1, x_101); +lean_ctor_set(x_106, 2, x_105); +lean_ctor_set(x_106, 3, x_102); +lean_ctor_set(x_106, 4, x_103); +lean_ctor_set(x_106, 5, x_104); +x_107 = lean_ctor_get(x_65, 4); lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_71); -x_111 = lean_ctor_get(x_72, 3); +lean_dec(x_65); +x_108 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); +lean_closure_set(x_108, 0, x_107); +x_109 = l_Lean_LocalContext_mkEmpty___closed__1; +x_110 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_106, x_109, x_108, x_9); +lean_dec(x_106); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); -x_112 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_112, 0, x_106); -lean_ctor_set(x_112, 1, x_107); -lean_ctor_set(x_112, 2, x_111); -lean_ctor_set(x_112, 3, x_108); -lean_ctor_set(x_112, 4, x_109); -lean_ctor_set(x_112, 5, x_110); -x_113 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__1; -x_114 = lean_ctor_get(x_72, 4); -lean_inc(x_114); -lean_dec(x_72); -x_115 = l_List_isEmpty___rarg(x_114); -if (x_115 == 0) +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_113 = l_List_isEmpty___rarg(x_111); +lean_inc(x_111); +x_114 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_111); +x_115 = l_List_redLength___rarg(x_114); +x_116 = lean_mk_empty_array_with_capacity(x_115); +lean_dec(x_115); +x_117 = l_List_toArrayAux___rarg(x_114, x_116); +if (x_113 == 0) { -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); -lean_closure_set(x_116, 0, x_114); -x_117 = l_Lean_LocalContext_mkEmpty___closed__1; -x_118 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_112, x_117, x_116, x_9); -lean_dec(x_112); -if (lean_obj_tag(x_118) == 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; -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 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_119); -x_122 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__2; -x_123 = l_String_intercalate(x_122, x_121); -lean_inc(x_8); -x_124 = lean_apply_3(x_113, x_123, x_8, x_120); -if (lean_obj_tag(x_124) == 0) -{ -lean_object* x_125; lean_object* x_126; -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_34 = x_125; -x_35 = x_126; -goto block_62; +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 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_111); +x_119 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; +x_120 = l_String_intercalate(x_119, x_118); +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_117); +lean_ctor_set(x_59, 0, x_121); +x_122 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_122, 0, x_59); +x_123 = lean_box(0); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +x_125 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_125, 0, x_124); +x_126 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_126, 0, x_125); +x_29 = x_126; +x_30 = x_112; +goto block_54; } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -lean_dec(x_8); +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_dec(x_111); +x_127 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_117); +lean_ctor_set(x_59, 0, x_128); +x_129 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_129, 0, x_59); +x_130 = lean_box(0); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +x_132 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_132, 0, x_131); +x_133 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_133, 0, x_132); +x_29 = x_133; +x_30 = x_112; +goto block_54; +} +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +lean_free_object(x_59); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_127 = lean_ctor_get(x_124, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_124, 1); -lean_inc(x_128); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_129 = x_124; +x_134 = lean_ctor_get(x_110, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_110, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + lean_ctor_release(x_110, 1); + x_136 = x_110; } else { - lean_dec_ref(x_124); - x_129 = lean_box(0); + lean_dec_ref(x_110); + x_136 = lean_box(0); } -if (lean_is_scalar(x_129)) { - x_130 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_136)) { + x_137 = lean_alloc_ctor(1, 2, 0); } else { - x_130 = x_129; + x_137 = x_136; +} +lean_ctor_set(x_137, 0, x_134); +lean_ctor_set(x_137, 1, x_135); +return x_137; } -lean_ctor_set(x_130, 0, x_127); -lean_ctor_set(x_130, 1, x_128); -return x_130; } } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_131 = lean_ctor_get(x_118, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_118, 1); -lean_inc(x_132); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_133 = x_118; -} else { - lean_dec_ref(x_118); - x_133 = lean_box(0); -} -if (lean_is_scalar(x_133)) { - x_134 = lean_alloc_ctor(1, 2, 0); -} else { - x_134 = x_133; -} -lean_ctor_set(x_134, 0, x_131); -lean_ctor_set(x_134, 1, x_132); -return x_134; -} -} -else -{ -lean_object* x_135; lean_object* x_136; -lean_dec(x_114); -lean_dec(x_112); -x_135 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; -lean_inc(x_8); -x_136 = lean_apply_3(x_113, x_135, x_8, x_9); -if (lean_obj_tag(x_136) == 0) -{ -lean_object* x_137; lean_object* x_138; -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_136, 1); +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; +x_138 = lean_ctor_get(x_59, 0); lean_inc(x_138); -lean_dec(x_136); -x_34 = x_137; -x_35 = x_138; -goto block_62; +lean_dec(x_59); +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_141 = lean_ctor_get(x_139, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_139, 1); +lean_inc(x_142); +x_143 = lean_ctor_get(x_139, 3); +lean_inc(x_143); +x_144 = lean_ctor_get(x_139, 4); +lean_inc(x_144); +x_145 = lean_ctor_get(x_139, 5); +lean_inc(x_145); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + lean_ctor_release(x_139, 2); + lean_ctor_release(x_139, 3); + lean_ctor_release(x_139, 4); + lean_ctor_release(x_139, 5); + x_146 = x_139; +} else { + lean_dec_ref(x_139); + x_146 = lean_box(0); +} +x_147 = lean_ctor_get(x_140, 3); +lean_inc(x_147); +if (lean_is_scalar(x_146)) { + x_148 = lean_alloc_ctor(0, 6, 0); +} else { + x_148 = x_146; +} +lean_ctor_set(x_148, 0, x_141); +lean_ctor_set(x_148, 1, x_142); +lean_ctor_set(x_148, 2, x_147); +lean_ctor_set(x_148, 3, x_143); +lean_ctor_set(x_148, 4, x_144); +lean_ctor_set(x_148, 5, x_145); +x_149 = lean_ctor_get(x_140, 4); +lean_inc(x_149); +lean_dec(x_140); +x_150 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); +lean_closure_set(x_150, 0, x_149); +x_151 = l_Lean_LocalContext_mkEmpty___closed__1; +x_152 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_148, x_151, x_150, x_9); +lean_dec(x_148); +if (lean_obj_tag(x_152) == 0) +{ +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_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 = l_List_isEmpty___rarg(x_153); +lean_inc(x_153); +x_156 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_153); +x_157 = l_List_redLength___rarg(x_156); +x_158 = lean_mk_empty_array_with_capacity(x_157); +lean_dec(x_157); +x_159 = l_List_toArrayAux___rarg(x_156, x_158); +if (x_155 == 0) +{ +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; +x_160 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_153); +x_161 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; +x_162 = l_String_intercalate(x_161, x_160); +x_163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_159); +x_164 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_164, 0, x_163); +x_165 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_165, 0, x_164); +x_166 = lean_box(0); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_165); +lean_ctor_set(x_167, 1, x_166); +x_168 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_168, 0, x_167); +x_169 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_169, 0, x_168); +x_29 = x_169; +x_30 = x_154; +goto block_54; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -lean_dec(x_8); +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_dec(x_153); +x_170 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; +x_171 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_159); +x_172 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_172, 0, x_171); +x_173 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_173, 0, x_172); +x_174 = lean_box(0); +x_175 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +x_176 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_176, 0, x_175); +x_177 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_177, 0, x_176); +x_29 = x_177; +x_30 = x_154; +goto block_54; +} +} +else +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_139 = lean_ctor_get(x_136, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_136, 1); -lean_inc(x_140); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_141 = x_136; +x_178 = lean_ctor_get(x_152, 0); +lean_inc(x_178); +x_179 = lean_ctor_get(x_152, 1); +lean_inc(x_179); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_180 = x_152; } else { - lean_dec_ref(x_136); - x_141 = lean_box(0); + lean_dec_ref(x_152); + x_180 = lean_box(0); } -if (lean_is_scalar(x_141)) { - x_142 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_180)) { + x_181 = lean_alloc_ctor(1, 2, 0); } else { - x_142 = x_141; + x_181 = x_180; } -lean_ctor_set(x_142, 0, x_139); -lean_ctor_set(x_142, 1, x_140); -return x_142; +lean_ctor_set(x_181, 0, x_178); +lean_ctor_set(x_181, 1, x_179); +return x_181; } } } } -} -block_33: -{ -if (lean_obj_tag(x_10) == 0) +block_28: { uint8_t x_12; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); x_12 = !lean_is_exclusive(x_10); if (x_12 == 0) { lean_object* x_13; -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_10); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else +x_13 = lean_ctor_get(x_10, 0); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_10, 0); +lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_alloc_ctor(0, 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_11); -return x_16; -} +lean_dec(x_13); +lean_ctor_set(x_10, 0, x_14); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_10); +lean_ctor_set(x_15, 1, x_11); +return x_15; } else { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_10); -if (x_17 == 0) -{ -lean_object* x_18; -x_18 = lean_ctor_get(x_10, 0); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -lean_dec(x_18); -lean_ctor_set(x_10, 0, x_19); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_10); -lean_ctor_set(x_20, 1, x_11); -return x_20; -} -else -{ -lean_object* x_21; size_t x_22; size_t x_23; +lean_object* x_16; size_t x_17; size_t x_18; lean_free_object(x_10); -x_21 = lean_ctor_get(x_18, 0); -lean_inc(x_21); -lean_dec(x_18); -x_22 = 1; -x_23 = x_6 + x_22; -x_6 = x_23; -x_7 = x_21; +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +lean_dec(x_13); +x_17 = 1; +x_18 = x_6 + x_17; +x_6 = x_18; +x_7 = x_16; x_9 = x_11; goto _start; } } else { -lean_object* x_25; -x_25 = lean_ctor_get(x_10, 0); -lean_inc(x_25); +lean_object* x_20; +x_20 = lean_ctor_get(x_10, 0); +lean_inc(x_20); lean_dec(x_10); -if (lean_obj_tag(x_25) == 0) +if (lean_obj_tag(x_20) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_8); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, 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_11); -return x_28; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_11); +return x_23; } else { -lean_object* x_29; size_t x_30; size_t x_31; -x_29 = lean_ctor_get(x_25, 0); -lean_inc(x_29); -lean_dec(x_25); -x_30 = 1; -x_31 = x_6 + x_30; -x_6 = x_31; -x_7 = x_29; +lean_object* x_24; size_t x_25; size_t x_26; +x_24 = lean_ctor_get(x_20, 0); +lean_inc(x_24); +lean_dec(x_20); +x_25 = 1; +x_26 = x_6 + x_25; +x_6 = x_26; +x_7 = x_24; x_9 = x_11; goto _start; } } } -} -block_62: +block_54: { -if (lean_obj_tag(x_34) == 0) +uint8_t x_31; +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) { -uint8_t x_36; -x_36 = !lean_is_exclusive(x_34); -if (x_36 == 0) +lean_object* x_32; +x_32 = lean_ctor_get(x_29, 0); +if (lean_obj_tag(x_32) == 0) { -x_10 = x_34; -x_11 = x_35; -goto block_33; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_32); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_29, 0, x_36); +x_10 = x_29; +x_11 = x_30; +goto block_28; } else { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_34, 0); -lean_inc(x_37); -lean_dec(x_34); -x_38 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_38, 0, x_37); -x_10 = x_38; -x_11 = x_35; -goto block_33; -} +uint8_t x_37; +x_37 = !lean_is_exclusive(x_32); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_32, 0); +lean_inc(x_3); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_3); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_32, 0, x_39); +x_10 = x_29; +x_11 = x_30; +goto block_28; } else { -uint8_t x_39; -x_39 = !lean_is_exclusive(x_34); -if (x_39 == 0) -{ -lean_object* x_40; -x_40 = lean_ctor_get(x_34, 0); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_32, 0); +lean_inc(x_40); +lean_dec(x_32); +lean_inc(x_3); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_3); +lean_ctor_set(x_41, 1, x_40); x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_40); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -x_44 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_34, 0, x_44); -x_10 = x_34; -x_11 = x_35; -goto block_33; +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_29, 0, x_42); +x_10 = x_29; +x_11 = x_30; +goto block_28; +} +} } else { -uint8_t x_45; -x_45 = !lean_is_exclusive(x_40); -if (x_45 == 0) +lean_object* x_43; +x_43 = lean_ctor_get(x_29, 0); +lean_inc(x_43); +lean_dec(x_29); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_40, 0); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_43); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_10 = x_48; +x_11 = x_30; +goto block_28; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_43, 0); +lean_inc(x_49); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + x_50 = x_43; +} else { + lean_dec_ref(x_43); + x_50 = lean_box(0); +} lean_inc(x_3); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_3); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set(x_40, 0, x_47); -x_10 = x_34; -x_11 = x_35; -goto block_33; +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_3); +lean_ctor_set(x_51, 1, x_49); +if (lean_is_scalar(x_50)) { + x_52 = lean_alloc_ctor(1, 1, 0); +} else { + x_52 = x_50; } -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_40, 0); -lean_inc(x_48); -lean_dec(x_40); -lean_inc(x_3); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_3); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_34, 0, x_50); -x_10 = x_34; -x_11 = x_35; -goto block_33; -} -} -} -else -{ -lean_object* x_51; -x_51 = lean_ctor_get(x_34, 0); -lean_inc(x_51); -lean_dec(x_34); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); +lean_ctor_set(x_52, 0, x_51); x_53 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_53, 0, x_51); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_55, 0, x_54); -x_56 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_56, 0, x_55); -x_10 = x_56; -x_11 = x_35; -goto block_33; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_57 = lean_ctor_get(x_51, 0); -lean_inc(x_57); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - x_58 = x_51; -} else { - lean_dec_ref(x_51); - x_58 = lean_box(0); -} -lean_inc(x_3); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_3); -lean_ctor_set(x_59, 1, x_57); -if (lean_is_scalar(x_58)) { - x_60 = lean_alloc_ctor(1, 1, 0); -} else { - x_60 = x_58; -} -lean_ctor_set(x_60, 0, x_59); -x_61 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_61, 0, x_60); -x_10 = x_61; -x_11 = x_35; -goto block_33; +lean_ctor_set(x_53, 0, x_52); +x_10 = x_53; +x_11 = x_30; +goto block_28; } } } } } -} -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___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* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___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: { if (lean_obj_tag(x_4) == 0) @@ -16851,8 +16859,7 @@ x_11 = lean_array_get_size(x_8); x_12 = lean_usize_of_nat(x_11); lean_dec(x_11); x_13 = 0; -lean_inc(x_6); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(x_1, x_2, x_3, x_9, x_8, x_12, x_13, x_10, x_6, x_7); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(x_1, x_2, x_3, x_9, x_8, x_12, x_13, x_10, x_6, x_7); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; @@ -16861,7 +16868,6 @@ lean_inc(x_15); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; -lean_dec(x_6); x_16 = !lean_is_exclusive(x_14); if (x_16 == 0) { @@ -16934,14 +16940,12 @@ lean_inc(x_30); lean_dec(x_27); x_31 = lean_box(0); x_32 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__3___lambda__1(x_30, x_31, x_6, x_29); -lean_dec(x_6); return x_32; } else { uint8_t x_33; lean_dec(x_27); -lean_dec(x_6); x_33 = !lean_is_exclusive(x_14); if (x_33 == 0) { @@ -16990,14 +16994,12 @@ lean_inc(x_42); lean_dec(x_39); x_43 = lean_box(0); x_44 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__3___lambda__1(x_42, x_43, x_6, x_41); -lean_dec(x_6); 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_dec(x_39); -lean_dec(x_6); x_45 = lean_ctor_get(x_14, 1); lean_inc(x_45); if (lean_is_exclusive(x_14)) { @@ -17028,7 +17030,6 @@ return x_49; else { uint8_t x_50; -lean_dec(x_6); x_50 = !lean_is_exclusive(x_14); if (x_50 == 0) { @@ -17061,8 +17062,7 @@ x_57 = lean_array_get_size(x_54); x_58 = lean_usize_of_nat(x_57); lean_dec(x_57); x_59 = 0; -lean_inc(x_6); -x_60 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(x_1, x_2, x_55, x_54, x_58, x_59, x_56, x_6, x_7); +x_60 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(x_1, x_2, x_55, x_54, x_58, x_59, x_56, x_6, x_7); if (lean_obj_tag(x_60) == 0) { lean_object* x_61; @@ -17071,7 +17071,6 @@ lean_inc(x_61); if (lean_obj_tag(x_61) == 0) { uint8_t x_62; -lean_dec(x_6); x_62 = !lean_is_exclusive(x_60); if (x_62 == 0) { @@ -17144,14 +17143,12 @@ lean_inc(x_76); lean_dec(x_73); x_77 = lean_box(0); x_78 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__3___lambda__1(x_76, x_77, x_6, x_75); -lean_dec(x_6); return x_78; } else { uint8_t x_79; lean_dec(x_73); -lean_dec(x_6); x_79 = !lean_is_exclusive(x_60); if (x_79 == 0) { @@ -17200,14 +17197,12 @@ lean_inc(x_88); lean_dec(x_85); x_89 = lean_box(0); x_90 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handleHover___spec__3___lambda__1(x_88, x_89, x_6, x_87); -lean_dec(x_6); return x_90; } else { lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_dec(x_85); -lean_dec(x_6); x_91 = lean_ctor_get(x_60, 1); lean_inc(x_91); if (lean_is_exclusive(x_60)) { @@ -17238,7 +17233,6 @@ return x_95; else { uint8_t x_96; -lean_dec(x_6); x_96 = !lean_is_exclusive(x_60); if (x_96 == 0) { @@ -17261,672 +17255,671 @@ return x_99; } } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(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, lean_object* x_9) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8(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, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_34; lean_object* x_35; uint8_t x_68; -x_68 = x_6 < x_5; -if (x_68 == 0) +lean_object* x_10; lean_object* x_11; lean_object* x_29; lean_object* x_30; uint8_t x_60; +x_60 = x_6 < x_5; +if (x_60 == 0) { -lean_object* x_69; lean_object* x_70; -lean_dec(x_8); +lean_object* x_61; lean_object* x_62; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_69 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_69, 0, x_7); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_9); -return x_70; +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_7); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_9); +return x_62; } else { -lean_object* x_71; lean_object* x_72; +lean_object* x_63; lean_object* x_64; lean_dec(x_7); -x_71 = lean_array_uget(x_4, x_6); +x_63 = lean_array_uget(x_4, x_6); lean_inc(x_1); -x_72 = l_Lean_Elab_InfoTree_goalsAt_x3f(x_71, x_1); -if (lean_obj_tag(x_72) == 0) +x_64 = l_Lean_Elab_InfoTree_goalsAt_x3f(x_63, x_1); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_73; lean_object* x_74; +lean_object* x_65; lean_object* x_66; lean_inc(x_2); -x_73 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_73, 0, x_2); -x_74 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_74, 0, x_73); -x_34 = x_74; -x_35 = x_9; -goto block_67; +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_2); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_29 = x_66; +x_30 = x_9; +goto block_59; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_75 = lean_ctor_get(x_72, 0); -lean_inc(x_75); +uint8_t x_67; +x_67 = !lean_is_exclusive(x_64); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_68 = lean_ctor_get(x_64, 0); +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_is_exclusive(x_69); +if (x_71 == 0) +{ +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_72 = lean_ctor_get(x_69, 2); lean_dec(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_is_exclusive(x_76); -if (x_78 == 0) +x_73 = lean_ctor_get(x_70, 3); +lean_inc(x_73); +lean_ctor_set(x_69, 2, x_73); +x_74 = lean_ctor_get(x_70, 4); +lean_inc(x_74); +lean_dec(x_70); +x_75 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); +lean_closure_set(x_75, 0, x_74); +x_76 = l_Lean_LocalContext_mkEmpty___closed__1; +x_77 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_69, x_76, x_75, x_9); +lean_dec(x_69); +if (lean_obj_tag(x_77) == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; -x_79 = lean_ctor_get(x_76, 2); -lean_dec(x_79); -x_80 = lean_ctor_get(x_77, 3); -lean_inc(x_80); -lean_ctor_set(x_76, 2, x_80); -x_81 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__1; -x_82 = lean_ctor_get(x_77, 4); -lean_inc(x_82); +lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +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_83 = l_List_isEmpty___rarg(x_82); -if (x_83 == 0) +x_80 = l_List_isEmpty___rarg(x_78); +lean_inc(x_78); +x_81 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_78); +x_82 = l_List_redLength___rarg(x_81); +x_83 = lean_mk_empty_array_with_capacity(x_82); +lean_dec(x_82); +x_84 = l_List_toArrayAux___rarg(x_81, x_83); +if (x_80 == 0) { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); -lean_closure_set(x_84, 0, x_82); -x_85 = l_Lean_LocalContext_mkEmpty___closed__1; -x_86 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_76, x_85, x_84, x_9); -lean_dec(x_76); -if (lean_obj_tag(x_86) == 0) -{ -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_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_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_87); -x_90 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__2; -x_91 = l_String_intercalate(x_90, x_89); -lean_inc(x_8); -x_92 = lean_apply_3(x_81, x_91, x_8, x_88); -if (lean_obj_tag(x_92) == 0) -{ -lean_object* x_93; lean_object* x_94; -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); -x_34 = x_93; -x_35 = x_94; -goto block_67; +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_85 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_78); +x_86 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; +x_87 = l_String_intercalate(x_86, x_85); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_84); +lean_ctor_set(x_64, 0, x_88); +x_89 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_89, 0, x_64); +x_90 = lean_box(0); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +x_92 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_92, 0, x_91); +x_93 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_93, 0, x_92); +x_29 = x_93; +x_30 = x_79; +goto block_59; } else { -uint8_t x_95; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_95 = !lean_is_exclusive(x_92); -if (x_95 == 0) -{ -return x_92; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_92, 0); -x_97 = lean_ctor_get(x_92, 1); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_92); -x_98 = lean_alloc_ctor(1, 2, 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_dec(x_78); +x_94 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_84); +lean_ctor_set(x_64, 0, x_95); +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_64); +x_97 = lean_box(0); +x_98 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_98, 0, x_96); lean_ctor_set(x_98, 1, x_97); -return x_98; -} +x_99 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_99, 0, x_98); +x_100 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_100, 0, x_99); +x_29 = x_100; +x_30 = x_79; +goto block_59; } } else { -uint8_t x_99; -lean_dec(x_8); +uint8_t x_101; +lean_free_object(x_64); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_99 = !lean_is_exclusive(x_86); -if (x_99 == 0) +x_101 = !lean_is_exclusive(x_77); +if (x_101 == 0) { -return x_86; +return x_77; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_86, 0); -x_101 = lean_ctor_get(x_86, 1); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_86); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -return x_102; -} -} -} -else -{ -lean_object* x_103; lean_object* x_104; -lean_dec(x_82); -lean_dec(x_76); -x_103 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; -lean_inc(x_8); -x_104 = lean_apply_3(x_81, x_103, x_8, x_9); -if (lean_obj_tag(x_104) == 0) -{ -lean_object* x_105; lean_object* x_106; -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_34 = x_105; -x_35 = x_106; -goto block_67; -} -else -{ -uint8_t x_107; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_107 = !lean_is_exclusive(x_104); -if (x_107 == 0) -{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_77, 0); +x_103 = lean_ctor_get(x_77, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_77); +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; } +} +} else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_104, 0); -x_109 = lean_ctor_get(x_104, 1); +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_105 = lean_ctor_get(x_69, 0); +x_106 = lean_ctor_get(x_69, 1); +x_107 = lean_ctor_get(x_69, 3); +x_108 = lean_ctor_get(x_69, 4); +x_109 = lean_ctor_get(x_69, 5); lean_inc(x_109); lean_inc(x_108); -lean_dec(x_104); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -return x_110; -} -} -} -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_111 = lean_ctor_get(x_76, 0); -x_112 = lean_ctor_get(x_76, 1); -x_113 = lean_ctor_get(x_76, 3); -x_114 = lean_ctor_get(x_76, 4); -x_115 = lean_ctor_get(x_76, 5); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); +lean_inc(x_107); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_69); +x_110 = lean_ctor_get(x_70, 3); +lean_inc(x_110); +x_111 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_111, 0, x_105); +lean_ctor_set(x_111, 1, x_106); +lean_ctor_set(x_111, 2, x_110); +lean_ctor_set(x_111, 3, x_107); +lean_ctor_set(x_111, 4, x_108); +lean_ctor_set(x_111, 5, x_109); +x_112 = lean_ctor_get(x_70, 4); lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_76); -x_116 = lean_ctor_get(x_77, 3); +lean_dec(x_70); +x_113 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); +lean_closure_set(x_113, 0, x_112); +x_114 = l_Lean_LocalContext_mkEmpty___closed__1; +x_115 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_111, x_114, x_113, x_9); +lean_dec(x_111); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_116 = lean_ctor_get(x_115, 0); lean_inc(x_116); -x_117 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_117, 0, x_111); -lean_ctor_set(x_117, 1, x_112); -lean_ctor_set(x_117, 2, x_116); -lean_ctor_set(x_117, 3, x_113); -lean_ctor_set(x_117, 4, x_114); -lean_ctor_set(x_117, 5, x_115); -x_118 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__1; -x_119 = lean_ctor_get(x_77, 4); -lean_inc(x_119); -lean_dec(x_77); -x_120 = l_List_isEmpty___rarg(x_119); -if (x_120 == 0) +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +x_118 = l_List_isEmpty___rarg(x_116); +lean_inc(x_116); +x_119 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_116); +x_120 = l_List_redLength___rarg(x_119); +x_121 = lean_mk_empty_array_with_capacity(x_120); +lean_dec(x_120); +x_122 = l_List_toArrayAux___rarg(x_119, x_121); +if (x_118 == 0) { -lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_121 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); -lean_closure_set(x_121, 0, x_119); -x_122 = l_Lean_LocalContext_mkEmpty___closed__1; -x_123 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_117, x_122, x_121, x_9); -lean_dec(x_117); -if (lean_obj_tag(x_123) == 0) -{ -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_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_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_124); -x_127 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__2; -x_128 = l_String_intercalate(x_127, x_126); -lean_inc(x_8); -x_129 = lean_apply_3(x_118, x_128, x_8, x_125); -if (lean_obj_tag(x_129) == 0) -{ -lean_object* x_130; lean_object* x_131; -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_34 = x_130; -x_35 = x_131; -goto block_67; +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; +x_123 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_116); +x_124 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; +x_125 = l_String_intercalate(x_124, x_123); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_122); +lean_ctor_set(x_64, 0, x_126); +x_127 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_127, 0, x_64); +x_128 = lean_box(0); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); +x_130 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_130, 0, x_129); +x_131 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_131, 0, x_130); +x_29 = x_131; +x_30 = x_117; +goto block_59; } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_8); +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_dec(x_116); +x_132 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_122); +lean_ctor_set(x_64, 0, x_133); +x_134 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_134, 0, x_64); +x_135 = lean_box(0); +x_136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +x_137 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_137, 0, x_136); +x_138 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_138, 0, x_137); +x_29 = x_138; +x_30 = x_117; +goto block_59; +} +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_free_object(x_64); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_132 = lean_ctor_get(x_129, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_129, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_129)) { - lean_ctor_release(x_129, 0); - lean_ctor_release(x_129, 1); - x_134 = x_129; +x_139 = lean_ctor_get(x_115, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_115, 1); +lean_inc(x_140); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_141 = x_115; } else { - lean_dec_ref(x_129); - x_134 = lean_box(0); + lean_dec_ref(x_115); + x_141 = lean_box(0); } -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_141)) { + x_142 = lean_alloc_ctor(1, 2, 0); } else { - x_135 = x_134; + x_142 = x_141; +} +lean_ctor_set(x_142, 0, x_139); +lean_ctor_set(x_142, 1, x_140); +return x_142; } -lean_ctor_set(x_135, 0, x_132); -lean_ctor_set(x_135, 1, x_133); -return x_135; } } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_136 = lean_ctor_get(x_123, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_123, 1); -lean_inc(x_137); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - x_138 = x_123; -} else { - lean_dec_ref(x_123); - x_138 = lean_box(0); -} -if (lean_is_scalar(x_138)) { - x_139 = lean_alloc_ctor(1, 2, 0); -} else { - x_139 = x_138; -} -lean_ctor_set(x_139, 0, x_136); -lean_ctor_set(x_139, 1, x_137); -return x_139; -} -} -else -{ -lean_object* x_140; lean_object* x_141; -lean_dec(x_119); -lean_dec(x_117); -x_140 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; -lean_inc(x_8); -x_141 = lean_apply_3(x_118, x_140, x_8, x_9); -if (lean_obj_tag(x_141) == 0) -{ -lean_object* x_142; lean_object* x_143; -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); +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; +x_143 = lean_ctor_get(x_64, 0); lean_inc(x_143); -lean_dec(x_141); -x_34 = x_142; -x_35 = x_143; -goto block_67; +lean_dec(x_64); +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_ctor_get(x_144, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_144, 1); +lean_inc(x_147); +x_148 = lean_ctor_get(x_144, 3); +lean_inc(x_148); +x_149 = lean_ctor_get(x_144, 4); +lean_inc(x_149); +x_150 = lean_ctor_get(x_144, 5); +lean_inc(x_150); +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); + x_151 = x_144; +} else { + lean_dec_ref(x_144); + x_151 = lean_box(0); +} +x_152 = lean_ctor_get(x_145, 3); +lean_inc(x_152); +if (lean_is_scalar(x_151)) { + x_153 = lean_alloc_ctor(0, 6, 0); +} else { + x_153 = x_151; +} +lean_ctor_set(x_153, 0, x_146); +lean_ctor_set(x_153, 1, x_147); +lean_ctor_set(x_153, 2, x_152); +lean_ctor_set(x_153, 3, x_148); +lean_ctor_set(x_153, 4, x_149); +lean_ctor_set(x_153, 5, x_150); +x_154 = lean_ctor_get(x_145, 4); +lean_inc(x_154); +lean_dec(x_145); +x_155 = lean_alloc_closure((void*)(l_List_mapM___at_Lean_Server_FileWorker_handlePlainGoal___spec__1), 6, 1); +lean_closure_set(x_155, 0, x_154); +x_156 = l_Lean_LocalContext_mkEmpty___closed__1; +x_157 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_153, x_156, x_155, x_9); +lean_dec(x_153); +if (lean_obj_tag(x_157) == 0) +{ +lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_157, 1); +lean_inc(x_159); +lean_dec(x_157); +x_160 = l_List_isEmpty___rarg(x_158); +lean_inc(x_158); +x_161 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__2(x_158); +x_162 = l_List_redLength___rarg(x_161); +x_163 = lean_mk_empty_array_with_capacity(x_162); +lean_dec(x_162); +x_164 = l_List_toArrayAux___rarg(x_161, x_163); +if (x_160 == 0) +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_165 = l_List_map___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_158); +x_166 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1; +x_167 = l_String_intercalate(x_166, x_165); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_164); +x_169 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_169, 0, x_168); +x_170 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_170, 0, x_169); +x_171 = lean_box(0); +x_172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +x_173 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_173, 0, x_172); +x_174 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_174, 0, x_173); +x_29 = x_174; +x_30 = x_159; +goto block_59; } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -lean_dec(x_8); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +lean_dec(x_158); +x_175 = l_Lean_Elab_ContextInfo_ppGoals___closed__2; +x_176 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_164); +x_177 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_177, 0, x_176); +x_178 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_178, 0, x_177); +x_179 = lean_box(0); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_178); +lean_ctor_set(x_180, 1, x_179); +x_181 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_181, 0, x_180); +x_182 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_182, 0, x_181); +x_29 = x_182; +x_30 = x_159; +goto block_59; +} +} +else +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_144 = lean_ctor_get(x_141, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_141, 1); -lean_inc(x_145); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_146 = x_141; +x_183 = lean_ctor_get(x_157, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_157, 1); +lean_inc(x_184); +if (lean_is_exclusive(x_157)) { + lean_ctor_release(x_157, 0); + lean_ctor_release(x_157, 1); + x_185 = x_157; } else { - lean_dec_ref(x_141); - x_146 = lean_box(0); + lean_dec_ref(x_157); + x_185 = lean_box(0); } -if (lean_is_scalar(x_146)) { - x_147 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_185)) { + x_186 = lean_alloc_ctor(1, 2, 0); } else { - x_147 = x_146; + x_186 = x_185; } -lean_ctor_set(x_147, 0, x_144); -lean_ctor_set(x_147, 1, x_145); -return x_147; +lean_ctor_set(x_186, 0, x_183); +lean_ctor_set(x_186, 1, x_184); +return x_186; } } } } -} -block_33: -{ -if (lean_obj_tag(x_10) == 0) +block_28: { uint8_t x_12; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); x_12 = !lean_is_exclusive(x_10); if (x_12 == 0) { lean_object* x_13; -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_10); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -else +x_13 = lean_ctor_get(x_10, 0); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_10, 0); +lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_alloc_ctor(0, 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_11); -return x_16; -} +lean_dec(x_13); +lean_ctor_set(x_10, 0, x_14); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_10); +lean_ctor_set(x_15, 1, x_11); +return x_15; } else { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_10); -if (x_17 == 0) -{ -lean_object* x_18; -x_18 = lean_ctor_get(x_10, 0); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -lean_dec(x_18); -lean_ctor_set(x_10, 0, x_19); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_10); -lean_ctor_set(x_20, 1, x_11); -return x_20; -} -else -{ -lean_object* x_21; size_t x_22; size_t x_23; +lean_object* x_16; size_t x_17; size_t x_18; lean_free_object(x_10); -x_21 = lean_ctor_get(x_18, 0); -lean_inc(x_21); -lean_dec(x_18); -x_22 = 1; -x_23 = x_6 + x_22; -x_6 = x_23; -x_7 = x_21; +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +lean_dec(x_13); +x_17 = 1; +x_18 = x_6 + x_17; +x_6 = x_18; +x_7 = x_16; x_9 = x_11; goto _start; } } else { -lean_object* x_25; -x_25 = lean_ctor_get(x_10, 0); -lean_inc(x_25); +lean_object* x_20; +x_20 = lean_ctor_get(x_10, 0); +lean_inc(x_20); lean_dec(x_10); -if (lean_obj_tag(x_25) == 0) +if (lean_obj_tag(x_20) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_8); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, 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_11); -return x_28; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_11); +return x_23; } else { -lean_object* x_29; size_t x_30; size_t x_31; -x_29 = lean_ctor_get(x_25, 0); -lean_inc(x_29); -lean_dec(x_25); -x_30 = 1; -x_31 = x_6 + x_30; -x_6 = x_31; -x_7 = x_29; +lean_object* x_24; size_t x_25; size_t x_26; +x_24 = lean_ctor_get(x_20, 0); +lean_inc(x_24); +lean_dec(x_20); +x_25 = 1; +x_26 = x_6 + x_25; +x_6 = x_26; +x_7 = x_24; x_9 = x_11; goto _start; } } } -} -block_67: +block_59: { -if (lean_obj_tag(x_34) == 0) +uint8_t x_31; +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) { -uint8_t x_36; -x_36 = !lean_is_exclusive(x_34); -if (x_36 == 0) +lean_object* x_32; +x_32 = lean_ctor_get(x_29, 0); +if (lean_obj_tag(x_32) == 0) { -x_10 = x_34; -x_11 = x_35; -goto block_33; +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_32, 0); +lean_inc(x_34); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, 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_34); +lean_ctor_set(x_32, 0, x_36); +x_10 = x_29; +x_11 = x_30; +goto block_28; } else { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_34, 0); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = lean_ctor_get(x_32, 0); lean_inc(x_37); -lean_dec(x_34); -x_38 = lean_alloc_ctor(0, 1, 0); +lean_dec(x_32); +lean_inc(x_37); +x_38 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_38, 0, x_37); -x_10 = x_38; -x_11 = x_35; -goto block_33; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_29, 0, x_40); +x_10 = x_29; +x_11 = x_30; +goto block_28; } } else { -uint8_t x_39; -x_39 = !lean_is_exclusive(x_34); -if (x_39 == 0) -{ -lean_object* x_40; -x_40 = lean_ctor_get(x_34, 0); -if (lean_obj_tag(x_40) == 0) -{ uint8_t x_41; -x_41 = !lean_is_exclusive(x_40); +x_41 = !lean_is_exclusive(x_32); if (x_41 == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_40, 0); -lean_inc(x_42); -x_43 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_43, 0, 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_42); -lean_ctor_set(x_40, 0, x_44); -x_10 = x_34; -x_11 = x_35; -goto block_33; +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_32, 0); +lean_inc(x_3); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_3); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_32, 0, x_43); +x_10 = x_29; +x_11 = x_30; +goto block_28; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_40, 0); -lean_inc(x_45); -lean_dec(x_40); -lean_inc(x_45); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_32, 0); +lean_inc(x_44); +lean_dec(x_32); +lean_inc(x_3); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_3); +lean_ctor_set(x_45, 1, x_44); x_46 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_46, 0, 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); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_34, 0, x_48); -x_10 = x_34; -x_11 = x_35; -goto block_33; +lean_ctor_set(x_29, 0, x_46); +x_10 = x_29; +x_11 = x_30; +goto block_28; +} } } else { -uint8_t x_49; -x_49 = !lean_is_exclusive(x_40); -if (x_49 == 0) +lean_object* x_47; +x_47 = lean_ctor_get(x_29, 0); +lean_inc(x_47); +lean_dec(x_29); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_40, 0); -lean_inc(x_3); +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_47, 0); +lean_inc(x_48); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + x_49 = x_47; +} else { + lean_dec_ref(x_47); + x_49 = lean_box(0); +} +lean_inc(x_48); +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_48); x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_3); -lean_ctor_set(x_51, 1, x_50); -lean_ctor_set(x_40, 0, x_51); -x_10 = x_34; -x_11 = x_35; -goto block_33; +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +if (lean_is_scalar(x_49)) { + x_52 = lean_alloc_ctor(0, 1, 0); +} else { + x_52 = x_49; +} +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_52); +x_10 = x_53; +x_11 = x_30; +goto block_28; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_40, 0); -lean_inc(x_52); -lean_dec(x_40); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_54 = lean_ctor_get(x_47, 0); +lean_inc(x_54); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + x_55 = x_47; +} else { + lean_dec_ref(x_47); + x_55 = lean_box(0); +} lean_inc(x_3); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_3); -lean_ctor_set(x_53, 1, x_52); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_34, 0, x_54); -x_10 = x_34; -x_11 = x_35; -goto block_33; -} -} -} -else -{ -lean_object* x_55; -x_55 = lean_ctor_get(x_34, 0); -lean_inc(x_55); -lean_dec(x_34); -if (lean_obj_tag(x_55) == 0) -{ -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_55, 0); -lean_inc(x_56); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_3); +lean_ctor_set(x_56, 1, x_54); +if (lean_is_scalar(x_55)) { + x_57 = lean_alloc_ctor(1, 1, 0); +} else { x_57 = x_55; -} else { - lean_dec_ref(x_55); - x_57 = lean_box(0); } -lean_inc(x_56); +lean_ctor_set(x_57, 0, x_56); x_58 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_58, 0, x_56); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_56); -if (lean_is_scalar(x_57)) { - x_60 = lean_alloc_ctor(0, 1, 0); -} else { - x_60 = x_57; -} -lean_ctor_set(x_60, 0, x_59); -x_61 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_61, 0, x_60); -x_10 = x_61; -x_11 = x_35; -goto block_33; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_62 = lean_ctor_get(x_55, 0); -lean_inc(x_62); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - x_63 = x_55; -} else { - lean_dec_ref(x_55); - x_63 = lean_box(0); -} -lean_inc(x_3); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_3); -lean_ctor_set(x_64, 1, x_62); -if (lean_is_scalar(x_63)) { - x_65 = lean_alloc_ctor(1, 1, 0); -} else { - x_65 = x_63; -} -lean_ctor_set(x_65, 0, x_64); -x_66 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_66, 0, x_65); -x_10 = x_66; -x_11 = x_35; -goto block_33; +lean_ctor_set(x_58, 0, x_57); +x_10 = x_58; +x_11 = x_30; +goto block_28; } } } } } -} -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___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* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___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; x_7 = lean_ctor_get(x_3, 0); -lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_8 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(x_1, x_2, x_4, x_7, x_4, x_5, x_6); +x_8 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(x_1, x_2, x_4, x_7, x_4, x_5, x_6); lean_dec(x_4); if (lean_obj_tag(x_8) == 0) { @@ -17936,7 +17929,6 @@ lean_inc(x_9); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; -lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); x_10 = !lean_is_exclusive(x_8); @@ -18000,7 +17992,6 @@ x_21 = lean_ctor_get(x_9, 0); if (lean_obj_tag(x_21) == 0) { uint8_t x_22; -lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); x_22 = !lean_is_exclusive(x_8); @@ -18050,8 +18041,7 @@ x_33 = lean_array_get_size(x_30); x_34 = lean_usize_of_nat(x_33); lean_dec(x_33); x_35 = 0; -lean_inc(x_5); -x_36 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(x_1, x_2, x_31, x_30, x_34, x_35, x_32, x_5, x_28); +x_36 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8(x_1, x_2, x_31, x_30, x_34, x_35, x_32, x_5, x_28); if (lean_obj_tag(x_36) == 0) { lean_object* x_37; @@ -18060,7 +18050,6 @@ lean_inc(x_37); if (lean_obj_tag(x_37) == 0) { uint8_t x_38; -lean_dec(x_5); x_38 = !lean_is_exclusive(x_36); if (x_38 == 0) { @@ -18133,14 +18122,12 @@ lean_inc(x_52); lean_dec(x_49); x_53 = lean_box(0); x_54 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleHover___spec__2___lambda__1(x_52, x_53, x_5, x_51); -lean_dec(x_5); return x_54; } else { uint8_t x_55; lean_dec(x_49); -lean_dec(x_5); x_55 = !lean_is_exclusive(x_36); if (x_55 == 0) { @@ -18189,14 +18176,12 @@ lean_inc(x_64); lean_dec(x_61); x_65 = lean_box(0); x_66 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleHover___spec__2___lambda__1(x_64, x_65, x_5, x_63); -lean_dec(x_5); return x_66; } else { lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_dec(x_61); -lean_dec(x_5); x_67 = lean_ctor_get(x_36, 1); lean_inc(x_67); if (lean_is_exclusive(x_36)) { @@ -18227,7 +18212,6 @@ return x_71; else { uint8_t x_72; -lean_dec(x_5); x_72 = !lean_is_exclusive(x_36); if (x_72 == 0) { @@ -18258,7 +18242,6 @@ lean_dec(x_9); 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_dec(x_5); lean_dec(x_2); lean_dec(x_1); x_77 = lean_ctor_get(x_8, 1); @@ -18303,8 +18286,7 @@ x_87 = lean_array_get_size(x_84); x_88 = lean_usize_of_nat(x_87); lean_dec(x_87); x_89 = 0; -lean_inc(x_5); -x_90 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(x_1, x_2, x_85, x_84, x_88, x_89, x_86, x_5, x_82); +x_90 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8(x_1, x_2, x_85, x_84, x_88, x_89, x_86, x_5, x_82); if (lean_obj_tag(x_90) == 0) { lean_object* x_91; @@ -18313,7 +18295,6 @@ lean_inc(x_91); if (lean_obj_tag(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_dec(x_5); x_92 = lean_ctor_get(x_90, 1); lean_inc(x_92); if (lean_is_exclusive(x_90)) { @@ -18374,14 +18355,12 @@ lean_inc(x_102); lean_dec(x_98); x_103 = lean_box(0); x_104 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handleHover___spec__2___lambda__1(x_102, x_103, x_5, x_101); -lean_dec(x_5); return x_104; } else { lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_dec(x_98); -lean_dec(x_5); x_105 = lean_ctor_get(x_90, 1); lean_inc(x_105); if (lean_is_exclusive(x_90)) { @@ -18415,7 +18394,6 @@ return x_109; else { lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -lean_dec(x_5); x_110 = lean_ctor_get(x_90, 0); lean_inc(x_110); x_111 = lean_ctor_get(x_90, 1); @@ -18444,7 +18422,6 @@ return x_113; else { uint8_t x_114; -lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); x_114 = !lean_is_exclusive(x_8); @@ -18484,7 +18461,7 @@ x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_1); lean_ctor_set(x_11, 1, x_10); lean_inc(x_11); -x_12 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_2, x_11, x_9, x_11, x_5, x_6); +x_12 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(x_2, x_11, x_9, x_11, x_5, x_6); lean_dec(x_9); if (lean_obj_tag(x_12) == 0) { @@ -18748,7 +18725,7 @@ x_17 = l_Lean_Server_FileWorker_withWaitFindSnap___rarg(x_6, x_12, x_16, x_15, x return x_17; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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) { _start: { size_t x_11; size_t x_12; lean_object* x_13; @@ -18756,44 +18733,13 @@ x_11 = lean_unbox_usize(x_6); lean_dec(x_6); x_12 = lean_unbox_usize(x_7); lean_dec(x_7); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(x_1, x_2, x_3, x_4, x_5, x_11, x_12, x_8, x_9, x_10); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(x_1, x_2, x_3, x_4, x_5, x_11, x_12, x_8, x_9, x_10); +lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); return x_13; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___lambda__1(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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) { -_start: -{ -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_11 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_12 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6(x_1, x_2, x_3, x_4, x_10, x_11, x_7, x_8, x_9); -lean_dec(x_4); -return x_12; -} -} -lean_object* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___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_8; -x_8 = l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_4); -lean_dec(x_3); -return x_8; -} -} lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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) { _start: { @@ -18803,15 +18749,42 @@ lean_dec(x_5); x_11 = lean_unbox_usize(x_6); lean_dec(x_6); x_12 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7(x_1, x_2, x_3, x_4, x_10, x_11, x_7, x_8, x_9); +lean_dec(x_8); lean_dec(x_4); return x_12; } } -lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___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* l_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___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_Std_PersistentArray_forInAux___at_Lean_Server_FileWorker_handlePlainGoal___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +return x_8; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___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) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_11 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__8(x_1, x_2, x_3, x_4, x_10, x_11, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_4); +return x_12; +} +} +lean_object* l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___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) { _start: { lean_object* x_7; -x_7 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Std_PersistentArray_forIn___at_Lean_Server_FileWorker_handlePlainGoal___spec__4(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); lean_dec(x_3); return x_7; } @@ -18821,6 +18794,7 @@ _start: { lean_object* x_7; x_7 = l_Lean_Server_FileWorker_handlePlainGoal___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); lean_dec(x_4); return x_7; } @@ -27383,7 +27357,7 @@ lean_dec(x_2); x_10 = lean_ctor_get(x_4, 0); lean_inc(x_10); lean_dec(x_4); -x_11 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_220_(x_10); +x_11 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_236_(x_10); x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_9); lean_ctor_set(x_12, 1, x_11); @@ -32285,14 +32259,15 @@ x_32 = lean_box(0); x_33 = lean_io_error_to_string(x_25); x_34 = l_Lean_Lsp_instInhabitedRange___closed__1; x_35 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__4; -x_36 = lean_alloc_ctor(0, 7, 0); +x_36 = lean_alloc_ctor(0, 8, 0); lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_36, 2, x_32); +lean_ctor_set(x_36, 1, x_34); +lean_ctor_set(x_36, 2, x_35); lean_ctor_set(x_36, 3, x_32); -lean_ctor_set(x_36, 4, x_33); -lean_ctor_set(x_36, 5, x_32); +lean_ctor_set(x_36, 4, x_32); +lean_ctor_set(x_36, 5, x_33); lean_ctor_set(x_36, 6, x_32); +lean_ctor_set(x_36, 7, x_32); x_37 = l_Lean_mkOptionalNode___closed__2; x_38 = lean_array_push(x_37, x_36); x_39 = lean_alloc_ctor(0, 3, 0); @@ -32921,10 +32896,8 @@ l_Lean_Server_FileWorker_handleDefinition___closed__1 = _init_l_Lean_Server_File lean_mark_persistent(l_Lean_Server_FileWorker_handleDefinition___closed__1); l_Lean_Server_FileWorker_handleDefinition___closed__2 = _init_l_Lean_Server_FileWorker_handleDefinition___closed__2(); lean_mark_persistent(l_Lean_Server_FileWorker_handleDefinition___closed__2); -l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__6___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handlePlainGoal___spec__7___closed__1); l_Lean_Server_FileWorker_handlePlainGoal___closed__1 = _init_l_Lean_Server_FileWorker_handlePlainGoal___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handlePlainGoal___closed__1); l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__1 = _init_l_Lean_Server_FileWorker_handleDocumentHighlight_highlightReturn_x3f___closed__1(); diff --git a/stage0/stdlib/Lean/Util/Trace.c b/stage0/stdlib/Lean/Util/Trace.c index 98aec99409..0f053c725c 100644 --- a/stage0/stdlib/Lean/Util/Trace.c +++ b/stage0/stdlib/Lean/Util/Trace.c @@ -13,35 +13,30 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Lean_termTrace_x21____; -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__2; +lean_object* l_Lean_termTrace_x5b_____x5d_______closed__6; size_t l_USize_add(size_t, size_t); +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__6; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_isNest(lean_object*); extern lean_object* l_Lean_termM_x21_____closed__2; -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__4(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_isTracingEnabledFor___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__1; lean_object* l_Lean_MessageData_format(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__4___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_printTraces___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_termTrace_x5b_____x5d_x21_______closed__6; lean_object* l_Lean_registerTraceClass___closed__1; -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__4; lean_object* l_Std_PersistentArray_get_x21___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__1___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1925____closed__3; lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_initFn____x40_Lean_Util_PPExt___hyg_3____closed__3; -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__1; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); @@ -58,23 +53,25 @@ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_resetTraceState___rarg___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Trace_0__Lean_addNode___spec__1(size_t, size_t, lean_object*); extern lean_object* l_Lean_MessageData_nil; +lean_object* l_Lean_termTrace_x5b_____x5d____; lean_object* l_Std_PersistentArray_getAux___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_enableTracing___rarg(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_traceCtx___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__6; extern lean_object* l_Lean_interpolatedStrKind; extern lean_object* l_myMacro____x40_Init_Notation___hyg_15387____closed__8; lean_object* l_Lean_getTraces(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_14470____closed__13; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1; lean_object* l_Lean_isTracingEnabledFor___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__5___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lean_termTrace_x21_______closed__2; +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__8; extern lean_object* l_myMacro____x40_Init_Notation___hyg_15387____closed__9; size_t l_USize_shiftRight(size_t, size_t); +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__3___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); extern lean_object* l_Std_instInhabitedPersistentArray___closed__1; @@ -84,59 +81,52 @@ lean_object* l_Std_PersistentArray_forM___at_Lean_printTraces___spec__1___rarg(l uint8_t l_USize_decLt(size_t, size_t); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_termTrace_x5b_____x5d_x21_______closed__9; lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__4; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_109____spec__1(lean_object*, lean_object*); lean_object* l_Std_PersistentArray_foldlM___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_termTrace_x5b_____x5d_______closed__7; lean_object* l_Lean_instInhabitedTraceState; lean_object* l_Lean_traceCtx___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_termTrace_x5b_____x5d_x21_______closed__3; +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__7; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM(lean_object*); extern lean_object* l_termPrintln_x21_______closed__5; +lean_object* l_Lean_termTrace_x5b_____x5d_______closed__3; lean_object* l_Lean_trace(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5(lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lean_termTrace_x21_______closed__5; lean_object* l_Lean_setTraceState(lean_object*); lean_object* l_Lean_withNestedTraces(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_addNode(lean_object*); -extern lean_object* l_Lean_Parser_Tactic_intro___closed__12; -lean_object* l_Lean_termTrace_x21_______closed__4; lean_object* l_Lean_traceM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__3(lean_object*); lean_object* l_Lean_enableTracing___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_term_x5b___x5d___closed__10; lean_object* l_Lean_modifyTraces(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13868____closed__8; lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer(lean_object*, lean_object*); -lean_object* l_Lean_termTrace_x5b_____x5d_x21_______closed__7; lean_object* l_Nat_foldM_loop___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_Lean_termTrace_x21_______closed__1; -lean_object* l_Lean_termTrace_x5b_____x5d_x21_______closed__4; +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13868____closed__9; uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_termTrace_x5b_____x5d_x21_______closed__8; -lean_object* l_Lean_termTrace_x21_______closed__3; lean_object* l_Lean_enableTracing___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13868____closed__13; lean_object* l_Lean_registerTraceClass___closed__2; -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__3; +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__5; +lean_object* l_Lean_termTrace_x5b_____x5d_______closed__1; lean_object* l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___boxed(lean_object*, lean_object*); -lean_object* l_Lean_termTrace_x5b_____x5d_x21_______closed__1; lean_object* l_Lean_traceCtx___rarg___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_isNil(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__7; lean_object* l_Lean_traceM(lean_object*); lean_object* l___private_Std_Data_PersistentArray_0__Std_PersistentArray_foldlMAux___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__5; lean_object* l_Lean_Syntax_getId(lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__3; lean_object* l_Lean_traceCtx___rarg___lambda__2___closed__1; lean_object* l_Lean_isTracingEnabledFor(lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -145,7 +135,6 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces(lean_object*); lean_object* l_Lean_isTracingEnabledFor___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_withNestedTraces___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_forM___at_Lean_printTraces___spec__1(lean_object*); -lean_object* l_Lean_termTrace_x5b_____x5d_x21_______closed__2; lean_object* l_Lean_resetTraceState___rarg(lean_object*); lean_object* l_Nat_foldM_loop___at___private_Lean_Util_Trace_0__Lean_TraceState_toFormat___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftLeft(size_t, size_t); @@ -166,10 +155,9 @@ lean_object* l_Lean_addTrace___rarg___lambda__3(lean_object*, lean_object*, lean lean_object* l_Lean_modifyTraces___rarg___lambda__1(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_13868____closed__12; extern lean_object* l_Lean_Parser_Syntax_addPrec___closed__10; -lean_object* l_Lean_termTrace_x5b_____x5d_x21____; lean_object* l_Lean_MonadTracer_trace___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_printTraces___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -extern lean_object* l_termDepIfThenElse___closed__14; +lean_object* l_Lean_termTrace_x5b_____x5d_______closed__8; extern lean_object* l_termDepIfThenElse___closed__9; lean_object* l_Lean_addTrace___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); @@ -179,9 +167,8 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___rarg(lean_obje lean_object* l_Lean_instInhabitedTraceElem___closed__1; lean_object* l_Lean_modifyTraces___rarg(lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); -lean_object* l_Lean_termTrace_x21_______closed__6; extern lean_object* l_Lean_nullKind___closed__2; -lean_object* l_Lean_termTrace_x5b_____x5d_x21_______closed__5; +lean_object* l_Lean_termTrace_x5b_____x5d_______closed__4; lean_object* l_Lean_instInhabitedTraceState___closed__1; lean_object* l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); @@ -214,6 +201,7 @@ lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Message___hyg_1925____closed__4; lean_object* l_Lean_printTraces(lean_object*); +lean_object* l_Lean_termTrace_x5b_____x5d_______closed__2; lean_object* l_Lean_checkTraceOption___boxed(lean_object*, lean_object*); lean_object* l_Lean_checkTraceOption___closed__1; lean_object* l_Lean_traceM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -234,11 +222,10 @@ lean_object* l_Lean_trace___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object* l_Lean_traceCtx___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_termM_x21_____closed__3; extern lean_object* l_prec_x28___x29___closed__7; -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_termTrace_x21_______closed__7; +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_traceCtx___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_termTrace_x5b_____x5d_______closed__5; extern lean_object* l_prec_x28___x29___closed__3; lean_object* l_Lean_printTraces___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_TraceState_enabled___default; @@ -261,7 +248,6 @@ lean_object* l_Lean_traceCtx___rarg___lambda__3(lean_object*, uint8_t, lean_obje lean_object* l_Lean_checkTraceOption___closed__2; extern lean_object* l_tryFinally___rarg___closed__1; uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOptionAux(lean_object*, lean_object*); -lean_object* l_Lean_termTrace_x5b_____x5d_x21_______closed__10; lean_object* l___private_Lean_Util_Trace_0__Lean_TraceState_toFormat(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_14470____closed__14; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -2506,49 +2492,49 @@ x_6 = lean_register_option(x_4, x_5, x_2); return x_6; } } -static lean_object* _init_l_Lean_termTrace_x21_______closed__1() { +static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("termTrace!__"); +x_1 = lean_mk_string("termTrace[__]__"); return x_1; } } -static lean_object* _init_l_Lean_termTrace_x21_______closed__2() { +static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; -x_2 = l_Lean_termTrace_x21_______closed__1; +x_2 = l_Lean_termTrace_x5b_____x5d_______closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_termTrace_x21_______closed__3() { +static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string("trace!"); +x_1 = lean_mk_string("trace["); return x_1; } } -static lean_object* _init_l_Lean_termTrace_x21_______closed__4() { +static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_termTrace_x21_______closed__3; +x_1 = l_Lean_termTrace_x5b_____x5d_______closed__3; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_termTrace_x21_______closed__5() { +static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Syntax_addPrec___closed__10; -x_2 = l_Lean_termTrace_x21_______closed__4; -x_3 = l_Lean_Parser_Tactic_intro___closed__12; +x_2 = l_Lean_termTrace_x5b_____x5d_______closed__4; +x_3 = l_termDepIfThenElse___closed__9; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2556,13 +2542,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_termTrace_x21_______closed__6() { +static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Syntax_addPrec___closed__10; -x_2 = l_Lean_termTrace_x21_______closed__5; -x_3 = l_termDepIfThenElse___closed__14; +x_2 = l_Lean_termTrace_x5b_____x5d_______closed__5; +x_3 = l_term_x5b___x5d___closed__10; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2570,13 +2556,27 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_termTrace_x21_______closed__7() { +static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_termTrace_x21_______closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_termTrace_x21_______closed__6; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__10; +x_2 = l_Lean_termTrace_x5b_____x5d_______closed__6; +x_3 = l_termPrintln_x21_______closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_termTrace_x5b_____x5d_______closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_termTrace_x5b_____x5d_______closed__2; +x_2 = lean_unsigned_to_nat(1023u); +x_3 = l_Lean_termTrace_x5b_____x5d_______closed__7; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2584,30 +2584,38 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_termTrace_x21____() { +static lean_object* _init_l_Lean_termTrace_x5b_____x5d____() { _start: { lean_object* x_1; -x_1 = l_Lean_termTrace_x21_______closed__7; +x_1 = l_Lean_termTrace_x5b_____x5d_______closed__8; return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__1() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.trace"); +return x_1; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_checkTraceOption___closed__1; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__2() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_checkTraceOption___closed__1; +x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__1; +x_3 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2615,7 +2623,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__3() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -2625,31 +2633,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__4() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__3; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__4; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__5() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__4; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__5; 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; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__6() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -2661,449 +2669,23 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__7() { +static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__6; +x_2 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__7; 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_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026_(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_termTrace_x21_______closed__2; -lean_inc(x_1); -x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_2); -lean_dec(x_1); -x_6 = lean_box(1); -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_3); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_8 = lean_unsigned_to_nat(1u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = lean_unsigned_to_nat(2u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -lean_dec(x_1); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_109____spec__1(x_2, x_3); -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; 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; 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; 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_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_2, 2); -lean_inc(x_15); -x_16 = lean_ctor_get(x_2, 1); -lean_inc(x_16); -lean_dec(x_2); -x_17 = l_Lean_checkTraceOption___closed__2; -lean_inc(x_15); -lean_inc(x_16); -x_18 = l_Lean_addMacroScope(x_16, x_17, x_15); -x_19 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__2; -x_20 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__5; -lean_inc(x_14); -x_21 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_21, 0, x_14); -lean_ctor_set(x_21, 1, x_19); -lean_ctor_set(x_21, 2, x_18); -lean_ctor_set(x_21, 3, x_20); -x_22 = l_Array_empty___closed__1; -x_23 = lean_array_push(x_22, x_21); -x_24 = lean_array_push(x_22, x_9); -x_25 = l_myMacro____x40_Init_Notation___hyg_13868____closed__9; -lean_inc(x_14); -x_26 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_26, 0, x_14); -lean_ctor_set(x_26, 1, x_25); -x_27 = lean_array_push(x_22, x_26); -x_28 = l_myMacro____x40_Init_Notation___hyg_14470____closed__14; -lean_inc(x_14); -x_29 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_29, 0, x_14); -lean_ctor_set(x_29, 1, x_28); -x_30 = lean_array_push(x_22, x_29); -x_31 = l_myMacro____x40_Init_Notation___hyg_14470____closed__13; -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -x_33 = lean_array_push(x_22, x_32); -x_34 = l_Lean_nullKind___closed__2; -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = lean_array_push(x_22, x_35); -x_37 = l_myMacro____x40_Init_Notation___hyg_13868____closed__13; -lean_inc(x_14); -x_38 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_38, 0, x_14); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_array_push(x_36, x_38); -x_40 = l_prec_x28___x29___closed__3; -lean_inc(x_14); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_14); -lean_ctor_set(x_41, 1, x_40); -x_42 = lean_array_push(x_22, x_41); -x_43 = lean_array_push(x_22, x_11); -x_44 = l_myMacro____x40_Init_Notation___hyg_15387____closed__9; -lean_inc(x_14); -x_45 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_45, 0, x_14); -lean_ctor_set(x_45, 1, x_44); -x_46 = lean_array_push(x_22, x_45); -x_47 = l_Lean_myMacro____x40_Lean_Message___hyg_1925____closed__4; -x_48 = l_Lean_addMacroScope(x_16, x_47, x_15); -x_49 = l_Lean_myMacro____x40_Lean_Message___hyg_1925____closed__3; -x_50 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__7; -lean_inc(x_14); -x_51 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_51, 0, x_14); -lean_ctor_set(x_51, 1, x_49); -lean_ctor_set(x_51, 2, x_48); -lean_ctor_set(x_51, 3, x_50); -x_52 = lean_array_push(x_46, x_51); -x_53 = l_myMacro____x40_Init_Notation___hyg_15387____closed__8; -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_array_push(x_22, x_54); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_34); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_array_push(x_43, x_56); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_34); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_array_push(x_42, x_58); -x_60 = l_prec_x28___x29___closed__7; -x_61 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_61, 0, x_14); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_array_push(x_59, x_61); -x_63 = l_myMacro____x40_Init_Notation___hyg_13868____closed__8; -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -x_65 = lean_array_push(x_39, x_64); -x_66 = l_myMacro____x40_Init_Notation___hyg_13868____closed__12; -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -x_68 = lean_array_push(x_27, x_67); -x_69 = l_myMacro____x40_Init_Notation___hyg_13868____closed__10; -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -x_71 = lean_array_push(x_24, x_70); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_34); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_array_push(x_23, x_72); -x_74 = l_myMacro____x40_Init_Notation___hyg_2191____closed__4; -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -lean_ctor_set(x_12, 0, x_75); -return x_12; -} -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; 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; 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; -x_76 = lean_ctor_get(x_12, 0); -x_77 = lean_ctor_get(x_12, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_12); -x_78 = lean_ctor_get(x_2, 2); -lean_inc(x_78); -x_79 = lean_ctor_get(x_2, 1); -lean_inc(x_79); -lean_dec(x_2); -x_80 = l_Lean_checkTraceOption___closed__2; -lean_inc(x_78); -lean_inc(x_79); -x_81 = l_Lean_addMacroScope(x_79, x_80, x_78); -x_82 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__2; -x_83 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__5; -lean_inc(x_76); -x_84 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_84, 0, x_76); -lean_ctor_set(x_84, 1, x_82); -lean_ctor_set(x_84, 2, x_81); -lean_ctor_set(x_84, 3, x_83); -x_85 = l_Array_empty___closed__1; -x_86 = lean_array_push(x_85, x_84); -x_87 = lean_array_push(x_85, x_9); -x_88 = l_myMacro____x40_Init_Notation___hyg_13868____closed__9; -lean_inc(x_76); -x_89 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_89, 0, x_76); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_array_push(x_85, x_89); -x_91 = l_myMacro____x40_Init_Notation___hyg_14470____closed__14; -lean_inc(x_76); -x_92 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_92, 0, x_76); -lean_ctor_set(x_92, 1, x_91); -x_93 = lean_array_push(x_85, x_92); -x_94 = l_myMacro____x40_Init_Notation___hyg_14470____closed__13; -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -x_96 = lean_array_push(x_85, x_95); -x_97 = l_Lean_nullKind___closed__2; -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = lean_array_push(x_85, x_98); -x_100 = l_myMacro____x40_Init_Notation___hyg_13868____closed__13; -lean_inc(x_76); -x_101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_101, 0, x_76); -lean_ctor_set(x_101, 1, x_100); -x_102 = lean_array_push(x_99, x_101); -x_103 = l_prec_x28___x29___closed__3; -lean_inc(x_76); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_76); -lean_ctor_set(x_104, 1, x_103); -x_105 = lean_array_push(x_85, x_104); -x_106 = lean_array_push(x_85, x_11); -x_107 = l_myMacro____x40_Init_Notation___hyg_15387____closed__9; -lean_inc(x_76); -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_76); -lean_ctor_set(x_108, 1, x_107); -x_109 = lean_array_push(x_85, x_108); -x_110 = l_Lean_myMacro____x40_Lean_Message___hyg_1925____closed__4; -x_111 = l_Lean_addMacroScope(x_79, x_110, x_78); -x_112 = l_Lean_myMacro____x40_Lean_Message___hyg_1925____closed__3; -x_113 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__7; -lean_inc(x_76); -x_114 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_114, 0, x_76); -lean_ctor_set(x_114, 1, x_112); -lean_ctor_set(x_114, 2, x_111); -lean_ctor_set(x_114, 3, x_113); -x_115 = lean_array_push(x_109, x_114); -x_116 = l_myMacro____x40_Init_Notation___hyg_15387____closed__8; -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_115); -x_118 = lean_array_push(x_85, x_117); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_97); -lean_ctor_set(x_119, 1, x_118); -x_120 = lean_array_push(x_106, x_119); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_97); -lean_ctor_set(x_121, 1, x_120); -x_122 = lean_array_push(x_105, x_121); -x_123 = l_prec_x28___x29___closed__7; -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_76); -lean_ctor_set(x_124, 1, x_123); -x_125 = lean_array_push(x_122, x_124); -x_126 = l_myMacro____x40_Init_Notation___hyg_13868____closed__8; -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_125); -x_128 = lean_array_push(x_102, x_127); -x_129 = l_myMacro____x40_Init_Notation___hyg_13868____closed__12; -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_128); -x_131 = lean_array_push(x_90, x_130); -x_132 = l_myMacro____x40_Init_Notation___hyg_13868____closed__10; -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_131); -x_134 = lean_array_push(x_87, x_133); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_97); -lean_ctor_set(x_135, 1, x_134); -x_136 = lean_array_push(x_86, x_135); -x_137 = l_myMacro____x40_Init_Notation___hyg_2191____closed__4; -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_136); -x_139 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_77); -return x_139; -} -} -} -} -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("termTrace[__]!__"); -return x_1; -} -} -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_addPrec___closed__2; -x_2 = l_Lean_termTrace_x5b_____x5d_x21_______closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("trace["); -return x_1; -} -} -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_termTrace_x5b_____x5d_x21_______closed__3; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Syntax_addPrec___closed__10; -x_2 = l_Lean_termTrace_x5b_____x5d_x21_______closed__4; -x_3 = l_termDepIfThenElse___closed__9; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("]!"); -return x_1; -} -} -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_termTrace_x5b_____x5d_x21_______closed__6; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Syntax_addPrec___closed__10; -x_2 = l_Lean_termTrace_x5b_____x5d_x21_______closed__5; -x_3 = l_Lean_termTrace_x5b_____x5d_x21_______closed__7; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Syntax_addPrec___closed__10; -x_2 = l_Lean_termTrace_x5b_____x5d_x21_______closed__8; -x_3 = l_termPrintln_x21_______closed__5; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_termTrace_x5b_____x5d_x21_______closed__2; -x_2 = lean_unsigned_to_nat(1023u); -x_3 = l_Lean_termTrace_x5b_____x5d_x21_______closed__9; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_termTrace_x5b_____x5d_x21____() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_termTrace_x5b_____x5d_x21_______closed__10; -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.trace"); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__2; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324_(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_termTrace_x5b_____x5d_x21_______closed__2; +x_4 = l_Lean_termTrace_x5b_____x5d_______closed__2; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -3144,12 +2726,12 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_2, 1); lean_inc(x_19); lean_dec(x_2); -x_20 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__3; +x_20 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__4; lean_inc(x_18); lean_inc(x_19); x_21 = l_Lean_addMacroScope(x_19, x_20, x_18); -x_22 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__3; -x_23 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__5; +x_22 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__3; +x_23 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__6; lean_inc(x_17); x_24 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_24, 0, x_17); @@ -3206,7 +2788,7 @@ x_51 = lean_array_push(x_25, x_50); x_52 = l_Lean_myMacro____x40_Lean_Message___hyg_1925____closed__4; x_53 = l_Lean_addMacroScope(x_19, x_52, x_18); x_54 = l_Lean_myMacro____x40_Lean_Message___hyg_1925____closed__3; -x_55 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__7; +x_55 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__8; lean_inc(x_17); x_56 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_56, 0, x_17); @@ -3271,12 +2853,12 @@ lean_inc(x_83); x_84 = lean_ctor_get(x_2, 1); lean_inc(x_84); lean_dec(x_2); -x_85 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__3; +x_85 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__4; lean_inc(x_83); lean_inc(x_84); x_86 = l_Lean_addMacroScope(x_84, x_85, x_83); -x_87 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__3; -x_88 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__5; +x_87 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__3; +x_88 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__6; lean_inc(x_81); x_89 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_89, 0, x_81); @@ -3333,7 +2915,7 @@ x_116 = lean_array_push(x_90, x_115); x_117 = l_Lean_myMacro____x40_Lean_Message___hyg_1925____closed__4; x_118 = l_Lean_addMacroScope(x_84, x_117, x_83); x_119 = l_Lean_myMacro____x40_Lean_Message___hyg_1925____closed__3; -x_120 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__7; +x_120 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__8; lean_inc(x_81); x_121 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_121, 0, x_81); @@ -3402,10 +2984,10 @@ lean_inc(x_150); x_151 = lean_ctor_get(x_2, 1); lean_inc(x_151); lean_dec(x_2); -x_152 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__3; +x_152 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__4; x_153 = l_Lean_addMacroScope(x_151, x_152, x_150); -x_154 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__3; -x_155 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__5; +x_154 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__3; +x_155 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__6; lean_inc(x_149); x_156 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_156, 0, x_149); @@ -3491,10 +3073,10 @@ lean_inc(x_196); x_197 = lean_ctor_get(x_2, 1); lean_inc(x_197); lean_dec(x_2); -x_198 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__3; +x_198 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__4; x_199 = l_Lean_addMacroScope(x_197, x_198, x_196); -x_200 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__3; -x_201 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__5; +x_200 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__3; +x_201 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__6; lean_inc(x_194); x_202 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_202, 0, x_194); @@ -4344,64 +3926,40 @@ l_Lean_registerTraceClass___closed__1 = _init_l_Lean_registerTraceClass___closed lean_mark_persistent(l_Lean_registerTraceClass___closed__1); l_Lean_registerTraceClass___closed__2 = _init_l_Lean_registerTraceClass___closed__2(); lean_mark_persistent(l_Lean_registerTraceClass___closed__2); -l_Lean_termTrace_x21_______closed__1 = _init_l_Lean_termTrace_x21_______closed__1(); -lean_mark_persistent(l_Lean_termTrace_x21_______closed__1); -l_Lean_termTrace_x21_______closed__2 = _init_l_Lean_termTrace_x21_______closed__2(); -lean_mark_persistent(l_Lean_termTrace_x21_______closed__2); -l_Lean_termTrace_x21_______closed__3 = _init_l_Lean_termTrace_x21_______closed__3(); -lean_mark_persistent(l_Lean_termTrace_x21_______closed__3); -l_Lean_termTrace_x21_______closed__4 = _init_l_Lean_termTrace_x21_______closed__4(); -lean_mark_persistent(l_Lean_termTrace_x21_______closed__4); -l_Lean_termTrace_x21_______closed__5 = _init_l_Lean_termTrace_x21_______closed__5(); -lean_mark_persistent(l_Lean_termTrace_x21_______closed__5); -l_Lean_termTrace_x21_______closed__6 = _init_l_Lean_termTrace_x21_______closed__6(); -lean_mark_persistent(l_Lean_termTrace_x21_______closed__6); -l_Lean_termTrace_x21_______closed__7 = _init_l_Lean_termTrace_x21_______closed__7(); -lean_mark_persistent(l_Lean_termTrace_x21_______closed__7); -l_Lean_termTrace_x21____ = _init_l_Lean_termTrace_x21____(); -lean_mark_persistent(l_Lean_termTrace_x21____); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__1 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__1); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__2 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__2); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__3 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__3); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__4 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__4(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__4); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__5 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__5(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__5); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__6 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__6(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__6); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__7 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__7(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1012____closed__7); -l_Lean_termTrace_x5b_____x5d_x21_______closed__1 = _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__1(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_x21_______closed__1); -l_Lean_termTrace_x5b_____x5d_x21_______closed__2 = _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__2(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_x21_______closed__2); -l_Lean_termTrace_x5b_____x5d_x21_______closed__3 = _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__3(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_x21_______closed__3); -l_Lean_termTrace_x5b_____x5d_x21_______closed__4 = _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__4(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_x21_______closed__4); -l_Lean_termTrace_x5b_____x5d_x21_______closed__5 = _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__5(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_x21_______closed__5); -l_Lean_termTrace_x5b_____x5d_x21_______closed__6 = _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__6(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_x21_______closed__6); -l_Lean_termTrace_x5b_____x5d_x21_______closed__7 = _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__7(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_x21_______closed__7); -l_Lean_termTrace_x5b_____x5d_x21_______closed__8 = _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__8(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_x21_______closed__8); -l_Lean_termTrace_x5b_____x5d_x21_______closed__9 = _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__9(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_x21_______closed__9); -l_Lean_termTrace_x5b_____x5d_x21_______closed__10 = _init_l_Lean_termTrace_x5b_____x5d_x21_______closed__10(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_x21_______closed__10); -l_Lean_termTrace_x5b_____x5d_x21____ = _init_l_Lean_termTrace_x5b_____x5d_x21____(); -lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_x21____); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__1 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__1(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__1); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__2 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__2(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__2); -l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__3 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__3(); -lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1324____closed__3); +l_Lean_termTrace_x5b_____x5d_______closed__1 = _init_l_Lean_termTrace_x5b_____x5d_______closed__1(); +lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__1); +l_Lean_termTrace_x5b_____x5d_______closed__2 = _init_l_Lean_termTrace_x5b_____x5d_______closed__2(); +lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__2); +l_Lean_termTrace_x5b_____x5d_______closed__3 = _init_l_Lean_termTrace_x5b_____x5d_______closed__3(); +lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__3); +l_Lean_termTrace_x5b_____x5d_______closed__4 = _init_l_Lean_termTrace_x5b_____x5d_______closed__4(); +lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__4); +l_Lean_termTrace_x5b_____x5d_______closed__5 = _init_l_Lean_termTrace_x5b_____x5d_______closed__5(); +lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__5); +l_Lean_termTrace_x5b_____x5d_______closed__6 = _init_l_Lean_termTrace_x5b_____x5d_______closed__6(); +lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__6); +l_Lean_termTrace_x5b_____x5d_______closed__7 = _init_l_Lean_termTrace_x5b_____x5d_______closed__7(); +lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__7); +l_Lean_termTrace_x5b_____x5d_______closed__8 = _init_l_Lean_termTrace_x5b_____x5d_______closed__8(); +lean_mark_persistent(l_Lean_termTrace_x5b_____x5d_______closed__8); +l_Lean_termTrace_x5b_____x5d____ = _init_l_Lean_termTrace_x5b_____x5d____(); +lean_mark_persistent(l_Lean_termTrace_x5b_____x5d____); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__1 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__1(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__1); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__2 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__2(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__2); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__3 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__3(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__3); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__4 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__4(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__4); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__5 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__5(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__5); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__6 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__6(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__6); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__7 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__7(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__7); +l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__8 = _init_l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__8(); +lean_mark_persistent(l_Lean_myMacro____x40_Lean_Util_Trace___hyg_1026____closed__8); l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1(); lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___spec__5___closed__1); return lean_io_result_mk_ok(lean_box(0));